Searched refs:StrippedPtr (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/Analysis/ |
D | Loads.cpp | 329 Value *StrippedPtr = Ptr->stripPointerCasts(); in FindAvailableLoadedValue() local 351 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) && in FindAvailableLoadedValue() 371 if (AreEquivalentAddressValues(StorePtr, StrippedPtr) && in FindAvailableLoadedValue() 388 if ((isa<AllocaInst>(StrippedPtr) || isa<GlobalVariable>(StrippedPtr)) && in FindAvailableLoadedValue() 390 StrippedPtr != StorePtr) in FindAvailableLoadedValue() 395 if (AA && (AA->getModRefInfo(SI, StrippedPtr, AccessSize) & MRI_Mod) == 0) in FindAvailableLoadedValue() 408 (AA->getModRefInfo(Inst, StrippedPtr, AccessSize) & MRI_Mod) == 0) in FindAvailableLoadedValue()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1608 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() local 1609 PointerType *StrippedPtrTy = dyn_cast<PointerType>(StrippedPtr->getType()); in visitGetElementPtrInst() 1615 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 1635 StrippedPtrTy->getElementType(), StrippedPtr, Idx, GEP.getName()); in visitGetElementPtrInst() 1658 GEP.setOperand(0, StrippedPtr); in visitGetElementPtrInst() 1674 nullptr, StrippedPtr, Idx, GEP.getName()) in visitGetElementPtrInst() 1675 : Builder->CreateGEP(nullptr, StrippedPtr, Idx, in visitGetElementPtrInst() 1694 ? Builder->CreateInBoundsGEP(nullptr, StrippedPtr, Idx, in visitGetElementPtrInst() 1696 : Builder->CreateGEP(nullptr, StrippedPtr, Idx, GEP.getName()); in visitGetElementPtrInst() 1729 ? Builder->CreateInBoundsGEP(nullptr, StrippedPtr, NewIdx, in visitGetElementPtrInst() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 911 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() local 912 PointerType *StrippedPtrTy =cast<PointerType>(StrippedPtr->getType()); in visitGetElementPtrInst() 913 if (StrippedPtr != PtrOp && in visitGetElementPtrInst() 936 GetElementPtrInst::Create(StrippedPtr, Idx, GEP.getName()); in visitGetElementPtrInst() 950 GEP.setOperand(0, StrippedPtr); in visitGetElementPtrInst() 968 Builder->CreateInBoundsGEP(StrippedPtr, Idx, GEP.getName()) : in visitGetElementPtrInst() 969 Builder->CreateGEP(StrippedPtr, Idx, GEP.getName()); in visitGetElementPtrInst() 1027 Builder->CreateInBoundsGEP(StrippedPtr, Idx, GEP.getName()): in visitGetElementPtrInst() 1028 Builder->CreateGEP(StrippedPtr, Idx, GEP.getName()); in visitGetElementPtrInst()
|