Home
last modified time | relevance | path

Searched defs:BufferAllocationHoistingState (Results 1 – 1 of 1) sorted by relevance

/llvm-project/mlir/lib/Dialect/Bufferization/Transforms/
H A DBufferOptimizations.cpp299 struct BufferAllocationHoistingState : BufferAllocationHoistingStateBase { struct
303 Block *computeUpperBound(Block *dominatorBlock, Block *dependencyBlock) { in computeUpperBound()
317 bool isLegalPlacement(Operation *op) { return !isLoop(op); } in isLegalPlacement()
320 static bool shouldHoistOpType(Operation *op) { in shouldHoistOpType()
325 void recordMoveToDominator(Block *block) { placementBlock = block; } in recordMoveToDominator()
328 void recordMoveToParent(Block *block) { recordMoveToDominator(block); } in recordMoveToParent()