retdec
Namespaces | Functions
llvm.cpp File Reference

LLVM Utility functions. More...

#include <fstream>
#include <regex>
#include <llvm/Support/Casting.h>
#include <llvm/../../lib/IR/LLVMContextImpl.h>
#include "retdec/bin2llvmir/providers/abi/abi.h"
#include "retdec/bin2llvmir/utils/llvm.h"
#include "retdec/utils/conversion.h"
#include "retdec/utils/string.h"

Namespaces

 retdec
 
 retdec::bin2llvmir
 
 retdec::bin2llvmir::llvm_utils
 

Functions

llvm::Value * retdec::bin2llvmir::llvm_utils::skipCasts (llvm::Value *val)
 
llvm::IntegerType * retdec::bin2llvmir::llvm_utils::getCharType (llvm::LLVMContext &ctx)
 
llvm::PointerType * retdec::bin2llvmir::llvm_utils::getCharPointerType (llvm::LLVMContext &ctx)
 
bool retdec::bin2llvmir::llvm_utils::isCharType (const llvm::Type *t)
 
bool retdec::bin2llvmir::llvm_utils::isCharPointerType (const llvm::Type *t)
 
bool retdec::bin2llvmir::llvm_utils::isStringArrayType (const llvm::Type *t)
 
bool retdec::bin2llvmir::llvm_utils::isStringArrayPointeType (const llvm::Type *t)
 
llvm::Type * retdec::bin2llvmir::llvm_utils::stringToLlvmTypeDefault (llvm::Module *m, const std::string &str)
 
bool retdec::bin2llvmir::llvm_utils::parseTypeList (LLVMContext &ctx, std::string list, std::vector< Type * > &typeList)
 
Type * retdec::bin2llvmir::llvm_utils::stringToLlvmType (LLVMContext &ctx, const std::string &str)
 
std::vector< llvm::Type * > retdec::bin2llvmir::llvm_utils::parseFormatString (llvm::Module *module, const std::string &format, llvm::Function *calledFnc=nullptr)
 

Detailed Description

LLVM Utility functions.