Lines Matching refs:oldMemRef
1076 LogicalResult mlir::replaceAllMemRefUsesWith(Value oldMemRef, Value newMemRef, in replaceAllMemRefUsesWith() argument
1085 unsigned oldMemRefRank = oldMemRef.getType().cast<MemRefType>().getRank(); in replaceAllMemRefUsesWith()
1098 assert(oldMemRef.getType().cast<MemRefType>().getElementType() == in replaceAllMemRefUsesWith()
1103 if (opEntry.value() == oldMemRef) in replaceAllMemRefUsesWith()
1135 affMapAccInterface.getAffineMapAttrForMemRef(oldMemRef); in replaceAllMemRefUsesWith()
1255 Value oldMemRef, Value newMemRef, ArrayRef<Value> extraIndices, in replaceAllMemRefUsesWith() argument
1262 unsigned oldMemRefRank = oldMemRef.getType().cast<MemRefType>().getRank(); in replaceAllMemRefUsesWith()
1275 assert(oldMemRef.getType().cast<MemRefType>().getElementType() == in replaceAllMemRefUsesWith()
1292 for (auto *op : oldMemRef.getUsers()) { in replaceAllMemRefUsesWith()
1333 oldMemRef, newMemRef, op, extraIndices, indexRemap, extraOperands, in replaceAllMemRefUsesWith()
1690 Value oldMemRef = allocOp->getResult(); in normalizeMemRef() local
1700 MemRefType oldMemRefType = oldMemRef.getType().cast<MemRefType>(); in normalizeMemRef()
1713 if (failed(replaceAllMemRefUsesWith(oldMemRef, /*newMemRef=*/newAlloc, in normalizeMemRef()
1727 assert(llvm::all_of(oldMemRef.getUsers(), [](Operation *op) { in normalizeMemRef()
1730 oldMemRef.replaceAllUsesWith(newAlloc); in normalizeMemRef()