Lines Matching refs:GetElementPtrInst
178 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I)) { in IsSafeComputationToRemove()
328 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(U)) { in CleanupConstantGlobalUsers()
424 return isa<GetElementPtrInst>(I) && isSafeSROAGEP(I); in isSafeSROAElementUse()
432 if (!isa<GetElementPtrInst>(U) && in GlobalUsersSafeToSRA()
523 isa<GetElementPtrInst>(GEP)) && in SRAGlobal()
600 isa<GetElementPtrInst>(GEP)) && "NonGEP CE's are not SRAable!"); in SRAGlobal()
621 GetElementPtrInst *GEPI = cast<GetElementPtrInst>(GEP); in SRAGlobal()
626 NewPtr = GetElementPtrInst::Create( in SRAGlobal()
650 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(GEP)) in SRAGlobal()
695 } else if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) { in AllUsesOfValueWillTrapIfNull()
782 } else if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(I)) { in OptimizeAwayTrappingUsesOfValue()
843 isa<GetElementPtrInst>(GlobalUser)) && in OptimizeAwayTrappingUsesOfLoads()