tvm
Loading...
Searching...
No Matches
Namespaces | Functions
ir.h File Reference

IRBuilder APIs for TIRx functions and statements. More...

#include <tvm/ffi/container/tuple.h>
#include <tvm/ffi/container/variant.h>
#include <tvm/ir/prim/op.h>
#include <tvm/runtime/tensor.h>
#include <tvm/script/ir_builder/ir.h>
#include <tvm/tirx/script/ir_builder/frame.h>
#include <tvm/tirx/stmt.h>
#include <tvm/tirx/tile/thread_scope.h>
#include <tvm/tirx/type.h>
Include dependency graph for ir.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tvm
 An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
 
namespace  tvm::script
 
namespace  tvm::script::ir_builder
 
namespace  tvm::script::ir_builder::tirx
 

Functions

TVM_TIRX_DLL FunctionFrame tvm::script::ir_builder::tirx::Function (bool is_private=false, bool persistent=false, bool is_declaration=false)
 The primitive function statement.
 
TVM_TIRX_DLL Var tvm::script::ir_builder::tirx::Arg (ffi::String name, Var var)
 The Function variable arguments adding function.
 
TVM_TIRX_DLL TensorVar tvm::script::ir_builder::tirx::Arg (ffi::String name, TensorVar tensor)
 The Function tensor arguments adding function.
 
TVM_TIRX_DLL void tvm::script::ir_builder::tirx::FuncName (ffi::String name)
 The Function naming statement.
 
TVM_TIRX_DLL void tvm::script::ir_builder::tirx::FuncAttrs (ffi::Map< ffi::String, ffi::Any > attrs)
 The Function annotation statement.
 
TVM_TIRX_DLL Type tvm::script::ir_builder::tirx::FuncRet (Type ret_type)
 The Function return type statement.
 
TVM_TIRX_DLL tvm::Stmt tvm::script::ir_builder::tirx::TensorStore (Expr dest, ffi::Array< PrimExpr > indices, PrimExpr value)
 Store data in a tensor destination.
 
Var tvm::script::ir_builder::tirx::Handle (ffi::Optional< PrimType > dtype=std::nullopt, runtime::MemoryScope storage_scope={})
 Create a TIR var that represents a pointer.
 
Var tvm::script::ir_builder::tirx::TensorMap ()
 

Detailed Description

IRBuilder APIs for TIRx functions and statements.