Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DJITLinkMemoryManager.cpp113 uint64_t SegmentSize = alignTo(Seg.getContentSize() + Seg.getZeroFillSize(), in allocate() local
116 sys::MemoryBlock SegMem(SlabRemaining.base(), SegmentSize); in allocate()
117 SlabRemaining = sys::MemoryBlock((char *)SlabRemaining.base() + SegmentSize, in allocate()
118 SegmentSize); in allocate()
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DJITLinkMemoryManager.cpp113 uint64_t SegmentSize = alignTo(Seg.getContentSize() + Seg.getZeroFillSize(), in allocate() local
116 sys::MemoryBlock SegMem(SlabRemaining.base(), SegmentSize); in allocate()
117 SlabRemaining = sys::MemoryBlock((char *)SlabRemaining.base() + SegmentSize, in allocate()
118 SegmentSize); in allocate()
/external/llvm-project/compiler-rt/lib/xray/
Dxray_segmented_array.h64 static constexpr uint64_t SegmentSize = nearest_boundary( variable
67 using AllocatorType = Allocator<SegmentSize>;
70 (SegmentSize - SegmentControlBlockSize) / next_pow2(sizeof(T));
374 reinterpret_cast<unsigned char *>(Base) + SegmentSize); in AppendEmplace()
406 reinterpret_cast<unsigned char *>(Tail) + SegmentSize); in Append()
/external/llvm/lib/MC/
DMCCodeView.cpp182 uint32_t SegmentSize = 12; in emitLineTableForFunction() local
183 SegmentSize += 8 * EntryCount; in emitLineTableForFunction()
185 SegmentSize += 4 * EntryCount; in emitLineTableForFunction()
186 OS.EmitIntValue(SegmentSize, 4); in emitLineTableForFunction()
/external/ImageMagick/MagickCore/
Dmemory.c113 #define SegmentSize (2*1024*1024) macro
572 memory_pool.allocation=SegmentSize; in AcquireMagickMemory()
952 blocksize=((size+12*sizeof(size_t))+SegmentSize-1) & -SegmentSize; in ExpandHeap()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCCodeView.cpp363 uint32_t SegmentSize = 12; in emitLineTableForFunction() local
364 SegmentSize += 8 * EntryCount; in emitLineTableForFunction()
366 SegmentSize += 4 * EntryCount; in emitLineTableForFunction()
367 OS.EmitIntValue(SegmentSize, 4); in emitLineTableForFunction()
/external/llvm-project/llvm/lib/MC/
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()
/external/llvm-project/llvm/tools/llvm-jitlink/
Dllvm-jitlink.cpp396 uint64_t SegmentSize = ZeroFillStart + Seg.getZeroFillSize(); in allocate() local
399 SegmentSize = (SegmentSize + PageSize - 1) & ~(PageSize - 1); in allocate()
405 if (SegmentSize > SlabRemainingSize) in allocate()
409 sys::MemoryBlock SegMem(SlabBase, SegmentSize); in allocate()
411 sys::MemoryBlock(reinterpret_cast<char *>(SlabBase) + SegmentSize, in allocate()
412 SlabRemainingSize - SegmentSize); in allocate()
/external/llvm-project/compiler-rt/lib/xray/tests/unit/
Dsegmented_array_test.cpp136 constexpr auto Segment = Array<TestData>::SegmentSize; in TEST()
177 constexpr auto Segment = Array<TestData>::SegmentSize; in TEST()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetClient.h419 uint64_t SegmentSize = Seg.getContentSize() + Seg.getZeroFillSize(); in allocateHostBlocks() local
420 uint64_t AlignedSegmentSize = alignTo(SegmentSize, TargetPageSize); in allocateHostBlocks()