Added TargetLowering::isMaskedValueZeroForTargetNode() declaration.

llvm-svn: 24923
This commit is contained in:
Evan Cheng 2005-12-21 23:15:41 +00:00
parent 1872908f3b
commit f4300e361f
1 changed files with 8 additions and 2 deletions

View File

@ -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
//