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