diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index c3e6dee2328..9f56e177b88 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -815,6 +815,9 @@ public: // isOperand - Return true if this node is an operand of N. bool isOperand(SDNode *N) const; + // isPredecessor - Return true if this node is a predecessor of N. + bool isPredecessor(SDNode *N) const; + /// getNumOperands - Return the number of values used by this operation. /// unsigned getNumOperands() const { return NumOperands; }