Displaying 3 results from an estimated 3 matches for "mpassunit".
Did you mean:
passunit
2006 Jan 10
0
[LLVMdev] passmanager, significant rework idea...
...gt;(Pass))
+ FPassUnit::FPass(Pass) {}
+};
+
+// For CallGraphSCC passes, really they're a FunctionPass for instance told to
+// change traversal methods, this adds to their requiredPasses CallGraphSCC
+// and when told to run, simply checks the traversal and uses CGSCC bottom-up.
+
+class MPassUnit : public PassUnit {
+ ModulePass *MPass;
+
+public:
+ MPassUnit(Traversal traversal = LINEAR, ModulePass *Pass) :
+ PassUnit::traversal(traversal),
+ PassUnit::Pass(static_cast<Pass*>(Pass))
+ MPassUnit::MPass(Pass) {}
+};
*** I don't think I really understand what the idea...
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...
...gt; +};
> +
> +// For CallGraphSCC passes, really they're a FunctionPass for instance told
> to
> +// change traversal methods, this adds to their requiredPasses CallGraphSCC
> +// and when told to run, simply checks the traversal and uses CGSCC
> bottom-up.
> +
> +class MPassUnit : public PassUnit {
> + ModulePass *MPass;
> +
> +public:
> + MPassUnit(Traversal traversal = LINEAR, ModulePass *Pass) :
> + PassUnit::traversal(traversal),
> + PassUnit::Pass(static_cast<Pass*>(Pass))
> + MPassUnit::MPass(Pass) {}
> +};
>
> *** I don...