forked from OSchip/llvm-project
remove unimplemented ctor, add some comments.
llvm-svn: 43328
This commit is contained in:
parent
46b4281b6a
commit
f98427142c
|
@ -31,7 +31,6 @@ class FunctionPassManagerImpl;
|
||||||
|
|
||||||
/// PassManager manages ModulePassManagers
|
/// PassManager manages ModulePassManagers
|
||||||
class PassManager {
|
class PassManager {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
PassManager();
|
PassManager();
|
||||||
|
@ -52,14 +51,14 @@ private:
|
||||||
/// PassManagerImpl_New is the actual class. PassManager is just the
|
/// PassManagerImpl_New is the actual class. PassManager is just the
|
||||||
/// wraper to publish simple pass manager interface
|
/// wraper to publish simple pass manager interface
|
||||||
PassManagerImpl *PM;
|
PassManagerImpl *PM;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/// FunctionPassManager manages FunctionPasses and BasicBlockPassManagers.
|
/// FunctionPassManager manages FunctionPasses and BasicBlockPassManagers.
|
||||||
class FunctionPassManager {
|
class FunctionPassManager {
|
||||||
public:
|
public:
|
||||||
|
/// FunctionPassManager ctor - This initializes the pass manager. It needs,
|
||||||
|
/// but does not take ownership of, the specified module provider.
|
||||||
explicit FunctionPassManager(ModuleProvider *P);
|
explicit FunctionPassManager(ModuleProvider *P);
|
||||||
FunctionPassManager();
|
|
||||||
~FunctionPassManager();
|
~FunctionPassManager();
|
||||||
|
|
||||||
/// add - Add a pass to the queue of passes to run. This passes
|
/// add - Add a pass to the queue of passes to run. This passes
|
||||||
|
@ -82,8 +81,8 @@ public:
|
||||||
/// doFinalization - Run all of the finalizers for the function passes.
|
/// doFinalization - Run all of the finalizers for the function passes.
|
||||||
///
|
///
|
||||||
bool doFinalization();
|
bool doFinalization();
|
||||||
private:
|
|
||||||
|
|
||||||
|
private:
|
||||||
FunctionPassManagerImpl *FPM;
|
FunctionPassManagerImpl *FPM;
|
||||||
ModuleProvider *MP;
|
ModuleProvider *MP;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue