projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revamp the "CSEMap" datastructure used in the SelectionDAG class. This
[oota-llvm.git]
/
include
/
llvm
/
Use.h
diff --git
a/include/llvm/Use.h
b/include/llvm/Use.h
index eeff52fcb6a4e1797fe3a846340db95b7440dcfc..c88d41f700544007ad8dd1cbf0778c58f3efb66d 100644
(file)
--- a/
include/llvm/Use.h
+++ b/
include/llvm/Use.h
@@
-140,6
+140,11
@@
public:
UserTy *operator->() const { return operator*(); }
Use &getUse() const { return *U; }
+
+ /// getOperandNo - Return the operand # of this use in its User. Defined in
+ /// User.h
+ ///
+ unsigned getOperandNo() const;
};