//===-- llvm/Analysis/Passes.h - Constructors for analyses ------*- 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 file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
//===----------------------------------------------------------------------===//
//
// This header file defines prototypes for accessor functions that expose passes
namespace llvm {
class FunctionPass;
class ImmutablePass;
+ class LoopPass;
class ModulePass;
class Pass;
+ class PassInfo;
//===--------------------------------------------------------------------===//
//
- // createGlobalsModRefPass - This pass provides alias and mod/ref info for
- // global values that do not have their addresses taken.
+ // createAAEvalPass - This pass implements a simple N^2 alias analysis
+ // accuracy evaluator.
//
- Pass *createGlobalsModRefPass();
+ FunctionPass *createAAEvalPass();
//===--------------------------------------------------------------------===//
//
- // createAliasAnalysisCounterPass - This pass counts alias queries and how the
- // alias analysis implementation responds.
+ // createObjCARCAAWrapperPass - This pass implements ObjC-ARC-based
+ // alias analysis.
//
- ModulePass *createAliasAnalysisCounterPass();
+ ImmutablePass *createObjCARCAAWrapperPass();
- //===--------------------------------------------------------------------===//
- //
- // createAAEvalPass - This pass implements a simple N^2 alias analysis
- // accuracy evaluator.
- //
- FunctionPass *createAAEvalPass();
+ FunctionPass *createPAEvalPass();
//===--------------------------------------------------------------------===//
//
- // createNoAAPass - This pass implements a "I don't know" alias analysis.
- //
- ImmutablePass *createNoAAPass();
-
+ /// createLazyValueInfoPass - This creates an instance of the LazyValueInfo
+ /// pass.
+ FunctionPass *createLazyValueInfoPass();
+
//===--------------------------------------------------------------------===//
//
- // createBasicAliasAnalysisPass - This pass implements the default alias
- // analysis.
+ // createDependenceAnalysisPass - This creates an instance of the
+ // DependenceAnalysis pass.
//
- ImmutablePass *createBasicAliasAnalysisPass();
-
+ FunctionPass *createDependenceAnalysisPass();
+
//===--------------------------------------------------------------------===//
//
- // createAndersensPass - This pass implements Andersen's interprocedural alias
- // analysis.
+ // createCostModelAnalysisPass - This creates an instance of the
+ // CostModelAnalysis pass.
//
- ModulePass *createAndersensPass();
-
+ FunctionPass *createCostModelAnalysisPass();
+
//===--------------------------------------------------------------------===//
//
- // createBasicVNPass - This pass walks SSA def-use chains to trivially
- // identify lexically identical expressions.
+ // createDelinearizationPass - This pass implements attempts to restore
+ // multidimensional array indices from linearized expressions.
//
- ImmutablePass *createBasicVNPass();
-
+ FunctionPass *createDelinearizationPass();
+
//===--------------------------------------------------------------------===//
//
- // createProfileLoaderPass - This pass loads information from a profile dump
- // file.
+ // createDivergenceAnalysisPass - This pass determines which branches in a GPU
+ // program are divergent.
//
- ModulePass *createProfileLoaderPass();
-
+ FunctionPass *createDivergenceAnalysisPass();
+
//===--------------------------------------------------------------------===//
//
- // createNoProfileInfoPass - This pass implements the default "no profile".
- //
- ImmutablePass *createNoProfileInfoPass();
-
+ // Minor pass prototypes, allowing us to expose them through bugpoint and
+ // analyze.
+ FunctionPass *createInstCountPass();
+
//===--------------------------------------------------------------------===//
//
- // createDSAAPass - This pass implements simple context sensitive alias
- // analysis.
+ // createRegionInfoPass - This pass finds all single entry single exit regions
+ // in a function and builds the region hierarchy.
//
- ModulePass *createDSAAPass();
-
+ FunctionPass *createRegionInfoPass();
+
+ // Print module-level debug info metadata in human-readable form.
+ ModulePass *createModuleDebugInfoPrinterPass();
+
//===--------------------------------------------------------------------===//
//
- // createDSOptPass - This pass uses DSA to do a series of simple
- // optimizations.
+ // createMemDepPrinter - This pass exhaustively collects all memdep
+ // information and prints it with -analyze.
//
- ModulePass *createDSOptPass();
-
+ FunctionPass *createMemDepPrinter();
+
//===--------------------------------------------------------------------===//
//
- // createSteensgaardPass - This pass uses the data structure graphs to do a
- // simple context insensitive alias analysis.
+ // createMemDerefPrinter - This pass collects memory dereferenceability
+ // information and prints it with -analyze.
//
- ModulePass *createSteensgaardPass();
+ FunctionPass *createMemDerefPrinter();
+
}
#endif