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

Andrew Lenharth alenhar2 at cs.uiuc.edu
Tue May 16 10:42:31 PDT 2006



Changes in directory llvm/include/llvm/Target:

TargetLowering.h updated: 1.71 -> 1.72
---
Log message:

Move this code to a common place

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

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


Index: llvm/include/llvm/Target/TargetLowering.h
diff -u llvm/include/llvm/Target/TargetLowering.h:1.71 llvm/include/llvm/Target/TargetLowering.h:1.72
--- llvm/include/llvm/Target/TargetLowering.h:1.71	Sat May  6 04:26:22 2006
+++ llvm/include/llvm/Target/TargetLowering.h	Tue May 16 12:42:15 2006
@@ -25,6 +25,7 @@
 #include "llvm/Type.h"
 #include "llvm/CodeGen/SelectionDAGNodes.h"
 #include <map>
+#include <list>
 
 namespace llvm {
   class Value;
@@ -649,6 +650,15 @@
     return LegalAddressScales.end();
   }
 
+  //===--------------------------------------------------------------------===//
+  // Div utility functions
+  //
+  SDOperand BuildSDIV(SDNode *N, SelectionDAG &DAG, 
+		      std::list<SDNode*>* Created) const;
+  SDOperand BuildUDIV(SDNode *N, SelectionDAG &DAG, 
+		      std::list<SDNode*>* Created) const;
+
+
 protected:
   /// addLegalAddressScale - Add a integer (> 1) value which can be used as
   /// scale in the target addressing mode. Note: the ordering matters so the






More information about the llvm-commits mailing list