Lines Matching defs:Inst2Replace
136 Instruction *Inst2Replace = nullptr;
148 Inst2Replace = nullptr;
153 bool isDefined() { return Inst2Replace != nullptr; }
159 OS << "Instruction to Replace: " << *(RU.Inst2Replace) << "\n";
499 ReuseCandidate.Inst2Replace = I;
522 Instruction *Inst2Replace = ReuseCandidate.Inst2Replace;
524 int NumOperands = Inst2Replace->getNumOperands();
533 Instruction *InstInPreheader = Inst2Replace->clone();
536 Instruction *I = dyn_cast<Instruction>(Inst2Replace->getOperand(j));
548 InstInPreheader->setName(Inst2Replace->getName() + ".hexagon.vlcr");
569 Inst2Replace->replaceAllUsesWith(NewPhi);
570 ReplacedInsts.insert(Inst2Replace);