MLIR: lib/Dialect/Linalg/Transforms/Hoisting.cpp File Reference (original) (raw)

Go to the source code of this file.

Functions
static scf::ForOp replaceWithDifferentYield (RewriterBase &rewriter, scf::ForOp loop, Value newInitOperand, unsigned index, Value newYieldValue)
Replace loop with a new loop that has a different init operand at position index. More...
static bool noAliasingUseInLoop (vector::TransferReadOp transferRead, LoopLikeOpInterface loop)

DBGS

#define DBGS ( ) (dbgs() << '[' << DEBUG_TYPE << "] ")

DEBUG_TYPE

#define DEBUG_TYPE "linalg-hoisting"

noAliasingUseInLoop()

static bool noAliasingUseInLoop ( vector::TransferReadOp transferRead, LoopLikeOpInterface loop ) static

replaceWithDifferentYield()

static scf::ForOp replaceWithDifferentYield ( RewriterBase & rewriter, scf::ForOp loop, Value newInitOperand, unsigned index, Value newYieldValue ) static