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

References

include/llvm/ADT/APInt.h
 1304   bool uge(uint64_t RHS) const { return !ult(RHS); }
lib/Analysis/BasicAliasAnalysis.cpp
 1445         if (GEP1BaseOffset.ult(V2Size.getValue()))
 1460         if ((-GEP1BaseOffset).ult(V1Size.getValue()))
lib/Analysis/InstructionSimplify.cpp
 2398             LHSOffsetValue.ult(LHSSize) &&
 2399             RHSOffsetValue.ult(RHSSize)) {
lib/Analysis/Lint.cpp
  531     Assert(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()),
  538     Assert(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()),
  545     Assert(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()),
  629     Assert(CI->getValue().ult(I.getVectorOperandType()->getNumElements()),
  636     Assert(CI->getValue().ult(I.getType()->getNumElements()),
lib/Analysis/ScalarEvolution.cpp
 4536       if (SA->getValue().ult(BitWidth)) {
 6382         if (BO->Op && SA->getValue().ult(BitWidth - 1))
 6426         if (ShlAmtCI && ShlAmtCI->getValue().ult(BitWidth)) {
lib/Analysis/ValueTracking.cpp
 5456     if (match(BO.getOperand(1), m_APInt(C)) && C->ult(Width)) {
 5477     if (match(BO.getOperand(1), m_APInt(C)) && C->ult(Width)) {
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 4584             SRLC.ult(VT.getSizeInBits()) &&
 7360       return (c1 + c2).ult(OpSizeInBits);
 7402              (c1 + c2).ult(OpSizeInBits);
 7427       return c1.ult(VT.getScalarSizeInBits()) && (c1 == c2);
 7467       if (N0C1->getAPIntValue().ult(OpSizeInBits)) {
 7769       return (c1 + c2).ult(OpSizeInBits);
16944       if (CstElt->getAPIntValue().ult(NumElts))
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
 2809     if (APInt::getMaxValue(ShiftAmtTy.getSizeInBits()).ult(HalfBits)) {
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 2389     if (ShAmt.ult(BitWidth))
 3162     if (ConstEltNo && ConstEltNo->getAPIntValue().ult(NumSrcElts)) {
 3181     if (CEltNo && CEltNo->getAPIntValue().ult(NumElts)) {
 3765     if (CEltNo && CEltNo->getAPIntValue().ult(NumElts)) {
 3814     if (ConstEltNo && ConstEltNo->getAPIntValue().ult(NumSrcElts))
lib/CodeGen/SelectionDAG/TargetLowering.cpp
  708     if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements()) &&
  845     if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements())) {
 1294             if (SA2->getAPIntValue().ult(BitWidth)) {
 1400             if (SA2->getAPIntValue().ult(BitWidth)) {
 1808       if (CIdx->getAPIntValue().ult(NumSrcElts))
 2317     if (CIdx && CIdx->getAPIntValue().ult(NumElts)) {
 5672   if (APInt::getMaxValue(ShiftAmountTy.getSizeInBits()).ult(ShiftAmount)) {
lib/IR/ConstantFold.cpp
 1255         if (C2V.ult(C1V.getBitWidth()))
 1259         if (C2V.ult(C1V.getBitWidth()))
 1263         if (C2V.ult(C1V.getBitWidth()))
lib/Support/APInt.cpp
 1631   if (this->ult(RHS))
 1723   if (this->ult(RHS))
 1861   if (LHS.ult(RHS)) {
lib/Target/ARM/ARMISelLowering.cpp
11602       if (Const->getAPIntValue().ult(256))
15448     assert(Pos->getAPIntValue().ult(NumSrcElts) &&
lib/Target/X86/X86ISelDAGToDAG.cpp
 2391   return CR->getUnsignedMax().ult(1ull << 32);
lib/Target/X86/X86ISelLowering.cpp
25866       if (Cst1 && Cst2 && Cst1->getAPIntValue().ult(EltSizeInBits) &&
25867           Cst2->getAPIntValue().ult(EltSizeInBits)) {
34318     assert(Amt->getAPIntValue().ult(NumElts) && "Out of range shift amount");
34357     assert(Amt->getAPIntValue().ult(NumElts) && "Out of range shift amount");
34760           if (Shift2Imm->getAPIntValue().ult(BitWidth)) {
34865     if (CIdx && CIdx->getAPIntValue().ult(NumVecElts)) {
34903     if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements())) {
35006     if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements()) &&
37650         if (Diff.ult(10)) {
40112       if (Val.ult(Min) || Val.ugt(Max))
43376     if (ShAmt.ult(BitWidth)) { // Avoid undefined shifts.
lib/Target/X86/X86Subtarget.cpp
  134       if (CR->getUnsignedMax().ult(128))
lib/Transforms/InstCombine/InstCombineCasts.cpp
  830       if (Cst->getValue().ult(DestSize)) {
lib/Transforms/InstCombine/InstCombineCompares.cpp
 3120     if (Cmp.getPredicate() == ICmpInst::ICMP_UGT && C.ult(BitWidth)) {
 3143     if (Cmp.getPredicate() == ICmpInst::ICMP_UGT && C.ult(BitWidth)) {
lib/Transforms/InstCombine/InstCombineShifts.cpp
  373   if (InnerShiftConst->ugt(OuterShAmt) && InnerShiftConst->ult(TypeWidth)) {
 1000     if (match(Op0, m_Shl(m_Value(X), m_APInt(ShOp1))) && ShOp1->ult(BitWidth)) {
 1001       if (ShOp1->ult(ShAmt)) {
 1180   if (match(Op1, m_APInt(ShAmtAPInt)) && ShAmtAPInt->ult(BitWidth)) {
 1195         ShOp1->ult(BitWidth)) {
 1214         ShOp1->ult(BitWidth)) {
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  268     if (EEIIndexC && EEIIndexC->getValue().ult(VWidth)) {
lib/Transforms/Scalar/SROA.cpp
 1225     MaxSize = MaxSize.ult(Size) ? APInt(APWidth, Size) : MaxSize;
tools/clang/lib/CodeGen/CGExprCXX.cpp
  754     if (adjustedCount.ult(minElements))
tools/clang/lib/Sema/SemaInit.cpp
 2873       if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen))
 2895       if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen))
unittests/ADT/APIntTest.cpp
  376       EXPECT_EQ(uv1 <  uv2, arg1.ult(uv2));
  392   EXPECT_TRUE( APInt(8, 1).ult(256));
  413   EXPECT_TRUE(!u64.ult(uint64max));
  430   EXPECT_TRUE( s64.ult(uint64max));
  447   EXPECT_TRUE(!big.ult(uint64max));
  488   EXPECT_TRUE(!a.ult(edge));
  492   EXPECT_TRUE( a.ult(edgeP1));
  496   EXPECT_TRUE(!a.ult(edgeM1));
 2533           EXPECT_TRUE(((Quo - 1).zext(16) * B.zext(16)).ult(Ai));