Lines Matching refs:Gep
500 Instruction *Gep) const;
959 Instruction *Gep) const { in makeGepsAvailable()
960 assert(allGepOperandsAvailable(Gep, HoistPt) && "GEP operands not available"); in makeGepsAvailable()
962 Instruction *ClonedGep = Gep->clone(); in makeGepsAvailable()
963 for (unsigned i = 0, e = Gep->getNumOperands(); i != e; ++i) in makeGepsAvailable()
964 if (Instruction *Op = dyn_cast<Instruction>(Gep->getOperand(i))) { in makeGepsAvailable()
995 Repl->replaceUsesOfWith(Gep, ClonedGep); in makeGepsAvailable()
1078 GetElementPtrInst *Gep = nullptr; in makeGepOperandsAvailable() local
1081 Gep = dyn_cast<GetElementPtrInst>(Ld->getPointerOperand()); in makeGepOperandsAvailable()
1083 Gep = dyn_cast<GetElementPtrInst>(St->getPointerOperand()); in makeGepOperandsAvailable()
1097 if (!Gep || !allGepOperandsAvailable(Gep, HoistPt)) in makeGepOperandsAvailable()
1100 makeGepsAvailable(Repl, HoistPt, InstructionsToHoist, Gep); in makeGepOperandsAvailable()