1 ; RUN: opt -mtriple=x86_64-- -Os -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: Optimization Remark Emitter
79 ; CHECK-NEXT: Tail Call Elimination
80 ; CHECK-NEXT: Simplify the CFG
81 ; CHECK-NEXT: Reassociate expressions
82 ; CHECK-NEXT: Dominator Tree Construction
83 ; CHECK-NEXT: Natural Loop Information
84 ; CHECK-NEXT: Canonicalize natural loops
85 ; CHECK-NEXT: LCSSA Verifier
86 ; CHECK-NEXT: Loop-Closed SSA Form Pass
87 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
88 ; CHECK-NEXT: Function Alias Analysis Results
89 ; CHECK-NEXT: Scalar Evolution Analysis
90 ; CHECK-NEXT: Loop Pass Manager
91 ; CHECK-NEXT: Rotate Loops
92 ; CHECK-NEXT: Loop Invariant Code Motion
93 ; CHECK-NEXT: Unswitch loops
94 ; CHECK-NEXT: Simplify the CFG
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: Natural Loop Information
99 ; CHECK-NEXT: Lazy Branch Probability Analysis
100 ; CHECK-NEXT: Lazy Block Frequency Analysis
101 ; CHECK-NEXT: Optimization Remark Emitter
102 ; CHECK-NEXT: Combine redundant instructions
103 ; CHECK-NEXT: Canonicalize natural loops
104 ; CHECK-NEXT: LCSSA Verifier
105 ; CHECK-NEXT: Loop-Closed SSA Form Pass
106 ; CHECK-NEXT: Scalar Evolution Analysis
107 ; CHECK-NEXT: Loop Pass Manager
108 ; CHECK-NEXT: Induction Variable Simplification
109 ; CHECK-NEXT: Recognize loop idioms
110 ; CHECK-NEXT: Delete dead loops
111 ; CHECK-NEXT: Unroll loops
112 ; CHECK-NEXT: MergedLoadStoreMotion
113 ; CHECK-NEXT: Phi Values Analysis
114 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
115 ; CHECK-NEXT: Function Alias Analysis Results
116 ; CHECK-NEXT: Memory Dependence Analysis
117 ; CHECK-NEXT: Lazy Branch Probability Analysis
118 ; CHECK-NEXT: Lazy Block Frequency Analysis
119 ; CHECK-NEXT: Optimization Remark Emitter
120 ; CHECK-NEXT: Global Value Numbering
121 ; CHECK-NEXT: Phi Values Analysis
122 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
123 ; CHECK-NEXT: Function Alias Analysis Results
124 ; CHECK-NEXT: Memory Dependence Analysis
125 ; CHECK-NEXT: MemCpy Optimization
126 ; CHECK-NEXT: Sparse Conditional Constant Propagation
127 ; CHECK-NEXT: Demanded bits analysis
128 ; CHECK-NEXT: Bit-Tracking Dead Code Elimination
129 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
130 ; CHECK-NEXT: Function Alias Analysis Results
131 ; CHECK-NEXT: Natural Loop Information
132 ; CHECK-NEXT: Lazy Branch Probability Analysis
133 ; CHECK-NEXT: Lazy Block Frequency Analysis
134 ; CHECK-NEXT: Optimization Remark Emitter
135 ; CHECK-NEXT: Combine redundant instructions
136 ; CHECK-NEXT: Lazy Value Information Analysis
137 ; CHECK-NEXT: Jump Threading
138 ; CHECK-NEXT: Value Propagation
139 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
140 ; CHECK-NEXT: Function Alias Analysis Results
141 ; CHECK-NEXT: Phi Values Analysis
142 ; CHECK-NEXT: Memory Dependence Analysis
143 ; CHECK-NEXT: Dead Store Elimination
144 ; CHECK-NEXT: Natural Loop Information
145 ; CHECK-NEXT: Canonicalize natural loops
146 ; CHECK-NEXT: LCSSA Verifier
147 ; CHECK-NEXT: Loop-Closed SSA Form Pass
148 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
149 ; CHECK-NEXT: Function Alias Analysis Results
150 ; CHECK-NEXT: Scalar Evolution Analysis
151 ; CHECK-NEXT: Loop Pass Manager
152 ; CHECK-NEXT: Loop Invariant Code Motion
153 ; CHECK-NEXT: Post-Dominator Tree Construction
154 ; CHECK-NEXT: Aggressive Dead Code Elimination
155 ; CHECK-NEXT: Simplify the CFG
156 ; CHECK-NEXT: Dominator Tree Construction
157 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
158 ; CHECK-NEXT: Function Alias Analysis Results
159 ; CHECK-NEXT: Natural Loop Information
160 ; CHECK-NEXT: Lazy Branch Probability Analysis
161 ; CHECK-NEXT: Lazy Block Frequency Analysis
162 ; CHECK-NEXT: Optimization Remark Emitter
163 ; CHECK-NEXT: Combine redundant instructions
164 ; CHECK-NEXT: A No-Op Barrier Pass
165 ; CHECK-NEXT: Eliminate Available Externally Globals
166 ; CHECK-NEXT: CallGraph Construction
167 ; CHECK-NEXT: Deduce function attributes in RPO
168 ; CHECK-NEXT: Global Variable Optimizer
169 ; CHECK-NEXT: Unnamed pass: implement Pass::getPassName()
170 ; CHECK-NEXT: Dead Global Elimination
171 ; CHECK-NEXT: CallGraph Construction
172 ; CHECK-NEXT: Globals Alias Analysis
173 ; CHECK-NEXT: FunctionPass Manager
174 ; CHECK-NEXT: Float to int
175 ; CHECK-NEXT: Dominator Tree Construction
176 ; CHECK-NEXT: Natural Loop Information
177 ; CHECK-NEXT: Canonicalize natural loops
178 ; CHECK-NEXT: LCSSA Verifier
179 ; CHECK-NEXT: Loop-Closed SSA Form Pass
180 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
181 ; CHECK-NEXT: Function Alias Analysis Results
182 ; CHECK-NEXT: Scalar Evolution Analysis
183 ; CHECK-NEXT: Loop Pass Manager
184 ; CHECK-NEXT: Rotate Loops
185 ; CHECK-NEXT: Loop Access Analysis
186 ; CHECK-NEXT: Lazy Branch Probability Analysis
187 ; CHECK-NEXT: Lazy Block Frequency Analysis
188 ; CHECK-NEXT: Optimization Remark Emitter
189 ; CHECK-NEXT: Loop Distribution
190 ; CHECK-NEXT: Branch Probability Analysis
191 ; CHECK-NEXT: Block Frequency Analysis
192 ; CHECK-NEXT: Scalar Evolution Analysis
193 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
194 ; CHECK-NEXT: Function Alias Analysis Results
195 ; CHECK-NEXT: Loop Access Analysis
196 ; CHECK-NEXT: Demanded bits analysis
197 ; CHECK-NEXT: Lazy Branch Probability Analysis
198 ; CHECK-NEXT: Lazy Block Frequency Analysis
199 ; CHECK-NEXT: Optimization Remark Emitter
200 ; CHECK-NEXT: Loop Vectorization
201 ; CHECK-NEXT: Canonicalize natural loops
202 ; CHECK-NEXT: Scalar Evolution Analysis
203 ; CHECK-NEXT: Function Alias Analysis Results
204 ; CHECK-NEXT: Loop Access Analysis
205 ; CHECK-NEXT: Lazy Branch Probability Analysis
206 ; CHECK-NEXT: Lazy Block Frequency Analysis
207 ; CHECK-NEXT: Loop Load Elimination
208 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
209 ; CHECK-NEXT: Function Alias Analysis Results
210 ; CHECK-NEXT: Lazy Branch Probability Analysis
211 ; CHECK-NEXT: Lazy Block Frequency Analysis
212 ; CHECK-NEXT: Optimization Remark Emitter
213 ; CHECK-NEXT: Combine redundant instructions
214 ; CHECK-NEXT: Simplify the CFG
215 ; CHECK-NEXT: Dominator Tree Construction
216 ; CHECK-NEXT: Natural Loop Information
217 ; CHECK-NEXT: Scalar Evolution Analysis
218 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
219 ; CHECK-NEXT: Function Alias Analysis Results
220 ; CHECK-NEXT: Demanded bits analysis
221 ; CHECK-NEXT: Lazy Branch Probability Analysis
222 ; CHECK-NEXT: Lazy Block Frequency Analysis
223 ; CHECK-NEXT: Optimization Remark Emitter
224 ; CHECK-NEXT: SLP Vectorizer
225 ; CHECK-NEXT: Optimization Remark Emitter
226 ; CHECK-NEXT: Combine redundant instructions
227 ; CHECK-NEXT: Canonicalize natural loops
228 ; CHECK-NEXT: LCSSA Verifier
229 ; CHECK-NEXT: Loop-Closed SSA Form Pass
230 ; CHECK-NEXT: Scalar Evolution Analysis
231 ; CHECK-NEXT: Loop Pass Manager
232 ; CHECK-NEXT: Unroll loops
233 ; CHECK-NEXT: Lazy Branch Probability Analysis
234 ; CHECK-NEXT: Lazy Block Frequency Analysis
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: Loop Invariant Code Motion
243 ; CHECK-NEXT: Lazy Branch Probability Analysis
244 ; CHECK-NEXT: Lazy Block Frequency Analysis
245 ; CHECK-NEXT: Optimization Remark Emitter
246 ; CHECK-NEXT: Warn about non-applied transformations
247 ; CHECK-NEXT: Alignment from assumptions
248 ; CHECK-NEXT: Strip Unused Function Prototypes
249 ; CHECK-NEXT: Dead Global Elimination
250 ; CHECK-NEXT: Merge Duplicate Global Constants
251 ; CHECK-NEXT: FunctionPass Manager
252 ; CHECK-NEXT: Dominator Tree Construction
253 ; CHECK-NEXT: Natural Loop Information
254 ; CHECK-NEXT: Branch Probability Analysis
255 ; CHECK-NEXT: Block Frequency Analysis
256 ; CHECK-NEXT: Canonicalize natural loops
257 ; CHECK-NEXT: LCSSA Verifier
258 ; CHECK-NEXT: Loop-Closed SSA Form Pass
259 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
260 ; CHECK-NEXT: Function Alias Analysis Results
261 ; CHECK-NEXT: Scalar Evolution Analysis
262 ; CHECK-NEXT: Block Frequency Analysis
263 ; CHECK-NEXT: Loop Pass Manager
264 ; CHECK-NEXT: Loop Sink
265 ; CHECK-NEXT: Lazy Branch Probability Analysis
266 ; CHECK-NEXT: Lazy Block Frequency Analysis
267 ; CHECK-NEXT: Optimization Remark Emitter
268 ; CHECK-NEXT: Remove redundant instructions
269 ; CHECK-NEXT: Hoist/decompose integer division and remainder
270 ; CHECK-NEXT: Simplify the CFG
271 ; CHECK-NEXT: Module Verifier
272 ; CHECK-NEXT: Bitcode Writer
273 ; CHECK-NEXT: Pass Arguments:
274 ; CHECK-NEXT: FunctionPass Manager
275 ; CHECK-NEXT: Dominator Tree Construction
276 ; CHECK-NEXT: Pass Arguments:
277 ; CHECK-NEXT: Target Library Information
278 ; CHECK-NEXT: FunctionPass Manager
279 ; CHECK-NEXT: Dominator Tree Construction
280 ; CHECK-NEXT: Natural Loop Information
281 ; CHECK-NEXT: Branch Probability Analysis
282 ; CHECK-NEXT: Block Frequency Analysis
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