summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2005-12-21 23:15:41 +0000
committerEvan Cheng <evan.cheng@apple.com>2005-12-21 23:15:41 +0000
commitf4300e361f3119e129a2914d49a267760dbd7bf1 (patch)
tree9e0ea248a7bd358b1d84ebedc5499a65f0212783
parent1872908f3bcdb75f1462a93fd8f2bcca56727ee8 (diff)
downloadbcm5719-llvm-f4300e361f3119e129a2914d49a267760dbd7bf1.tar.gz
bcm5719-llvm-f4300e361f3119e129a2914d49a267760dbd7bf1.zip
Added TargetLowering::isMaskedValueZeroForTargetNode() declaration.
llvm-svn: 24923
-rw-r--r--llvm/include/llvm/Target/TargetLowering.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/llvm/include/llvm/Target/TargetLowering.h b/llvm/include/llvm/Target/TargetLowering.h
index 44e07e2503f..a5810b0dfd7 100644
--- a/llvm/include/llvm/Target/TargetLowering.h
+++ b/llvm/include/llvm/Target/TargetLowering.h
@@ -375,10 +375,16 @@ public:
/// 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
//
OpenPOWER on IntegriCloud