LLVM API Documentation
#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 (NodeType &Node) |
bool | isNodeHidden (NodeType *const *Node) |
bool | isNodeHidden (NodeType *Node) |
void | writeNode (NodeType &Node) |
void | writeNode (NodeType *const *Node) |
void | writeNode (NodeType *Node) |
void | writeEdge (NodeType *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=0) |
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 () |
Definition at line 41 of file ScheduleDAG.h.
|
inline |
Definition at line 96 of file GraphWriter.h.
|
inline |
emitEdge - Output an edge from a simple node into the graph...
Definition at line 284 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 261 of file GraphWriter.h.
References llvm::DOT::EscapeString().
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 304 of file GraphWriter.h.
Referenced by llvm::DOTGraphTraits< RegionInfo * >::addCustomGraphFeatures(), and llvm::DOTGraphTraits< RegionInfo * >::printRegionCluster().
|
inline |
Definition at line 148 of file GraphWriter.h.
Referenced by llvm::GraphWriter< Graph >::isNodeHidden(), and llvm::GraphWriter< Graph >::writeNodes().
|
inline |
Definition at line 152 of file GraphWriter.h.
References llvm::GraphWriter< Graph >::isNodeHidden().
|
inline |
Definition at line 156 of file GraphWriter.h.
References llvm::DefaultDOTGraphTraits::isNodeHidden().
|
inline |
Definition at line 239 of file GraphWriter.h.
References llvm::DefaultDOTGraphTraits::edgeTargetsEdgeSource(), llvm::GraphWriter< Graph >::emitEdge(), llvm::DefaultDOTGraphTraits::getEdgeAttributes(), llvm::DefaultDOTGraphTraits::getEdgeSourceLabel(), and llvm::DefaultDOTGraphTraits::getEdgeTarget().
Referenced by llvm::GraphWriter< Graph >::writeNode().
|
inline |
Definition at line 135 of file GraphWriter.h.
Referenced by llvm::GraphWriter< Graph >::writeGraph().
|
inline |
Definition at line 100 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 114 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 160 of file GraphWriter.h.
Referenced by llvm::GraphWriter< Graph >::writeNode(), and llvm::GraphWriter< Graph >::writeNodes().
|
inline |
Definition at line 164 of file GraphWriter.h.
References llvm::GraphWriter< Graph >::writeNode().
|
inline |
Definition at line 168 of file GraphWriter.h.
References llvm::DOT::EscapeString(), llvm::DefaultDOTGraphTraits::getEdgeDestLabel(), llvm::DefaultDOTGraphTraits::getNodeAttributes(), llvm::DefaultDOTGraphTraits::getNodeDescription(), llvm::DefaultDOTGraphTraits::getNodeLabel(), llvm::DefaultDOTGraphTraits::hasEdgeDestLabels(), llvm::DefaultDOTGraphTraits::hasNodeAddressLabel(), llvm::DefaultDOTGraphTraits::isNodeHidden(), llvm::DefaultDOTGraphTraits::numEdgeDestLabels(), llvm::DefaultDOTGraphTraits::renderGraphFromBottomUp(), llvm::raw_string_ostream::str(), and llvm::GraphWriter< Graph >::writeEdge().
|
inline |
Definition at line 140 of file GraphWriter.h.
References I, llvm::GraphWriter< Graph >::isNodeHidden(), and llvm::GraphWriter< Graph >::writeNode().
Referenced by llvm::GraphWriter< Graph >::writeGraph().