tvm
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
function.h File Reference

TIR Function. More...

#include <tvm/ffi/container/map.h>
#include <tvm/ffi/container/variant.h>
#include <tvm/ir/cow.h>
#include <tvm/ir/function.h>
#include <tvm/ir/prim/expr.h>
#include <tvm/runtime/tensor.h>
#include <tvm/tirx/expr.h>
#include <tvm/tirx/stmt.h>
#include <string>
Include dependency graph for function.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tvm::tirx::FunctionNode
 Primitive functions that contains TIR statements. More...
 
class  tvm::tirx::Function
 Managed reference to FunctionNode. More...
 

Namespaces

namespace  tvm
 An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
 
namespace  tvm::tirx
 Backend-defined execution hierarchy nodes shared by layouts and tile calls.
 
namespace  tvm::tirx::attr
 Function specific attribute names.
 

Functions

TVM_TIRX_DLL Function tvm::tirx::RenewDef (Function func)
 Renew variable definitions and remap their uses in a function.
 
Function tvm::tirx::Specialize (Function func, const ffi::Map< Var, ffi::Variant< TensorVar, Expr > > &param_map)
 Specialize parameters of Function.
 

Variables

constexpr const char * tvm::tirx::attr::kKernelLaunchParams = "tirx.kernel_launch_params"
 Ordered launch-parameter tags for a device kernel.
 
constexpr const char * tvm::tirx::attr::kNoAlias = "tirx.noalias"
 Whether to set noalias rule on the function arguments.
 
constexpr const char * tvm::tirx::attr::kIsEntryFunc = "tirx.is_entry_func"
 Mark the function as the entry function of the final generated runtime module.
 
constexpr const char * tvm::tirx::attr::kIsGlobalFunc = "tirx.is_global_func"
 Mark the function as the global function called from the host.
 
constexpr const char * tvm::tirx::attr::kIsHostFunc = "tirx.is_host_func"
 Mark the function as run on the host, mutually exclusive with kTarget.
 
constexpr const char * tvm::tirx::attr::kPersistentKernel = "tirx.persistent_kernel"
 Mark the kernel as persistent.
 

Detailed Description

TIR Function.