Searched refs:OtherPtr (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 2183 Value *OtherPtr = nullptr; in RewriteMemIntrinUserOfAlloca() local 2187 OtherPtr = MTI->getRawSource(); in RewriteMemIntrinUserOfAlloca() 2190 OtherPtr = MTI->getRawDest(); in RewriteMemIntrinUserOfAlloca() 2196 if (OtherPtr) { in RewriteMemIntrinUserOfAlloca() 2198 cast<PointerType>(OtherPtr->getType())->getAddressSpace(); in RewriteMemIntrinUserOfAlloca() 2206 OtherPtr = OtherPtr->stripPointerCasts(); in RewriteMemIntrinUserOfAlloca() 2209 if (OtherPtr == AI || OtherPtr == NewElts[0]) { in RewriteMemIntrinUserOfAlloca() 2224 if (OtherPtr->getType() != NewTy) in RewriteMemIntrinUserOfAlloca() 2225 OtherPtr = new BitCastInst(OtherPtr, NewTy, OtherPtr->getName(), MI); in RewriteMemIntrinUserOfAlloca() 2239 if (OtherPtr) { in RewriteMemIntrinUserOfAlloca() [all …]
|
D | SROA.cpp | 2940 Value *OtherPtr = IsDest ? II.getRawSource() : II.getRawDest(); in visitMemTransferInst() local 2942 dyn_cast<AllocaInst>(OtherPtr->stripInBoundsOffsets())) { in visitMemTransferInst() 2948 Type *OtherPtrTy = OtherPtr->getType(); in visitMemTransferInst() 2960 OtherPtr = getAdjustedPtr(IRB, DL, OtherPtr, OtherOffset, OtherPtrTy, in visitMemTransferInst() 2961 OtherPtr->getName() + "."); in visitMemTransferInst() 2968 IsDest ? OurPtr : OtherPtr, IsDest ? OtherPtr : OurPtr, Size, in visitMemTransferInst() 2999 Value *SrcPtr = getAdjustedPtr(IRB, DL, OtherPtr, OtherOffset, OtherPtrTy, in visitMemTransferInst() 3000 OtherPtr->getName() + "."); in visitMemTransferInst()
|