Lines Matching refs:CTVal
1765 ConstantSDNode *CTVal = dyn_cast<ConstantSDNode>(TVal); in LowerXOR() local
1768 if (!CFVal || !CTVal) in LowerXOR()
1773 if (CTVal->isAllOnesValue() && CFVal->isNullValue()) { in LowerXOR()
1775 std::swap(CTVal, CFVal); in LowerXOR()
1780 if (CTVal->isNullValue() && CFVal->isAllOnesValue()) { in LowerXOR()
3957 ConstantSDNode *CTVal = dyn_cast<ConstantSDNode>(TVal); in LowerSELECT_CC() local
3959 if (CTVal && CFVal && CTVal->isAllOnesValue() && CFVal->isNullValue()) { in LowerSELECT_CC()
3961 std::swap(CTVal, CFVal); in LowerSELECT_CC()
3963 } else if (CTVal && CFVal && CTVal->isOne() && CFVal->isNullValue()) { in LowerSELECT_CC()
3965 std::swap(CTVal, CFVal); in LowerSELECT_CC()
3972 std::swap(CTVal, CFVal); in LowerSELECT_CC()
3980 std::swap(CTVal, CFVal); in LowerSELECT_CC()
3983 } else if (CTVal && CFVal) { in LowerSELECT_CC()
3984 const int64_t TrueVal = CTVal->getSExtValue(); in LowerSELECT_CC()
4001 const uint32_t TrueVal32 = CTVal->getZExtValue(); in LowerSELECT_CC()
4023 std::swap(CTVal, CFVal); in LowerSELECT_CC()