MLIR  19.0.0git
Functions
mlir::affine::matcher Namespace Reference

Functions

NestedPattern Op (FilterFunctionType filter=defaultFilterFunction)
 
NestedPattern If (const NestedPattern &child)
 
NestedPattern If (const FilterFunctionType &filter, const NestedPattern &child)
 
NestedPattern If (ArrayRef< NestedPattern > nested={})
 
NestedPattern If (const FilterFunctionType &filter, ArrayRef< NestedPattern > nested={})
 
NestedPattern For (const NestedPattern &child)
 
NestedPattern For (const FilterFunctionType &filter, const NestedPattern &child)
 
NestedPattern For (ArrayRef< NestedPattern > nested={})
 
NestedPattern For (const FilterFunctionType &filter, ArrayRef< NestedPattern > nested={})
 
bool isParallelLoop (Operation &op)
 
bool isReductionLoop (Operation &op)
 
bool isLoadOrStore (Operation &op)
 

Function Documentation

◆ For() [1/4]

NestedPattern mlir::affine::matcher::For ( ArrayRef< NestedPattern nested = {})

Definition at line 167 of file NestedMatcher.cpp.

References isAffineForOp().

◆ For() [2/4]

NestedPattern mlir::affine::matcher::For ( const FilterFunctionType filter,
ArrayRef< NestedPattern nested = {} 
)

Definition at line 170 of file NestedMatcher.cpp.

◆ For() [3/4]

NestedPattern mlir::affine::matcher::For ( const FilterFunctionType filter,
const NestedPattern child 
)

Definition at line 162 of file NestedMatcher.cpp.

◆ For() [4/4]

NestedPattern mlir::affine::matcher::For ( const NestedPattern child)

Definition at line 159 of file NestedMatcher.cpp.

References isAffineForOp().

Referenced by makePattern().

◆ If() [1/4]

NestedPattern mlir::affine::matcher::If ( ArrayRef< NestedPattern nested = {})

Definition at line 149 of file NestedMatcher.cpp.

References isAffineIfOp().

◆ If() [2/4]

NestedPattern mlir::affine::matcher::If ( const FilterFunctionType filter,
ArrayRef< NestedPattern nested = {} 
)

Definition at line 152 of file NestedMatcher.cpp.

◆ If() [3/4]

NestedPattern mlir::affine::matcher::If ( const FilterFunctionType filter,
const NestedPattern child 
)

Definition at line 144 of file NestedMatcher.cpp.

◆ If() [4/4]

NestedPattern mlir::affine::matcher::If ( const NestedPattern child)

Definition at line 141 of file NestedMatcher.cpp.

References isAffineIfOp().

Referenced by isVectorizableLoopBodyWithOpCond().

◆ isLoadOrStore()

bool mlir::affine::matcher::isLoadOrStore ( Operation op)

Definition at line 176 of file NestedMatcher.cpp.

◆ isParallelLoop()

bool mlir::affine::matcher::isParallelLoop ( Operation op)

◆ isReductionLoop()

bool mlir::affine::matcher::isReductionLoop ( Operation op)

◆ Op()

NestedPattern mlir::affine::matcher::Op ( FilterFunctionType  filter = defaultFilterFunction)

Definition at line 137 of file NestedMatcher.cpp.

Referenced by isVectorizableLoopBodyWithOpCond(), and vectorTransferPattern().