Lines Matching refs:SPCC
1325 static SPCC::CondCodes IntCondCCodeToICC(ISD::CondCode CC) { in IntCondCCodeToICC()
1328 case ISD::SETEQ: return SPCC::ICC_E; in IntCondCCodeToICC()
1329 case ISD::SETNE: return SPCC::ICC_NE; in IntCondCCodeToICC()
1330 case ISD::SETLT: return SPCC::ICC_L; in IntCondCCodeToICC()
1331 case ISD::SETGT: return SPCC::ICC_G; in IntCondCCodeToICC()
1332 case ISD::SETLE: return SPCC::ICC_LE; in IntCondCCodeToICC()
1333 case ISD::SETGE: return SPCC::ICC_GE; in IntCondCCodeToICC()
1334 case ISD::SETULT: return SPCC::ICC_CS; in IntCondCCodeToICC()
1335 case ISD::SETULE: return SPCC::ICC_LEU; in IntCondCCodeToICC()
1336 case ISD::SETUGT: return SPCC::ICC_GU; in IntCondCCodeToICC()
1337 case ISD::SETUGE: return SPCC::ICC_CC; in IntCondCCodeToICC()
1343 static SPCC::CondCodes FPCondCCodeToFCC(ISD::CondCode CC) { in FPCondCCodeToFCC()
1347 case ISD::SETOEQ: return SPCC::FCC_E; in FPCondCCodeToFCC()
1349 case ISD::SETUNE: return SPCC::FCC_NE; in FPCondCCodeToFCC()
1351 case ISD::SETOLT: return SPCC::FCC_L; in FPCondCCodeToFCC()
1353 case ISD::SETOGT: return SPCC::FCC_G; in FPCondCCodeToFCC()
1355 case ISD::SETOLE: return SPCC::FCC_LE; in FPCondCCodeToFCC()
1357 case ISD::SETOGE: return SPCC::FCC_GE; in FPCondCCodeToFCC()
1358 case ISD::SETULT: return SPCC::FCC_UL; in FPCondCCodeToFCC()
1359 case ISD::SETULE: return SPCC::FCC_ULE; in FPCondCCodeToFCC()
1360 case ISD::SETUGT: return SPCC::FCC_UG; in FPCondCCodeToFCC()
1361 case ISD::SETUGE: return SPCC::FCC_UGE; in FPCondCCodeToFCC()
1362 case ISD::SETUO: return SPCC::FCC_U; in FPCondCCodeToFCC()
1363 case ISD::SETO: return SPCC::FCC_O; in FPCondCCodeToFCC()
1364 case ISD::SETONE: return SPCC::FCC_LG; in FPCondCCodeToFCC()
1365 case ISD::SETUEQ: return SPCC::FCC_UE; in FPCondCCodeToFCC()
1741 ISD::CondCode CC, unsigned &SPCC) { in LookThroughSetCC() argument
1755 SPCC = cast<ConstantSDNode>(LHS.getOperand(2))->getZExtValue(); in LookThroughSetCC()
2059 unsigned &SPCC, in LowerF128Compare() argument
2065 switch(SPCC) { in LowerF128Compare()
2067 case SPCC::FCC_E : LibCall = is64Bit? "_Qp_feq" : "_Q_feq"; break; in LowerF128Compare()
2068 case SPCC::FCC_NE : LibCall = is64Bit? "_Qp_fne" : "_Q_fne"; break; in LowerF128Compare()
2069 case SPCC::FCC_L : LibCall = is64Bit? "_Qp_flt" : "_Q_flt"; break; in LowerF128Compare()
2070 case SPCC::FCC_G : LibCall = is64Bit? "_Qp_fgt" : "_Q_fgt"; break; in LowerF128Compare()
2071 case SPCC::FCC_LE : LibCall = is64Bit? "_Qp_fle" : "_Q_fle"; break; in LowerF128Compare()
2072 case SPCC::FCC_GE : LibCall = is64Bit? "_Qp_fge" : "_Q_fge"; break; in LowerF128Compare()
2073 case SPCC::FCC_UL : in LowerF128Compare()
2074 case SPCC::FCC_ULE: in LowerF128Compare()
2075 case SPCC::FCC_UG : in LowerF128Compare()
2076 case SPCC::FCC_UGE: in LowerF128Compare()
2077 case SPCC::FCC_U : in LowerF128Compare()
2078 case SPCC::FCC_O : in LowerF128Compare()
2079 case SPCC::FCC_LG : in LowerF128Compare()
2080 case SPCC::FCC_UE : LibCall = is64Bit? "_Qp_cmp" : "_Q_cmp"; break; in LowerF128Compare()
2099 switch(SPCC) { in LowerF128Compare()
2102 SPCC = SPCC::ICC_NE; in LowerF128Compare()
2105 case SPCC::FCC_UL : { in LowerF128Compare()
2109 SPCC = SPCC::ICC_NE; in LowerF128Compare()
2112 case SPCC::FCC_ULE: { in LowerF128Compare()
2114 SPCC = SPCC::ICC_NE; in LowerF128Compare()
2117 case SPCC::FCC_UG : { in LowerF128Compare()
2119 SPCC = SPCC::ICC_G; in LowerF128Compare()
2122 case SPCC::FCC_UGE: { in LowerF128Compare()
2124 SPCC = SPCC::ICC_NE; in LowerF128Compare()
2128 case SPCC::FCC_U : { in LowerF128Compare()
2130 SPCC = SPCC::ICC_E; in LowerF128Compare()
2133 case SPCC::FCC_O : { in LowerF128Compare()
2135 SPCC = SPCC::ICC_NE; in LowerF128Compare()
2138 case SPCC::FCC_LG : { in LowerF128Compare()
2142 SPCC = SPCC::ICC_NE; in LowerF128Compare()
2145 case SPCC::FCC_UE : { in LowerF128Compare()
2149 SPCC = SPCC::ICC_E; in LowerF128Compare()
2295 unsigned Opc, SPCC = ~0U; in LowerBR_CC() local
2299 LookThroughSetCC(LHS, RHS, CC, SPCC); in LowerBR_CC()
2305 if (SPCC == ~0U) SPCC = IntCondCCodeToICC(CC); in LowerBR_CC()
2310 if (SPCC == ~0U) SPCC = FPCondCCodeToFCC(CC); in LowerBR_CC()
2311 CompareFlag = TLI.LowerF128Compare(LHS, RHS, SPCC, dl, DAG); in LowerBR_CC()
2315 if (SPCC == ~0U) SPCC = FPCondCCodeToFCC(CC); in LowerBR_CC()
2320 DAG.getConstant(SPCC, MVT::i32), CompareFlag); in LowerBR_CC()
2332 unsigned Opc, SPCC = ~0U; in LowerSELECT_CC() local
2336 LookThroughSetCC(LHS, RHS, CC, SPCC); in LowerSELECT_CC()
2343 if (SPCC == ~0U) SPCC = IntCondCCodeToICC(CC); in LowerSELECT_CC()
2346 if (SPCC == ~0U) SPCC = FPCondCCodeToFCC(CC); in LowerSELECT_CC()
2347 CompareFlag = TLI.LowerF128Compare(LHS, RHS, SPCC, dl, DAG); in LowerSELECT_CC()
2352 if (SPCC == ~0U) SPCC = FPCondCCodeToFCC(CC); in LowerSELECT_CC()
2356 DAG.getConstant(SPCC, MVT::i32), CompareFlag); in LowerSELECT_CC()
2885 return expandAtomicRMW(MI, BB, SP::MOVICCrr, SPCC::ICC_G); in EmitInstrWithCustomInserter()
2887 return expandAtomicRMW(MI, BB, SP::MOVXCCrr, SPCC::ICC_G); in EmitInstrWithCustomInserter()
2889 return expandAtomicRMW(MI, BB, SP::MOVICCrr, SPCC::ICC_LE); in EmitInstrWithCustomInserter()
2891 return expandAtomicRMW(MI, BB, SP::MOVXCCrr, SPCC::ICC_LE); in EmitInstrWithCustomInserter()
2893 return expandAtomicRMW(MI, BB, SP::MOVICCrr, SPCC::ICC_GU); in EmitInstrWithCustomInserter()
2895 return expandAtomicRMW(MI, BB, SP::MOVXCCrr, SPCC::ICC_GU); in EmitInstrWithCustomInserter()
2897 return expandAtomicRMW(MI, BB, SP::MOVICCrr, SPCC::ICC_LEU); in EmitInstrWithCustomInserter()
2899 return expandAtomicRMW(MI, BB, SP::MOVXCCrr, SPCC::ICC_LEU); in EmitInstrWithCustomInserter()
2909 unsigned CC = (SPCC::CondCodes)MI->getOperand(3).getImm(); in expandSelectCC()
3052 .addMBB(LoopMBB).addImm(SPCC::ICC_NE); in expandAtomicRMW()