Displaying 2 results from an estimated 2 matches for "autounique".
2007 Jul 04
0
[LLVMdev] Accessing/Loading a new pass
...latter, since when I create the new
> instruction the empty string is passed in for the name of the
> instruction). Is there some way to get a new name (like tmp155) and
> have a high degree of confidence that it is actually unique?
Sure. Just give every name "tmp" and it will autounique them.
-Chris
> On 7/4/07, Chris Lattner <sabre at nondot.org> wrote:
>> On Wed, 4 Jul 2007, Ben Chambers wrote:
>>> Ok. So I took the source code from 1.5 for the LowerConstantExprs
>>> pass and (hopefully) corrected all the bitrot. It now compiles. But
>>...
2007 Jul 04
2
[LLVMdev] Accessing/Loading a new pass
Ah, I was missing that include/llvm/LinkAllPasses.h change. Thanks!
Now I have it working, except for the fact that it doesn't seem to
generate fresh names for things. Or if it does, they're the empty
string (I suspect it is the latter, since when I create the new
instruction the empty string is passed in for the name of the
instruction). Is there some way to get a new name (like