24#ifndef TVM_TARGET_CODEGEN_H_
25#define TVM_TARGET_CODEGEN_H_
27#include <tvm/ffi/extra/module.h>
73 const std::string& c_symbol_prefix =
"");
89 const std::string& target_triple,
90 const std::string& c_symbol_prefix =
"");
Managed reference class to IRModuleNode.
Definition module.h:255
Managed reference class to TargetObj.
Definition target.h:136
IRModule that holds the functions and type definitions.
constexpr const char * kParallelStridePattern
Definition codegen.h:93
constexpr const char * kRunnerFunction
Definition codegen.h:95
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.
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition attr.h:23
Compilation target object.