tvm
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Protected Member Functions | List of all members
tvm::s_tir::StmtExprMutatorWithConstraintContext Class Reference

#include <stmt_functor_with_constraint_context.h>

Inheritance diagram for tvm::s_tir::StmtExprMutatorWithConstraintContext:
Collaboration diagram for tvm::s_tir::StmtExprMutatorWithConstraintContext:

Public Types

using Parent = tirx::StmtExprMutatorWithConstraintContext
 

Public Member Functions

 StmtExprMutatorWithConstraintContext (const sym::ConstraintContext &context)
 
virtual UnchangedOr< Stmt > Mutate_ (const SBlockObj *op, InplaceMode inplace_mode)
 
virtual UnchangedOr< Stmt > Mutate_ (const SBlockRealizeObj *op, InplaceMode inplace_mode)
 
ffi::UnchangedOr< Expr > Mutate (const Expr &value, ffi::InplaceMode mode=ffi::InplaceMode::kDisallow)
 Typed entry preserving the expression or statement category.
 
ffi::UnchangedOr< PrimExpr > Mutate (const PrimExpr &value, ffi::InplaceMode mode=ffi::InplaceMode::kDisallow)
 Mutate a primitive expression, allowing a different primitive node kind.
 
ffi::UnchangedOr< Stmt > Mutate (const Stmt &value, ffi::InplaceMode mode=ffi::InplaceMode::kDisallow)
 Mutate a statement, allowing a different statement kind.
 
ffi::UnchangedOr< SeqStmt > Mutate (const SeqStmt &value, ffi::InplaceMode mode=ffi::InplaceMode::kDisallow)
 Keep a sequence entry point canonical when its callback returns one statement.
 
