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

References

gen/lib/Target/AMDGPU/AMDGPUGenGlobalISel.inc
15968           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_UGT,
16177           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_UGT,
16262           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_UGT,
gen/lib/Target/Mips/MipsGenGlobalISel.inc
13978           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_UGT,
14149           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_UGT,
14386           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_UGT,
14557           GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_UGT,
16754       GIM_CheckCmpPredicate, /*MI*/1, /*Op*/1, /*Predicate*/CmpInst::ICMP_UGT,
gen/lib/Target/RISCV/RISCVGenGlobalISel.inc
10459         GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_UGT,
10474         GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_UGT,
10889         GIM_CheckCmpPredicate, /*MI*/0, /*Op*/1, /*Predicate*/CmpInst::ICMP_UGT,
include/llvm/IR/IRBuilder.h
 2128     return CreateICmp(ICmpInst::ICMP_UGT, LHS, RHS, Name);
include/llvm/IR/PatternMatch.h
  470     case ICmpInst::Predicate::ICMP_UGT:
 1484     return Pred == CmpInst::ICMP_UGT || Pred == CmpInst::ICMP_UGE;
 1635     if (Pred == ICmpInst::ICMP_UGT)
lib/Analysis/CmpInstAnalysis.cpp
   26     case ICmpInst::ICMP_UGT: return 1;  // 001
   48     case 1: Pred = Sign ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; break;
  120   case ICmpInst::ICMP_UGT:
