|
Loom C API
Public Loom compiler C API
|
Target pipeline creation options. More...
#include <target.h>
Data Fields | |
| loomc_structure_type_t | type |
| Structure type. | |
| loomc_host_size_t | structure_size |
| Size of this structure in bytes. | |
| const void * | next |
| Extension chain for target pipeline options such as loomc_sanitizer_options_t. | |
| loomc_string_view_t | identifier |
| Stable identifier used for the synthetic pipeline module and diagnostics. | |
| loomc_target_pipeline_kind_t | kind |
| Target pipeline boundary to build. | |
| loomc_target_control_flow_lowering_t | control_flow_lowering |
| Control-flow shape selected for the source-to-low boundary. | |
| uint32_t | source_to_low_max_errors |
| Maximum source-to-low diagnostics. Zero uses source-to-low's default. | |
Target pipeline creation options.
Callers zero-initialize this descriptor, set type to LOOMC_STRUCTURE_TYPE_TARGET_PIPELINE_OPTIONS, set structure_size to sizeof(loomc_target_pipeline_options_t), and fill the requested fields. A zero-initialized descriptor selects the prepared target-low pipeline with CFG control-flow lowering.
| loomc_string_view_t loomc_target_pipeline_options_t::identifier |
Stable identifier used for the synthetic pipeline module and diagnostics.
Empty selects a library-defined identifier.
| loomc_structure_type_t loomc_target_pipeline_options_t::type |
Structure type.
Must be LOOMC_STRUCTURE_TYPE_TARGET_PIPELINE_OPTIONS when nonzero.