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

References

include/llvm/ADT/APSInt.h
  177     return compareValues(*this, get(RHS)) == 0;
  180     return compareValues(*this, get(RHS)) != 0;
  183     return compareValues(*this, get(RHS)) <= 0;
  186     return compareValues(*this, get(RHS)) >= 0;
  189     return compareValues(*this, get(RHS)) < 0;
  192     return compareValues(*this, get(RHS)) > 0;
tools/clang/lib/AST/ExprConstant.cpp
 2793                                      APSInt::get(Adjustment));
tools/clang/lib/AST/MicrosoftMangle.cpp
 1503           mangleIntegerLiteral(llvm::APSInt::get(-1), /*IsBoolean=*/false);
tools/clang/lib/Sema/SemaDeclCXX.cpp
  926       S, Bindings, Src, DecompType, llvm::APSInt::get(VT->getNumElements()),
  936       S, Bindings, Src, DecompType, llvm::APSInt::get(2),
tools/clang/lib/Sema/SemaOpenMP.cpp
12996     ArraySizes.push_back(llvm::APSInt::get(1));
13021       ArraySizes.push_back(llvm::APSInt::get(1));
13040       ArraySizes.push_back(llvm::APSInt::get(1));
tools/clang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp
  960                     nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))));
  978                     nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))));
 1013                      nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))));
 1020                      nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))));
 1330                     nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))),
 1356                     nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))),
 1399                       nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))),
 1434                     nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))),
 1541                   nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))),
 2286                  nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(0))),
tools/clang/tools/extra/clang-tidy/abseil/DurationRewriter.cpp
   34     return llvm::APSInt::get(static_cast<int64_t>(Value));
tools/clang/unittests/Frontend/FixedPointString.cpp
   14   FixedPointValueToString(S, APSInt::get(320), 7);
   18   FixedPointValueToString(S, APSInt::get(0), 7);
   84   FixedPointValueToString(S, APSInt::get(-320), 7);
   88   FixedPointValueToString(S, APSInt::get(-64), 7);
unittests/ADT/APSIntTest.cpp
   44   EXPECT_TRUE(APSInt::get(7).isSigned());
   45   EXPECT_EQ(64u, APSInt::get(7).getBitWidth());
   46   EXPECT_EQ(7u, APSInt::get(7).getZExtValue());
   47   EXPECT_EQ(7, APSInt::get(7).getSExtValue());
   48   EXPECT_TRUE(APSInt::get(-7).isSigned());
   49   EXPECT_EQ(64u, APSInt::get(-7).getBitWidth());
   50   EXPECT_EQ(-7, APSInt::get(-7).getSExtValue());
   51   EXPECT_EQ(UINT64_C(0) - 7, APSInt::get(-7).getZExtValue());
   82   auto S = [](int64_t V) { return APSInt::get(V); };