Lines Matching defs:Carry0
3473 SDValue Carry0, SDValue Carry1,
3475 if (Carry1.getResNo() != 1 || Carry0.getResNo() != 1)
3486 if (Carry0.getOpcode() == ISD::UADDO_CARRY &&
3487 isNullConstant(Carry0.getOperand(1))) {
3488 Z = Carry0.getOperand(2);
3489 } else if (Carry0.getOpcode() == ISD::UADDO &&
3490 isOneConstant(Carry0.getOperand(1))) {
3491 EVT VT = Carry0->getValueType(1);
3492 Z = DAG.getConstant(1, SDLoc(Carry0.getOperand(1)), VT);
3502 DAG.getNode(ISD::UADDO_CARRY, DL, Carry0->getVTList(), A, B, Z);
3516 if (Carry0.getOperand(0) == Carry1.getValue(0)) {
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));
3566 SDValue Carry0 = getAsCarry(TLI, N0);
3567 if (!Carry0)
3573 unsigned Opcode = Carry0.getOpcode();
3580 if (CarryOutType != Carry0.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;
3602 if (!TLI.isOperationLegalOrCustom(NewOp, Carry0.getValue(0).getValueType()))
3614 DAG.getNode(NewOp, DL, Carry1->getVTList(), Carry0.getOperand(0),
3615 Carry0.getOperand(1), CarryIn);