[LLVMdev] LLVM:help

Reid Kleckner reid.kleckner at gmail.com
Wed Jun 23 11:40:30 PDT 2010


What would you need the name for?  If you're using the C++ API you
just pass it as a Value* to the IRBuilder API.

Reid

On Wed, Jun 23, 2010 at 11:19 AM, RAJWINDER SINGH
<rajwindersingh85 at gmail.com> wrote:
> Sir ,how can I get the variable %2 in instruction
>  %2 = sub nsw i32 1, %y
> If I am using getName() function then it outputs the null string.
> How can I get the original name?
> Regards,
> Rajwinder Singh
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>




More information about the llvm-dev mailing list