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

References

include/llvm/ADT/APInt.h
 1312   bool sge(const APInt &RHS) const { return !slt(RHS); }
 2118   return A.slt(B) ? A : B;
include/llvm/ADT/APSInt.h
  154     return IsUnsigned ? ult(RHS) : slt(RHS);
include/llvm/CodeGen/BasicTTIImpl.h
  354       if (CaseVal.slt(MinCaseVal))
include/llvm/IR/PatternMatch.h
  483       return C.slt(*Thr);
lib/Analysis/DependenceAnalysis.cpp
 1474   return A.slt(B) ? A : B;
lib/Analysis/MemoryBuiltins.cpp
  800       if (TrueResult.slt(FalseResult))
lib/Analysis/ScalarEvolution.cpp
 8500     return XW.slt(YW) ? *X : *Y;
10495     return (std::move(MaxValue) - MaxStrideMinusOne).slt(MaxRHS);
lib/Analysis/ValueTracking.cpp
 4550         C1->slt(*C2) && Pred == CmpInst::ICMP_SLT)
lib/CodeGen/GlobalISel/IRTranslator.cpp
  769                             : a.Low->getValue().slt(b.Low->getValue());
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 2027       case ISD::SETLT:  return getBoolConstant(C1.slt(C2), dl, VT, OpVT);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
10119              a.Low->getValue().slt(b.Low->getValue());
10286     return X.Low->getValue().slt(CC.Low->getValue());
10294   assert(W.FirstCluster->Low->getValue().slt(W.LastCluster->Low->getValue()) &&
lib/CodeGen/SwitchLoweringUtils.cpp
   52     assert(Clusters[i - 1].High->getValue().slt(Clusters[i].Low->getValue()));
  210       assert(PreviousHigh.slt(Low));
  272     assert(Clusters[i-1].High->getValue().slt(Clusters[i].Low->getValue()));
  378   assert(Low.slt(High));
  466     return a.Low->getValue().slt(b.Low->getValue());
lib/ExecutionEngine/Interpreter/Execution.cpp
  237     IMPLEMENT_INTEGER_ICMP(slt,Ty);
  238     IMPLEMENT_VECTOR_INTEGER_ICMP(slt,Ty);
lib/IR/ConstantFold.cpp
 1868     case ICmpInst::ICMP_SLT: return ConstantInt::get(ResultTy, V1.slt(V2));
lib/IR/ConstantRange.cpp
  972   auto Compare = [](const APInt &A, const APInt &B) { return A.slt(B); };
 1400       Max.slt(SignedMin - OtherMax))
 1407       Min.slt(SignedMin - OtherMin))
 1446       Max.slt(SignedMin + OtherMin))
 1453       Min.slt(SignedMin + OtherMax))
lib/IR/Metadata.cpp
  999     if (ALow->getValue().slt(BLow->getValue())) {
lib/Target/Hexagon/HexagonConstPropagation.cpp
 1224     Result = Sx1.slt(Sx2);
 1226     Result = Sx2.slt(Sx1);
lib/Target/X86/X86ISelLowering.cpp
36700     if (TrueVal.slt(FalseVal)) {
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  167   assert((isSigned ? Lo.slt(Hi) : Lo.ult(Hi)) &&
lib/Transforms/InstCombine/InstCombineCompares.cpp
 5074     if (Op0Max.slt(Op1Min)) // A <s B -> true if max(A) < min(C)
 5107     if (Op0Max.slt(Op1Min)) // A >=s B -> false if max(A) < min(B)
lib/Transforms/InstCombine/InstCombineSelect.cpp
 1578           (SPF1 == SPF_SMAX && CB->slt(*CC))) {
lib/Transforms/Scalar/GuardWidening.cpp
  719       return LHS.getOffsetValue().slt(RHS.getOffsetValue());
lib/Transforms/Scalar/MergeICmps.cpp
  110     return BaseId != O.BaseId ? BaseId < O.BaseId : Offset.slt(O.Offset);
lib/Transforms/Utils/LowerSwitch.cpp
  123       return CI1->getValue().slt(CI2->getValue());
lib/Transforms/Utils/SimplifyCFG.cpp
 5333     if (CaseVal->getValue().slt(MinCaseVal->getValue()))
tools/clang/lib/Basic/FixedPoint.cpp
   87     else if (ThisVal.slt(OtherVal))
tools/clang/lib/CodeGen/CGStmt.cpp
 1188   if (LHS.isSigned() ? RHS.slt(LHS) : RHS.ult(LHS))
tools/lldb/source/Utility/Scalar.cpp
 2823     return a->m_integer.slt(b->m_integer);
unittests/ADT/APIntTest.cpp
  371       EXPECT_EQ(sv1 <  sv2, arg1.slt(arg2));
  522   EXPECT_TRUE(!One.slt(One));
  523   EXPECT_TRUE(!Two.slt(One));
  524   EXPECT_TRUE(MinusOne.slt(One));
  525   EXPECT_TRUE(MinusTwo.slt(One));
  527   EXPECT_TRUE(One.slt(Two));
  528   EXPECT_TRUE(!Two.slt(Two));
  529   EXPECT_TRUE(MinusOne.slt(Two));
  530   EXPECT_TRUE(MinusTwo.slt(Two));
  532   EXPECT_TRUE(!One.slt(MinusOne));
  533   EXPECT_TRUE(!Two.slt(MinusOne));
  534   EXPECT_TRUE(!MinusOne.slt(MinusOne));
  535   EXPECT_TRUE(MinusTwo.slt(MinusOne));
  537   EXPECT_TRUE(!One.slt(MinusTwo));
  538   EXPECT_TRUE(!Two.slt(MinusTwo));
  539   EXPECT_TRUE(!MinusOne.slt(MinusTwo));
  540   EXPECT_TRUE(!MinusTwo.slt(MinusTwo));
unittests/IR/ConstantRangeTest.cpp
  114         if (N.slt(Min))
  659           if (N.slt(Min))
  731               if (N.slt(SMin))
 2120         if (Num.slt(MinSigned)) MinSigned = Num;