mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
New method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19516 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2dad454af6
commit
b18a2f816c
@ -353,6 +353,11 @@ public:
|
||||
bool use_empty() const { return Uses.empty(); }
|
||||
bool hasOneUse() const { return Uses.size() == 1; }
|
||||
|
||||
/// hasNUsesOfValue - Return true if there are exactly NUSES uses of the
|
||||
/// indicated value. This method ignores uses of other values defined by this
|
||||
/// operation.
|
||||
bool hasNUsesOfValue(unsigned NUses, unsigned Value);
|
||||
|
||||
/// getNumOperands - Return the number of values used by this operation.
|
||||
///
|
||||
unsigned getNumOperands() const { return Operands.size(); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user