Home
last modified time | relevance | path

Searched refs:getSize (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.h53 virtual uint32_t getSize() { return BTF::CommonTypeSize; } in getSize() function
95 uint32_t getSize() override { return BTFTypeBase::getSize() + sizeof(uint32_t); } in getSize() function
107 uint32_t getSize() override { in getSize() function
108 return BTFTypeBase::getSize() + EnumValues.size() * BTF::BTFEnumSize; in getSize()
120 uint32_t getSize() override { return BTFTypeBase::getSize() + BTF::BTFArraySize; } in getSize() function
134 uint32_t getSize() override { in getSize() function
135 return BTFTypeBase::getSize() + Members.size() * BTF::BTFMemberSize; in getSize()
151 uint32_t getSize() override { in getSize() function
152 return BTFTypeBase::getSize() + Parameters.size() * BTF::BTFParamSize; in getSize()
164 uint32_t getSize() override { return BTFTypeBase::getSize(); } in getSize() function
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.h57 size_t getSize() const override { return size; } in getSize() function
108 size_t getSize() const override { return size; } in getSize() function
142 size_t getSize() const override { return 0; } in getSize() function
149 size_t getSize() const override;
161 size_t getSize() const override { return headerSize + hashSize; } in getSize() function
177 size_t getSize() const override { return size; } in getSize() function
187 size_t getSize() const override { return size; } in getSize() function
364 size_t getSize() const override;
384 size_t getSize() const override;
397 size_t getSize() const override { return size; } in getSize() function
[all …]
/freebsd/contrib/llvm-project/lld/MachO/
H A DWriter.cpp95 uint32_t getSize() const override { return sizeof(dyld_info_command); } in getSize() function in __anoneb56ad3f0111::LCDyldInfo
100 c->cmdsize = getSize(); in writeTo()
134 uint32_t getSize() const override { in getSize() function in __anoneb56ad3f0111::LCSubFramework
144 c->cmdsize = getSize(); in writeTo()
160 uint32_t getSize() const override { return sizeof(linkedit_data_command); } in getSize() function in __anoneb56ad3f0111::LCFunctionStarts
165 c->cmdsize = getSize(); in writeTo()
179 uint32_t getSize() const override { return sizeof(linkedit_data_command); } in getSize() function in __anoneb56ad3f0111::LCDataInCode
184 c->cmdsize = getSize(); in writeTo()
200 uint32_t getSize() const override { return sizeof(dysymtab_command); } in getSize() function in __anoneb56ad3f0111::LCDysymtab
205 c->cmdsize = getSize(); in writeTo()
[all …]
H A DSyntheticSections.h82 uint64_t getSize() const final { return llvm::alignTo(getRawSize(), align); } in getSize() function
90 uint64_t getSize() const override;
107 uint64_t getSize() const override { return target->pageZeroSize; } in getSize() function
121 uint64_t getSize() const override { in getSize() function
283 uint64_t getSize() const override;
309 uint64_t getSize() const override;
342 uint64_t getSize() const override;
362 uint64_t getSize() const override;
555 uint64_t getSize() const override { return size; } in getSize() function
569 uint64_t getSize() const override { return size; } in getSize() function
[all …]
H A DConcatOutputSection.cpp129 isecAddr = alignToPowerOf2(isecAddr, isec->align) + isec->getSize(); in needsThunks()
130 if (isecAddr - addr + in.stubs->getSize() <= in needsThunks()
175 isecEnd = alignToPowerOf2(isecEnd, isec->align) + isec->getSize(); in estimateStubsInRangeVA()
185 in.stubs->getSize() - forwardBranchRange; in estimateStubsInRangeVA()
188 ", stubs = " + std::to_string(in.stubs->getSize()) + ", isecVA = " + in estimateStubsInRangeVA()
201 size += isec->getSize(); in finalizeOne()
253 inputs[finalIdx]->getSize(); in finalize()
/freebsd/contrib/llvm-project/lld/COFF/
H A DChunks.h67 size_t getSize() const;
162 virtual size_t getSize() const = 0;
245 size_t getSize() const { return header->SizeOfRawData; } in getSize() function
417 inline size_t Chunk::getSize() const { in getSize() function
419 return static_cast<const SectionChunk *>(this)->getSize(); in getSize()
420 return static_cast<const NonSectionChunk *>(this)->getSize(); in getSize()
498 size_t getSize() const override;
512 size_t getSize() const override { return sym.getValue(); } in getSize() function
524 size_t getSize() const override { return str.size() + 1; } in getSize() function
564 size_t getSize() const override { return sizeof(importThunkX86); } in getSize() function
[all …]
H A DDLL.cpp44 size_t getSize() const override { in getSize() function in lld::coff::__anon0bfb8df40111::HintNameChunk
51 memset(buf, 0, getSize()); in writeTo()
68 size_t getSize() const override { return ctx.config.wordsize; } in getSize() function in lld::coff::__anon0bfb8df40111::LookupChunk
92 size_t getSize() const override { return ctx.config.wordsize; } in getSize() function in lld::coff::__anon0bfb8df40111::OrdinalOnlyChunk
114 size_t getSize() const override { return sizeof(ImportDirectoryTableEntry); } in getSize() function in lld::coff::__anon0bfb8df40111::ImportDirectoryChunk
117 memset(buf, 0, getSize()); in writeTo()
135 size_t getSize() const override { return size; } in getSize() function in lld::coff::__anon0bfb8df40111::NullChunk
177 size_t getSize() const override { in getSize() function in lld::coff::__anon0bfb8df40111::DelayDirectoryChunk
182 memset(buf, 0, getSize()); in writeTo()
320 size_t getSize() const override { return sizeof(thunkX64); } in getSize() function in lld::coff::__anon0bfb8df40111::ThunkChunkX64
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DArrayRecycler.h49 __asan_unpoison_memory_region(Entry, Capacity::get(Idx).getSize()); in pop()
51 __msan_allocated_memory(Entry, Capacity::get(Idx).getSize()); in pop()
63 __asan_poison_memory_region(Ptr, Capacity::get(Idx).getSize()); in push()
84 size_t getSize() const { return size_t(1u) << Index; } in getSize() function
130 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align)); in allocate()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h71 uptr getSize() const { return atomic_load_relaxed(&Size); } in getSize() function
90 addToSize(From->getSize()); in transfer()
163 void addToSize(uptr add) { atomic_store_relaxed(&Size, getSize() + add); } in addToSize()
164 void subFromSize(uptr sub) { atomic_store_relaxed(&Size, getSize() - sub); } in subFromSize()
198 return Cache.getSize() == 0U; in isEmpty()
203 if (C->getSize() > getCacheSize()) in put()
212 needRecycle = Cache.getSize() > getMaxSize(); in drain()
267 const uptr CacheSize = Cache.getSize(); in recycle()
281 while (Cache.getSize() > MinSize) in recycle()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOUniversal.cpp170 bigSize += A.getSize(); in MachOUniversalBinary()
214 A.getOffset() < B.getOffset() + B.getSize()) || in MachOUniversalBinary()
215 (A.getOffset() + A.getSize() > B.getOffset() && in MachOUniversalBinary()
216 A.getOffset() + A.getSize() < B.getOffset() + B.getSize()) || in MachOUniversalBinary()
218 A.getOffset() + A.getSize() >= B.getOffset() + B.getSize())) { in MachOUniversalBinary()
222 Twine(A.getSize()) + ", overlaps cputype (" + Twine(B.getCPUType()) + in MachOUniversalBinary()
225 + Twine(B.getSize())); in MachOUniversalBinary()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp97 if (B.getSize() == 0) // Empty blocks are not valid C-strings. in isCStringBlock()
102 return B.getSize() == 1; in isCStringBlock()
104 for (size_t I = 0; I != B.getSize() - 1; ++I) in isCStringBlock()
108 return B.getContent()[B.getSize() - 1] == '\0'; in isCStringBlock()
112 return OS << B.getAddress() << " -- " << (B.getAddress() + B.getSize()) in operator <<()
114 << "size = " << formatv("{0:x8}", B.getSize()) << ", " in operator <<()
124 << "): size: " << formatv("{0:x8}", Sym.getSize()) in operator <<()
176 if (SplitIndex == B.getSize()) in splitBlock()
179 assert(SplitIndex < B.getSize() && "SplitIndex out of range"); in splitBlock()
236 if (Sym->getOffset() + Sym->getSize() > SplitIndex) in splitBlock()
[all …]
H A DJITLinkMemoryManager.cpp47 return LHS->getSize() < RHS->getSize(); in BasicLayout()
59 Seg.ContentSize += B->getSize(); in BasicLayout()
66 SegEndOffset += B->getSize(); in BasicLayout()
116 Seg.Addr += B->getSize(); in apply()
121 B->getSize()); in apply()
123 {Seg.WorkingMem + Seg.NextWorkingMemOffset, B->getSize()}); in apply()
124 Seg.NextWorkingMemOffset += B->getSize(); in apply()
132 Seg.Addr += B->getSize(); in apply()
H A Dx86_64.cpp101 assert(GOTEntryBlock.getSize() == G.getPointerSize() && in optimizeGOTAndStubAccesses()
164 assert(StubBlock.getSize() == sizeof(PointerJumpStubContent) && in optimizeGOTAndStubAccesses()
170 assert(GOTBlock.getSize() == G.getPointerSize() && in optimizeGOTAndStubAccesses()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp152 (unsigned)Context.toBits(getSize(Type)))); in getStorageType()
161 CharUnits getSize(llvm::Type *Type) const { in getSize() function
283 CharUnits Size = NVBaseType ? Layout.getNonVirtualSize() : Layout.getSize(); in lower()
315 isNoUniqueAddress ? Layout.getDataSize() : Layout.getSize(); in lowerUnion()
328 if (LayoutSize < getSize(FieldType)) in lowerUnion()
358 getSize(FieldType) > getSize(StorageType))) in lowerUnion()
366 if (LayoutSize < getSize(StorageType)) in lowerUnion()
369 appendPaddingBytes(LayoutSize - getSize(StorageType)); in lowerUnion()
372 assert((Layout.getSize() % StorageAlignment == 0 || in lowerUnion()
626 if (getSize(Type) == AccessSize) in accumulateBitFields()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DPointer.h143 getDeclDesc()->getSize()); in atIndex()
224 asBlockPointer().Base + getSize() + Adjust); in expand()
345 return getDeclDesc()->getSize(); in elemSize()
349 size_t getSize() const { in getSize() function
351 return getFieldDesc()->getSize(); in getSize()
533 return getSize() / elemSize(); in getNumElems()
568 (getSize() == getOffset() && !isZeroSizeArray()); in isOnePastEnd()
576 return !isZero() && Offset > PointeeStorage.BS.Pointee->getSize(); in isPastEnd()
662 assert(asBlockPointer().Base <= asBlockPointer().Pointee->getSize()); in getInlineDesc()
H A DMemberPointer.cpp45 if (Offset > CastedBase.block()->getSize()) in toPointer()
52 if (Offset > CastedBase.block()->getSize()) in toPointer()
55 assert(Offset <= CastedBase.block()->getSize()); in toPointer()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyTypeDumper.cpp46 return S1->getSize() < S2->getSize(); in CompareSizes()
54 double Pct1 = (double)S1->deepPaddingSize() / (double)S1->getSize(); in ComparePaddingPct()
55 double Pct2 = (double)S2->deepPaddingSize() / (double)S2->getSize(); in ComparePaddingPct()
65 double Pct1 = (double)S1->immediatePadding() / (double)S1->getSize(); in ComparePaddingPctImmediate()
66 double Pct2 = (double)S2->immediatePadding() / (double)S2->getSize(); in ComparePaddingPctImmediate()
H A DPrettyClassDefinitionDumper.cpp51 uint32_t Size = Layout.getSize(); in prettyPrintClassIntro()
99 (double)Layout.getSize()); in prettyPrintClassOutro()
107 (double)Layout.getSize()); in prettyPrintClassOutro()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp158 << "Size: " << hexValue(Section.getSize()) << ", " in mapVirtualAddress()
173 if (!Section.isText() || Section.isVirtual() || !Section.getSize()) in mapVirtualAddress()
210 << "Size: " << hexValue(Section.getSize()) << "\n" in mapVirtualAddress()
217 << hexValue(Entry.first + Entry.second.getSize()) in mapVirtualAddress()
218 << "] Size: " << hexValue(Entry.second.getSize()) << "\n"; in mapVirtualAddress()
234 if (!Section.isText() || Section.isVirtual() || !Section.getSize()) in mapVirtualAddress()
261 << "Size: " << hexValue(Section.getSize()) << "\n" in mapVirtualAddress()
272 << hexValue(Entry.first + Entry.second.getSize()) in mapVirtualAddress()
273 << "] Size: " << hexValue(Entry.second.getSize()) << "\n"; in mapVirtualAddress()
430 << ", Section Size: " << hexValue(Section.getSize()) << "\n"; in createInstructions()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsPreLegalizerCombiner.cpp73 if (!MMO->getSize().hasValue() || in tryCombineAll()
74 !isPowerOf2_64(MMO->getSize().getValue())) in tryCombineAll()
76 bool isUnaligned = MMO->getAlign() < MMO->getSize().getValue(); in tryCombineAll()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A DSectionSizes.cpp93 LLVM_DEBUG(dbgs() << SectionName.str() << ": " << Section.getSize() in calculateSectionSizes()
99 Sizes.TotalDebugSectionsSize += Section.getSize(); in calculateSectionSizes()
100 Sizes.DebugSectionSizes[std::string(SectionName)] += Section.getSize(); in calculateSectionSizes()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonStoreWidening.cpp175 MemoryLocation L(MMO.getValue(), MMO.getSize(), MMO.getAAInfo()); in instrAliased()
182 MemoryLocation SL(SMO.getValue(), SMO.getSize(), SMO.getAAInfo()); in instrAliased()
295 return (Off1 >= 0) ? Off1 + S1MO.getSize().getValue() == unsigned(Off2) in storesAreAdjacent()
296 : int(Off1 + S1MO.getSize().getValue()) == Off2; in storesAreAdjacent()
318 unsigned SizeAccum = FirstMMO.getSize().getValue(); in selectStores()
360 unsigned S2Size = getStoreTarget(S2).getSize().getValue(); in selectStores()
408 unsigned NBits = MMO.getSize().getValue() * 8; in createWideStores()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DDFAPacketizer.cpp255 if (!Op1.getValue() || !Op2.getValue() || !Op1.getSize().hasValue() || in alias()
256 !Op2.getSize().hasValue()) in alias()
260 int64_t Overlapa = Op1.getSize().getValue() + Op1.getOffset() - MinOffset; in alias()
261 int64_t Overlapb = Op2.getSize().getValue() + Op2.getOffset() - MinOffset; in alias()
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp117 size_t getSize() const { return Symbols.size() * sizeof(Elf_Sym); } in getSize() function in llvm::ifs::__anon3dc69c9e0111::ELFSymbolTableBuilder
155 size_t getSize() const { in getSize() function in llvm::ifs::__anon3dc69c9e0111::ELFDynamicTableBuilder
210 ShStrTab.Size = ShStrTab.Content.getSize(); in ELFStubBuilder()
212 DynStr.Size = DynStr.Content.getSize(); in ELFStubBuilder()
225 DynSym.Size = DynSym.Content.getSize(); in ELFStubBuilder()
236 DynTab.Size = DynTab.Content.getSize(); in ELFStubBuilder()
261 size_t getSize() const { in getSize() function in llvm::ifs::__anon3dc69c9e0111::ELFStubBuilder
661 std::vector<uint8_t> Buf(Builder.getSize()); in writeELFBinaryToFile()
669 if ((*BufOrError)->getBufferSize() == Builder.getSize() && in writeELFBinaryToFile()
671 Builder.getSize())) in writeELFBinaryToFile()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineSizeEstimatorAnalysis.cpp127 size_t getSize(Function &F, TargetTransformInfo &TTI) { in getSize() function
136 size_t getSize(Function &F, FunctionAnalysisManager &FAM) { in getSize() function
138 return getSize(F, TTI); in getSize()
189 FF[NamedFeatureIndex::InitialSize] = getSize(F, FAM); in getFunctionFeatures()

12345678910>>...16