Changes in directory llvm/include/llvm/Target:

TargetLowering.h updated: 1.86 -> 1.87
---
Log message:

Added target hook for post-indexed memory ops transformation.

---
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.86 
llvm/include/llvm/Target/TargetLowering.h:1.87
--- llvm/include/llvm/Target/TargetLowering.h:1.86      Fri Nov  3 01:19:02 2006
+++ llvm/include/llvm/Target/TargetLowering.h   Tue Nov  7 03:04:16 2006
@@ -382,6 +382,16 @@
     return false;
   }
   
+  /// getPostIndexedAddressParts - returns true by value, base pointer and
+  /// offset pointer and addressing mode by reference if this node can be
+  /// combined with a load / store to form a post-indexed load / store.
+  virtual bool getPostIndexedAddressParts(SDNode *N, MVT::ValueType VT,
+                                          SDOperand &Base, SDOperand &Offset,
+                                          ISD::MemOpAddrMode &AM,
+                                          SelectionDAG &DAG) {
+    return false;
+  }
+  
   
//===--------------------------------------------------------------------===//
   // TargetLowering Optimization Methods
   //



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

Reply via email to