Lines Matching refs:SPCC
644 static SPCC::CondCodes IntCondCCodeToICC(ISD::CondCode CC) {
647 case ISD::SETEQ: return SPCC::ICC_E;
648 case ISD::SETNE: return SPCC::ICC_NE;
649 case ISD::SETLT: return SPCC::ICC_L;
650 case ISD::SETGT: return SPCC::ICC_G;
651 case ISD::SETLE: return SPCC::ICC_LE;
652 case ISD::SETGE: return SPCC::ICC_GE;
653 case ISD::SETULT: return SPCC::ICC_CS;
654 case ISD::SETULE: return SPCC::ICC_LEU;
655 case ISD::SETUGT: return SPCC::ICC_GU;
656 case ISD::SETUGE: return SPCC::ICC_CC;
662 static SPCC::CondCodes FPCondCCodeToFCC(ISD::CondCode CC) {
666 case ISD::SETOEQ: return SPCC::FCC_E;
668 case ISD::SETUNE: return SPCC::FCC_NE;
670 case ISD::SETOLT: return SPCC::FCC_L;
672 case ISD::SETOGT: return SPCC::FCC_G;
674 case ISD::SETOLE: return SPCC::FCC_LE;
676 case ISD::SETOGE: return SPCC::FCC_GE;
677 case ISD::SETULT: return SPCC::FCC_UL;
678 case ISD::SETULE: return SPCC::FCC_ULE;
679 case ISD::SETUGT: return SPCC::FCC_UG;
680 case ISD::SETUGE: return SPCC::FCC_UGE;
681 case ISD::SETUO: return SPCC::FCC_U;
682 case ISD::SETO: return SPCC::FCC_O;
683 case ISD::SETONE: return SPCC::FCC_LG;
684 case ISD::SETUEQ: return SPCC::FCC_UE;
859 // set LHS/RHS and SPCC to the LHS/RHS of the setcc and SPCC to the condition.
861 ISD::CondCode CC, unsigned &SPCC) {
874 SPCC = cast<ConstantSDNode>(LHS.getOperand(2))->getZExtValue();
945 unsigned Opc, SPCC = ~0U;
949 LookThroughSetCC(LHS, RHS, CC, SPCC);
959 if (SPCC == ~0U) SPCC = IntCondCCodeToICC(CC);
963 if (SPCC == ~0U) SPCC = FPCondCCodeToFCC(CC);
967 DAG.getConstant(SPCC, MVT::i32), CompareFlag);
977 unsigned Opc, SPCC = ~0U;
981 LookThroughSetCC(LHS, RHS, CC, SPCC);
991 if (SPCC == ~0U) SPCC = IntCondCCodeToICC(CC);
995 if (SPCC == ~0U) SPCC = FPCondCCodeToFCC(CC);
998 DAG.getConstant(SPCC, MVT::i32), CompareFlag);
1184 CC = (SPCC::CondCodes)MI->getOperand(3).getImm();