Add comments to the dump() and dumpr() routines.
authorDan Gohman <gohman@apple.com>
Fri, 15 Jan 2010 22:22:58 +0000 (22:22 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 15 Jan 2010 22:22:58 +0000 (22:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93566 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index b60e2f2a31f10b96a5ea1d18858266b2c8a823a7..964b498915260450269168f61a96515913a59348 100644 (file)
@@ -1297,9 +1297,17 @@ public:
   ///
   void printWithFullDepth(raw_ostream &O, const SelectionDAG *G = 0,
                           unsigned indent = 0) const;
+  /// dump - Dump this node, for debugging.
   void dump() const;
+  /// dumpr - Dump (recursively) this node and its use-def subgraph.
   void dumpr() const;
+  /// dump - Dump this node, for debugging.
+  /// The given SelectionDAG allows target-specific nodes to be printed
+  /// in human-readable form.
   void dump(const SelectionDAG *G) const;
+  /// dumpr - Dump (recursively) this node and its use-def subgraph.
+  /// The given SelectionDAG allows target-specific nodes to be printed
+  /// in human-readable form.
   void dumpr(const SelectionDAG *G) const;
   /// dumpWithDepth - printWithDepth to dbgs().
   ///