[LLVMdev] Get identifier for unnamed temporary

Eli Friedman eli.friedman at gmail.com
Thu Jul 2 14:50:06 PDT 2009


On Thu, Jul 2, 2009 at 2:24 PM, Scott Ricketts<sricketts at maxentric.com> wrote:
> Is there a way through the Value class to get the identifier for an
> unnamed temporary? Or alternatively, could someone point me to the
> code where temporaries are assigned sequential numbers as identifiers
> so I can better understand this issue?

The relevant code is llvm/lib/VMCore/AsmWriter.cpp.  That said, you
shouldn't really need them anywhere; what are you trying to do?

-Eli



More information about the llvm-dev mailing list