7 #ifndef RETDEC_LLVMIR2HLL_LLVM_STRING_CONVERSIONS_H
8 #define RETDEC_LLVMIR2HLL_LLVM_STRING_CONVERSIONS_H
17 class ConstantDataArray;
36 ShPtr<ConstString>
toConstString(llvm::ConstantDataArray *cda);
Definition: itanium_ast_ctypes_parser.h:12
A library providing API for working with back-end IR.
ShPtr< ConstString > toConstString(llvm::ConstantArray *ca)
Converts the given LLVM constant array into ConstString.
Definition: string_conversions.cpp:126
ShPtr< ConstString > getInitializerAsConstString(llvm::GlobalVariable *v)
Returns the initializer of the given global variable as ConstString.
Definition: string_conversions.cpp:166
bool stores8BitStringLiteral(const llvm::GlobalVariable *v)
Checks if the global variable stores an 8-bit string literal.
Definition: string_conversions.cpp:70
bool is8BitStringLiteral(const llvm::ConstantArray *ca)
Checks if the given LLVM constant array represents an 8-bit string literal.
Definition: string_conversions.cpp:41
Definition: archive_wrapper.h:19
Declarations, aliases, macros, etc. for the use of smart pointers.