Home
last modified time | relevance | path

Searched refs:OtherPtr (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DScalarReplAggregates.cpp2021 Value *OtherPtr = 0; in RewriteMemIntrinUserOfAlloca() local
2025 OtherPtr = MTI->getRawSource(); in RewriteMemIntrinUserOfAlloca()
2028 OtherPtr = MTI->getRawDest(); in RewriteMemIntrinUserOfAlloca()
2034 if (OtherPtr) { in RewriteMemIntrinUserOfAlloca()
2036 cast<PointerType>(OtherPtr->getType())->getAddressSpace(); in RewriteMemIntrinUserOfAlloca()
2044 OtherPtr = OtherPtr->stripPointerCasts(); in RewriteMemIntrinUserOfAlloca()
2047 if (OtherPtr == AI || OtherPtr == NewElts[0]) { in RewriteMemIntrinUserOfAlloca()
2062 if (OtherPtr->getType() != NewTy) in RewriteMemIntrinUserOfAlloca()
2063 OtherPtr = new BitCastInst(OtherPtr, NewTy, OtherPtr->getName(), MI); in RewriteMemIntrinUserOfAlloca()
2076 if (OtherPtr) { in RewriteMemIntrinUserOfAlloca()
[all …]
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2769 Value *OtherPtr = IsDest ? II.getRawSource() : II.getRawDest(); in visitMemTransferInst() local
2771 dyn_cast<AllocaInst>(OtherPtr->stripInBoundsOffsets())) { in visitMemTransferInst()
2777 Type *OtherPtrTy = OtherPtr->getType(); in visitMemTransferInst()
2789 OtherPtr = getAdjustedPtr(IRB, DL, OtherPtr, OtherOffset, OtherPtrTy, in visitMemTransferInst()
2790 OtherPtr->getName() + "."); in visitMemTransferInst()
2797 IsDest ? OurPtr : OtherPtr, IsDest ? OtherPtr : OurPtr, Size, in visitMemTransferInst()
2828 Value *SrcPtr = getAdjustedPtr(IRB, DL, OtherPtr, OtherOffset, OtherPtrTy, in visitMemTransferInst()
2829 OtherPtr->getName() + "."); in visitMemTransferInst()