Expand description
Code generation. build_module compiles an IRModule into a runtime Module with the
code generator of the target’s kind, and llvm queries the LLVM backend.
Modules§
- llvm
- The LLVM backend. Queries of LLVM intrinsics, the host CPU and the CPUs and features of LLVM
targets, which
libtvm_tirx_llvm_backendregisters when it is loaded. Target-dependent queries require an explicit target.
Functions§
- build_
module - Compile
moduleinto a runtime module with the code generator of the kind oftarget(codegen.Build). - target_
has_ feature - Return whether the explicit LLVM target
targethas the CPU featurefeature, orfalsefor a target of another kind (codegen.target_has_feature).