Jlm
Private Member Functions | Private Attributes | List of all members
jlm::hls::DotHLS Class Reference

#include <dot-hls.hpp>

Inheritance diagram for jlm::hls::DotHLS:
Inheritance graph
[legend]
Collaboration diagram for jlm::hls::DotHLS:
Collaboration graph
[legend]

Private Member Functions

std::string extension () override
 
std::string GetText (llvm::LlvmRvsdgModule &rm) override
 
std::string argument_to_dot (rvsdg::RegionArgument *port)
 
std::string result_to_dot (rvsdg::RegionResult *port)
 
std::string node_to_dot (const rvsdg::Node *node)
 
std::string edge (std::string src, std::string snk, const jlm::rvsdg::Type &type, bool back=false)
 
std::string loop_to_dot (LoopNode *ln)
 
void prepare_loop_out_port (LoopNode *ln)
 
std::string subregion_to_dot (rvsdg::Region *sr)
 

Private Attributes

int loop_ctr = 0
 

Additional Inherited Members

- Public Member Functions inherited from jlm::hls::BaseHLS
virtual ~BaseHLS ()
 
std::string run (llvm::LlvmRvsdgModule &rm)
 
- Static Public Member Functions inherited from jlm::hls::BaseHLS
static int JlmSize (const jlm::rvsdg::Type *type)
 
- Protected Member Functions inherited from jlm::hls::BaseHLS
std::string get_node_name (const rvsdg::Node *node)
 
const rvsdg::LambdaNodeget_hls_lambda (llvm::LlvmRvsdgModule &rm)
 
void create_node_names (rvsdg::Region *r)
 
std::vector< rvsdg::RegionArgument * > get_mem_resps (const rvsdg::LambdaNode &lambda)
 
std::vector< rvsdg::RegionResult * > get_mem_reqs (const rvsdg::LambdaNode &lambda)
 
std::vector< rvsdg::RegionArgument * > get_reg_args (const rvsdg::LambdaNode &lambda)
 
std::vector< rvsdg::RegionResult * > get_reg_results (const rvsdg::LambdaNode &lambda)
 
- Static Protected Member Functions inherited from jlm::hls::BaseHLS
static std::string get_port_name (jlm::rvsdg::Input *port)
 
static std::string get_port_name (jlm::rvsdg::Output *port)
 
static std::string get_base_file_name (const llvm::LlvmRvsdgModule &rm)
 
- Protected Attributes inherited from jlm::hls::BaseHLS
std::unordered_map< const rvsdg::Node *, std::string > node_map
 
std::unordered_map< jlm::rvsdg::Output *, std::string > output_map
 

Detailed Description

Definition at line 15 of file dot-hls.hpp.

Member Function Documentation

◆ argument_to_dot()

std::string jlm::hls::DotHLS::argument_to_dot ( rvsdg::RegionArgument port)
private

Definition at line 29 of file dot-hls.cpp.

◆ edge()

std::string jlm::hls::DotHLS::edge ( std::string  src,
std::string  snk,
const jlm::rvsdg::Type type,
bool  back = false 
)
private

Definition at line 166 of file dot-hls.cpp.

◆ extension()

std::string jlm::hls::DotHLS::extension ( )
overrideprivatevirtual

Implements jlm::hls::BaseHLS.

Definition at line 17 of file dot-hls.cpp.

◆ GetText()

std::string jlm::hls::DotHLS::GetText ( llvm::LlvmRvsdgModule rm)
overrideprivatevirtual

Implements jlm::hls::BaseHLS.

Definition at line 23 of file dot-hls.cpp.

◆ loop_to_dot()

std::string jlm::hls::DotHLS::loop_to_dot ( LoopNode ln)
private

Definition at line 194 of file dot-hls.cpp.

◆ node_to_dot()

std::string jlm::hls::DotHLS::node_to_dot ( const rvsdg::Node node)
private

Definition at line 67 of file dot-hls.cpp.

◆ prepare_loop_out_port()

void jlm::hls::DotHLS::prepare_loop_out_port ( LoopNode ln)
private

Definition at line 297 of file dot-hls.cpp.

◆ result_to_dot()

std::string jlm::hls::DotHLS::result_to_dot ( rvsdg::RegionResult port)
private

Definition at line 48 of file dot-hls.cpp.

◆ subregion_to_dot()

std::string jlm::hls::DotHLS::subregion_to_dot ( rvsdg::Region sr)
private

Definition at line 349 of file dot-hls.cpp.

Member Data Documentation

◆ loop_ctr

int jlm::hls::DotHLS::loop_ctr = 0
private

Definition at line 45 of file dot-hls.hpp.


The documentation for this class was generated from the following files: