Home
last modified time | relevance | path

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

12345678910>>...18

/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Dquarantine_test.cpp77 EXPECT_EQ(ToDeallocate.getSize(), 0UL); in TEST()
94 EXPECT_EQ(ToDeallocate.getSize(), 0UL); in TEST()
111 Cache.getSize()); in TEST()
139 Cache.getSize()); in TEST()
147 Cache.getSize()); in TEST()
171 Cache.getSize()); in TEST()
180 Cache.getSize()); in TEST()
182 EXPECT_EQ(ToDeallocate.getSize(), in TEST()
203 EXPECT_EQ(Cache.getSize(), 0UL); in TEST()
210 CacheSize = Cache.getSize(); in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBTFDebug.h95 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 …]
/llvm-project-15.0.7/llvm/unittests/Support/
H A DArrayRecyclerTest.cpp27 EXPECT_LT(0u, Cap.getSize()); in TEST()
29 size_t PrevSize = Cap.getSize(); in TEST()
32 EXPECT_LE(N, Cap.getSize()); in TEST()
34 EXPECT_EQ(PrevSize, Cap.getSize()); in TEST()
36 EXPECT_LT(PrevSize, Cap.getSize()); in TEST()
37 PrevSize = Cap.getSize(); in TEST()
42 PrevSize = Cap.getSize(); in TEST()
45 EXPECT_LT(PrevSize, Cap.getSize()); in TEST()
46 PrevSize = Cap.getSize(); in TEST()
/llvm-project-15.0.7/lld/ELF/
H A DSyntheticSections.h46 virtual size_t getSize() const = 0;
163 size_t getSize() const override;
378 size_t getSize() const override;
398 size_t getSize() const override;
659 size_t getSize() const override;
720 size_t getSize() const override;
741 size_t getSize() const override;
751 size_t getSize() const override;
763 size_t getSize() const override;
841 size_t getSize() const override;
[all …]
/llvm-project-15.0.7/lld/COFF/
H A DChunks.h61 size_t getSize() const;
148 virtual size_t getSize() const = 0;
362 inline size_t Chunk::getSize() const { in getSize() function
423 size_t getSize() const override;
522 size_t getSize() const override;
531 size_t getSize() const override;
544 size_t getSize() const override;
630 size_t getSize() const override { return 0; } in getSize() function
646 size_t getSize() const override;
674 setAlignment(getSize()); in AbsolutePointerChunk()
[all …]
H A DDLL.cpp45 size_t getSize() const override { in getSize() function in lld::coff::__anon1c8397240111::HintNameChunk
52 memset(buf, 0, getSize()); in writeTo()
110 memset(buf, 0, getSize()); in writeTo()
128 size_t getSize() const override { return size; } in getSize() function in lld::coff::__anon1c8397240111::NullChunk
169 size_t getSize() const override { in getSize() function in lld::coff::__anon1c8397240111::DelayDirectoryChunk
174 memset(buf, 0, getSize()); in writeTo()
486 size_t getSize() const override { in getSize() function in lld::coff::__anon1c8397240111::ExportDirectoryChunk
491 memset(buf, 0, getSize()); in writeTo()
514 size_t getSize() const override { return size * 4; } in getSize() function in lld::coff::__anon1c8397240111::AddressTableChunk
517 memset(buf, 0, getSize()); in writeTo()
[all …]
/llvm-project-15.0.7/lld/MachO/
H A DWriter.cpp101 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()
283 c->cmdsize = getSize(); in writeTo()
305 c->cmdsize = getSize(); in writeTo()
338 c->cmdsize = getSize(); in writeTo()
372 c->cmdsize = getSize(); in writeTo()
[all …]
H A DSyntheticSections.h91 uint64_t getSize() const override;
108 uint64_t getSize() const override { return target->pageZeroSize; } in getSize() function
122 uint64_t getSize() const override { in getSize() function
278 uint64_t getSize() const override;
304 uint64_t getSize() const override;
319 uint64_t getSize() const override;
507 uint64_t getSize() const override { return xarSize; } in getSize() function
520 uint64_t getSize() const override { return size; } in getSize() function
533 uint64_t getSize() const override { return size; } in getSize() function
564 uint64_t getSize() const override { in getSize() function
[all …]
H A DConcatOutputSection.cpp129 isecAddr = alignTo(isecAddr, isec->align) + isec->getSize(); in needsThunks()
130 if (isecAddr - addr + in.stubs->getSize() <= in needsThunks()
175 isecEnd = alignTo(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()
250 while (finalIdx < endIdx && addr + size + inputs[finalIdx]->getSize() < in finalize()
/llvm-project-15.0.7/clang/test/Parser/
H A Dobjcxx11-attributes.mm6 - (int) getSize; method
13 int a[ [noreturn getSize] ];
18 int c[ [noreturn getSize] + 1 ];
25 …[ [ int(), noreturn getSelf ] getSize ]; // expected-warning {{left operand of comma operator has …
30 [[[[] { return [ X alloc ]; } () init] getSelf] getSize];
52 int(g)([[noreturn getSelf] getSize]);
53 int(h)([[noreturn]{return noreturn;}() getSize]);
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DPointer.h57 return Pointer(Pointee, RootPtrMark, getDeclDesc()->getSize()); in atIndex()
117 return Pointer(Pointee, Base, Base + getSize() + Adjust); in expand()
180 return getDeclDesc()->getSize(); in elemSize()
184 size_t getSize() const { return getFieldDesc()->getSize(); } in getSize() function
257 unsigned getNumElems() const { return getSize() / elemSize(); } in getNumElems()
270 return isElementPastEnd() || getSize() == getOffset(); in isOnePastEnd()
303 OS << Pointee->getSize(); in print()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h70 uptr getSize() const { return atomic_load_relaxed(&Size); } in getSize() function
89 addToSize(From->getSize()); in transfer()
162 void addToSize(uptr add) { atomic_store_relaxed(&Size, getSize() + add); } in addToSize()
163 void subFromSize(uptr sub) { atomic_store_relaxed(&Size, getSize() - sub); } in subFromSize()
196 if (C->getSize() > getCacheSize()) in put()
205 if (Cache.getSize() > getMaxSize() && RecycleMutex.tryLock()) in drain()
255 const uptr CacheSize = Cache.getSize(); in recycle()
269 while (Cache.getSize() > MinSize) in recycle()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DReorderData.cpp154 << format(", weight=%.5f\n", double(Begin->second) / BD->getSize()); in printOrder()
156 TotalSize += BD->getSize(); in printOrder()
285 const double AWeight = double(A.second) / A.first->getSize(); in sortedByFunc()
286 const double BWeight = double(B.second) / B.first->getSize(); in sortedByFunc()
313 const double AWeight = double(A.second) / A.first->getSize(); in sortedByCount()
314 const double BWeight = double(B.second) / B.first->getSize(); in sortedByCount()
317 (A.first->getSize() < B.first->getSize() || in sortedByCount()
318 (A.first->getSize() == B.first->getSize() && in sortedByCount()
370 if ((Offset + BD->getSize()) > opts::ReorderDataMaxBytes) { in setSectionOrder()
394 Offset += BD->getSize(); in setSectionOrder()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinarySection.h147 Size(Section.getSize()), Alignment(Section.getAlignment()), in BinarySection()
155 Size(Section.getSize()), Alignment(Section.getAlignment()), in BinarySection()
212 (getSize() < Other.getSize() ||
213 (getSize() == Other.getSize() && getName() < Other.getName()))));
225 uint64_t getSize() const { return Size; } in getSize() function
280 (getSize() == 0 && getAddress() == Address); in containsAddress()
331 assert(Offset < getSize() && "offset not within section bounds");
343 assert(Offset < getSize() && "offset not within section bounds");
/llvm-project-15.0.7/lld/wasm/
H A DMapFile.cpp90 size = DD->getSize(); in getSymbolStrings()
94 size = DF->function->getSize(); in getSymbolStrings()
127 writeHeader(os, -1, osec->getOffset(), osec->getSize()); in writeMapFile()
132 chunk->getSize()); in writeMapFile()
147 writeHeader(os, chunk->getVA(), offset, chunk->getSize()); in writeMapFile()
H A DOutputSections.cpp47 " total=" + Twine(getSize())); in createHeader()
61 assert(func->getSize()); in finalizeContents()
62 bodySize += func->getSize(); in finalizeContents()
70 " size=" + Twine(getSize())); in writeTo()
170 " size=" + Twine(getSize()) + " body=" + Twine(bodySize)); in writeTo()
254 payloadSize += section->getSize(); in finalizeContents()
262 " size=" + Twine(getSize()) + " chunks=" + Twine(inputSections.size())); in writeTo()
H A DOutputSections.h39 virtual size_t getSize() const = 0;
65 size_t getSize() const override { return header.size() + bodySize; } in getSize() function
88 size_t getSize() const override { return header.size() + bodySize; } in getSize() function
119 size_t getSize() const override { in getSize() function
H A DOutputSegment.cpp27 << " size=" << inSeg->getSize() in addInputSegment()
31 size += inSeg->getSize(); in addInputSegment()
81 size += seg->getSize(); in finalizeInputSegments()
/llvm-project-15.0.7/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()
862 Mapping M(T1.getSize() + T2.getSize()); in matchTopDown()
[all …]
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/JITLink/
H A DLinkGraphTests.cpp321 auto &S1 = G.addDefinedSymbol(B1, 0, "S1", B1.getSize(), Linkage::Strong, in TEST()
329 EXPECT_EQ(S1.getSize(), 64U) << "Size was not updated"; in TEST()
336 EXPECT_EQ(S1.getSize(), 16U) << "Size was not updated"; in TEST()
354 auto &S1 = G.addDefinedSymbol(B1, 0, "S1", B1.getSize(), Linkage::Strong, in TEST()
362 EXPECT_EQ(S1.getSize(), 64U) << "Size was not updated"; in TEST()
386 G.addDefinedSymbol(B1, 0, "S1", B1.getSize(), Linkage::Strong, Scope::Default, in TEST()
388 G.addDefinedSymbol(B1, 1, "S2", B1.getSize() - 1, Linkage::Strong, in TEST()
392 G.addDefinedSymbol(B2, 0, "S3", B2.getSize(), Linkage::Strong, Scope::Default, in TEST()
394 G.addDefinedSymbol(B2, 1, "S4", B2.getSize() - 1, Linkage::Strong, in TEST()
435 G.addDefinedSymbol(B1, 0, "S1", B1.getSize(), Linkage::Strong, Scope::Default, in TEST()
[all …]
/llvm-project-15.0.7/mlir/lib/Reducer/
H A DReductionNode.cpp140 if (smallest == nullptr || node->getSize() < smallest->getSize()) in getNeighbors()
145 smallest->getSize() < node->getParent()->getSize()) { in getNeighbors()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DAliasSetTracker.cpp63 MemoryLocation(L->getValue(), L->getSize(), L->getAAInfo()), in mergeSetIn()
64 MemoryLocation(R->getValue(), R->getSize(), R->getAAInfo()))) in mergeSetIn()
138 MemoryLocation(P->getValue(), P->getSize(), P->getAAInfo()), in addPointer()
203 return AA.alias(MemoryLocation(SomePtr->getValue(), SomePtr->getSize(), in aliasesPointer()
213 MemoryLocation(I.getPointer(), I.getSize(), I.getAAInfo())); in aliasesPointer()
251 Inst, MemoryLocation(I.getPointer(), I.getSize(), I.getAAInfo())))) in aliasesUnknownInst()
506 MemoryLocation(ASI.getPointer(), ASI.getSize(), ASI.getAAInfo()), in add()
558 AS->addPointer(*this, Entry, I->second->getSize(), I->second->getAAInfo(), in copyValue()
635 if (I.getSize() == LocationSize::afterPointer()) in print()
637 else if (I.getSize() == LocationSize::beforeOrAfterPointer()) in print()
[all …]
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp46 return LHS->getSize() < RHS->getSize(); in BasicLayout()
58 Seg.ContentSize += B->getSize(); in BasicLayout()
65 SegEndOffset += B->getSize(); in BasicLayout()
115 Seg.Addr += B->getSize(); in apply()
120 B->getSize()); in apply()
122 {Seg.WorkingMem + Seg.NextWorkingMemOffset, B->getSize()}); in apply()
123 Seg.NextWorkingMemOffset += B->getSize(); in apply()
131 Seg.Addr += B->getSize(); in apply()

12345678910>>...18