#include <otawa/exegraph/LiExeGraph.h>
int LiExeGraph::analyze |
( |
| ) |
|
References _times_changed, otawa::ExeGraph< LiExeNode >::BODY, delta, earliestTimes(), otawa::ExeGraph< LiExeNode >::FINISH, otawa::ExeGraph< LiExeNode >::firstNode(), INFINITE_TIME, otawa::ExeGraph< LiExeNode >::lastNode(), otawa::ExeGraph< N >::ExeNode::latency(), latestTimes(), otawa::ExeGraph< LiExeNode >::MAX, maxTimeToNode(), otawa::ExeGraph< LiExeNode >::MIN, otawa::ExeGraph< LiExeNode >::PROLOGUE, shadeNodes(), and otawa::LiExeNode::time().
Referenced by otawa::LiExeGraphBBTime::processSequence().
- Parameters
-
fw | The framework. |
microprocessor | The microprocessor. |
sequence | The sequence of instructions the graph should represent. |
Referenced by LiExeGraph().
void LiExeGraph::earliestTimes |
( |
| ) |
|
|
private |
- Parameters
-
- Returns
- The first node of the specified code part.
Referenced by analyze().
void LiExeGraph::latestTimes |
( |
| ) |
|
|
private |
References otawa::ExeGraph< LiExeNode >::_entry_node, otawa::ExeGraph< LiExeNode >::_first_node, otawa::ExeGraph< LiExeNode >::BODY, otawa::ExeGraph< LiExeNode >::FINISH, otawa::ExeGraph< LiExeNode >::lastNode(), otawa::ExeGraph< N >::ExeNode::latency(), otawa::ExeGraph< LiExeNode >::MAX, otawa::ExeGraph< LiExeNode >::MIN, nodeLatestTimes(), otawa::ExeGraph< LiExeNode >::PROLOGUE, otawa::ExeGraph< LiExeNode >::READY, otawa::LiExeNode::setTime(), shadeNodes(), and otawa::ExeGraph< LiExeNode >::START.
Referenced by analyze().
void LiExeGraph::nodeEarliestTimes |
( |
LiExeNode * |
node | ) |
|
|
private |
References otawa::sem::cont(), otawa::ExeGraph< LiExeNode >::FINISH, otawa::sem::inst::inst(), otawa::ExeGraph< N >::ExeNode::inst(), otawa::ExeGraph< N >::ExeNode::latency(), otawa::ExeGraph< LiExeNode >::MAX, otawa::ExeGraph< LiExeNode >::MIN, otawa::clp::min(), otawa::ExeGraph< N >::ExeNode::pipelineStage(), otawa::ExeGraph< LiExeNode >::READY, separated(), otawa::LiExeNode::setTime(), otawa::ExeGraph< LiExeNode >::START, otawa::LiExeNode::time(), and elm::times().
Referenced by earliestTimes().
void LiExeGraph::nodeLatestTimes |
( |
LiExeNode * |
node | ) |
|
|
private |
References otawa::ExeGraph< LiExeNode >::BEFORE_PROLOGUE, otawa::sem::cont(), otawa::ExeGraph< LiExeNode >::FINISH, otawa::sem::inst::inst(), otawa::ExeGraph< N >::ExeNode::inst(), otawa::LiExeNode::isShaded(), otawa::ExeGraph< LiExeNode >::lastNode(), otawa::ExeGraph< N >::ExeNode::latency(), otawa::ExeGraph< LiExeNode >::MAX, otawa::ExeGraph< LiExeNode >::MIN, otawa::clp::min(), otawa::ExeGraph< N >::ExeNode::pipelineStage(), otawa::ExeGraph< LiExeNode >::READY, separated(), otawa::LiExeNode::setTime(), otawa::ExeGraph< LiExeNode >::START, otawa::LiExeNode::time(), and elm::times().
Referenced by latestTimes().
- Returns
- The name of the code part (BEFORE_PROLOGUE, PROLOGUE, BODY or EPILOGUE).
Sets the entry node (used for topological graph exploration).
- Parameters
-
- Parameters
-
part | The code part. |
node | The first node of this code part. Sets the first node of the specified code part. |
- Parameters
-
part | The code part. |
node | The last node of this code part. Sets the last node of the specified code part. |
void otawa::LiExeGraph::setTimesChanged |
( |
| ) |
|
|
inline |
void LiExeGraph::shadeNodes |
( |
LiExeNode * |
node | ) |
|
|
private |
bool otawa::LiExeGraph::_times_changed |
|
private |
The documentation for this class was generated from the following files: