1 ; RUN: llc --debugify-and-strip-all-safe=0 -mtriple=powerpc64-- -O3 \
2 ; RUN: -debug-pass=Structure < %s -o /dev/null 2>&1 | \
3 ; RUN: grep -v "Verify generated machine code" | FileCheck %s
6 ; CHECK-LABEL: Pass Arguments:
7 ; CHECK-NEXT: Target Library Information
8 ; CHECK-NEXT: Target Pass Configuration
9 ; CHECK-NEXT: Machine Module Information
10 ; CHECK-NEXT: Target Transform Information
11 ; CHECK-NEXT: Assumption Cache Tracker
12 ; CHECK-NEXT: Type-Based Alias Analysis
13 ; CHECK-NEXT: Scoped NoAlias Alias Analysis
14 ; CHECK-NEXT: Profile summary info
15 ; CHECK-NEXT: Create Garbage Collector Module Metadata
16 ; CHECK-NEXT: Machine Branch Probability Analysis
17 ; CHECK-NEXT: Default Regalloc Eviction Advisor
18 ; CHECK-NEXT: Default Regalloc Priority Advisor
19 ; CHECK-NEXT: ModulePass Manager
20 ; CHECK-NEXT: Pre-ISel Intrinsic Lowering
21 ; CHECK-NEXT: FunctionPass Manager
22 ; CHECK-NEXT: Expand large div/rem
23 ; CHECK-NEXT: Expand large fp convert
24 ; CHECK-NEXT: Convert i1 constants to i32/i64 if they are returned
25 ; CHECK-NEXT: Expand Atomic instructions
26 ; CHECK-NEXT: PPC Lower MASS Entries
27 ; CHECK-NEXT: FunctionPass Manager
28 ; CHECK-NEXT: Dominator Tree Construction
29 ; CHECK-NEXT: Natural Loop Information
30 ; CHECK-NEXT: Split GEPs to a variadic base and a constant offset for better CSE
31 ; CHECK-NEXT: Early CSE
32 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
33 ; CHECK-NEXT: Function Alias Analysis Results
34 ; CHECK-NEXT: Memory SSA
35 ; CHECK-NEXT: Canonicalize natural loops
36 ; CHECK-NEXT: LCSSA Verifier
37 ; CHECK-NEXT: Loop-Closed SSA Form Pass
38 ; CHECK-NEXT: Scalar Evolution Analysis
39 ; CHECK-NEXT: Lazy Branch Probability Analysis
40 ; CHECK-NEXT: Lazy Block Frequency Analysis
41 ; CHECK-NEXT: Loop Pass Manager
42 ; CHECK-NEXT: Loop Invariant Code Motion
43 ; CHECK-NEXT: Module Verifier
44 ; CHECK-NEXT: Loop Pass Manager
45 ; CHECK-NEXT: Canonicalize Freeze Instructions in Loops
46 ; CHECK-NEXT: Induction Variable Users
47 ; CHECK-NEXT: Loop Strength Reduction
48 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
49 ; CHECK-NEXT: Function Alias Analysis Results
50 ; CHECK-NEXT: Merge contiguous icmps into a memcmp
51 ; CHECK-NEXT: Natural Loop Information
52 ; CHECK-NEXT: Lazy Branch Probability Analysis
53 ; CHECK-NEXT: Lazy Block Frequency Analysis
54 ; CHECK-NEXT: Expand memcmp() to load/stores
55 ; CHECK-NEXT: Lower Garbage Collection Instructions
56 ; CHECK-NEXT: Shadow Stack GC Lowering
57 ; CHECK-NEXT: Lower constant intrinsics
58 ; CHECK-NEXT: Remove unreachable blocks from the CFG
59 ; CHECK-NEXT: Natural Loop Information
60 ; CHECK-NEXT: Post-Dominator Tree Construction
61 ; CHECK-NEXT: Branch Probability Analysis
62 ; CHECK-NEXT: Block Frequency Analysis
63 ; CHECK-NEXT: Constant Hoisting
64 ; CHECK-NEXT: Replace intrinsics with calls to vector library
65 ; CHECK-NEXT: Partially inline calls to library functions
66 ; CHECK-NEXT: Expand vector predication intrinsics
67 ; CHECK-NEXT: Instrument function entry/exit with calls to e.g. mcount() (post inlining)
68 ; CHECK-NEXT: Scalarize Masked Memory Intrinsics
69 ; CHECK-NEXT: Expand reduction intrinsics
70 ; CHECK-NEXT: Natural Loop Information
71 ; CHECK-NEXT: TLS Variable Hoist
72 ; CHECK-NEXT: CodeGen Prepare
73 ; CHECK-NEXT: Dominator Tree Construction
74 ; CHECK-NEXT: Exception handling preparation
75 ; CHECK-NEXT: PPC Merge String Pool
76 ; CHECK-NEXT: FunctionPass Manager
77 ; CHECK-NEXT: Dominator Tree Construction
78 ; CHECK-NEXT: Natural Loop Information
79 ; CHECK-NEXT: Scalar Evolution Analysis
80 ; CHECK-NEXT: Prepare loop for ppc preferred instruction forms
81 ; CHECK-NEXT: Scalar Evolution Analysis
82 ; CHECK-NEXT: Lazy Branch Probability Analysis
83 ; CHECK-NEXT: Lazy Block Frequency Analysis
84 ; CHECK-NEXT: Optimization Remark Emitter
85 ; CHECK-NEXT: Hardware Loop Insertion
86 ; CHECK-NEXT: Prepare callbr
87 ; CHECK-NEXT: Safe Stack instrumentation pass
88 ; CHECK-NEXT: Insert stack protectors
89 ; CHECK-NEXT: Module Verifier
90 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
91 ; CHECK-NEXT: Function Alias Analysis Results
92 ; CHECK-NEXT: Natural Loop Information
93 ; CHECK-NEXT: Post-Dominator Tree Construction
94 ; CHECK-NEXT: Branch Probability Analysis
95 ; CHECK-NEXT: Assignment Tracking Analysis
96 ; CHECK-NEXT: Lazy Branch Probability Analysis
97 ; CHECK-NEXT: Lazy Block Frequency Analysis
98 ; CHECK-NEXT: PowerPC DAG->DAG Pattern Instruction Selection
99 ; CHECK-NEXT: MachineDominator Tree Construction
100 ; CHECK-NEXT: PowerPC CTR Loops Verify
101 ; CHECK-NEXT: PowerPC VSX Copy Legalization
102 ; CHECK-NEXT: Finalize ISel and expand pseudo-instructions
103 ; CHECK-NEXT: MachineDominator Tree Construction
104 ; CHECK-NEXT: Machine Natural Loop Construction
105 ; CHECK-NEXT: PowerPC CTR loops generation
106 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis
107 ; CHECK-NEXT: Early Tail Duplication
108 ; CHECK-NEXT: Optimize machine instruction PHIs
109 ; CHECK-NEXT: Slot index numbering
110 ; CHECK-NEXT: Merge disjoint stack slots
111 ; CHECK-NEXT: Local Stack Slot Allocation
112 ; CHECK-NEXT: Remove dead machine instructions
113 ; CHECK-NEXT: MachineDominator Tree Construction
114 ; CHECK-NEXT: Machine Natural Loop Construction
115 ; CHECK-NEXT: Machine Trace Metrics
116 ; CHECK-NEXT: Early If-Conversion
117 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis
118 ; CHECK-NEXT: Machine InstCombiner
119 ; CHECK-NEXT: Machine Block Frequency Analysis
120 ; CHECK-NEXT: Early Machine Loop Invariant Code Motion
121 ; CHECK-NEXT: MachineDominator Tree Construction
122 ; CHECK-NEXT: Machine Block Frequency Analysis
123 ; CHECK-NEXT: Machine Common Subexpression Elimination
124 ; CHECK-NEXT: MachinePostDominator Tree Construction
125 ; CHECK-NEXT: Machine Cycle Info Analysis
126 ; CHECK-NEXT: Machine code sinking
127 ; CHECK-NEXT: Peephole Optimizations
128 ; CHECK-NEXT: Remove dead machine instructions
129 ; CHECK-NEXT: MachineDominator Tree Construction
130 ; CHECK-NEXT: PowerPC Reduce CR logical Operation
131 ; CHECK-NEXT: Remove unreachable machine basic blocks
132 ; CHECK-NEXT: Live Variable Analysis
133 ; CHECK-NEXT: MachineDominator Tree Construction
134 ; CHECK-NEXT: MachinePostDominator Tree Construction
135 ; CHECK-NEXT: Machine Natural Loop Construction
136 ; CHECK-NEXT: Machine Block Frequency Analysis
137 ; CHECK-NEXT: PowerPC MI Peephole Optimization
138 ; CHECK-NEXT: Remove dead machine instructions
139 ; CHECK-NEXT: Remove unreachable machine basic blocks
140 ; CHECK-NEXT: Live Variable Analysis
141 ; CHECK-NEXT: Slot index numbering
142 ; CHECK-NEXT: Live Interval Analysis
143 ; CHECK-NEXT: PowerPC TLS Dynamic Call Fixup
144 ; CHECK-NEXT: PowerPC TOC Register Dependencies
145 ; CHECK-NEXT: MachineDominator Tree Construction
146 ; CHECK-NEXT: Machine Natural Loop Construction
147 ; CHECK-NEXT: Slot index numbering
148 ; CHECK-NEXT: Live Interval Analysis
149 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis
150 ; CHECK-NEXT: Machine Optimization Remark Emitter
151 ; CHECK-NEXT: Modulo Software Pipelining
152 ; CHECK-NEXT: Detect Dead Lanes
153 ; CHECK-NEXT: Init Undef Pass
154 ; CHECK-NEXT: Process Implicit Definitions
155 ; CHECK-NEXT: Remove unreachable machine basic blocks
156 ; CHECK-NEXT: Live Variable Analysis
157 ; CHECK-NEXT: MachineDominator Tree Construction
158 ; CHECK-NEXT: Machine Natural Loop Construction
159 ; CHECK-NEXT: Eliminate PHI nodes for register allocation
160 ; CHECK-NEXT: Two-Address instruction pass
161 ; CHECK-NEXT: Slot index numbering
162 ; CHECK-NEXT: Live Interval Analysis
163 ; CHECK-NEXT: Register Coalescer
164 ; CHECK-NEXT: Rename Disconnected Subregister Components
165 ; CHECK-NEXT: Machine Instruction Scheduler
166 ; CHECK-NEXT: PowerPC VSX FMA Mutation
167 ; CHECK-NEXT: Machine Natural Loop Construction
168 ; CHECK-NEXT: Machine Block Frequency Analysis
169 ; CHECK-NEXT: Debug Variable Analysis
170 ; CHECK-NEXT: Live Stack Slot Analysis
171 ; CHECK-NEXT: Virtual Register Map
172 ; CHECK-NEXT: Live Register Matrix
173 ; CHECK-NEXT: Bundle Machine CFG Edges
174 ; CHECK-NEXT: Spill Code Placement Analysis
175 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis
176 ; CHECK-NEXT: Machine Optimization Remark Emitter
177 ; CHECK-NEXT: Greedy Register Allocator
178 ; CHECK-NEXT: Virtual Register Rewriter
179 ; CHECK-NEXT: Register Allocation Pass Scoring
180 ; CHECK-NEXT: Stack Slot Coloring
181 ; CHECK-NEXT: Machine Copy Propagation Pass
182 ; CHECK-NEXT: Machine Loop Invariant Code Motion
183 ; CHECK-NEXT: Remove Redundant DEBUG_VALUE analysis
184 ; CHECK-NEXT: Fixup Statepoint Caller Saved
185 ; CHECK-NEXT: PostRA Machine Sink
186 ; CHECK-NEXT: Machine Block Frequency Analysis
187 ; CHECK-NEXT: MachineDominator Tree Construction
188 ; CHECK-NEXT: MachinePostDominator Tree Construction
189 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis
190 ; CHECK-NEXT: Machine Optimization Remark Emitter
191 ; CHECK-NEXT: Shrink Wrapping analysis
192 ; CHECK-NEXT: Prologue/Epilogue Insertion & Frame Finalization
193 ; CHECK-NEXT: Machine Late Instructions Cleanup Pass
194 ; CHECK-NEXT: Control Flow Optimizer
195 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis
196 ; CHECK-NEXT: Tail Duplication
197 ; CHECK-NEXT: Machine Copy Propagation Pass
198 ; CHECK-NEXT: Post-RA pseudo instruction expansion pass
199 ; CHECK-NEXT: MachineDominator Tree Construction
200 ; CHECK-NEXT: Machine Natural Loop Construction
201 ; CHECK-NEXT: Machine Block Frequency Analysis
202 ; CHECK-NEXT: If Converter
203 ; CHECK-NEXT: MachineDominator Tree Construction
204 ; CHECK-NEXT: Machine Natural Loop Construction
205 ; CHECK-NEXT: PostRA Machine Instruction Scheduler
206 ; CHECK-NEXT: Analyze Machine Code For Garbage Collection
207 ; CHECK-NEXT: Machine Block Frequency Analysis
208 ; CHECK-NEXT: MachinePostDominator Tree Construction
209 ; CHECK-NEXT: Branch Probability Basic Block Placement
210 ; CHECK-NEXT: Insert fentry calls
211 ; CHECK-NEXT: Insert XRay ops
212 ; CHECK-NEXT: Implement the 'patchable-function' attribute
213 ; CHECK-NEXT: PowerPC Pre-Emit Peephole
214 ; CHECK-NEXT: PowerPC Expand ISEL Generation
215 ; CHECK-NEXT: PowerPC Early-Return Creation
216 ; CHECK-NEXT: Contiguously Lay Out Funclets
217 ; CHECK-NEXT: StackMap Liveness Analysis
218 ; CHECK-NEXT: Live DEBUG_VALUE analysis
219 ; CHECK-NEXT: Machine Sanitizer Binary Metadata
220 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis
221 ; CHECK-NEXT: Machine Optimization Remark Emitter
222 ; CHECK-NEXT: Stack Frame Layout Analysis
223 ; CHECK-NEXT: PowerPC Expand Atomic
224 ; CHECK-NEXT: PowerPC Branch Selector
225 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis
226 ; CHECK-NEXT: Machine Optimization Remark Emitter
227 ; CHECK-NEXT: Linux PPC Assembly Printer
228 ; CHECK-NEXT: Free MachineFunction