[LLVMdev] question-TUD, germany

anubham suresh bobby_anubham at yahoo.co.in
Wed Feb 15 02:29:52 PST 2006


hi everyone,
here i have a question:
is there any chance in llvm intermediate
representation to compare whether a operand (ie a
value) is used as a user  without iterating over all
the instructions in a basic block.
i will explain this with an example:
i=p+4;
j=i+p;

in the above example i mean p,4,i,p which are on the
RHS are operands and the terms i,j which are on the
LHS are users.

so what i mean is:
is there any chance to find whether a value is used as
an user whithin the instructions of a basic block
without iterating over all the instructions and
(variables in instructions) in that block.




Anubham Suresh 
Measurement and Instrumentation
Electrical Department
IIT Roorkee
Current location:Darmstadt, Germany
mobile: +49-1762-3924878


		
__________________________________________________________ 
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com




More information about the llvm-dev mailing list