Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp21 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 DCMakeLists.txt7 SectionMemoryManager.cpp
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/
H A DSectionMemoryManager.h39 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 DMCJITMemoryManagerTest.cpp17 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 DMCJITCAPITest.cpp37 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 DMCJITObjectCacheTest.cpp164 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 DExecutableFileMemoryManager.cpp41 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 DRTDyldObjectLinkingLayerTest.cpp28 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 DBUILD.gn19 "SectionMemoryManager.cpp",
/llvm-project-15.0.7/llvm/examples/SpeculativeJIT/
H A DSpeculativeJIT.cpp132 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 DExecutableFileMemoryManager.h23 class ExecutableFileMemoryManager : public SectionMemoryManager {
/llvm-project-15.0.7/lldb/include/lldb/Expression/
H A DIRExecutionUnit.h236 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 DKaleidoscopeJIT.h50 []() { return std::make_unique<SectionMemoryManager>(); }), in KaleidoscopeJIT()
/llvm-project-15.0.7/llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/
H A DLLJITWithGDBRegistrationListener.cpp68 return std::make_unique<SectionMemoryManager>(); in main()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/include/
H A DKaleidoscopeJIT.h50 []() { return std::make_unique<SectionMemoryManager>(); }), in KaleidoscopeJIT()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A DKaleidoscopeJIT.h56 []() { return std::make_unique<SectionMemoryManager>(); }), in KaleidoscopeJIT()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DAssembler.cpp274 class TrackingSectionMemoryManager : public SectionMemoryManager {
283 return SectionMemoryManager::allocateCodeSection(Size, Alignment, SectionID, in allocateCodeSection()
/llvm-project-15.0.7/llvm/docs/tutorial/
H A DBuildingAJIT1.rst120 #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 DBuildingAJIT3.rst71 #include "llvm/ExecutionEngine/SectionMemoryManager.h"
104 ObjectLayer([]() { return std::make_shared<SectionMemoryManager>(); }),
/llvm-project-15.0.7/mlir/include/mlir/ExecutionEngine/
H A DExecutionEngine.h76 llvm::SectionMemoryManager::MemoryMapper *sectionMemoryMapper = nullptr;
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DExecutionEngine.cpp46 using llvm::SectionMemoryManager;
260 return std::make_unique<SectionMemoryManager>(sectionMemoryMapper); in create()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A DKaleidoscopeJIT.h67 []() { return std::make_unique<SectionMemoryManager>(); }), in KaleidoscopeJIT()
/llvm-project-15.0.7/llvm/tools/llvm-jitlistener/
H A Dllvm-jitlistener.cpp158 RTDyldMemoryManager *MemMgr = new SectionMemoryManager(); in InitEE()
/llvm-project-15.0.7/clang/tools/clang-fuzzer/handle-llvm/
H A Dhandle_llvm.cpp174 builder.setMCJITMemoryManager(std::make_unique<SectionMemoryManager>()); in CreateAndRunJITFunc()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A DKaleidoscopeJIT.h154 []() { return std::make_unique<SectionMemoryManager>(); }), in KaleidoscopeJIT()

12