[LLVMdev] Get identifier for unnamed temporary

Chris Lattner
Thu, 02 Jul 2009 21:48:22 -0000

On Jul 2, 2009, at 2:24 PM, Scott Ricketts 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?

hi Scott,

VMCore will auto-unique value names for you.  Most passes just create
all instructions with a name like "tmp" and let VMCore unique them.
Is this enough for you?

-Chris