|
Loom C API
Public Loom compiler C API
|
VM bytecode compiler package. More...
Go to the source code of this file.
Macros | |
| #define | LOOMC_ARTIFACT_FORMAT_VM "vm" |
| IREE VM bytecode module artifact format. | |
Functions | |
| loomc_status_t | loomc_target_environment_create_vm (loomc_allocator_t allocator, loomc_target_environment_t **out_target_environment) |
| Creates a target environment containing the VM compiler and emitter. | |
VM bytecode compiler package.
The package compiles functions for the portable IREE VM and emits canonical VM bytecode modules. Compilation and emission require no live device or platform runtime.
| loomc_status_t loomc_target_environment_create_vm | ( | loomc_allocator_t | allocator, |
| loomc_target_environment_t ** | out_target_environment ) |
Creates a target environment containing the VM compiler and emitter.
| allocator | Host allocator used for target-environment storage. |
| out_target_environment | Receives one retained environment on success. |