Taints the non-acquire RMW's store address with the load part
[oota-llvm.git] / include / llvm / Analysis / Passes.h
1 //===-- llvm/Analysis/Passes.h - Constructors for analyses ------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This header file defines prototypes for accessor functions that expose passes
11 // in the analysis libraries.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #ifndef LLVM_ANALYSIS_PASSES_H
16 #define LLVM_ANALYSIS_PASSES_H
17
18 namespace llvm {
19   class FunctionPass;
20   class ImmutablePass;
21   class LoopPass;
22   class ModulePass;
23   class Pass;
24   class PassInfo;
25
26   //===--------------------------------------------------------------------===//
27   //
28   // createAAEvalPass - This pass implements a simple N^2 alias analysis
29   // accuracy evaluator.
30   //
31   FunctionPass *createAAEvalPass();
32
33   //===--------------------------------------------------------------------===//
34   //
35   // createObjCARCAAWrapperPass - This pass implements ObjC-ARC-based
36   // alias analysis.
37   //
38   ImmutablePass *createObjCARCAAWrapperPass();
39
40   FunctionPass *createPAEvalPass();
41
42   //===--------------------------------------------------------------------===//
43   //
44   /// createLazyValueInfoPass - This creates an instance of the LazyValueInfo
45   /// pass.
46   FunctionPass *createLazyValueInfoPass();
47
48   //===--------------------------------------------------------------------===//
49   //
50   // createDependenceAnalysisPass - This creates an instance of the
51   // DependenceAnalysis pass.
52   //
53   FunctionPass *createDependenceAnalysisPass();
54
55   //===--------------------------------------------------------------------===//
56   //
57   // createCostModelAnalysisPass - This creates an instance of the
58   // CostModelAnalysis pass.
59   //
60   FunctionPass *createCostModelAnalysisPass();
61
62   //===--------------------------------------------------------------------===//
63   //
64   // createDelinearizationPass - This pass implements attempts to restore
65   // multidimensional array indices from linearized expressions.
66   //
67   FunctionPass *createDelinearizationPass();
68
69   //===--------------------------------------------------------------------===//
70   //
71   // createDivergenceAnalysisPass - This pass determines which branches in a GPU
72   // program are divergent.
73   //
74   FunctionPass *createDivergenceAnalysisPass();
75
76   //===--------------------------------------------------------------------===//
77   //
78   // Minor pass prototypes, allowing us to expose them through bugpoint and
79   // analyze.
80   FunctionPass *createInstCountPass();
81
82   //===--------------------------------------------------------------------===//
83   //
84   // createRegionInfoPass - This pass finds all single entry single exit regions
85   // in a function and builds the region hierarchy.
86   //
87   FunctionPass *createRegionInfoPass();
88
89   // Print module-level debug info metadata in human-readable form.
90   ModulePass *createModuleDebugInfoPrinterPass();
91
92   //===--------------------------------------------------------------------===//
93   //
94   // createMemDepPrinter - This pass exhaustively collects all memdep
95   // information and prints it with -analyze.
96   //
97   FunctionPass *createMemDepPrinter();
98
99   //===--------------------------------------------------------------------===//
100   //
101   // createMemDerefPrinter - This pass collects memory dereferenceability
102   // information and prints it with -analyze.
103   //
104   FunctionPass *createMemDerefPrinter();
105
106 }
107
108 #endif