Lines Matching refs:GEP
662 auto CheckGEP = [&](GetElementPtrInst *GEP, Value *GEPOperand) { in checkOverflow() argument
663 for (Value *GEPUser : GEP->users()) { in checkOverflow()
666 !(isa<StoreInst>(GEPUserInst) && GEP == GEPUserInst->getOperand(1))) in checkOverflow()
674 if (GEP->isInBounds() && in checkOverflow()
676 DL.getPointerTypeSizeInBits(GEP->getType())) { in checkOverflow()
679 GEP->dump()); in checkOverflow()
689 if (auto *GEP = dyn_cast<GetElementPtrInst>(V)) in checkOverflow() local
690 if (GEP->getNumIndices() == 1 && CheckGEP(GEP, GEP->getOperand(1))) in checkOverflow()
693 if (auto *GEP = dyn_cast<GetElementPtrInst>(U)) in checkOverflow() local
694 if (CheckGEP(GEP, V)) in checkOverflow()
805 if (auto *GEP = dyn_cast<GetElementPtrInst>(V)) { in DoFlattenLoopPair() local
807 auto *InnerGEP = cast<GetElementPtrInst>(GEP->getOperand(0)); in DoFlattenLoopPair()
814 Builder.CreateGEP(GEP->getSourceElementType(), Base, OuterValue, in DoFlattenLoopPair()
816 GEP->isInBounds() && InnerGEP->isInBounds()); in DoFlattenLoopPair()