mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-28 15:41:58 +00:00
Add methods
llvm-svn: 19627
This commit is contained in:
parent
f1e85bec5a
commit
783a9d8893
@ -410,6 +410,10 @@ public:
|
||||
bool use_empty() const { return Uses.empty(); }
|
||||
bool hasOneUse() const { return Uses.size() == 1; }
|
||||
|
||||
typedef std::vector<SDNode*>::const_iterator use_iterator;
|
||||
use_iterator use_begin() const { return Uses.begin(); }
|
||||
use_iterator use_end() const { return Uses.end(); }
|
||||
|
||||
/// hasNUsesOfValue - Return true if there are exactly NUSES uses of the
|
||||
/// indicated value. This method ignores uses of other values defined by this
|
||||
/// operation.
|
||||
|
Loading…
x
Reference in New Issue
Block a user