Home
last modified time | relevance | path

Searched refs:OtherPtr (Results 1 – 3 of 3) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp2890 Value *OtherPtr = IsDest ? II.getRawSource() : II.getRawDest(); in visitMemTransferInst() local
2892 dyn_cast<AllocaInst>(OtherPtr->stripInBoundsOffsets())) { in visitMemTransferInst()
2898 Type *OtherPtrTy = OtherPtr->getType(); in visitMemTransferInst()
2912 OtherPtr = getAdjustedPtr(IRB, DL, OtherPtr, OtherOffset, OtherPtrTy, in visitMemTransferInst()
2913 OtherPtr->getName() + "."); in visitMemTransferInst()
2925 SrcPtr = OtherPtr; in visitMemTransferInst()
2928 DestPtr = OtherPtr; in visitMemTransferInst()
2965 Value *SrcPtr = getAdjustedPtr(IRB, DL, OtherPtr, OtherOffset, OtherPtrTy, in visitMemTransferInst()
2966 OtherPtr->getName() + "."); in visitMemTransferInst()
/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()