aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/SelectionDAGNodes.h
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
commitc625028753a5e4e500b164d91950a3641880074a (patch)
tree220e892fe100e327a7a92b26a3de008062b960e7 /include/llvm/CodeGen/SelectionDAGNodes.h
parent1e15f46a13351d47d58b00e06b6243200f7c6361 (diff)
downloadexternal_llvm-c625028753a5e4e500b164d91950a3641880074a.zip
external_llvm-c625028753a5e4e500b164d91950a3641880074a.tar.gz
external_llvm-c625028753a5e4e500b164d91950a3641880074a.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/llvm/CodeGen/SelectionDAGNodes.h')
-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; }