mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-07 11:59:09 +00:00
Add isPredecessor to check whether a node is another's predecessor.
llvm-svn: 31406
This commit is contained in:
parent
54c4be233e
commit
b19289a84d
@ -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; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user