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

References

include/llvm/ADT/APInt.h
 2133   return A.ugt(B) ? A : B;
include/llvm/ADT/APSInt.h
  158     return IsUnsigned ? ugt(RHS) : sgt(RHS);
include/llvm/IR/PatternMatch.h
  471       return C.ugt(*Thr);
lib/Analysis/MemoryBuiltins.cpp
  683       if (Size.ugt(MaxSize))
lib/Analysis/ScalarEvolution.cpp
10527   return (std::move(MinValue) + MaxStrideMinusOne).ugt(MinRHS);
lib/Analysis/ValueTracking.cpp
 4565         C1->ugt(*C2) && Pred == CmpInst::ICMP_UGT)
lib/CodeGen/CodeGenPrepare.cpp
 5746       if (AndBits.ugt(WidestAndBits))
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 4517         if (C1->getAPIntValue().ugt(C0->getAPIntValue()))
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 2024       case ISD::SETUGT: return getBoolConstant(C1.ugt(C2), dl, VT, OpVT);
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 2891     return I1.ugt(I01) && I1.isPowerOf2() && I01.isPowerOf2();
 5187     assert(APInt::getAllOnesValue(SVT.getSizeInBits()).ugt(A) &&
lib/ExecutionEngine/Interpreter/Execution.cpp
  251     IMPLEMENT_INTEGER_ICMP(ugt,Ty);
  252     IMPLEMENT_VECTOR_INTEGER_ICMP(ugt,Ty);
lib/IR/ConstantFold.cpp
 1873     case ICmpInst::ICMP_UGT: return ConstantInt::get(ResultTy, V1.ugt(V2));
lib/IR/ConstantRange.cpp
  313   return Lower.ugt(Upper) && !Upper.isNullValue();
  317   return Lower.ugt(Upper);
  575     APInt U = (CR.Upper - 1).ugt(Upper - 1) ? CR.Upper : Upper;
  621   APInt U = CR.Upper.ugt(Upper) ? CR.Upper : Upper;
 1171     if (MinLHS.ugt(-MinAbsRHS))
 1376   if (Min.ugt(~OtherMin))
 1378   if (Max.ugt(~OtherMax))
lib/IR/Verifier.cpp
 5393     if (OffsetEntryCI->getValue().ugt(Offset)) {
lib/Support/APInt.cpp
  757     if (A.ugt(B)) {
 1953   Overflow = Res.ugt(*this);
lib/Target/ARM/ARMCodeGenPrepare.cpp
  380     if (Total.ugt(Max.zext(Total.getBitWidth())))
  383     if (Total.zext(Max.getBitWidth()).ugt(Max))
  385   } else if (Total.ugt(Max))
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  826   if (C1->ugt(*C2))
  940           Pred == ICmpInst::ICMP_ULT && I1->ugt(*I01) && I01->shl(1) == *I1))
 1274     ShouldSwap = LHSC->getValue().ugt(RHSC->getValue());
 2224         LAddC->getValue().ugt(LHSC->getValue()) &&
 2225         RAddC->getValue().ugt(LHSC->getValue())) {
 2245             RangeDiff.ugt(LHSC->getValue())) {
 2366     ShouldSwap = LHSC->getValue().ugt(RHSC->getValue());
lib/Transforms/InstCombine/InstCombineCompares.cpp
 3425   assert(BitWidth.ugt(MaskedBits) && "shifts should leave some bits untouched");
 4978     if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) {
 5052     if (Op0Min.ugt(Op1Max)) // A >u B -> true if min(A) > max(B)
 5134     if (Op0Min.ugt(Op1Max)) // A <=u B -> false if min(A) > max(B)
lib/Transforms/InstCombine/InstCombineSelect.cpp
  179     bool ExtraBitInTC = TC.ugt(FC);
 1575       if ((SPF1 == SPF_UMIN && CB->ugt(*CC)) ||
lib/Transforms/Scalar/GuardWidening.cpp
  729             .ugt(APInt::getSignedMinValue(BitWidth)))
lib/Transforms/Utils/FunctionComparator.cpp
   69   if (L.ugt(R)) return 1;
   70   if (R.ugt(L)) return -1;
tools/clang/lib/AST/ExprConstant.cpp
 8565       if (InitBound.ugt(AllocBound)) {
tools/clang/lib/Basic/FixedPoint.cpp
   90     if (ThisVal.ugt(OtherVal))
   97     else if (ThisVal.ugt(OtherVal))
  105     else if (ThisVal.ugt(OtherVal))
  238       *Overflow = Result.isNegative() || Result.ugt(DstMax);
  240       *Overflow = Result.ugt(DstMax);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 2418     if (Size.ugt(DstSize))
 2444     if (Size.ugt(DstSize))
 2484     if (Size.ugt(DstSize))
tools/clang/lib/Lex/LiteralSupport.cpp
 1165     IntOverflowOccurred |= Val.ugt(MaxVal.zext(Val.getBitWidth()));
 1168     IntOverflowOccurred |= Val.zext(MaxVal.getBitWidth()).ugt(MaxVal);
tools/clang/lib/Sema/SemaExpr.cpp
 3551     else if (Val.ugt(MaxVal) || Overflowed)
unittests/ADT/APIntTest.cpp
  368       EXPECT_EQ(uv1 >  uv2, arg1.ugt(arg2));
  912   ASSERT_TRUE(a.ugt(c)); // Must: a > c
  931   if (b.ugt(c)) { // Test also symmetric case
 2565         if (Prod.ugt(A)) {
 2574           EXPECT_TRUE(((Quo + 1).sext(16) * B.sext(16)).ugt(A));
unittests/IR/ConstantRangeTest.cpp
   79         if (N.ugt(Max))
   85     if (Min.ugt(Max)) {
  694           if (N.ugt(Max))
  702       if (Min.ugt(Max)) {
  737               if (N.ugt(UMax))
  746           if (UMin.ugt(UMax) || SMin.sgt(SMax)) {
 2119         if (Num.ugt(MaxUnsigned)) MaxUnsigned = Num;
 2210       if (AbsN.ugt(Max))
 2215     if (Min.ugt(Max)) {