Lines Matching refs:Gep
478 Instruction *Gep) const;
909 Instruction *Gep) const { in makeGepsAvailable()
910 assert(allGepOperandsAvailable(Gep, HoistPt) && "GEP operands not available"); in makeGepsAvailable()
912 Instruction *ClonedGep = Gep->clone(); in makeGepsAvailable()
913 for (unsigned i = 0, e = Gep->getNumOperands(); i != e; ++i) in makeGepsAvailable()
914 if (Instruction *Op = dyn_cast<Instruction>(Gep->getOperand(i))) { in makeGepsAvailable()
946 if (OtherGep != Gep) { in makeGepsAvailable()
953 Repl->replaceUsesOfWith(Gep, ClonedGep); in makeGepsAvailable()
1036 GetElementPtrInst *Gep = nullptr; in makeGepOperandsAvailable() local
1039 Gep = dyn_cast<GetElementPtrInst>(Ld->getPointerOperand()); in makeGepOperandsAvailable()
1041 Gep = dyn_cast<GetElementPtrInst>(St->getPointerOperand()); in makeGepOperandsAvailable()
1055 if (!Gep || !allGepOperandsAvailable(Gep, HoistPt)) in makeGepOperandsAvailable()
1058 makeGepsAvailable(Repl, HoistPt, InstructionsToHoist, Gep); in makeGepOperandsAvailable()