tvm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::CallObj Class Reference

Call corresponds to callable invocation. More...

#include <expr.h>

Inheritance diagram for tvm::CallObj:
Collaboration diagram for tvm::CallObj:

Public Member Functions

 CallObj (Expr op)
 
 CallObj (ffi::UnsafeInit tag)
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.Call", CallObj, ExprObj)
 
- Public Member Functions inherited from tvm::ExprObj
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Expr", ExprObj, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::ExprObj
static void RegisterReflection ()
 

Public Attributes

Expr op
 The operator/function being invoked.
 
ffi::Array< Expr > args
 The arguments of the call.
 
ffi::Optional< Attrs > attrs
 The additional attributes.
 
ffi::Array< Type > ty_args
 The type information arguments passed to the callee.
 
- Public Attributes inherited from tvm::ExprObj
Location loc = UnknownLoc()
 Location that points to the original source code. Reserved debug information.
 
Type ty = MissingType()
 The deduced or annotated type of the expression.
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::ExprObj
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr const uint32_t _type_child_slots = 64
 

Detailed Description

Call corresponds to callable invocation.

Constructor & Destructor Documentation

◆ CallObj() [1/2]

tvm::CallObj::CallObj ( Expr  op)
inlineexplicit

◆ CallObj() [2/2]

tvm::CallObj::CallObj ( ffi::UnsafeInit  tag)
inlineexplicit

Member Function Documentation

◆ RegisterReflection()

static void tvm::CallObj::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::CallObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "ir.Call"  ,
CallObj  ,
ExprObj   
)

Member Data Documentation

◆ args

ffi::Array<Expr> tvm::CallObj::args

The arguments of the call.

◆ attrs

ffi::Optional<Attrs> tvm::CallObj::attrs

The additional attributes.

◆ op

Expr tvm::CallObj::op

The operator/function being invoked.

It can be an Op, a GlobalVar, a local function value, or another callable expression.

◆ ty_args

ffi::Array<Type> tvm::CallObj::ty_args

The type information arguments passed to the callee.


The documentation for this class was generated from the following file: