All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
event_conflict_table.h
Go to the documentation of this file.
1 #ifndef EVENT_CONFLICT_TABLE_H_INCLUDED_
2 #define EVENT_CONFLICT_TABLE_H_INCLUDED_
3 
4 #include "rose.h"
5 
6 #include "conflict_table.h"
7 #include "mapped_variable.h"
8 #include "port_call_path.h"
9 
10 namespace risc {
11 
12 class PathInstanceMapper;
13 
14 namespace sg {
15 
16 class SegmentGraph;
17 
30 
31 public:
32 
37  SegmentGraph &graph,
38  PathInstanceMapper *path_instance_mapper,
39  bool debugging);
40 
46  std::list<risc::sg::MappedVariable>
47  get_all_list_events_statically(SgSymbol *sc_event_list, int instance_id, PortCallPath pcp);
48 
56  std::list<risc::sg::MappedVariable>
58  SgVariableSymbol *sc_event_list,
59  int instance_id);
60 
65  virtual void determine_conflict_table();
66 
75  std::list<risc::sg::MappedVariable>
77  std::set<SymbolWithPath> &event_list,
78  int instance_id,
79  bool dynamic_analysis);
80 };
81 
82 }; // end of namesapce sg
83 
84 }; // end of namespace risc
85 
86 
87 #endif /* EVENT_CONFLICT_TABLE_H_INCLUDED_ */
88 
89 /* ex: set softtabstop=2 tabstop=2 shiftwidth=2 expandtab: */
This class represents a segment graph for a process.
Definition: segment_graph.h:79
This class can be used as a lookup table between an instance id of a module or hierarchical channel a...
Definition: path_instance_mapper.h:13
virtual void determine_conflict_table()
This function determines conflicts among the segments.
Definition: event_conflict_table.cpp:263
The conflicts are stored in the base class variable conflict_table_. The columns represent wait state...
Definition: event_conflict_table.h:29
Definition: port_call_path.h:10
std::list< risc::sg::MappedVariable > get_all_list_events_dynamically(SgVariableSymbol *sc_event_list, int instance_id)
This function determines all the registered events in the event list dynamically. ...
Definition: event_conflict_table.cpp:20
EventConflictTable(SegmentGraph &graph, PathInstanceMapper *path_instance_mapper, bool debugging)
Default constructor for the DataConflictTable.
Definition: event_conflict_table.cpp:253
Definition: conflict_table.h:17
std::list< risc::sg::MappedVariable > get_all_list_events_statically(SgSymbol *sc_event_list, int instance_id, PortCallPath pcp)
This function determines all the registered events in the event list statically.
Definition: event_conflict_table.cpp:129
std::list< risc::sg::MappedVariable > determine_mapped_events(std::set< SymbolWithPath > &event_list, int instance_id, bool dynamic_analysis)
This function determines the mapping of events (RD, 07/13/18)
Definition: event_conflict_table.cpp:795