| /llvm-project-15.0.7/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::min(std::max(NewCapacity, MinSize), MaxSize); in getNewCapacity() 113 void *SmallVectorBase<Size_T>::mallocForGrow(size_t MinSize, size_t TSize, in mallocForGrow() argument 115 NewCapacity = getNewCapacity<Size_T>(MinSize, TSize, this->capacity()); in mallocForGrow() 121 void SmallVectorBase<Size_T>::grow_pod(void *FirstEl, size_t MinSize, in grow_pod() argument [all …]
|
| H A D | OptimizedStructLayout.cpp | 237 uint64_t MinSize; in performOptimizedStructLayout() member 258 uint64_t MinSize = I->Size; in performOptimizedStructLayout() local 263 MinSize = std::min(MinSize, I->Size); in performOptimizedStructLayout() 267 FlexibleFieldsByAlignment.push_back({MinSize, Head, Alignment}); in performOptimizedStructLayout() 306 Queue->MinSize = Last->Size; in performOptimizedStructLayout() 359 if (Queue->MinSize > MaxViableSize) return false; in performOptimizedStructLayout()
|
| /llvm-project-15.0.7/llvm/lib/BinaryFormat/ |
| H A D | Magic.cpp | 40 size_t MinSize = in identify_magic() local 42 if (Magic.size() < MinSize) in identify_magic() 142 size_t MinSize; in identify_magic() local 144 MinSize = sizeof(MachO::mach_header); in identify_magic() 146 MinSize = sizeof(MachO::mach_header_64); in identify_magic() 147 if (Magic.size() >= MinSize) in identify_magic() 152 size_t MinSize; in identify_magic() local 154 MinSize = sizeof(MachO::mach_header); in identify_magic() 156 MinSize = sizeof(MachO::mach_header_64); in identify_magic() 157 if (Magic.size() >= MinSize) in identify_magic()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/benchmarks/ |
| H A D | malloc_benchmark.cpp | 48 static const size_t MinSize = 8; variable 54 ->Range(MinSize, MaxSize); 56 ->Range(MinSize, MaxSize); 59 ->Range(MinSize, MaxSize);
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | quarantine.h | 178 DCHECK_EQ(atomic_load_relaxed(&MinSize), 0U); in init() 185 atomic_store_relaxed(&MinSize, Size / 10 * 9); // 90% of max size. in init() 206 recycle(atomic_load_relaxed(&MinSize), Cb); in drain() 241 atomic_uptr MinSize = {}; 245 void NOINLINE recycle(uptr MinSize, Callback Cb) { in recycle() argument 269 while (Cache.getSize() > MinSize) in recycle()
|
| H A D | size_class_map.h | 61 static const uptr MinSize = 1UL << Config::MinSizeLog; variable 63 static const uptr MidClass = MidSize / MinSize; 98 return (Size + MinSize - 1) >> Config::MinSizeLog; in getClassIdBySize()
|
| /llvm-project-15.0.7/compiler-rt/include/profile/ |
| H A D | MemProfData.inc | 123 MinSize = Size; 143 MinSize = newMIB.MinSize < MinSize ? newMIB.MinSize : MinSize;
|
| H A D | MIBEntryDef.inc | 34 MIBEntryDef(MinSize = 6, MinSize, uint32_t)
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | MemProfData.inc | 123 MinSize = Size; 143 MinSize = newMIB.MinSize < MinSize ? newMIB.MinSize : MinSize;
|
| H A D | MIBEntryDef.inc | 34 MIBEntryDef(MinSize = 6, MinSize, uint32_t)
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | CombinerInfo.h | 30 bool MinSize) in CombinerInfo() argument 33 EnableOpt(OptEnabled), EnableOptSize(OptSize), EnableMinSize(MinSize) { in CombinerInfo()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/Support/ |
| H A D | BumpVector.h | 200 void grow(BumpVectorContext &C, size_type MinSize = 1); 225 void BumpVector<T>::grow(BumpVectorContext &C, size_t MinSize) { in grow() argument 229 if (NewCapacity < MinSize) in grow() 230 NewCapacity = MinSize; in grow()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsPostLegalizerCombiner.cpp | 47 MipsPostLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in MipsPostLegalizerCombinerInfo() argument 50 /*LegalizerInfo*/ LI, EnableOpt, OptSize, MinSize), in MipsPostLegalizerCombinerInfo()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64O0PreLegalizerCombiner.cpp | 59 AArch64O0PreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64O0PreLegalizerCombinerInfo() argument 63 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64O0PreLegalizerCombinerInfo()
|
| 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);
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | SmallVector.h | 62 void *mallocForGrow(size_t MinSize, size_t TSize, size_t &NewCapacity); 67 void grow_pod(void *FirstEl, size_t MinSize, size_t TSize); 119 void grow_pod(size_t MinSize, size_t TSize) { in grow_pod() argument 120 Base::grow_pod(getFirstEl(), MinSize, TSize); in grow_pod() 345 void grow(size_t MinSize = 0); 349 T *mallocForGrow(size_t MinSize, size_t &NewCapacity) { in mallocForGrow() argument 352 MinSize, sizeof(T), NewCapacity)); in mallocForGrow() 420 void SmallVectorTemplateBase<T, TriviallyCopyable>::grow(size_t MinSize) { in grow() argument 422 T *NewElts = mallocForGrow(MinSize, NewCapacity); in grow() 506 void grow(size_t MinSize = 0) { this->grow_pod(MinSize, sizeof(T)); }
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/ |
| H A D | LazyRandomTypeCollection.cpp | 160 uint32_t MinSize = Index.toArrayIndex() + 1; in ensureCapacityFor() local 162 if (MinSize <= capacity()) in ensureCapacityFor() 165 uint32_t NewCapacity = MinSize * 3 / 2; in ensureCapacityFor()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | CallingConvLower.cpp | 43 CCValAssign::LocInfo LocInfo, int MinSize, in HandleByVal() argument 47 if (MinSize > (int)Size) in HandleByVal() 48 Size = MinSize; in HandleByVal()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | MemoryProfileInfo.cpp | 35 uint64_t MinSize, in getAllocType() argument 37 if (((float)MaxAccessCount) / MinSize < MemProfAccessesPerByteColdThreshold && in getAllocType()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | minsize-litpools.ll | 4 ; CodeGen should be able to set and reset the MinSize subtarget-feature, and
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | MemoryProfileInfo.h | 33 AllocationType getAllocType(uint64_t MaxAccessCount, uint64_t MinSize,
|
| /llvm-project-15.0.7/llvm/test/Transforms/FunctionSpecialization/ |
| H A D | function-specialization-minsize2.ll | 3 ; Checks for callsites that have been annotated with MinSize. No specialisation
|