reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/lib/Target/AMDGPU/AMDGPUGenGlobalISel.inc
15912           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
16055           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
16114           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
gen/lib/Target/Mips/MipsGenGlobalISel.inc
13994           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
14165           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
14240           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
14574           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
15851       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
16055       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
16259       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
16463       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
16667       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
16899       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
17103       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
17307       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
18135       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
18271       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
18543       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
18747       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
18883       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
19155       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
gen/lib/Target/RISCV/RISCVGenGlobalISel.inc
10603         GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
10624         GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
10961         GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_SGE,
include/llvm/IR/IRBuilder.h
 2148     return CreateICmp(ICmpInst::ICMP_SGE, LHS, RHS, Name);
include/llvm/IR/PatternMatch.h
  480     case ICmpInst::Predicate::ICMP_SGE:
 1470     return Pred == CmpInst::ICMP_SGT || Pred == CmpInst::ICMP_SGE;
lib/Analysis/CmpInstAnalysis.cpp
   30     case ICmpInst::ICMP_SGE: return 3;  // 011
   50     case 3: Pred = Sign ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break;
   99   case ICmpInst::ICMP_SGE:
lib/Analysis/DependenceAnalysis.cpp
  998   case CmpInst::ICMP_SGE:
 3249     if (!isKnownPredicate(CmpInst::ICMP_SGE,
lib/Analysis/InstructionSimplify.cpp
 1526       (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGE) ||
 1708       if (Pred0 == ICmpInst::ICMP_SGE && Pred1 == ICmpInst::ICMP_SLE && isNSW)
 2526     case CmpInst::ICMP_SGE: // X >=s -1 -> true
 2540   case ICmpInst::ICMP_SGE:
 2601   case ICmpInst::ICMP_SGE: {
 2748       if (Pred == ICmpInst::ICMP_SLT || Pred == ICmpInst::ICMP_SGE) {
 2796         if (Pred == ICmpInst::ICMP_SGE)
 2818     case ICmpInst::ICMP_SGE: {
 2848     case ICmpInst::ICMP_SGE: {
 2990     EqP = CmpInst::ICMP_SGE; // "A == smax(A, B)" iff "A sge B".
 2997     EqP = CmpInst::ICMP_SGE; // "A == smax(A, B)" iff "A sge B".
 3050     case CmpInst::ICMP_SGE:
 3139     if (Pred == CmpInst::ICMP_SGE)
 3314           case ICmpInst::ICMP_SGE:
 3366           case ICmpInst::ICMP_SGE:
 3391               if (Value *V = SimplifyICmpInst(ICmpInst::ICMP_SGE, SrcOp,
lib/Analysis/ScalarEvolution.cpp
 3637       IsSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE;
 5349   case ICmpInst::ICMP_SGE:
 9000       case ICmpInst::ICMP_SGE:
 9040   case ICmpInst::ICMP_SGE:
 9245   case ICmpInst::ICMP_SGE:
 9254       Increasing = Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE;
 9377   case ICmpInst::ICMP_SGE:
 9427          isKnownPredicate(CmpInst::ICMP_SGE, LHS, getZero(LHS->getType())) &&
 9810         case ICmpInst::ICMP_SGE:
10184   case ICmpInst::ICMP_SGE:
10362   case ICmpInst::ICMP_SGE:
10415         isKnownViaNonRecursiveReasoning(ICmpInst::ICMP_SGE, RHS, FoundRHS))
10419   case ICmpInst::ICMP_SGE:
10420     if (isKnownViaNonRecursiveReasoning(ICmpInst::ICMP_SGE, LHS, FoundLHS) &&
lib/Analysis/ValueTracking.cpp
  774     case ICmpInst::ICMP_SGE:
 4595     if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE) {
 4607     if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE)
 4865     case ICmpInst::ICMP_SGE: return {SPF_SMAX, SPNB_NA, false};
 4902       if (Pred == ICmpInst::ICMP_SGE && match(CmpRHS, ZeroOrOne))
lib/AsmParser/LLParser.cpp
 5875     case lltok::kw_sge: P = CmpInst::ICMP_SGE; break;
lib/CodeGen/Analysis.cpp
  244   case ICmpInst::ICMP_SGE: return ISD::SETGE;
lib/CodeGen/MIRParser/MIParser.cpp
 2271                .Case("sge", CmpInst::ICMP_SGE)
lib/CodeGen/SelectionDAG/FastISel.cpp
 2469   case CmpInst::ICMP_SGE:   Predicate = CmpInst::FCMP_TRUE;  break;
lib/ExecutionEngine/Interpreter/Execution.cpp
  348   case ICmpInst::ICMP_SGE: R = executeICMP_SGE(Src1, Src2, Ty); break;
  709   case ICmpInst::ICMP_SGE:   return executeICMP_SGE(Src1, Src2, Ty);
lib/FuzzMutate/Operations.cpp
   40   Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_SGE));
lib/IR/AutoUpgrade.cpp
 1157     Pred = IsSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE;
 1349     case 5: Pred = Signed ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break;
lib/IR/ConstantFold.cpp
 1668             return isSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE;
 1871     case ICmpInst::ICMP_SGE: return ConstantInt::get(ResultTy, V1.sge(V2));
 2030       case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_SGE:
 2044       case ICmpInst::ICMP_SGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_SGE:
 2062     case ICmpInst::ICMP_SGE:
 2064       if (pred == ICmpInst::ICMP_SGT || pred == ICmpInst::ICMP_SGE) Result = 1;
lib/IR/ConstantRange.cpp
  122   case CmpInst::ICMP_SGE:
  172         getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE;
lib/IR/Constants.cpp
 1984   case CmpInst::ICMP_SGT: case CmpInst::ICMP_SGE: case CmpInst::ICMP_SLT:
lib/IR/Instructions.cpp
 3548     case ICMP_SLT: return ICMP_SGE;
 3549     case ICMP_SGE: return ICMP_SLT;
 3593   case ICmpInst::ICMP_SGE:   return "sge";
 3607     case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE:
 3611     case ICMP_UGE: return ICMP_SGE;
 3624     case ICMP_SGE: return ICMP_UGE;
 3632     case ICMP_SGT: return ICMP_SGE;
 3634     case ICMP_SGE: return ICMP_SGT;
 3659     case ICMP_SGE: return ICMP_SLE;
 3660     case ICMP_SLE: return ICMP_SGE;
 3684   case ICMP_SGT: return ICMP_SGE;
 3709     return CmpInst::ICMP_SGE;
 3725     case ICmpInst::ICMP_SGE: return true;
 3750     case ICMP_EQ:   case ICMP_UGE: case ICMP_ULE: case ICMP_SGE: case ICMP_SLE:
 3774     return Pred2 == ICMP_UGE || Pred2 == ICMP_ULE || Pred2 == ICMP_SGE ||
 3781     return Pred2 == ICMP_NE || Pred2 == ICMP_SGE;
lib/Target/AArch64/AArch64FastISel.cpp
 2259   case CmpInst::ICMP_SGE:
 2360   case CmpInst::ICMP_SGE:
lib/Target/AArch64/AArch64InstructionSelector.cpp
  881   case CmpInst::ICMP_SGE:
 2566   case CmpInst::ICMP_SGE:
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  654   case CmpInst::ICMP_SGE:
  697   case CmpInst::ICMP_SGE:
lib/Target/ARM/ARMFastISel.cpp
 1204     case CmpInst::ICMP_SGE:
lib/Target/ARM/ARMInstructionSelector.cpp
  408   case CmpInst::ICMP_SGE:
lib/Target/ARM/ARMLegalizerInfo.cpp
  314   FCmp32Libcalls[CmpInst::FCMP_OGE] = {{RTLIB::OGE_F32, CmpInst::ICMP_SGE}};
  319   FCmp32Libcalls[CmpInst::FCMP_UGE] = {{RTLIB::OLT_F32, CmpInst::ICMP_SGE}};
  332   FCmp64Libcalls[CmpInst::FCMP_OGE] = {{RTLIB::OGE_F64, CmpInst::ICMP_SGE}};
  337   FCmp64Libcalls[CmpInst::FCMP_UGE] = {{RTLIB::OLT_F64, CmpInst::ICMP_SGE}};
lib/Target/Mips/MipsFastISel.cpp
  688   case CmpInst::ICMP_SGE: {
lib/Target/Mips/MipsInstructionSelector.cpp
  674     case CmpInst::ICMP_SGE: // LHS >= RHS -> !(LHS < RHS)
lib/Target/PowerPC/PPCFastISel.cpp
  246     case CmpInst::ICMP_SGE:
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  823         case CmpInst::Predicate::ICMP_SGE:
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
 1028   case ICmpInst::ICMP_SGE:
lib/Target/X86/X86InstrInfo.cpp
 2288   case CmpInst::ICMP_SGE: CC = X86::COND_GE;      break;
lib/Target/X86/X86TargetTransformInfo.cpp
 1716       case CmpInst::Predicate::ICMP_SGE:
lib/Transforms/IPO/GlobalOpt.cpp
  929       case ICmpInst::ICMP_SGE:
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  765         (Pred0 == ICmpInst::ICMP_SGE && RangeStart->isZero())))
 1260       PredL == ICmpInst::ICMP_SGE || PredL == ICmpInst::ICMP_SLE ||
 1261       PredR == ICmpInst::ICMP_SGE || PredR == ICmpInst::ICMP_SLE)
 2352       PredL == ICmpInst::ICMP_SGE || PredL == ICmpInst::ICMP_SLE ||
 2353       PredR == ICmpInst::ICMP_SGE || PredR == ICmpInst::ICMP_SLE)
lib/Transforms/InstCombine/InstCombineCompares.cpp
   90       Pred = ICmpInst::ICMP_SGE;
 1144   assert(Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE);
 1386                           Pred == ICmpInst::ICMP_EQ ? ICmpInst::ICMP_SGE
 1742       auto NewPred = isICMP_NE ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE;
 1869       auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_SGE
 2012       if (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_SGE)
 2447         return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE :
 2464         return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE :
 2486       return new ICmpInst(ICmpInst::ICMP_SGE, X,
 2523       return new ICmpInst(ICmpInst::ICMP_SGE, X, Y);
 2597       return new ICmpInst(ICmpInst::ICMP_SGE, X, ConstantInt::get(Ty, Lower));
 2665     assert(FlippedStrictness->first == ICmpInst::ICMP_SGE && "Sanity check");
 3333   case ICmpInst::Predicate::ICMP_SGE:
 3758   if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_SGE &&
 3768     return new ICmpInst(CmpInst::ICMP_SGE, A, Op1);
 3773     return new ICmpInst(CmpInst::ICMP_SGE, Op0, C);
 3781   if (C && NoOp1WrapProblem && Pred == CmpInst::ICMP_SGE && match(D, m_One()))
 3916     case ICmpInst::ICMP_SGE:
 4053     if (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_SGE)
 4071       return new ICmpInst(ICmpInst::ICMP_SGE, X, Y);
 5103   case ICmpInst::ICMP_SGE:
 5239       case CmpInst::ICMP_SGE: // A >=s  0 -> !A
 5290   case ICmpInst::ICMP_SGE:
 5686     Pred = LHSUnsigned ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_SGE;
 5745           Pred == ICmpInst::ICMP_SGE)
 5818           Pred = ICmpInst::ICMP_SGE;
 5827       case ICmpInst::ICMP_SGE:
lib/Transforms/InstCombine/InstCombineInternal.h
  105   case CmpInst::ICMP_SGE:
  131   case ICmpInst::ICMP_SGE: // True if LHS s>= 0
lib/Transforms/InstCombine/InstCombineSelect.cpp
  552               m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, -1)))) &&
  555               m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, 0)))))
 1272   case ICmpInst::Predicate::ICMP_SGE:
 1286   auto *Precond1 = ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_SGE, C2,
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 2331          (pre == CmpInst::ICMP_SLT || pre == CmpInst::ICMP_SGE)) ||
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  610     auto Result = LVI->getPredicateAt(ICmpInst::ICMP_SGE, O, Zero, SDI);
  704   if (LVI->getPredicateAt(ICmpInst::ICMP_SGE, SDI->getOperand(0), Zero, SDI) !=
  726   if (LVI->getPredicateAt(ICmpInst::ICMP_SGE, Base, Zero, SDI) !=
lib/Transforms/Scalar/Float2Int.cpp
   93     return CmpInst::ICMP_SGE;
lib/Transforms/Scalar/IndVarSimplify.cpp
  379   case CmpInst::FCMP_UGE: NewPred = CmpInst::ICMP_SGE; break;
  436     if (NewPred == CmpInst::ICMP_SGE || NewPred == CmpInst::ICMP_SLT) {
 1696       SE->isKnownPredicate(ICmpInst::ICMP_SGE, NarrowSCEV,
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  201         return SE.isKnownPredicate(ICmpInst::ICMP_SGE, Begin, End);
  294   case ICmpInst::ICMP_SGE:
lib/Transforms/Scalar/LoopFuse.cpp
  917         EqualIsInvalid ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_SGE;
lib/Transforms/Scalar/LoopPredication.cpp
  887              Pred != ICmpInst::ICMP_UGE && Pred != ICmpInst::ICMP_SGE;
lib/Transforms/Utils/LoopUtils.cpp
 1009          SE.isLoopEntryGuardedByCond(L, ICmpInst::ICMP_SGE, S, Zero);
lib/Transforms/Utils/LowerSwitch.cpp
  355       Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_SGE, Val, Leaf.Low,
lib/Transforms/Vectorize/SLPVectorizer.cpp
 6225         case CmpInst::ICMP_SGE:
tools/clang/lib/CodeGen/CGBuiltin.cpp
 5331                                          ICmpInst::ICMP_SGE, "vcgez");
 7749         ICmpInst::FCMP_OGE, ICmpInst::ICMP_SGE, "vcgez");
 7862     case NEON::BI__builtin_neon_vcged_s64:P = llvm::ICmpInst::ICMP_SGE;break;
 9634     Pred = IsSigned ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE;
 9727     case 5: Pred = Signed ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break;
tools/clang/lib/CodeGen/CGExprScalar.cpp
  806   VISITCOMP(GE, ICMP_UGE, ICMP_SGE, FCMP_OGE)
tools/lldb/source/Expression/IRInterpreter.cpp
  568         case CmpInst::ICMP_SGE:
 1148       case CmpInst::ICMP_SGE:
tools/polly/lib/Analysis/ScopBuilder.cpp
  277   case ICmpInst::ICMP_SGE:
tools/polly/lib/CodeGen/IslExprBuilder.cpp
  531       {CmpInst::ICMP_SGE, CmpInst::ICMP_UGE},
unittests/Analysis/ValueLatticeTest.cpp
   98   EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGE, I1Ty, LV1)->isOneValue());
  111   EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGE, I1Ty, LV2)->isZeroValue());
  121   EXPECT_EQ(LV2.getCompare(CmpInst::ICMP_SGE, I1Ty, LV3), nullptr);
  131   EXPECT_EQ(LV3.getCompare(CmpInst::ICMP_SGE, I1Ty, LV4), nullptr);
  172   EXPECT_TRUE(isa<UndefValue>(LV1.getCompare(CmpInst::ICMP_SGE, I1Ty, LV2)));
unittests/IR/ConstantRangeTest.cpp
 1372       ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_SGE, SignedSample),
 1713   EXPECT_EQ(Pred, CmpInst::ICMP_SGE);
unittests/IR/InstructionsTest.cpp
  335   ICmpInst *ICmp2 = new ICmpInst(*BB0, ICmpInst::ICMP_SGE, PtrVecA, PtrVecB);
unittests/IR/PatternMatch.cpp
  350       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, 0))
  353       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, 0))
  356       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, 0))
  360       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, 1))
  363       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, 1))
  366       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, 1))
  370       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, -1))
  373       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, -1))
  376       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_SGE, APInt(BitWidth, -1))