|
LLVM 22.0.0git
|
#include "llvm/Support/GraphWriter.h"
Public Member Functions | |
| GraphWriterBase (raw_ostream &o, const GraphType &g, bool SN) | |
| virtual | ~GraphWriterBase ()=default |
| 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 | |
| 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... | |
| raw_ostream & | getOStream () |
| getOStream - Get the raw output stream into the graph file. | |
Protected Types | |
| using | DOTTraits = DOTGraphTraits<GraphType> |
| using | GTraits = GraphTraits<GraphType> |
| using | NodeRef = typename GTraits::NodeRef |
| using | node_iterator = typename GTraits::nodes_iterator |
| using | child_iterator = typename GTraits::ChildIteratorType |
Protected Member Functions | |
| Derived & | getDerived () |
| const Derived & | getDerived () const |
| bool | getEdgeSourceLabels (raw_ostream &O, NodeRef Node) |
Protected Attributes | |
| raw_ostream & | O |
| const GraphType & | G |
| bool | RenderUsingHTML = false |
| DOTTraits | DTraits |
Definition at line 64 of file GraphWriter.h.
|
protected |
Definition at line 74 of file GraphWriter.h.
|
protected |
Definition at line 70 of file GraphWriter.h.
|
protected |
Definition at line 71 of file GraphWriter.h.
|
protected |
Definition at line 73 of file GraphWriter.h.
|
protected |
Definition at line 72 of file GraphWriter.h.
|
inline |
Definition at line 127 of file GraphWriter.h.
References DTraits, G, g(), O, and RenderUsingHTML.
|
virtualdefault |
|
inline |
emitEdge - Output an edge from a simple node into the graph...
Definition at line 342 of file GraphWriter.h.
Referenced by llvm::DOTGraphTraits< SelectionDAG * >::addCustomGraphFeatures(), and llvm::ScheduleDAGSDNodes::getCustomGraphFeatures().
|
inline |
emitSimpleNode - Outputs a simple (non-record) node
Definition at line 319 of file GraphWriter.h.
References llvm::DOT::EscapeString(), and O.
Referenced by llvm::DOTGraphTraits< SelectionDAG * >::addCustomGraphFeatures(), and llvm::ScheduleDAGSDNodes::getCustomGraphFeatures().
|
inlineprotected |
Definition at line 83 of file GraphWriter.h.
Referenced by writeEdge(), writeGraph(), and writeNodes().
|
inlineprotected |
Definition at line 84 of file GraphWriter.h.
|
inlineprotected |
Definition at line 90 of file GraphWriter.h.
References DTraits, llvm::DOT::EscapeString(), O, and RenderUsingHTML.
Referenced by writeNode().
|
inline |
getOStream - Get the raw output stream into the graph file.
Useful to write fancy things using addCustomGraphFeatures().
Definition at line 362 of file GraphWriter.h.
References O.
Referenced by llvm::DOTGraphTraits< RegionInfo * >::addCustomGraphFeatures(), and llvm::DOTGraphTraits< RegionInfo * >::printRegionCluster().
|
inline |
Definition at line 180 of file GraphWriter.h.
Referenced by writeNodes().
|
inline |
Definition at line 297 of file GraphWriter.h.
References DTraits, G, getDerived(), and llvm::Offset.
Referenced by writeNode().
|
inline |
Definition at line 168 of file GraphWriter.h.
References O.
|
inline |
Definition at line 133 of file GraphWriter.h.
References llvm::DefaultDOTGraphTraits::addCustomGraphFeatures(), G, and getDerived().
|
inline |
Definition at line 147 of file GraphWriter.h.
References DTraits, llvm::DOT::EscapeString(), G, and O.
|
inline |
Definition at line 182 of file GraphWriter.h.
References DTraits, llvm::DOT::EscapeString(), G, getEdgeSourceLabels(), O, RenderUsingHTML, and writeEdge().
|
inline |
Definition at line 173 of file GraphWriter.h.
References G, getDerived(), isNodeHidden(), and llvm::nodes().
|
protected |
Definition at line 75 of file GraphWriter.h.
Referenced by emitEdge(), getEdgeSourceLabels(), GraphWriterBase(), isNodeHidden(), writeEdge(), writeHeader(), and writeNode().
|
protected |
Definition at line 67 of file GraphWriter.h.
Referenced by GraphWriterBase(), isNodeHidden(), writeEdge(), writeGraph(), writeHeader(), writeNode(), and writeNodes().
|
protected |
Definition at line 66 of file GraphWriter.h.
Referenced by emitEdge(), emitSimpleNode(), getEdgeSourceLabels(), getOStream(), GraphWriterBase(), writeFooter(), writeHeader(), and writeNode().
|
protected |
Definition at line 68 of file GraphWriter.h.
Referenced by getEdgeSourceLabels(), GraphWriterBase(), and writeNode().