|
tvm
|
A boolean premise. Its validity and lifetime are supplied by the collector. More...
#include <constraint.h>
Public Member Functions | |
| PredicateConstraintObj (PrimExpr condition, bool assume_always=false) | |
| PredicateConstraintObj (ffi::UnsafeInit tag) | |
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("sym.PredicateConstraint", PredicateConstraintObj, 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 | |
| PrimExpr | condition |
| The boolean predicate supplied by the collector. | |
| bool | assume_always {false} |
| Whether to assume the predicate remains true throughout the active constraint scope, including after mutations. Defaults to false. Setting true supplies the caller's guarantee of predicate truth; it does not require referenced values to remain unchanged. | |
Additional Inherited Members | |
Static Public Attributes inherited from tvm::sym::ConstraintObj | |
| static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
A boolean premise. Its validity and lifetime are supplied by the collector.
|
inlineexplicit |
|
inlineexplicit |
|
inlinestatic |
| tvm::sym::PredicateConstraintObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "sym.PredicateConstraint" | , |
| PredicateConstraintObj | , | ||
| ConstraintObj | |||
| ) |
| bool tvm::sym::PredicateConstraintObj::assume_always {false} |
Whether to assume the predicate remains true throughout the active constraint scope, including after mutations. Defaults to false. Setting true supplies the caller's guarantee of predicate truth; it does not require referenced values to remain unchanged.
| PrimExpr tvm::sym::PredicateConstraintObj::condition |
The boolean predicate supplied by the collector.