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

The value captured when a variable is bound. A mutable-read RHS is retained as data; it must not be re-evaluated or treated as an enduring equality by a consumer. More...

#include <constraint.h>

Inheritance diagram for tvm::sym::BindingConstraintObj:
Collaboration diagram for tvm::sym::BindingConstraintObj:

Public Member Functions

 BindingConstraintObj (Var var, PrimExpr value)
 
 BindingConstraintObj (ffi::UnsafeInit tag)
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("sym.BindingConstraint", BindingConstraintObj, ConstraintObj)
 
- Public Member Functions inherited from tvm::sym::ConstraintObj
 TVM_FFI_DECLARE_OBJECT_INFO ("sym.Constraint", ConstraintObj, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

Var var
 The variable whose bound value is recorded.
 
PrimExpr value
 The RHS expression at the binding site, including any mutable reads.
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::sym::ConstraintObj
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 

Detailed Description

The value captured when a variable is bound. A mutable-read RHS is retained as data; it must not be re-evaluated or treated as an enduring equality by a consumer.

Constructor & Destructor Documentation

◆ BindingConstraintObj() [1/2]

tvm::sym::BindingConstraintObj::BindingConstraintObj ( Var  var,
PrimExpr  value 
)
inline

◆ BindingConstraintObj() [2/2]

tvm::sym::BindingConstraintObj::BindingConstraintObj ( ffi::UnsafeInit  tag)
inlineexplicit

Member Function Documentation

◆ RegisterReflection()

static void tvm::sym::BindingConstraintObj::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::sym::BindingConstraintObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "sym.BindingConstraint"  ,
BindingConstraintObj  ,
ConstraintObj   
)

Member Data Documentation

◆ value

PrimExpr tvm::sym::BindingConstraintObj::value

The RHS expression at the binding site, including any mutable reads.

◆ var

Var tvm::sym::BindingConstraintObj::var

The variable whose bound value is recorded.


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