|
| template<ffi::WalkOrder order, typename... Callbacks> |
| ffi::Expected< ffi::Optional< ffi::VisitInterrupt > > | tvm::tirx::StructuralWalkWithConstraintContextExpected (ffi::AnyView root, Callbacks &&... callbacks) noexcept |
| | Expected form of StructuralWalkWithConstraintContext.
|
| |
| template<ffi::WalkOrder order, typename... Callbacks> |
| ffi::Optional< ffi::VisitInterrupt > | tvm::tirx::StructuralWalkWithConstraintContext (ffi::AnyView root, Callbacks &&... callbacks) |
| | Walk every occurrence with (value, const sym::ConstraintContext&) callbacks. A trailing TVMFFIDefRegionKind is optional, as in ffi::StructuralWalk. Return Expected<WalkResult>; pre-order Skip prunes descent and Interrupt stops the walk. Post callbacks see a scoped node after its internal scope is restored. Sequence traversal visits its statements directly in order; lazy calls visit their arguments directly so each branch has its own scope. These two hooks do not dispatch a callback for their intermediate Array containers.
|
| |
| template<typename... Callbacks> |
| ffi::Expected< ffi::Optional< ffi::VisitInterrupt > > | tvm::tirx::StructuralVisitWithConstraintContextExpected (ffi::AnyView root, Callbacks &&... callbacks) noexcept |
| | Expected form of StructuralVisitWithConstraintContext.
|
| |
| template<typename... Callbacks> |
| ffi::Optional< ffi::VisitInterrupt > | tvm::tirx::StructuralVisitWithConstraintContext (ffi::AnyView root, Callbacks &&... callbacks) |
| | Visit with callbacks (value, StructuralVisitorWithConstraintContextObj*). The first matching callback owns descent. Return completion, interrupt, or error as in ffi::StructuralVisit. Recurse with visitor->VisitExpected(child) or visitor->DefaultVisitExpected(value); constraints is the active context handle.
|
| |
Structural traversal with ordered lexical symbolic premises.