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/extra/structural_equal.h>
#include <tvm/ffi/extra/structural_hash.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::FunctionObj
 Primitive functions that contains TIR statements. More...
 
class  tvm::tirx::Function
 Managed reference to FunctionObj. More...
 

Namespaces

namespace  tvm
 An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
 
namespace  tvm::tirx
 
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.
 

Variables

constexpr ffi::reflection::AttrKey< ffi::Array< ffi::String > > tvm::tirx::attr::kKernelLaunchParams
 Ordered launch-parameter tags for a device kernel.
 
constexpr ffi::reflection::AttrKey< bool > tvm::tirx::attr::kNoAlias {"tirx.noalias"}
 Whether to set noalias rule on the function arguments.
 
constexpr ffi::reflection::AttrKey< bool > tvm::tirx::attr::kIsEntryFunc {"tirx.is_entry_func"}
 Mark the function as the entry function of the final generated runtime module.
 
constexpr ffi::reflection::AttrKey< bool > tvm::tirx::attr::kIsGlobalFunc {"tirx.is_global_func"}
 Mark the function as the global function called from the host.
 
constexpr ffi::reflection::AttrKey< bool > tvm::tirx::attr::kIsHostFunc {"tirx.is_host_func"}
 Mark the function as run on the host, mutually exclusive with kTarget.
 
constexpr ffi::reflection::AttrKey< bool > tvm::tirx::attr::kPersistentKernel {"tirx.persistent_kernel"}
 Mark the kernel as persistent.
 

Detailed Description

TIR Function.