Pass the address of the main MaskedValueIsZero function to allow recursion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25797 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-01-30 03:48:36 +00:00
parent bc3814f5e0
commit 030dae5bce

View File

@ -414,9 +414,11 @@ public:
/// 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;
/// combiner. MVIZ is a function pointer to the main MaskedValueIsZero
/// function.
typedef bool (*MVIZFnPtr)(const SDOperand&, uint64_t, const TargetLowering &);
virtual bool isMaskedValueZeroForTargetNode(const SDOperand &Op,uint64_t Mask,
MVIZFnPtr MVIZ) const;
//===--------------------------------------------------------------------===//
// Inline Asm Support hooks