24#ifndef TVM_TARGET_CODEGEN_H_
25#define TVM_TARGET_CODEGEN_H_
27#include <tvm/ffi/extra/module.h>
Managed reference class to IRModuleNode.
Definition module.h:255
Managed reference class to TargetNode.
Definition target.h:134
RAII wrapper function to enter and exit a context object similar to python's with syntax.
Definition with_context.h:59
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.
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition analyzer.h:40
Compilation target object.