Jlm
Loading...
Searching...
No Matches
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
15namespace llvm
16{
17class Module;
18}
19
20namespace jlm::llvm
21{
22
23class InterProceduralGraphModule;
24class TypeConverter;
25
27ConvertAttributeKind(const ::llvm::Attribute::AttrKind & kind);
28
29AttributeList
31 const ::llvm::AttributeList & attributeList,
32 size_t numParameters,
33 TypeConverter & typeConverter);
34
35std::unique_ptr<InterProceduralGraphModule>
36ConvertLlvmModule(::llvm::Module & module);
37
38}
39
40#endif
Global memory state passed between functions.
std::unique_ptr< InterProceduralGraphModule > ConvertLlvmModule(::llvm::Module &llvmModule)
Attribute::kind ConvertAttributeKind(const ::llvm::Attribute::AttrKind &kind)
AttributeList convertAttributeList(const ::llvm::AttributeList &attributeList, const size_t numParameters, TypeConverter &typeConverter)