Lines Matching refs:Carry
4317 static bool isAddCarryChain(SDValue Carry) { in isAddCarryChain() argument
4318 while (Carry.getOpcode() == ISD::UADDO_CARRY) in isAddCarryChain()
4319 Carry = Carry.getOperand(2); in isAddCarryChain()
4320 return Carry.getOpcode() == ISD::UADDO; in isAddCarryChain()
4323 static bool isSubBorrowChain(SDValue Carry) { in isSubBorrowChain() argument
4324 while (Carry.getOpcode() == ISD::USUBO_CARRY) in isSubBorrowChain()
4325 Carry = Carry.getOperand(2); in isSubBorrowChain()
4326 return Carry.getOpcode() == ISD::USUBO; in isSubBorrowChain()
4342 SDValue Carry = Op.getOperand(2); in lowerUADDSUBO_CARRY() local
4362 Carry = DAG.getNode(ISD::XOR, DL, Carry.getValueType(), in lowerUADDSUBO_CARRY()
4363 Carry, DAG.getConstant(1, DL, Carry.getValueType())); in lowerUADDSUBO_CARRY()
4364 Carry = DAG.getZExtOrTrunc(Carry, DL, MVT::i128); in lowerUADDSUBO_CARRY()
4365 SDValue Result = DAG.getNode(BaseOp, DL, MVT::i128, LHS, RHS, Carry); in lowerUADDSUBO_CARRY()
4366 SDValue Flag = DAG.getNode(FlagOp, DL, MVT::i128, LHS, RHS, Carry); in lowerUADDSUBO_CARRY()
4383 if (!isAddCarryChain(Carry)) in lowerUADDSUBO_CARRY()
4391 if (!isSubBorrowChain(Carry)) in lowerUADDSUBO_CARRY()
4401 Carry = DAG.getNode(SystemZISD::GET_CCMASK, DL, MVT::i32, Carry, in lowerUADDSUBO_CARRY()
4406 SDValue Result = DAG.getNode(BaseOp, DL, VTs, LHS, RHS, Carry); in lowerUADDSUBO_CARRY()