• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/llvmCore-3425.0.34/lib/Target/Sparc/

Lines Matching defs:SPCC

649 static SPCC::CondCodes IntCondCCodeToICC(ISD::CondCode CC) {
652 case ISD::SETEQ: return SPCC::ICC_E;
653 case ISD::SETNE: return SPCC::ICC_NE;
654 case ISD::SETLT: return SPCC::ICC_L;
655 case ISD::SETGT: return SPCC::ICC_G;
656 case ISD::SETLE: return SPCC::ICC_LE;
657 case ISD::SETGE: return SPCC::ICC_GE;
658 case ISD::SETULT: return SPCC::ICC_CS;
659 case ISD::SETULE: return SPCC::ICC_LEU;
660 case ISD::SETUGT: return SPCC::ICC_GU;
661 case ISD::SETUGE: return SPCC::ICC_CC;
667 static SPCC::CondCodes FPCondCCodeToFCC(ISD::CondCode CC) {
671 case ISD::SETOEQ: return SPCC::FCC_E;
673 case ISD::SETUNE: return SPCC::FCC_NE;
675 case ISD::SETOLT: return SPCC::FCC_L;
677 case ISD::SETOGT: return SPCC::FCC_G;
679 case ISD::SETOLE: return SPCC::FCC_LE;
681 case ISD::SETOGE: return SPCC::FCC_GE;
682 case ISD::SETULT: return SPCC::FCC_UL;
683 case ISD::SETULE: return SPCC::FCC_ULE;
684 case ISD::SETUGT: return SPCC::FCC_UG;
685 case ISD::SETUGE: return SPCC::FCC_UGE;
686 case ISD::SETUO: return SPCC::FCC_U;
687 case ISD::SETO: return SPCC::FCC_O;
688 case ISD::SETONE: return SPCC::FCC_LG;
689 case ISD::SETUEQ: return SPCC::FCC_UE;
864 // set LHS/RHS and SPCC to the LHS/RHS of the setcc and SPCC to the condition.
866 ISD::CondCode CC, unsigned &SPCC) {
879 SPCC = cast<ConstantSDNode>(LHS.getOperand(2))->getZExtValue();
950 unsigned Opc, SPCC = ~0U;
954 LookThroughSetCC(LHS, RHS, CC, SPCC);
964 if (SPCC == ~0U) SPCC = IntCondCCodeToICC(CC);
968 if (SPCC == ~0U) SPCC = FPCondCCodeToFCC(CC);
972 DAG.getConstant(SPCC, MVT::i32), CompareFlag);
982 unsigned Opc, SPCC = ~0U;
986 LookThroughSetCC(LHS, RHS, CC, SPCC);
996 if (SPCC == ~0U) SPCC = IntCondCCodeToICC(CC);
1000 if (SPCC == ~0U) SPCC = FPCondCCodeToFCC(CC);
1003 DAG.getConstant(SPCC, MVT::i32), CompareFlag);
1189 CC = (SPCC::CondCodes)MI->getOperand(3).getImm();