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

References

gen/lib/Target/AMDGPU/AMDGPUGenGlobalISel.inc
15954           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
16164           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
16249           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
gen/lib/Target/Mips/MipsGenGlobalISel.inc
13940           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
14111           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
14403           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
14517           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
15953       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
16157       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
16361       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
16565       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
16812       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
17001       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
17205       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
17409       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
18237       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
18373       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
18645       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
18849       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
18985       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
19257       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
gen/lib/Target/RISCV/RISCVGenGlobalISel.inc
10531         GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
10552         GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
10925         GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_ULE,
include/llvm/IR/IRBuilder.h
 2140     return CreateICmp(ICmpInst::ICMP_ULE, LHS, RHS, Name);
include/llvm/IR/PatternMatch.h
  476     case ICmpInst::Predicate::ICMP_ULE:
 1491     return Pred == CmpInst::ICMP_ULT || Pred == CmpInst::ICMP_ULE;
lib/Analysis/CmpInstAnalysis.cpp
   34     case ICmpInst::ICMP_ULE: return 6;  // 110
   53     case 6: Pred = Sign ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break;
  113   case ICmpInst::ICMP_ULE:
lib/Analysis/InstructionSimplify.cpp
 1396            UnsignedPred == ICmpInst::ICMP_ULE) &&
 1413       if (EqPred == ICmpInst::ICMP_EQ && (UnsignedPred == ICmpInst::ICMP_ULE ||
 1454   if (UnsignedPred == ICmpInst::ICMP_ULE && EqPred == ICmpInst::ICMP_NE &&
 1527       (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGE))
 1639       if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_SGT)
 1650       if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGT)
 1720       if (Pred0 == ICmpInst::ICMP_UGE && Pred1 == ICmpInst::ICMP_ULE)
 1723       if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_ULE)
 2331   case CmpInst::ICMP_ULE:
 2525     case CmpInst::ICMP_ULE: // X <=u  1 -> true
 2551   case ICmpInst::ICMP_ULE:
 2575   case ICmpInst::ICMP_ULE:
 2759       if (Pred == ICmpInst::ICMP_ULE)
 2779     if (Pred == ICmpInst::ICMP_ULE)
 2837     case ICmpInst::ICMP_ULE:
 2867     case ICmpInst::ICMP_ULE:
 2879     if (Pred == ICmpInst::ICMP_ULE)
 2924         if (Pred == ICmpInst::ICMP_ULE)
 3078     EqP = CmpInst::ICMP_ULE; // "A == umin(A, B)" iff "A ule B".
 3086     EqP = CmpInst::ICMP_ULE; // "A == umin(A, B)" iff "A ule B".
 3097     case CmpInst::ICMP_ULE:
 3169     if (Pred == CmpInst::ICMP_ULE)
 3308           case ICmpInst::ICMP_ULE:
 3388           case ICmpInst::ICMP_ULE:
lib/Analysis/ScalarEvolution.cpp
 3639       IsSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE;
 5368   case ICmpInst::ICMP_ULE:
 8994       case ICmpInst::ICMP_ULE:
 9053   case ICmpInst::ICMP_ULE:
 9237   case ICmpInst::ICMP_ULE:
10197   case ICmpInst::ICMP_ULE:
10376   case ICmpInst::ICMP_ULE: {
10425   case ICmpInst::ICMP_ULE:
10426     if (isKnownViaNonRecursiveReasoning(ICmpInst::ICMP_ULE, LHS, FoundLHS) &&
10433         isKnownViaNonRecursiveReasoning(ICmpInst::ICMP_ULE, RHS, FoundRHS))
lib/Analysis/ValueTracking.cpp
  826     case ICmpInst::ICMP_ULE:
 4615     if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE)
 4619     if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) {
 4867     case ICmpInst::ICMP_ULE: return {SPF_UMIN, SPNB_NA, false};
 5154   case CmpInst::ICMP_ULE: {
 5210   case CmpInst::ICMP_ULE:
 5211     if (isTruePredicate(CmpInst::ICMP_ULE, BLHS, ALHS, DL, Depth) &&
 5212         isTruePredicate(CmpInst::ICMP_ULE, ARHS, BRHS, DL, Depth))
lib/AsmParser/LLParser.cpp
 5878     case lltok::kw_ule: P = CmpInst::ICMP_ULE; break;
lib/CodeGen/Analysis.cpp
  243   case ICmpInst::ICMP_ULE: return ISD::SETULE;
lib/CodeGen/GlobalISel/IRTranslator.cpp
  608       Cond = MIB.buildICmp(CmpInst::ICMP_ULE, i1Ty, Sub, Diff).getReg(0);
lib/CodeGen/MIRParser/MIParser.cpp
 2277                .Case("ule", CmpInst::ICMP_ULE)
lib/CodeGen/SelectionDAG/FastISel.cpp
 2467   case CmpInst::ICMP_ULE:   Predicate = CmpInst::FCMP_TRUE;  break;
lib/ExecutionEngine/Interpreter/Execution.cpp
  345   case ICmpInst::ICMP_ULE: R = executeICMP_ULE(Src1, Src2, Ty); break;
  710   case ICmpInst::ICMP_ULE:   return executeICMP_ULE(Src1, Src2, Ty);
lib/FuzzMutate/Operations.cpp
   38   Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_ULE));
