/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
H A D | Memory.h | 31 class MemoryBlock { 33 MemoryBlock() : Address(nullptr), AllocatedSize(0) {} in MemoryBlock() function 34 MemoryBlock(void *addr, size_t allocatedSize) in MemoryBlock() function 97 static MemoryBlock allocateMappedMemory(size_t NumBytes, 98 const MemoryBlock *const NearBlock, 111 static std::error_code releaseMappedMemory(MemoryBlock &Block); 127 static std::error_code protectMappedMemory(const MemoryBlock &Block, 140 explicit OwningMemoryBlock(MemoryBlock M) : M(M) {} in OwningMemoryBlock() 143 Other.M = MemoryBlock(); in OwningMemoryBlock() 147 Other.M = MemoryBlock(); [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/ |
H A D | SectionMemoryManager.cpp | 75 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection() 81 sys::MemoryBlock &PendingMB = in allocateSection() 83 PendingMB = sys::MemoryBlock(PendingMB.base(), in allocateSection() 89 sys::MemoryBlock((void *)(Addr + Size), EndOfBlock - Addr - Size); in allocateSection() 104 sys::MemoryBlock MB = MMapper.allocateMappedMemory( in allocateSection() 133 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection() 140 FreeMB.Free = sys::MemoryBlock((void *)(Addr + Size), FreeSize); in allocateSection() 182 static sys::MemoryBlock trimBlockToPageSize(sys::MemoryBlock M) { in trimBlockToPageSize() 192 sys::MemoryBlock Trimmed((void *)((uintptr_t)M.base() + StartOverlap), in trimBlockToPageSize() 206 for (sys::MemoryBlock &MB : MemGroup.PendingMem) in applyMemoryGroupPermissions() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/ |
H A D | SectionMemoryManager.h | 72 virtual sys::MemoryBlock 74 const sys::MemoryBlock *const NearBlock, 89 virtual std::error_code protectMappedMemory(const sys::MemoryBlock &Block, 99 virtual std::error_code releaseMappedMemory(sys::MemoryBlock &M) = 0; 155 sys::MemoryBlock Free; 168 SmallVector<sys::MemoryBlock, 16> PendingMem; 172 SmallVector<sys::MemoryBlock, 16> AllocatedMem; 174 sys::MemoryBlock Near;
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | TPCDebugObjectRegistrar.h | 31 virtual Error registerDebugObject(sys::MemoryBlock) = 0; 40 std::vector<uint8_t> (*)(sys::MemoryBlock TargetMemBlock); 48 Error registerDebugObject(sys::MemoryBlock TargetMem) override { in registerDebugObject()
|
H A D | OrcRemoteTargetClient.h | 334 using AllocationMap = DenseMap<unsigned, sys::MemoryBlock>; 387 sys::MemoryBlock HostAllocation; 428 sys::MemoryBlock(SlabAddr, AlignedSegmentSize); in allocateHostBlocks() 452 sys::MemoryBlock(jitTargetAddressToPointer<void *>(TargetAllocAddr), in allocateTargetBlocks() 471 const sys::MemoryBlock &TargetBlock = KV.second; in copyAndProtect() 472 const sys::MemoryBlock &HostBlock = HostSegBlocks.lookup(KV.first); in copyAndProtect()
|
H A D | OrcRemoteTargetServer.h | 126 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory( in allocate() 146 std::map<void *, sys::MemoryBlock> Allocs;
|
H A D | IndirectionUtils.h | 327 sys::MemoryBlock StubsBlock(StubsAndPtrsMem.base(), ISAS.StubBytes); in create()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/Windows/ |
H A D | Memory.inc | 100 MemoryBlock Memory::allocateMappedMemory(size_t NumBytes, 101 const MemoryBlock *const NearBlock, 106 return MemoryBlock(); 143 return MemoryBlock(); 146 MemoryBlock Result; 157 std::error_code Memory::releaseMappedMemory(MemoryBlock &M) { 170 std::error_code Memory::protectMappedMemory(const MemoryBlock &M,
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/Unix/ |
H A D | Memory.inc | 81 MemoryBlock 83 const MemoryBlock *const NearBlock, 88 return MemoryBlock(); 100 return MemoryBlock(); 138 return MemoryBlock(); 145 MemoryBlock Result; 154 return MemoryBlock(); 161 Memory::releaseMappedMemory(MemoryBlock &M) { 175 Memory::protectMappedMemory(const MemoryBlock &M, unsigned Flags) {
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/ |
H A D | JITLinkMemoryManager.cpp | 23 using AllocationMap = DenseMap<unsigned, sys::MemoryBlock>; in allocate() 54 sys::MemoryBlock Slab(SlabStart, SlabSize); in allocate() 119 sys::MemoryBlock SegMem(SlabRemaining.base(), SegmentSize); in allocate() 120 SlabRemaining = sys::MemoryBlock((char *)SlabRemaining.base() + SegmentSize, in allocate()
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-rtdyld/ |
H A D | llvm-rtdyld.cpp | 192 SectionInfo(StringRef Name, sys::MemoryBlock MB, unsigned SectionID) in SectionInfo() 195 sys::MemoryBlock MB; 248 sys::MemoryBlock MB = in preallocateSlab() 268 sys::MemoryBlock MB((void *)OldSlabOffset, Size); in allocateFromSlab() 279 sys::MemoryBlock PreallocSlab; 302 sys::MemoryBlock MB = in allocateCodeSection() 330 sys::MemoryBlock MB = in allocateDataSection()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
H A D | FileOutputBuffer.cpp | 77 InMemoryBuffer(StringRef Path, MemoryBlock Buf, std::size_t BufSize, in InMemoryBuffer() 119 MemoryBlock MB = Memory::allocateMappedMemory( in createInMemoryBuffer()
|
H A D | Memory.cpp | 44 raw_ostream &operator<<(raw_ostream &OS, const MemoryBlock &MB) { in operator <<()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/ |
H A D | TPCDebugObjectRegistrar.cpp | 20 writeDebugObjectInfo(sys::MemoryBlock TargetMemBlock) { in writeDebugObjectInfo()
|
H A D | DebugObjectManagerPlugin.cpp | 131 using FinalizeContinuation = std::function<void(Expected<sys::MemoryBlock>)>; 171 OnFinalize(sys::MemoryBlock( in finalizeAsync() 450 [this, &FinalizePromise, &MR](Expected<sys::MemoryBlock> TargetMem) { in notifyEmitted()
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-jitlink/ |
H A D | llvm-jitlink.cpp | 347 using AllocationMap = DenseMap<unsigned, sys::MemoryBlock>; in allocate() 421 sys::MemoryBlock SegMem(SlabBase, SegmentSize); in allocate() 423 sys::MemoryBlock(reinterpret_cast<char *>(SlabBase) + SegmentSize, in allocate() 472 sys::MemoryBlock SlabRemaining;
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ |
H A D | OrcRPCTPCServer.h | 516 sys::MemoryBlock MB(jitTargetAddressToPointer<void *>(E.Address), E.Size); in finalizeMemory() 530 sys::MemoryBlock MB(jitTargetAddressToPointer<void *>(E.Address), E.Size); in releaseMemory()
|