Home | History | Annotate | Download | only in Sparc

Lines Matching defs:SPCC

1195 static SPCC::CondCodes IntCondCCodeToICC(ISD::CondCode CC) {
1198 case ISD::SETEQ: return SPCC::ICC_E;
1199 case ISD::SETNE: return SPCC::ICC_NE;
1200 case ISD::SETLT: return SPCC::ICC_L;
1201 case ISD::SETGT: return SPCC::ICC_G;
1202 case ISD::SETLE: return SPCC::ICC_LE;
1203 case ISD::SETGE: return SPCC::ICC_GE;
1204 case ISD::SETULT: return SPCC::ICC_CS;
1205 case ISD::SETULE: return SPCC::ICC_LEU;
1206 case ISD::SETUGT: return SPCC::ICC_GU;
1207 case ISD::SETUGE: return SPCC::ICC_CC;
1213 static SPCC::CondCodes FPCondCCodeToFCC(ISD::CondCode CC) {
1217 case ISD::SETOEQ: return SPCC::FCC_E;
1219 case ISD::SETUNE: return SPCC::FCC_NE;
1221 case ISD::SETOLT: return SPCC::FCC_L;
1223 case ISD::SETOGT: return SPCC
1225 case ISD::SETOLE: return SPCC::FCC_LE;
1227 case ISD::SETOGE: return SPCC::FCC_GE;
1228 case ISD::SETULT: return SPCC::FCC_UL;
1229 case ISD::SETULE: return SPCC::FCC_ULE;
1230 case ISD::SETUGT: return SPCC::FCC_UG;
1231 case ISD::SETUGE: return SPCC::FCC_UGE;
1232 case ISD::SETUO: return SPCC::FCC_U;
1233 case ISD::SETO: return SPCC::FCC_O;
1234 case ISD::SETONE: return SPCC::FCC_LG;
1235 case ISD::SETUEQ: return SPCC::FCC_UE;
1434 // set LHS/RHS and SPCC to the LHS/RHS of the setcc and SPCC to the condition.
1436 ISD::CondCode CC, unsigned &SPCC) {
1450 SPCC = cast<ConstantSDNode>(LHS.getOperand(2))->getZExtValue();
1575 unsigned Opc, SPCC = ~0U;
1579 LookThroughSetCC(LHS, RHS, CC, SPCC);
1585 if (SPCC == ~0U) SPCC = IntCondCCodeToICC(CC);
1590 if (SPCC == ~0U) SPCC = FPCondCCodeToFCC(CC);
1594 DAG.getConstant(SPCC, MVT::i32), CompareFlag);
1604 unsigned Opc, SPCC = ~0U;
1608 LookThroughSetCC(LHS, RHS, CC, SPCC);
1615 if (SPCC == ~0U) SPCC = IntCondCCodeToICC(CC);
1619 SPCC == ~0U) SPCC = FPCondCCodeToFCC(CC);
1622 DAG.getConstant(SPCC, MVT::i32), CompareFlag);
1837 CC = (SPCC::CondCodes)MI->getOperand(3).getImm();