| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/ |
| H A D | SectionMemoryManager.cpp | 21 uint8_t *SectionMemoryManager::allocateDataSection(uintptr_t Size, in allocateDataSection() 27 return allocateSection(SectionMemoryManager::AllocationPurpose::ROData, in allocateDataSection() 33 uint8_t *SectionMemoryManager::allocateCodeSection(uintptr_t Size, in allocateCodeSection() 41 uint8_t *SectionMemoryManager::allocateSection( in allocateSection() 42 SectionMemoryManager::AllocationPurpose Purpose, uintptr_t Size, in allocateSection() 149 bool SectionMemoryManager::finalizeMemory(std::string *ErrMsg) { in finalizeMemory() 228 void SectionMemoryManager::invalidateInstructionCache() { in invalidateInstructionCache() 234 SectionMemoryManager::~SectionMemoryManager() { in ~SectionMemoryManager() 241 SectionMemoryManager::MemoryMapper::~MemoryMapper() = default; 243 void SectionMemoryManager::anchor() {} in anchor() [all …]
|
| H A D | CMakeLists.txt | 7 SectionMemoryManager.cpp
|
| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/ |
| H A D | SectionMemoryManager.h | 39 class SectionMemoryManager : public RTDyldMemoryManager { 107 SectionMemoryManager(MemoryMapper *MM = nullptr); 108 SectionMemoryManager(const SectionMemoryManager &) = delete; 109 void operator=(const SectionMemoryManager &) = delete; 110 ~SectionMemoryManager() override;
|
| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/MCJIT/ |
| H A D | MCJITMemoryManagerTest.cpp | 17 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() 50 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() 83 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST() 118 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager()); in TEST()
|
| H A D | MCJITCAPITest.cpp | 37 return static_cast<SectionMemoryManager*>(object)->allocateCodeSection( in roundTripAllocateCodeSection() 48 return static_cast<SectionMemoryManager*>(object)->allocateDataSection( in roundTripAllocateDataSection() 55 static_cast<SectionMemoryManager*>(object)->finalizeMemory(&errMsgString); in roundTripFinalizeMemory() 64 delete static_cast<SectionMemoryManager*>(object); in roundTripDestroy() 74 class TestReserveAllocationSpaceMemoryManager: public SectionMemoryManager { 109 return SectionMemoryManager::allocateDataSection(Size, Alignment, in allocateDataSection() 117 return SectionMemoryManager::allocateCodeSection(Size, Alignment, in allocateCodeSection() 275 new SectionMemoryManager(), in useRoundTripSectionMemoryManager()
|
| H A D | MCJITObjectCacheTest.cpp | 164 MM.reset(new SectionMemoryManager()); in TEST_F() 198 MM.reset(new SectionMemoryManager()); in TEST_F()
|
| /llvm-project-15.0.7/bolt/lib/Rewrite/ |
| H A D | ExecutableFileMemoryManager.cpp | 41 return SectionMemoryManager::allocateDataSection(Size, Alignment, SectionID, in allocateSection() 46 Ret = SectionMemoryManager::allocateCodeSection(Size, Alignment, SectionID, in allocateSection() 49 Ret = SectionMemoryManager::allocateDataSection(Size, Alignment, SectionID, in allocateSection() 86 return SectionMemoryManager::finalizeMemory(ErrMsg); in finalizeMemory()
|
| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/ |
| H A D | RTDyldObjectLinkingLayerTest.cpp | 28 class MemoryManagerWrapper : public SectionMemoryManager { in testSetProcessAllSections() 39 return SectionMemoryManager::allocateDataSection( in testSetProcessAllSections() 160 ES, []() { return std::make_unique<SectionMemoryManager>(); }); in TEST() 230 ES, []() { return std::make_unique<SectionMemoryManager>(); }); in TEST()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/lib/ExecutionEngine/ |
| H A D | BUILD.gn | 19 "SectionMemoryManager.cpp",
|
| /llvm-project-15.0.7/llvm/examples/SpeculativeJIT/ |
| H A D | SpeculativeJIT.cpp | 132 static std::unique_ptr<SectionMemoryManager> createMemMgr() { in createMemMgr() 133 return std::make_unique<SectionMemoryManager>(); in createMemMgr()
|
| /llvm-project-15.0.7/bolt/include/bolt/Rewrite/ |
| H A D | ExecutableFileMemoryManager.h | 23 class ExecutableFileMemoryManager : public SectionMemoryManager {
|
| /llvm-project-15.0.7/lldb/include/lldb/Expression/ |
| H A D | IRExecutionUnit.h | 236 class MemoryManager : public llvm::SectionMemoryManager { 315 std::unique_ptr<SectionMemoryManager> m_default_mm_up; ///< The memory
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
| H A D | KaleidoscopeJIT.h | 50 []() { return std::make_unique<SectionMemoryManager>(); }), in KaleidoscopeJIT()
|
| /llvm-project-15.0.7/llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/ |
| H A D | LLJITWithGDBRegistrationListener.cpp | 68 return std::make_unique<SectionMemoryManager>(); in main()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/include/ |
| H A D | KaleidoscopeJIT.h | 50 []() { return std::make_unique<SectionMemoryManager>(); }), in KaleidoscopeJIT()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
| H A D | KaleidoscopeJIT.h | 56 []() { return std::make_unique<SectionMemoryManager>(); }), in KaleidoscopeJIT()
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/ |
| H A D | Assembler.cpp | 274 class TrackingSectionMemoryManager : public SectionMemoryManager { 283 return SectionMemoryManager::allocateCodeSection(Size, Alignment, SectionID, in allocateCodeSection()
|
| /llvm-project-15.0.7/llvm/docs/tutorial/ |
| H A D | BuildingAJIT1.rst | 120 #include "llvm/ExecutionEngine/SectionMemoryManager.h" 141 []() { return std::make_unique<SectionMemoryManager>(); }), 166 that returns a SectionMemoryManager, an off-the-shelf utility that provides all 315 | SectionMemoryManager.h | Provides the SectionMemoryManager class. |
|
| H A D | BuildingAJIT3.rst | 71 #include "llvm/ExecutionEngine/SectionMemoryManager.h" 104 ObjectLayer([]() { return std::make_shared<SectionMemoryManager>(); }),
|
| /llvm-project-15.0.7/mlir/include/mlir/ExecutionEngine/ |
| H A D | ExecutionEngine.h | 76 llvm::SectionMemoryManager::MemoryMapper *sectionMemoryMapper = nullptr;
|
| /llvm-project-15.0.7/mlir/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 46 using llvm::SectionMemoryManager; 260 return std::make_unique<SectionMemoryManager>(sectionMemoryMapper); in create()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
| H A D | KaleidoscopeJIT.h | 67 []() { return std::make_unique<SectionMemoryManager>(); }), in KaleidoscopeJIT()
|
| /llvm-project-15.0.7/llvm/tools/llvm-jitlistener/ |
| H A D | llvm-jitlistener.cpp | 158 RTDyldMemoryManager *MemMgr = new SectionMemoryManager(); in InitEE()
|
| /llvm-project-15.0.7/clang/tools/clang-fuzzer/handle-llvm/ |
| H A D | handle_llvm.cpp | 174 builder.setMCJITMemoryManager(std::make_unique<SectionMemoryManager>()); in CreateAndRunJITFunc()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
| H A D | KaleidoscopeJIT.h | 154 []() { return std::make_unique<SectionMemoryManager>(); }), in KaleidoscopeJIT()
|