Jlm
LlvmModuleConversion.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 2014 2015 Nico Reißmann <nico.reissmann@gmail.com>
3  * See COPYING for terms of redistribution.
4  */
5 
6 #ifndef JLM_LLVM_FRONTEND_LLVMMODULECONVERSION_HPP
7 #define JLM_LLVM_FRONTEND_LLVMMODULECONVERSION_HPP
8 
10 
11 #include <llvm/IR/Attributes.h>
12 
13 #include <memory>
14 
15 namespace llvm
16 {
17 class Module;
18 }
19 
20 namespace jlm::llvm
21 {
22 
23 class InterProceduralGraphModule;
24 
26 ConvertAttributeKind(const ::llvm::Attribute::AttrKind & kind);
27 
28 std::unique_ptr<InterProceduralGraphModule>
29 ConvertLlvmModule(::llvm::Module & module);
30 
31 }
32 
33 #endif
Global memory state passed between functions.
std::unique_ptr< InterProceduralGraphModule > ConvertLlvmModule(::llvm::Module &llvmModule)
Attribute::kind ConvertAttributeKind(const ::llvm::Attribute::AttrKind &kind)