mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Patch #6's in Saem's refactor-the-passmanager patch series. From him:
This sanitises the world, blows away the specialisations and adds traits per passmanager type -- seemed most natural. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25085 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -23,10 +23,12 @@ class Pass;
|
||||
class ModulePass;
|
||||
class Module;
|
||||
class ModuleProvider;
|
||||
template<class UnitType> class PassManagerT;
|
||||
class ModulePassManager;
|
||||
class FunctionPassManagerT;
|
||||
class BasicBlockPassManager;
|
||||
|
||||
class PassManager {
|
||||
PassManagerT<Module> *PM; // This is a straightforward Pimpl class
|
||||
ModulePassManager *PM; // This is a straightforward Pimpl class
|
||||
public:
|
||||
PassManager();
|
||||
~PassManager();
|
||||
@ -49,7 +51,7 @@ class ImmutablePass;
|
||||
class Function;
|
||||
|
||||
class FunctionPassManager {
|
||||
PassManagerT<Function> *PM; // This is a straightforward Pimpl class
|
||||
FunctionPassManagerT *PM; // This is a straightforward Pimpl class
|
||||
ModuleProvider *MP;
|
||||
public:
|
||||
FunctionPassManager(ModuleProvider *P);
|
||||
|
Reference in New Issue
Block a user