Lines Matching defs:Carry1
3473 SDValue Carry0, SDValue Carry1,
3475 if (Carry1.getResNo() != 1 || Carry0.getResNo() != 1)
3477 if (Carry1.getOpcode() != ISD::UADDO)
3516 if (Carry0.getOperand(0) == Carry1.getValue(0)) {
3517 return cancelDiamond(Carry1.getOperand(0), Carry1.getOperand(1));
3527 if (Carry1.getOperand(0) == Carry0.getValue(0)) {
3528 return cancelDiamond(Carry0.getOperand(0), Carry1.getOperand(1));
3531 if (Carry1.getOperand(1) == Carry0.getValue(0)) {
3532 return cancelDiamond(Carry1.getOperand(0), Carry0.getOperand(0));
3569 SDValue Carry1 = getAsCarry(TLI, N1);
3570 if (!Carry1)
3574 if (Opcode != Carry1.getOpcode())
3581 CarryOutType != Carry1.getValue(1).getValueType())
3585 // as Carry0 and the add/sub of the carry in as Carry1 (the middle node).
3586 if (Carry1.getNode()->isOperandOf(Carry0.getNode()))
3587 std::swap(Carry0, Carry1);
3590 if (Carry1.getOperand(0) != Carry0.getValue(0) &&
3591 Carry1.getOperand(1) != Carry0.getValue(0))
3596 Carry1.getOperand(0) == Carry0.getValue(0) ? 1 : 0;
3599 SDValue CarryIn = Carry1.getOperand(CarryInOperandNum);
3611 CarryIn = DAG.getBoolExtOrTrunc(CarryIn, DL, Carry1->getValueType(1),
3612 Carry1->getValueType(0));
3614 DAG.getNode(NewOp, DL, Carry1->getVTList(), Carry0.getOperand(0),
3630 DAG.ReplaceAllUsesOfValueWith(Carry1.getValue(0), Merged.getValue(0));