HomeSort by relevance Sort by last modified time
    Searched refs:MemoryBlock (Results 1 - 25 of 38) sorted by null

1 2

  /external/llvm/include/llvm/Support/
Memory.h 29 class MemoryBlock {
31 MemoryBlock() : Address(nullptr), Size(0) { }
32 MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { }
43 /// MemoryBlock instances.
67 /// MemoryBlock.
74 /// \r a non-null MemoryBlock if the function was successful,
75 /// otherwise a null MemoryBlock is with \p EC describing the error.
78 static MemoryBlock allocateMappedMemory(size_t NumBytes,
79 const MemoryBlock *const NearBlock,
92 static std::error_code releaseMappedMemory(MemoryBlock &Block)
    [all...]
  /external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Memory.h 29 class MemoryBlock {
31 MemoryBlock() : Address(nullptr), Size(0) { }
32 MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { }
43 /// MemoryBlock instances.
67 /// MemoryBlock.
74 /// \r a non-null MemoryBlock if the function was successful,
75 /// otherwise a null MemoryBlock is with \p EC describing the error.
78 static MemoryBlock allocateMappedMemory(size_t NumBytes,
79 const MemoryBlock *const NearBlock,
92 static std::error_code releaseMappedMemory(MemoryBlock &Block)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/
Memory.h 29 class MemoryBlock {
31 MemoryBlock() : Address(nullptr), Size(0) { }
32 MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { }
43 /// MemoryBlock instances.
67 /// MemoryBlock.
74 /// \r a non-null MemoryBlock if the function was successful,
75 /// otherwise a null MemoryBlock is with \p EC describing the error.
78 static MemoryBlock allocateMappedMemory(size_t NumBytes,
79 const MemoryBlock *const NearBlock,
92 static std::error_code releaseMappedMemory(MemoryBlock &Block)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/
Memory.h 29 class MemoryBlock {
31 MemoryBlock() : Address(nullptr), Size(0) { }
32 MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { }
43 /// MemoryBlock instances.
67 /// MemoryBlock.
74 /// \r a non-null MemoryBlock if the function was successful,
75 /// otherwise a null MemoryBlock is with \p EC describing the error.
78 static MemoryBlock allocateMappedMemory(size_t NumBytes,
79 const MemoryBlock *const NearBlock,
92 static std::error_code releaseMappedMemory(MemoryBlock &Block)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/
Memory.h 29 class MemoryBlock {
31 MemoryBlock() : Address(nullptr), Size(0) { }
32 MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { }
43 /// MemoryBlock instances.
67 /// MemoryBlock.
74 /// \r a non-null MemoryBlock if the function was successful,
75 /// otherwise a null MemoryBlock is with \p EC describing the error.
78 static MemoryBlock allocateMappedMemory(size_t NumBytes,
79 const MemoryBlock *const NearBlock,
92 static std::error_code releaseMappedMemory(MemoryBlock &Block)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
Memory.h 29 class MemoryBlock {
31 MemoryBlock() : Address(nullptr), Size(0) { }
32 MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { }
43 /// MemoryBlock instances.
67 /// MemoryBlock.
74 /// \r a non-null MemoryBlock if the function was successful,
75 /// otherwise a null MemoryBlock is with \p EC describing the error.
78 static MemoryBlock allocateMappedMemory(size_t NumBytes,
79 const MemoryBlock *const NearBlock,
92 static std::error_code releaseMappedMemory(MemoryBlock &Block)
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/
Memory.h 29 class MemoryBlock {
31 MemoryBlock() : Address(nullptr), Size(0) { }
32 MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { }
43 /// MemoryBlock instances.
67 /// MemoryBlock.
74 /// \r a non-null MemoryBlock if the function was successful,
75 /// otherwise a null MemoryBlock is with \p EC describing the error.
78 static MemoryBlock allocateMappedMemory(size_t NumBytes,
79 const MemoryBlock *const NearBlock,
92 static std::error_code releaseMappedMemory(MemoryBlock &Block)
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/
Memory.h 29 class MemoryBlock {
31 MemoryBlock() : Address(nullptr), Size(0) { }
32 MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { }
43 /// MemoryBlock instances.
67 /// MemoryBlock.
74 /// \r a non-null MemoryBlock if the function was successful,
75 /// otherwise a null MemoryBlock is with \p EC describing the error.
78 static MemoryBlock allocateMappedMemory(size_t NumBytes,
79 const MemoryBlock *const NearBlock,
92 static std::error_code releaseMappedMemory(MemoryBlock &Block)
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/
Memory.h 29 class MemoryBlock {
31 MemoryBlock() : Address(nullptr), Size(0) { }
32 MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { }
43 /// MemoryBlock instances.
67 /// MemoryBlock.
74 /// \r a non-null MemoryBlock if the function was successful,
75 /// otherwise a null MemoryBlock is with \p EC describing the error.
78 static MemoryBlock allocateMappedMemory(size_t NumBytes,
79 const MemoryBlock *const NearBlock,
92 static std::error_code releaseMappedMemory(MemoryBlock &Block)
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
Memory.h 29 class MemoryBlock {
31 MemoryBlock() : Address(nullptr), Size(0) { }
32 MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { }
43 /// MemoryBlock instances.
67 /// MemoryBlock.
74 /// \r a non-null MemoryBlock if the function was successful,
75 /// otherwise a null MemoryBlock is with \p EC describing the error.
78 static MemoryBlock allocateMappedMemory(size_t NumBytes,
79 const MemoryBlock *const NearBlock,
92 static std::error_code releaseMappedMemory(MemoryBlock &Block)
    [all...]
  /external/swiftshader/third_party/LLVM/include/llvm/Support/
Memory.h 28 class MemoryBlock {
30 MemoryBlock() : Address(0), Size(0) { }
31 MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { }
41 /// MemoryBlock instances.
56 static MemoryBlock AllocateRWX(size_t NumBytes,
57 const MemoryBlock *NearBlock,
67 static bool ReleaseRWX(MemoryBlock &block, std::string *ErrMsg = 0);
78 static bool setExecutable(MemoryBlock &M, std::string *ErrMsg = 0);
83 static bool setWritable(MemoryBlock &M, std::string *ErrMsg = 0);
  /external/llvm/include/llvm/ExecutionEngine/
SectionMemoryManager.h 88 sys::MemoryBlock Free;
101 SmallVector<sys::MemoryBlock, 16> PendingMem;
105 SmallVector<sys::MemoryBlock, 16> AllocatedMem;
107 sys::MemoryBlock Near;
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/ExecutionEngine/
SectionMemoryManager.h 91 sys::MemoryBlock Free;
104 SmallVector<sys::MemoryBlock, 16> PendingMem;
108 SmallVector<sys::MemoryBlock, 16> AllocatedMem;
110 sys::MemoryBlock Near;
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/ExecutionEngine/
SectionMemoryManager.h 91 sys::MemoryBlock Free;
104 SmallVector<sys::MemoryBlock, 16> PendingMem;
108 SmallVector<sys::MemoryBlock, 16> AllocatedMem;
110 sys::MemoryBlock Near;
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/ExecutionEngine/
SectionMemoryManager.h 91 sys::MemoryBlock Free;
104 SmallVector<sys::MemoryBlock, 16> PendingMem;
108 SmallVector<sys::MemoryBlock, 16> AllocatedMem;
110 sys::MemoryBlock Near;
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ExecutionEngine/
SectionMemoryManager.h 91 sys::MemoryBlock Free;
104 SmallVector<sys::MemoryBlock, 16> PendingMem;
108 SmallVector<sys::MemoryBlock, 16> AllocatedMem;
110 sys::MemoryBlock Near;
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/ExecutionEngine/
SectionMemoryManager.h 91 sys::MemoryBlock Free;
104 SmallVector<sys::MemoryBlock, 16> PendingMem;
108 SmallVector<sys::MemoryBlock, 16> AllocatedMem;
110 sys::MemoryBlock Near;
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/ExecutionEngine/
SectionMemoryManager.h 91 sys::MemoryBlock Free;
104 SmallVector<sys::MemoryBlock, 16> PendingMem;
108 SmallVector<sys::MemoryBlock, 16> AllocatedMem;
110 sys::MemoryBlock Near;
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/ExecutionEngine/
SectionMemoryManager.h 91 sys::MemoryBlock Free;
104 SmallVector<sys::MemoryBlock, 16> PendingMem;
108 SmallVector<sys::MemoryBlock, 16> AllocatedMem;
110 sys::MemoryBlock Near;
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ExecutionEngine/
SectionMemoryManager.h 91 sys::MemoryBlock Free;
104 SmallVector<sys::MemoryBlock, 16> PendingMem;
108 SmallVector<sys::MemoryBlock, 16> AllocatedMem;
110 sys::MemoryBlock Near;
  /external/llvm/lib/ExecutionEngine/
SectionMemoryManager.cpp 61 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size));
67 sys::MemoryBlock &PendingMB = MemGroup.PendingMem[FreeMB.PendingPrefixIndex];
68 PendingMB = sys::MemoryBlock(PendingMB.base(), Addr + Size - (uintptr_t)PendingMB.base());
72 FreeMB.Free = sys::MemoryBlock((void *)(Addr + Size), EndOfBlock - Addr - Size);
87 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory(RequiredSize,
109 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size));
116 FreeMB.Free = sys::MemoryBlock((void*)(Addr + Size), FreeSize);
160 static sys::MemoryBlock trimBlockToPageSize(sys::MemoryBlock M) {
170 sys::MemoryBlock Trimmed((void *)((uintptr_t)M.base() + StartOverlap), TrimmedSize)
    [all...]
  /external/llvm/unittests/Support/
MemoryTest.cpp 45 bool doesOverlap(MemoryBlock M1, MemoryBlock M2) {
61 MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), nullptr, Flags,EC);
72 MemoryBlock M1 = Memory::allocateMappedMemory(16, nullptr, Flags, EC);
74 MemoryBlock M2 = Memory::allocateMappedMemory(64, nullptr, Flags, EC);
76 MemoryBlock M3 = Memory::allocateMappedMemory(32, nullptr, Flags, EC);
92 MemoryBlock M4 = Memory::allocateMappedMemory(16, nullptr, Flags, EC);
107 MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), nullptr, Flags,EC);
126 MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), nullptr, Flags,
129 MemoryBlock M2 = Memory::allocateMappedMemory(8 * sizeof(int), nullptr, Flags
    [all...]
  /external/swiftshader/third_party/LLVM/tools/llvm-rtdyld/
llvm-rtdyld.cpp 53 SmallVector<sys::MemoryBlock, 16> FunctionMemory;
69 FunctionMemory.push_back(sys::MemoryBlock(FunctionStart, Size));
118 sys::MemoryBlock &Data = MemMgr->FunctionMemory[i];
  /external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
JITMemoryManager.cpp 281 sys::MemoryBlock LastSlab;
285 std::vector<sys::MemoryBlock> CodeSlabs;
301 /// allocateNewSlab - Allocates a new MemoryBlock and remembers it as the
303 sys::MemoryBlock allocateNewSlab(size_t size);
375 sys::MemoryBlock B = allocateNewSlab(SlabSize);
518 sys::MemoryBlock B = JMM.allocateNewSlab(Size);
526 sys::MemoryBlock B(Slab, Slab->Size);
543 sys::MemoryBlock MemBlock = allocateNewSlab(DefaultCodeSlabSize);
609 sys::MemoryBlock DefaultJITMemoryManager::allocateNewSlab(size_t size) {
612 sys::MemoryBlock *LastSlabPtr = LastSlab.base() ? &LastSlab : 0
    [all...]
  /external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyld.cpp 37 Functions[Name] = sys::MemoryBlock(Mem, Size);

Completed in 3810 milliseconds

1 2