[LLVMdev] Tracing Value Dependency Chains
Manish Gupta
manishg at cs.ucsd.edu
Thu Aug 4 11:53:13 PDT 2011
It would be great help if someone can point me to similar code in Analysis
or Transform, i.e. tracing value dependencies chains.
Thanks,
Manish
On Wed, Aug 3, 2011 at 10:47 AM, Manish Gupta <manishg at cs.ucsd.edu> wrote:
> Hello All,
>
> What would be the best way to trace Value Dependency Chains in LLVM. Can I
> use some API to perform this?
>
> The use-def chain process mentioned at
> http://llvm.org/docs/ProgrammersManual.html#iterate_chains will just get
> the values (Operands) being used in the current Instruction. For getting the
> values operands in the particular instruction are influenced from I have
> to recursively call the use-def on these operands. I was wondering if there
> is already available better way of doing this in LLVM.
>
> Thanks,
> Manish
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110804/ec143a6b/attachment.html>
More information about the llvm-dev
mailing list