Expand description
Code generation: IR modules compiled into runtime modules.
Laid out like python/tvm_tirx/codegen/: the functions of its __init__.py are here, and the
queries of the LLVM backend are in llvm. The code generator of one target kind is
crate::target::build.
Modules§
- The LLVM backend: intrinsics, the host system and the CPUs and features of LLVM targets.
Functions§
- Compile
moduleinto a runtime module with the code generator of the kind oftarget(codegen.Build). - Whether the LLVM target
target, or the current target, has the CPU featurefeature;falsefor a target of another kind; an error when TIRx is built without LLVM, whose backend registers it (codegen.target_has_feature).