#include <algorithm>
#include <iostream>
#include <queue>
#include <sstream>
#include <vector>
#include <CGRA/Exception.h>
#include <CGRA/MRRG.h>
#include <CGRA/MRRGProcedures.h>
#include <CGRA/utility/Collections.h>
Go to the source code of this file.
|
static std::string | find_cluster_name (std::string s1, std::string s2) |
|
static bool | isDirectSubCluster (std::string c, std::string sub) |
|
bool | verifyAndPrintReport (const MRRG &mrrg, std::ostream &os, bool silent_on_no_errors, bool throw_if_errors, const ConfigStore &extra_opts) |
|
static void | print_subcluster (std::map< std::string, std::string > &clusters, std::string current_cluster, std::ostream &os) |
|
std::ostream & | operator<< (std::ostream &out, const MRRGNode &node) |
|
template<typename T > |
static bool | check_unique (std::vector< T > v) |
|
static void | link (MRRGNode *driver, MRRGNode *fanout) |
|
static void | unlink (MRRGNode *driver, MRRGNode *fanout) |
|
◆ check_unique()
template<typename T >
static bool check_unique |
( |
std::vector< T > |
v | ) |
|
|
static |
◆ find_cluster_name()
static std::string find_cluster_name |
( |
std::string |
s1, |
|
|
std::string |
s2 |
|
) |
| |
|
static |
◆ isDirectSubCluster()
static bool isDirectSubCluster |
( |
std::string |
c, |
|
|
std::string |
sub |
|
) |
| |
|
static |
◆ link()
◆ operator<<()
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const MRRGNode & |
node |
|
) |
| |
◆ print_subcluster()
static void print_subcluster |
( |
std::map< std::string, std::string > & |
clusters, |
|
|
std::string |
current_cluster, |
|
|
std::ostream & |
os |
|
) |
| |
|
static |
◆ unlink()
◆ verifyAndPrintReport()
bool verifyAndPrintReport |
( |
const MRRG & |
mrrg, |
|
|
std::ostream & |
os, |
|
|
bool |
silent_on_no_errors, |
|
|
bool |
throw_if_errors, |
|
|
const ConfigStore & |
extra_opts = {} |
|
) |
| |
A routine for verifying the MRRG. Prints out a success message, unless told not to. Can throw if errors are found. Returns true if no errors found extra_opts
is passed to MRRG::verify
Definition at line 473 of file MRRG.cpp.