| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/ |
| H A D | DependencyScanningService.h | 51 LLVM_MARK_AS_BITMASK_ENUM(Id), All = llvm::NextPowerOf2(Id) - 1
|
| /freebsd/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 | 2466 APInt IntegerConstant(NextPowerOf2(APFloat::semanticsPrecision(*semantics)), in roundToIntegral()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | LoopIterator.h | 116 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | BitmaskEnum.h | 129 return NextPowerOf2(largest_bitmask_enum_bit<E>::value) - 1;
|
| H A D | DenseMap.h | 454 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries() 859 64, static_cast<unsigned>(NextPowerOf2(AtLeast - 1)))); in grow() 976 init(NextPowerOf2(std::distance(I, E))); in SmallDenseMap() 1096 AtLeast = std::max<unsigned>(64, NextPowerOf2(AtLeast - 1)); in grow()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | RegisterBankEmitter.cpp | 297 uint32_t BitSize = NextPowerOf2(Log2_32(NumRegBanks)); in emitBaseClassImplementation()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | TypeSize.h | 265 static_cast<ScalarTy>(llvm::NextPowerOf2(getKnownMinValue())), in coefficientNextPowerOf2()
|
| H A D | Allocator.h | 458 return Allocator.Allocate(Size, std::min((size_t)llvm::NextPowerOf2(Size), in new()
|
| H A D | MathExtras.h | 382 constexpr uint64_t NextPowerOf2(uint64_t A) { in NextPowerOf2() function
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/ |
| H A D | CIRTypes.cpp | 730 return llvm::NextPowerOf2(dataLayout.getTypeSizeInBits(*this)); in getABIAlignment()
|
| H A D | CIRDialect.cpp | 1957 const uint64_t maskBits = llvm::NextPowerOf2(numElements - 1) - 1; in fold()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | BlockFrequencyInfoImpl.cpp | 203 HashTable Combined(NextPowerOf2(2 * Weights.size())); in combineWeightsByHashing()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeTypes.cpp | 1034 ShiftAmountTy = MVT::getIntegerVT(NextPowerOf2(ReqShiftAmountInBits)); in SplitInteger()
|
| /freebsd/contrib/llvm-project/llvm/lib/DWP/ |
| H A D | DWP.cpp | 502 std::vector<unsigned> Buckets(NextPowerOf2(3 * IndexEntries.size() / 2)); in writeIndex()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | ELF_riscv.cpp | 584 const auto Align = NextPowerOf2(E.getAddend()); in relaxAlign()
|
| /freebsd/contrib/llvm-project/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 380 resolved_value.zextOrTrunc(llvm::NextPowerOf2(constant_size) * 8)); in ResolveConstant()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FloatingPoint.cpp | 1660 STDefs = NextPowerOf2(STDefs) - 1; in handleSpecialFP()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | LowerTypeTests.cpp | 876 DesiredPadding = NextPowerOf2(InitSize - 1) - InitSize; in buildBitSetsFromGlobalVariables()
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | SyntheticSections.cpp | 2465 maskWords = NextPowerOf2(numBits / (ctx.arg.wordsize * 8)); in finalizeContents() 3420 return std::max<size_t>(NextPowerOf2(symbols.size() * 4 / 3), 1024); in computeSymtabSize()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 1146 return (NextPowerOf2(valueWidth-1) - 1) & orgShiftAmount; in getShiftAmount()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/ |
| H A D | LowerToLLVM.cpp | 2336 uint64_t maskBits = llvm::NextPowerOf2(numElements - 1) - 1; in matchAndRewrite()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 486 unsigned BitWidth = NextPowerOf2(VT.getSizeInBits() - 1); in getScalarShiftAmountTy()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 1460 unsigned char Width = NextPowerOf2(std::max((unsigned char)7, Max)); in optimizeMemChr()
|
| H A D | SimplifyCFG.cpp | 7036 uint64_t TableSizePowOf2 = NextPowerOf2(std::max(7ULL, TableSize - 1ULL)); in switchToLookupTable()
|