Searched refs:NextPowerOf2 (Results 1 – 20 of 20) sorted by relevance
| /freebsd-10-stable/contrib/llvm/include/llvm/Analysis/ |
| D | LoopIterator.h | 57 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS()
|
| /freebsd-10-stable/contrib/llvm/include/llvm/ADT/ |
| D | DenseMap.h | 567 init(NextPowerOf2(std::distance(I, E))); in DenseMap() 622 allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1)))); in grow() 731 init(NextPowerOf2(std::distance(I, E))); in SmallDenseMap() 849 AtLeast = std::max<unsigned>(64, NextPowerOf2(AtLeast-1)); in grow()
|
| D | SmallVector.h | 272 size_t NewCapacity = size_t(NextPowerOf2(CurCapacity+2)); in grow()
|
| /freebsd-10-stable/contrib/llvm/include/llvm/Support/ |
| D | Allocator.h | 239 return Allocator.Allocate(Size, std::min((size_t)llvm::NextPowerOf2(Size),
|
| D | MathExtras.h | 546 inline uint64_t NextPowerOf2(uint64_t A) { in NextPowerOf2() function
|
| /freebsd-10-stable/contrib/llvm/lib/MC/ |
| D | MCModuleYAML.cpp | 58 : InstEnumValueByName(NextPowerOf2(MII.getNumOpcodes())), in InstrRegInfoHolder() 59 RegEnumValueByName(NextPowerOf2(MRI.getNumRegs())), MII(MII), MRI(MRI) { in InstrRegInfoHolder()
|
| /freebsd-10-stable/contrib/llvm/include/llvm/Target/ |
| D | TargetLowering.h | 1529 NumElts = (unsigned)NextPowerOf2(NumElts); in getTypeConversion() 1577 NumElts = (unsigned)NextPowerOf2(NumElts); in getTypeConversion()
|
| /freebsd-10-stable/contrib/llvm/lib/IR/ |
| D | DataLayout.cpp | 398 Align = NextPowerOf2(Align); in getAlignmentInfo()
|
| /freebsd-10-stable/contrib/llvm/lib/CodeGen/ |
| D | TargetLoweringBase.cpp | 874 NewVTSize = NextPowerOf2(NewVTSize); in getVectorTypeBreakdownMVT() 1169 NewVTSize = NextPowerOf2(NewVTSize); in getVectorTypeBreakdown()
|
| /freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/ |
| D | CGRecordLayoutBuilder.cpp | 352 llvm::NextPowerOf2(StorageBits % LongBits - 1); in LayoutBitfields()
|
| D | CGExprScalar.cpp | 929 llvm::NextPowerOf2(LHSElts-1)-1); in VisitShuffleVectorExpr()
|
| /freebsd-10-stable/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| D | LegalizeVectorOps.cpp | 551 ScalarSize = NextPowerOf2(ScalarSize); in ExpandStore()
|
| D | TargetLowering.cpp | 340 SmallVTBits = NextPowerOf2(SmallVTBits); in ShrinkDemandedOp() 341 for (; SmallVTBits < BitWidth; SmallVTBits = NextPowerOf2(SmallVTBits)) { in ShrinkDemandedOp()
|
| D | DAGCombiner.cpp | 8327 unsigned NewBW = NextPowerOf2(MSB - ShAmt); in ReduceLoadOpStoreWidth() 8332 NewBW = NextPowerOf2(NewBW); in ReduceLoadOpStoreWidth()
|
| /freebsd-10-stable/contrib/llvm/lib/Analysis/ |
| D | MemoryDependenceAnalysis.cpp | 326 NewLoadByteSize = NextPowerOf2(NewLoadByteSize); in getLoadLoadClobberFullWidthSize()
|
| /freebsd-10-stable/contrib/llvm/lib/Target/X86/ |
| D | X86FloatingPoint.cpp | 1512 STDefs = NextPowerOf2(STDefs) - 1; in handleSpecialFP()
|
| /freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/ |
| D | GVN.cpp | 1165 NewLoadSize = NextPowerOf2(NewLoadSize); in GetLoadValueForLoad()
|
| /freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
| D | Execution.cpp | 1131 return (NextPowerOf2(valueWidth-1) - 1) & orgShiftAmount; in getShiftAmount()
|
| /freebsd-10-stable/contrib/llvm/lib/Support/ |
| D | APFloat.cpp | 1830 APInt IntegerConstant(NextPowerOf2(semanticsPrecision(*semantics)), 1); in roundToIntegral()
|
| /freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/ |
| D | ASTContext.cpp | 1480 Align = llvm::NextPowerOf2(Align); in getTypeInfoImpl() 1713 Width = llvm::NextPowerOf2(Width); in getTypeInfoImpl()
|