[llvm-dev] Difference between “uses” and “user”

Carlos Alba via llvm-dev llvm-dev at lists.llvm.org
Tue Feb 16 01:24:51 PST 2016


Hi everyone,

Instruction and Value classes have "Uses" and "User". What is the
difference between them?

I think that "Uses" gives all the instructions/values that a particular
Value depends on and "User" gives all the instructions/values that depend
on that particular value. Is that right?

Best,
Carlo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160216/2971f991/attachment.html>


More information about the llvm-dev mailing list