Loom C API
Public Loom compiler C API
Loading...
Searching...
No Matches
link_dependency.h
Go to the documentation of this file.
1// Copyright 2026 The IREE Authors
2//
3// Licensed under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
7#ifndef LOOMC_LINK_DEPENDENCY_H_
8#define LOOMC_LINK_DEPENDENCY_H_
9
10#include "loomc/link_index.h"
11#include "loomc/result.h"
12#include "loomc/workspace.h"
13
54
55#ifdef __cplusplus
56extern "C" {
57#endif
58
60#define LOOMC_ARTIFACT_FORMAT_LINK_DEPENDENCY_REPORT_JSON \
61 "loom-link-dependency-report-json"
62
64typedef enum loomc_link_dependency_artifact_flag_bits_e {
68
71
114
140 const loomc_link_index_t* link_index, loomc_workspace_t* workspace,
142 loomc_result_t** out_result);
143
144#ifdef __cplusplus
145} // extern "C"
146#endif
147
148#endif // LOOMC_LINK_DEPENDENCY_H_
#define LOOMC_API_EXPORT
Exports a public Loom C API symbol from a shared library build.
Definition base.h:34
size_t loomc_host_size_t
Host allocation and container size type.
Definition base.h:45
loomc_structure_type_t
Structure type values used by extensible public descriptors.
Definition base.h:181
struct iree_status_handle_t * loomc_status_t
Opaque status handle.
Definition base.h:55
Shared operation result container.
struct loomc_result_t loomc_result_t
Immutable operation result.
Definition result.h:64
Non-owning string view over bytes that need not be NUL-terminated.
Definition base.h:63
Per-worker scratch workspace.
struct loomc_workspace_t loomc_workspace_t
Mutable per-worker scratch workspace.
Definition workspace.h:54