Home
last modified time | relevance | path

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

/external/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/include/llvm/Analysis/
DLoopIterator.h58 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS()
/external/llvm/include/llvm/ADT/
DDenseMap.h547 init(NextPowerOf2(std::distance(I, E))); in DenseMap()
602 allocateBuckets(std::max<unsigned>(64, NextPowerOf2(AtLeast))); in grow()
711 init(NextPowerOf2(std::distance(I, E))); in SmallDenseMap()
829 AtLeast = std::max<unsigned>(64, NextPowerOf2(AtLeast)); in grow()
/external/llvm/include/llvm/Support/
DAllocator.h236 return Allocator.Allocate(Size, std::min((size_t)llvm::NextPowerOf2(Size),
DMathExtras.h424 inline uint64_t NextPowerOf2(uint64_t A) { in NextPowerOf2() function
/external/llvm/include/llvm/Target/
DTargetLowering.h1991 NumElts = (unsigned)NextPowerOf2(NumElts); in getTypeConversion()
2033 NumElts = (unsigned)NextPowerOf2(NumElts); in getTypeConversion()
/external/llvm/lib/Target/
DTargetData.cpp376 Align = NextPowerOf2(Align); in getAlignmentInfo()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp415 ScalarSize = NextPowerOf2(ScalarSize); in ExpandStore()
DTargetLowering.cpp683 NewVTSize = NextPowerOf2(NewVTSize); in getVectorTypeBreakdownMVT()
973 NewVTSize = NextPowerOf2(NewVTSize); in getVectorTypeBreakdown()
1162 SmallVTBits = NextPowerOf2(SmallVTBits); in ShrinkDemandedOp()
1163 for (; SmallVTBits < BitWidth; SmallVTBits = NextPowerOf2(SmallVTBits)) { in ShrinkDemandedOp()
DDAGCombiner.cpp7332 unsigned NewBW = NextPowerOf2(MSB - ShAmt); in ReduceLoadOpStoreWidth()
7337 NewBW = NextPowerOf2(NewBW); in ReduceLoadOpStoreWidth()
/external/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp320 NewLoadByteSize = NextPowerOf2(NewLoadByteSize); in getLoadLoadClobberFullWidthSize()
/external/llvm/lib/Target/X86/
DX86FloatingPoint.cpp1511 STDefs = NextPowerOf2(STDefs) - 1; in handleSpecialFP()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1063 NewLoadSize = NextPowerOf2(NewLoadSize); in GetLoadValueForLoad()
/external/llvm/lib/Support/
DAPFloat.cpp1787 APInt IntegerConstant(NextPowerOf2(semanticsPrecision(*semantics)), 1); in roundToIntegral()
/external/clang/lib/AST/
DASTContext.cpp1242 Align = llvm::NextPowerOf2(Align); in getTypeInfoImpl()