virtual ffi::UnchangedOr< Expr > Mutate_ (const LambdaExprObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize LambdaExprObj.
 
virtual ffi::UnchangedOr< Expr > Mutate_ (const OpaqueExprObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize OpaqueExprObj.
 
virtual ffi::UnchangedOr< Expr > Mutate_ (const TupleObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize TupleObj.
 
virtual ffi::UnchangedOr< Expr > Mutate_ (const TupleGetItemObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize TupleGetItemObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const TensorLoadObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize TensorLoadObj.
 
virtual ffi::UnchangedOr< Expr > Mutate_ (const TensorRegionObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize TensorRegionObj.
 
virtual ffi::UnchangedOr< Expr > Mutate_ (const VarObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize VarObj.
 
virtual ffi::UnchangedOr< Expr > Mutate_ (const GlobalVarObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize GlobalVarObj.
 
virtual ffi::UnchangedOr< Expr > Mutate_ (const CallObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize CallObj.
 
virtual ffi::UnchangedOr< Expr > Mutate_ (const GenericConstObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize GenericConstObj.
 
virtual ffi::UnchangedOr< Expr > Mutate_ (const DataTypeImmObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize DataTypeImmObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const IntImmObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize IntImmObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const FloatImmObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize FloatImmObj.
 
virtual ffi::UnchangedOr< Expr > Mutate_ (const OpObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize OpObj.
 
virtual ffi::UnchangedOr< Expr > Mutate_ (const StringImmObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize StringImmObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::CastObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::CastObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::AddObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::AddObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::LShiftObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::LShiftObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::RShiftObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::RShiftObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::BitwiseAndObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::BitwiseAndObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::BitwiseOrObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::BitwiseOrObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::BitwiseXorObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::BitwiseXorObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::BitwiseNotObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::BitwiseNotObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::SubObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::SubObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::MulObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::MulObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::DivObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::DivObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::ModObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::ModObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::FloorDivObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::FloorDivObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::FloorModObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::FloorModObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::MinObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::MinObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::MaxObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::MaxObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::EQObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::EQObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::NEObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::NEObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::LTObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::LTObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::LEObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::LEObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::GTObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::GTObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::GEObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::GEObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::AndObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::AndObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::OrObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::OrObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::NotObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::NotObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::SelectObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::SelectObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::LetObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::LetObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::RampObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::RampObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::BroadcastObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::BroadcastObj.
 
virtual ffi::UnchangedOr< PrimExpr > Mutate_ (const prim::ShuffleObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize prim::ShuffleObj.
 
virtual ffi::UnchangedOr< Stmt > Mutate_ (const BindObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize BindObj.
 
virtual ffi::UnchangedOr< Stmt > Mutate_ (const RegionStmtObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize RegionStmtObj.
 
virtual ffi::UnchangedOr< Stmt > Mutate_ (const IfObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize IfObj.
 
virtual ffi::UnchangedOr< Stmt > Mutate_ (const ForObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize ForObj.
 
virtual ffi::UnchangedOr< Stmt > Mutate_ (const WhileObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize WhileObj.
 
virtual ffi::UnchangedOr< Stmt > Mutate_ (const ReturnObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize ReturnObj.
 
virtual ffi::UnchangedOr< Stmt > Mutate_ (const BreakObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize BreakObj.
 
virtual ffi::UnchangedOr< Stmt > Mutate_ (const ContinueObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize ContinueObj.
 
virtual ffi::UnchangedOr< Stmt > Mutate_ (const TensorStoreObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize TensorStoreObj.
 
virtual ffi::UnchangedOr< Stmt > Mutate_ (const AssertStmtObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize AssertStmtObj.
 
virtual ffi::UnchangedOr< Stmt > Mutate_ (const SeqStmtObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize SeqStmtObj.
 
virtual ffi::UnchangedOr< Stmt > Mutate_ (const EvaluateObj *node, ffi::InplaceMode mode)
 Default constraint-aware descent; override to customize EvaluateObj.
 
- Public Member Functions inherited from tvm::tirx::StmtExprMutatorWithConstraintContext
 StmtExprMutatorWithConstraintContext ()
 
 StmtExprMutatorWithConstraintContext (const sym::ConstraintContext &context)
 Capture the supplied environment; the mutator owns its analyzer and local facts.
 
ffi::UnchangedOr< Expr > Mutate (const Expr &value, ffi::InplaceMode mode=ffi::InplaceMode::kDisallow)
 Typed entry preserving the expression or statement category.
 
ffi::UnchangedOr< PrimExpr > Mutate (const PrimExpr &value, ffi::InplaceMode mode=ffi::InplaceMode::kDisallow)
 Mutate a primitive expression, allowing a different primitive node kind.
 
ffi::UnchangedOr< Stmt > Mutate (const Stmt &value, ffi::InplaceMode mode=ffi::InplaceMode::kDisallow)
 Mutate a statement, allowing a different statement kind.
 
ffi::UnchangedOr< SeqStmt > Mutate (const SeqStmt &value, ffi::InplaceMode mode=ffi::InplaceMode::kDisallow)
 Keep a sequence entry point canonical when its callback returns one statement.
 
virtual ffi::UnchangedOr< ffi::Any > Mutate (ffi::AnyView value, ffi::InplaceMode mode=ffi::InplaceMode::kDisallow)
 Dispatch a borrowed value after checking mutation permission and uniqueness.
 
- Public Member Functions inherited from tvm::tirx::ObjectMutatorWithConstraintContext
 ObjectMutatorWithConstraintContext ()
 
 ObjectMutatorWithConstraintContext (const ObjectMutatorWithConstraintContext &)=delete
 
ObjectMutatorWithConstraintContext & operator= (const ObjectMutatorWithConstraintContext &)=delete
 
ffi::Expected< ffi::UnchangedOr< ffi::Any > > MutateExpected (ffi::AnyView value, ffi::InplaceMode mode=ffi::InplaceMode::kDisallow) noexcept
 

Static Protected Member Functions

static void InitVTable (VTable *vtable)
 
static const VTable * GlobalVTable ()
 
- Static Protected Member Functions inherited from tvm::tirx::StmtExprMutatorWithConstraintContext
static void InitVTable (VTable *table)
 
- Static Protected Member Functions inherited from tvm::tirx::ObjectMutatorWithConstraintContext
static void InitVTable (VTable *table)
 
template<typename Self , typename Node >
static void SetDispatch (VTable *table)
 

Additional Inherited Members

- Protected Types inherited from tvm::tirx::ObjectMutatorWithConstraintContext
using VTable = ObjectFunctor< ffi::UnchangedOr< ffi::Any >(const ffi::Object *, ObjectMutatorWithConstraintContext *, ffi::InplaceMode)>
 
- Protected Member Functions inherited from tvm::tirx::StmtExprMutatorWithConstraintContext
sym::AnalyzerObj * GetSyncedAnalyzer ()
 Synchronize before every analysis, including after child traversal. The borrowed pointer is not a live view: reacquire it after changing context.
 
void AddParamConstraints (const Function &func)
 Add global nonnegative tensor-parameter shape premises before traversal.
 
ffi::Array< PrimExpr > IterMapSimplifyWithContext (const ffi::Array< PrimExpr > &indices, bool non_trivial_only)
 Simplify indices using the active collector's iterator facts.
 
 StmtExprMutatorWithConstraintContext (const VTable *table)
 Construct with a finalized table extended by a native subclass.
 
- Protected Member Functions inherited from tvm::tirx::ObjectMutatorWithConstraintContext
 ObjectMutatorWithConstraintContext (const VTable *table)
 

Member Typedef Documentation

◆ Parent

Constructor & Destructor Documentation

◆ StmtExprMutatorWithConstraintContext()

tvm::s_tir::StmtExprMutatorWithConstraintContext::StmtExprMutatorWithConstraintContext ( const sym::ConstraintContext &  context)
inlineexplicit

Member Function Documentation

◆ GlobalVTable()

static const VTable * tvm::s_tir::StmtExprMutatorWithConstraintContext::GlobalVTable ( )
inlinestaticprotected

◆ InitVTable()

static void tvm::s_tir::StmtExprMutatorWithConstraintContext::InitVTable ( VTable *  vtable)
inlinestaticprotected

◆ Mutate() [1/4]

ffi::UnchangedOr< Expr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate ( const Expr &  value,
ffi::InplaceMode  mode = ffi::InplaceMode::kDisallow 
)
inline

Typed entry preserving the expression or statement category.

◆ Mutate() [2/4]

ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate ( const PrimExpr &  value,
ffi::InplaceMode  mode = ffi::InplaceMode::kDisallow 
)
inline

Mutate a primitive expression, allowing a different primitive node kind.

◆ Mutate() [3/4]

ffi::UnchangedOr< SeqStmt > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate ( const SeqStmt &  value,
ffi::InplaceMode  mode = ffi::InplaceMode::kDisallow 
)
inline

Keep a sequence entry point canonical when its callback returns one statement.

◆ Mutate() [4/4]

ffi::UnchangedOr< Stmt > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate ( const Stmt &  value,
ffi::InplaceMode  mode = ffi::InplaceMode::kDisallow 
)
inline

Mutate a statement, allowing a different statement kind.

◆ Mutate_() [1/59]

virtual ffi::UnchangedOr< Stmt > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const AssertStmtObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize AssertStmtObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [2/59]

virtual ffi::UnchangedOr< Stmt > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const BindObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize BindObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [3/59]

virtual ffi::UnchangedOr< Stmt > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const BreakObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize BreakObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [4/59]

virtual ffi::UnchangedOr< Expr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const CallObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize CallObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [5/59]

virtual ffi::UnchangedOr< Stmt > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const ContinueObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize ContinueObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [6/59]

virtual ffi::UnchangedOr< Expr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const DataTypeImmObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize DataTypeImmObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [7/59]

virtual ffi::UnchangedOr< Stmt > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const EvaluateObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize EvaluateObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [8/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const FloatImmObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize FloatImmObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [9/59]

virtual ffi::UnchangedOr< Stmt > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const ForObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize ForObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [10/59]

virtual ffi::UnchangedOr< Expr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const GenericConstObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize GenericConstObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [11/59]

virtual ffi::UnchangedOr< Expr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const GlobalVarObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize GlobalVarObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [12/59]

virtual ffi::UnchangedOr< Stmt > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const IfObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize IfObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [13/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const IntImmObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize IntImmObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [14/59]

virtual ffi::UnchangedOr< Expr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const LambdaExprObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize LambdaExprObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [15/59]

virtual ffi::UnchangedOr< Expr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const OpaqueExprObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize OpaqueExprObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [16/59]

virtual ffi::UnchangedOr< Expr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const OpObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize OpObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [17/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::AddObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::AddObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [18/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::AndObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::AndObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [19/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::BitwiseAndObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::BitwiseAndObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [20/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::BitwiseNotObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::BitwiseNotObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [21/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::BitwiseOrObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::BitwiseOrObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [22/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::BitwiseXorObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::BitwiseXorObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [23/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::BroadcastObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::BroadcastObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [24/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::CastObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::CastObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [25/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::DivObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::DivObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [26/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::EQObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::EQObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [27/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::FloorDivObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::FloorDivObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [28/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::FloorModObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::FloorModObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [29/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::GEObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::GEObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [30/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::GTObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::GTObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [31/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::LEObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::LEObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [32/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::LetObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::LetObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [33/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::LShiftObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::LShiftObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [34/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::LTObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::LTObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [35/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::MaxObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::MaxObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [36/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::MinObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::MinObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [37/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::ModObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::ModObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [38/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::MulObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::MulObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [39/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::NEObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::NEObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [40/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::NotObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::NotObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [41/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::OrObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::OrObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [42/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::RampObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::RampObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [43/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::RShiftObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::RShiftObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [44/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::SelectObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::SelectObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [45/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::ShuffleObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::ShuffleObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [46/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const prim::SubObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize prim::SubObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [47/59]

virtual ffi::UnchangedOr< Stmt > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const RegionStmtObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize RegionStmtObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [48/59]

virtual ffi::UnchangedOr< Stmt > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const ReturnObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize ReturnObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [49/59]

virtual UnchangedOr< Stmt > tvm::s_tir::StmtExprMutatorWithConstraintContext::Mutate_ ( const SBlockObj *  op,
InplaceMode  inplace_mode 
)
virtual

◆ Mutate_() [50/59]

virtual UnchangedOr< Stmt > tvm::s_tir::StmtExprMutatorWithConstraintContext::Mutate_ ( const SBlockRealizeObj *  op,
InplaceMode  inplace_mode 
)
inlinevirtual

◆ Mutate_() [51/59]

virtual ffi::UnchangedOr< Stmt > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const SeqStmtObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize SeqStmtObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [52/59]

virtual ffi::UnchangedOr< Expr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const StringImmObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize StringImmObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [53/59]

virtual ffi::UnchangedOr< PrimExpr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const TensorLoadObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize TensorLoadObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [54/59]

virtual ffi::UnchangedOr< Expr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const TensorRegionObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize TensorRegionObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [55/59]

virtual ffi::UnchangedOr< Stmt > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const TensorStoreObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize TensorStoreObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [56/59]

virtual ffi::UnchangedOr< Expr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const TupleGetItemObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize TupleGetItemObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [57/59]

virtual ffi::UnchangedOr< Expr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const TupleObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize TupleObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [58/59]

virtual ffi::UnchangedOr< Expr > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const VarObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize VarObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.

◆ Mutate_() [59/59]

virtual ffi::UnchangedOr< Stmt > tvm::tirx::StmtExprMutatorWithConstraintContext::Mutate_ ( const WhileObj *  node,
ffi::InplaceMode  mode 
)
virtual

Default constraint-aware descent; override to customize WhileObj.

Reimplemented from tvm::tirx::StmtExprMutatorWithConstraintContext.


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