Home
last modified time | relevance | path

Searched refs:MemGroup (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp39 uint8_t *SectionMemoryManager::allocateSection(MemoryGroup &MemGroup, in allocateSection() argument
52 for (FreeMemBlock &FreeMB : MemGroup.FreeMem) { in allocateSection()
61 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection()
65 FreeMB.PendingPrefixIndex = MemGroup.PendingMem.size() - 1; in allocateSection()
67 sys::MemoryBlock &PendingMB = MemGroup.PendingMem[FreeMB.PendingPrefixIndex]; in allocateSection()
88 &MemGroup.Near, in allocateSection()
98 MemGroup.Near = MB; in allocateSection()
101 MemGroup.AllocatedMem.push_back(MB); in allocateSection()
109 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection()
118 MemGroup.FreeMem.push_back(FreeMB); in allocateSection()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp53 MemoryGroup &MemGroup = [&]() -> MemoryGroup & { in allocateSection() local
67 for (FreeMemBlock &FreeMB : MemGroup.FreeMem) { in allocateSection()
76 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection()
80 FreeMB.PendingPrefixIndex = MemGroup.PendingMem.size() - 1; in allocateSection()
83 MemGroup.PendingMem[FreeMB.PendingPrefixIndex]; in allocateSection()
106 Purpose, RequiredSize, &MemGroup.Near, in allocateSection()
114 MemGroup.Near = MB; in allocateSection()
117 MemGroup.AllocatedMem.push_back(MB); in allocateSection()
125 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection()
134 MemGroup.FreeMem.push_back(FreeMB); in allocateSection()
[all …]
/external/llvm/include/llvm/ExecutionEngine/
DSectionMemoryManager.h110 uint8_t *allocateSection(MemoryGroup &MemGroup, uintptr_t Size,
113 std::error_code applyMemoryGroupPermissions(MemoryGroup &MemGroup,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/
DSectionMemoryManager.h182 std::error_code applyMemoryGroupPermissions(MemoryGroup &MemGroup,