• Home
  • Raw
  • Download

Lines Matching refs:CmpInst

909   const CmpInst *CI = cast<CmpInst>(I);  in X86SelectCmp()
919 case CmpInst::FCMP_OEQ: { in X86SelectCmp()
933 case CmpInst::FCMP_UNE: { in X86SelectCmp()
946 case CmpInst::FCMP_OGT: SwapArgs = false; SetCCOpc = X86::SETAr; break; in X86SelectCmp()
947 case CmpInst::FCMP_OGE: SwapArgs = false; SetCCOpc = X86::SETAEr; break; in X86SelectCmp()
948 case CmpInst::FCMP_OLT: SwapArgs = true; SetCCOpc = X86::SETAr; break; in X86SelectCmp()
949 case CmpInst::FCMP_OLE: SwapArgs = true; SetCCOpc = X86::SETAEr; break; in X86SelectCmp()
950 case CmpInst::FCMP_ONE: SwapArgs = false; SetCCOpc = X86::SETNEr; break; in X86SelectCmp()
951 case CmpInst::FCMP_ORD: SwapArgs = false; SetCCOpc = X86::SETNPr; break; in X86SelectCmp()
952 case CmpInst::FCMP_UNO: SwapArgs = false; SetCCOpc = X86::SETPr; break; in X86SelectCmp()
953 case CmpInst::FCMP_UEQ: SwapArgs = false; SetCCOpc = X86::SETEr; break; in X86SelectCmp()
954 case CmpInst::FCMP_UGT: SwapArgs = true; SetCCOpc = X86::SETBr; break; in X86SelectCmp()
955 case CmpInst::FCMP_UGE: SwapArgs = true; SetCCOpc = X86::SETBEr; break; in X86SelectCmp()
956 case CmpInst::FCMP_ULT: SwapArgs = false; SetCCOpc = X86::SETBr; break; in X86SelectCmp()
957 case CmpInst::FCMP_ULE: SwapArgs = false; SetCCOpc = X86::SETBEr; break; in X86SelectCmp()
959 case CmpInst::ICMP_EQ: SwapArgs = false; SetCCOpc = X86::SETEr; break; in X86SelectCmp()
960 case CmpInst::ICMP_NE: SwapArgs = false; SetCCOpc = X86::SETNEr; break; in X86SelectCmp()
961 case CmpInst::ICMP_UGT: SwapArgs = false; SetCCOpc = X86::SETAr; break; in X86SelectCmp()
962 case CmpInst::ICMP_UGE: SwapArgs = false; SetCCOpc = X86::SETAEr; break; in X86SelectCmp()
963 case CmpInst::ICMP_ULT: SwapArgs = false; SetCCOpc = X86::SETBr; break; in X86SelectCmp()
964 case CmpInst::ICMP_ULE: SwapArgs = false; SetCCOpc = X86::SETBEr; break; in X86SelectCmp()
965 case CmpInst::ICMP_SGT: SwapArgs = false; SetCCOpc = X86::SETGr; break; in X86SelectCmp()
966 case CmpInst::ICMP_SGE: SwapArgs = false; SetCCOpc = X86::SETGEr; break; in X86SelectCmp()
967 case CmpInst::ICMP_SLT: SwapArgs = false; SetCCOpc = X86::SETLr; break; in X86SelectCmp()
968 case CmpInst::ICMP_SLE: SwapArgs = false; SetCCOpc = X86::SETLEr; break; in X86SelectCmp()
1026 if (const CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition())) { in X86SelectBranch()
1031 CmpInst::Predicate Predicate = CI->getPredicate(); in X86SelectBranch()
1034 Predicate = CmpInst::getInversePredicate(Predicate); in X86SelectBranch()
1041 case CmpInst::FCMP_OEQ: in X86SelectBranch()
1043 Predicate = CmpInst::FCMP_UNE; in X86SelectBranch()
1045 case CmpInst::FCMP_UNE: SwapArgs = false; BranchOpc = X86::JNE_4; break; in X86SelectBranch()
1046 case CmpInst::FCMP_OGT: SwapArgs = false; BranchOpc = X86::JA_4; break; in X86SelectBranch()
1047 case CmpInst::FCMP_OGE: SwapArgs = false; BranchOpc = X86::JAE_4; break; in X86SelectBranch()
1048 case CmpInst::FCMP_OLT: SwapArgs = true; BranchOpc = X86::JA_4; break; in X86SelectBranch()
1049 case CmpInst::FCMP_OLE: SwapArgs = true; BranchOpc = X86::JAE_4; break; in X86SelectBranch()
1050 case CmpInst::FCMP_ONE: SwapArgs = false; BranchOpc = X86::JNE_4; break; in X86SelectBranch()
1051 case CmpInst::FCMP_ORD: SwapArgs = false; BranchOpc = X86::JNP_4; break; in X86SelectBranch()
1052 case CmpInst::FCMP_UNO: SwapArgs = false; BranchOpc = X86::JP_4; break; in X86SelectBranch()
1053 case CmpInst::FCMP_UEQ: SwapArgs = false; BranchOpc = X86::JE_4; break; in X86SelectBranch()
1054 case CmpInst::FCMP_UGT: SwapArgs = true; BranchOpc = X86::JB_4; break; in X86SelectBranch()
1055 case CmpInst::FCMP_UGE: SwapArgs = true; BranchOpc = X86::JBE_4; break; in X86SelectBranch()
1056 case CmpInst::FCMP_ULT: SwapArgs = false; BranchOpc = X86::JB_4; break; in X86SelectBranch()
1057 case CmpInst::FCMP_ULE: SwapArgs = false; BranchOpc = X86::JBE_4; break; in X86SelectBranch()
1059 case CmpInst::ICMP_EQ: SwapArgs = false; BranchOpc = X86::JE_4; break; in X86SelectBranch()
1060 case CmpInst::ICMP_NE: SwapArgs = false; BranchOpc = X86::JNE_4; break; in X86SelectBranch()
1061 case CmpInst::ICMP_UGT: SwapArgs = false; BranchOpc = X86::JA_4; break; in X86SelectBranch()
1062 case CmpInst::ICMP_UGE: SwapArgs = false; BranchOpc = X86::JAE_4; break; in X86SelectBranch()
1063 case CmpInst::ICMP_ULT: SwapArgs = false; BranchOpc = X86::JB_4; break; in X86SelectBranch()
1064 case CmpInst::ICMP_ULE: SwapArgs = false; BranchOpc = X86::JBE_4; break; in X86SelectBranch()
1065 case CmpInst::ICMP_SGT: SwapArgs = false; BranchOpc = X86::JG_4; break; in X86SelectBranch()
1066 case CmpInst::ICMP_SGE: SwapArgs = false; BranchOpc = X86::JGE_4; break; in X86SelectBranch()
1067 case CmpInst::ICMP_SLT: SwapArgs = false; BranchOpc = X86::JL_4; break; in X86SelectBranch()
1068 case CmpInst::ICMP_SLE: SwapArgs = false; BranchOpc = X86::JLE_4; break; in X86SelectBranch()
1084 if (Predicate == CmpInst::FCMP_UNE) { in X86SelectBranch()