Searched refs:TrueC (Results 1 – 4 of 4) sorted by relevance
12788 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(LHS)) { in PerformSELECTCombine() local12796 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue()) && in PerformSELECTCombine()12802 std::swap(TrueC, FalseC); in PerformSELECTCombine()12807 TrueC->getAPIntValue().isPowerOf2()) { in PerformSELECTCombine()12815 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in PerformSELECTCombine()12821 if (FalseC->getAPIntValue()+1 == TrueC->getAPIntValue()) { in PerformSELECTCombine()12836 uint64_t Diff = TrueC->getZExtValue()-FalseC->getZExtValue(); in PerformSELECTCombine()12856 APInt Diff = TrueC->getAPIntValue()-FalseC->getAPIntValue(); in PerformSELECTCombine()12909 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(TrueOp)) { in PerformCMOVCombine() local12913 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in PerformCMOVCombine()[all …]
621 ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(True); in performSELECTCombine() local623 if (!TrueC || !True.getValueType().isInteger()) in performSELECTCombine()632 int64_t Diff = TrueC->getSExtValue() - FalseC->getSExtValue(); in performSELECTCombine()
26611 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(LHS)) { in combineSelect() local26619 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue()) && in combineSelect()26625 std::swap(TrueC, FalseC); in combineSelect()26630 TrueC->getAPIntValue().isPowerOf2()) { in combineSelect()26638 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in combineSelect()26644 if (FalseC->getAPIntValue()+1 == TrueC->getAPIntValue()) { in combineSelect()26659 uint64_t Diff = TrueC->getZExtValue()-FalseC->getZExtValue(); in combineSelect()26679 APInt Diff = TrueC->getAPIntValue()-FalseC->getAPIntValue(); in combineSelect()27222 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(TrueOp)) { in combineCMov() local27226 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in combineCMov()[all …]
2436 auto *TrueC = dyn_cast<ConstantSDNode>(TrueOp); in lowerSELECT_CC() local2438 if (TrueC && FalseC) { in lowerSELECT_CC()2439 int64_t TrueVal = TrueC->getSExtValue(); in lowerSELECT_CC()