Home
last modified time | relevance | path

Searched refs:SegsSizes (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp81 ContiguousPageBasedLayoutSizes SegsSizes; in getContiguousPageBasedLayoutSizes() local
93 SegsSizes.StandardSegs += SegSize; in getContiguousPageBasedLayoutSizes()
95 SegsSizes.FinalizeSegs += SegSize; in getContiguousPageBasedLayoutSizes()
98 return SegsSizes; in getContiguousPageBasedLayoutSizes()
324 auto SegsSizes = BL.getContiguousPageBasedLayoutSizes(PageSize); in allocate() local
325 if (!SegsSizes) { in allocate()
326 OnAllocated(SegsSizes.takeError()); in allocate()
332 if (SegsSizes->total() > std::numeric_limits<size_t>::max()) { in allocate()
368 static_cast<size_t>(SegsSizes->StandardSegs)}; in allocate()
378 if (SegsSizes->StandardSegs) in allocate()
[all …]
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DMapperJITLinkMemoryManager.cpp66 auto SegsSizes = BL.getContiguousPageBasedLayoutSizes(Mapper->getPageSize()); in allocate() local
67 if (!SegsSizes) { in allocate()
68 OnAllocated(SegsSizes.takeError()); in allocate()
73 if (SegsSizes->total() > std::numeric_limits<size_t>::max()) { in allocate()
76 SegsSizes->total(), G.getName()))); in allocate()
81 SegsSizes->total(), in allocate()
/llvm-project-15.0.7/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink.cpp536 auto SegsSizes = BL.getContiguousPageBasedLayoutSizes(PageSize); in allocate() local
538 if (!SegsSizes) { in allocate()
539 OnAllocated(SegsSizes.takeError()); in allocate()
547 if (SegsSizes->total() > SlabRemaining.allocatedSize()) { in allocate()
550 formatv("{0:x}", SegsSizes->total()) + in allocate()
559 sys::MemoryBlock(AllocBase + SegsSizes->total(), in allocate()
563 sys::MemoryBlock StandardSegs(AllocBase, SegsSizes->StandardSegs); in allocate()
564 sys::MemoryBlock FinalizeSegs(AllocBase + SegsSizes->StandardSegs, in allocate()
565 SegsSizes->FinalizeSegs); in allocate()
572 if (SegsSizes->StandardSegs) in allocate()
[all …]