1 ; RUN: opt -mtriple=x86_64-- -O2 -debug-pass=Structure < %s -o /dev/null 2>&1 | FileCheck %s
5 ; CHECK-LABEL: Pass Arguments:
6 ; CHECK-NEXT: Target Transform Information
7 ; CHECK-NEXT: Type-Based Alias Analysis
8 ; CHECK-NEXT: Scoped NoAlias Alias Analysis
9 ; CHECK-NEXT: Assumption Cache Tracker
10 ; CHECK-NEXT: Target Library Information
11 ; CHECK-NEXT: FunctionPass Manager
12 ; CHECK-NEXT: Module Verifier
13 ; CHECK-NEXT: Instrument function entry/exit with calls to e.g. mcount() (pre inlining)
14 ; CHECK-NEXT: Simplify the CFG
15 ; CHECK-NEXT: Dominator Tree Construction
17 ; CHECK-NEXT: Early CSE
18 ; CHECK-NEXT: Lower 'expect' Intrinsics
19 ; CHECK-NEXT: Pass Arguments:
20 ; CHECK-NEXT: Target Library Information
21 ; CHECK-NEXT: Target Transform Information
22 ; Target Pass Configuration
23 ; CHECK: Type-Based Alias Analysis
24 ; CHECK-NEXT: Scoped NoAlias Alias Analysis
25 ; CHECK-NEXT: Assumption Cache Tracker
26 ; CHECK-NEXT: Profile summary info
27 ; CHECK-NEXT: ModulePass Manager
28 ; CHECK-NEXT: Force set function attributes
29 ; CHECK-NEXT: Infer set function attributes
30 ; CHECK-NEXT: Interprocedural Sparse Conditional Constant Propagation
31 ; CHECK-NEXT: Unnamed pass: implement Pass::getPassName()
32 ; CHECK-NEXT: Called Value Propagation
33 ; CHECK-NEXT: Deduce and propagate attributes
34 ; CHECK-NEXT: Global Variable Optimizer
35 ; CHECK-NEXT: Unnamed pass: implement Pass::getPassName()
36 ; CHECK-NEXT: FunctionPass Manager
37 ; CHECK-NEXT: Dominator Tree Construction
38 ; CHECK-NEXT: Promote Memory to Register
39 ; CHECK-NEXT: Dead Argument Elimination
40 ; CHECK-NEXT: FunctionPass Manager
41 ; CHECK-NEXT: Dominator Tree Construction
42 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
43 ; CHECK-NEXT: Function Alias Analysis Results
44 ; CHECK-NEXT: Natural Loop Information
45 ; CHECK-NEXT: Lazy Branch Probability Analysis
46 ; CHECK-NEXT: Lazy Block Frequency Analysis
47 ; CHECK-NEXT: Optimization Remark Emitter
48 ; CHECK-NEXT: Combine redundant instructions
49 ; CHECK-NEXT: Simplify the CFG
50 ; CHECK-NEXT: CallGraph Construction
51 ; CHECK-NEXT: Globals Alias Analysis
52 ; CHECK-NEXT: Call Graph SCC Pass Manager
53 ; CHECK-NEXT: Remove unused exception handling info
54 ; CHECK-NEXT: Function Integration/Inlining
55 ; CHECK-NEXT: Deduce function attributes
56 ; CHECK-NEXT: FunctionPass Manager
57 ; CHECK-NEXT: Dominator Tree Construction
59 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
60 ; CHECK-NEXT: Function Alias Analysis Results
61 ; CHECK-NEXT: Memory SSA
62 ; CHECK-NEXT: Early CSE w/ MemorySSA
63 ; CHECK-NEXT: Speculatively execute instructions if target has divergent branches
64 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
65 ; CHECK-NEXT: Function Alias Analysis Results
66 ; CHECK-NEXT: Lazy Value Information Analysis
67 ; CHECK-NEXT: Jump Threading
68 ; CHECK-NEXT: Value Propagation
69 ; CHECK-NEXT: Simplify the CFG
70 ; CHECK-NEXT: Dominator Tree Construction
71 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
72 ; CHECK-NEXT: Function Alias Analysis Results
73 ; CHECK-NEXT: Natural Loop Information
74 ; CHECK-NEXT: Lazy Branch Probability Analysis
75 ; CHECK-NEXT: Lazy Block Frequency Analysis
76 ; CHECK-NEXT: Optimization Remark Emitter
77 ; CHECK-NEXT: Combine redundant instructions
78 ; CHECK-NEXT: Conditionally eliminate dead library calls
79 ; CHECK-NEXT: Natural Loop Information
80 ; CHECK-NEXT: Branch Probability Analysis
81 ; CHECK-NEXT: Block Frequency Analysis
82 ; CHECK-NEXT: Lazy Branch Probability Analysis
83 ; CHECK-NEXT: Lazy Block Frequency Analysis
84 ; CHECK-NEXT: Optimization Remark Emitter
85 ; CHECK-NEXT: PGOMemOPSize
86 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
87 ; CHECK-NEXT: Function Alias Analysis Results
88 ; CHECK-NEXT: Natural Loop Information
89 ; CHECK-NEXT: Lazy Branch Probability Analysis
90 ; CHECK-NEXT: Lazy Block Frequency Analysis
91 ; CHECK-NEXT: Optimization Remark Emitter
92 ; CHECK-NEXT: Tail Call Elimination
93 ; CHECK-NEXT: Simplify the CFG
94 ; CHECK-NEXT: Reassociate expressions
95 ; CHECK-NEXT: Dominator Tree Construction
96 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
97 ; CHECK-NEXT: Function Alias Analysis Results
98 ; CHECK-NEXT: Memory SSA
99 ; CHECK-NEXT: Natural Loop Information
100 ; CHECK-NEXT: Canonicalize natural loops
101 ; CHECK-NEXT: LCSSA Verifier
102 ; CHECK-NEXT: Loop-Closed SSA Form Pass
103 ; CHECK-NEXT: Scalar Evolution Analysis
104 ; CHECK-NEXT: Loop Pass Manager
105 ; CHECK-NEXT: Rotate Loops
106 ; CHECK-NEXT: Loop Invariant Code Motion
107 ; CHECK-NEXT: Unswitch loops
108 ; CHECK-NEXT: Simplify the CFG
109 ; CHECK-NEXT: Dominator Tree Construction
110 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
111 ; CHECK-NEXT: Function Alias Analysis Results
112 ; CHECK-NEXT: Natural Loop Information
113 ; CHECK-NEXT: Lazy Branch Probability Analysis
114 ; CHECK-NEXT: Lazy Block Frequency Analysis
115 ; CHECK-NEXT: Optimization Remark Emitter
116 ; CHECK-NEXT: Combine redundant instructions
117 ; CHECK-NEXT: Canonicalize natural loops
118 ; CHECK-NEXT: LCSSA Verifier
119 ; CHECK-NEXT: Loop-Closed SSA Form Pass
120 ; CHECK-NEXT: Scalar Evolution Analysis
121 ; CHECK-NEXT: Loop Pass Manager
122 ; CHECK-NEXT: Induction Variable Simplification
123 ; CHECK-NEXT: Recognize loop idioms
124 ; CHECK-NEXT: Delete dead loops
125 ; CHECK-NEXT: Unroll loops
126 ; CHECK-NEXT: MergedLoadStoreMotion
127 ; CHECK-NEXT: Phi Values Analysis
128 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
129 ; CHECK-NEXT: Function Alias Analysis Results
130 ; CHECK-NEXT: Memory Dependence Analysis
131 ; CHECK-NEXT: Lazy Branch Probability Analysis
132 ; CHECK-NEXT: Lazy Block Frequency Analysis
133 ; CHECK-NEXT: Optimization Remark Emitter
134 ; CHECK-NEXT: Global Value Numbering
135 ; CHECK-NEXT: Phi Values Analysis
136 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
137 ; CHECK-NEXT: Function Alias Analysis Results
138 ; CHECK-NEXT: Memory Dependence Analysis
139 ; CHECK-NEXT: MemCpy Optimization
140 ; CHECK-NEXT: Sparse Conditional Constant Propagation
141 ; CHECK-NEXT: Demanded bits analysis
142 ; CHECK-NEXT: Bit-Tracking Dead Code Elimination
143 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
144 ; CHECK-NEXT: Function Alias Analysis Results
145 ; CHECK-NEXT: Lazy Branch Probability Analysis
146 ; CHECK-NEXT: Lazy Block Frequency Analysis
147 ; CHECK-NEXT: Optimization Remark Emitter
148 ; CHECK-NEXT: Combine redundant instructions
149 ; CHECK-NEXT: Lazy Value Information Analysis
150 ; CHECK-NEXT: Jump Threading
151 ; CHECK-NEXT: Value Propagation
152 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
153 ; CHECK-NEXT: Function Alias Analysis Results
154 ; CHECK-NEXT: Phi Values Analysis
155 ; CHECK-NEXT: Memory Dependence Analysis
156 ; CHECK-NEXT: Dead Store Elimination
157 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
158 ; CHECK-NEXT: Function Alias Analysis Results
159 ; CHECK-NEXT: Memory SSA
160 ; CHECK-NEXT: Natural Loop Information
161 ; CHECK-NEXT: Canonicalize natural loops
162 ; CHECK-NEXT: LCSSA Verifier
163 ; CHECK-NEXT: Loop-Closed SSA Form Pass
164 ; CHECK-NEXT: Scalar Evolution Analysis
165 ; CHECK-NEXT: Loop Pass Manager
166 ; CHECK-NEXT: Loop Invariant Code Motion
167 ; CHECK-NEXT: Post-Dominator Tree Construction
168 ; CHECK-NEXT: Aggressive Dead Code Elimination
169 ; CHECK-NEXT: Simplify the CFG
170 ; CHECK-NEXT: Dominator Tree Construction
171 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
172 ; CHECK-NEXT: Function Alias Analysis Results
173 ; CHECK-NEXT: Natural Loop Information
174 ; CHECK-NEXT: Lazy Branch Probability Analysis
175 ; CHECK-NEXT: Lazy Block Frequency Analysis
176 ; CHECK-NEXT: Optimization Remark Emitter
177 ; CHECK-NEXT: Combine redundant instructions
178 ; CHECK-NEXT: A No-Op Barrier Pass
179 ; CHECK-NEXT: Eliminate Available Externally Globals
180 ; CHECK-NEXT: CallGraph Construction
181 ; CHECK-NEXT: Deduce function attributes in RPO
182 ; CHECK-NEXT: Global Variable Optimizer
183 ; CHECK-NEXT: Unnamed pass: implement Pass::getPassName()
184 ; CHECK-NEXT: Dead Global Elimination
185 ; CHECK-NEXT: CallGraph Construction
186 ; CHECK-NEXT: Globals Alias Analysis
187 ; CHECK-NEXT: FunctionPass Manager
188 ; CHECK-NEXT: Float to int
189 ; CHECK-NEXT: Dominator Tree Construction
190 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
191 ; CHECK-NEXT: Function Alias Analysis Results
192 ; CHECK-NEXT: Memory SSA
193 ; CHECK-NEXT: Natural Loop Information
194 ; CHECK-NEXT: Canonicalize natural loops
195 ; CHECK-NEXT: LCSSA Verifier
196 ; CHECK-NEXT: Loop-Closed SSA Form Pass
197 ; CHECK-NEXT: Scalar Evolution Analysis
198 ; CHECK-NEXT: Loop Pass Manager
199 ; CHECK-NEXT: Rotate Loops
200 ; CHECK-NEXT: Loop Access Analysis
201 ; CHECK-NEXT: Lazy Branch Probability Analysis
202 ; CHECK-NEXT: Lazy Block Frequency Analysis
203 ; CHECK-NEXT: Optimization Remark Emitter
204 ; CHECK-NEXT: Loop Distribution
205 ; CHECK-NEXT: Branch Probability Analysis
206 ; CHECK-NEXT: Block Frequency Analysis
207 ; CHECK-NEXT: Scalar Evolution Analysis
208 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
209 ; CHECK-NEXT: Function Alias Analysis Results
210 ; CHECK-NEXT: Loop Access Analysis
211 ; CHECK-NEXT: Demanded bits analysis
212 ; CHECK-NEXT: Lazy Branch Probability Analysis
213 ; CHECK-NEXT: Lazy Block Frequency Analysis
214 ; CHECK-NEXT: Optimization Remark Emitter
215 ; CHECK-NEXT: Loop Vectorization
216 ; CHECK-NEXT: Canonicalize natural loops
217 ; CHECK-NEXT: Scalar Evolution Analysis
218 ; CHECK-NEXT: Function Alias Analysis Results
219 ; CHECK-NEXT: Loop Access Analysis
220 ; CHECK-NEXT: Lazy Branch Probability Analysis
221 ; CHECK-NEXT: Lazy Block Frequency Analysis
222 ; CHECK-NEXT: Loop Load Elimination
223 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
224 ; CHECK-NEXT: Function Alias Analysis Results
225 ; CHECK-NEXT: Lazy Branch Probability Analysis
226 ; CHECK-NEXT: Lazy Block Frequency Analysis
227 ; CHECK-NEXT: Optimization Remark Emitter
228 ; CHECK-NEXT: Combine redundant instructions
229 ; CHECK-NEXT: Simplify the CFG
230 ; CHECK-NEXT: Dominator Tree Construction
231 ; CHECK-NEXT: Natural Loop Information
232 ; CHECK-NEXT: Scalar Evolution Analysis
233 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
234 ; CHECK-NEXT: Function Alias Analysis Results
235 ; CHECK-NEXT: Demanded bits analysis
236 ; CHECK-NEXT: Lazy Branch Probability Analysis
237 ; CHECK-NEXT: Lazy Block Frequency Analysis
238 ; CHECK-NEXT: Optimization Remark Emitter
239 ; CHECK-NEXT: SLP Vectorizer
240 ; CHECK-NEXT: Optimization Remark Emitter
241 ; CHECK-NEXT: Combine redundant instructions
242 ; CHECK-NEXT: Canonicalize natural loops
243 ; CHECK-NEXT: LCSSA Verifier
244 ; CHECK-NEXT: Loop-Closed SSA Form Pass
245 ; CHECK-NEXT: Scalar Evolution Analysis
246 ; CHECK-NEXT: Loop Pass Manager
247 ; CHECK-NEXT: Unroll loops
248 ; CHECK-NEXT: Lazy Branch Probability Analysis
249 ; CHECK-NEXT: Lazy Block Frequency Analysis
250 ; CHECK-NEXT: Optimization Remark Emitter
251 ; CHECK-NEXT: Combine redundant instructions
252 ; CHECK-NEXT: Memory SSA
253 ; CHECK-NEXT: Canonicalize natural loops
254 ; CHECK-NEXT: LCSSA Verifier
255 ; CHECK-NEXT: Loop-Closed SSA Form Pass
256 ; CHECK-NEXT: Scalar Evolution Analysis
257 ; CHECK-NEXT: Loop Pass Manager
258 ; CHECK-NEXT: Loop Invariant Code Motion
259 ; CHECK-NEXT: Lazy Branch Probability Analysis
260 ; CHECK-NEXT: Lazy Block Frequency Analysis
261 ; CHECK-NEXT: Optimization Remark Emitter
262 ; CHECK-NEXT: Warn about non-applied transformations
263 ; CHECK-NEXT: Alignment from assumptions
264 ; CHECK-NEXT: Strip Unused Function Prototypes
265 ; CHECK-NEXT: Dead Global Elimination
266 ; CHECK-NEXT: Merge Duplicate Global Constants
267 ; CHECK-NEXT: FunctionPass Manager
268 ; CHECK-NEXT: Dominator Tree Construction
269 ; CHECK-NEXT: Natural Loop Information
270 ; CHECK-NEXT: Branch Probability Analysis
271 ; CHECK-NEXT: Block Frequency Analysis
272 ; CHECK-NEXT: Canonicalize natural loops
273 ; CHECK-NEXT: LCSSA Verifier
274 ; CHECK-NEXT: Loop-Closed SSA Form Pass
275 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
276 ; CHECK-NEXT: Function Alias Analysis Results
277 ; CHECK-NEXT: Scalar Evolution Analysis
278 ; CHECK-NEXT: Block Frequency Analysis
279 ; CHECK-NEXT: Loop Pass Manager
280 ; CHECK-NEXT: Loop Sink
281 ; CHECK-NEXT: Lazy Branch Probability Analysis
282 ; CHECK-NEXT: Lazy Block Frequency Analysis
283 ; CHECK-NEXT: Optimization Remark Emitter
284 ; CHECK-NEXT: Remove redundant instructions
285 ; CHECK-NEXT: Hoist/decompose integer division and remainder
286 ; CHECK-NEXT: Simplify the CFG
287 ; CHECK-NEXT: Module Verifier
288 ; CHECK-NEXT: Bitcode Writer
289 ; CHECK-NEXT: Pass Arguments:
290 ; CHECK-NEXT: FunctionPass Manager
291 ; CHECK-NEXT: Dominator Tree Construction
292 ; CHECK-NEXT: Pass Arguments:
293 ; CHECK-NEXT: Target Library Information
294 ; CHECK-NEXT: FunctionPass Manager
295 ; CHECK-NEXT: Dominator Tree Construction
296 ; CHECK-NEXT: Natural Loop Information
297 ; CHECK-NEXT: Branch Probability Analysis
298 ; CHECK-NEXT: Block Frequency Analysis
299 ; CHECK-NEXT: Pass Arguments:
300 ; CHECK-NEXT: Target Library Information
301 ; CHECK-NEXT: FunctionPass Manager
302 ; CHECK-NEXT: Dominator Tree Construction
303 ; CHECK-NEXT: Natural Loop Information
304 ; CHECK-NEXT: Branch Probability Analysis
305 ; CHECK-NEXT: Block Frequency Analysis