Searched refs:WrappedModule (Results 1 – 4 of 4) sorted by relevance
| /arkcompiler/runtime_core/static_core/libllvmbackend/lowering/ |
| D | wrapped_module.cpp | 21 WrappedModule::WrappedModule(std::unique_ptr<llvm::LLVMContext> llvmContext, std::unique_ptr<llvm::… in WrappedModule() function in ark::llvmbackend::WrappedModule 41 void WrappedModule::AddMethod(ark::compiler::RuntimeInterface::MethodPtr method) in AddMethod() 46 void WrappedModule::SetCompiled(std::unique_ptr<ark::llvmbackend::CreatedObjectFile> objectFile) in SetCompiled() 57 bool WrappedModule::IsCompiled() in IsCompiled() 62 bool WrappedModule::HasFunctionDefinition(ark::compiler::RuntimeInterface::MethodPtr method) in HasFunctionDefinition() 68 llvm::Function *WrappedModule::GetFunctionByMethodPtr(ark::compiler::RuntimeInterface::MethodPtr me… in GetFunctionByMethodPtr() 73 const std::unique_ptr<llvm::LLVMContext> &WrappedModule::GetLLVMContext() in GetLLVMContext() 78 const std::unique_ptr<llvm::Module> &WrappedModule::GetModule() in GetModule() 83 const std::unique_ptr<llvm::TargetMachine> &WrappedModule::GetTargetMachine() in GetTargetMachine() 88 const std::unique_ptr<ark::llvmbackend::LLVMArkInterface> &WrappedModule::GetLLVMArkInterface() in GetLLVMArkInterface() [all …]
|
| D | wrapped_module.h | 31 class WrappedModule { 33 …explicit WrappedModule(std::unique_ptr<llvm::LLVMContext> llvmContext, std::unique_ptr<llvm::Modul… 43 NO_COPY_SEMANTIC(WrappedModule); 45 DEFAULT_MOVE_SEMANTIC(WrappedModule); 47 ~WrappedModule() = default;
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/ |
| D | llvm_aot_compiler.h | 44 …virtual std::shared_ptr<WrappedModule> GetModuleForMethod(compiler::RuntimeInterface::MethodPtr me… 47 virtual std::unordered_set<std::shared_ptr<WrappedModule>> GetModules() = 0; 109 Expected<bool, std::string> AddGraphToModule(compiler::Graph *graph, WrappedModule &module, 114 void PrepareAotGot(WrappedModule *wrappedModule); 116 WrappedModule CreateModule(uint32_t moduleId); 118 …ffsets CollectAotBuilderOffsets(const std::unordered_set<std::shared_ptr<WrappedModule>> &modules); 122 void CompileModule(WrappedModule &module); 124 ArkAotLinker::RoDataSections LinkModule(WrappedModule *wrappedModule, ArkAotLinker *linker, 127 void AddInlineMethodByDepth(WrappedModule &module, compiler::Graph *caller, 130 void AddInlineFunctionsByDepth(WrappedModule &module, compiler::Graph *caller, int32_t depth); [all …]
|
| D | llvm_aot_compiler.cpp | 154 using ModuleFactory = std::function<std::shared_ptr<WrappedModule>(uint32_t moduleId)>; 164 …std::shared_ptr<WrappedModule> GetModuleForMethod(compiler::RuntimeInterface::MethodPtr method) ov… in GetModuleForMethod() 202 std::unordered_set<std::shared_ptr<WrappedModule>> GetModules() override in GetModules() 204 std::unordered_set<std::shared_ptr<WrappedModule>> modules; in GetModules() 238 std::shared_ptr<WrappedModule> currentModule_ {nullptr}; 239 …std::unordered_map<compiler::RuntimeInterface::MethodPtr, std::shared_ptr<WrappedModule>> modules_; 381 Expected<bool, std::string> LLVMAotCompiler::AddGraphToModule(compiler::Graph *graph, WrappedModule… in AddGraphToModule() 428 void LLVMAotCompiler::PrepareAotGot(WrappedModule *wrappedModule) in PrepareAotGot() 441 WrappedModule LLVMAotCompiler::CreateModule(uint32_t moduleId) in CreateModule() 463 WrappedModule wrappedModule { in CreateModule() [all …]
|