|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/APInt.h 1296 bool uge(const APInt &RHS) const { return !ult(RHS); }
2128 return A.ult(B) ? A : B;
include/llvm/ADT/APSInt.h 154 return IsUnsigned ? ult(RHS) : slt(RHS);
include/llvm/IR/PatternMatch.h 475 return C.ult(*Thr);
lib/Analysis/MemoryBuiltins.cpp 482 if (Data.second.isNegative() || Data.first.ult(Data.second))
lib/Analysis/ScalarEvolution.cpp 692 return LA.ult(RA) ? -1 : 1;
2581 return LHS.ult(RHS);
5786 if (APInt::getMaxValue(StartRange.getBitWidth()).udiv(Step).ult(MaxBECount))
10503 return (std::move(MaxValue) - MaxStrideMinusOne).ult(MaxRHS);
lib/Analysis/ValueTracking.cpp 4560 C1->ult(*C2) && Pred == CmpInst::ICMP_ULT)
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 2023 case ISD::SETULT: return getBoolConstant(C1.ult(C2), dl, VT, OpVT);
lib/ExecutionEngine/Interpreter/Execution.cpp 223 IMPLEMENT_INTEGER_ICMP(ult,Ty);
224 IMPLEMENT_VECTOR_INTEGER_ICMP(ult,Ty);
lib/IR/ConstantFold.cpp 1872 case ICmpInst::ICMP_ULT: return ConstantInt::get(ResultTy, V1.ult(V2));
lib/IR/ConstantRange.cpp 335 return (Upper - Lower).ult(Other.Upper - Other.Lower);
393 return Lower.ule(V) && V.ult(Upper);
394 return Lower.ule(V) || V.ult(Upper);
460 if (Lower.ult(CR.Lower)) {
468 if (Upper.ult(CR.Upper))
477 if (Upper.ult(CR.Upper))
482 if (Lower.ult(CR.Upper))
491 if (CR.Lower.ult(Upper)) {
494 if (CR.Upper.ult(Upper))
506 if (CR.Lower.ult(Lower)) {
522 if (CR.Upper.ult(Upper)) {
525 if (CR.Lower.ult(Upper))
530 if (CR.Lower.ult(Lower))
540 if (CR.Lower.ult(Lower))
570 if (CR.Upper.ult(Lower) || Upper.ult(CR.Lower))
570 if (CR.Upper.ult(Lower) || Upper.ult(CR.Lower))
574 APInt L = CR.Lower.ult(Lower) ? CR.Lower : Lower;
599 if (Upper.ult(CR.Lower) && CR.Upper.ult(Lower))
599 if (Upper.ult(CR.Lower) && CR.Upper.ult(Lower))
605 if (Upper.ult(CR.Lower) && Lower.ule(CR.Upper))
610 assert(CR.Lower.ule(Upper) && CR.Upper.ult(Lower) &&
620 APInt L = CR.Lower.ult(Lower) ? CR.Lower : Lower;
750 if (UpperDiv.ult(LowerDiv))
1134 if (getUnsignedMax().ult(RHS.getUnsignedMin()))
1161 if (MaxLHS.ult(MinAbsRHS))
1422 if (Max.ult(OtherMin))
1424 if (Min.ult(OtherMax))
lib/Support/APInt.cpp 1138 if (this->ult(square))
1143 if (offset.ult(midpoint))
1156 assert(ult(modulo) && "This APInt must be smaller than the modulo");
1231 } while (q1.ult(delta) || (q1 == delta && r1 == 0));
1283 (q1.ult(delta) || (q1 == delta && r1 == 0)));
1598 if (lhsWords < rhsWords || this->ult(RHS))
1691 if (lhsWords < rhsWords || this->ult(RHS))
1794 if (lhsWords < rhsWords || LHS.ult(RHS)) {
1940 Overflow = Res.ult(RHS);
1984 if (Res.ult(RHS))
lib/Target/Hexagon/HexagonConstExtenders.cpp 729 return ThisF.bitcastToAPInt().ult(OtherF.bitcastToAPInt());
lib/Target/Hexagon/HexagonConstPropagation.cpp 1214 Result = Zx1.ult(Zx2);
1216 Result = Zx2.ult(Zx1);
lib/Target/X86/X86ISelLowering.cpp37608 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) {
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp 167 assert((isSigned ? Lo.slt(Hi) : Lo.ult(Hi)) &&
2230 if (LAddC->getValue().ult(RAddC->getValue()))
lib/Transforms/InstCombine/InstCombineCompares.cpp 3429 assert(KeptBits.ugt(0) && KeptBits.ult(BitWidth) && "unreachable");
3435 assert(AddCst.ult(ICmpCst) && AddCst.isPowerOf2());
4978 if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) {
5030 if (Op0Max.ult(Op1Min)) // A <u B -> true if max(A) < min(B)
5125 if (Op0Max.ult(Op1Min)) // A >=u B -> false if max(A) < min(B)
lib/Transforms/InstCombine/InstCombineSelect.cpp 1577 (SPF1 == SPF_UMAX && CB->ult(*CC)) ||
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 608 if (DemandedMask.ult(RA)) // srem won't affect demanded bits
lib/Transforms/Scalar/ConstantHoisting.cpp 653 return LHS.ConstInt->getValue().ult(RHS.ConstInt->getValue());
lib/Transforms/Scalar/GuardWidening.cpp 735 return (HighOffset - RC.getOffsetValue()).ult(MaxDiff);
lib/Transforms/Scalar/Reassociate.cpp 357 assert(LHS.ult(Threshold) && RHS.ult(Threshold) && "Weights not reduced!");
357 assert(LHS.ult(Threshold) && RHS.ult(Threshold) && "Weights not reduced!");
lib/Transforms/Utils/SimplifyCFG.cpp 941 return LHS->getValue().ult(RHS->getValue());
953 return LHS->getValue().ult(RHS->getValue()) ? 1 : -1;
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp 475 if (BitsAllowedToBeSet.ult(IdxDiff))
tools/clang/lib/AST/ExprConstant.cpp10854 return Success(Char1InMem.ult(Char2InMem) ? -1 : 1, E);
10891 return Success(Char1.getInt().ult(Char2.getInt()) ? -1 : 1, E);
tools/clang/lib/Basic/FixedPoint.cpp 92 else if (ThisVal.ult(OtherVal))
99 else if (ThisVal.ult(OtherVal))
107 else if (ThisVal.ult(OtherVal))
tools/clang/lib/CodeGen/CGStmt.cpp 1188 if (LHS.isSigned() ? RHS.slt(LHS) : RHS.ult(LHS))
1193 if (Range.ult(llvm::APInt(Range.getBitWidth(), 64))) {
tools/clang/lib/Lex/LiteralSupport.cpp 1034 OverflowOccurred |= Val.ult(CharVal);
tools/clang/lib/Sema/SemaChecking.cpp13308 if (AllowOnePastEnd ? index.ule(size) : index.ult(size))
tools/clang/lib/Sema/SemaExpr.cpp 5294 if (ArgCAT->getSize().ult(CAT->getSize())) {
tools/lldb/source/Utility/Scalar.cpp 2829 return a->m_integer.ult(b->m_integer);
unittests/ADT/APIntTest.cpp 366 EXPECT_EQ(uv1 < uv2, arg1.ult(arg2));
2566 EXPECT_TRUE(((Quo - 1).sext(16) * B.sext(16)).ult(A));
2573 if (Prod.ult(A)) {
unittests/IR/ConstantRangeTest.cpp 77 if (N.ult(Min))
692 if (N.ult(Min))
735 if (N.ult(UMin))
2118 if (Num.ult(MinUnsigned)) MinUnsigned = Num;
2208 if (AbsN.ult(Min))