Lines Matching refs:GEP
655 auto CheckGEP = [&](GetElementPtrInst *GEP, Value *GEPOperand) { in checkOverflow() argument
656 for (Value *GEPUser : GEP->users()) { in checkOverflow()
659 !(isa<StoreInst>(GEPUserInst) && GEP == GEPUserInst->getOperand(1))) in checkOverflow()
667 if (GEP->isInBounds() && in checkOverflow()
669 DL.getPointerTypeSizeInBits(GEP->getType())) { in checkOverflow()
672 GEP->dump()); in checkOverflow()
682 if (auto *GEP = dyn_cast<GetElementPtrInst>(V)) in checkOverflow() local
683 if (GEP->getNumIndices() == 1 && CheckGEP(GEP, GEP->getOperand(1))) in checkOverflow()
686 if (auto *GEP = dyn_cast<GetElementPtrInst>(U)) in checkOverflow() local
687 if (CheckGEP(GEP, V)) in checkOverflow()
794 if (auto *GEP = dyn_cast<GetElementPtrInst>(V)) { in DoFlattenLoopPair() local
796 auto *InnerGEP = cast<GetElementPtrInst>(GEP->getOperand(0)); in DoFlattenLoopPair()
802 OuterValue = Builder.CreateGEP(GEP->getSourceElementType(), Base, in DoFlattenLoopPair()