Lines Matching defs:AccRecInstr
448 void insertAccumulator(Instruction *AccRecInstr);
566 void TailRecursionEliminator::insertAccumulator(Instruction *AccRecInstr) {
569 AccumulatorRecursionInstr = AccRecInstr;
587 ConstantExpr::getIdentity(AccRecInstr, AccRecInstr->getType());
652 Instruction *AccRecInstr = nullptr;
667 AccRecInstr = &*BBI;
706 if (AccRecInstr) {
707 insertAccumulator(AccRecInstr);
712 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN);
717 if (Ret->getReturnValue() == CI || AccRecInstr) {
735 AccPN->addIncoming(AccRecInstr ? AccRecInstr : AccPN, BB);
777 Instruction *AccRecInstr = AccumulatorRecursionInstr;
783 Instruction *AccRecInstrNew = AccRecInstr->clone();
785 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN,
810 Instruction *AccRecInstr = AccumulatorRecursionInstr;
812 Instruction *AccRecInstrNew = AccRecInstr->clone();
814 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN,