Home
last modified time | relevance | path

Searched refs:NextPowerOf2 (Results 1 – 25 of 75) sorted by relevance

123

/external/swiftshader/third_party/LLVM/unittests/Support/
DMathExtrasTest.cpp92 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/
DMathExtrasTest.cpp205 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/
DMathExtrasTest.cpp249 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/
DLoopIterator.h58 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS()
/external/llvm/include/llvm/Analysis/
DLoopIterator.h57 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DBitmaskEnum.h84 return NextPowerOf2(static_cast<typename std::underlying_type<E>::type>(
DDenseMap.h358 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/
DBitmaskEnum.h84 return NextPowerOf2(static_cast<typename std::underlying_type<E>::type>(
DDenseMap.h318 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/
DStringMap.cpp31 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries()
/external/llvm/lib/Support/
DStringMap.cpp28 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DStringMap.cpp30 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DDenseMap.h333 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/
DAllocator.h236 return Allocator.Allocate(Size, std::min((size_t)llvm::NextPowerOf2(Size),
DMathExtras.h410 static inline uint64_t NextPowerOf2(uint64_t A) { in NextPowerOf2() function
/external/capstone/
DMathExtras.h370 static inline uint64_t NextPowerOf2(uint64_t A) { in NextPowerOf2() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DLoopIterator.h117 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS()
/external/llvm/lib/IR/
DDataLayout.cpp498 Align = NextPowerOf2(Align); in getAlignmentInfo()
512 Align = NextPowerOf2(Align); in getAlignmentInfo()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h627 inline uint64_t NextPowerOf2(uint64_t A) {
649 return NextPowerOf2(A - 1);
DAllocator.h432 Size, std::min((size_t)llvm::NextPowerOf2(Size), offsetof(S, x))); in new()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DMathExtras.h640 inline uint64_t NextPowerOf2(uint64_t A) {
662 return NextPowerOf2(A - 1);
DAllocator.h455 Size, std::min((size_t)llvm::NextPowerOf2(Size), offsetof(S, x))); in new()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp780 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/
DAllocator.h429 Size, std::min((size_t)llvm::NextPowerOf2(Size), offsetof(S, x))); in new()
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp1039 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()

123