Lines Matching refs:TrueC
24137 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(LHS)) { in PerformSELECTCombine() local
24145 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue()) && in PerformSELECTCombine()
24151 std::swap(TrueC, FalseC); in PerformSELECTCombine()
24156 TrueC->getAPIntValue().isPowerOf2()) { in PerformSELECTCombine()
24164 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in PerformSELECTCombine()
24170 if (FalseC->getAPIntValue()+1 == TrueC->getAPIntValue()) { in PerformSELECTCombine()
24185 uint64_t Diff = TrueC->getZExtValue()-FalseC->getZExtValue(); in PerformSELECTCombine()
24205 APInt Diff = TrueC->getAPIntValue()-FalseC->getAPIntValue(); in PerformSELECTCombine()
24690 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(TrueOp)) { in PerformCMOVCombine() local
24694 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in PerformCMOVCombine()
24696 std::swap(TrueC, FalseC); in PerformCMOVCombine()
24703 if (FalseC->getAPIntValue() == 0 && TrueC->getAPIntValue().isPowerOf2()) { in PerformCMOVCombine()
24708 Cond = DAG.getNode(ISD::ZERO_EXTEND, DL, TrueC->getValueType(0), Cond); in PerformCMOVCombine()
24710 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in PerformCMOVCombine()
24720 if (FalseC->getAPIntValue()+1 == TrueC->getAPIntValue()) { in PerformCMOVCombine()
24738 uint64_t Diff = TrueC->getZExtValue()-FalseC->getZExtValue(); in PerformCMOVCombine()
24758 APInt Diff = TrueC->getAPIntValue()-FalseC->getAPIntValue(); in PerformCMOVCombine()