Home
last modified time | relevance | path

Searched refs:allocatedSize (Results 1 – 8 of 8) sorted by relevance

/src/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp67 if (FreeMB.Free.allocatedSize() >= RequiredSize) { in allocateSection()
69 uintptr_t EndOfBlock = Addr + FreeMB.Free.allocatedSize(); in allocateSection()
127 uintptr_t EndOfBlock = Addr + MB.allocatedSize(); in allocateSection()
188 size_t TrimmedSize = M.allocatedSize(); in trimBlockToPageSize()
196 assert((Trimmed.allocatedSize() % PageSize) == 0); in trimBlockToPageSize()
198 Trimmed.allocatedSize() <= M.allocatedSize()); in trimBlockToPageSize()
222 return FreeMB.Free.allocatedSize() == 0; in applyMemoryGroupPermissions()
231 Block.allocatedSize()); in invalidateInstructionCache()
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DMemory.h34 MemoryBlock(void *addr, size_t allocatedSize) in MemoryBlock() argument
35 : Address(addr), AllocatedSize(allocatedSize) {} in MemoryBlock()
39 size_t allocatedSize() const { return AllocatedSize; } in allocatedSize() function
157 size_t allocatedSize() const { return M.allocatedSize(); } in allocatedSize() function
/src/contrib/llvm-project/llvm/lib/Support/
H A DMemory.cpp45 << (void *)((char *)MB.base() + MB.allocatedSize()) << " ] (" in operator <<()
46 << MB.allocatedSize() << " bytes)"; in operator <<()
/src/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp315 sys::Memory::InvalidateInstructionCache(MB.base(), MB.allocatedSize()); in applyProtections()
390 memset(Slab.base(), 0, Slab.allocatedSize()); in allocate()
405 NextStandardSegAddr + StandardSegsMem.allocatedSize()) in allocate()
411 NextFinalizeSegAddr + FinalizeSegsMem.allocatedSize()) in allocate()
/src/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMemoryMapper.cpp55 Reservations[MB.base()].Size = MB.allocatedSize(); in reserve()
59 ExecutorAddrRange(ExecutorAddr::fromPtr(MB.base()), MB.allocatedSize())); in reserve()
/src/contrib/llvm-project/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp723 AlreadyAllocated[LoadAddr] = (*Tmp)->MB.allocatedSize(); in remapSectionsAndSymbols()
747 if (NextSectionAddr + CurEntry->MB.allocatedSize() + TargetSectionSep <= in remapSectionsAndSymbols()
754 AlreadyAllocated[NextSectionAddr] = CurEntry->MB.allocatedSize(); in remapSectionsAndSymbols()
/src/contrib/llvm-project/llvm/lib/Support/Windows/
H A DMemory.inc122 NearBlock->allocatedSize()
/src/contrib/llvm-project/llvm/lib/Support/Unix/
H A DMemory.inc106 NearBlock->allocatedSize()