| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SmallVector.cpp | 61 [[noreturn]] static void report_size_overflow(size_t MinSize, size_t MaxSize); 62 static void report_size_overflow(size_t MinSize, size_t MaxSize) { in report_size_overflow() argument 64 std::to_string(MinSize) + in report_size_overflow() 90 static size_t getNewCapacity(size_t MinSize, size_t TSize, size_t OldCapacity) { in getNewCapacity() argument 95 if (MinSize > MaxSize) in getNewCapacity() 96 report_size_overflow(MinSize, MaxSize); in getNewCapacity() 108 return std::clamp(NewCapacity, MinSize, MaxSize); in getNewCapacity() 124 void *SmallVectorBase<Size_T>::mallocForGrow(void *FirstEl, size_t MinSize, in mallocForGrow() argument 127 NewCapacity = getNewCapacity<Size_T>(MinSize, TSize, this->capacity()); in mallocForGrow() 138 void SmallVectorBase<Size_T>::grow_pod(void *FirstEl, size_t MinSize, in grow_pod() argument [all …]
|
| H A D | OptimizedStructLayout.cpp | 238 uint64_t MinSize; in performOptimizedStructLayout() member 259 uint64_t MinSize = I->Size; in performOptimizedStructLayout() local 264 MinSize = std::min(MinSize, I->Size); in performOptimizedStructLayout() 268 FlexibleFieldsByAlignment.push_back({MinSize, Head, Alignment}); in performOptimizedStructLayout() 307 Queue->MinSize = Last->Size; in performOptimizedStructLayout() 359 if (Queue->MinSize > MaxViableSize) in performOptimizedStructLayout()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/BinaryFormat/ |
| H A D | Magic.cpp | 40 size_t MinSize = in identify_magic() local 42 if (Magic.size() < MinSize) in identify_magic() 156 size_t MinSize; in identify_magic() local 158 MinSize = sizeof(MachO::mach_header); in identify_magic() 160 MinSize = sizeof(MachO::mach_header_64); in identify_magic() 161 if (Magic.size() >= MinSize) in identify_magic() 166 size_t MinSize; in identify_magic() local 168 MinSize = sizeof(MachO::mach_header); in identify_magic() 170 MinSize = sizeof(MachO::mach_header_64); in identify_magic() 171 if (Magic.size() >= MinSize) in identify_magic()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | CombinerInfo.h | 27 bool MinSize) in CombinerInfo() 30 EnableOpt(OptEnabled), EnableOptSize(OptSize), EnableMinSize(MinSize) { in CombinerInfo()
|
| H A D | LegalizerInfo.h | 884 unsigned MinSize = 0) { 888 LegalizeMutations::widenScalarOrEltToNextPow2(TypeIdx, MinSize)); 904 unsigned MinSize = 0) { 908 LegalizeMutations::widenScalarOrEltToNextPow2(TypeIdx, MinSize)); 966 unsigned MinSize = VectorSize / NumElts; in widenVectorEltsToVectorMinSize() 967 LLT NewTy = LLT::fixed_vector(NumElts, LLT::scalar(MinSize)); in widenVectorEltsToVectorMinSize()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | quarantine.h | 179 DCHECK_EQ(atomic_load_relaxed(&MinSize), 0U); in init() 186 atomic_store_relaxed(&MinSize, Size / 10 * 9); // 90% of max size. in init() 216 recycle(atomic_load_relaxed(&MinSize), Cb); in drain() 252 atomic_uptr MinSize = {}; 256 void NOINLINE recycle(uptr MinSize, Callback Cb) RELEASE(RecycleMutex) in recycle() argument 281 while (Cache.getSize() > MinSize) in recycle()
|
| H A D | size_class_map.h | 64 static const uptr MinSize = 1UL << Config::MinSizeLog; variable 66 static const uptr MidClass = MidSize / MinSize; 101 return (Size + MinSize - 1) >> Config::MinSizeLog; in getClassIdBySize()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/Support/ |
| H A D | BumpVector.h | 209 void grow(BumpVectorContext &C, size_type MinSize = 1); 234 void BumpVector<T>::grow(BumpVectorContext &C, size_t MinSize) { in grow() argument 238 if (NewCapacity < MinSize) in grow() 239 NewCapacity = MinSize; in grow()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/include/profile/ |
| H A D | MemProfData.inc | 129 MinSize = Size; 162 MinSize = newMIB.MinSize < MinSize ? newMIB.MinSize : MinSize;
|
| H A D | MIBEntryDef.inc | 34 MIBEntryDef(MinSize = 6, MinSize, uint32_t)
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | MemProfData.inc | 129 MinSize = Size; 162 MinSize = newMIB.MinSize < MinSize ? newMIB.MinSize : MinSize;
|
| H A D | MIBEntryDef.inc | 34 MIBEntryDef(MinSize = 6, MinSize, uint32_t)
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | MachOUniversal.cpp | 152 uint32_t MinSize = sizeof(MachO::fat_header); in MachOUniversalBinary() local 154 MinSize += sizeof(MachO::fat_arch) * NumberOfObjects; in MachOUniversalBinary() 156 MinSize += sizeof(MachO::fat_arch_64) * NumberOfObjects; in MachOUniversalBinary() 161 if (Buf.size() < MinSize) { in MachOUniversalBinary() 194 if (A.getOffset() < MinSize) { in MachOUniversalBinary()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | SmallVector.h | 69 void *mallocForGrow(void *FirstEl, size_t MinSize, size_t TSize, 75 void grow_pod(void *FirstEl, size_t MinSize, size_t TSize); 150 void grow_pod(size_t MinSize, size_t TSize) { in grow_pod() argument 151 Base::grow_pod(getFirstEl(), MinSize, TSize); in grow_pod() 375 void grow(size_t MinSize = 0); 379 T *mallocForGrow(size_t MinSize, size_t &NewCapacity); 446 void SmallVectorTemplateBase<T, TriviallyCopyable>::grow(size_t MinSize) { in grow() argument 448 T *NewElts = mallocForGrow(MinSize, NewCapacity); in grow() 455 size_t MinSize, size_t &NewCapacity) { in mallocForGrow() argument 458 this->getFirstEl(), MinSize, sizeof(T), NewCapacity)); in mallocForGrow() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | LazyRandomTypeCollection.cpp | 157 uint32_t MinSize = Index.toArrayIndex() + 1; in ensureCapacityFor() local 159 if (MinSize <= capacity()) in ensureCapacityFor() 162 uint32_t NewCapacity = MinSize * 3 / 2; in ensureCapacityFor()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTVector.h | 356 void grow(const ASTContext &C, size_type MinSize = 1); 380 void ASTVector<T>::grow(const ASTContext &C, size_t MinSize) { in grow() argument 384 if (NewCapacity < MinSize) in grow() 385 NewCapacity = MinSize; in grow()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64GlobalISelUtils.cpp | 65 bool MinSize) { in tryEmitBZero() argument 79 if (!MinSize) { in tryEmitBZero()
|
| H A D | AArch64GlobalISelUtils.h | 54 bool tryEmitBZero(MachineInstr &MI, MachineIRBuilder &MIRBuilder, bool MinSize);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CallingConvLower.cpp | 46 CCValAssign::LocInfo LocInfo, int MinSize, in HandleByVal() argument 50 if (MinSize > (int)Size) in HandleByVal() 51 Size = MinSize; in HandleByVal()
|
| H A D | TargetRegisterInfo.cpp | 348 unsigned MinSize = getRegSizeInBits(*RCA); in getCommonSuperRegClass() local 356 if (!RC || getRegSizeInBits(*RC) < MinSize) in getCommonSuperRegClass() 374 if (getRegSizeInBits(*BestRC) == MinSize) in getCommonSuperRegClass()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMSubtarget.cpp | 95 bool MinSize) in ARMSubtarget() argument 97 UseMulOps(UseFusedMulOps), CPUString(CPU), OptMinSize(MinSize), in ARMSubtarget()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Option/ |
| H A D | OptTable.cpp | 40 size_t MinSize = std::min(A.size(), B.size()); in StrCmpOptionNameIgnoreCase() local 41 if (int Res = A.substr(0, MinSize).compare_insensitive(B.substr(0, MinSize))) in StrCmpOptionNameIgnoreCase() 47 return (A.size() == MinSize) ? 1 /* A is a prefix of B. */ in StrCmpOptionNameIgnoreCase()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerLoop.cpp | 794 size_t MinSize = -1; in ReadAndExecuteSeedCorpora() local 798 MinSize = Min(File.Size, MinSize); in ReadAndExecuteSeedCorpora() 816 CorporaFiles.size(), MinSize, MaxSize, TotalSize, GetPeakRSSMb()); in ReadAndExecuteSeedCorpora()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ConditionalCompares.cpp | 765 bool MinSize; member in __anonc9893bab0211::AArch64ConditionalCompares 863 if (MinSize) { in shouldConvert() 941 MinSize = MF.getFunction().hasMinSize(); in runOnMachineFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUSubtarget.cpp | 500 unsigned MinSize = 0; in makeLIDRangeMetadata() local 538 MinSize = MaxSize = ReqdSize; in makeLIDRangeMetadata() 549 MinSize = 0; in makeLIDRangeMetadata() 554 MDNode *MaxWorkGroupSizeRange = MDB.createRange(APInt(32, MinSize), in makeLIDRangeMetadata()
|