[LLVMdev] #uses
Chris Lattner
sabre at nondot.org
Tue Sep 17 16:50:00 PDT 2002
> My question is how the program knows about the number of uses.
> If I want to check all the future uses of this variable, say
> %S.i. Is there a way that I can directly find the uses of this
> variable? Or I have to iterate over the function, inspect all
> the instructions and ompare all the operands of each
> instruction to see if they are the same?
See:
http://llvm/docs/ProgrammersManual.html#iterate_chains
-Chris
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/
More information about the llvm-dev
mailing list