diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 09:19:43 +0000 | 
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 09:19:43 +0000 | 
| commit | 387e059c047d65c57ae574328bdbd27a2b2cad31 (patch) | |
| tree | fbde5643ba25498bec723c3c4a52d1a7b25e51c7 /llvm/lib/Transforms/Utils/Local.cpp | |
| parent | 230f29f91028f81eeb0e152ab9be5b20c7770537 (diff) | |
| download | llvm-387e059c047d65c57ae574328bdbd27a2b2cad31.zip llvm-387e059c047d65c57ae574328bdbd27a2b2cad31.tar.gz llvm-387e059c047d65c57ae574328bdbd27a2b2cad31.tar.bz2 | |
[cleanup] Add a getOperandNo method to the Use class and implement it
out-of-line so that it can refer to the methods on User. As
a consequence, this removes the need to define one template method if
value_use_iterator in the extremely strange User.h header (!!!).
This makse Use.h slightly less peculiar. The only remaining real
peculiarity is the definition of Use::set in Value.h
llvm-svn: 202805
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions
