Lines Matching refs:GetElementPtrInst
247 if (isa<GetElementPtrInst>(U.getUser())) in collectAllocaUses()
265 if (isa<GetElementPtrInst>(Inst)) in sortAllocasToPromote()
387 Value *Ptr, const std::map<GetElementPtrInst *, WeakTrackingVH> &GEPIdx) { in calculateVectorIndex() argument
388 auto *GEP = dyn_cast<GetElementPtrInst>(Ptr->stripPointerCasts()); in calculateVectorIndex()
400 static Value *GEPToVectorIndex(GetElementPtrInst *GEP, AllocaInst *Alloca, in GEPToVectorIndex()
427 while (auto *CurGEP = dyn_cast<GetElementPtrInst>(CurPtr)) { in GEPToVectorIndex()
499 std::map<GetElementPtrInst *, WeakTrackingVH> &GEPVectorIdx, Value *CurVal, in promoteAllocaUserToVector() argument
846 std::map<GetElementPtrInst *, WeakTrackingVH> GEPVectorIdx; in tryPromoteAllocaToVector()
911 if (auto *GEP = dyn_cast<GetElementPtrInst>(Inst)) { in tryPromoteAllocaToVector()
944 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr); in tryPromoteAllocaToVector()
1303 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UseInst)) { in collectUsesWithPtrTypes()