[LLVMdev] Get identifier for unnamed temporary

Eli Friedman
Thu, 02 Jul 2009 21:50:06 -0000

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