Hello, I am trying to print out output name of "unnamed temporary". For instance, for %3 = add i32 %21, i32 %index.01, I would like to print out %3. Can anybody please let me know how I can get it? Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110921/56a6991a/attachment.html>
Douglas do Couto Teixeira
2011-Sep-22 01:16 UTC
[LLVMdev] Getting number of "unnamed temporory"
You can run the instnamer pass. So all instructions will get a name. I hope it helps. Regards, Douglas On Wed, Sep 21, 2011 at 10:08 PM, Taemin Kim <taemin0712 at gmail.com> wrote:> Hello, > I am trying to print out output name of "unnamed temporary". For instance, > for %3 = add i32 %21, i32 %index.01, I would like to print out %3. Can > anybody please let me know how I can get it? > Thank you > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >
Douglas do Couto Teixeira
2011-Sep-22 01:51 UTC
[LLVMdev] Getting number of "unnamed temporory"
Just forwarding it to the list. On Wed, Sep 21, 2011 at 10:43 PM, Taemin Kim <taemin0712 at gmail.com> wrote:> It works. =) Thank you very much. > Taemin > > On Wed, Sep 21, 2011 at 6:16 PM, Douglas do Couto Teixeira > <douglasdocouto at gmail.com> wrote: >> >> You can run the instnamer pass. So all instructions will get a name. >> >> I hope it helps. >> >> Regards, >> >> Douglas >> >> On Wed, Sep 21, 2011 at 10:08 PM, Taemin Kim <taemin0712 at gmail.com> wrote: >> > Hello, >> > I am trying to print out output name of "unnamed temporary". For >> > instance, >> > for %3 = add i32 %21, i32 %index.01, I would like to print out %3. Can >> > anybody please let me know how I can get it? >> > Thank you >> > _______________________________________________ >> > LLVM Developers mailing list >> > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> > >> > > >
Possibly Parallel Threads
- [LLVMdev] Getting number of "unnamed temporory"
- [LLVMdev] How to change the type of an Instruction?
- [LLVMdev] How to change the type of an Instruction?
- [LLVMdev] How to change the type of an Instruction?
- [LLVMdev] How to change the type of an Instruction?