[llvm-dev] How to get the string representation of an instruction?
Ryan Taylor via llvm-dev
llvm-dev at lists.llvm.org
Wed Jan 16 07:42:18 PST 2019
Is Value::getName() not what you want?
On Wed, Jan 16, 2019 at 10:25 AM Peng Yu via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi,
>
> I don't see a way to convert an Instruction to a string or const char
> *, although '<<' works on it.
>
> http://llvm.org/doxygen/classllvm_1_1Instruction.html
>
> How to figure this out? Thanks.
>
> --
> Regards,
> Peng
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190116/20db347a/attachment.html>
More information about the llvm-dev
mailing list