Home
last modified time | relevance | path

Searched refs:maxUIntN (Results 1 – 3 of 3) sorted by relevance

/external/llvm/unittests/Support/
DMathExtrasTest.cpp131 TEST(MathExtras, maxUIntN) { in TEST() argument
132 EXPECT_EQ(0xffffULL, maxUIntN(16)); in TEST()
133 EXPECT_EQ(0xffffffffULL, maxUIntN(32)); in TEST()
134 EXPECT_EQ(1ULL, maxUIntN(1)); in TEST()
135 EXPECT_EQ(0x0fULL, maxUIntN(4)); in TEST()
/external/llvm/include/llvm/Support/
DMathExtras.h316 inline uint64_t maxUIntN(uint64_t N) {
339 return N >= 64 || x <= maxUIntN(N);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h332 inline uint64_t maxUIntN(uint64_t N) {
361 return N >= 64 || x <= maxUIntN(N);