7 #ifndef RETDEC_LLVMIR2HLL_LLVM_LLVMIR2BIR_CONVERTER_LLVM_TYPE_CONVERTER_H
8 #define RETDEC_LLVMIR2HLL_LLVM_LLVMIR2BIR_CONVERTER_LLVM_TYPE_CONVERTER_H
10 #include <unordered_map>
42 bool isBool(
const llvm::IntegerType *type)
const;
A converter from LLVM type to type in BIR.
Definition: llvm_type_converter.h:38
bool isBool(const llvm::IntegerType *type) const
Determines whether LLVM integral type type is boolean.
Definition: llvm_type_converter.cpp:35
std::unordered_map< const llvm::Type *, ShPtr< Type > > mapLLVMTypeToType
Mapping of an LLVM type into an already converted type in BIR.
Definition: llvm_type_converter.h:52
ShPtr< Type > convert(const llvm::Type *type)
Converts the given LLVM type type into a type in BIR.
Definition: llvm_type_converter.cpp:47
LLVMTypeConverter()
Constructs a new converter.
Definition: llvm_type_converter.cpp:27
A mixin to make classes non-copyable.
Definition: non_copyable.h:27
Definition: itanium_ast_ctypes_parser.h:12
A library providing API for working with back-end IR.
std::shared_ptr< T > ShPtr
An alias for a shared pointer.
Definition: smart_ptr.h:18
Definition: archive_wrapper.h:19
A mixin to make classes non-copyable.
Declarations, aliases, macros, etc. for the use of smart pointers.