Added LLVM copyright header (for lack of a better term).
[oota-llvm.git] / include / llvm / Transforms / MutateStructTypes.h
index e1fbeda2d4cf8b98b038c84ab6eb4f1f0863b6d2..f9b753caf44b39cb949252bbe270c68d3640af47 100644 (file)
@@ -1,4 +1,11 @@
-//===- llvm/Transforms/MutateStructTypes.h - Change struct defns -*- C++ -*--=//
+//===-- llvm/Transforms/MutateStructTypes.h - Rearrange structs -*- C++ -*-===//
+// 
+//                     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 pass is used to change structure accesses and type definitions in some
 // way.  It can be used to arbitrarily permute structure fields, safely, without
@@ -58,7 +65,7 @@ public:
   }
 
   // run - do the transformation
-  virtual bool run(Module *M);
+  virtual bool run(Module &M);
 
 protected:
 
@@ -76,7 +83,7 @@ private:
   // functions for functions than need to be copied because they have a new
   // signature type.
   //
-  void processGlobals(Module *M);
+  void processGlobals(Module &M);
 
   // transformFunction - This transforms the instructions of the function to use
   // the new types.
@@ -86,7 +93,7 @@ private:
   // removeDeadGlobals - This removes the old versions of functions that are no
   // longer needed.
   //
-  void removeDeadGlobals(Module *M);
+  void removeDeadGlobals(Module &M);
 
 private:
   // ConvertType - Convert from the old type system to the new one...