Home
last modified time | relevance | path

Searched refs:SegmentSize (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp114 uint64_t SegmentSize = alignTo(Seg.getContentSize() + Seg.getZeroFillSize(), in allocate() local
116 assert(SlabRemaining.allocatedSize() >= SegmentSize && in allocate()
119 sys::MemoryBlock SegMem(SlabRemaining.base(), SegmentSize); in allocate()
120 SlabRemaining = sys::MemoryBlock((char *)SlabRemaining.base() + SegmentSize, in allocate()
121 SlabRemaining.allocatedSize() - SegmentSize); in allocate()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_segmented_array.h65 static constexpr uint64_t SegmentSize = nearest_boundary( variable
68 using AllocatorType = Allocator<SegmentSize>;
71 (SegmentSize - SegmentControlBlockSize) / next_pow2(sizeof(T));
375 reinterpret_cast<unsigned char *>(Base) + SegmentSize); in AppendEmplace()
407 reinterpret_cast<unsigned char *>(Tail) + SegmentSize); in Append()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCCodeView.cpp363 uint32_t SegmentSize = 12; in emitLineTableForFunction() local
364 SegmentSize += 8 * EntryCount; in emitLineTableForFunction()
366 SegmentSize += 4 * EntryCount; in emitLineTableForFunction()
367 OS.emitInt32(SegmentSize); in emitLineTableForFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink.cpp408 uint64_t SegmentSize = ZeroFillStart + Seg.getZeroFillSize(); in allocate() local
411 SegmentSize = (SegmentSize + PageSize - 1) & ~(PageSize - 1); in allocate()
417 if (SegmentSize > SlabRemainingSize) in allocate()
421 sys::MemoryBlock SegMem(SlabBase, SegmentSize); in allocate()
423 sys::MemoryBlock(reinterpret_cast<char *>(SlabBase) + SegmentSize, in allocate()
424 SlabRemainingSize - SegmentSize); in allocate()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/
H A Dsegmented_array_test.cc136 constexpr auto Segment = Array<TestData>::SegmentSize; in TEST()
177 constexpr auto Segment = Array<TestData>::SegmentSize; in TEST()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
H A DOrcRemoteTargetClient.h419 uint64_t SegmentSize = Seg.getContentSize() + Seg.getZeroFillSize(); in allocateHostBlocks() local
420 uint64_t AlignedSegmentSize = alignTo(SegmentSize, TargetPageSize); in allocateHostBlocks()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DWasmObjectFile.cpp640 size_t SegmentSize = DataSegments[Index].Data.Content.size(); in parseLinkingSectionSymtab() local
641 if (Offset > SegmentSize) in parseLinkingSectionSymtab()
644 Twine(Offset) + " segment size: " + Twine(SegmentSize) + ")", in parseLinkingSectionSymtab()