PandA-2024.02
|
#include <omp_functions.hpp>
Public Member Functions | |
OmpFunctions (const HLS_managerConstRef HLSMgr) | |
Constructor. More... | |
Public Member Functions inherited from functions | |
functions () | |
Constructor. More... | |
virtual | ~functions () |
Destructor. More... | |
void | map_shared_function (unsigned int funID_scope, const std::string &fun) |
allocate a shared function in a specified function. More... | |
const CustomOrderedSet< std::string > & | get_shared_functions (unsigned int funID_scope) const |
return the set of shared functions allocated in a given function. More... | |
bool | has_shared_functions (unsigned int funID_scope) const |
return true in case there are shared functions allocated in a given function. More... | |
bool | is_a_shared_function (unsigned int funID_scope, const std::string &fun) const |
return true if a given function is a shared function allocated in a given function scope More... | |
void | add_shared_function_proxy (unsigned int funID_scope, const std::string &fun) |
allocate a proxy for the function referred within a given function More... | |
const CustomOrderedSet< std::string > & | get_proxied_shared_functions (unsigned int funID_scope) const |
return the proxied internal functions associated with the function More... | |
bool | has_proxied_shared_functions (unsigned int funID_scope) const |
check if the function has proxy shared functions More... | |
bool | is_a_proxied_shared_function (unsigned int funID_scope, const std::string &fun) const |
return true if a given function is a shared function allocated in a given function scope More... | |
bool | is_a_proxied_function (const std::string &fun) const |
return true if the function is a proxied function More... | |
unsigned int | get_proxy_mapping (const std::string &fun) const |
in case the function is a proxy function, it returns where the function is actually instantiated More... | |
Data Fields | |
unsigned int | locks_allocation |
The function where locks have to be instantiated. More... | |
CustomSet< unsigned int > | omp_for_wrappers |
The set of openmp for wrappers. More... | |
CustomSet< unsigned int > | kernel_functions |
The set of functions which have to be parallelized. More... | |
CustomSet< unsigned int > | atomic_functions |
The set of functions which have to be parallelized. More... | |
CustomSet< unsigned int > | parallelized_functions |
The set of functions which have to be parallelized. More... | |
CustomSet< unsigned int > | hierarchical_functions |
The set of functions which have to be parallelized. More... | |
CustomSet< unsigned int > | locking_functions |
The set of functions which lock/unlock mutexes. More... | |
CustomSet< unsigned int > | locks_merge_communication |
The set of functions propagating accesses to locks in mutual exclusions. More... | |
CustomSet< unsigned int > | locks_parallel_comunication |
The set of functions propagating accesses to locks in parallel. More... | |
Protected Attributes | |
const HLS_managerConstRef | HLSMgr |
The HLS manager. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const OmpFunctions *omp_function) |
Friend definition of the << operator. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from functions | |
static std::string | GetFUName (const std::string &fname, const HLS_managerRef HLSMgr) |
Return FU used to implement given function. More... | |
static std::string | GetFUName (unsigned funID, const HLS_managerRef HLSMgr) |
Definition at line 57 of file omp_functions.hpp.
|
explicit |
Constructor.
Header include.
HLSMgr | is the HLS manager |
behavior include HLS include tree include utility include
Definition at line 56 of file omp_functions.cpp.
|
friend |
Friend definition of the << operator.
os | is the output stream |
omp_function | is the OmpFunction to be printed |
Definition at line 60 of file omp_functions.cpp.
CustomSet<unsigned int> OmpFunctions::atomic_functions |
The set of functions which have to be parallelized.
Definition at line 74 of file omp_functions.hpp.
Referenced by operator<<().
CustomSet<unsigned int> OmpFunctions::hierarchical_functions |
The set of functions which have to be parallelized.
Definition at line 80 of file omp_functions.hpp.
Referenced by operator<<().
|
protected |
CustomSet<unsigned int> OmpFunctions::kernel_functions |
The set of functions which have to be parallelized.
Definition at line 71 of file omp_functions.hpp.
Referenced by operator<<().
CustomSet<unsigned int> OmpFunctions::locking_functions |
The set of functions which lock/unlock mutexes.
Definition at line 83 of file omp_functions.hpp.
Referenced by operator<<().
unsigned int OmpFunctions::locks_allocation |
The function where locks have to be instantiated.
Definition at line 65 of file omp_functions.hpp.
Referenced by operator<<().
CustomSet<unsigned int> OmpFunctions::locks_merge_communication |
The set of functions propagating accesses to locks in mutual exclusions.
Definition at line 86 of file omp_functions.hpp.
Referenced by operator<<().
CustomSet<unsigned int> OmpFunctions::locks_parallel_comunication |
The set of functions propagating accesses to locks in parallel.
Definition at line 89 of file omp_functions.hpp.
Referenced by operator<<().
CustomSet<unsigned int> OmpFunctions::omp_for_wrappers |
The set of openmp for wrappers.
Definition at line 68 of file omp_functions.hpp.
Referenced by operator<<().
CustomSet<unsigned int> OmpFunctions::parallelized_functions |
The set of functions which have to be parallelized.
Definition at line 77 of file omp_functions.hpp.
Referenced by operator<<().