Searched refs:NextPowerOf2 (Results 1 - 16 of 16) sorted by relevance

/macosx-10.10.1/llvmCore-3425.0.34/unittests/Support/
H A DMathExtrasTest.cpp92 TEST(MathExtras, NextPowerOf2) {
93 EXPECT_EQ(4u, NextPowerOf2(3));
94 EXPECT_EQ(16u, NextPowerOf2(15));
95 EXPECT_EQ(256u, NextPowerOf2(128));
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Analysis/
H A DLoopIterator.h58 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) {
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/
H A DAllocator.h236 return Allocator.Allocate(Size, std::min((size_t)llvm::NextPowerOf2(Size),
H A DMathExtras.h422 /// NextPowerOf2 - Returns the next power of two (in 64-bits)
424 inline uint64_t NextPowerOf2(uint64_t A) { function in namespace:llvm
/macosx-10.10.1/objc4-646/runtime/
H A Dllvm-MathExtras.h404 /// NextPowerOf2 - Returns the next power of two (in 64-bits)
406 inline uint64_t NextPowerOf2(uint64_t A) { function in namespace:objc
416 /// NextPowerOf2 - Returns the next power of two (in 32-bits)
418 inline uint32_t NextPowerOf2(uint32_t A) { function in namespace:objc
H A Dllvm-DenseMap.h611 init(NextPowerOf2(std::distance(I, E)));
666 allocateBuckets(std::max<unsigned>(MIN_BUCKETS, NextPowerOf2(AtLeast)));
776 init(NextPowerOf2(std::distance(I, E)));
894 AtLeast = std::max<unsigned>(MIN_BUCKETS, NextPowerOf2(AtLeast));
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/ADT/
H A DDenseMap.h548 init(NextPowerOf2(std::distance(I, E)));
603 allocateBuckets(std::max<unsigned>(64, NextPowerOf2(AtLeast)));
712 init(NextPowerOf2(std::distance(I, E)));
830 AtLeast = std::max<unsigned>(64, NextPowerOf2(AtLeast));
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/
H A DTargetData.cpp378 Align = NextPowerOf2(Align);
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Target/
H A DTargetLowering.h2019 NumElts = (unsigned)NextPowerOf2(NumElts);
2061 NumElts = (unsigned)NextPowerOf2(NumElts);
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorOps.cpp415 ScalarSize = NextPowerOf2(ScalarSize);
H A DTargetLowering.cpp689 NewVTSize = NextPowerOf2(NewVTSize);
979 NewVTSize = NextPowerOf2(NewVTSize);
1167 SmallVTBits = NextPowerOf2(SmallVTBits);
1168 for (; SmallVTBits < BitWidth; SmallVTBits = NextPowerOf2(SmallVTBits)) {
H A DDAGCombiner.cpp7316 unsigned NewBW = NextPowerOf2(MSB - ShAmt);
7321 NewBW = NextPowerOf2(NewBW);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp320 NewLoadByteSize = NextPowerOf2(NewLoadByteSize);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/X86/
H A DX86FloatingPoint.cpp1511 STDefs = NextPowerOf2(STDefs) - 1;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Support/
H A DAPFloat.cpp1787 APInt IntegerConstant(NextPowerOf2(semanticsPrecision(*semantics)), 1);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DGVN.cpp1063 NewLoadSize = NextPowerOf2(NewLoadSize);

Completed in 242 milliseconds