docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
docc::utils Namespace Reference

Functions

std::filesystem::path get_work_base_dir ()
std::filesystem::path get_docc_work_dir ()
std::string hash_function_name (const std::string &function_name)
std::string hash_module_name (const llvm::Module &Module)
bool is_mangled_name (const std::string &name)
std::string get_demangled_name (const std::string &name)
std::string get_truncated_demangled_name (const std::string &name)
llvm::dwarf::SourceLanguage source_language (llvm::Module &Module)
bool has_debug (const llvm::Module &Module)
sdfg::DebugInfo get_debug_info (const llvm::Instruction &inst)
sdfg::DebugInfo get_debug_info (llvm::BasicBlock &block)
sdfg::DebugInfo get_debug_info (llvm::Function &function)
sdfg::DebugInfo get_debug_info (llvm::Region &region)
sdfg::DebugInfo bestEffortLoc (const llvm::Value &V)
std::vector< std::string > get_recorded_driver_flags (const llvm::Module &M)
template<typename T>
std::string toIRString (const T &value)

Function Documentation

◆ bestEffortLoc()

sdfg::DebugInfo docc::utils::bestEffortLoc ( const llvm::Value & V)
inline

◆ get_debug_info() [1/4]

sdfg::DebugInfo docc::utils::get_debug_info ( const llvm::Instruction & inst)
inline

◆ get_debug_info() [2/4]

sdfg::DebugInfo docc::utils::get_debug_info ( llvm::BasicBlock & block)
inline

◆ get_debug_info() [3/4]

sdfg::DebugInfo docc::utils::get_debug_info ( llvm::Function & function)
inline

◆ get_debug_info() [4/4]

sdfg::DebugInfo docc::utils::get_debug_info ( llvm::Region & region)
inline

◆ get_demangled_name()

std::string docc::utils::get_demangled_name ( const std::string & name)
inline

◆ get_docc_work_dir()

std::filesystem::path docc::utils::get_docc_work_dir ( )

◆ get_recorded_driver_flags()

std::vector< std::string > docc::utils::get_recorded_driver_flags ( const llvm::Module & M)
inline

◆ get_truncated_demangled_name()

std::string docc::utils::get_truncated_demangled_name ( const std::string & name)
inline

◆ get_work_base_dir()

std::filesystem::path docc::utils::get_work_base_dir ( )

◆ has_debug()

bool docc::utils::has_debug ( const llvm::Module & Module)
inline

◆ hash_function_name()

std::string docc::utils::hash_function_name ( const std::string & function_name)
inline

◆ hash_module_name()

std::string docc::utils::hash_module_name ( const llvm::Module & Module)
inline

◆ is_mangled_name()

bool docc::utils::is_mangled_name ( const std::string & name)
inline

◆ source_language()

llvm::dwarf::SourceLanguage docc::utils::source_language ( llvm::Module & Module)
inline

◆ toIRString()

template<typename T>
std::string docc::utils::toIRString ( const T & value)
inline