|
LLVM
4.0.0
|
#include <ScheduleDAG.h>
Public Member Functions | |
| GraphWriter (raw_ostream &o, const GraphType &g, bool SN) | |
| void | writeGraph (const std::string &Title="") |
| void | writeHeader (const std::string &Title) |
| void | writeFooter () |
| void | writeNodes () |
| bool | isNodeHidden (NodeRef Node) |
| void | writeNode (NodeRef Node) |
| void | writeEdge (NodeRef Node, unsigned edgeidx, child_iterator EI) |
| void | emitSimpleNode (const void *ID, const std::string &Attr, const std::string &Label, unsigned NumEdgeSources=0, const std::vector< std::string > *EdgeSourceLabels=nullptr) |
| emitSimpleNode - Outputs a simple (non-record) node More... | |
| void | emitEdge (const void *SrcNodeID, int SrcNodePort, const void *DestNodeID, int DestNodePort, const std::string &Attrs) |
| emitEdge - Output an edge from a simple node into the graph... More... | |
| raw_ostream & | getOStream () |
| getOStream - Get the raw output stream into the graph file. More... | |
Definition at line 41 of file ScheduleDAG.h.
|
inline |
Definition at line 100 of file GraphWriter.h.
|
inline |
emitEdge - Output an edge from a simple node into the graph...
Definition at line 274 of file GraphWriter.h.
References llvm::DefaultDOTGraphTraits::hasEdgeDestLabels().
Referenced by llvm::DOTGraphTraits< SelectionDAG * >::addCustomGraphFeatures(), llvm::ScheduleDAGSDNodes::getCustomGraphFeatures(), and llvm::GraphWriter< Graph >::writeEdge().
|
inline |
emitSimpleNode - Outputs a simple (non-record) node
Definition at line 251 of file GraphWriter.h.
References llvm::DOT::EscapeString(), and i.
Referenced by llvm::DOTGraphTraits< SelectionDAG * >::addCustomGraphFeatures(), and llvm::ScheduleDAGSDNodes::getCustomGraphFeatures().
|
inline |
getOStream - Get the raw output stream into the graph file.
Useful to write fancy things using addCustomGraphFeatures().
Definition at line 294 of file GraphWriter.h.
Referenced by llvm::DOTGraphTraits< RegionInfo * >::addCustomGraphFeatures(), and llvm::DOTGraphTraits< RegionInfo * >::printRegionCluster().
|
inline |
Definition at line 152 of file GraphWriter.h.
References llvm::DefaultDOTGraphTraits::isNodeHidden().
Referenced by llvm::GraphWriter< Graph >::writeNodes().
|
inline |
Definition at line 229 of file GraphWriter.h.
References llvm::DefaultDOTGraphTraits::edgeTargetsEdgeSource(), llvm::GraphWriter< Graph >::emitEdge(), llvm::DefaultDOTGraphTraits::getEdgeAttributes(), llvm::DefaultDOTGraphTraits::getEdgeSourceLabel(), llvm::DefaultDOTGraphTraits::getEdgeTarget(), and Offset.
Referenced by llvm::GraphWriter< Graph >::writeNode().
|
inline |
Definition at line 139 of file GraphWriter.h.
Referenced by llvm::GraphWriter< Graph >::writeGraph().
|
inline |
Definition at line 104 of file GraphWriter.h.
References llvm::DefaultDOTGraphTraits::addCustomGraphFeatures(), llvm::GraphWriter< Graph >::writeFooter(), llvm::GraphWriter< Graph >::writeHeader(), and llvm::GraphWriter< Graph >::writeNodes().
|
inline |
Definition at line 118 of file GraphWriter.h.
References llvm::DOT::EscapeString(), llvm::DefaultDOTGraphTraits::getGraphName(), llvm::DefaultDOTGraphTraits::getGraphProperties(), and llvm::DefaultDOTGraphTraits::renderGraphFromBottomUp().
Referenced by llvm::GraphWriter< Graph >::writeGraph().
|
inline |
Definition at line 156 of file GraphWriter.h.
References llvm::DOT::EscapeString(), llvm::DefaultDOTGraphTraits::getEdgeDestLabel(), llvm::DefaultDOTGraphTraits::getNodeAttributes(), llvm::DefaultDOTGraphTraits::getNodeDescription(), llvm::DefaultDOTGraphTraits::getNodeIdentifierLabel(), llvm::DefaultDOTGraphTraits::getNodeLabel(), llvm::DefaultDOTGraphTraits::hasEdgeDestLabels(), i, llvm::DefaultDOTGraphTraits::isNodeHidden(), llvm::DefaultDOTGraphTraits::numEdgeDestLabels(), llvm::DefaultDOTGraphTraits::renderGraphFromBottomUp(), llvm::raw_string_ostream::str(), and llvm::GraphWriter< Graph >::writeEdge().
Referenced by llvm::GraphWriter< Graph >::writeNodes().
|
inline |
Definition at line 144 of file GraphWriter.h.
References E, I, llvm::GraphWriter< Graph >::isNodeHidden(), and llvm::GraphWriter< Graph >::writeNode().
Referenced by llvm::GraphWriter< Graph >::writeGraph().
1.8.6