Home
last modified time | relevance | path

Searched refs:SectionMemoryManager (Results 1 – 25 of 64) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp22 uint8_t *SectionMemoryManager::allocateDataSection(uintptr_t Size, in allocateDataSection()
28 return allocateSection(SectionMemoryManager::AllocationPurpose::ROData, in allocateDataSection()
30 return allocateSection(SectionMemoryManager::AllocationPurpose::RWData, Size, in allocateDataSection()
34 uint8_t *SectionMemoryManager::allocateCodeSection(uintptr_t Size, in allocateCodeSection()
38 return allocateSection(SectionMemoryManager::AllocationPurpose::Code, Size, in allocateCodeSection()
42 uint8_t *SectionMemoryManager::allocateSection( in allocateSection()
43 SectionMemoryManager::AllocationPurpose Purpose, uintptr_t Size, in allocateSection()
141 bool SectionMemoryManager::finalizeMemory(std::string *ErrMsg) { in finalizeMemory()
196 SectionMemoryManager::applyMemoryGroupPermissions(MemoryGroup &MemGroup, in applyMemoryGroupPermissions()
221 void SectionMemoryManager::invalidateInstructionCache() { in invalidateInstructionCache()
[all …]
DCMakeLists.txt7 SectionMemoryManager.cpp
/external/llvm/include/llvm/ExecutionEngine/
DSectionMemoryManager.h37 class SectionMemoryManager : public RTDyldMemoryManager {
38 SectionMemoryManager(const SectionMemoryManager&) = delete;
39 void operator=(const SectionMemoryManager&) = delete;
42 SectionMemoryManager() { } in SectionMemoryManager() function
43 ~SectionMemoryManager() override;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/
DSectionMemoryManager.h41 class SectionMemoryManager : public RTDyldMemoryManager {
109 SectionMemoryManager(MemoryMapper *MM = nullptr);
110 SectionMemoryManager(const SectionMemoryManager &) = delete;
111 void operator=(const SectionMemoryManager &) = delete;
112 ~SectionMemoryManager() override;
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITMemoryManagerTest.cpp18 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST()
51 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST()
84 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST()
119 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST()
DMCJITCAPITest.cpp38 return static_cast<SectionMemoryManager*>(object)->allocateCodeSection( in roundTripAllocateCodeSection()
49 return static_cast<SectionMemoryManager*>(object)->allocateDataSection( in roundTripAllocateDataSection()
56 static_cast<SectionMemoryManager*>(object)->finalizeMemory(&errMsgString); in roundTripFinalizeMemory()
65 delete static_cast<SectionMemoryManager*>(object); in roundTripDestroy()
75 class TestReserveAllocationSpaceMemoryManager: public SectionMemoryManager {
110 return SectionMemoryManager::allocateDataSection(Size, Alignment, in allocateDataSection()
118 return SectionMemoryManager::allocateCodeSection(Size, Alignment, in allocateCodeSection()
274 new SectionMemoryManager(), in useRoundTripSectionMemoryManager()
DMCJITObjectCacheTest.cpp164 MM.reset(new SectionMemoryManager()); in TEST_F()
198 MM.reset(new SectionMemoryManager()); in TEST_F()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITMemoryManagerTest.cpp18 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST()
51 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST()
84 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST()
119 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST()
DMCJITCAPITest.cpp38 return static_cast<SectionMemoryManager*>(object)->allocateCodeSection( in roundTripAllocateCodeSection()
49 return static_cast<SectionMemoryManager*>(object)->allocateDataSection( in roundTripAllocateDataSection()
56 static_cast<SectionMemoryManager*>(object)->finalizeMemory(&errMsgString); in roundTripFinalizeMemory()
65 delete static_cast<SectionMemoryManager*>(object); in roundTripDestroy()
75 class TestReserveAllocationSpaceMemoryManager: public SectionMemoryManager {
109 return SectionMemoryManager::allocateDataSection(Size, Alignment, in allocateDataSection()
117 return SectionMemoryManager::allocateCodeSection(Size, Alignment, in allocateCodeSection()
273 new SectionMemoryManager(), in useRoundTripSectionMemoryManager()
DMCJITObjectCacheTest.cpp164 MM.reset(new SectionMemoryManager()); in TEST_F()
198 MM.reset(new SectionMemoryManager()); in TEST_F()
/external/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp22 uint8_t *SectionMemoryManager::allocateDataSection(uintptr_t Size, in allocateDataSection()
32 uint8_t *SectionMemoryManager::allocateCodeSection(uintptr_t Size, in allocateCodeSection()
39 uint8_t *SectionMemoryManager::allocateSection(MemoryGroup &MemGroup, in allocateSection()
125 bool SectionMemoryManager::finalizeMemory(std::string *ErrMsg) in finalizeMemory()
181 SectionMemoryManager::applyMemoryGroupPermissions(MemoryGroup &MemGroup, in applyMemoryGroupPermissions()
206 void SectionMemoryManager::invalidateInstructionCache() { in invalidateInstructionCache()
211 SectionMemoryManager::~SectionMemoryManager() { in ~SectionMemoryManager()
DCMakeLists.txt7 SectionMemoryManager.cpp
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dorc_jit_memory_mapper.cc25 static llvm::SectionMemoryManager::MemoryMapper* mapper_instance
28 llvm::SectionMemoryManager::MemoryMapper* GetInstance() { in GetInstance()
34 std::unique_ptr<llvm::SectionMemoryManager::MemoryMapper> mapper) { in Registrar()
Dorc_jit_memory_mapper.h29 llvm::SectionMemoryManager::MemoryMapper* GetInstance();
36 std::unique_ptr<llvm::SectionMemoryManager::MemoryMapper> mapper);
/external/llvm/unittests/ExecutionEngine/Orc/
DObjectLinkingLayerTest.cpp31 class SectionMemoryManagerWrapper : public SectionMemoryManager {
38 return SectionMemoryManager::needsToReserveAllocationSpace(); in needsToReserveAllocationSpace()
43 return SectionMemoryManager::finalizeMemory(ErrMsg); in finalizeMemory()
48 class SectionMemoryManagerWrapper : public SectionMemoryManager { in TEST()
57 return SectionMemoryManager::allocateDataSection(Size, Alignment, in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DRTDyldObjectLinkingLayerTest.cpp32 class SectionMemoryManagerWrapper : public SectionMemoryManager {
39 return SectionMemoryManager::needsToReserveAllocationSpace(); in needsToReserveAllocationSpace()
44 return SectionMemoryManager::finalizeMemory(ErrMsg); in finalizeMemory()
49 class MemoryManagerWrapper : public SectionMemoryManager { in TEST()
58 return SectionMemoryManager::allocateDataSection(Size, Alignment, in TEST()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h207 llvm::make_unique<SectionMemoryManager>(), in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
215 llvm::make_unique<SectionMemoryManager>(), in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
268 SectionMemoryManager CCMgrMemMgr; in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
/external/llvm/tools/lli/
DOrcLazyJIT.h105 llvm::make_unique<SectionMemoryManager>(), in addModule()
147 SectionMemoryManager CCMgrMemMgr;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h218 std::make_shared<SectionMemoryManager>(), Resolver}; in OrcCBindingsStack()
341 llvm::make_unique<SectionMemoryManager>(), in addIRModuleEager()
350 llvm::make_unique<SectionMemoryManager>(), in addIRModuleLazy()
494 SectionMemoryManager CCMgrMemMgr;
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
DKaleidoscopeJIT.h82 make_unique<SectionMemoryManager>(), in addModule()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
DKaleidoscopeJIT.h67 std::make_shared<SectionMemoryManager>(), Resolver};
/external/llvm/examples/Kaleidoscope/include/
DKaleidoscopeJIT.h68 make_unique<SectionMemoryManager>(), in addModule()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
DKaleidoscopeJIT.h92 make_unique<SectionMemoryManager>(), in addModule()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
DKaleidoscopeJIT.h77 std::make_shared<SectionMemoryManager>(), Resolver};
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/include/
DKaleidoscopeJIT.h57 std::make_shared<SectionMemoryManager>(), Resolver};

123