7#ifndef LOOMC_ARTIFACT_MANIFEST_H_
8#define LOOMC_ARTIFACT_MANIFEST_H_
29#define LOOMC_ARTIFACT_FORMAT_ARTIFACT_MANIFEST_JSON \
30 "loom-artifact-manifest-json"
33typedef enum loomc_artifact_manifest_mode_e {
loomc_status_t loomc_artifact_manifest_mode_parse(loomc_string_view_t value, loomc_artifact_manifest_mode_t *out_mode)
Parses a stable artifact manifest mode spelling.
loomc_string_view_t loomc_artifact_manifest_mode_name(loomc_artifact_manifest_mode_t mode)
Returns the stable JSON/CLI spelling for mode.
loomc_artifact_manifest_mode_t
Artifact manifest detail mode.
Definition artifact_manifest.h:33
@ LOOMC_ARTIFACT_MANIFEST_MODE_NONE
Does not request an artifact manifest.
Definition artifact_manifest.h:35
@ LOOMC_ARTIFACT_MANIFEST_MODE_SUMMARY
Requests stable artifact, target, function, global, and summary ABI facts.
Definition artifact_manifest.h:38
@ LOOMC_ARTIFACT_MANIFEST_MODE_ANALYSIS
Requests artifact-bound analysis facts when available.
Definition artifact_manifest.h:44
@ LOOMC_ARTIFACT_MANIFEST_MODE_DETAILS
Requests summary facts plus detail arrays such as function parameters.
Definition artifact_manifest.h:41
Base types, descriptors, spans, and host allocation helpers.
#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
Artifact manifest emission options.
Definition artifact_manifest.h:52
loomc_structure_type_t type
Structure type.
Definition artifact_manifest.h:55
loomc_host_size_t structure_size
Size of this structure in bytes.
Definition artifact_manifest.h:58
const void * next
Next invocation option extension.
Definition artifact_manifest.h:61
loomc_artifact_manifest_mode_t mode
Selected manifest detail mode.
Definition artifact_manifest.h:64
loomc_string_view_t identifier
Result artifact identifier for the manifest JSON.
Definition artifact_manifest.h:68
Non-owning string view over bytes that need not be NUL-terminated.
Definition base.h:63