24#ifndef TVM_CODEGEN_CODEGEN_H_
25#define TVM_CODEGEN_CODEGEN_H_
27#include <tvm/ffi/extra/module.h>
58 const ffi::String& c_symbol_prefix =
"");
73 const ffi::String& llvm_target_string,
74 const ffi::String& file_name,
75 const ffi::String& c_symbol_prefix =
"");
79 "codegen.parallel_stride_pattern"};
#define TVM_TIRX_DLL
Definition base.h:55
Managed reference class to IRModuleObj.
Definition module.h:292
Managed reference class to TargetObj.
Definition target.h:155
IRModule that holds the functions and type definitions.
constexpr ffi::reflection::AttrKey< bool > kParallelStridePattern
Definition codegen.h:78
TVM_TIRX_DLL void PackImportsToObjectFile(const ffi::Module &mod, bool system_lib, const ffi::String &llvm_target_string, const ffi::String &file_name, const ffi::String &c_symbol_prefix="")
Pack imported device libraries into an object file using LLVM.
TVM_TIRX_DLL ffi::String PackImportsToC(const ffi::Module &m, bool system_lib, const ffi::String &c_symbol_prefix="")
Pack imported device library to a C file. Compile the C file and link with the host library will allo...
TVM_TIRX_DLL ffi::Module Build(IRModule mod, Target target)
Build a runtime module from an IRModule for the requested target.
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition analysis.h:41
Compilation target object.