Changes in directory llvm/lib/Target/Alpha:

AlphaISelLowering.cpp updated: 1.21 -> 1.22
AlphaISelLowering.h updated: 1.8 -> 1.9
---
Log message:

Friendly names

---
Diffs of the changes:  (+19 -1)

 AlphaISelLowering.cpp |   15 +++++++++++++++
 AlphaISelLowering.h   |    5 ++++-
 2 files changed, 19 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/Alpha/AlphaISelLowering.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.21 
llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.22
--- llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.21    Fri Jan 13 21:14:10 2006
+++ llvm/lib/Target/Alpha/AlphaISelLowering.cpp Mon Jan 16 13:53:25 2006
@@ -128,6 +128,21 @@
   useITOF = TM.getSubtarget<AlphaSubtarget>().hasF2I();
 }
 
+const char *AlphaTargetLowering::getTargetNodeName(unsigned Opcode) const {
+  switch (Opcode) {
+  default: return 0;
+  case AlphaISD::ITOFT_: return "Alpha::ITOFT_";
+  case AlphaISD::FTOIT_: return "Alpha::FTOIT_";
+  case AlphaISD::CVTQT_: return "Alpha::CVTQT_";
+  case AlphaISD::CVTQS_: return "Alpha::CVTQS_";
+  case AlphaISD::CVTTQ_: return "Alpha::CVTTQ_";
+  case AlphaISD::GPRelHi: return "Alpha::GPRelHi";
+  case AlphaISD::GPRelLo: return "Alpha::GPRelLo";
+  case AlphaISD::RelLit: return "Alpha::RelLit";
+  case AlphaISD::GlobalBaseReg: return "Alpha::GlobalBaseReg";
+  case AlphaISD::DivCall: return "Alpha::DivCall";
+  }
+}
 
 
//http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PY8AC-TET1_html/callCH3.html#BLOCK21
 


Index: llvm/lib/Target/Alpha/AlphaISelLowering.h
diff -u llvm/lib/Target/Alpha/AlphaISelLowering.h:1.8 
llvm/lib/Target/Alpha/AlphaISelLowering.h:1.9
--- llvm/lib/Target/Alpha/AlphaISelLowering.h:1.8       Sat Dec 24 19:34:27 2005
+++ llvm/lib/Target/Alpha/AlphaISelLowering.h   Mon Jan 16 13:53:25 2006
@@ -56,7 +56,10 @@
     /// LowerOperation - Provide custom lowering hooks for some operations.
     ///
     virtual SDOperand LowerOperation(SDOperand Op, SelectionDAG &DAG);
-    
+
+    //Friendly names for dumps
+    const char *getTargetNodeName(unsigned Opcode) const;
+
     /// LowerArguments - This hook must be implemented to indicate how we 
should
     /// lower the arguments for the specified function, into the specified DAG.
     virtual std::vector<SDOperand>



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to