[PM/AA] Move the LibCall AA creation routine declaration to that
authorChandler Carruth <chandlerc@gmail.com>
Fri, 14 Aug 2015 01:43:02 +0000 (01:43 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 14 Aug 2015 01:43:02 +0000 (01:43 +0000)
analysis's header file to be more consistent with other analyses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245001 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LibCallAliasAnalysis.h
include/llvm/Analysis/Passes.h
include/llvm/LinkAllPasses.h
lib/Analysis/LibCallAliasAnalysis.cpp

index 36d9e06..6a93b00 100644 (file)
@@ -68,6 +68,12 @@ private:
                                    const MemoryLocation &Loc);
 };
 
                                    const MemoryLocation &Loc);
 };
 
+/// createLibCallAliasAnalysisPass - Create an alias analysis pass that knows
+/// about the semantics of a set of libcalls specified by LCI.  The newly
+/// constructed pass takes ownership of the pointer that is provided.
+///
+FunctionPass *createLibCallAliasAnalysisPass(LibCallInfo *LCI);
+
 } // End of llvm namespace
 
 #endif
 } // End of llvm namespace
 
 #endif
index 0aa2075..becaa7e 100644 (file)
@@ -58,14 +58,6 @@ namespace llvm {
   //
   ImmutablePass *createCFLAliasAnalysisPass();
 
   //
   ImmutablePass *createCFLAliasAnalysisPass();
 
-  //===--------------------------------------------------------------------===//
-  //
-  /// createLibCallAliasAnalysisPass - Create an alias analysis pass that knows
-  /// about the semantics of a set of libcalls specified by LCI.  The newly
-  /// constructed pass takes ownership of the pointer that is provided.
-  ///
-  FunctionPass *createLibCallAliasAnalysisPass(LibCallInfo *LCI);
-
   //===--------------------------------------------------------------------===//
   //
   // createScalarEvolutionAliasAnalysisPass - This pass implements a simple
   //===--------------------------------------------------------------------===//
   //
   // createScalarEvolutionAliasAnalysisPass - This pass implements a simple
index d8a372e..87ec446 100644 (file)
@@ -21,6 +21,7 @@
 #include "llvm/Analysis/CallPrinter.h"
 #include "llvm/Analysis/DomPrinter.h"
 #include "llvm/Analysis/IntervalPartition.h"
 #include "llvm/Analysis/CallPrinter.h"
 #include "llvm/Analysis/DomPrinter.h"
 #include "llvm/Analysis/IntervalPartition.h"
+#include "llvm/Analysis/LibCallAliasAnalysis.h"
 #include "llvm/Analysis/Lint.h"
 #include "llvm/Analysis/Passes.h"
 #include "llvm/Analysis/PostDominators.h"
 #include "llvm/Analysis/Lint.h"
 #include "llvm/Analysis/Passes.h"
 #include "llvm/Analysis/PostDominators.h"
index 8e839e8..8d693dd 100644 (file)
@@ -13,7 +13,6 @@
 
 #include "llvm/Analysis/LibCallAliasAnalysis.h"
 #include "llvm/Analysis/LibCallSemantics.h"
 
 #include "llvm/Analysis/LibCallAliasAnalysis.h"
 #include "llvm/Analysis/LibCallSemantics.h"
-#include "llvm/Analysis/Passes.h"
 #include "llvm/IR/Function.h"
 #include "llvm/Pass.h"
 using namespace llvm;
 #include "llvm/IR/Function.h"
 #include "llvm/Pass.h"
 using namespace llvm;