Home
last modified time | relevance | path

Searched refs:allocValue (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/
H A DBufferOptimizations.cpp109 Value allocValue; member
115 BufferAllocationHoistingStateBase(DominanceInfo *dominators, Value allocValue, in BufferAllocationHoistingStateBase()
117 : dominators(dominators), allocValue(allocValue), in BufferAllocationHoistingStateBase()
138 for (auto allocValue : allocsAndAllocas) { in hoist() local
139 if (!StateT::shouldHoistOpType(allocValue.getDefiningOp())) in hoist()
141 Operation *definingOp = allocValue.getDefiningOp(); in hoist()
144 auto resultAliases = aliases.resolve(allocValue); in hoist()
147 findCommonDominator(allocValue, resultAliases, dominators); in hoist()
149 StateT state(&dominators, allocValue, allocValue.getParentBlock()); in hoist()
168 allocValue, placementBlock, liveness); in hoist()
[all …]
H A DBufferUtils.cpp33 Operation *BufferPlacementAllocs::getStartOperation(Value allocValue, in getStartOperation() argument
39 Operation *startOperation = livenessInfo.getStartOperation(allocValue); in getStartOperation()
79 Value allocValue = allocateResultEffects[0].getValue(); in build() local
81 llvm::Optional<Operation *> dealloc = memref::findDealloc(allocValue); in build()
85 allocs.push_back(std::make_tuple(allocValue, *dealloc)); in build()
H A DBufferDeallocation.cpp287 Value allocValue = std::get<0>(entry); in introduceClones() local
288 findUnsafeValues(allocValue, allocValue.getDefiningOp()->getBlock()); in introduceClones()
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/IR/
H A DMemRefDialect.cpp46 llvm::Optional<Operation *> mlir::memref::findDealloc(Value allocValue) { in findDealloc() argument
48 for (Operation *user : allocValue.getUsers()) { in findDealloc()
55 effectInterface.getEffectsOnValue(allocValue, effects); in findDealloc()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/MemRef/IR/
H A DMemRef.h53 Optional<Operation *> findDealloc(Value allocValue);
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Bufferization/Transforms/
H A DBufferUtils.h44 static Operation *getStartOperation(Value allocValue, Block *placementBlock,