Lines Matching refs:Gep
493 Instruction *Gep) const;
952 Instruction *Gep) const { in makeGepsAvailable()
953 assert(allGepOperandsAvailable(Gep, HoistPt) && "GEP operands not available"); in makeGepsAvailable()
955 Instruction *ClonedGep = Gep->clone(); in makeGepsAvailable()
956 for (unsigned i = 0, e = Gep->getNumOperands(); i != e; ++i) in makeGepsAvailable()
957 if (Instruction *Op = dyn_cast<Instruction>(Gep->getOperand(i))) { in makeGepsAvailable()
988 Repl->replaceUsesOfWith(Gep, ClonedGep); in makeGepsAvailable()
1071 GetElementPtrInst *Gep = nullptr; in makeGepOperandsAvailable() local
1074 Gep = dyn_cast<GetElementPtrInst>(Ld->getPointerOperand()); in makeGepOperandsAvailable()
1076 Gep = dyn_cast<GetElementPtrInst>(St->getPointerOperand()); in makeGepOperandsAvailable()
1090 if (!Gep || !allGepOperandsAvailable(Gep, HoistPt)) in makeGepOperandsAvailable()
1093 makeGepsAvailable(Repl, HoistPt, InstructionsToHoist, Gep); in makeGepOperandsAvailable()