24 #ifndef TVM_TARGET_CODEGEN_H_
25 #define TVM_TARGET_CODEGEN_H_
40 using ffi::PackedArgs;
77 const std::string& c_symbol_prefix =
"");
93 const std::string& target_triple,
94 const std::string& c_symbol_prefix =
"");
Managed reference class to IRModuleNode.
Definition: module.h:257
Managed reference class to TargetNode.
Definition: target.h:191
IRModule that holds the functions and type definitions.
ffi::Module PackImportsToLLVM(const ffi::Module &m, bool system_lib, const std::string &target_triple, const std::string &c_symbol_prefix="")
Pack imported device library to a LLVM module. Compile the LLVM module and link with the host library...
std::string SerializeModuleToBytes(const ffi::Module &mod, bool export_dso=true)
Serialize runtime module including its submodules.
std::string PackImportsToC(const ffi::Module &m, bool system_lib, const std::string &c_symbol_prefix="")
Pack imported device library to a C file. Compile the C file and link with the host library will allo...
ffi::Module Build(IRModule mod, Target target)
Build a module from array of lowered function.
ffi::Module DeserializeModuleFromBytes(std::string blob)
Deserialize runtime module including its submodules.
tvm::PrimExpr mod(const tvm::PrimExpr &a, const tvm::PrimExpr &b)
Definition: broadcast.h:306
Performance counters for profiling via the PAPI library.
Definition: analyzer.h:37
Runtime container of the functions generated by TVM, This is used to support dynamically link,...
Compilation target object.