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