aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2009-02-04 16:46:19 +0000
committerStuart Hastings <stuart@apple.com>2009-02-04 16:46:19 +0000
commit80d6977e90c22313d5a62ac28811e0386a806aff (patch)
tree220e892fe100e327a7a92b26a3de008062b960e7 /include
parent09750273a4cd49630b64ec03b2e2f207a4fe8308 (diff)
downloadexternal_llvm-80d6977e90c22313d5a62ac28811e0386a806aff.zip
external_llvm-80d6977e90c22313d5a62ac28811e0386a806aff.tar.gz
external_llvm-80d6977e90c22313d5a62ac28811e0386a806aff.tar.bz2
Since I'm obliged to work with a development OS that currently doesn't
support GraphViz, I've been using the foo->dump() facility. This patch is a minor rewrite to the SelectionDAG dump() stuff to make it a little more helpful. The existing foo->dump() functionality does not change; this patch adds foo->dumpr(). All of this is only useful when running LLVM under a debugger. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 3f20c03..1e099a2 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -1329,8 +1329,12 @@ public:
///
std::string getOperationName(const SelectionDAG *G = 0) const;
static const char* getIndexedModeName(ISD::MemIndexedMode AM);
+ void print_types(raw_ostream &OS, const SelectionDAG *G) const;
+ void print_details(raw_ostream &OS, const SelectionDAG *G) const;
void print(raw_ostream &OS, const SelectionDAG *G = 0) const;
+ void printr(raw_ostream &OS, const SelectionDAG *G = 0) const;
void dump() const;
+ void dumpr() const;
void dump(const SelectionDAG *G) const;
static bool classof(const SDNode *) { return true; }