/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | MathExtrasTest.cpp | 92 TEST(MathExtras, NextPowerOf2) { in TEST() argument 93 EXPECT_EQ(4u, NextPowerOf2(3)); in TEST() 94 EXPECT_EQ(16u, NextPowerOf2(15)); in TEST() 95 EXPECT_EQ(256u, NextPowerOf2(128)); in TEST()
|
/external/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 205 TEST(MathExtras, NextPowerOf2) { in TEST() argument 206 EXPECT_EQ(4u, NextPowerOf2(3)); in TEST() 207 EXPECT_EQ(16u, NextPowerOf2(15)); in TEST() 208 EXPECT_EQ(256u, NextPowerOf2(128)); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 249 TEST(MathExtras, NextPowerOf2) { in TEST() argument 250 EXPECT_EQ(4u, NextPowerOf2(3)); in TEST() 251 EXPECT_EQ(16u, NextPowerOf2(15)); in TEST() 252 EXPECT_EQ(256u, NextPowerOf2(128)); in TEST()
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | LoopIterator.h | 58 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS()
|
/external/llvm/include/llvm/Analysis/ |
D | LoopIterator.h | 57 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | BitmaskEnum.h | 84 return NextPowerOf2(static_cast<typename std::underlying_type<E>::type>(
|
D | DenseMap.h | 358 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries() 732 allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1)))); in grow() 845 init(NextPowerOf2(std::distance(I, E))); in SmallDenseMap() 962 AtLeast = std::max<unsigned>(64, NextPowerOf2(AtLeast-1)); in grow()
|
/external/llvm/include/llvm/ADT/ |
D | BitmaskEnum.h | 84 return NextPowerOf2(static_cast<typename std::underlying_type<E>::type>(
|
D | DenseMap.h | 318 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries() 671 allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1)))); in grow() 778 init(NextPowerOf2(std::distance(I, E))); in SmallDenseMap() 895 AtLeast = std::max<unsigned>(64, NextPowerOf2(AtLeast-1)); in grow()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | StringMap.cpp | 31 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries()
|
/external/llvm/lib/Support/ |
D | StringMap.cpp | 28 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | StringMap.cpp | 30 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | DenseMap.h | 333 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries() 669 allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1)))); in grow() 778 init(NextPowerOf2(std::distance(I, E))); in SmallDenseMap() 895 AtLeast = std::max<unsigned>(64, NextPowerOf2(AtLeast-1)); in grow()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | Allocator.h | 236 return Allocator.Allocate(Size, std::min((size_t)llvm::NextPowerOf2(Size),
|
D | MathExtras.h | 410 static inline uint64_t NextPowerOf2(uint64_t A) { in NextPowerOf2() function
|
/external/capstone/ |
D | MathExtras.h | 370 static inline uint64_t NextPowerOf2(uint64_t A) { in NextPowerOf2() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | LoopIterator.h | 117 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS()
|
/external/llvm/lib/IR/ |
D | DataLayout.cpp | 498 Align = NextPowerOf2(Align); in getAlignmentInfo() 512 Align = NextPowerOf2(Align); in getAlignmentInfo()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MathExtras.h | 627 inline uint64_t NextPowerOf2(uint64_t A) { 649 return NextPowerOf2(A - 1);
|
D | Allocator.h | 432 Size, std::min((size_t)llvm::NextPowerOf2(Size), offsetof(S, x))); in new()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | MathExtras.h | 640 inline uint64_t NextPowerOf2(uint64_t A) { 662 return NextPowerOf2(A - 1);
|
D | Allocator.h | 455 Size, std::min((size_t)llvm::NextPowerOf2(Size), offsetof(S, x))); in new()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | TargetLoweringBase.cpp | 780 NumElts = (unsigned)NextPowerOf2(NumElts); in getTypeConversion() 829 NumElts = (unsigned)NextPowerOf2(NumElts); in getTypeConversion() 891 NewVTSize = NextPowerOf2(NewVTSize); in getVectorTypeBreakdownMVT() 1326 NewVTSize = NextPowerOf2(NewVTSize); in getVectorTypeBreakdown()
|
/external/llvm/include/llvm/Support/ |
D | Allocator.h | 429 Size, std::min((size_t)llvm::NextPowerOf2(Size), offsetof(S, x))); in new()
|
/external/llvm/lib/CodeGen/ |
D | TargetLoweringBase.cpp | 1039 NumElts = (unsigned)NextPowerOf2(NumElts); in getTypeConversion() 1088 NumElts = (unsigned)NextPowerOf2(NumElts); in getTypeConversion() 1150 NewVTSize = NextPowerOf2(NewVTSize); in getVectorTypeBreakdownMVT() 1555 NewVTSize = NextPowerOf2(NewVTSize); in getVectorTypeBreakdown()
|