[LLVMdev] Adding Value to use_list of instruction

Ryan Taylor ryta1203 at gmail.com
Thu Aug 2 14:52:04 PDT 2012


I'd like to add a value to a use_list of a new instruction that I am
inserting, is this possible?

I was looking at using Value::addUse(Use&), however, this doesn't take a
value, it takes a Use, so I need to pass the value as a use somehow?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120802/4785ff50/attachment.html>


More information about the llvm-dev mailing list