lib/IR/AutoUpgrade.cpp
 1151     Pred = IsSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE;
 1347     case 2: Pred = Signed ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break;
lib/IR/ConstantFold.cpp
 1689             return isSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE;
 1874     case ICmpInst::ICMP_ULE: return ConstantInt::get(ResultTy, V1.ule(V2));
 2020       case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE:
 2038       case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_ULE:
 2050     case ICmpInst::ICMP_ULE:
 2052       if (pred == ICmpInst::ICMP_ULT || pred == ICmpInst::ICMP_ULE) Result = 1;
lib/IR/ConstantRange.cpp
  104   case CmpInst::ICMP_ULE:
lib/IR/Constants.cpp
 1983   case CmpInst::ICMP_UGE: case CmpInst::ICMP_ULT: case CmpInst::ICMP_ULE:
lib/IR/Instructions.cpp
 3543     case ICMP_UGT: return ICMP_ULE;
 3546     case ICMP_ULE: return ICMP_UGT;
 3599   case ICmpInst::ICMP_ULE:   return "ule";
 3612     case ICMP_ULE: return ICMP_SLE;
 3620     case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE:
 3625     case ICMP_SLE: return ICMP_ULE;
 3637     case ICMP_ULT: return ICMP_ULE;
 3639     case ICMP_ULE: return ICMP_ULT;
 3663     case ICMP_UGE: return ICMP_ULE;
 3664     case ICMP_ULE: return ICMP_UGE;
 3687   case ICMP_ULT: return ICMP_ULE;
 3704   case CmpInst::ICMP_ULE:
 3716     case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_ULE: case ICmpInst::ICMP_UGT:
 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 ||
 3779     return Pred2 == ICMP_NE || Pred2 == ICMP_ULE;
lib/Target/AArch64/AArch64FastISel.cpp
 2267   case CmpInst::ICMP_ULE:
lib/Target/AArch64/AArch64InstructionSelector.cpp
  866   case CmpInst::ICMP_ULE:
  893   case CmpInst::ICMP_ULE:
 2559   case CmpInst::ICMP_ULE:
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  666   case CmpInst::ICMP_ULE:
  709   case CmpInst::ICMP_ULE:
lib/Target/ARM/ARMFastISel.cpp
 1212     case CmpInst::ICMP_ULE:
lib/Target/ARM/ARMInstructionSelector.cpp
  419   case CmpInst::ICMP_ULE:
lib/Target/ARM/MVETailPredication.cpp
  211       Pred != ICmpInst::ICMP_ULE || !L->isLoopInvariant(Shuffle))
