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

Evan Cheng evan.cheng at apple.com
Wed Dec 21 15:15:52 PST 2005



Changes in directory llvm/include/llvm/Target:

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

Added TargetLowering::isMaskedValueZeroForTargetNode() declaration.


---
Diffs of the changes:  (+8 -2)

 TargetLowering.h |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)


Index: llvm/include/llvm/Target/TargetLowering.h
diff -u llvm/include/llvm/Target/TargetLowering.h:1.30 llvm/include/llvm/Target/TargetLowering.h:1.31
--- llvm/include/llvm/Target/TargetLowering.h:1.30	Tue Dec 20 00:22:03 2005
+++ llvm/include/llvm/Target/TargetLowering.h	Wed Dec 21 17:15:41 2005
@@ -375,10 +375,16 @@
   /// 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.
+  /// getTargetNodeName() - This method returns the name of a target specific
+  /// DAG node.
   virtual const char *getTargetNodeName(unsigned Opcode) const;
 
+  /// isMaskedValueZeroForTargetNode - Return true if 'Op & Mask' is known to
+  /// be zero. Op is expected to be a target specific node. Used by DAG
+  /// combiner.
+  virtual bool isMaskedValueZeroForTargetNode(const SDOperand &Op,
+                                              uint64_t Mask) const;
+
   //===--------------------------------------------------------------------===//
   // Scheduler hooks
   //






More information about the llvm-commits mailing list