Lines Matching refs:OtherPtr
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()
2242 OtherElt = GetElementPtrInst::CreateInBounds(OtherPtr, Idx, in RewriteMemIntrinUserOfAlloca()
2243 OtherPtr->getName()+"."+Twine(i), in RewriteMemIntrinUserOfAlloca()
2246 PointerType *OtherPtrTy = cast<PointerType>(OtherPtr->getType()); in RewriteMemIntrinUserOfAlloca()