[llvm-commits] [llvm] r162014 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

Nadav Rotem nrotem at apple.com
Thu Aug 16 00:39:53 PDT 2012


Author: nadav
Date: Thu Aug 16 02:39:52 2012
New Revision: 162014

URL: http://llvm.org/viewvc/llvm-project?rev=162014&view=rev
Log:
Add dump/dumpr methods to SDValue.

Modified:
    llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h?rev=162014&r1=162013&r2=162014&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Thu Aug 16 02:39:52 2012
@@ -146,7 +146,8 @@
   inline bool isMachineOpcode() const;
   inline unsigned getMachineOpcode() const;
   inline const DebugLoc getDebugLoc() const;
-
+  inline void dump() const;
+  inline void dumpr() const;
 
   /// reachesChainWithoutSideEffects - Return true if this operand (which must
   /// be a chain) reaches the specified operand without crossing any
@@ -806,7 +807,12 @@
 inline const DebugLoc SDValue::getDebugLoc() const {
   return Node->getDebugLoc();
 }
-
+inline void SDValue::dump() const {
+  return Node->dump();
+}
+inline void SDValue::dumpr() const {
+  return Node->dumpr();
+}
 // Define inline functions from the SDUse class.
 
 inline void SDUse::set(const SDValue &V) {





More information about the llvm-commits mailing list