| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | StringMap.cpp | 28 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries()
|
| H A D | APFloat.cpp | 2335 APInt IntegerConstant(NextPowerOf2(semanticsPrecision(*semantics)), 1); in roundToIntegral()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | BitmaskEnum.h | 124 return NextPowerOf2(largest_bitmask_enum_bit<E>::value) - 1;
|
| H A D | DenseMap.h | 419 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries() 833 allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1)))); in grow() 952 init(NextPowerOf2(std::distance(I, E))); in SmallDenseMap() 1072 AtLeast = std::max<unsigned>(64, NextPowerOf2(AtLeast-1)); in grow()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | LoopIterator.h | 116 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | TypeSize.h | 249 static_cast<ScalarTy>(llvm::NextPowerOf2(getKnownMinValue())), in coefficientNextPowerOf2()
|
| H A D | Allocator.h | 443 return Allocator.Allocate(Size, std::min((size_t)llvm::NextPowerOf2(Size), in new()
|
| H A D | MathExtras.h | 349 constexpr inline uint64_t NextPowerOf2(uint64_t A) { in NextPowerOf2() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | BlockFrequencyInfoImpl.cpp | 203 HashTable Combined(NextPowerOf2(2 * Weights.size())); in combineWeightsByHashing()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeTypes.cpp | 1032 ShiftAmountTy = MVT::getIntegerVT(NextPowerOf2(ReqShiftAmountInBits)); in SplitInteger()
|
| H A D | SelectionDAG.cpp | 12363 NextPowerOf2(VT.getVectorNumElements())); in WidenVector()
|
| H A D | TargetLowering.cpp | 598 SmallVTBits < BitWidth; SmallVTBits = NextPowerOf2(SmallVTBits)) { in ShrinkDemandedOp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DWP/ |
| H A D | DWP.cpp | 481 std::vector<unsigned> Buckets(NextPowerOf2(3 * IndexEntries.size() / 2)); in writeIndex()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | ELF_riscv.cpp | 581 const auto Align = NextPowerOf2(E.getAddend()); in relaxAlign()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 382 resolved_value.zextOrTrunc(llvm::NextPowerOf2(constant_size) * 8)); in ResolveConstant()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FloatingPoint.cpp | 1641 STDefs = NextPowerOf2(STDefs) - 1; in handleSpecialFP()
|
| /freebsd-14.2/contrib/llvm-project/lld/ELF/ |
| H A D | SyntheticSections.cpp | 2381 maskWords = NextPowerOf2(numBits / (config->wordsize * 8)); in finalizeContents() 2714 return std::max<size_t>(NextPowerOf2(symbols.size() * 4 / 3), 1024); in computeSymtabSize()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | LowerTypeTests.cpp | 854 DesiredPadding = NextPowerOf2(InitSize - 1) - InitSize; in buildBitSetsFromGlobalVariables()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 1182 return (NextPowerOf2(valueWidth-1) - 1) & orgShiftAmount; in getShiftAmount()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 427 unsigned BitWidth = NextPowerOf2(VT.getSizeInBits() - 1); in getScalarShiftAmountTy()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 1456 unsigned char Width = NextPowerOf2(std::max((unsigned char)7, Max)); in optimizeMemChr()
|
| H A D | SimplifyCFG.cpp | 6751 uint64_t TableSizePowOf2 = NextPowerOf2(std::max(7ULL, TableSize - 1ULL)); in SwitchToLookupTable()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 3223 unsigned PrevPow2 = NextPowerOf2(CurrNumElements) / 2; in getMemoryOpCost()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 1665 llvm::ConstantInt::get(MTy, llvm::NextPowerOf2(LHSElts - 1) - 1); in VisitShuffleVectorExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULegalizerInfo.cpp | 475 unsigned RoundedSize = NextPowerOf2(SizeInBits); in shouldWidenLoad()
|