Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp82 ContiguousPageBasedLayoutSizes SegsSizes; in getContiguousPageBasedLayoutSizes() local
94 SegsSizes.StandardSegs += SegSize; in getContiguousPageBasedLayoutSizes()
96 SegsSizes.FinalizeSegs += SegSize; in getContiguousPageBasedLayoutSizes()
99 return SegsSizes; in getContiguousPageBasedLayoutSizes()
349 auto SegsSizes = BL.getContiguousPageBasedLayoutSizes(PageSize); in allocate() local
350 if (!SegsSizes) { in allocate()
351 OnAllocated(SegsSizes.takeError()); in allocate()
357 if (SegsSizes->total() > std::numeric_limits<size_t>::max()) { in allocate()
359 "Total requested size " + formatv("{0:x}", SegsSizes->total()) + in allocate()
381 Slab = sys::Memory::allocateMappedMemory(SegsSizes->total(), nullptr, in allocate()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMapperJITLinkMemoryManager.cpp67 auto SegsSizes = BL.getContiguousPageBasedLayoutSizes(Mapper->getPageSize()); in allocate() local
68 if (!SegsSizes) { in allocate()
69 OnAllocated(SegsSizes.takeError()); in allocate()
73 auto TotalSize = SegsSizes->total(); in allocate()