Searched defs:StrippedPtr (Results 1 - 2 of 2) sorted by relevance

/external/llvm/lib/Analysis/
H A DLoads.cpp210 Value *StrippedPtr = Ptr->stripPointerCasts(); local
232 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) &&
244 if (AreEquivalentAddressValues(StorePtr, StrippedPtr) &&
252 // If both StrippedPtr and StorePtr reach all the way to an alloca or
255 if ((isa<AllocaInst>(StrippedPtr) || isa<GlobalVariable>(StrippedPtr)) &&
257 StrippedPtr != StorePtr)
262 if (AA && (AA->getModRefInfo(SI, StrippedPtr, AccessSize) & MRI_Mod) == 0)
275 (AA->getModRefInfo(Inst, StrippedPtr, AccessSize) & MRI_Mod) == 0)
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1612 Value *StrippedPtr = PtrOp->stripPointerCasts(); local
1613 PointerType *StrippedPtrTy = dyn_cast<PointerType>(StrippedPtr->getType());
1619 if (StrippedPtr != PtrOp) {
1640 StrippedPtrTy->getElementType(), StrippedPtr, Idx, GEP.getName());
1663 GEP.setOperand(0, StrippedPtr);
1667 // Cannot replace the base pointer directly because StrippedPtr's
1679 nullptr, StrippedPtr, Idx, GEP.getName())
1680 : Builder->CreateGEP(nullptr, StrippedPtr, Idx,
1699 ? Builder->CreateInBoundsGEP(nullptr, StrippedPtr, Idx,
1701 : Builder->CreateGEP(nullptr, StrippedPtr, Id
[all...]

Completed in 102 milliseconds