Searched refs:StrippedPtr (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | Loads.cpp | 350 Value *StrippedPtr = Ptr->stripPointerCasts(); in FindAvailablePtrLoadStore() local 375 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) && in FindAvailablePtrLoadStore() 393 if (AreEquivalentAddressValues(StorePtr, StrippedPtr) && in FindAvailablePtrLoadStore() 410 if ((isa<AllocaInst>(StrippedPtr) || isa<GlobalVariable>(StrippedPtr)) && in FindAvailablePtrLoadStore() 412 StrippedPtr != StorePtr) in FindAvailablePtrLoadStore() 417 if (AA && !isModSet(AA->getModRefInfo(SI, StrippedPtr, AccessSize))) in FindAvailablePtrLoadStore() 429 if (AA && !isModSet(AA->getModRefInfo(Inst, StrippedPtr, AccessSize))) in FindAvailablePtrLoadStore()
|
/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1765 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() local 1766 PointerType *StrippedPtrTy = cast<PointerType>(StrippedPtr->getType()); in visitGetElementPtrInst() 1768 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 1787 StrippedPtrTy->getElementType(), StrippedPtr, Idx, GEP.getName()); in visitGetElementPtrInst() 1809 GEP.setOperand(0, StrippedPtr); in visitGetElementPtrInst() 1825 nullptr, StrippedPtr, Idx, GEP.getName()) in visitGetElementPtrInst() 1826 : Builder.CreateGEP(nullptr, StrippedPtr, Idx, in visitGetElementPtrInst() 1844 ? Builder.CreateInBoundsGEP(nullptr, StrippedPtr, Idx, in visitGetElementPtrInst() 1846 : Builder.CreateGEP(nullptr, StrippedPtr, Idx, GEP.getName()); in visitGetElementPtrInst() 1879 ? Builder.CreateInBoundsGEP(nullptr, StrippedPtr, NewIdx, in visitGetElementPtrInst() [all …]
|