Home
last modified time | relevance | path

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

12345678910

/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBTFDebug.h45 virtual uint32_t getSize() { return BTF::CommonTypeSize; } in getSize() function
83 uint32_t getSize() { return BTFTypeBase::getSize() + sizeof(uint32_t); } in getSize() function
95 uint32_t getSize() { in getSize() function
96 return BTFTypeBase::getSize() + EnumValues.size() * BTF::BTFEnumSize; in getSize()
109 uint32_t getSize() { return BTFTypeBase::getSize() + BTF::BTFArraySize; } in getSize() function
123 uint32_t getSize() { in getSize() function
124 return BTFTypeBase::getSize() + Members.size() * BTF::BTFMemberSize; in getSize()
139 uint32_t getSize() { in getSize() function
140 return BTFTypeBase::getSize() + Parameters.size() * BTF::BTFParamSize; in getSize()
152 uint32_t getSize() { return BTFTypeBase::getSize(); } in getSize() function
[all …]
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DSyntheticSections.h48 virtual size_t getSize() const = 0;
363 size_t getSize() const override;
379 size_t getSize() const override;
603 size_t getSize() const override;
660 size_t getSize() const override;
747 size_t getSize() const override;
763 size_t getSize() const override;
784 size_t getSize() const override;
810 size_t getSize() const override;
835 size_t getSize() const override;
[all …]
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DChunks.h59 virtual size_t getSize() const = 0;
262 size_t getSize() const override;
277 size_t getSize() const override { return Sym.getValue(); } in getSize() function
361 size_t getSize() const override;
370 size_t getSize() const override;
383 size_t getSize() const override;
434 size_t getSize() const override { return Data.size(); } in getSize() function
458 size_t getSize() const override { return 0; } in getSize() function
474 size_t getSize() const override;
502 Alignment = getSize(); in AbsolutePointerChunk()
[all …]
H A DDLL.cpp43 size_t getSize() const override { in getSize() function in lld::coff::__anon0f95b7e30111::HintNameChunk
50 memset(Buf + OutputSectionOff, 0, getSize()); in writeTo()
106 memset(Buf + OutputSectionOff, 0, getSize()); in writeTo()
125 size_t getSize() const override { return Size; } in getSize() function in lld::coff::__anon0f95b7e30111::NullChunk
168 size_t getSize() const override { in getSize() function in lld::coff::__anon0f95b7e30111::DelayDirectoryChunk
173 memset(Buf + OutputSectionOff, 0, getSize()); in writeTo()
402 size_t getSize() const override { in getSize() function in lld::coff::__anon0f95b7e30111::ExportDirectoryChunk
407 memset(Buf + OutputSectionOff, 0, getSize()); in writeTo()
430 size_t getSize() const override { return Size * 4; } in getSize() function in lld::coff::__anon0f95b7e30111::AddressTableChunk
433 memset(Buf + OutputSectionOff, 0, getSize()); in writeTo()
[all …]
H A DChunks.cpp354 size_t InputSize = getSize(); in writeTo()
634 write32le(Buf + OutputSectionOff + 2, ImpSymbol->getRVA() - RVA - getSize()); in writeTo()
672 size_t RangeExtensionThunkARM::getSize() const { in getSize() function in lld::coff::RangeExtensionThunkARM
692 size_t RangeExtensionThunkARM64::getSize() const { in getSize() function in lld::coff::RangeExtensionThunkARM64
708 size_t LocalImportChunk::getSize() const { return Config->Wordsize; } in getSize() function in lld::coff::LocalImportChunk
729 size_t PseudoRelocTableChunk::getSize() const { in getSize() function in lld::coff::PseudoRelocTableChunk
863 size_t MergeChunk::getSize() const { in getSize() function in lld::coff::MergeChunk
864 return Builder.getSize(); in getSize()
872 size_t AbsolutePointerChunk::getSize() const { return Config->Wordsize; } in getSize() function in lld::coff::AbsolutePointerChunk
H A DDLL.h74 uint64_t getSize() { in getSize() function
75 return Chunks.back()->getRVA() + Chunks.back()->getSize() - getRVA(); in getSize()
H A DWriter.cpp89 size_t getSize() const override { in getSize() function in __anon341a1c240111::DebugDirectoryChunk
141 size_t getSize() const override { in getSize() function in __anon341a1c240111::CVDebugRecordChunk
419 ThunksSize += ThunkChunk->getSize(); in createThunks()
420 ThunkInsertionRVA += ThunkChunk->getSize(); in createThunks()
682 ImportTableSize += C->getSize(); in locateImportTables()
688 IATSize += C->getSize(); in locateImportTables()
1097 VirtualSize += C->getSize(); in assignAddresses()
1224 Dir[EXPORT_TABLE].Size = Edata.getSize(); in writeHeader()
1257 Dir[DEBUG_DIRECTORY].Size = DebugDirectory->getSize(); in writeHeader()
1270 if (OffsetInChunk + LoadConfigSize > SC->getSize()) in writeHeader()
[all …]
/freebsd-12.1/contrib/llvm/lib/Object/
H A DMachOUniversal.cpp151 bigSize += A.getSize(); in MachOUniversalBinary()
194 A.getOffset() < B.getOffset() + B.getSize()) || in MachOUniversalBinary()
195 (A.getOffset() + A.getSize() > B.getOffset() && in MachOUniversalBinary()
196 A.getOffset() + A.getSize() < B.getOffset() + B.getSize()) || in MachOUniversalBinary()
198 A.getOffset() + A.getSize() >= B.getOffset() + B.getSize())) { in MachOUniversalBinary()
202 Twine(A.getSize()) + ", overlaps cputype (" + Twine(B.getCPUType()) + in MachOUniversalBinary()
205 + Twine(B.getSize())); in MachOUniversalBinary()
H A DSymbolSize.cpp49 Ret.push_back({Sym, Sym.getSize()}); in computeSymbolSizes()
65 uint64_t Size = Sec.getSize(); in computeSymbolSizes()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DArrayRecycler.h50 __asan_unpoison_memory_region(Entry, Capacity::get(Idx).getSize()); in pop()
52 __msan_allocated_memory(Entry, Capacity::get(Idx).getSize()); in pop()
64 __asan_poison_memory_region(Ptr, Capacity::get(Idx).getSize()); in push()
85 size_t getSize() const { return size_t(1u) << Index; } in getSize() function
131 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align)); in allocate()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBuilder.h61 llvm::ConstantInt *getSize(CharUnits N) { in getSize() function
64 llvm::ConstantInt *getSize(uint64_t N) { in getSize() function
198 {getSize(CharUnits::Zero()),
199 getSize(Index)},
215 getSize(Index), Name),
229 getSize(Index), Name),
237 return Address(CreateInBoundsGEP(Addr.getPointer(), getSize(Offset), Name),
243 return Address(CreateGEP(Addr.getPointer(), getSize(Offset), Name),
265 return CreateInBoundsGEP(Ptr, getSize(Offset), Name);
270 return CreateGEP(Ptr, getSize(Offset), Name);
H A DCGRecordLayoutBuilder.cpp140 (unsigned)Context.toBits(getSize(Type)))); in getStorageType()
149 CharUnits getSize(llvm::Type *Type) { in getSize() function
288 CharUnits LayoutSize = Layout.getSize(); in lowerUnion()
301 if (LayoutSize < getSize(FieldType)) in lowerUnion()
331 getSize(FieldType) > getSize(StorageType))) in lowerUnion()
339 if (LayoutSize < getSize(StorageType)) in lowerUnion()
342 appendPaddingBytes(LayoutSize - getSize(StorageType)); in lowerUnion()
586 CharUnits Tail = getSize(Prior->Data); in clipTailPadding()
601 Tail = Prior->Offset + getSize(Prior->Data); in clipTailPadding()
653 Size = Offset + getSize(Member->Data); in insertPadding()
[all …]
H A DCGCleanup.h484 static size_t getSize() { return sizeof(EHTerminateScope); } in getSize() function
495 static size_t getSize() { return sizeof(EHPadEndScope); } in getSize() function
537 Size = EHTerminateScope::getSize();
541 Size = EHPadEndScope::getSize();
588 deallocate(EHTerminateScope::getSize()); in popTerminate()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp139 int getSize() const { return Nodes.size(); } in getSize() function in clang::diff::SyntaxTree::Impl
308 PostorderIds.resize(getSize()); in initTree()
503 int getSize() const { return RootIds.size(); } in getSize() function in clang::diff::Subtree
527 LeftMostDescendants.resize(getSize()); in setLeftMostDescendants()
528 for (int I = 0; I < getSize(); ++I) { in setLeftMostDescendants()
544 for (SNodeId I(getSize()); I > 0; --I) { in computeKeyRoots()
570 size_t(S1.getSize()) + 1); in ZhangShashaMatcher()
572 size_t(S1.getSize()) + 1); in ZhangShashaMatcher()
587 TreePairs.emplace_back(SNodeId(S1.getSize()), SNodeId(S2.getSize())); in getMatchingNodes()
864 Mapping M(T1.getSize() + T2.getSize()); in matchTopDown()
[all …]
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DAliasSetTracker.cpp69 if (AA.alias(MemoryLocation(L->getValue(), L->getSize(), L->getAAInfo()), in mergeSetIn()
70 MemoryLocation(R->getValue(), R->getSize(), R->getAAInfo())) != in mergeSetIn()
138 AA.alias(MemoryLocation(P->getValue(), P->getSize(), P->getAAInfo()), in addPointer()
203 return AA.alias(MemoryLocation(SomePtr->getValue(), SomePtr->getSize(), in aliasesPointer()
212 MemoryLocation(I.getPointer(), I.getSize(), I.getAAInfo()))) in aliasesPointer()
248 Inst, MemoryLocation(I.getPointer(), I.getSize(), I.getAAInfo())))) in aliasesUnknownInst()
514 MemoryLocation(ASI.getPointer(), ASI.getSize(), ASI.getAAInfo()), in add()
566 AS->addPointer(*this, Entry, I->second->getSize(), in copyValue()
644 if (I.getSize() == LocationSize::unknown()) in print()
647 OS << ", " << I.getSize() << ")"; in print()
/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DPrettyTypeDumper.cpp45 return S1->getSize() < S2->getSize(); in CompareSizes()
53 double Pct1 = (double)S1->deepPaddingSize() / (double)S1->getSize(); in ComparePaddingPct()
54 double Pct2 = (double)S2->deepPaddingSize() / (double)S2->getSize(); in ComparePaddingPct()
64 double Pct1 = (double)S1->immediatePadding() / (double)S1->getSize(); in ComparePaddingPctImmediate()
65 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()
H A DPrettyClassLayoutGraphicalDumper.cpp55 if (RelativeOffset < UseMap.size() && (Item->getSize() > 0)) { in start()
72 VarDumper.startVbptr(CurrentAbsoluteOffset, Layout.getSize()); in start()
87 if (TailPadding != 1 || Layout.getSize() != 1) { in start()
/freebsd-12.1/contrib/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() == unsigned(Off2) in storesAreAdjacent()
296 : int(Off1+S1MO.getSize()) == Off2; in storesAreAdjacent()
318 unsigned SizeAccum = FirstMMO.getSize(); in selectStores()
361 unsigned S2Size = getStoreTarget(S2).getSize(); in selectStores()
411 unsigned NBits = MMO.getSize()*8; in createWideStores()
H A DHexagonFixupHwLoops.cpp128 InstOffset += HII->getSize(MI); in fixupLoopInstrs()
141 unsigned InstSize = HII->getSize(*MII); in fixupLoopInstrs()
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DRegisterBank.cpp52 assert(getSize() >= TRI.getRegSizeInBits(SubRC) && in verify()
91 OS << "(ID:" << getID() << ", Size:" << getSize() << ")\n" in print()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DRecordLayoutBuilder.cpp195 EmptySize = Layout.getSize(); in ComputeEmptySubobjectSizes()
219 EmptySize = Layout.getSize(); in ComputeEmptySubobjectSizes()
461 ElementOffset += Layout.getSize(); in CanPlaceFieldSubobjectAtOffset()
560 ElementOffset += Layout.getSize(); in UpdateEmptyFieldSubobjects()
770 CharUnits getSize() const { in getSize() function in __anon2b6abd440111::ItaniumRecordLayoutBuilder
984 setDataSize(getSize()); in EnsureVTablePointerAlignment()
1033 setSize(getSize() + PtrWidth); in LayoutNonVirtualBases()
1034 setDataSize(getSize()); in LayoutNonVirtualBases()
1196 setSize(std::max(getSize(), Layout.getSize())); in LayoutBase()
1234 setSize(std::max(getSize(), Offset + Layout.getSize())); in LayoutBase()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h224 uint64_t getSize() const { return Size; } in getSize() function
307 LHS.getSize() == RHS.getSize() &&
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp68 if (ArrayTy->getSize() == 1 && TypeSize > FlexSize) in evenFlexibleArraySize()
70 else if (ArrayTy->getSize() != 0) in evenFlexibleArraySize()
/freebsd-12.1/contrib/llvm/tools/lld/ELF/Arch/
H A DX86.cpp199 uint32_t Ebx = In.Got->getVA() + In.Got->getSize(); in writePltHeader()
229 uint32_t Ebx = In.Got->getVA() + In.Got->getSize(); in writePlt()
463 uint32_t Ebx = In.Got->getVA() + In.Got->getSize(); in writePltHeader()
483 uint32_t Ebx = In.Got->getVA() + In.Got->getSize(); in writePlt()

12345678910