Lines Matching refs:Gep
490 Instruction *Gep) const;
921 Instruction *Gep) const { in makeGepsAvailable()
922 assert(allGepOperandsAvailable(Gep, HoistPt) && "GEP operands not available"); in makeGepsAvailable()
924 Instruction *ClonedGep = Gep->clone(); in makeGepsAvailable()
925 for (unsigned i = 0, e = Gep->getNumOperands(); i != e; ++i) in makeGepsAvailable()
926 if (Instruction *Op = dyn_cast<Instruction>(Gep->getOperand(i))) { in makeGepsAvailable()
957 Repl->replaceUsesOfWith(Gep, ClonedGep); in makeGepsAvailable()
1040 GetElementPtrInst *Gep = nullptr; in makeGepOperandsAvailable() local
1043 Gep = dyn_cast<GetElementPtrInst>(Ld->getPointerOperand()); in makeGepOperandsAvailable()
1045 Gep = dyn_cast<GetElementPtrInst>(St->getPointerOperand()); in makeGepOperandsAvailable()
1059 if (!Gep || !allGepOperandsAvailable(Gep, HoistPt)) in makeGepOperandsAvailable()
1062 makeGepsAvailable(Repl, HoistPt, InstructionsToHoist, Gep); in makeGepOperandsAvailable()