MLIR 22.0.0git
VectorTransferSplitRewritePatterns.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "vector-transfer-split"

Functions

static Value createInBoundsCond (RewriterBase &b, VectorTransferOpInterface xferOp)
 Build the condition to ensure that a particular VectorTransferOpInterface is in-bounds.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "vector-transfer-split"

Definition at line 29 of file VectorTransferSplitRewritePatterns.cpp.

Function Documentation

◆ createInBoundsCond()

Value createInBoundsCond ( RewriterBase & b,
VectorTransferOpInterface xferOp )
static

Build the condition to ensure that a particular VectorTransferOpInterface is in-bounds.

Definition at line 36 of file VectorTransferSplitRewritePatterns.cpp.

References b, mlir::getConstantIntValue(), mlir::memref::getMixedSize(), mlir::getValueOrCreateConstantIndexOp(), and mlir::affine::makeComposedFoldedAffineApply().