/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | ConcurrentHashtable.h | 118 countr_zero(PowerOf2Ceil(EstimatedSize / InitialNumberOfBuckets)) >> in MultiThreadAllocator() 121 EstimatedNumberOfBuckets = PowerOf2Ceil(EstimatedNumberOfBuckets); in MultiThreadAllocator() 130 InitialBucketSize = PowerOf2Ceil(InitialBucketSize); in MultiThreadAllocator()
|
H A D | DenseSet.h | 71 : DenseSetImpl(PowerOf2Ceil(std::distance(I, E))) { in DenseSetImpl() 76 : DenseSetImpl(PowerOf2Ceil(Elems.size())) { in DenseSetImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandMemCmp.cpp | 528 PowerOf2Ceil(CurLoadEntry.LoadSize * 8)) in emitLoadCompareBlock() 532 std::max(MaxLoadSize, (unsigned)PowerOf2Ceil(CurLoadEntry.LoadSize)) * 8); in emitLoadCompareBlock() 649 NeedsBSwap ? IntegerType::get(CI->getContext(), PowerOf2Ceil(Size * 8)) in getMemCmpOneBlock() 653 std::max(MaxLoadSize, (unsigned)PowerOf2Ceil(Size)) * 8); in getMemCmpOneBlock()
|
H A D | ExpandLargeFpConvert.cpp | 119 unsigned FloatWidth = PowerOf2Ceil(FPMantissaWidth); in expandFPToI() 321 unsigned FloatWidth = PowerOf2Ceil(FPMantissaWidth); in expandIToFP()
|
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | Symbols.h | 239 align(align != 1 ? align : llvm::PowerOf2Ceil(size)), in CommonSymbol()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DataLayout.cpp | 836 return Align(PowerOf2Ceil(BitWidth / 8)); in getAlignment() 852 return Align(PowerOf2Ceil(getTypeStoreSize(Ty).getKnownMinValue())); in getAlignment()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | CorrelatedValuePropagation.cpp | 703 unsigned NewWidth = std::max<unsigned>(PowerOf2Ceil(MinSignedBits), 8); in narrowSDivOrSRem() 822 unsigned NewWidth = std::max<unsigned>(PowerOf2Ceil(MaxActiveBits), 8); in narrowUDivOrURem()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | MathExtras.h | 361 inline uint64_t PowerOf2Ceil(uint64_t A) { in PowerOf2Ceil() function
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonSubtarget.cpp | 239 unsigned VecLen = PowerOf2Ceil(Ty.getVectorNumElements()); in isTypeForHVX()
|
H A D | HexagonVectorCombine.cpp | 1640 if (unsigned Pow2 = PowerOf2Ceil(Bits); Pow2 != Bits) { in getNumSignificantBits() 1751 return PowerOf2Ceil(Width); in processFxpMul() 2319 int P2Len = PowerOf2Ceil(SrcLen | DstLen); in insertb()
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | Chunks.cpp | 761 setAlignment(std::min(32U, uint32_t(PowerOf2Ceil(sym.getValue())))); in CommonChunk()
|
/freebsd/contrib/llvm-project/lld/ELF/Arch/ |
H A D | RISCV.cpp | 831 const uint64_t align = PowerOf2Ceil(r.addend + 2); in relax()
|
/freebsd/contrib/llvm-project/lldb/source/Expression/ |
H A D | IRInterpreter.cpp | 160 type_size = PowerOf2Ceil(type_size); in AssignToMatchType()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetTransformInfo.cpp | 401 unsigned SubVF = PowerOf2Ceil(VF / NumRegs); in getShuffleCost()
|
H A D | RISCVISelLowering.cpp | 4584 unsigned ViaEltSize = std::max((uint64_t)8, PowerOf2Ceil(NumElts)); in lowerBitreverseShuffle() 12920 unsigned NewElen = PowerOf2Ceil(SrcElen + ShAmtV); in narrowIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | COFFObjectFile.cpp | 163 return std::min(uint64_t(32), PowerOf2Ceil(Symb.getValue())); in getSymbolAlignment()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 3401 unsigned AnyExtSize = PowerOf2Ceil(DstTy.getSizeInBits()); in lowerLoad() 3502 unsigned AnyExtSize = PowerOf2Ceil(MemTy.getSizeInBits()); in lowerStore() 3931 return std::max(Align(PowerOf2Ceil(Ty.getSizeInBytes())), MinAlign); in getStackTemporaryAlignment() 6090 unsigned NewLen = PowerOf2Ceil(Len); in lowerBitCount()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 1619 return (PowerOf2Ceil(UniquesCntWithOpIdxLaneV) - in getSplatScore() 1621 (PowerOf2Ceil(UniquesCntWithIdxLaneV) - UniquesCntWithIdxLaneV); in getSplatScore() 5582 unsigned PWSz = PowerOf2Ceil(UniqueValues.size()); in buildTree_rec() 7127 unsigned EltsPerVector = PowerOf2Ceil(std::max( in computeExtractCost() 8051 unsigned VecScalarsSz = PowerOf2Ceil(NumElts); in getEntryCost() 8053 VecScalarsSz = PowerOf2Ceil((NumElts + NumOfParts - 1) / NumOfParts); in getEntryCost() 8058 PowerOf2Ceil(OffsetEnd - OffsetBeg + 1), in getEntryCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULegalizerInfo.cpp | 2964 ElementCount::getFixed(PowerOf2Ceil(Ty.getNumElements()))); in widenToNextPowerOf2() 2965 return LLT::scalar(PowerOf2Ceil(Ty.getSizeInBits())); in widenToNextPowerOf2() 3009 const unsigned WideMemSize = PowerOf2Ceil(MemSize); in legalizeLoad()
|
H A D | AMDGPUISelLowering.cpp | 1700 unsigned LoNumElts = PowerOf2Ceil((NumElts + 1) / 2); in getSplitDestVTs()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
H A D | MIParser.cpp | 3433 (Size != MemoryLocation::UnknownSize ? PowerOf2Ceil(Size) : 1); in parseMachineMemoryOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.cpp | 251 switch (PowerOf2Ceil(VT.getFixedSizeInBits())) { in PromoteScalarIntegerPTX()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.cpp | 4600 PowerOf2Ceil(cast<FixedVectorType>(Ty)->getNumElements()); in getScalarizationOverhead()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTContext.cpp | 2263 Align = std::clamp<unsigned>(llvm::PowerOf2Ceil(EIT->getNumBits()), in getTypeInfoImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 5556 BW = PowerOf2Ceil(MinBitWidth); in isSaturatingMinMax() 23051 NearestPow2 = PowerOf2Ceil(MaxIndex); in reduceBuildVecToShuffle()
|