Home
last modified time | relevance | path

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

12

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
HDTypeSize.h51 uint64_t MinSize; // The known minimum size. variable
56 constexpr TypeSize(uint64_t MinSize, bool Scalable) in TypeSize() argument
57 : MinSize(MinSize), IsScalable(Scalable) {} in TypeSize()
63 static constexpr TypeSize Scalable(uint64_t MinSize) { in Scalable() argument
64 return TypeSize(MinSize, /*IsScalable=*/true); in Scalable()
71 return std::tie(LHS.MinSize, LHS.IsScalable) ==
72 std::tie(RHS.MinSize, RHS.IsScalable);
92 return LHS.MinSize < RHS.MinSize;
110 return { MinSize * RHS, IsScalable };
114 return { LHS * RHS.MinSize, RHS.IsScalable };
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/BinaryFormat/
HDMagic.cpp41 size_t MinSize = in identify_magic() local
43 if (Magic.size() < MinSize) in identify_magic()
130 size_t MinSize; in identify_magic() local
132 MinSize = sizeof(MachO::mach_header); in identify_magic()
134 MinSize = sizeof(MachO::mach_header_64); in identify_magic()
135 if (Magic.size() >= MinSize) in identify_magic()
140 size_t MinSize; in identify_magic() local
142 MinSize = sizeof(MachO::mach_header); in identify_magic()
144 MinSize = sizeof(MachO::mach_header_64); in identify_magic()
145 if (Magic.size() >= MinSize) in identify_magic()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
HDMachOUniversal.cpp132 uint32_t MinSize = sizeof(MachO::fat_header); in MachOUniversalBinary() local
134 MinSize += sizeof(MachO::fat_arch) * NumberOfObjects; in MachOUniversalBinary()
136 MinSize += sizeof(MachO::fat_arch_64) * NumberOfObjects; in MachOUniversalBinary()
141 if (Buf.size() < MinSize) { in MachOUniversalBinary()
174 if (A.getOffset() < MinSize) { in MachOUniversalBinary()
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
HDquarantine.h184 atomic_store_relaxed(&MinSize, Size / 10 * 9); // 90% of max size. in initLinkerInitialized()
209 recycle(atomic_load_relaxed(&MinSize), Cb); in drain()
244 atomic_uptr MinSize;
248 void NOINLINE recycle(uptr MinSize, Callback Cb) {
272 while (Cache.getSize() > MinSize)
HDsize_class_map.h40 static const uptr MinSize = 1UL << MinSizeLog; variable
42 static const uptr MidClass = MidSize / MinSize;
68 return (Size + MinSize - 1) >> MinSizeLog; in getClassIdBySize()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/Support/
HDBumpVector.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()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
HDCombinerInfo.h31 bool MinSize) in CombinerInfo() argument
34 EnableOpt(OptEnabled), EnableOptSize(OptSize), EnableMinSize(MinSize) { in CombinerInfo()
HDLegalizerInfo.h712 unsigned MinSize = 0) {
716 LegalizeMutations::widenScalarOrEltToNextPow2(TypeIdx, MinSize));
722 unsigned MinSize = 0) {
726 LegalizeMutations::widenScalarOrEltToNextPow2(TypeIdx, MinSize));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
HDAArch64PreLegalizerCombiner.cpp46 AArch64PreLegalizerCombinerInfo(bool EnableOpt, bool OptSize, bool MinSize, in AArch64PreLegalizerCombinerInfo() argument
49 /*LegalizerInfo*/ nullptr, EnableOpt, OptSize, MinSize), in AArch64PreLegalizerCombinerInfo()
HDAArch64ConditionalCompares.cpp767 bool MinSize; member in __anonae141cec0211::AArch64ConditionalCompares
865 if (MinSize) { in shouldConvert()
943 MinSize = MF.getFunction().hasMinSize(); in runOnMachineFunction()
HDAArch64A57FPLoadBalancing.cpp417 unsigned MinSize = L.front()->size() - SizeFuzz; in getAndEraseNext() local
419 if ((*I)->size() <= MinSize) { in getAndEraseNext()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
HDLazyRandomTypeCollection.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()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
HDASTVector.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-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDCallingConvLower.cpp44 CCValAssign::LocInfo LocInfo, int MinSize, in HandleByVal() argument
49 if (MinSize > (int)Size) in HandleByVal()
50 Size = MinSize; in HandleByVal()
HDTargetRegisterInfo.cpp307 unsigned MinSize = getRegSizeInBits(*RCA); in getCommonSuperRegClass() local
315 if (!RC || getRegSizeInBits(*RC) < MinSize) in getCommonSuperRegClass()
333 if (getRegSizeInBits(*BestRC) == MinSize) in getCommonSuperRegClass()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
HDSmallVector.h208 void grow(size_t MinSize = 0);
233 void SmallVectorTemplateBase<T, TriviallyCopyable>::grow(size_t MinSize) { in grow() argument
234 if (MinSize > UINT32_MAX) in grow()
239 NewCapacity = std::min(std::max(NewCapacity, MinSize), size_t(UINT32_MAX)); in grow()
299 void grow(size_t MinSize = 0) { this->grow_pod(MinSize, sizeof(T)); }
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
HDARMSubtarget.cpp99 bool MinSize) in ARMSubtarget() argument
101 CPUString(CPU), OptMinSize(MinSize), IsLittle(IsLittle), in ARMSubtarget()
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
HDFuzzerLoop.cpp730 size_t MinSize = -1; in ReadAndExecuteSeedCorpora() local
734 MinSize = Min(File.Size, MinSize); in ReadAndExecuteSeedCorpora()
752 CorporaFiles.size(), MinSize, MaxSize, TotalSize, GetPeakRSSMb()); in ReadAndExecuteSeedCorpora()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
HDAMDGPUSubtarget.cpp433 unsigned MinSize = 0; in makeLIDRangeMetadata() local
470 MinSize = MaxSize = mdconst::extract<ConstantInt>( in makeLIDRangeMetadata()
482 MinSize = 0; in makeLIDRangeMetadata()
487 MDNode *MaxWorkGroupSizeRange = MDB.createRange(APInt(32, MinSize), in makeLIDRangeMetadata()
HDAMDGPUInline.cpp119 && !Caller->hasFnAttribute(Attribute::MinSize)) in getInlineThreshold()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
HDForceFunctionAttrs.cpp37 .Case("minsize", Attribute::MinSize) in parseAttrKind()
HDHotColdSplitting.cpp154 if (!F.hasFnAttribute(Attribute::MinSize)) { in markFunctionCold()
155 F.addFnAttr(Attribute::MinSize); in markFunctionCold()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
HDEHStreamer.cpp48 unsigned MinSize = LSize < RSize ? LSize : RSize; in sharedTypeIDs() local
51 for (; Count != MinSize; ++Count) in sharedTypeIDs()
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCGCleanup.cpp269 unsigned MinSize = cast<EHCleanupScope>(*it).getFixupDepth(); in popNullFixups() local
270 assert(BranchFixups.size() >= MinSize && "fixup stack out of order"); in popNullFixups()
272 while (BranchFixups.size() > MinSize && in popNullFixups()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
HDCallingConvLower.h461 int MinSize, int MinAlign, ISD::ArgFlagsTy ArgFlags);

12