Lines Matching refs:TrueVal
4976 SDValue TrueVal, SDValue ARMcc, SDValue CCR, in getCMOV() argument
4981 TrueVal = DAG.getNode(ARMISD::VMOVRRD, dl, in getCMOV()
4982 DAG.getVTList(MVT::i32, MVT::i32), TrueVal); in getCMOV()
4984 SDValue TrueLow = TrueVal.getValue(0); in getCMOV()
4985 SDValue TrueHigh = TrueVal.getValue(1); in getCMOV()
4996 return DAG.getNode(ARMISD::CMOV, dl, VT, FalseVal, TrueVal, ARMcc, CCR, in getCMOV()
5016 const SDValue TrueVal, const SDValue FalseVal, in isLowerSaturate() argument
5019 ((K == LHS && K == TrueVal) || (K == RHS && K == FalseVal))) || in isLowerSaturate()
5021 ((K == RHS && K == TrueVal) || (K == LHS && K == FalseVal))); in isLowerSaturate()
5125 SDValue TrueVal = Op.getOperand(2); in isLowerSaturatingConditional() local
5136 SDValue KTmp = isa<ConstantSDNode>(TrueVal) ? TrueVal : FalseVal; in isLowerSaturatingConditional()
5137 V = (KTmp == TrueVal) ? FalseVal : TrueVal; in isLowerSaturatingConditional()
5145 if (isLowerSaturate(LHS, RHS, TrueVal, FalseVal, CC, *K)) { in isLowerSaturatingConditional()
5203 SDValue TrueVal = Op.getOperand(2); in LowerSELECT_CC() local
5206 ConstantSDNode *CTVal = dyn_cast<ConstantSDNode>(TrueVal); in LowerSELECT_CC()
5222 std::swap(TrueVal, FalseVal); in LowerSELECT_CC()
5232 std::swap(TrueVal, FalseVal); in LowerSELECT_CC()
5241 std::swap(TrueVal, FalseVal); in LowerSELECT_CC()
5246 TrueVal = DAG.getRegister(ARM::ZR, MVT::i32); in LowerSELECT_CC()
5249 FalseVal = TrueVal; in LowerSELECT_CC()
5253 EVT VT = TrueVal.getValueType(); in LowerSELECT_CC()
5254 return DAG.getNode(Opcode, dl, VT, TrueVal, FalseVal, ARMcc, Cmp); in LowerSELECT_CC()
5281 if (Subtarget->hasFPARMv8Base() && (TrueVal.getValueType() == MVT::f16 || in LowerSELECT_CC()
5282 TrueVal.getValueType() == MVT::f32 || in LowerSELECT_CC()
5283 TrueVal.getValueType() == MVT::f64)) { in LowerSELECT_CC()
5288 std::swap(TrueVal, FalseVal); in LowerSELECT_CC()
5298 return getCMOV(dl, VT, FalseVal, TrueVal, ARMcc, CCR, Cmp, DAG); in LowerSELECT_CC()
5309 !(isFloatingPointZero(RHS) && TrueVal.getValueType() != MVT::f16) && in LowerSELECT_CC()
5310 (TrueVal.getValueType() == MVT::f16 || in LowerSELECT_CC()
5311 TrueVal.getValueType() == MVT::f32 || in LowerSELECT_CC()
5312 TrueVal.getValueType() == MVT::f64)) { in LowerSELECT_CC()
5322 std::swap(TrueVal, FalseVal); in LowerSELECT_CC()
5329 SDValue Result = getCMOV(dl, VT, FalseVal, TrueVal, ARMcc, CCR, Cmp, DAG); in LowerSELECT_CC()
5334 Result = getCMOV(dl, VT, Result, TrueVal, ARMcc2, CCR, Cmp2, DAG); in LowerSELECT_CC()
11513 SDValue TrueVal = OtherOp; in combineSelectAndUse() local
11518 std::swap(TrueVal, FalseVal); in combineSelectAndUse()
11521 CCOp, TrueVal, FalseVal); in combineSelectAndUse()
12128 SDValue TrueVal; in PerformSELECTCombine() local
12137 TrueVal = N->getOperand(1); in PerformSELECTCombine()
12143 TrueVal = N->getOperand(2); in PerformSELECTCombine()
12150 if ((TrueVal->getOpcode() == ISD::VECREDUCE_UMIN || in PerformSELECTCombine()
12155 std::swap(TrueVal, FalseVal); in PerformSELECTCombine()
12156 } else if ((TrueVal->getOpcode() == ISD::VECREDUCE_SMIN || in PerformSELECTCombine()
12161 std::swap(TrueVal, FalseVal); in PerformSELECTCombine()
12162 } else if ((TrueVal->getOpcode() == ISD::VECREDUCE_UMAX || in PerformSELECTCombine()
12167 std::swap(TrueVal, FalseVal); in PerformSELECTCombine()
12168 } else if ((TrueVal->getOpcode() == ISD::VECREDUCE_SMAX || in PerformSELECTCombine()
12173 std::swap(TrueVal, FalseVal); in PerformSELECTCombine()
12178 switch (TrueVal->getOpcode()) { in PerformSELECTCombine()
12184 std::swap(TrueVal, FalseVal); in PerformSELECTCombine()
12197 if (TrueVal != LHS || FalseVal != RHS) in PerformSELECTCombine()
16088 SDValue TrueVal = N->getOperand(1); in PerformCMOVCombine() local
16119 Res = DAG.getNode(ARMISD::CMOV, dl, VT, LHS, TrueVal, ARMcc, in PerformCMOVCombine()
16121 } else if (CC == ARMCC::EQ && TrueVal == RHS) { in PerformCMOVCombine()
16137 return DAG.getNode(ARMISD::CMOV, dl, VT, FalseVal, TrueVal, in PerformCMOVCombine()
16148 if (CC == ARMCC::EQ && isOneConstant(TrueVal)) { in PerformCMOVCombine()
16177 (!Subtarget->isThumb1Only() || isPowerOf2Constant(TrueVal))) { in PerformCMOVCombine()
16184 Res = DAG.getNode(ARMISD::CMOV, dl, VT, Sub, TrueVal, ARMcc, in PerformCMOVCombine()
16188 } else if (isNullConstant(TrueVal)) { in PerformCMOVCombine()
16223 (TrueConst = isPowerOf2Constant(TrueVal))) { in PerformCMOVCombine()
16227 TrueVal = DAG.getConstant(1, dl, VT); in PerformCMOVCombine()
16228 SDValue Subc = DAG.getNode(ISD::USUBO, dl, VTs, FalseVal, TrueVal); in PerformCMOVCombine()