Add an extra operand to LABEL nodes which distinguishes between debug, EH, or misc...
[oota-llvm.git] / include / llvm / PassManager.h
index 1abfa68a1ace62a1f5286f969c1aa573f3b599af..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.
 //
 //===----------------------------------------------------------------------===//
 //
@@ -31,7 +31,6 @@ class FunctionPassManagerImpl;
 
 /// PassManager manages ModulePassManagers
 class PassManager {
-
 public:
 
   PassManager();
@@ -52,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
@@ -82,8 +81,8 @@ public:
   /// doFinalization - Run all of the finalizers for the function passes.
   ///
   bool doFinalization();
+
 private:
-  
   FunctionPassManagerImpl *FPM;
   ModuleProvider *MP;
 };