[LLVMdev] Tracing Value Dependency Chains

Manish Gupta manishg at cs.ucsd.edu
Wed Aug 3 10:47:45 PDT 2011


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/20110803/d4763c54/attachment.html>


More information about the llvm-dev mailing list