lib/Analysis/InstructionSimplify.cpp
 1401            UnsignedPred == ICmpInst::ICMP_UGT) &&
 1408                                           UnsignedPred == ICmpInst::ICMP_UGT))
 1465   if (UnsignedPred == ICmpInst::ICMP_UGT && EqPred == ICmpInst::ICMP_EQ &&
 1501       (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT))
 1647       if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT)
 1650       if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGT)
 1712       if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_SLE)
 1723       if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_ULE)
 2328   case CmpInst::ICMP_UGT:
 2500     case CmpInst::ICMP_UGT: // X >u  0 -> X
 2521     case CmpInst::ICMP_UGT: // X >u   1 -> false
 2580   case ICmpInst::ICMP_UGT:
 2761       if (Pred == ICmpInst::ICMP_UGT)
 2777     if (Pred == ICmpInst::ICMP_UGT)
 2825     case ICmpInst::ICMP_UGT:
 2855     case ICmpInst::ICMP_UGT:
 2877     if (Pred == ICmpInst::ICMP_UGT)
 2922         if (Pred == ICmpInst::ICMP_UGT)
 3110     case CmpInst::ICMP_UGT: {
 3172     if (Pred == CmpInst::ICMP_UGT)
 3302           case ICmpInst::ICMP_UGT:
 3378           case ICmpInst::ICMP_UGT:
lib/Analysis/ScalarEvolution.cpp
 1807           if (isLoopBackedgeGuardedByCond(L, ICmpInst::ICMP_UGT, AR, N) ||
 1808               isKnownOnEveryIteration(ICmpInst::ICMP_UGT, AR, N)) {
 5371   case ICmpInst::ICMP_UGT:
 7432   case ICmpInst::ICMP_UGT: {                    // while (X > Y)
 8990         Pred = ICmpInst::ICMP_UGT;
 9068       Pred = ICmpInst::ICMP_UGT;
 9073       Pred = ICmpInst::ICMP_UGT;
 9234   case ICmpInst::ICMP_UGT:
 9241     Increasing = Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_UGE;
 9820         case ICmpInst::ICMP_UGT:
10430   case ICmpInst::ICMP_UGT:
10759                                       : ICmpInst::ICMP_UGT;
lib/Analysis/ScalarEvolutionExpander.cpp
 2308       Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT, Sub, StartValue);
 2323         Builder.CreateICmp(ICmpInst::ICMP_UGT, TripCountVal,
lib/Analysis/ValueTracking.cpp
 4565         C1->ugt(*C2) && Pred == CmpInst::ICMP_UGT)
 4611     if (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_UGE) {
 4623     if (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_UGE)
 4862     case ICmpInst::ICMP_UGT:
 5113   if (SPF == SPF_UMAX) return ICmpInst::ICMP_UGT;
lib/AsmParser/LLParser.cpp
 5877     case lltok::kw_ugt: P = CmpInst::ICMP_UGT; break;
lib/CodeGen/Analysis.cpp
  249   case ICmpInst::ICMP_UGT: return ISD::SETUGT;
lib/CodeGen/CodeGenPrepare.cpp
 1293   if (Pred == ICmpInst::ICMP_UGT) {
lib/CodeGen/GlobalISel/IRTranslator.cpp
  556   auto Cmp = MIB.buildICmp(CmpInst::ICMP_UGT, LLT::scalar(1), Sub, Cst);
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
 3833   auto RCmp = MIRBuilder.buildICmp(CmpInst::ICMP_UGT, S1, T, C);
 3955     return CmpInst::ICMP_UGT;
lib/CodeGen/MIRParser/MIParser.cpp
 2274                .Case("ugt", CmpInst::ICMP_UGT)
lib/CodeGen/SelectionDAG/FastISel.cpp
 2464   case CmpInst::ICMP_UGT:   Predicate = CmpInst::FCMP_FALSE; break;
lib/ExecutionEngine/Interpreter/Execution.cpp
  343   case ICmpInst::ICMP_UGT: R = executeICMP_UGT(Src1, Src2, Ty); break;
  704   case ICmpInst::ICMP_UGT:   return executeICMP_UGT(Src1, Src2, Ty);
lib/FuzzMutate/Operations.cpp
   35   Ops.push_back(cmpOpDescriptor(1, Instruction::ICmp, CmpInst::ICMP_UGT));
lib/IR/AutoUpgrade.cpp
 1154     Pred = IsSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
 1350     case 6: Pred = Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; break;
 2028       Rep = upgradeIntMinMax(Builder, *CI, ICmpInst::ICMP_UGT);
lib/IR/ConstantFold.cpp
 1556       pred = isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
 1672             return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
 1679               return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
 1703             return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
 1750               case 1:  return isSigned ? ICmpInst::ICMP_SGT:ICmpInst::ICMP_UGT;
 1759                   return isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
 1873     case ICmpInst::ICMP_UGT: return ConstantInt::get(ResultTy, V1.ugt(V2));
 2022       case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_UGE:
 2034     case ICmpInst::ICMP_UGT:
 2036       case ICmpInst::ICMP_UGT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_UGE:
 2051       if (pred == ICmpInst::ICMP_UGT) Result = 0;
 2060       if (pred == ICmpInst::ICMP_UGT || pred == ICmpInst::ICMP_UGE) Result = 1;
lib/IR/ConstantRange.cpp
  108   case CmpInst::ICMP_UGT: {
lib/IR/Constants.cpp
 1982   case CmpInst::ICMP_EQ:  case CmpInst::ICMP_NE:  case CmpInst::ICMP_UGT:
lib/IR/Instructions.cpp
 3543     case ICMP_UGT: return ICMP_ULE;
 3546     case ICMP_ULE: return ICMP_UGT;
 3596   case ICmpInst::ICMP_UGT:   return "ugt";
 3609     case ICMP_UGT: return ICMP_SGT;
 3620     case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE:
 3622     case ICMP_SGT: return ICMP_UGT;
 3636     case ICMP_UGT: return ICMP_UGE;
 3638     case ICMP_UGE: return ICMP_UGT;
 3661     case ICMP_UGT: return ICMP_ULT;
 3662     case ICMP_ULT: return ICMP_UGT;
 3686   case ICMP_UGT: return ICMP_UGE;
 3706   case CmpInst::ICMP_UGT:
 3716     case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_ULE: case ICmpInst::ICMP_UGT:
 3757   case ICMP_NE:    case ICMP_UGT: case ICMP_ULT: case ICMP_SGT: case ICMP_SLT:
 3776   case ICMP_UGT: // A >u B implies A != B and A >=u B are true.
lib/Target/AArch64/AArch64FastISel.cpp
 2262   case CmpInst::ICMP_UGT:
lib/Target/AArch64/AArch64InstructionSelector.cpp
  863   case CmpInst::ICMP_UGT:
  887   case CmpInst::ICMP_UGT:
 2549   case CmpInst::ICMP_UGT:
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
  270     Pred = CmpInst::ICMP_UGT;
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  660   case CmpInst::ICMP_UGT:
  703   case CmpInst::ICMP_UGT:
lib/Target/ARM/ARMFastISel.cpp
 1207     case CmpInst::ICMP_UGT:
lib/Target/ARM/ARMInstructionSelector.cpp
  412   case CmpInst::ICMP_UGT:
lib/Target/Mips/MipsFastISel.cpp
  664   case CmpInst::ICMP_UGT:
lib/Target/Mips/MipsInstructionSelector.cpp
  657     case CmpInst::ICMP_UGT: // LHS >  RHS -> RHS < LHS
lib/Target/PowerPC/PPCFastISel.cpp
  240     case CmpInst::ICMP_UGT:
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
 1012   case ICmpInst::ICMP_UGT:
lib/Target/X86/X86InstrInfo.cpp
 2283   case CmpInst::ICMP_UGT: CC = X86::COND_A;       break;
lib/Target/X86/X86TargetTransformInfo.cpp
 1722       case CmpInst::Predicate::ICMP_UGT:
lib/Transforms/IPO/GlobalOpt.cpp
  930       case ICmpInst::ICMP_UGT:
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  851     auto NewPred = JoinedByAnd ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_ULE;
 1045       Pred0 == ICmpInst::ICMP_EQ && Pred1 == ICmpInst::ICMP_UGT) {
 1098     if (UnsignedPred == ICmpInst::ICMP_UGT && EqPred == ICmpInst::ICMP_EQ &&
 1120        UnsignedPred == ICmpInst::ICMP_UGT) &&
 1137   if (UnsignedPred == ICmpInst::ICMP_UGT && EqPred == ICmpInst::ICMP_EQ &&
 1319   case ICmpInst::ICMP_UGT:
 2284       else if (PredR == ICmpInst::ICMP_UGT && LHS0 == RHS0)
 2293       else if (PredL == ICmpInst::ICMP_UGT && LHS0 == RHS0)
 2392     case ICmpInst::ICMP_UGT:
 2418     case ICmpInst::ICMP_UGT: // (X u< 13 | X u> 15) -> (X-13) u> 2
lib/Transforms/InstCombine/InstCombineCalls.cpp
 1959       assert(ConstantExpr::getICmp(ICmpInst::ICMP_UGT, WidthC, ShAmtC) ==
lib/Transforms/InstCombine/InstCombineCompares.cpp
  387     return new ICmpInst(ICmpInst::ICMP_UGT, Idx, End);
 1115     return new ICmpInst(ICmpInst::ICMP_UGT, X, R);
 1121   if (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_UGE)
 1179     return getICmp(I.ICMP_UGT, A,
 1449   if (Pred == ICmpInst::ICMP_UGT && match(Op1, m_ConstantInt(CI)) &&
 1611   if (Pred == ICmpInst::ICMP_UGT) {
 1617       return new ICmpInst(ICmpInst::ICMP_UGT, X, Y);
 1622       return new ICmpInst(ICmpInst::ICMP_UGT, X,
 1626       return new ICmpInst(ICmpInst::ICMP_UGT, X,
 1853     auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_UGT
 1896       Pred = (Pred == CmpInst::ICMP_EQ) ? CmpInst::ICMP_ULE : CmpInst::ICMP_UGT;
 1981         Pred = ICmpInst::ICMP_UGT;
 2078     if (Pred == ICmpInst::ICMP_UGT) {
 2125         (Pred == ICmpInst::ICMP_ULE || Pred == ICmpInst::ICMP_UGT)) {
 2212     if (Pred == CmpInst::ICMP_ULT || (Pred == CmpInst::ICMP_UGT && IsExact)) {
 2219     if (Pred == CmpInst::ICMP_UGT) {
 2291   return new ICmpInst(ICmpInst::ICMP_UGT, And, ConstantInt::get(Ty, SignMask));
 2306   if (Cmp.getPredicate() == ICmpInst::ICMP_UGT) {
 2316     return new ICmpInst(ICmpInst::ICMP_UGT, Y,
 2477     case ICmpInst::ICMP_UGT:
 2483       if (Pred == ICmpInst::ICMP_UGT)
 2549   if (Pred == ICmpInst::ICMP_UGT && (C + 1).isPowerOf2() && (*C2 & C) == C)
 2578        (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_ULT))) {
 2615   if (Pred == ICmpInst::ICMP_UGT && (C + 1).isPowerOf2() && (*C2 & C) == 0)
 3013       auto NewPred = isICMP_NE ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_UGT;
 3095           ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_UGT;
 3120     if (Cmp.getPredicate() == ICmpInst::ICMP_UGT && C.ult(BitWidth)) {
 3132       return CmpInst::Create(Instruction::ICmp, ICmpInst::ICMP_UGT,
 3143     if (Cmp.getPredicate() == ICmpInst::ICMP_UGT && C.ult(BitWidth)) {
 3301     DstPred = ICmpInst::Predicate::ICMP_UGT;
 3303   case ICmpInst::Predicate::ICMP_UGT:
 3306     DstPred = ICmpInst::Predicate::ICMP_UGT;
 3316     DstPred = ICmpInst::Predicate::ICMP_UGT;
 3687       (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_ULE))
 3802   if (A && NoOp0WrapProblem && Pred == CmpInst::ICMP_UGT && match(B, m_One()))
 3807     return new ICmpInst(CmpInst::ICMP_UGT, 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) &&
 4093       return new ICmpInst(ICmpInst::ICMP_UGT, X, Y);
 4109     if (Pred == CmpInst::ICMP_NE || Pred == CmpInst::ICMP_UGT)
 4292         : new ICmpInst(ICmpInst::ICMP_UGT, CtPop, ConstantInt::get(Ty, 1));
 4386   assert(ICmp.getPredicate() == ICmpInst::ICMP_UGT && "ICmp should be folded!");
 4625   case ICmpInst::ICMP_UGT:
 4731   case ICmpInst::ICMP_UGT:
 4773   case ICmpInst::ICMP_UGT:
 5051   case ICmpInst::ICMP_UGT: {
 5162       UnsignedPred == ICmpInst::ICMP_ULE || UnsignedPred == ICmpInst::ICMP_UGT;
 5266   case ICmpInst::ICMP_UGT:
 5320     case ICmpInst::ICMP_UGT:
 5463     if (Pred == ICmpInst::ICMP_UGT && C->isMaxSignedValue()) {
 5682     Pred = LHSUnsigned ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_SGT;
 5755       if (Pred == ICmpInst::ICMP_NE || Pred == ICmpInst::ICMP_UGT ||
 5808       case ICmpInst::ICMP_UGT:
 5825         Pred = ICmpInst::ICMP_UGT;
lib/Transforms/InstCombine/InstCombineInternal.h
  134   case ICmpInst::ICMP_UGT:
lib/Transforms/InstCombine/InstCombineSelect.cpp
  704   assert((Pred == ICmpInst::ICMP_UGE || Pred == ICmpInst::ICMP_UGT) &&
  759   if (Pred == ICmpInst::ICMP_UGT) {
  914   if (Pred == ICmpInst::ICMP_UGT || Pred == ICmpInst::ICMP_SGT)
 1202   case ICmpInst::Predicate::ICMP_UGT:
lib/Transforms/InstCombine/InstructionCombining.cpp
 2725           return new ICmpInst(ICmpInst::ICMP_UGT, WO->getLHS(),
lib/Transforms/Scalar/GuardWidening.cpp
  633        IC->getPredicate() != ICmpInst::ICMP_UGT))
  637   if (IC->getPredicate() == ICmpInst::ICMP_UGT)
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  322   case ICmpInst::ICMP_UGT:
  648       Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_UGT)
  668     IsSigned ? CmpInst::ICMP_SGT : CmpInst::ICMP_UGT;
  698       Pred != ICmpInst::ICMP_ULT && Pred != ICmpInst::ICMP_UGT)
  893           Pred = ICmpInst::ICMP_UGT;
  907     bool GTPred = (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_UGT);
  970     bool GTPred = (Pred == ICmpInst::ICMP_SGT || Pred == ICmpInst::ICMP_UGT);
 1278           : (IsSignedPredicate ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT);
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1873         (LbBr->getSuccessor(0) == Body) ? CmpInst::ICMP_UGT : CmpInst::ICMP_SLE;
lib/Transforms/Scalar/LoopPredication.cpp
  886       return Pred != ICmpInst::ICMP_UGT && Pred != ICmpInst::ICMP_SGT &&
lib/Transforms/Utils/LoopUtils.cpp
  753     P = CmpInst::ICMP_UGT;
 1017   auto Predicate = Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
lib/Transforms/Vectorize/SLPVectorizer.cpp
 6220         case CmpInst::ICMP_UGT:
tools/clang/lib/CodeGen/CGBuiltin.cpp
 7858     case NEON::BI__builtin_neon_vcgtd_u64:P = llvm::ICmpInst::ICMP_UGT;break;
 9631     Pred = IsSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
 9728     case 6: Pred = Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; break;
11714     return EmitX86MinMax(*this, ICmpInst::ICMP_UGT, Ops);
tools/clang/lib/CodeGen/CGExprAgg.cpp
  950       return {"cmp.gt", FI::FCMP_OGT, II::ICMP_SGT, II::ICMP_UGT};
tools/clang/lib/CodeGen/CGExprScalar.cpp
  804   VISITCOMP(GT, ICMP_UGT, ICMP_SGT, FCMP_OGT)
tools/lldb/source/Expression/IRInterpreter.cpp
  563         case CmpInst::ICMP_UGT:
 1123       case CmpInst::ICMP_UGT:
tools/polly/lib/Analysis/ScopBuilder.cpp
  281   case ICmpInst::ICMP_UGT:
  508     case ICmpInst::ICMP_UGT:
tools/polly/lib/CodeGen/IslExprBuilder.cpp
  532       {CmpInst::ICMP_SGT, CmpInst::ICMP_UGT},
unittests/IR/ConstantRangeTest.cpp
 1349   EXPECT_EQ(ConstantRange::makeSatisfyingICmpRegion(ICmpInst::ICMP_UGT,
unittests/IR/PatternMatch.cpp
  155       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, 0))
  158       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, 0))
  161       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, 0))
  165       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, 1))
  168       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, 1))
  171       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, 1))
  175       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, -1))
  178       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, -1))
  181       m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_UGT, APInt(BitWidth, -1))
 1127   ICmpInst::Predicate Pred = ICmpInst::ICMP_UGT;