Searched refs:StrippedPtr (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Analysis/ |
D | Loads.cpp | 210 Value *StrippedPtr = Ptr->stripPointerCasts(); in FindAvailableLoadedValue() local 232 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) && in FindAvailableLoadedValue() 244 if (AreEquivalentAddressValues(StorePtr, StrippedPtr) && in FindAvailableLoadedValue() 255 if ((isa<AllocaInst>(StrippedPtr) || isa<GlobalVariable>(StrippedPtr)) && in FindAvailableLoadedValue() 257 StrippedPtr != StorePtr) in FindAvailableLoadedValue() 262 if (AA && (AA->getModRefInfo(SI, StrippedPtr, AccessSize) & MRI_Mod) == 0) in FindAvailableLoadedValue() 275 (AA->getModRefInfo(Inst, StrippedPtr, AccessSize) & MRI_Mod) == 0) in FindAvailableLoadedValue()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1612 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() local 1613 PointerType *StrippedPtrTy = dyn_cast<PointerType>(StrippedPtr->getType()); in visitGetElementPtrInst() 1619 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 1640 StrippedPtrTy->getElementType(), StrippedPtr, Idx, GEP.getName()); in visitGetElementPtrInst() 1663 GEP.setOperand(0, StrippedPtr); in visitGetElementPtrInst() 1679 nullptr, StrippedPtr, Idx, GEP.getName()) in visitGetElementPtrInst() 1680 : Builder->CreateGEP(nullptr, StrippedPtr, Idx, in visitGetElementPtrInst() 1699 ? Builder->CreateInBoundsGEP(nullptr, StrippedPtr, Idx, in visitGetElementPtrInst() 1701 : Builder->CreateGEP(nullptr, StrippedPtr, Idx, GEP.getName()); in visitGetElementPtrInst() 1734 ? Builder->CreateInBoundsGEP(nullptr, StrippedPtr, NewIdx, in visitGetElementPtrInst() [all …]
|