|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/BitmaskEnum.h 83 return NextPowerOf2(static_cast<typename std::underlying_type<E>::type>(
include/llvm/ADT/DenseMap.h 362 return NextPowerOf2(NumEntries * 4 / 3 + 1);
776 allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
893 init(NextPowerOf2(std::distance(I, E)));
1010 AtLeast = std::max<unsigned>(64, NextPowerOf2(AtLeast-1));
include/llvm/ADT/SmallVector.h 238 size_t NewCapacity = size_t(NextPowerOf2(this->capacity() + 2));
include/llvm/Analysis/LoopIterator.h 116 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) {
include/llvm/Support/Allocator.h 515 Size, std::min((size_t)llvm::NextPowerOf2(Size), offsetof(S, x)));
include/llvm/Support/MathExtras.h 694 return NextPowerOf2(A - 1);
include/llvm/Support/OnDiskHashTable.h 167 NumEntries <= 2 ? 1 : NextPowerOf2(NumEntries * 4 / 3);
lib/Analysis/BlockFrequencyInfoImpl.cpp 181 HashTable Combined(NextPowerOf2(2 * Weights.size()));
lib/Analysis/IVDescriptors.cpp 152 MaxBitWidth = NextPowerOf2(MaxBitWidth);
lib/Analysis/MemoryDependenceAnalysis.cpp 290 NewLoadByteSize = NextPowerOf2(NewLoadByteSize);
lib/Analysis/VectorUtils.cpp 480 MinBW = NextPowerOf2(MinBW);
lib/CodeGen/GlobalISel/LegalizerHelper.cpp 2077 unsigned AnyExtSize = NextPowerOf2(DstTy.getSizeInBits());
2145 const LLT ExtendTy = LLT::scalar(NextPowerOf2(SrcTy.getSizeInBits()));
lib/CodeGen/SelectionDAG/DAGCombiner.cpp14897 unsigned NewBW = NextPowerOf2(MSB - ShAmt);
14905 NewBW = NextPowerOf2(NewBW);
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp 1065 ShiftAmountTy = MVT::getIntegerVT(NextPowerOf2(ReqShiftAmountInBits));
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 9328 NextPowerOf2(VT.getVectorNumElements()));
lib/CodeGen/SelectionDAG/TargetLowering.cpp 536 SmallVTBits = NextPowerOf2(SmallVTBits);
537 for (; SmallVTBits < BitWidth; SmallVTBits = NextPowerOf2(SmallVTBits)) {
lib/CodeGen/TargetLoweringBase.cpp 883 NumElts = (unsigned)NextPowerOf2(NumElts);
932 NumElts = (unsigned)NextPowerOf2(NumElts);
994 NewVTSize = NextPowerOf2(NewVTSize);
1449 NewVTSize = NextPowerOf2(NewVTSize);
lib/ExecutionEngine/Interpreter/Execution.cpp 1185 return (NextPowerOf2(valueWidth-1) - 1) & orgShiftAmount;
lib/Support/APFloat.cpp 1861 APInt IntegerConstant(NextPowerOf2(semanticsPrecision(*semantics)), 1);
lib/Support/StringMap.cpp 30 return NextPowerOf2(NumEntries * 4 / 3 + 1);
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp 310 unsigned BitWidth = NextPowerOf2(VT.getSizeInBits() - 1);
lib/Target/X86/X86FloatingPoint.cpp 1571 STDefs = NextPowerOf2(STDefs) - 1;
lib/Transforms/IPO/LowerTypeTests.cpp 847 DesiredPadding = NextPowerOf2(InitSize - 1) - InitSize;
lib/Transforms/Utils/SimplifyCFG.cpp 5444 uint64_t TableSizePowOf2 = NextPowerOf2(std::max(7ULL, TableSize - 1ULL));
lib/Transforms/Utils/SimplifyLibCalls.cpp 949 unsigned char Width = NextPowerOf2(std::max((unsigned char)7, Max));
lib/Transforms/Utils/VNCoercion.cpp 420 NewLoadSize = NextPowerOf2(NewLoadSize);
lib/Transforms/Vectorize/SLPVectorizer.cpp 5169 MaxBitWidth = NextPowerOf2(MaxBitWidth);
tools/clang/lib/AST/ASTContext.cpp 1851 Align = llvm::NextPowerOf2(Align);
2195 Width = llvm::NextPowerOf2(Width);
tools/clang/lib/CodeGen/CGExprScalar.cpp 1606 llvm::ConstantInt::get(MTy, llvm::NextPowerOf2(LHSElts - 1) - 1);
tools/lld/ELF/SyntheticSections.cpp 2283 maskWords = NextPowerOf2(numBits / (config->wordsize * 8));
2526 return std::max<size_t>(NextPowerOf2(symbols.size() * 4 / 3), 1024);
tools/lldb/source/Expression/IRInterpreter.cpp 352 resolved_value.zextOrTrunc(llvm::NextPowerOf2(constant_size) * 8));
tools/llvm-dwp/llvm-dwp.cpp 303 std::vector<unsigned> Buckets(NextPowerOf2(3 * IndexEntries.size() / 2));
unittests/Support/MathExtrasTest.cpp 268 EXPECT_EQ(4u, NextPowerOf2(3));
269 EXPECT_EQ(16u, NextPowerOf2(15));
270 EXPECT_EQ(256u, NextPowerOf2(128));