Lines Matching refs:Carry
4342 static bool isAddCarryChain(SDValue Carry) { in isAddCarryChain() argument
4343 while (Carry.getOpcode() == ISD::UADDO_CARRY) in isAddCarryChain()
4344 Carry = Carry.getOperand(2); in isAddCarryChain()
4345 return Carry.getOpcode() == ISD::UADDO; in isAddCarryChain()
4348 static bool isSubBorrowChain(SDValue Carry) { in isSubBorrowChain() argument
4349 while (Carry.getOpcode() == ISD::USUBO_CARRY) in isSubBorrowChain()
4350 Carry = Carry.getOperand(2); in isSubBorrowChain()
4351 return Carry.getOpcode() == ISD::USUBO; in isSubBorrowChain()
4367 SDValue Carry = Op.getOperand(2); in lowerUADDSUBO_CARRY() local
4387 Carry = DAG.getNode(ISD::XOR, DL, Carry.getValueType(), in lowerUADDSUBO_CARRY()
4388 Carry, DAG.getConstant(1, DL, Carry.getValueType())); in lowerUADDSUBO_CARRY()
4389 Carry = DAG.getZExtOrTrunc(Carry, DL, MVT::i128); in lowerUADDSUBO_CARRY()
4390 SDValue Result = DAG.getNode(BaseOp, DL, MVT::i128, LHS, RHS, Carry); in lowerUADDSUBO_CARRY()
4391 SDValue Flag = DAG.getNode(FlagOp, DL, MVT::i128, LHS, RHS, Carry); in lowerUADDSUBO_CARRY()
4408 if (!isAddCarryChain(Carry)) in lowerUADDSUBO_CARRY()
4416 if (!isSubBorrowChain(Carry)) in lowerUADDSUBO_CARRY()
4426 Carry = DAG.getNode(SystemZISD::GET_CCMASK, DL, MVT::i32, Carry, in lowerUADDSUBO_CARRY()
4431 SDValue Result = DAG.getNode(BaseOp, DL, VTs, LHS, RHS, Carry); in lowerUADDSUBO_CARRY()