Lines Matching defs:AccRecInstr
442 void insertAccumulator(Instruction *AccRecInstr);
560 void TailRecursionEliminator::insertAccumulator(Instruction *AccRecInstr) {
563 AccumulatorRecursionInstr = AccRecInstr;
581 ConstantExpr::getIdentity(AccRecInstr, AccRecInstr->getType());
646 Instruction *AccRecInstr = nullptr;
661 AccRecInstr = &*BBI;
700 if (AccRecInstr) {
701 insertAccumulator(AccRecInstr);
706 AccRecInstr->setOperand(AccRecInstr->getOperand(0) != CI, AccPN);
711 if (Ret->getReturnValue() == CI || AccRecInstr) {
729 AccPN->addIncoming(AccRecInstr ? AccRecInstr : AccPN, BB);
771 Instruction *AccRecInstr = AccumulatorRecursionInstr;
777 Instruction *AccRecInstrNew = AccRecInstr->clone();
779 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN,
804 Instruction *AccRecInstr = AccumulatorRecursionInstr;
806 Instruction *AccRecInstrNew = AccRecInstr->clone();
808 AccRecInstrNew->setOperand(AccRecInstr->getOperand(0) == AccPN,