Add an extra operand to LABEL nodes which distinguishes between debug, EH, or misc...
[oota-llvm.git] / include / llvm / PassManager.h
index 254cac94d10ea12e7bdbbf9bfcc59400f8df6693..6d462026e3a25c02a48c0e6dd75e359cdffba81a 100644 (file)
@@ -2,8 +2,8 @@
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by the LLVM research group and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
@@ -26,13 +26,11 @@ class ModulePass;
 class Module;
 class ModuleProvider;
 
-class ModulePassManager;
 class PassManagerImpl;
 class FunctionPassManagerImpl;
 
 /// PassManager manages ModulePassManagers
 class PassManager {
-
 public:
 
   PassManager();
@@ -53,14 +51,14 @@ private:
   /// PassManagerImpl_New is the actual class. PassManager is just the 
   /// wraper to publish simple pass manager interface
   PassManagerImpl *PM;
-
 };
 
 /// FunctionPassManager manages FunctionPasses and BasicBlockPassManagers.
 class FunctionPassManager {
 public:
+  /// FunctionPassManager ctor - This initializes the pass manager.  It needs,
+  /// but does not take ownership of, the specified module provider.
   explicit FunctionPassManager(ModuleProvider *P);
-  FunctionPassManager();
   ~FunctionPassManager();
  
   /// add - Add a pass to the queue of passes to run.  This passes
@@ -80,11 +78,11 @@ public:
   ///
   bool doInitialization();
   
-  /// doFinalization - Run all of the initializers for the function passes.
+  /// doFinalization - Run all of the finalizers for the function passes.
   ///
   bool doFinalization();
+
 private:
-  
   FunctionPassManagerImpl *FPM;
   ModuleProvider *MP;
 };