![]() |
PandA-2024.02
|


Public Member Functions | |
| HWCallPathCalculator (const HLS_managerRef _HLSMgr) | |
| void | start_vertex (const UnfoldedVertexDescriptor &v, const UnfoldedCallGraph &ufcg) |
| void | discover_vertex (const UnfoldedVertexDescriptor &v, const UnfoldedCallGraph &ufcg) |
| void | finish_vertex (const UnfoldedVertexDescriptor &v, const UnfoldedCallGraph &) |
| void | examine_edge (const EdgeDescriptor &e, const UnfoldedCallGraph &cg) |
Protected Attributes | |
| const HLS_managerRef | HLSMgr |
| a refcount to the HLS_manager More... | |
| std::stack< std::string > | scope |
| a stack of scopes used during the traversal of the UnfoldedCallGraph More... | |
| std::map< std::string, std::string > | shared_fun_scope |
| The key is the name of a shared function, the mapped value is the HW. More... | |
| std::string | top_fun_scope |
| The scope of the top function. It depends on different parameters and. More... | |
Definition at line 56 of file HWPathComputation.cpp.
| HWCallPathCalculator::HWCallPathCalculator | ( | const HLS_managerRef | _HLSMgr | ) |
Definition at line 82 of file HWPathComputation.cpp.
References HLSMgr, and THROW_ASSERT.
| void HWCallPathCalculator::discover_vertex | ( | const UnfoldedVertexDescriptor & | v, |
| const UnfoldedCallGraph & | ufcg | ||
| ) |
Definition at line 103 of file HWPathComputation.cpp.
References HIERARCHY_SEPARATOR, HLSMgr, scope, shared_fun_scope, STR, and THROW_ASSERT.
| void HWCallPathCalculator::examine_edge | ( | const EdgeDescriptor & | e, |
| const UnfoldedCallGraph & | cg | ||
| ) |
Definition at line 138 of file HWPathComputation.cpp.
References FunctionBehavior::CFG, GET_NAME, functions::GetFUName(), HIERARCHY_SEPARATOR, HLSMgr, scope, shared_fun_scope, starts_with(), STR, lenet_tvm::target, THROW_ASSERT, top_fun_scope, U, and WRAPPED_PROXY_PREFIX.

| void HWCallPathCalculator::finish_vertex | ( | const UnfoldedVertexDescriptor & | v, |
| const UnfoldedCallGraph & | |||
| ) |
Definition at line 133 of file HWPathComputation.cpp.
References scope.
| void HWCallPathCalculator::start_vertex | ( | const UnfoldedVertexDescriptor & | v, |
| const UnfoldedCallGraph & | ufcg | ||
| ) |
Definition at line 87 of file HWPathComputation.cpp.
References HIERARCHY_SEPARATOR, HLSMgr, scope, shared_fun_scope, and top_fun_scope.
|
protected |
a refcount to the HLS_manager
Definition at line 60 of file HWPathComputation.cpp.
Referenced by discover_vertex(), examine_edge(), HWCallPathCalculator(), and start_vertex().
|
protected |
a stack of scopes used during the traversal of the UnfoldedCallGraph
Definition at line 63 of file HWPathComputation.cpp.
Referenced by discover_vertex(), examine_edge(), finish_vertex(), and start_vertex().
|
protected |
The key is the name of a shared function, the mapped value is the HW.
Definition at line 67 of file HWPathComputation.cpp.
Referenced by discover_vertex(), examine_edge(), and start_vertex().
|
protected |
The scope of the top function. It depends on different parameters and.
Definition at line 71 of file HWPathComputation.cpp.
Referenced by examine_edge(), and start_vertex().
1.8.13