[llvm-commits] CVS: llvm/include/llvm/Target/TargetLowering.h

Evan Cheng evan.cheng at apple.com
Mon Dec 19 22:22:16 PST 2005



Changes in directory llvm/include/llvm/Target:

TargetLowering.h updated: 1.29 -> 1.30
---
Log message:

Added a hook to print out names of target specific DAG nodes.


---
Diffs of the changes:  (+4 -0)

 TargetLowering.h |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/include/llvm/Target/TargetLowering.h
diff -u llvm/include/llvm/Target/TargetLowering.h:1.29 llvm/include/llvm/Target/TargetLowering.h:1.30
--- llvm/include/llvm/Target/TargetLowering.h:1.29	Mon Nov 28 23:45:28 2005
+++ llvm/include/llvm/Target/TargetLowering.h	Tue Dec 20 00:22:03 2005
@@ -375,6 +375,10 @@
   /// implement this.  The default implementation of this aborts.
   virtual SDOperand LowerOperation(SDOperand Op, SelectionDAG &DAG);
 
+  // getTargetNodeName() - This method returns the name of a target specific
+  // DAG node.
+  virtual const char *getTargetNodeName(unsigned Opcode) const;
+
   //===--------------------------------------------------------------------===//
   // Scheduler hooks
   //






More information about the llvm-commits mailing list