Home
last modified time | relevance | path

Searched refs:MinSize (Results 1 – 25 of 64) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DSmallVector.cpp61 [[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 DOptimizedStructLayout.cpp238 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 DMagic.cpp40 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 DCombinerInfo.h27 bool MinSize) in CombinerInfo()
30 EnableOpt(OptEnabled), EnableOptSize(OptSize), EnableMinSize(MinSize) { in CombinerInfo()
H A DLegalizerInfo.h884 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 Dquarantine.h179 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 Dsize_class_map.h64 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 DBumpVector.h209 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 DMemProfData.inc129 MinSize = Size;
162 MinSize = newMIB.MinSize < MinSize ? newMIB.MinSize : MinSize;
H A DMIBEntryDef.inc34 MIBEntryDef(MinSize = 6, MinSize, uint32_t)
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DMemProfData.inc129 MinSize = Size;
162 MinSize = newMIB.MinSize < MinSize ? newMIB.MinSize : MinSize;
H A DMIBEntryDef.inc34 MIBEntryDef(MinSize = 6, MinSize, uint32_t)
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DMachOUniversal.cpp152 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 DSmallVector.h69 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 DLazyRandomTypeCollection.cpp157 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 DASTVector.h356 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 DAArch64GlobalISelUtils.cpp65 bool MinSize) { in tryEmitBZero() argument
79 if (!MinSize) { in tryEmitBZero()
H A DAArch64GlobalISelUtils.h54 bool tryEmitBZero(MachineInstr &MI, MachineIRBuilder &MIRBuilder, bool MinSize);
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DCallingConvLower.cpp46 CCValAssign::LocInfo LocInfo, int MinSize, in HandleByVal() argument
50 if (MinSize > (int)Size) in HandleByVal()
51 Size = MinSize; in HandleByVal()
H A DTargetRegisterInfo.cpp348 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 DARMSubtarget.cpp95 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 DOptTable.cpp40 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 DFuzzerLoop.cpp794 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 DAArch64ConditionalCompares.cpp765 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 DAMDGPUSubtarget.cpp500 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()

123