Lines Matching defs:Carry1
3465 SDValue Carry0, SDValue Carry1,
3467 if (Carry1.getResNo() != 1 || Carry0.getResNo() != 1)
3469 if (Carry1.getOpcode() != ISD::UADDO)
3508 if (Carry0.getOperand(0) == Carry1.getValue(0)) {
3509 return cancelDiamond(Carry1.getOperand(0), Carry1.getOperand(1));
3519 if (Carry1.getOperand(0) == Carry0.getValue(0)) {
3520 return cancelDiamond(Carry0.getOperand(0), Carry1.getOperand(1));
3523 if (Carry1.getOperand(1) == Carry0.getValue(0)) {
3524 return cancelDiamond(Carry1.getOperand(0), Carry0.getOperand(0));
3561 SDValue Carry1 = getAsCarry(TLI, N1);
3562 if (!Carry1)
3566 if (Opcode != Carry1.getOpcode())
3573 CarryOutType != Carry1.getValue(1).getValueType())
3577 // as Carry0 and the add/sub of the carry in as Carry1 (the middle node).
3578 if (Carry1.getNode()->isOperandOf(Carry0.getNode()))
3579 std::swap(Carry0, Carry1);
3582 if (Carry1.getOperand(0) != Carry0.getValue(0) &&
3583 Carry1.getOperand(1) != Carry0.getValue(0))
3588 Carry1.getOperand(0) == Carry0.getValue(0) ? 1 : 0;
3591 SDValue CarryIn = Carry1.getOperand(CarryInOperandNum);
3603 CarryIn = DAG.getBoolExtOrTrunc(CarryIn, DL, Carry1->getValueType(1),
3604 Carry1->getValueType(0));
3606 DAG.getNode(NewOp, DL, Carry1->getVTList(), Carry0.getOperand(0),
3622 DAG.ReplaceAllUsesOfValueWith(Carry1.getValue(0), Merged.getValue(0));