Displaying 6 results from an estimated 6 matches for "initializeallpass".
Did you mean:
initializeallpasses
2010 Oct 08
2
[LLVMdev] MAJOR API CHANGE: Pass initialization without static constructors
...er? For example, could you extend PassManager with a method that calls all of the passes's initialization methods? In other words, could you easily support something like:
>
> PassManager.add (Pass1);
> PassManager.add (Pass2);
> ...
> PassManager.add (PassN);
> PassManager.initializeAllPasses ();
> PassManager.run();
>
>
> ... or could the PassManager::add() method automatically initialize the pass? Other possibilities may exists which are better as well; these are just the first two I've thought of.
Neither of those will work. These initialization have nothing to...
2010 Oct 11
0
[LLVMdev] MAJOR API CHANGE: Pass initialization without static constructors
...er? For example, could you extend PassManager with a method that calls all of the passes's initialization methods? In other words, could you easily support something like:
>
> PassManager.add (Pass1);
> PassManager.add (Pass2);
> ...
> PassManager.add (PassN);
> PassManager.initializeAllPasses ();
> PassManager.run();
>
>
> ... or could the PassManager::add() method automatically initialize the pass? Other possibilities may exists which are better as well; these are just the first two I've thought of.
Chris and I had a discussion about this offline, and he pointed...
2010 Oct 08
0
[LLVMdev] MAJOR API CHANGE: Pass initialization without static constructors
On 10/8/10 3:44 PM, Owen Anderson wrote:
> [snip]
>
>> Hrm. I see.
>>
>> I still don't like the idea of having every statically-linked tool explicitly initializing every library that gets linked in. Just dumping the library into the Makefile and being done with it was much nicer.
>>
>> If you can find a reasonable way to support that, it would be nice.
2010 Oct 08
0
[LLVMdev] Fwd: Re: MAJOR API CHANGE: Pass initialization without static constructors
...Could you devise something better?
For example, could you extend PassManager with a method that calls all
of the passes's initialization methods? In other words, could you
easily support something like:
PassManager.add (Pass1);
PassManager.add (Pass2);
...
PassManager.add (PassN);
PassManager.initializeAllPasses ();
PassManager.run();
... or could the PassManager::add() method automatically initialize the
pass? Other possibilities may exists which are better as well; these
are just the first two I've thought of.
-- John T.
>
>
> * WHAT THIS MEANS FOR LLVM USERS
>
> Users of LLV...
2010 Oct 08
2
[LLVMdev] MAJOR API CHANGE: Pass initialization without static constructors
On Oct 8, 2010, at 1:37 PM, John Criswell wrote:
> On 10/8/10 3:15 PM, Owen Anderson wrote:
>>
>> On Oct 8, 2010, at 1:05 PM, John Criswell wrote:
>>
>>> On 10/8/10 1:29 PM, Owen Anderson wrote:
>>>> Hello fellow LLVM-ers,
>>>>
>>>> As those of you who follow llvm-commits have probably noticed, I've been hard at work
2010 Oct 08
0
[LLVMdev] MAJOR API CHANGE: Pass initialization without static constructors
...ger with a
>> method that calls all of the passes's initialization methods? In
>> other words, could you easily support something like:
>>
>> PassManager.add (Pass1);
>> PassManager.add (Pass2);
>> ...
>> PassManager.add (PassN);
>> PassManager.initializeAllPasses ();
>> PassManager.run();
>>
>>
>> ... or could the PassManager::add() method automatically initialize
>> the pass? Other possibilities may exists which are better as well;
>> these are just the first two I've thought of.
>
> Neither of those will...