mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
Add isPredecessor to check whether a node is another's predecessor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31406 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bdd371c0ed
commit
7ceebb437e
@ -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…
Reference in New Issue
Block a user