|
Loom C API
Public Loom compiler C API
|
Build-configured target transformation support. More...
Go to the source code of this file.
Functions | |
| loomc_status_t | loomc_target_environment_create_configured_target (loomc_allocator_t allocator, loomc_target_environment_t **out_target_environment) |
| Creates an environment supporting every configured target architecture. | |
Build-configured target transformation support.
Link the optional //loom/binding/c/target/configured:target Bazel package or loom::binding::c::target::configured::target CMake target to use this factory. It joins portable command IR and every enabled target architecture, including families without an artifact emitter. The configured IR package supplies only representation support, while the configured compiler package also joins artifact-capable targets.
| loomc_status_t loomc_target_environment_create_configured_target | ( | loomc_allocator_t | allocator, |
| loomc_target_environment_t ** | out_target_environment ) |
Creates an environment supporting every configured target architecture.
The environment supplies target passes, lowering policies, legality, and verification in addition to the configured target IR representations. It does not contain artifact emitters, probe devices, or load platform runtimes.
| allocator | Host allocator used for target-environment storage. |
| out_target_environment | Receives one retained environment on success. |