Home
last modified time | relevance | path

Searched refs:maxIntN (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DMathExtrasTest.cpp146 TEST(MathExtras, maxIntN) { in TEST() argument
147 EXPECT_EQ(32767, maxIntN(16)); in TEST()
148 EXPECT_EQ(2147483647, maxIntN(32)); in TEST()
149 EXPECT_EQ(std::numeric_limits<int32_t>::max(), maxIntN(32)); in TEST()
150 EXPECT_EQ(std::numeric_limits<int64_t>::max(), maxIntN(64)); in TEST()
/external/llvm/unittests/Support/
DMathExtrasTest.cpp121 TEST(MathExtras, maxIntN) { in TEST() argument
122 EXPECT_EQ(32767, maxIntN(16)); in TEST()
123 EXPECT_EQ(2147483647, maxIntN(32)); in TEST()
/external/llvm/include/llvm/Support/
DMathExtras.h330 inline int64_t maxIntN(int64_t N) {
345 return N >= 64 || (minIntN(N) <= x && x <= maxIntN(N));
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h350 inline int64_t maxIntN(int64_t N) {
367 return N >= 64 || (minIntN(N) <= x && x <= maxIntN(N));
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DMathExtras.h384 inline int64_t maxIntN(int64_t N) {
399 return N >= 64 || (minIntN(N) <= x && x <= maxIntN(N));
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/MCTargetDesc/
DAVRAsmBackend.cpp44 int64_t Max = maxIntN(Width); in signed_width()