Searched refs:newMemRef (Results 1 – 5 of 5) sorted by relevance
/external/llvm-project/mlir/lib/Transforms/Utils/ |
D | Utils.cpp | 45 LogicalResult mlir::replaceAllMemRefUsesWith(Value oldMemRef, Value newMemRef, in replaceAllMemRefUsesWith() argument 52 unsigned newMemRefRank = newMemRef.getType().cast<MemRefType>().getRank(); in replaceAllMemRefUsesWith() 68 newMemRef.getType().cast<MemRefType>().getElementType()); in replaceAllMemRefUsesWith() 97 op->setOperand(memRefOperandPos, newMemRef); in replaceAllMemRefUsesWith() 188 state.operands.push_back(newMemRef); in replaceAllMemRefUsesWith() 221 Value oldMemRef, Value newMemRef, ArrayRef<Value> extraIndices, in replaceAllMemRefUsesWith() argument 226 unsigned newMemRefRank = newMemRef.getType().cast<MemRefType>().getRank(); in replaceAllMemRefUsesWith() 242 newMemRef.getType().cast<MemRefType>().getElementType()); in replaceAllMemRefUsesWith() 292 oldMemRef, newMemRef, op, extraIndices, indexRemap, extraOperands, in replaceAllMemRefUsesWith()
|
/external/llvm-project/mlir/include/mlir/Transforms/ |
D | Utils.h | 70 Value oldMemRef, Value newMemRef, ArrayRef<Value> extraIndices = {}, 80 LogicalResult replaceAllMemRefUsesWith(Value oldMemRef, Value newMemRef,
|
/external/llvm-project/mlir/lib/Transforms/ |
D | NormalizeMemRefs.cpp | 363 BlockArgument newMemRef = in normalizeFuncOpMemRefs() local 368 if (failed(replaceAllMemRefUsesWith(oldMemRef, /*newMemRef=*/newMemRef, in normalizeFuncOpMemRefs() 406 Value newMemRef = newOp->getResult(resIndex); in normalizeFuncOpMemRefs() local 411 MemRefType newMemRefType = newMemRef.getType().cast<MemRefType>(); in normalizeFuncOpMemRefs() 417 /*newMemRef=*/newMemRef, in normalizeFuncOpMemRefs()
|
D | PipelineDataTransfer.cpp | 95 Value newMemRef = in doubleBuffer() local 109 oldMemRef, newMemRef, in doubleBuffer() 122 bOuter.create<DeallocOp>(forOp.getLoc(), newMemRef); in doubleBuffer()
|
D | LoopFusion.cpp | 848 Value newMemRef = top.create<AllocOp>(forOp.getLoc(), newMemRefType); in createPrivateMemRef() local 866 replaceAllMemRefUsesWith(oldMemRef, newMemRef, {}, indexRemap, in createPrivateMemRef() 873 return newMemRef; in createPrivateMemRef() 1563 auto newMemRef = createPrivateMemRef( in fuseProducerConsumerNodes() local 1566 visitedMemrefs.insert(newMemRef); in fuseProducerConsumerNodes() 1568 unsigned newMemRefNodeId = mdg->addNode(newMemRef.getDefiningOp()); in fuseProducerConsumerNodes() 1570 mdg->addEdge(newMemRefNodeId, dstId, newMemRef); in fuseProducerConsumerNodes()
|