[llvm-dev] getting providers of a llvm instruction
David Livshin via llvm-dev
llvm-dev at lists.llvm.org
Sun Jan 16 05:37:16 PST 2022
Hi
Analyzing llvm IR file ( .bc or .ll ) for every instruction it is
possible, using the provided functions, to determine the list of
instructions that consume it result. What about the other way around –
are there llvm functions that allow for every instruction ( or better –
for every operand of an instruction ) to determine the list of
instructions that provide it with the necessary resources. Being able to
know the users of the result of an instruction it is possible to
calculate such a data. The question is if it is already calculated and,
if yes, how to obtain it.
Thank you
David
--
David Livshin
david.livshin at dalsoft.com
www.dalsoft.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20220116/06c1437c/attachment.html>
More information about the llvm-dev
mailing list