Rename functions to be more consistend with other pass constructors


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2388 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/analyze/analyze.cpp b/tools/analyze/analyze.cpp
index 8a1d86c..6de3738 100644
--- a/tools/analyze/analyze.cpp
+++ b/tools/analyze/analyze.cpp
@@ -126,11 +126,10 @@
 }
 
 
-
-Pass *NewPrintFunction(const string &Message) {
+Pass *createPrintFunctionPass(const string &Message) {
   return new PrintFunctionPass(Message, &std::cout);
 }
-Pass *NewPrintModule(const string &Message) {
+Pass *createPrintModulePass(const string &Message) {
   return new PrintModulePass(&std::cout);
 }
 
@@ -262,7 +261,7 @@
   Pass *(*PassConstructor)(const string &Message);
 } AnTable[] = {
   // Global analyses
-  { print             , NewPrintFunction                        },
+  { print             , createPrintFunctionPass                 },
   { intervals         , New<FunctionPass, IntervalPartition>    },
   { loops             , New<FunctionPass, LoopInfo>             },
   { instforest        , Create<PrinterPass<InstForest> >        },
@@ -270,7 +269,7 @@
   { exprs             , Create<PrinterPass<Exprs> >             },
 
   // IP Analyses...
-  { printmodule       , NewPrintModule                    },
+  { printmodule       , createPrintModulePass            },
   { printusedtypes    , New<Pass, FindUsedTypes>          },
   { callgraph         , New<Pass, CallGraph>              },
   { datastructure     , New<Pass, DataStructure>          },