Lines Matching refs:CTVal
1413 ConstantSDNode *CTVal = dyn_cast<ConstantSDNode>(TVal); in LowerXOR() local
1416 if (!CFVal || !CTVal) in LowerXOR()
1421 if (CTVal->isAllOnesValue() && CFVal->isNullValue()) { in LowerXOR()
1423 std::swap(CTVal, CFVal); in LowerXOR()
1428 if (CTVal->isNullValue() && CFVal->isAllOnesValue()) { in LowerXOR()
3598 ConstantSDNode *CTVal = dyn_cast<ConstantSDNode>(TVal); in LowerSELECT_CC() local
3600 if (CTVal && CFVal && CTVal->isAllOnesValue() && CFVal->isNullValue()) { in LowerSELECT_CC()
3602 std::swap(CTVal, CFVal); in LowerSELECT_CC()
3604 } else if (CTVal && CFVal && CTVal->isOne() && CFVal->isNullValue()) { in LowerSELECT_CC()
3606 std::swap(CTVal, CFVal); in LowerSELECT_CC()
3615 std::swap(CTVal, CFVal); in LowerSELECT_CC()
3625 std::swap(CTVal, CFVal); in LowerSELECT_CC()
3628 } else if (CTVal && CFVal) { in LowerSELECT_CC()
3629 const int64_t TrueVal = CTVal->getSExtValue(); in LowerSELECT_CC()
3646 const uint32_t TrueVal32 = CTVal->getZExtValue(); in LowerSELECT_CC()
3668 std::swap(CTVal, CFVal); in LowerSELECT_CC()