| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.h | 95 uint32_t getSize() override { return BTFTypeBase::getSize() + sizeof(uint32_t); } in getSize() function 107 uint32_t getSize() override { in getSize() function 120 uint32_t getSize() override { return BTFTypeBase::getSize() + BTF::BTFArraySize; } in getSize() function 134 uint32_t getSize() override { in getSize() function 151 uint32_t getSize() override { in getSize() function 164 uint32_t getSize() override { return BTFTypeBase::getSize(); } in getSize() function 176 uint32_t getSize() override { return BTFTypeBase::getSize() + 4; } in getSize() function 189 uint32_t getSize() override { in getSize() function 216 uint32_t getSize() override { return BTFTypeBase::getSize() + 4; } in getSize() function 228 uint32_t getSize() override { in getSize() function [all …]
|
| /freebsd-14.2/contrib/llvm-project/lld/ELF/ |
| H A D | SyntheticSections.h | 144 size_t getSize() const override; 359 size_t getSize() const override; 379 size_t getSize() const override; 674 size_t getSize() const override; 735 size_t getSize() const override; 756 size_t getSize() const override; 766 size_t getSize() const override; 778 size_t getSize() const override; 865 size_t getSize() const override; 881 size_t getSize() const override; [all …]
|
| /freebsd-14.2/contrib/llvm-project/lld/MachO/ |
| H A D | Writer.cpp | 101 c->cmdsize = getSize(); in writeTo() 145 c->cmdsize = getSize(); in writeTo() 166 c->cmdsize = getSize(); in writeTo() 185 c->cmdsize = getSize(); in writeTo() 206 c->cmdsize = getSize(); in writeTo() 239 c->cmdsize = getSize(); in writeTo() 284 c->cmdsize = getSize(); in writeTo() 306 c->cmdsize = getSize(); in writeTo() 340 c->cmdsize = getSize(); in writeTo() 375 c->cmdsize = getSize(); in writeTo() [all …]
|
| H A D | SyntheticSections.h | 89 uint64_t getSize() const override; 120 uint64_t getSize() const override { in getSize() function 282 uint64_t getSize() const override; 308 uint64_t getSize() const override; 328 uint64_t getSize() const override; 347 uint64_t getSize() const override; 540 uint64_t getSize() const override { return size; } in getSize() function 588 uint64_t getSize() const override { in getSize() function 630 uint64_t getSize() const override { return 8; } in getSize() function 662 uint64_t getSize() const override; [all …]
|
| H A D | ConcatOutputSection.cpp | 129 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()
|
| H A D | OutputSection.h | 50 virtual uint64_t getSize() const = 0; 53 virtual uint64_t getFileSize() const { return getSize(); } in getFileSize()
|
| /freebsd-14.2/contrib/llvm-project/lld/COFF/ |
| H A D | Chunks.h | 61 size_t getSize() const; 151 virtual size_t getSize() const = 0; 396 inline size_t Chunk::getSize() const { in getSize() function 473 size_t getSize() const override; 583 size_t getSize() const override; 599 size_t getSize() const override; 614 size_t getSize() const override; 720 size_t getSize() const override; 739 size_t getSize() const override; 751 setAlignment(getSize()); in AbsolutePointerChunk() [all …]
|
| H A D | DLL.cpp | 44 size_t getSize() const override { in getSize() function in lld::coff::__anon094f78ea0111::HintNameChunk 51 memset(buf, 0, getSize()); in writeTo() 117 memset(buf, 0, getSize()); in writeTo() 135 size_t getSize() const override { return size; } in getSize() function in lld::coff::__anon094f78ea0111::NullChunk 177 size_t getSize() const override { in getSize() function in lld::coff::__anon094f78ea0111::DelayDirectoryChunk 182 memset(buf, 0, getSize()); in writeTo() 572 size_t getSize() const override { in getSize() function in lld::coff::__anon094f78ea0111::ExportDirectoryChunk 577 memset(buf, 0, getSize()); in writeTo() 604 size_t getSize() const override { return size * 4; } in getSize() function in lld::coff::__anon094f78ea0111::AddressTableChunk 607 memset(buf, 0, getSize()); in writeTo() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | ArrayRecycler.h | 49 __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-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | quarantine.h | 71 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-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | MachOUniversal.cpp | 170 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()
|
| H A D | SymbolSize.cpp | 58 Ret.push_back({Sym, Sym.getSize()}); in computeSymbolSizes() 64 Ret.push_back({Sym, Sym.getSize()}); in computeSymbolSizes() 83 uint64_t Size = Sec.getSize(); in computeSymbolSizes()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Pointer.h | 106 return Pointer(Pointee, RootPtrMark, getDeclDesc()->getSize()); in atIndex() 174 return Pointer(Pointee, Base, Base + getSize() + Adjust); in expand() 247 return getDeclDesc()->getSize(); in elemSize() 251 size_t getSize() const { return getFieldDesc()->getSize(); } in getSize() function 346 unsigned getNumElems() const { return getSize() / elemSize(); } in getNumElems() 368 return isElementPastEnd() || getSize() == getOffset(); in isOnePastEnd() 432 OS << Pointee->getSize(); in print()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLink.cpp | 97 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 D | JITLinkMemoryManager.cpp | 47 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 D | x86_64.cpp | 99 assert(GOTEntryBlock.getSize() == G.getPointerSize() && in optimizeGOTAndStubAccesses() 162 assert(StubBlock.getSize() == sizeof(PointerJumpStubContent) && in optimizeGOTAndStubAccesses() 168 assert(GOTBlock.getSize() == G.getPointerSize() && in optimizeGOTAndStubAccesses()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 138 int getSize() const { return Nodes.size(); } in getSize() function in clang::diff::SyntaxTree::Impl 307 PostorderIds.resize(getSize()); in initTree() 502 int getSize() const { return RootIds.size(); } in getSize() function in clang::diff::Subtree 526 LeftMostDescendants.resize(getSize()); in setLeftMostDescendants() 527 for (int I = 0; I < getSize(); ++I) { in setLeftMostDescendants() 543 for (SNodeId I(getSize()); I > 0; --I) { in computeKeyRoots() 569 size_t(S1.getSize()) + 1); in ZhangShashaMatcher() 571 size_t(S1.getSize()) + 1); in ZhangShashaMatcher() 586 TreePairs.emplace_back(SNodeId(S1.getSize()), SNodeId(S2.getSize())); in getMatchingNodes() 861 Mapping M(T1.getSize() + T2.getSize()); in matchTopDown() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGRecordLayoutBuilder.cpp | 161 CharUnits getSize(llvm::Type *Type) { in getSize() function 313 isNoUniqueAddress ? Layout.getDataSize() : Layout.getSize(); in lowerUnion() 326 if (LayoutSize < getSize(FieldType)) in lowerUnion() 356 getSize(FieldType) > getSize(StorageType))) in lowerUnion() 364 if (LayoutSize < getSize(StorageType)) in lowerUnion() 367 appendPaddingBytes(LayoutSize - getSize(StorageType)); in lowerUnion() 370 assert((Layout.getSize() % StorageAlignment == 0 || in lowerUnion() 608 const CharUnits RecordSize = Layout.getSize(); in computeVolatileBitfields() 745 CharUnits Tail = getSize(Prior->Data); in clipTailPadding() 767 Tail = Prior->Offset + getSize(Prior->Data); in clipTailPadding() [all …]
|
| H A D | CGBuilder.h | 62 llvm::ConstantInt *getSize(CharUnits N) { in getSize() function 65 llvm::ConstantInt *getSize(uint64_t N) { in getSize() function 202 {getSize(CharUnits::Zero()), getSize(Index)}, Name), 220 getSize(Index), Name), 237 getSize(Index), Name), 263 getSize(Offset), Name), 272 getSize(Offset), Name),
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| H A D | PrettyTypeDumper.cpp | 46 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 D | PrettyClassDefinitionDumper.cpp | 51 uint32_t Size = Layout.getSize(); in prettyPrintClassIntro() 99 (double)Layout.getSize()); in prettyPrintClassOutro() 107 (double)Layout.getSize()); in prettyPrintClassOutro()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-dwarfdump/ |
| H A D | SectionSizes.cpp | 93 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-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonStoreWidening.cpp | 175 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() == unsigned(Off2) in storesAreAdjacent() 296 : int(Off1+S1MO.getSize()) == Off2; in storesAreAdjacent() 318 unsigned SizeAccum = FirstMMO.getSize(); in selectStores() 360 unsigned S2Size = getStoreTarget(S2).getSize(); in selectStores() 408 unsigned NBits = MMO.getSize()*8; in createWideStores()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVBinaryReader.cpp | 149 if (!Section.isText() || Section.isVirtual() || !Section.getSize()) in mapVirtualAddress() 181 << "Size: " << hexValue(Section.getSize()) << "\n" in mapVirtualAddress() 188 << hexValue(Entry.first + Entry.second.getSize()) in mapVirtualAddress() 189 << "] Size: " << hexValue(Entry.second.getSize()) << "\n"; in mapVirtualAddress() 205 if (!Section.isText() || Section.isVirtual() || !Section.getSize()) in mapVirtualAddress() 232 << "Size: " << hexValue(Section.getSize()) << "\n" in mapVirtualAddress() 243 << hexValue(Entry.first + Entry.second.getSize()) in mapVirtualAddress() 244 << "] Size: " << hexValue(Entry.second.getSize()) << "\n"; in mapVirtualAddress() 403 Size = std::min(Size + 1, Section.getSize()); in createInstructions() 834 uint64_t Size = Section.getSize(); in processLines() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineSizeEstimatorAnalysis.cpp | 128 size_t getSize(Function &F, TargetTransformInfo &TTI) { in getSize() function 137 size_t getSize(Function &F, FunctionAnalysisManager &FAM) { in getSize() function 139 return getSize(F, TTI); in getSize() 190 FF[NamedFeatureIndex::InitialSize] = getSize(F, FAM); in getFunctionFeatures()
|