tvm
Loading...
Searching...
No Matches
Variables
tvm::tirx::op_attr Namespace Reference

Variables

constexpr ffi::reflection::AttrKey< ffi::String > kGlobalSymbol {"TGlobalSymbol"}
 Global symbol of the op after lowering.
 
constexpr ffi::reflection::AttrKey< bool > kVectorizable {"TVectorizable"}
 Whether the op is overloaded for vector form.
 
constexpr ffi::reflection::AttrKey< ffi::reflection::NativeFunctionView< ffi::Optional< ffi::VisitInterrupt >(StructuralVisitorWithConstraintContextObj *, ffi::AnyView value)> > kStructuralVisitWithConstraintContext {"__s_visit_with_constraint_context__"}
 Constraint-aware descent for a Call or RegionStmt using this Op. Receives the complete containing node as value. The hook owns child descent, definition regions, and constraint scopes, and propagates interrupts and errors. Missing hooks use ordinary Call descent or body-scoped RegionStmt descent.
 
constexpr ffi::reflection::AttrKey< ffi::reflection::NativeFunctionView< ffi::UnchangedOr< ffi::Any >(StructuralMutatorWithConstraintContextObj *, ffi::AnyView value)> > kStructuralMutateWithConstraintContext {"__s_mutate_with_constraint_context__"}
 Copying mutation of a complete Call or RegionStmt using this Op. The hook owns descent, definition remaps, and constraint scopes. Descend with in-place mutation disallowed and return a replacement or Unchanged, or an error.
 
constexpr ffi::reflection::AttrKey< ffi::reflection::NativeFunctionView< ffi::UnchangedOr< ffi::Any >(StructuralMutatorWithConstraintContextObj *, ffi::AnyView value)> > kStructuralMaybeInplaceMutateWithConstraintContext
 Mutation when the engine permits in-place updates of the containing node. Child mutation still checks ownership. Missing overrides use the Op's copying hook; if both are absent, use ordinary Call or body-scoped RegionStmt descent.
 

Variable Documentation

◆ kGlobalSymbol

constexpr ffi::reflection::AttrKey<ffi::String> tvm::tirx::op_attr::kGlobalSymbol {"TGlobalSymbol"}
inlineconstexpr

Global symbol of the op after lowering.

◆ kStructuralMaybeInplaceMutateWithConstraintContext

constexpr ffi::reflection::AttrKey<ffi::reflection::NativeFunctionView< ffi::UnchangedOr<ffi::Any>(StructuralMutatorWithConstraintContextObj*, ffi::AnyView value)> > tvm::tirx::op_attr::kStructuralMaybeInplaceMutateWithConstraintContext
inlineconstexpr
Initial value:
{
"__s_maybe_inplace_mutate_with_constraint_context__"}

Mutation when the engine permits in-place updates of the containing node. Child mutation still checks ownership. Missing overrides use the Op's copying hook; if both are absent, use ordinary Call or body-scoped RegionStmt descent.

◆ kStructuralMutateWithConstraintContext

constexpr ffi::reflection::AttrKey<ffi::reflection::NativeFunctionView< ffi::UnchangedOr<ffi::Any>(StructuralMutatorWithConstraintContextObj*, ffi::AnyView value)> > tvm::tirx::op_attr::kStructuralMutateWithConstraintContext {"__s_mutate_with_constraint_context__"}
inlineconstexpr

Copying mutation of a complete Call or RegionStmt using this Op. The hook owns descent, definition remaps, and constraint scopes. Descend with in-place mutation disallowed and return a replacement or Unchanged, or an error.

◆ kStructuralVisitWithConstraintContext

constexpr ffi::reflection::AttrKey<ffi::reflection::NativeFunctionView<ffi::Optional< ffi::VisitInterrupt>(StructuralVisitorWithConstraintContextObj*, ffi::AnyView value)> > tvm::tirx::op_attr::kStructuralVisitWithConstraintContext {"__s_visit_with_constraint_context__"}
inlineconstexpr

Constraint-aware descent for a Call or RegionStmt using this Op. Receives the complete containing node as value. The hook owns child descent, definition regions, and constraint scopes, and propagates interrupts and errors. Missing hooks use ordinary Call descent or body-scoped RegionStmt descent.

◆ kVectorizable

constexpr ffi::reflection::AttrKey<bool> tvm::tirx::op_attr::kVectorizable {"TVectorizable"}
inlineconstexpr

Whether the op is overloaded for vector form.