Home
last modified time | relevance | path

Searched refs:NumStubs (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DOrcABISupport.cpp22 unsigned NumStubs) { in stubAndPointerRangesOk() argument
25 ExecutorAddr LastStub = FirstStub + ((NumStubs - 1) * ORCABI::StubSize); in stubAndPointerRangesOk()
27 ExecutorAddr LastPointer = FirstPointer + ((NumStubs - 1) * ORCABI::StubSize); in stubAndPointerRangesOk()
163 ExecutorAddr PointersBlockTargetAddress, unsigned NumStubs) { in writeIndirectStubsBlock() argument
187 StubsBlockTargetAddress, PointersBlockTargetAddress, NumStubs) && in writeIndirectStubsBlock()
196 for (unsigned I = 0; I < NumStubs; ++I) in writeIndirectStubsBlock()
220 ExecutorAddr PointersBlockTargetAddress, unsigned NumStubs) { in writeIndirectStubsBlock() argument
245 StubsBlockTargetAddress, PointersBlockTargetAddress, NumStubs) && in writeIndirectStubsBlock()
250 for (unsigned I = 0; I < NumStubs; ++I) in writeIndirectStubsBlock()
477 unsigned NumStubs) { in writeIndirectStubsBlock() argument
[all …]
H A DEPCIndirectionUtils.cpp28 getIndirectStubs(EPCIndirectionUtils &EPCIU, unsigned NumStubs) { in getIndirectStubs() argument
29 return EPCIU.getIndirectStubs(NumStubs); in getIndirectStubs()
348 EPCIndirectionUtils::getIndirectStubs(unsigned NumStubs) { in getIndirectStubs() argument
354 if (NumStubs > AvailableIndirectStubs.size()) { in getIndirectStubs()
355 auto NumStubsToAllocate = NumStubs; in getIndirectStubs()
395 assert(NumStubs <= AvailableIndirectStubs.size() && in getIndirectStubs()
399 while (NumStubs--) { in getIndirectStubs()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DOrcABISupport.h32 unsigned NumStubs = 0; member
44 unsigned NumStubs = StubBytes / ORCABI::StubSize; variable
45 uint64_t PointerBytes = NumStubs * ORCABI::PointerSize;
46 return {StubBytes, PointerBytes, NumStubs};
82 unsigned NumStubs) { in writeIndirectStubsBlock() argument
152 unsigned NumStubs);
233 unsigned NumStubs);
273 unsigned NumStubs);
335 unsigned NumStubs);
375 unsigned NumStubs);
[all …]
H A DIndirectionUtils.h314 LocalIndirectStubsInfo(unsigned NumStubs, sys::OwningMemoryBlock StubsMem) in LocalIndirectStubsInfo() argument
315 : NumStubs(NumStubs), StubsMem(std::move(StubsMem)) {} in LocalIndirectStubsInfo()
341 PtrBlockAddress, ISAS.NumStubs); in create()
347 return LocalIndirectStubsInfo(ISAS.NumStubs, std::move(StubsAndPtrsMem)); in create()
350 unsigned getNumStubs() const { return NumStubs; } in getNumStubs()
358 static_cast<char *>(StubsMem.base()) + NumStubs * ORCABI::StubSize; in getPtr()
363 unsigned NumStubs = 0;
436 Error reserveStubs(unsigned NumStubs) { in reserveStubs() argument
437 if (NumStubs < in reserveStubs()
[all...]
H A DEPCIndirectionUtils.h68 ExecutorAddr PointersBlockTargetAddress, unsigned NumStubs) const = 0;
148 Expected<IndirectStubInfoVector> getIndirectStubs(unsigned NumStubs);
205 unsigned NumStubs) const override { in writeIndirectStubsBlock() argument
208 PointersBlockTargetAddress, NumStubs); in writeIndirectStubsBlock()