[llvm-dev] How to get the string representation of an instruction?

Peng Yu via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 16 07:24:43 PST 2019


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


More information about the llvm-dev mailing list