Added TargetLowering::isMaskedValueZeroForTargetNode() declaration.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24923 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2005-12-21 23:15:41 +00:00
parent ff9be11da2
commit c85b33f264

View File

@ -375,10 +375,16 @@ public:
/// implement this. The default implementation of this aborts. /// implement this. The default implementation of this aborts.
virtual SDOperand LowerOperation(SDOperand Op, SelectionDAG &DAG); virtual SDOperand LowerOperation(SDOperand Op, SelectionDAG &DAG);
// getTargetNodeName() - This method returns the name of a target specific /// getTargetNodeName() - This method returns the name of a target specific
// DAG node. /// DAG node.
virtual const char *getTargetNodeName(unsigned Opcode) const; 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 // Scheduler hooks
// //