Lines Matching refs:pass
2 ; new pass manager pipeline. It will be used to flesh out the feature
3 ; completeness of the opt tool when the new pass manager is engaged. The tests
8 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
11 ; CHECK-MODULE-PASS: Starting llvm::Module pass manager run
12 ; CHECK-MODULE-PASS-NEXT: Running pass: NoOpModulePass
13 ; CHECK-MODULE-PASS-NEXT: Finished llvm::Module pass manager run
15 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
18 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
21 ; CHECK-CGSCC-PASS: Starting llvm::Module pass manager run
22 ; CHECK-CGSCC-PASS-NEXT: Running pass: ModuleToPostOrderCGSCCPassAdaptor
25 ; CHECK-CGSCC-PASS-NEXT: Running an SCC pass across the RefSCC: [(foo)]
26 ; CHECK-CGSCC-PASS-NEXT: Starting llvm::LazyCallGraph::SCC pass manager run
27 ; CHECK-CGSCC-PASS-NEXT: Running pass: NoOpCGSCCPass
28 ; CHECK-CGSCC-PASS-NEXT: Finished llvm::LazyCallGraph::SCC pass manager run
29 ; CHECK-CGSCC-PASS-NEXT: Finished llvm::Module pass manager run
31 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
34 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
37 ; CHECK-FUNCTION-PASS: Starting llvm::Module pass manager run
38 ; CHECK-FUNCTION-PASS-NEXT: Running pass: ModuleToFunctionPassAdaptor
40 ; CHECK-FUNCTION-PASS-NEXT: Starting llvm::Function pass manager run
41 ; CHECK-FUNCTION-PASS-NEXT: Running pass: NoOpFunctionPass
42 ; CHECK-FUNCTION-PASS-NEXT: Finished llvm::Function pass manager run
43 ; CHECK-FUNCTION-PASS-NEXT: Finished llvm::Module pass manager run
45 ; RUN: opt -disable-output -debug-pass-manager -passes=print %s 2>&1 \
47 ; CHECK-MODULE-PRINT: Starting llvm::Module pass manager run
48 ; CHECK-MODULE-PRINT: Running pass: VerifierPass
49 ; CHECK-MODULE-PRINT: Running pass: PrintModulePass
52 ; CHECK-MODULE-PRINT: Running pass: VerifierPass
53 ; CHECK-MODULE-PRINT: Finished llvm::Module pass manager run
55 ; RUN: opt -disable-output -debug-pass-manager -disable-verify -passes='print,verify' %s 2>&1 \
57 ; CHECK-MODULE-VERIFY: Starting llvm::Module pass manager run
58 ; CHECK-MODULE-VERIFY: Running pass: PrintModulePass
61 ; CHECK-MODULE-VERIFY: Running pass: VerifierPass
62 ; CHECK-MODULE-VERIFY: Finished llvm::Module pass manager run
64 ; RUN: opt -disable-output -debug-pass-manager -passes='function(print)' %s 2>&1 \
66 ; CHECK-FUNCTION-PRINT: Starting llvm::Module pass manager run
67 ; CHECK-FUNCTION-PRINT: Running pass: VerifierPass
68 ; CHECK-FUNCTION-PRINT: Running pass: ModuleToFunctionPassAdaptor
70 ; CHECK-FUNCTION-PRINT: Starting llvm::Function pass manager run
71 ; CHECK-FUNCTION-PRINT: Running pass: PrintFunctionPass
74 ; CHECK-FUNCTION-PRINT: Finished llvm::Function pass manager run
75 ; CHECK-FUNCTION-PRINT: Running pass: VerifierPass
76 ; CHECK-FUNCTION-PRINT: Finished llvm::Module pass manager run
78 ; RUN: opt -disable-output -debug-pass-manager -disable-verify -passes='function(print,verify)' %s …
80 ; CHECK-FUNCTION-VERIFY: Starting llvm::Module pass manager run
81 ; CHECK-FUNCTION-VERIFY: Starting llvm::Function pass manager run
82 ; CHECK-FUNCTION-VERIFY: Running pass: PrintFunctionPass
85 ; CHECK-FUNCTION-VERIFY: Running pass: VerifierPass
86 ; CHECK-FUNCTION-VERIFY: Finished llvm::Function pass manager run
87 ; CHECK-FUNCTION-VERIFY: Finished llvm::Module pass manager run
100 ; RUN: opt -disable-output -debug-pass-manager -verify-each -passes='no-op-module,function(no-op-fu…
102 ; CHECK-VERIFY-EACH: Starting llvm::Module pass manager run
103 ; CHECK-VERIFY-EACH: Running pass: VerifierPass
104 ; CHECK-VERIFY-EACH: Running pass: NoOpModulePass
105 ; CHECK-VERIFY-EACH: Running pass: VerifierPass
106 ; CHECK-VERIFY-EACH: Starting llvm::Function pass manager run
107 ; CHECK-VERIFY-EACH: Running pass: NoOpFunctionPass
108 ; CHECK-VERIFY-EACH: Running pass: VerifierPass
109 ; CHECK-VERIFY-EACH: Finished llvm::Function pass manager run
110 ; CHECK-VERIFY-EACH: Running pass: VerifierPass
111 ; CHECK-VERIFY-EACH: Finished llvm::Module pass manager run
113 ; RUN: opt -disable-output -debug-pass-manager -disable-verify -passes='no-op-module,function(no-op…
115 ; CHECK-NO-VERIFY: Starting llvm::Module pass manager run
117 ; CHECK-NO-VERIFY: Running pass: NoOpModulePass
119 ; CHECK-NO-VERIFY: Starting llvm::Function pass manager run
120 ; CHECK-NO-VERIFY: Running pass: NoOpFunctionPass
122 ; CHECK-NO-VERIFY: Finished llvm::Function pass manager run
124 ; CHECK-NO-VERIFY: Finished llvm::Module pass manager run
126 ; RUN: opt -disable-output -debug-pass-manager \
129 ; CHECK-ANALYSES: Starting llvm::Module pass manager run
130 ; CHECK-ANALYSES: Running pass: RequireAnalysisPass
132 ; CHECK-ANALYSES: Starting llvm::LazyCallGraph::SCC pass manager run
133 ; CHECK-ANALYSES: Running pass: RequireAnalysisPass
135 ; CHECK-ANALYSES: Starting llvm::Function pass manager run
136 ; CHECK-ANALYSES: Running pass: RequireAnalysisPass
141 ; RUN: opt -disable-output -debug-pass-manager \
144 ; CHECK-NO-OP-INVALIDATION: Starting llvm::Module pass manager run
147 ; RUN: opt -disable-output -debug-pass-manager \
150 ; CHECK-DO-CACHE-MODULE-ANALYSIS-RESULTS: Starting llvm::Module pass manager run
151 ; CHECK-DO-CACHE-MODULE-ANALYSIS-RESULTS: Running pass: RequireAnalysisPass
155 ; RUN: opt -disable-output -debug-pass-manager \
158 ; CHECK-DO-INVALIDATE-MODULE-ANALYSIS-RESULTS: Starting llvm::Module pass manager run
159 ; CHECK-DO-INVALIDATE-MODULE-ANALYSIS-RESULTS: Running pass: RequireAnalysisPass
164 ; RUN: opt -disable-output -debug-pass-manager \
167 ; CHECK-DO-CACHE-CGSCC-ANALYSIS-RESULTS: Starting llvm::Module pass manager run
168 ; CHECK-DO-CACHE-CGSCC-ANALYSIS-RESULTS: Running pass: RequireAnalysisPass
172 ; RUN: opt -disable-output -debug-pass-manager \
175 ; CHECK-DO-INVALIDATE-CGSCC-ANALYSIS-RESULTS: Starting llvm::Module pass manager run
176 ; CHECK-DO-INVALIDATE-CGSCC-ANALYSIS-RESULTS: Running pass: RequireAnalysisPass
181 ; RUN: opt -disable-output -debug-pass-manager \
184 ; CHECK-DO-CACHE-FUNCTION-ANALYSIS-RESULTS: Starting llvm::Module pass manager run
185 ; CHECK-DO-CACHE-FUNCTION-ANALYSIS-RESULTS: Running pass: RequireAnalysisPass
189 ; RUN: opt -disable-output -debug-pass-manager \
192 ; CHECK-DO-INVALIDATE-FUNCTION-ANALYSIS-RESULTS: Starting llvm::Module pass manager run
193 ; CHECK-DO-INVALIDATE-FUNCTION-ANALYSIS-RESULTS: Running pass: RequireAnalysisPass
198 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
201 ; CHECK-INVALIDATE-ALL: Starting llvm::Module pass manager run
202 ; CHECK-INVALIDATE-ALL: Running pass: RequireAnalysisPass
204 ; CHECK-INVALIDATE-ALL: Starting llvm::Module pass manager run
205 ; CHECK-INVALIDATE-ALL: Running pass: RequireAnalysisPass
207 ; CHECK-INVALIDATE-ALL: Starting llvm::Function pass manager run
208 ; CHECK-INVALIDATE-ALL: Running pass: RequireAnalysisPass
210 ; CHECK-INVALIDATE-ALL: Running pass: InvalidateAllAnalysesPass
213 ; CHECK-INVALIDATE-ALL: Running pass: RequireAnalysisPass
215 ; CHECK-INVALIDATE-ALL: Finished llvm::Function pass manager run
220 ; CHECK-INVALIDATE-ALL: Running pass: RequireAnalysisPass
222 ; CHECK-INVALIDATE-ALL: Finished llvm::Module pass manager run
225 ; CHECK-INVALIDATE-ALL: Running pass: RequireAnalysisPass
227 ; CHECK-INVALIDATE-ALL: Finished llvm::Module pass manager run
229 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
232 ; CHECK-INVALIDATE-ALL-CG: Starting llvm::Module pass manager run
233 ; CHECK-INVALIDATE-ALL-CG: Running pass: RequireAnalysisPass
235 ; CHECK-INVALIDATE-ALL-CG: Starting llvm::Module pass manager run
236 ; CHECK-INVALIDATE-ALL-CG: Running pass: RequireAnalysisPass
238 ; CHECK-INVALIDATE-ALL-CG: Starting llvm::LazyCallGraph::SCC pass manager run
239 ; CHECK-INVALIDATE-ALL-CG: Running pass: RequireAnalysisPass
241 ; CHECK-INVALIDATE-ALL-CG: Starting llvm::Function pass manager run
242 ; CHECK-INVALIDATE-ALL-CG: Running pass: RequireAnalysisPass
244 ; CHECK-INVALIDATE-ALL-CG: Running pass: InvalidateAllAnalysesPass
247 ; CHECK-INVALIDATE-ALL-CG: Running pass: RequireAnalysisPass
249 ; CHECK-INVALIDATE-ALL-CG: Finished llvm::Function pass manager run
254 ; CHECK-INVALIDATE-ALL-CG: Running pass: RequireAnalysisPass
256 ; CHECK-INVALIDATE-ALL-CG: Finished llvm::LazyCallGraph::SCC pass manager run
261 ; CHECK-INVALIDATE-ALL-CG: Running pass: RequireAnalysisPass
263 ; CHECK-INVALIDATE-ALL-CG: Finished llvm::Module pass manager run
266 ; CHECK-INVALIDATE-ALL-CG: Running pass: RequireAnalysisPass
268 ; CHECK-INVALIDATE-ALL-CG: Finished llvm::Module pass manager run
270 ; RUN: opt -disable-output -disable-verify -debug-pass-manager %s 2>&1 \
273 ; CHECK-TLI: Starting llvm::Module pass manager run
274 ; CHECK-TLI: Running pass: RequireAnalysisPass
276 ; CHECK-TLI: Running pass: InvalidateAllAnalysesPass
278 ; CHECK-TLI: Running pass: RequireAnalysisPass
280 ; CHECK-TLI: Finished llvm::Module pass manager run
282 ; RUN: opt -disable-output -disable-verify -debug-pass-manager %s 2>&1 \
285 ; CHECK-TIRA: Starting llvm::Module pass manager run
286 ; CHECK-TIRA: Running pass: RequireAnalysisPass
288 ; CHECK-TIRA: Running pass: InvalidateAllAnalysesPass
290 ; CHECK-TIRA: Running pass: RequireAnalysisPass
292 ; CHECK-TIRA: Finished llvm::Module pass manager run
294 ; RUN: opt -disable-output -disable-verify -debug-pass-manager %s 2>&1 \
297 ; CHECK-DT: Starting llvm::Module pass manager run
298 ; CHECK-DT: Running pass: RequireAnalysisPass
300 ; CHECK-DT: Finished llvm::Module pass manager run
302 ; RUN: opt -disable-output -disable-verify -debug-pass-manager %s 2>&1 \
305 ; CHECK-BASIC-AA: Starting llvm::Module pass manager run
306 ; CHECK-BASIC-AA: Running pass: RequireAnalysisPass
308 ; CHECK-BASIC-AA: Finished llvm::Module pass manager run
310 ; RUN: opt -disable-output -disable-verify -debug-pass-manager %s 2>&1 \
313 ; CHECK-AA: Starting llvm::Module pass manager run
314 ; CHECK-AA: Running pass: RequireAnalysisPass
317 ; CHECK-AA: Finished llvm::Module pass manager run
319 ; RUN: opt -disable-output -disable-verify -debug-pass-manager %s 2>&1 \
322 ; CHECK-MEMDEP: Starting llvm::Module pass manager run
323 ; CHECK-MEMDEP: Running pass: RequireAnalysisPass
325 ; CHECK-MEMDEP: Finished llvm::Module pass manager run
327 ; RUN: opt -disable-output -disable-verify -debug-pass-manager %s 2>&1 \
330 ; CHECK-CALLGRAPH: Starting llvm::Module pass manager run
331 ; CHECK-CALLGRAPH: Running pass: RequireAnalysisPass
333 ; CHECK-CALLGRAPH: Finished llvm::Module pass manager run
335 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
338 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
341 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
344 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
347 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
350 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
353 ; CHECK-O2: Starting llvm::Module pass manager run
354 ; CHECK-O2: Running pass: SimplifyCFGPass
355 ; CHECK-O2: Running pass: SROA
356 ; CHECK-O2: Running pass: EarlyCSEPass
357 ; CHECK-O2: Running pass: LowerExpectIntrinsicPass
359 ; RUN: opt -disable-output -disable-verify -debug-pass-manager \
362 ; CHECK-LTO-O2: Starting llvm::Module pass manager run
363 ; CHECK-LTO-O2: Running pass: InstCombinePass
364 ; CHECK-LTO-O2: Running pass: SimplifyCFGPass