lib/Target/Mips/MipsFastISel.cpp
  676   case CmpInst::ICMP_ULE: {
lib/Target/Mips/MipsInstructionSelector.cpp
  667     case CmpInst::ICMP_ULE: // LHS <= RHS -> !(RHS < LHS)
lib/Target/PowerPC/PPCFastISel.cpp
  255     case CmpInst::ICMP_ULE:
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  822         case CmpInst::Predicate::ICMP_ULE:
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
 1021   case ICmpInst::ICMP_ULE:
lib/Target/X86/X86InstrInfo.cpp
 2286   case CmpInst::ICMP_ULE: CC = X86::COND_BE;      break;
lib/Target/X86/X86TargetTransformInfo.cpp
 1727       case CmpInst::Predicate::ICMP_ULE:
lib/Transforms/IPO/GlobalOpt.cpp
  922       case ICmpInst::ICMP_ULE:
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  788     case ICmpInst::ICMP_SLE: NewPred = ICmpInst::ICMP_ULE; break;
  851     auto NewPred = JoinedByAnd ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_ULE;
 1092     if (UnsignedPred == ICmpInst::ICMP_ULE && EqPred == ICmpInst::ICMP_NE &&
 1126   if ((UnsignedPred == ICmpInst::ICMP_ULE ||
 1132   if (UnsignedPred == ICmpInst::ICMP_ULE && EqPred == ICmpInst::ICMP_NE &&
 1258   if (PredL == ICmpInst::ICMP_UGE || PredL == ICmpInst::ICMP_ULE ||
 1259       PredR == ICmpInst::ICMP_UGE || PredR == ICmpInst::ICMP_ULE ||
 2212   if ((PredL == ICmpInst::ICMP_ULT || PredL == ICmpInst::ICMP_ULE) &&
 2350   if (PredL == ICmpInst::ICMP_UGE || PredL == ICmpInst::ICMP_ULE ||
 2351       PredR == ICmpInst::ICMP_UGE || PredR == ICmpInst::ICMP_ULE ||
lib/Transforms/InstCombine/InstCombineCompares.cpp
 1112   if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) {
 1854                                                           : CmpInst::ICMP_ULE;
 1896       Pred = (Pred == CmpInst::ICMP_EQ) ? CmpInst::ICMP_ULE : CmpInst::ICMP_UGT;
 1979         Pred = ICmpInst::ICMP_ULE;
 2125         (Pred == ICmpInst::ICMP_ULE || Pred == ICmpInst::ICMP_UGT)) {
 2127       return new ICmpInst(Pred == ICmpInst::ICMP_ULE ? ICmpInst::ICMP_EQ
 2309     return new ICmpInst(ICmpInst::ICMP_ULE, Y,
 3013       auto NewPred = isICMP_NE ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_UGT;
 3095           ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_UGT;
 3297     DstPred = ICmpInst::Predicate::ICMP_ULE;
 3311     DstPred = ICmpInst::Predicate::ICMP_ULE;
 3318   case ICmpInst::Predicate::ICMP_ULE:
 3321     DstPred = ICmpInst::Predicate::ICMP_ULE;
 3687       (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_ULE))
 3798   if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_ULE && match(B, m_One()))
 3811     return new ICmpInst(CmpInst::ICMP_ULE, Op0, C);
 3865   if (A == Op1 && (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_ULE))
 3875   if (C == Op0 && (Pred == ICmpInst::ICMP_ULE || Pred == ICmpInst::ICMP_UGT) &&
 4088       return new ICmpInst(ICmpInst::ICMP_ULE, X, Y);
 4104     if (Pred == CmpInst::ICMP_EQ || Pred == CmpInst::ICMP_ULE)
 4648   case ICmpInst::ICMP_ULE:
 4738   case ICmpInst::ICMP_ULE:
 5130   case ICmpInst::ICMP_ULE:
 5162       UnsignedPred == ICmpInst::ICMP_ULE || UnsignedPred == ICmpInst::ICMP_UGT;
 5238       case CmpInst::ICMP_ULE: // A <=u  0 -> !A
 5286   case ICmpInst::ICMP_ULE:
 5317     case ICmpInst::ICMP_ULE:
 5694     Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE;
 5732           Pred == ICmpInst::ICMP_ULE)
 5783       case ICmpInst::ICMP_ULE:
 5800         Pred = ICmpInst::ICMP_ULE;
lib/Transforms/InstCombine/InstCombineInternal.h
  102   case CmpInst::ICMP_ULE:
  146   case ICmpInst::ICMP_ULE:
lib/Transforms/InstCombine/InstCombineSelect.cpp
  698   if (Pred == ICmpInst::ICMP_ULE || Pred == ICmpInst::ICMP_ULT) {
 1197   case ICmpInst::Predicate::ICMP_ULE:
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
 1111       IsSignedPredicate ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE;
lib/Transforms/Scalar/LoopPredication.cpp
  654       SE->isKnownPredicate(ICmpInst::ICMP_ULE, RC.IV->getStart(), RC.Limit))
  883              Pred != ICmpInst::ICMP_ULE && Pred != ICmpInst::ICMP_SLE;
lib/Transforms/Utils/LowerSwitch.cpp
  359       Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Val, Leaf.High,
  368       Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound,
lib/Transforms/Vectorize/LoopVectorize.cpp
 2688   auto P = Cost->requiresScalarEpilogue() ? ICmpInst::ICMP_ULE
lib/Transforms/Vectorize/SLPVectorizer.cpp
 6206         case CmpInst::ICMP_ULE:
tools/clang/lib/CodeGen/CGBuiltin.cpp
 7863     case NEON::BI__builtin_neon_vcled_u64:P = llvm::ICmpInst::ICMP_ULE;break;
 9628     Pred = IsSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE;
 9725     case 2: Pred = Signed ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break;
tools/clang/lib/CodeGen/CGExprScalar.cpp
  805   VISITCOMP(LE, ICMP_ULE, ICMP_SLE, FCMP_OLE)
tools/lldb/source/Expression/IRInterpreter.cpp
  566         case CmpInst::ICMP_ULE:
 1138       case CmpInst::ICMP_ULE:
tools/polly/lib/Analysis/ScopBuilder.cpp
  283   case ICmpInst::ICMP_ULE:
  503     case ICmpInst::ICMP_ULE:
tools/polly/lib/CodeGen/IslExprBuilder.cpp
  529       {CmpInst::ICMP_SLE, CmpInst::ICMP_ULE},
unittests/IR/ConstantRangeTest.cpp
 1345   EXPECT_EQ(ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_ULE,
unittests/IR/PatternMatch.cpp
  272       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULE, APInt(BitWidth, 0))
  275       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULE, APInt(BitWidth, 0))
  278       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULE, APInt(BitWidth, 0))
  282       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULE, APInt(BitWidth, 1))
  285       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULE, APInt(BitWidth, 1))
  288       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULE, APInt(BitWidth, 1))
  292       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULE, APInt(BitWidth, -1))
  295       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULE, APInt(BitWidth, -1))
  298       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULE, APInt(BitWidth, -1))