tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::tirx::PredicateNode Class Reference

#include <predicate.h>

Inheritance diagram for tvm::tirx::PredicateNode:
Collaboration diagram for tvm::tirx::PredicateNode:

Public Member Functions

PrimExpr Apply (const Array< PrimExpr > &indices) const
 Replace the variables in the predicate with the given indices. More...
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("tirx.Predicate", PredicateNode, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

Array< Varvars
 The variables in the predicate. More...
 
PrimExpr pred
 The predicate. More...
 

Static Public Attributes

static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 

Member Function Documentation

◆ Apply()

PrimExpr tvm::tirx::PredicateNode::Apply ( const Array< PrimExpr > &  indices) const

Replace the variables in the predicate with the given indices.

◆ RegisterReflection()

static void tvm::tirx::PredicateNode::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::tirx::PredicateNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "tirx.Predicate"  ,
PredicateNode  ,
ffi::Object   
)

Member Data Documentation

◆ _type_s_eq_hash_kind

constexpr TVMFFISEqHashKind tvm::tirx::PredicateNode::_type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
staticconstexpr

◆ pred

PrimExpr tvm::tirx::PredicateNode::pred

The predicate.

◆ vars

Array<Var> tvm::tirx::PredicateNode::vars

The variables in the predicate.


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