Displaying 4 results from an estimated 4 matches for "runonfunctionbody".
2006 Nov 07
3
[LLVMdev] PassManager
...sion class may need to inspect loop headers to decide which
> subsets of loops to fuse and then fuse them as it goes.
LoopPassManager will expose two virtual methods.
1) runOnLoop(Loop &L, LoopPassManger &LPM)
Loop transformation can override to process this particular loop.
2) runOnFunctionBody(Function &F, Loop&L, LoopPassManager &LPM)
LoopFusion and others can override this to to analyze and process
multiple loops.
>
> I think you could do this just by adding an iterator method somewhere
> that enumerates sets of loops (i.e,. returns a vector of Loop
> o...
2006 Nov 07
0
[LLVMdev] PassManager
...decide which
>> subsets of loops to fuse and then fuse them as it goes.
>
> LoopPassManager will expose two virtual methods.
>
> 1) runOnLoop(Loop &L, LoopPassManger &LPM)
>
> Loop transformation can override to process this particular
> loop.
>
> 2) runOnFunctionBody(Function &F, Loop&L, LoopPassManager &LPM)
>
> LoopFusion and others can override this to to analyze and process
> multiple loops.
>
>>
>> I think you could do this just by adding an iterator method somewhere
>> that enumerates sets of loops (i.e,. ret...
2006 Nov 07
0
[LLVMdev] PassManager
Chris and Devang,
Before you implement the LoopPassManager class, I'd like to discuss
this a little bit. I have a suggestion and a question; we can
discuss this now or later, as you wish:
1. The LoopPassManager might become much simpler if the more complex
loop passes are given control over how they iterate over the loops,
rather always rely on the manager to enumerate the loops in
2006 Nov 07
4
[LLVMdev] PassManager
Hi All,
I am planning to re-implement PassManager in llvm 2.0. The goal is to
address
http://nondot.org/sabre/LLVMNotes/Inliner-PassManager.txt and
http://nondot.org/sabre/LLVMNotes/LoopOptimizerNotes.txt
and other crazy ideas Chris has. Current implementation of PassManager
is very complex. Initially I attempted to update it to address above
notes but realized that redoing