search for: fpassunit

Displaying 3 results from an estimated 3 matches for "fpassunit".

Did you mean: passunit
2006 Jan 10
0
[LLVMdev] passmanager, significant rework idea...
...BBPassUnit::BBPass(Pass) {} +}; + +class LPassUnit : public PassUnit { + LoopPass *LPass; + +public: + LPassUnit(Traversal traversal = LINEAR, LoopPass *Pass) : + PassUnit::traversal(traversal), + PassUnit::Pass(static_cast<Pass*>(Pass)) + LPassUnit::LPass(Pass) {} +}; + +class FPassUnit : public PassUnit { + FunctionPass *FPass; + +public: + FPassUnit(Traversal traversal = LINEAR, FunctionPass *Pass) : + PassUnit::traversal(traversal), + PassUnit::Pass(static_cast<Pass*>(Pass)) + FPassUnit::FPass(Pass) {} +}; + +// For CallGraphSCC passes, really they're a...
2006 Jan 10
3
[LLVMdev] passmanager, significant rework idea...
The patch below basically hammers out some ideas as to where I'd like to take the passmanager in LLVM. I've tried thinking things through, but I'm still a n00b, so some criticism would be more than welcome. =) Starting from line 191 down. If you're wondering why I created a patch, well that's because I found thinking in passmanagert.h the most productive. -- Regards.
2006 Jan 10
1
[LLVMdev] Re: passmanager, significant rework idea...
...Unit : public PassUnit { > + LoopPass *LPass; > + > +public: > + LPassUnit(Traversal traversal = LINEAR, LoopPass *Pass) : > + PassUnit::traversal(traversal), > + PassUnit::Pass(static_cast<Pass*>(Pass)) > + LPassUnit::LPass(Pass) {} > +}; > + > +class FPassUnit : public PassUnit { > + FunctionPass *FPass; > + > +public: > + FPassUnit(Traversal traversal = LINEAR, FunctionPass *Pass) : > + PassUnit::traversal(traversal), > + PassUnit::Pass(static_cast<Pass*>(Pass)) > + FPassUnit::FPass(Pass) {} > +}; > + > +//...