7#ifndef LOOMC_COMPILE_REPORT_H_
8#define LOOMC_COMPILE_REPORT_H_
29#define LOOMC_ARTIFACT_FORMAT_COMPILE_REPORT_JSON "loom-compile-report-json"
32typedef enum loomc_compile_report_mode_e {
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
loomc_compile_report_mode_t
Compile report detail mode.
Definition compile_report.h:32
@ LOOMC_COMPILE_REPORT_MODE_SUMMARY
Requests stable target, status, artifact, and summary compiler facts.
Definition compile_report.h:37
@ LOOMC_COMPILE_REPORT_MODE_NONE
Does not request a compile report.
Definition compile_report.h:34
@ LOOMC_COMPILE_REPORT_MODE_DETAILS
Requests summary facts plus detail rows when producers support them.
Definition compile_report.h:40
loomc_string_view_t loomc_compile_report_mode_name(loomc_compile_report_mode_t mode)
Returns the stable JSON/CLI spelling for mode.
loomc_status_t loomc_compile_report_mode_parse(loomc_string_view_t value, loomc_compile_report_mode_t *out_mode)
Parses a stable compile report mode spelling.
Compile report emission options.
Definition compile_report.h:48
loomc_string_view_t identifier
Result artifact identifier for the compile report JSON.
Definition compile_report.h:64
loomc_compile_report_mode_t mode
Selected report detail mode.
Definition compile_report.h:60
const void * next
Next invocation option extension.
Definition compile_report.h:57
loomc_structure_type_t type
Structure type.
Definition compile_report.h:51
loomc_host_size_t structure_size
Size of this structure in bytes.
Definition compile_report.h:54
Non-owning string view over bytes that need not be NUL-terminated.
Definition base.h:63