PandA-2024.02
|
#include <stddef.h>
Go to the source code of this file.
Data Structures | |
struct | Edge |
struct | Graph |
Macros | |
#define | N_THREADS 8 |
#define | MAX_VERTEX_NUMBER 1309073 |
#define | MAX_EDGE_NUMBER 5309056 |
Typedefs | |
typedef unsigned int | NodeId |
typedef unsigned int | EdgeId |
typedef unsigned int | PropertyId |
typedef struct Edge | Edge |
typedef struct Graph | Graph |
Functions | |
static size_t | getInDegree (Graph *graph, NodeId node) |
static Edge * | getInEdges (Graph *graph, NodeId node) |
static size_t | getOutDegree (Graph *graph, NodeId node) |
static Edge * | getOutEdges (Graph *graph, NodeId node) |
void | loadGraph (char *InVertexFileName, char *OutVertexFileName, char *InEdgeFileName, char *OutEdgeFileName) |
Variables | |
Graph | TheGraph |
unsigned | numAnswers |
unsigned | counter [N_THREADS] |
#define MAX_EDGE_NUMBER 5309056 |
Definition at line 26 of file simple_API.h.
#define MAX_VERTEX_NUMBER 1309073 |
Definition at line 22 of file simple_API.h.
#define N_THREADS 8 |
Definition at line 7 of file simple_API.h.
Referenced by getOutEdges().
typedef unsigned int EdgeId |
Definition at line 12 of file simple_API.h.
typedef unsigned int NodeId |
Definition at line 11 of file simple_API.h.
typedef unsigned int PropertyId |
Definition at line 13 of file simple_API.h.
Definition at line 45 of file simple_API.h.
References Graph::inEdgesIDs, and Edge::node.
Definition at line 50 of file simple_API.h.
References Graph::inEdges, Graph::inEdgesIDs, and Edge::node.
Definition at line 60 of file simple_API.h.
References Edge::node, and Graph::outEdgesIDs.
Definition at line 65 of file simple_API.h.
References counter, loadGraph(), N_THREADS, Edge::node, numAnswers, Graph::outEdges, Graph::outEdgesIDs, and TheGraph.
void loadGraph | ( | char * | InVertexFileName, |
char * | OutVertexFileName, | ||
char * | InEdgeFileName, | ||
char * | OutEdgeFileName | ||
) |
Definition at line 10 of file load_graph.c.
References Graph::inEdges, Graph::inEdgesIDs, Graph::numVertices, Graph::outEdges, Graph::outEdgesIDs, read(), and TheGraph.
Referenced by test().
unsigned counter[N_THREADS] |
Definition at line 3 of file data.c.
Referenced by __attribute__(), RTLCharacterization::AnalyzeCell(), minimal_interface::build_wrapper(), dom_info< GraphObj >::calc_dfs_tree(), weak_dominance::calculate_weak_dominance_info(), CreateAddressTranslation::ComputeAddress(), tree_helper::CountPointers(), CWriter::create_new_identifier(), GenerateTasteHDLArchitecture::Exec(), fu_binding::fill_array_ref_memory(), StorageValueInformation::Initialize(), BBCdgComputation::InternalExec(), CondExprRestructuring::InternalExec(), commutative_expr_restructuring::InternalExec(), simple_code_motion::InternalExec(), tree_manager::merge_tree_managers(), string_separator::operator()(), PandaSystem(), tree_manager::RecursiveReplaceTreeNode(), bloc::RemovePhi(), bloc::RemoveStmt(), TS_based_clique_covering< vertex_type >::select_edge(), TS_based_clique_covering< vertex_type >::select_edge_start(), bloc::update_new_stmt(), HDL_manager::write_components(), and raw_writer::write_when_not_null_point_to().
unsigned numAnswers |
Definition at line 5 of file data.c.
Referenced by __attribute__().
Graph TheGraph |
Definition at line 7 of file data.c.
Referenced by loadGraph(), and test().