diff options
| -rw-r--r-- | llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h index c3e6dee2328..9f56e177b88 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/llvm/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; } |

