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