Lines Matching refs:SelectionDAG
1 //===-- SelectionDAGPrinter.cpp - Implement SelectionDAG::viewGraph() -----===//
10 // This implements the SelectionDAG::viewGraph method.
14 #include "llvm/CodeGen/SelectionDAG.h"
33 struct DOTGraphTraits<SelectionDAG*> : public DefaultDOTGraphTraits {
74 static std::string getGraphName(const SelectionDAG *G) {
83 const SelectionDAG *Graph) {
91 const SelectionDAG *Graph) {
103 const SelectionDAG *G) {
111 std::string getNodeLabel(const SDNode *Node, const SelectionDAG *Graph);
113 const SelectionDAG *Graph) {
126 static void addCustomGraphFeatures(SelectionDAG *G,
127 GraphWriter<SelectionDAG*> &GW) {
136 std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node,
137 const SelectionDAG *G) {
138 return DOTGraphTraits<SelectionDAG*>::getSimpleNodeLabel(Node, G);
145 void SelectionDAG::viewGraph(const std::string &Title) {
151 errs() << "SelectionDAG::viewGraph is only available in debug builds on "
158 void SelectionDAG::viewGraph() {
164 void SelectionDAG::clearGraphAttrs() {
168 errs() << "SelectionDAG::clearGraphAttrs is only available in debug builds"
176 void SelectionDAG::setGraphAttrs(const SDNode *N, const char *Attrs) {
180 errs() << "SelectionDAG::setGraphAttrs is only available in debug builds"
188 const std::string SelectionDAG::getGraphAttrs(const SDNode *N) const {
198 errs() << "SelectionDAG::getGraphAttrs is only available in debug builds"
206 void SelectionDAG::setGraphColor(const SDNode *N, const char *Color) {
210 errs() << "SelectionDAG::setGraphColor is only available in debug builds"
218 bool SelectionDAG::setSubgraphColorHelper(SDNode *N, const char *Color, DenseSet<SDNode *> &visited,
242 errs() << "SelectionDAG::setSubgraphColor is only available in debug builds"
250 void SelectionDAG::setSubgraphColor(SDNode *N, const char *Color) {
264 errs() << "SelectionDAG::setSubgraphColor is only available in debug builds"
278 O << DOTGraphTraits<SelectionDAG*>