projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdd371c
)
Add isPredecessor to check whether a node is another's predecessor.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 3 Nov 2006 03:02:18 +0000
(
03:02
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 3 Nov 2006 03:02:18 +0000
(
03:02
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31406
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/SelectionDAGNodes.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/SelectionDAGNodes.h
b/include/llvm/CodeGen/SelectionDAGNodes.h
index c3e6dee23288544cb804e11288916e882b9c7881..9f56e177b886d12b1cb6e1f5dbd1d2800a78a11d 100644
(file)
--- 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; }