Searched refs:NextPowerOf2 (Results 1 – 15 of 15) sorted by relevance
/external/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/include/llvm/Analysis/ |
D | LoopIterator.h | 58 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS()
|
/external/llvm/include/llvm/ADT/ |
D | DenseMap.h | 547 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/ |
D | Allocator.h | 236 return Allocator.Allocate(Size, std::min((size_t)llvm::NextPowerOf2(Size),
|
D | MathExtras.h | 424 inline uint64_t NextPowerOf2(uint64_t A) { in NextPowerOf2() function
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 1991 NumElts = (unsigned)NextPowerOf2(NumElts); in getTypeConversion() 2033 NumElts = (unsigned)NextPowerOf2(NumElts); in getTypeConversion()
|
/external/llvm/lib/Target/ |
D | TargetData.cpp | 376 Align = NextPowerOf2(Align); in getAlignmentInfo()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorOps.cpp | 415 ScalarSize = NextPowerOf2(ScalarSize); in ExpandStore()
|
D | TargetLowering.cpp | 683 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()
|
D | DAGCombiner.cpp | 7332 unsigned NewBW = NextPowerOf2(MSB - ShAmt); in ReduceLoadOpStoreWidth() 7337 NewBW = NextPowerOf2(NewBW); in ReduceLoadOpStoreWidth()
|
/external/llvm/lib/Analysis/ |
D | MemoryDependenceAnalysis.cpp | 320 NewLoadByteSize = NextPowerOf2(NewLoadByteSize); in getLoadLoadClobberFullWidthSize()
|
/external/llvm/lib/Target/X86/ |
D | X86FloatingPoint.cpp | 1511 STDefs = NextPowerOf2(STDefs) - 1; in handleSpecialFP()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GVN.cpp | 1063 NewLoadSize = NextPowerOf2(NewLoadSize); in GetLoadValueForLoad()
|
/external/llvm/lib/Support/ |
D | APFloat.cpp | 1787 APInt IntegerConstant(NextPowerOf2(semanticsPrecision(*semantics)), 1); in roundToIntegral()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 1242 Align = llvm::NextPowerOf2(Align); in getTypeInfoImpl()
|