[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
Evan Cheng
evan.cheng at apple.com
Thu Nov 2 19:02:32 PST 2006
Changes in directory llvm/include/llvm/CodeGen:
SelectionDAGNodes.h updated: 1.159 -> 1.160
---
Log message:
Add isPredecessor to check whether a node is another's predecessor.
---
Diffs of the changes: (+3 -0)
SelectionDAGNodes.h | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.159 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.160
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.159 Mon Oct 30 01:57:41 2006
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h Thu Nov 2 21:02:18 2006
@@ -815,6 +815,9 @@
// 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; }
More information about the llvm-commits
mailing list