Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DSmallVector.cpp51 static void report_size_overflow(size_t MinSize, size_t MaxSize);
52 static void report_size_overflow(size_t MinSize, size_t MaxSize) { in report_size_overflow() argument
54 std::to_string(MinSize) + in report_size_overflow()
80 static size_t getNewCapacity(size_t MinSize, size_t TSize, size_t OldCapacity) { in getNewCapacity() argument
85 if (MinSize > MaxSize) in getNewCapacity()
86 report_size_overflow(MinSize, MaxSize); in getNewCapacity()
98 return std::min(std::max(NewCapacity, MinSize), MaxSize); in getNewCapacity()
103 void *SmallVectorBase<Size_T>::mallocForGrow(size_t MinSize, size_t TSize, in mallocForGrow() argument
105 NewCapacity = getNewCapacity<Size_T>(MinSize, TSize, this->capacity()); in mallocForGrow()
111 void SmallVectorBase<Size_T>::grow_pod(void *FirstEl, size_t MinSize, in grow_pod() argument
[all …]
H A DOptimizedStructLayout.cpp237 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()
358 if (Queue->MinSize > MaxViableSize) return false; in performOptimizedStructLayout()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/BinaryFormat/
H A DMagic.cpp42 size_t MinSize = in identify_magic() local
44 if (Magic.size() < MinSize) in identify_magic()
131 size_t MinSize; in identify_magic() local
133 MinSize = sizeof(MachO::mach_header); in identify_magic()
135 MinSize = sizeof(MachO::mach_header_64); in identify_magic()
136 if (Magic.size() >= MinSize) in identify_magic()
141 size_t MinSize; in identify_magic() local
143 MinSize = sizeof(MachO::mach_header); in identify_magic()
145 MinSize = sizeof(MachO::mach_header_64); in identify_magic()
146 if (Magic.size() >= MinSize) in identify_magic()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/Support/
H A DBumpVector.h200 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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombinerInfo.h31 bool MinSize) in CombinerInfo() argument
34 EnableOpt(OptEnabled), EnableOptSize(OptSize), EnableMinSize(MinSize) { in CombinerInfo()
H A DLegalizerInfo.h800 unsigned MinSize = 0) {
804 LegalizeMutations::widenScalarOrEltToNextPow2(TypeIdx, MinSize));
810 unsigned MinSize = 0) {
814 LegalizeMutations::widenScalarOrEltToNextPow2(TypeIdx, MinSize));
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DSmallVector.h62 void *mallocForGrow(size_t MinSize, size_t TSize, size_t &NewCapacity);
67 void grow_pod(void *FirstEl, size_t MinSize, size_t TSize);
123 void grow_pod(size_t MinSize, size_t TSize) { in grow_pod() argument
124 Base::grow_pod(getFirstEl(), MinSize, TSize); in grow_pod()
349 void grow(size_t MinSize = 0);
353 T *mallocForGrow(size_t MinSize, size_t &NewCapacity) { in mallocForGrow() argument
356 MinSize, sizeof(T), NewCapacity)); in mallocForGrow()
424 void SmallVectorTemplateBase<T, TriviallyCopyable>::grow(size_t MinSize) { in grow() argument
426 T *NewElts = mallocForGrow(MinSize, NewCapacity); in grow()
510 void grow(size_t MinSize = 0) { this->grow_pod(MinSize, sizeof(T)); }
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
H A DAArch64O0PreLegalizerCombiner.cpp59 AArch64O0PreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64O0PreLegalizerCombinerInfo() argument
63 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64O0PreLegalizerCombinerInfo()
H A DAArch64GlobalISelUtils.cpp65 bool MinSize) { in tryEmitBZero() argument
78 if (!MinSize) { in tryEmitBZero()
H A DAArch64GlobalISelUtils.h54 bool tryEmitBZero(MachineInstr &MI, MachineIRBuilder &MIRBuilder, bool MinSize);
H A DAArch64PreLegalizerCombiner.cpp247 AArch64PreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64PreLegalizerCombinerInfo() argument
250 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64PreLegalizerCombinerInfo()
H A DAArch64PostLegalizerCombiner.cpp287 AArch64PostLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64PostLegalizerCombinerInfo() argument
291 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64PostLegalizerCombinerInfo()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
H A DLazyRandomTypeCollection.cpp159 uint32_t MinSize = Index.toArrayIndex() + 1; in ensureCapacityFor() local
161 if (MinSize <= capacity()) in ensureCapacityFor()
164 uint32_t NewCapacity = MinSize * 3 / 2; in ensureCapacityFor()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCallingConvLower.cpp45 CCValAssign::LocInfo LocInfo, int MinSize, in HandleByVal() argument
49 if (MinSize > (int)Size) in HandleByVal()
50 Size = MinSize; in HandleByVal()
H A DTargetRegisterInfo.cpp346 unsigned MinSize = getRegSizeInBits(*RCA); in getCommonSuperRegClass() local
354 if (!RC || getRegSizeInBits(*RC) < MinSize) in getCommonSuperRegClass()
372 if (getRegSizeInBits(*BestRC) == MinSize) in getCommonSuperRegClass()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPURegBankCombiner.cpp169 AMDGPURegBankCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AMDGPURegBankCombinerInfo() argument
173 /*LegalizerInfo*/ LI, EnableOpt, OptSize, MinSize), in AMDGPURegBankCombinerInfo()
H A DAMDGPUPreLegalizerCombiner.cpp183 AMDGPUPreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AMDGPUPreLegalizerCombinerInfo() argument
186 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AMDGPUPreLegalizerCombinerInfo()
H A DAMDGPUSubtarget.cpp509 unsigned MinSize = 0; in makeLIDRangeMetadata() local
547 MinSize = MaxSize = ReqdSize; in makeLIDRangeMetadata()
558 MinSize = 0; in makeLIDRangeMetadata()
563 MDNode *MaxWorkGroupSizeRange = MDB.createRange(APInt(32, MinSize), in makeLIDRangeMetadata()
H A DAMDGPUPostLegalizerCombiner.cpp286 AMDGPUPostLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AMDGPUPostLegalizerCombinerInfo() argument
290 /*LegalizerInfo*/ LI, EnableOpt, OptSize, MinSize), in AMDGPUPostLegalizerCombinerInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMSubtarget.cpp99 bool MinSize) in ARMSubtarget() argument
101 UseMulOps(UseFusedMulOps), CPUString(CPU), OptMinSize(MinSize), in ARMSubtarget()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
H A DFuzzerLoop.cpp741 size_t MinSize = -1; in ReadAndExecuteSeedCorpora() local
752 MinSize = Min(File.Size, MinSize); in ReadAndExecuteSeedCorpora()
770 SizedFiles.size(), MinSize, MaxSize, TotalSize, GetPeakRSSMb()); in ReadAndExecuteSeedCorpora()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ConditionalCompares.cpp767 bool MinSize; member in __anon6cc3cae00211::AArch64ConditionalCompares
865 if (MinSize) { in shouldConvert()
943 MinSize = MF.getFunction().hasMinSize(); in runOnMachineFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DForceFunctionAttrs.cpp44 .Case("minsize", Attribute::MinSize) in parseAttrKind()

123