1; When EXPENSIVE_CHECKS are enabled, the machine verifier appears between each
2; pass. Ignore it with 'grep -v'.
3; fixme: the following line is added to cleanup bots, will be removed in weeks.
4; RUN: rm -f %S/llc-pipeline.s
5; RUN: llc -O0 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < %s 2>&1 \
6; RUN:   | grep -v 'Verify generated machine code' | FileCheck -check-prefix=GCN-O0 %s
7; RUN: llc -O1 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < %s 2>&1 \
8; RUN:   | grep -v 'Verify generated machine code' | FileCheck -check-prefix=GCN-O1 %s
9; RUN: llc -O1 -mtriple=amdgcn--amdhsa -disable-verify -amdgpu-scalar-ir-passes -amdgpu-sdwa-peephole \
10; RUN:   -amdgpu-load-store-vectorizer -debug-pass=Structure < %s 2>&1 \
11; RUN:   | grep -v 'Verify generated machine code' | FileCheck -check-prefix=GCN-O1-OPTS %s
12; RUN: llc -O2 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < %s 2>&1 \
13; RUN:   | grep -v 'Verify generated machine code' | FileCheck -check-prefix=GCN-O2 %s
14; RUN: llc -O3 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < %s 2>&1 \
15; RUN:   | grep -v 'Verify generated machine code' | FileCheck -check-prefix=GCN-O3 %s
16
17; REQUIRES: asserts
18
19; GCN-O0: Target Library Information
20; GCN-O0-NEXT: Target Pass Configuration
21; GCN-O0-NEXT: Machine Module Information
22; GCN-O0-NEXT: Target Transform Information
23; GCN-O0-NEXT: Assumption Cache Tracker
24; GCN-O0-NEXT: Profile summary info
25; GCN-O0-NEXT: Create Garbage Collector Module Metadata
26; GCN-O0-NEXT: Argument Register Usage Information Storage
27; GCN-O0-NEXT: Register Usage Information Storage
28; GCN-O0-NEXT: Machine Branch Probability Analysis
29; GCN-O0-NEXT:   ModulePass Manager
30; GCN-O0-NEXT:     Pre-ISel Intrinsic Lowering
31; GCN-O0-NEXT:     AMDGPU Printf lowering
32; GCN-O0-NEXT:       FunctionPass Manager
33; GCN-O0-NEXT:         Dominator Tree Construction
34; GCN-O0-NEXT:     Fix function bitcasts for AMDGPU
35; GCN-O0-NEXT:     FunctionPass Manager
36; GCN-O0-NEXT:       Early propagate attributes from kernels to functions
37; GCN-O0-NEXT:       Expand Atomic instructions
38; GCN-O0-NEXT:     AMDGPU Lower Intrinsics
39; GCN-O0-NEXT:     AMDGPU Inline All Functions
40; GCN-O0-NEXT:     CallGraph Construction
41; GCN-O0-NEXT:     Call Graph SCC Pass Manager
42; GCN-O0-NEXT:       Inliner for always_inline functions
43; GCN-O0-NEXT:     A No-Op Barrier Pass
44; GCN-O0-NEXT:     Lower OpenCL enqueued blocks
45; GCN-O0-NEXT:     Lower uses of LDS variables from non-kernel functions
46; GCN-O0-NEXT:     FunctionPass Manager
47; GCN-O0-NEXT:       Dominator Tree Construction
48; GCN-O0-NEXT:       Post-Dominator Tree Construction
49; GCN-O0-NEXT:       Natural Loop Information
50; GCN-O0-NEXT:       Legacy Divergence Analysis
51; GCN-O0-NEXT:       AMDGPU IR optimizations
52; GCN-O0-NEXT:       Lower Garbage Collection Instructions
53; GCN-O0-NEXT:       Shadow Stack GC Lowering
54; GCN-O0-NEXT:       Lower constant intrinsics
55; GCN-O0-NEXT:       Remove unreachable blocks from the CFG
56; GCN-O0-NEXT:       Expand vector predication intrinsics
57; GCN-O0-NEXT:       Scalarize Masked Memory Intrinsics
58; GCN-O0-NEXT:       Expand reduction intrinsics
59; GCN-O0-NEXT:     CallGraph Construction
60; GCN-O0-NEXT:     Call Graph SCC Pass Manager
61; GCN-O0-NEXT:       AMDGPU Annotate Kernel Features
62; GCN-O0-NEXT:       FunctionPass Manager
63; GCN-O0-NEXT:         AMDGPU Lower Kernel Arguments
64; GCN-O0-NEXT:       Analysis if a function is memory bound
65; GCN-O0-NEXT:     Rewrite Symbols
66; GCN-O0-NEXT:     FunctionPass Manager
67; GCN-O0-NEXT:       Lazy Value Information Analysis
68; GCN-O0-NEXT:       Lower SwitchInst's to branches
69; GCN-O0-NEXT:       Lower invoke and unwind, for unwindless code generators
70; GCN-O0-NEXT:       Remove unreachable blocks from the CFG
71; GCN-O0-NEXT:       Dominator Tree Construction
72; GCN-O0-NEXT:       Basic Alias Analysis (stateless AA impl)
73; GCN-O0-NEXT:       Function Alias Analysis Results
74; GCN-O0-NEXT:       Flatten the CFG
75; GCN-O0-NEXT:       Dominator Tree Construction
76; GCN-O0-NEXT:       Post-Dominator Tree Construction
77; GCN-O0-NEXT:       Natural Loop Information
78; GCN-O0-NEXT:       Legacy Divergence Analysis
79; GCN-O0-NEXT:       AMDGPU IR late optimizations
80; GCN-O0-NEXT:       Unify divergent function exit nodes
81; GCN-O0-NEXT:       Lazy Value Information Analysis
82; GCN-O0-NEXT:       Lower SwitchInst's to branches
83; GCN-O0-NEXT:       Dominator Tree Construction
84; GCN-O0-NEXT:       Natural Loop Information
85; GCN-O0-NEXT:       Convert irreducible control-flow into natural loops
86; GCN-O0-NEXT:       Fixup each natural loop to have a single exit block
87; GCN-O0-NEXT:       Post-Dominator Tree Construction
88; GCN-O0-NEXT:       Dominance Frontier Construction
89; GCN-O0-NEXT:       Detect single entry single exit regions
90; GCN-O0-NEXT:       Region Pass Manager
91; GCN-O0-NEXT:         Structurize control flow
92; GCN-O0-NEXT:       Basic Alias Analysis (stateless AA impl)
93; GCN-O0-NEXT:       Function Alias Analysis Results
94; GCN-O0-NEXT:       Natural Loop Information
95; GCN-O0-NEXT:       Code sinking
96; GCN-O0-NEXT:       Post-Dominator Tree Construction
97; GCN-O0-NEXT:       Legacy Divergence Analysis
98; GCN-O0-NEXT:       Function Alias Analysis Results
99; GCN-O0-NEXT:       Memory SSA
100; GCN-O0-NEXT:       AMDGPU Annotate Uniform Values
101; GCN-O0-NEXT:       SI annotate control flow
102; GCN-O0-NEXT:       Natural Loop Information
103; GCN-O0-NEXT:       LCSSA Verifier
104; GCN-O0-NEXT:       Loop-Closed SSA Form Pass
105; GCN-O0-NEXT:     CallGraph Construction
106; GCN-O0-NEXT:     Call Graph SCC Pass Manager
107; GCN-O0-NEXT:       DummyCGSCCPass
108; GCN-O0-NEXT:       FunctionPass Manager
109; GCN-O0-NEXT:         Safe Stack instrumentation pass
110; GCN-O0-NEXT:         Insert stack protectors
111; GCN-O0-NEXT:         Dominator Tree Construction
112; GCN-O0-NEXT:         Post-Dominator Tree Construction
113; GCN-O0-NEXT:         Natural Loop Information
114; GCN-O0-NEXT:         Legacy Divergence Analysis
115; GCN-O0-NEXT:         AMDGPU DAG->DAG Pattern Instruction Selection
116; GCN-O0-NEXT:         MachineDominator Tree Construction
117; GCN-O0-NEXT:         SI Fix SGPR copies
118; GCN-O0-NEXT:         MachinePostDominator Tree Construction
119; GCN-O0-NEXT:         SI Lower i1 Copies
120; GCN-O0-NEXT:         Finalize ISel and expand pseudo-instructions
121; GCN-O0-NEXT:         Local Stack Slot Allocation
122; GCN-O0-NEXT:         Register Usage Information Propagation
123; GCN-O0-NEXT:         Eliminate PHI nodes for register allocation
124; GCN-O0-NEXT:         SI Lower control flow pseudo instructions
125; GCN-O0-NEXT:         Two-Address instruction pass
126; GCN-O0-NEXT:         Basic Alias Analysis (stateless AA impl)
127; GCN-O0-NEXT:         Function Alias Analysis Results
128; GCN-O0-NEXT:         MachineDominator Tree Construction
129; GCN-O0-NEXT:         Slot index numbering
130; GCN-O0-NEXT:         Live Interval Analysis
131; GCN-O0-NEXT:         MachinePostDominator Tree Construction
132; GCN-O0-NEXT:         SI Whole Quad Mode
133; GCN-O0-NEXT:         Virtual Register Map
134; GCN-O0-NEXT:         Live Register Matrix
135; GCN-O0-NEXT:         SI Pre-allocate WWM Registers
136; GCN-O0-NEXT:         Fast Register Allocator
137; GCN-O0-NEXT:         SI Fix VGPR copies
138; GCN-O0-NEXT:         SI lower SGPR spill instructions
139; GCN-O0-NEXT:         Fixup Statepoint Caller Saved
140; GCN-O0-NEXT:         Lazy Machine Block Frequency Analysis
141; GCN-O0-NEXT:         Machine Optimization Remark Emitter
142; GCN-O0-NEXT:         Prologue/Epilogue Insertion & Frame Finalization
143; GCN-O0-NEXT:         Post-RA pseudo instruction expansion pass
144; GCN-O0-NEXT:         SI post-RA bundler
145; GCN-O0-NEXT:         Insert fentry calls
146; GCN-O0-NEXT:         Insert XRay ops
147; GCN-O0-NEXT:         SI Memory Legalizer
148; GCN-O0-NEXT:         MachinePostDominator Tree Construction
149; GCN-O0-NEXT:         SI insert wait instructions
150; GCN-O0-NEXT:         SI Shrink Instructions
151; GCN-O0-NEXT:         Insert required mode register values
152; GCN-O0-NEXT:         MachineDominator Tree Construction
153; GCN-O0-NEXT:         SI Final Branch Preparation
154; GCN-O0-NEXT:         Post RA hazard recognizer
155; GCN-O0-NEXT:         Branch relaxation pass
156; GCN-O0-NEXT:         Register Usage Information Collector Pass
157; GCN-O0-NEXT:         Live DEBUG_VALUE analysis
158; GCN-O0-NEXT:         Lazy Machine Block Frequency Analysis
159; GCN-O0-NEXT:         Machine Optimization Remark Emitter
160; GCN-O0-NEXT:         AMDGPU Assembly Printer
161; GCN-O0-NEXT:         Free MachineFunction
162; GCN-O0-NEXT: Pass Arguments:  -domtree
163; GCN-O0-NEXT:   FunctionPass Manager
164; GCN-O0-NEXT:     Dominator Tree Construction
165
166; GCN-O1: Target Library Information
167; GCN-O1-NEXT: Target Pass Configuration
168; GCN-O1-NEXT: Machine Module Information
169; GCN-O1-NEXT: Target Transform Information
170; GCN-O1-NEXT: Assumption Cache Tracker
171; GCN-O1-NEXT: Profile summary info
172; GCN-O1-NEXT: AMDGPU Address space based Alias Analysis
173; GCN-O1-NEXT: External Alias Analysis
174; GCN-O1-NEXT: Type-Based Alias Analysis
175; GCN-O1-NEXT: Scoped NoAlias Alias Analysis
176; GCN-O1-NEXT: Create Garbage Collector Module Metadata
177; GCN-O1-NEXT: Argument Register Usage Information Storage
178; GCN-O1-NEXT: Machine Branch Probability Analysis
179; GCN-O1-NEXT: Register Usage Information Storage
180; GCN-O1-NEXT:   ModulePass Manager
181; GCN-O1-NEXT:     Pre-ISel Intrinsic Lowering
182; GCN-O1-NEXT:     AMDGPU Printf lowering
183; GCN-O1-NEXT:       FunctionPass Manager
184; GCN-O1-NEXT:         Dominator Tree Construction
185; GCN-O1-NEXT:     Fix function bitcasts for AMDGPU
186; GCN-O1-NEXT:     FunctionPass Manager
187; GCN-O1-NEXT:       Early propagate attributes from kernels to functions
188; GCN-O1-NEXT:       Expand Atomic instructions
189; GCN-O1-NEXT:     AMDGPU Lower Intrinsics
190; GCN-O1-NEXT:     AMDGPU Inline All Functions
191; GCN-O1-NEXT:     CallGraph Construction
192; GCN-O1-NEXT:     Call Graph SCC Pass Manager
193; GCN-O1-NEXT:       Inliner for always_inline functions
194; GCN-O1-NEXT:     A No-Op Barrier Pass
195; GCN-O1-NEXT:     Lower OpenCL enqueued blocks
196; GCN-O1-NEXT:     Lower uses of LDS variables from non-kernel functions
197; GCN-O1-NEXT:     FunctionPass Manager
198; GCN-O1-NEXT:       Infer address spaces
199; GCN-O1-NEXT:       AMDGPU Promote Alloca
200; GCN-O1-NEXT:       Dominator Tree Construction
201; GCN-O1-NEXT:       SROA
202; GCN-O1-NEXT:       Post-Dominator Tree Construction
203; GCN-O1-NEXT:       Natural Loop Information
204; GCN-O1-NEXT:       Legacy Divergence Analysis
205; GCN-O1-NEXT:       AMDGPU IR optimizations
206; GCN-O1-NEXT:       Basic Alias Analysis (stateless AA impl)
207; GCN-O1-NEXT:       Canonicalize natural loops
208; GCN-O1-NEXT:       Scalar Evolution Analysis
209; GCN-O1-NEXT:       Loop Pass Manager
210; GCN-O1-NEXT:         Canonicalize Freeze Instructions in Loops
211; GCN-O1-NEXT:         Induction Variable Users
212; GCN-O1-NEXT:         Loop Strength Reduction
213; GCN-O1-NEXT:       Basic Alias Analysis (stateless AA impl)
214; GCN-O1-NEXT:       Function Alias Analysis Results
215; GCN-O1-NEXT:       Merge contiguous icmps into a memcmp
216; GCN-O1-NEXT:       Natural Loop Information
217; GCN-O1-NEXT:       Lazy Branch Probability Analysis
218; GCN-O1-NEXT:       Lazy Block Frequency Analysis
219; GCN-O1-NEXT:       Expand memcmp() to load/stores
220; GCN-O1-NEXT:       Lower Garbage Collection Instructions
221; GCN-O1-NEXT:       Shadow Stack GC Lowering
222; GCN-O1-NEXT:       Lower constant intrinsics
223; GCN-O1-NEXT:       Remove unreachable blocks from the CFG
224; GCN-O1-NEXT:       Natural Loop Information
225; GCN-O1-NEXT:       Post-Dominator Tree Construction
226; GCN-O1-NEXT:       Branch Probability Analysis
227; GCN-O1-NEXT:       Block Frequency Analysis
228; GCN-O1-NEXT:       Constant Hoisting
229; GCN-O1-NEXT:       Replace intrinsics with calls to vector library
230; GCN-O1-NEXT:       Partially inline calls to library functions
231; GCN-O1-NEXT:       Expand vector predication intrinsics
232; GCN-O1-NEXT:       Scalarize Masked Memory Intrinsics
233; GCN-O1-NEXT:       Expand reduction intrinsics
234; GCN-O1-NEXT:     CallGraph Construction
235; GCN-O1-NEXT:     Call Graph SCC Pass Manager
236; GCN-O1-NEXT:       AMDGPU Annotate Kernel Features
237; GCN-O1-NEXT:       FunctionPass Manager
238; GCN-O1-NEXT:         AMDGPU Lower Kernel Arguments
239; GCN-O1-NEXT:       Analysis if a function is memory bound
240; GCN-O1-NEXT:       FunctionPass Manager
241; GCN-O1-NEXT:         Dominator Tree Construction
242; GCN-O1-NEXT:         Natural Loop Information
243; GCN-O1-NEXT:         CodeGen Prepare
244; GCN-O1-NEXT:     Rewrite Symbols
245; GCN-O1-NEXT:     FunctionPass Manager
246; GCN-O1-NEXT:       Lazy Value Information Analysis
247; GCN-O1-NEXT:       Lower SwitchInst's to branches
248; GCN-O1-NEXT:       Lower invoke and unwind, for unwindless code generators
249; GCN-O1-NEXT:       Remove unreachable blocks from the CFG
250; GCN-O1-NEXT:       Dominator Tree Construction
251; GCN-O1-NEXT:       Basic Alias Analysis (stateless AA impl)
252; GCN-O1-NEXT:       Function Alias Analysis Results
253; GCN-O1-NEXT:       Flatten the CFG
254; GCN-O1-NEXT:       Dominator Tree Construction
255; GCN-O1-NEXT:       Post-Dominator Tree Construction
256; GCN-O1-NEXT:       Natural Loop Information
257; GCN-O1-NEXT:       Legacy Divergence Analysis
258; GCN-O1-NEXT:       AMDGPU IR late optimizations
259; GCN-O1-NEXT:       Unify divergent function exit nodes
260; GCN-O1-NEXT:       Lazy Value Information Analysis
261; GCN-O1-NEXT:       Lower SwitchInst's to branches
262; GCN-O1-NEXT:       Dominator Tree Construction
263; GCN-O1-NEXT:       Natural Loop Information
264; GCN-O1-NEXT:       Convert irreducible control-flow into natural loops
265; GCN-O1-NEXT:       Fixup each natural loop to have a single exit block
266; GCN-O1-NEXT:       Post-Dominator Tree Construction
267; GCN-O1-NEXT:       Dominance Frontier Construction
268; GCN-O1-NEXT:       Detect single entry single exit regions
269; GCN-O1-NEXT:       Region Pass Manager
270; GCN-O1-NEXT:         Structurize control flow
271; GCN-O1-NEXT:       Basic Alias Analysis (stateless AA impl)
272; GCN-O1-NEXT:       Function Alias Analysis Results
273; GCN-O1-NEXT:       Natural Loop Information
274; GCN-O1-NEXT:       Code sinking
275; GCN-O1-NEXT:       Post-Dominator Tree Construction
276; GCN-O1-NEXT:       Legacy Divergence Analysis
277; GCN-O1-NEXT:       Function Alias Analysis Results
278; GCN-O1-NEXT:       Memory SSA
279; GCN-O1-NEXT:       AMDGPU Annotate Uniform Values
280; GCN-O1-NEXT:       SI annotate control flow
281; GCN-O1-NEXT:       Natural Loop Information
282; GCN-O1-NEXT:       LCSSA Verifier
283; GCN-O1-NEXT:       Loop-Closed SSA Form Pass
284; GCN-O1-NEXT:     CallGraph Construction
285; GCN-O1-NEXT:     Call Graph SCC Pass Manager
286; GCN-O1-NEXT:       DummyCGSCCPass
287; GCN-O1-NEXT:       FunctionPass Manager
288; GCN-O1-NEXT:         Safe Stack instrumentation pass
289; GCN-O1-NEXT:         Insert stack protectors
290; GCN-O1-NEXT:         Dominator Tree Construction
291; GCN-O1-NEXT:         Post-Dominator Tree Construction
292; GCN-O1-NEXT:         Natural Loop Information
293; GCN-O1-NEXT:         Legacy Divergence Analysis
294; GCN-O1-NEXT:         Basic Alias Analysis (stateless AA impl)
295; GCN-O1-NEXT:         Function Alias Analysis Results
296; GCN-O1-NEXT:         Branch Probability Analysis
297; GCN-O1-NEXT:         Lazy Branch Probability Analysis
298; GCN-O1-NEXT:         Lazy Block Frequency Analysis
299; GCN-O1-NEXT:         AMDGPU DAG->DAG Pattern Instruction Selection
300; GCN-O1-NEXT:         MachineDominator Tree Construction
301; GCN-O1-NEXT:         SI Fix SGPR copies
302; GCN-O1-NEXT:         MachinePostDominator Tree Construction
303; GCN-O1-NEXT:         SI Lower i1 Copies
304; GCN-O1-NEXT:         Finalize ISel and expand pseudo-instructions
305; GCN-O1-NEXT:         Lazy Machine Block Frequency Analysis
306; GCN-O1-NEXT:         Early Tail Duplication
307; GCN-O1-NEXT:         Optimize machine instruction PHIs
308; GCN-O1-NEXT:         Slot index numbering
309; GCN-O1-NEXT:         Merge disjoint stack slots
310; GCN-O1-NEXT:         Local Stack Slot Allocation
311; GCN-O1-NEXT:         Remove dead machine instructions
312; GCN-O1-NEXT:         MachineDominator Tree Construction
313; GCN-O1-NEXT:         Machine Natural Loop Construction
314; GCN-O1-NEXT:         Machine Block Frequency Analysis
315; GCN-O1-NEXT:         Early Machine Loop Invariant Code Motion
316; GCN-O1-NEXT:         MachineDominator Tree Construction
317; GCN-O1-NEXT:         Machine Block Frequency Analysis
318; GCN-O1-NEXT:         Machine Common Subexpression Elimination
319; GCN-O1-NEXT:         MachinePostDominator Tree Construction
320; GCN-O1-NEXT:         Machine code sinking
321; GCN-O1-NEXT:         Peephole Optimizations
322; GCN-O1-NEXT:         Remove dead machine instructions
323; GCN-O1-NEXT:         SI Fold Operands
324; GCN-O1-NEXT:         GCN DPP Combine
325; GCN-O1-NEXT:         SI Load Store Optimizer
326; GCN-O1-NEXT:         Remove dead machine instructions
327; GCN-O1-NEXT:         SI Shrink Instructions
328; GCN-O1-NEXT:         Register Usage Information Propagation
329; GCN-O1-NEXT:         Detect Dead Lanes
330; GCN-O1-NEXT:         Remove dead machine instructions
331; GCN-O1-NEXT:         Process Implicit Definitions
332; GCN-O1-NEXT:         Remove unreachable machine basic blocks
333; GCN-O1-NEXT:         Live Variable Analysis
334; GCN-O1-NEXT:         Eliminate PHI nodes for register allocation
335; GCN-O1-NEXT:         SI Lower control flow pseudo instructions
336; GCN-O1-NEXT:         Two-Address instruction pass
337; GCN-O1-NEXT:         MachineDominator Tree Construction
338; GCN-O1-NEXT:         Slot index numbering
339; GCN-O1-NEXT:         Live Interval Analysis
340; GCN-O1-NEXT:         Machine Natural Loop Construction
341; GCN-O1-NEXT:         Simple Register Coalescing
342; GCN-O1-NEXT:         Rename Disconnected Subregister Components
343; GCN-O1-NEXT:         Machine Instruction Scheduler
344; GCN-O1-NEXT:         MachinePostDominator Tree Construction
345; GCN-O1-NEXT:         SI Whole Quad Mode
346; GCN-O1-NEXT:         Virtual Register Map
347; GCN-O1-NEXT:         Live Register Matrix
348; GCN-O1-NEXT:         SI Pre-allocate WWM Registers
349; GCN-O1-NEXT:         SI optimize exec mask operations pre-RA
350; GCN-O1-NEXT:         SI Form memory clauses
351; GCN-O1-NEXT:         Machine Natural Loop Construction
352; GCN-O1-NEXT:         Machine Block Frequency Analysis
353; GCN-O1-NEXT:         Debug Variable Analysis
354; GCN-O1-NEXT:         Live Stack Slot Analysis
355; GCN-O1-NEXT:         Virtual Register Map
356; GCN-O1-NEXT:         Live Register Matrix
357; GCN-O1-NEXT:         Bundle Machine CFG Edges
358; GCN-O1-NEXT:         Spill Code Placement Analysis
359; GCN-O1-NEXT:         Lazy Machine Block Frequency Analysis
360; GCN-O1-NEXT:         Machine Optimization Remark Emitter
361; GCN-O1-NEXT:         Greedy Register Allocator
362; GCN-O1-NEXT:         GCN NSA Reassign
363; GCN-O1-NEXT:         Virtual Register Rewriter
364; GCN-O1-NEXT:         Stack Slot Coloring
365; GCN-O1-NEXT:         Machine Copy Propagation Pass
366; GCN-O1-NEXT:         Machine Loop Invariant Code Motion
367; GCN-O1-NEXT:         SI Fix VGPR copies
368; GCN-O1-NEXT:         SI optimize exec mask operations
369; GCN-O1-NEXT:         SI lower SGPR spill instructions
370; GCN-O1-NEXT:         Fixup Statepoint Caller Saved
371; GCN-O1-NEXT:         PostRA Machine Sink
372; GCN-O1-NEXT:         MachineDominator Tree Construction
373; GCN-O1-NEXT:         Machine Natural Loop Construction
374; GCN-O1-NEXT:         Machine Block Frequency Analysis
375; GCN-O1-NEXT:         MachinePostDominator Tree Construction
376; GCN-O1-NEXT:         Lazy Machine Block Frequency Analysis
377; GCN-O1-NEXT:         Machine Optimization Remark Emitter
378; GCN-O1-NEXT:         Shrink Wrapping analysis
379; GCN-O1-NEXT:         Prologue/Epilogue Insertion & Frame Finalization
380; GCN-O1-NEXT:         Control Flow Optimizer
381; GCN-O1-NEXT:         Lazy Machine Block Frequency Analysis
382; GCN-O1-NEXT:         Tail Duplication
383; GCN-O1-NEXT:         Machine Copy Propagation Pass
384; GCN-O1-NEXT:         Post-RA pseudo instruction expansion pass
385; GCN-O1-NEXT:         SI post-RA bundler
386; GCN-O1-NEXT:         MachineDominator Tree Construction
387; GCN-O1-NEXT:         Machine Natural Loop Construction
388; GCN-O1-NEXT:         Post RA top-down list latency scheduler
389; GCN-O1-NEXT:         Machine Block Frequency Analysis
390; GCN-O1-NEXT:         MachinePostDominator Tree Construction
391; GCN-O1-NEXT:         Branch Probability Basic Block Placement
392; GCN-O1-NEXT:         Insert fentry calls
393; GCN-O1-NEXT:         Insert XRay ops
394; GCN-O1-NEXT:         SI Memory Legalizer
395; GCN-O1-NEXT:         MachinePostDominator Tree Construction
396; GCN-O1-NEXT:         SI insert wait instructions
397; GCN-O1-NEXT:         SI Shrink Instructions
398; GCN-O1-NEXT:         Insert required mode register values
399; GCN-O1-NEXT:         SI Insert Hard Clauses
400; GCN-O1-NEXT:         MachineDominator Tree Construction
401; GCN-O1-NEXT:         SI Final Branch Preparation
402; GCN-O1-NEXT:         SI peephole optimizations
403; GCN-O1-NEXT:         Post RA hazard recognizer
404; GCN-O1-NEXT:         Branch relaxation pass
405; GCN-O1-NEXT:         Register Usage Information Collector Pass
406; GCN-O1-NEXT:         Live DEBUG_VALUE analysis
407; GCN-O1-NEXT:         Lazy Machine Block Frequency Analysis
408; GCN-O1-NEXT:         Machine Optimization Remark Emitter
409; GCN-O1-NEXT:         AMDGPU Assembly Printer
410; GCN-O1-NEXT:         Free MachineFunction
411; GCN-O1-NEXT: Pass Arguments:  -domtree
412; GCN-O1-NEXT:   FunctionPass Manager
413; GCN-O1-NEXT:     Dominator Tree Construction
414
415; GCN-O1-OPTS: Target Library Information
416; GCN-O1-OPTS-NEXT: Target Pass Configuration
417; GCN-O1-OPTS-NEXT: Machine Module Information
418; GCN-O1-OPTS-NEXT: Target Transform Information
419; GCN-O1-OPTS-NEXT: Assumption Cache Tracker
420; GCN-O1-OPTS-NEXT: Profile summary info
421; GCN-O1-OPTS-NEXT: AMDGPU Address space based Alias Analysis
422; GCN-O1-OPTS-NEXT: External Alias Analysis
423; GCN-O1-OPTS-NEXT: Type-Based Alias Analysis
424; GCN-O1-OPTS-NEXT: Scoped NoAlias Alias Analysis
425; GCN-O1-OPTS-NEXT: Create Garbage Collector Module Metadata
426; GCN-O1-OPTS-NEXT: Argument Register Usage Information Storage
427; GCN-O1-OPTS-NEXT: Machine Branch Probability Analysis
428; GCN-O1-OPTS-NEXT: Register Usage Information Storage
429; GCN-O1-OPTS-NEXT:   ModulePass Manager
430; GCN-O1-OPTS-NEXT:     Pre-ISel Intrinsic Lowering
431; GCN-O1-OPTS-NEXT:     AMDGPU Printf lowering
432; GCN-O1-OPTS-NEXT:       FunctionPass Manager
433; GCN-O1-OPTS-NEXT:         Dominator Tree Construction
434; GCN-O1-OPTS-NEXT:     Fix function bitcasts for AMDGPU
435; GCN-O1-OPTS-NEXT:     FunctionPass Manager
436; GCN-O1-OPTS-NEXT:       Early propagate attributes from kernels to functions
437; GCN-O1-OPTS-NEXT:       Expand Atomic instructions
438; GCN-O1-OPTS-NEXT:     AMDGPU Lower Intrinsics
439; GCN-O1-OPTS-NEXT:     AMDGPU Inline All Functions
440; GCN-O1-OPTS-NEXT:     CallGraph Construction
441; GCN-O1-OPTS-NEXT:     Call Graph SCC Pass Manager
442; GCN-O1-OPTS-NEXT:       Inliner for always_inline functions
443; GCN-O1-OPTS-NEXT:     A No-Op Barrier Pass
444; GCN-O1-OPTS-NEXT:     Lower OpenCL enqueued blocks
445; GCN-O1-OPTS-NEXT:     Lower uses of LDS variables from non-kernel functions
446; GCN-O1-OPTS-NEXT:     FunctionPass Manager
447; GCN-O1-OPTS-NEXT:       Infer address spaces
448; GCN-O1-OPTS-NEXT:       AMDGPU Promote Alloca
449; GCN-O1-OPTS-NEXT:       Dominator Tree Construction
450; GCN-O1-OPTS-NEXT:       SROA
451; GCN-O1-OPTS-NEXT:       Basic Alias Analysis (stateless AA impl)
452; GCN-O1-OPTS-NEXT:       Function Alias Analysis Results
453; GCN-O1-OPTS-NEXT:       Memory SSA
454; GCN-O1-OPTS-NEXT:       Natural Loop Information
455; GCN-O1-OPTS-NEXT:       Canonicalize natural loops
456; GCN-O1-OPTS-NEXT:       LCSSA Verifier
457; GCN-O1-OPTS-NEXT:       Loop-Closed SSA Form Pass
458; GCN-O1-OPTS-NEXT:       Scalar Evolution Analysis
459; GCN-O1-OPTS-NEXT:       Lazy Branch Probability Analysis
460; GCN-O1-OPTS-NEXT:       Lazy Block Frequency Analysis
461; GCN-O1-OPTS-NEXT:       Loop Pass Manager
462; GCN-O1-OPTS-NEXT:         Loop Invariant Code Motion
463; GCN-O1-OPTS-NEXT:       Split GEPs to a variadic base and a constant offset for better CSE
464; GCN-O1-OPTS-NEXT:       Speculatively execute instructions
465; GCN-O1-OPTS-NEXT:       Scalar Evolution Analysis
466; GCN-O1-OPTS-NEXT:       Straight line strength reduction
467; GCN-O1-OPTS-NEXT:       Early CSE
468; GCN-O1-OPTS-NEXT:       Scalar Evolution Analysis
469; GCN-O1-OPTS-NEXT:       Nary reassociation
470; GCN-O1-OPTS-NEXT:       Early CSE
471; GCN-O1-OPTS-NEXT:       Post-Dominator Tree Construction
472; GCN-O1-OPTS-NEXT:       Legacy Divergence Analysis
473; GCN-O1-OPTS-NEXT:       AMDGPU IR optimizations
474; GCN-O1-OPTS-NEXT:       Canonicalize natural loops
475; GCN-O1-OPTS-NEXT:       Scalar Evolution Analysis
476; GCN-O1-OPTS-NEXT:       Loop Pass Manager
477; GCN-O1-OPTS-NEXT:         Canonicalize Freeze Instructions in Loops
478; GCN-O1-OPTS-NEXT:         Induction Variable Users
479; GCN-O1-OPTS-NEXT:         Loop Strength Reduction
480; GCN-O1-OPTS-NEXT:       Basic Alias Analysis (stateless AA impl)
481; GCN-O1-OPTS-NEXT:       Function Alias Analysis Results
482; GCN-O1-OPTS-NEXT:       Merge contiguous icmps into a memcmp
483; GCN-O1-OPTS-NEXT:       Natural Loop Information
484; GCN-O1-OPTS-NEXT:       Lazy Branch Probability Analysis
485; GCN-O1-OPTS-NEXT:       Lazy Block Frequency Analysis
486; GCN-O1-OPTS-NEXT:       Expand memcmp() to load/stores
487; GCN-O1-OPTS-NEXT:       Lower Garbage Collection Instructions
488; GCN-O1-OPTS-NEXT:       Shadow Stack GC Lowering
489; GCN-O1-OPTS-NEXT:       Lower constant intrinsics
490; GCN-O1-OPTS-NEXT:       Remove unreachable blocks from the CFG
491; GCN-O1-OPTS-NEXT:       Natural Loop Information
492; GCN-O1-OPTS-NEXT:       Post-Dominator Tree Construction
493; GCN-O1-OPTS-NEXT:       Branch Probability Analysis
494; GCN-O1-OPTS-NEXT:       Block Frequency Analysis
495; GCN-O1-OPTS-NEXT:       Constant Hoisting
496; GCN-O1-OPTS-NEXT:       Replace intrinsics with calls to vector library
497; GCN-O1-OPTS-NEXT:       Partially inline calls to library functions
498; GCN-O1-OPTS-NEXT:       Expand vector predication intrinsics
499; GCN-O1-OPTS-NEXT:       Scalarize Masked Memory Intrinsics
500; GCN-O1-OPTS-NEXT:       Expand reduction intrinsics
501; GCN-O1-OPTS-NEXT:       Early CSE
502; GCN-O1-OPTS-NEXT:     CallGraph Construction
503; GCN-O1-OPTS-NEXT:     Call Graph SCC Pass Manager
504; GCN-O1-OPTS-NEXT:       AMDGPU Annotate Kernel Features
505; GCN-O1-OPTS-NEXT:       FunctionPass Manager
506; GCN-O1-OPTS-NEXT:         AMDGPU Lower Kernel Arguments
507; GCN-O1-OPTS-NEXT:       Analysis if a function is memory bound
508; GCN-O1-OPTS-NEXT:       FunctionPass Manager
509; GCN-O1-OPTS-NEXT:         Dominator Tree Construction
510; GCN-O1-OPTS-NEXT:         Natural Loop Information
511; GCN-O1-OPTS-NEXT:         CodeGen Prepare
512; GCN-O1-OPTS-NEXT:     Rewrite Symbols
513; GCN-O1-OPTS-NEXT:     FunctionPass Manager
514; GCN-O1-OPTS-NEXT:       Dominator Tree Construction
515; GCN-O1-OPTS-NEXT:       Basic Alias Analysis (stateless AA impl)
516; GCN-O1-OPTS-NEXT:       Function Alias Analysis Results
517; GCN-O1-OPTS-NEXT:       Natural Loop Information
518; GCN-O1-OPTS-NEXT:       Scalar Evolution Analysis
519; GCN-O1-OPTS-NEXT:       GPU Load and Store Vectorizer
520; GCN-O1-OPTS-NEXT:       Lazy Value Information Analysis
521; GCN-O1-OPTS-NEXT:       Lower SwitchInst's to branches
522; GCN-O1-OPTS-NEXT:       Lower invoke and unwind, for unwindless code generators
523; GCN-O1-OPTS-NEXT:       Remove unreachable blocks from the CFG
524; GCN-O1-OPTS-NEXT:       Dominator Tree Construction
525; GCN-O1-OPTS-NEXT:       Basic Alias Analysis (stateless AA impl)
526; GCN-O1-OPTS-NEXT:       Function Alias Analysis Results
527; GCN-O1-OPTS-NEXT:       Flatten the CFG
528; GCN-O1-OPTS-NEXT:       Dominator Tree Construction
529; GCN-O1-OPTS-NEXT:       Post-Dominator Tree Construction
530; GCN-O1-OPTS-NEXT:       Natural Loop Information
531; GCN-O1-OPTS-NEXT:       Legacy Divergence Analysis
532; GCN-O1-OPTS-NEXT:       AMDGPU IR late optimizations
533; GCN-O1-OPTS-NEXT:       Unify divergent function exit nodes
534; GCN-O1-OPTS-NEXT:       Lazy Value Information Analysis
535; GCN-O1-OPTS-NEXT:       Lower SwitchInst's to branches
536; GCN-O1-OPTS-NEXT:       Dominator Tree Construction
537; GCN-O1-OPTS-NEXT:       Natural Loop Information
538; GCN-O1-OPTS-NEXT:       Convert irreducible control-flow into natural loops
539; GCN-O1-OPTS-NEXT:       Fixup each natural loop to have a single exit block
540; GCN-O1-OPTS-NEXT:       Post-Dominator Tree Construction
541; GCN-O1-OPTS-NEXT:       Dominance Frontier Construction
542; GCN-O1-OPTS-NEXT:       Detect single entry single exit regions
543; GCN-O1-OPTS-NEXT:       Region Pass Manager
544; GCN-O1-OPTS-NEXT:         Structurize control flow
545; GCN-O1-OPTS-NEXT:       Basic Alias Analysis (stateless AA impl)
546; GCN-O1-OPTS-NEXT:       Function Alias Analysis Results
547; GCN-O1-OPTS-NEXT:       Natural Loop Information
548; GCN-O1-OPTS-NEXT:       Code sinking
549; GCN-O1-OPTS-NEXT:       Post-Dominator Tree Construction
550; GCN-O1-OPTS-NEXT:       Legacy Divergence Analysis
551; GCN-O1-OPTS-NEXT:       Function Alias Analysis Results
552; GCN-O1-OPTS-NEXT:       Memory SSA
553; GCN-O1-OPTS-NEXT:       AMDGPU Annotate Uniform Values
554; GCN-O1-OPTS-NEXT:       SI annotate control flow
555; GCN-O1-OPTS-NEXT:       Natural Loop Information
556; GCN-O1-OPTS-NEXT:       LCSSA Verifier
557; GCN-O1-OPTS-NEXT:       Loop-Closed SSA Form Pass
558; GCN-O1-OPTS-NEXT:     CallGraph Construction
559; GCN-O1-OPTS-NEXT:     Call Graph SCC Pass Manager
560; GCN-O1-OPTS-NEXT:       DummyCGSCCPass
561; GCN-O1-OPTS-NEXT:       FunctionPass Manager
562; GCN-O1-OPTS-NEXT:         Safe Stack instrumentation pass
563; GCN-O1-OPTS-NEXT:         Insert stack protectors
564; GCN-O1-OPTS-NEXT:         Dominator Tree Construction
565; GCN-O1-OPTS-NEXT:         Post-Dominator Tree Construction
566; GCN-O1-OPTS-NEXT:         Natural Loop Information
567; GCN-O1-OPTS-NEXT:         Legacy Divergence Analysis
568; GCN-O1-OPTS-NEXT:         Basic Alias Analysis (stateless AA impl)
569; GCN-O1-OPTS-NEXT:         Function Alias Analysis Results
570; GCN-O1-OPTS-NEXT:         Branch Probability Analysis
571; GCN-O1-OPTS-NEXT:         Lazy Branch Probability Analysis
572; GCN-O1-OPTS-NEXT:         Lazy Block Frequency Analysis
573; GCN-O1-OPTS-NEXT:         AMDGPU DAG->DAG Pattern Instruction Selection
574; GCN-O1-OPTS-NEXT:         MachineDominator Tree Construction
575; GCN-O1-OPTS-NEXT:         SI Fix SGPR copies
576; GCN-O1-OPTS-NEXT:         MachinePostDominator Tree Construction
577; GCN-O1-OPTS-NEXT:         SI Lower i1 Copies
578; GCN-O1-OPTS-NEXT:         Finalize ISel and expand pseudo-instructions
579; GCN-O1-OPTS-NEXT:         Lazy Machine Block Frequency Analysis
580; GCN-O1-OPTS-NEXT:         Early Tail Duplication
581; GCN-O1-OPTS-NEXT:         Optimize machine instruction PHIs
582; GCN-O1-OPTS-NEXT:         Slot index numbering
583; GCN-O1-OPTS-NEXT:         Merge disjoint stack slots
584; GCN-O1-OPTS-NEXT:         Local Stack Slot Allocation
585; GCN-O1-OPTS-NEXT:         Remove dead machine instructions
586; GCN-O1-OPTS-NEXT:         MachineDominator Tree Construction
587; GCN-O1-OPTS-NEXT:         Machine Natural Loop Construction
588; GCN-O1-OPTS-NEXT:         Machine Block Frequency Analysis
589; GCN-O1-OPTS-NEXT:         Early Machine Loop Invariant Code Motion
590; GCN-O1-OPTS-NEXT:         MachineDominator Tree Construction
591; GCN-O1-OPTS-NEXT:         Machine Block Frequency Analysis
592; GCN-O1-OPTS-NEXT:         Machine Common Subexpression Elimination
593; GCN-O1-OPTS-NEXT:         MachinePostDominator Tree Construction
594; GCN-O1-OPTS-NEXT:         Machine code sinking
595; GCN-O1-OPTS-NEXT:         Peephole Optimizations
596; GCN-O1-OPTS-NEXT:         Remove dead machine instructions
597; GCN-O1-OPTS-NEXT:         SI Fold Operands
598; GCN-O1-OPTS-NEXT:         GCN DPP Combine
599; GCN-O1-OPTS-NEXT:         SI Load Store Optimizer
600; GCN-O1-OPTS-NEXT:         SI Peephole SDWA
601; GCN-O1-OPTS-NEXT:         Machine Block Frequency Analysis
602; GCN-O1-OPTS-NEXT:         MachineDominator Tree Construction
603; GCN-O1-OPTS-NEXT:         Early Machine Loop Invariant Code Motion
604; GCN-O1-OPTS-NEXT:         MachineDominator Tree Construction
605; GCN-O1-OPTS-NEXT:         Machine Block Frequency Analysis
606; GCN-O1-OPTS-NEXT:         Machine Common Subexpression Elimination
607; GCN-O1-OPTS-NEXT:         SI Fold Operands
608; GCN-O1-OPTS-NEXT:         Remove dead machine instructions
609; GCN-O1-OPTS-NEXT:         SI Shrink Instructions
610; GCN-O1-OPTS-NEXT:         Register Usage Information Propagation
611; GCN-O1-OPTS-NEXT:         Detect Dead Lanes
612; GCN-O1-OPTS-NEXT:         Remove dead machine instructions
613; GCN-O1-OPTS-NEXT:         Process Implicit Definitions
614; GCN-O1-OPTS-NEXT:         Remove unreachable machine basic blocks
615; GCN-O1-OPTS-NEXT:         Live Variable Analysis
616; GCN-O1-OPTS-NEXT:         Eliminate PHI nodes for register allocation
617; GCN-O1-OPTS-NEXT:         SI Lower control flow pseudo instructions
618; GCN-O1-OPTS-NEXT:         Two-Address instruction pass
619; GCN-O1-OPTS-NEXT:         MachineDominator Tree Construction
620; GCN-O1-OPTS-NEXT:         Slot index numbering
621; GCN-O1-OPTS-NEXT:         Live Interval Analysis
622; GCN-O1-OPTS-NEXT:         Machine Natural Loop Construction
623; GCN-O1-OPTS-NEXT:         Simple Register Coalescing
624; GCN-O1-OPTS-NEXT:         Rename Disconnected Subregister Components
625; GCN-O1-OPTS-NEXT:         Machine Instruction Scheduler
626; GCN-O1-OPTS-NEXT:         MachinePostDominator Tree Construction
627; GCN-O1-OPTS-NEXT:         SI Whole Quad Mode
628; GCN-O1-OPTS-NEXT:         Virtual Register Map
629; GCN-O1-OPTS-NEXT:         Live Register Matrix
630; GCN-O1-OPTS-NEXT:         SI Pre-allocate WWM Registers
631; GCN-O1-OPTS-NEXT:         SI optimize exec mask operations pre-RA
632; GCN-O1-OPTS-NEXT:         SI Form memory clauses
633; GCN-O1-OPTS-NEXT:         Machine Natural Loop Construction
634; GCN-O1-OPTS-NEXT:         Machine Block Frequency Analysis
635; GCN-O1-OPTS-NEXT:         Debug Variable Analysis
636; GCN-O1-OPTS-NEXT:         Live Stack Slot Analysis
637; GCN-O1-OPTS-NEXT:         Virtual Register Map
638; GCN-O1-OPTS-NEXT:         Live Register Matrix
639; GCN-O1-OPTS-NEXT:         Bundle Machine CFG Edges
640; GCN-O1-OPTS-NEXT:         Spill Code Placement Analysis
641; GCN-O1-OPTS-NEXT:         Lazy Machine Block Frequency Analysis
642; GCN-O1-OPTS-NEXT:         Machine Optimization Remark Emitter
643; GCN-O1-OPTS-NEXT:         Greedy Register Allocator
644; GCN-O1-OPTS-NEXT:         GCN NSA Reassign
645; GCN-O1-OPTS-NEXT:         Virtual Register Rewriter
646; GCN-O1-OPTS-NEXT:         Stack Slot Coloring
647; GCN-O1-OPTS-NEXT:         Machine Copy Propagation Pass
648; GCN-O1-OPTS-NEXT:         Machine Loop Invariant Code Motion
649; GCN-O1-OPTS-NEXT:         SI Fix VGPR copies
650; GCN-O1-OPTS-NEXT:         SI optimize exec mask operations
651; GCN-O1-OPTS-NEXT:         SI lower SGPR spill instructions
652; GCN-O1-OPTS-NEXT:         Fixup Statepoint Caller Saved
653; GCN-O1-OPTS-NEXT:         PostRA Machine Sink
654; GCN-O1-OPTS-NEXT:         MachineDominator Tree Construction
655; GCN-O1-OPTS-NEXT:         Machine Natural Loop Construction
656; GCN-O1-OPTS-NEXT:         Machine Block Frequency Analysis
657; GCN-O1-OPTS-NEXT:         MachinePostDominator Tree Construction
658; GCN-O1-OPTS-NEXT:         Lazy Machine Block Frequency Analysis
659; GCN-O1-OPTS-NEXT:         Machine Optimization Remark Emitter
660; GCN-O1-OPTS-NEXT:         Shrink Wrapping analysis
661; GCN-O1-OPTS-NEXT:         Prologue/Epilogue Insertion & Frame Finalization
662; GCN-O1-OPTS-NEXT:         Control Flow Optimizer
663; GCN-O1-OPTS-NEXT:         Lazy Machine Block Frequency Analysis
664; GCN-O1-OPTS-NEXT:         Tail Duplication
665; GCN-O1-OPTS-NEXT:         Machine Copy Propagation Pass
666; GCN-O1-OPTS-NEXT:         Post-RA pseudo instruction expansion pass
667; GCN-O1-OPTS-NEXT:         SI post-RA bundler
668; GCN-O1-OPTS-NEXT:         MachineDominator Tree Construction
669; GCN-O1-OPTS-NEXT:         Machine Natural Loop Construction
670; GCN-O1-OPTS-NEXT:         Post RA top-down list latency scheduler
671; GCN-O1-OPTS-NEXT:         Machine Block Frequency Analysis
672; GCN-O1-OPTS-NEXT:         MachinePostDominator Tree Construction
673; GCN-O1-OPTS-NEXT:         Branch Probability Basic Block Placement
674; GCN-O1-OPTS-NEXT:         Insert fentry calls
675; GCN-O1-OPTS-NEXT:         Insert XRay ops
676; GCN-O1-OPTS-NEXT:         SI Memory Legalizer
677; GCN-O1-OPTS-NEXT:         MachinePostDominator Tree Construction
678; GCN-O1-OPTS-NEXT:         SI insert wait instructions
679; GCN-O1-OPTS-NEXT:         SI Shrink Instructions
680; GCN-O1-OPTS-NEXT:         Insert required mode register values
681; GCN-O1-OPTS-NEXT:         SI Insert Hard Clauses
682; GCN-O1-OPTS-NEXT:         MachineDominator Tree Construction
683; GCN-O1-OPTS-NEXT:         SI Final Branch Preparation
684; GCN-O1-OPTS-NEXT:         SI peephole optimizations
685; GCN-O1-OPTS-NEXT:         Post RA hazard recognizer
686; GCN-O1-OPTS-NEXT:         Branch relaxation pass
687; GCN-O1-OPTS-NEXT:         Register Usage Information Collector Pass
688; GCN-O1-OPTS-NEXT:         Live DEBUG_VALUE analysis
689; GCN-O1-OPTS-NEXT:         Lazy Machine Block Frequency Analysis
690; GCN-O1-OPTS-NEXT:         Machine Optimization Remark Emitter
691; GCN-O1-OPTS-NEXT:         AMDGPU Assembly Printer
692; GCN-O1-OPTS-NEXT:         Free MachineFunction
693; GCN-O1-OPTS-NEXT: Pass Arguments:  -domtree
694; GCN-O1-OPTS-NEXT:   FunctionPass Manager
695; GCN-O1-OPTS-NEXT:     Dominator Tree Construction
696
697; GCN-O2: Target Library Information
698; GCN-O2-NEXT: Target Pass Configuration
699; GCN-O2-NEXT: Machine Module Information
700; GCN-O2-NEXT: Target Transform Information
701; GCN-O2-NEXT: Assumption Cache Tracker
702; GCN-O2-NEXT: Profile summary info
703; GCN-O2-NEXT: AMDGPU Address space based Alias Analysis
704; GCN-O2-NEXT: External Alias Analysis
705; GCN-O2-NEXT: Type-Based Alias Analysis
706; GCN-O2-NEXT: Scoped NoAlias Alias Analysis
707; GCN-O2-NEXT: Create Garbage Collector Module Metadata
708; GCN-O2-NEXT: Argument Register Usage Information Storage
709; GCN-O2-NEXT: Machine Branch Probability Analysis
710; GCN-O2-NEXT: Register Usage Information Storage
711; GCN-O2-NEXT:   ModulePass Manager
712; GCN-O2-NEXT:     Pre-ISel Intrinsic Lowering
713; GCN-O2-NEXT:     AMDGPU Printf lowering
714; GCN-O2-NEXT:       FunctionPass Manager
715; GCN-O2-NEXT:         Dominator Tree Construction
716; GCN-O2-NEXT:     Fix function bitcasts for AMDGPU
717; GCN-O2-NEXT:     FunctionPass Manager
718; GCN-O2-NEXT:       Early propagate attributes from kernels to functions
719; GCN-O2-NEXT:       Expand Atomic instructions
720; GCN-O2-NEXT:     AMDGPU Lower Intrinsics
721; GCN-O2-NEXT:     AMDGPU Inline All Functions
722; GCN-O2-NEXT:     CallGraph Construction
723; GCN-O2-NEXT:     Call Graph SCC Pass Manager
724; GCN-O2-NEXT:       Inliner for always_inline functions
725; GCN-O2-NEXT:     A No-Op Barrier Pass
726; GCN-O2-NEXT:     Lower OpenCL enqueued blocks
727; GCN-O2-NEXT:     Lower uses of LDS variables from non-kernel functions
728; GCN-O2-NEXT:     FunctionPass Manager
729; GCN-O2-NEXT:       Infer address spaces
730; GCN-O2-NEXT:       AMDGPU Promote Alloca
731; GCN-O2-NEXT:       Dominator Tree Construction
732; GCN-O2-NEXT:       SROA
733; GCN-O2-NEXT:       Basic Alias Analysis (stateless AA impl)
734; GCN-O2-NEXT:       Function Alias Analysis Results
735; GCN-O2-NEXT:       Memory SSA
736; GCN-O2-NEXT:       Natural Loop Information
737; GCN-O2-NEXT:       Canonicalize natural loops
738; GCN-O2-NEXT:       LCSSA Verifier
739; GCN-O2-NEXT:       Loop-Closed SSA Form Pass
740; GCN-O2-NEXT:       Scalar Evolution Analysis
741; GCN-O2-NEXT:       Lazy Branch Probability Analysis
742; GCN-O2-NEXT:       Lazy Block Frequency Analysis
743; GCN-O2-NEXT:       Loop Pass Manager
744; GCN-O2-NEXT:         Loop Invariant Code Motion
745; GCN-O2-NEXT:       Split GEPs to a variadic base and a constant offset for better CSE
746; GCN-O2-NEXT:       Speculatively execute instructions
747; GCN-O2-NEXT:       Scalar Evolution Analysis
748; GCN-O2-NEXT:       Straight line strength reduction
749; GCN-O2-NEXT:       Early CSE
750; GCN-O2-NEXT:       Scalar Evolution Analysis
751; GCN-O2-NEXT:       Nary reassociation
752; GCN-O2-NEXT:       Early CSE
753; GCN-O2-NEXT:       Post-Dominator Tree Construction
754; GCN-O2-NEXT:       Legacy Divergence Analysis
755; GCN-O2-NEXT:       AMDGPU IR optimizations
756; GCN-O2-NEXT:       Canonicalize natural loops
757; GCN-O2-NEXT:       Scalar Evolution Analysis
758; GCN-O2-NEXT:       Loop Pass Manager
759; GCN-O2-NEXT:         Canonicalize Freeze Instructions in Loops
760; GCN-O2-NEXT:         Induction Variable Users
761; GCN-O2-NEXT:         Loop Strength Reduction
762; GCN-O2-NEXT:       Basic Alias Analysis (stateless AA impl)
763; GCN-O2-NEXT:       Function Alias Analysis Results
764; GCN-O2-NEXT:       Merge contiguous icmps into a memcmp
765; GCN-O2-NEXT:       Natural Loop Information
766; GCN-O2-NEXT:       Lazy Branch Probability Analysis
767; GCN-O2-NEXT:       Lazy Block Frequency Analysis
768; GCN-O2-NEXT:       Expand memcmp() to load/stores
769; GCN-O2-NEXT:       Lower Garbage Collection Instructions
770; GCN-O2-NEXT:       Shadow Stack GC Lowering
771; GCN-O2-NEXT:       Lower constant intrinsics
772; GCN-O2-NEXT:       Remove unreachable blocks from the CFG
773; GCN-O2-NEXT:       Natural Loop Information
774; GCN-O2-NEXT:       Post-Dominator Tree Construction
775; GCN-O2-NEXT:       Branch Probability Analysis
776; GCN-O2-NEXT:       Block Frequency Analysis
777; GCN-O2-NEXT:       Constant Hoisting
778; GCN-O2-NEXT:       Replace intrinsics with calls to vector library
779; GCN-O2-NEXT:       Partially inline calls to library functions
780; GCN-O2-NEXT:       Expand vector predication intrinsics
781; GCN-O2-NEXT:       Scalarize Masked Memory Intrinsics
782; GCN-O2-NEXT:       Expand reduction intrinsics
783; GCN-O2-NEXT:       Early CSE
784; GCN-O2-NEXT:     CallGraph Construction
785; GCN-O2-NEXT:     Call Graph SCC Pass Manager
786; GCN-O2-NEXT:       AMDGPU Annotate Kernel Features
787; GCN-O2-NEXT:       FunctionPass Manager
788; GCN-O2-NEXT:         AMDGPU Lower Kernel Arguments
789; GCN-O2-NEXT:       Analysis if a function is memory bound
790; GCN-O2-NEXT:       FunctionPass Manager
791; GCN-O2-NEXT:         Dominator Tree Construction
792; GCN-O2-NEXT:         Natural Loop Information
793; GCN-O2-NEXT:         CodeGen Prepare
794; GCN-O2-NEXT:     Rewrite Symbols
795; GCN-O2-NEXT:     FunctionPass Manager
796; GCN-O2-NEXT:       Dominator Tree Construction
797; GCN-O2-NEXT:       Basic Alias Analysis (stateless AA impl)
798; GCN-O2-NEXT:       Function Alias Analysis Results
799; GCN-O2-NEXT:       Natural Loop Information
800; GCN-O2-NEXT:       Scalar Evolution Analysis
801; GCN-O2-NEXT:       GPU Load and Store Vectorizer
802; GCN-O2-NEXT:       Lazy Value Information Analysis
803; GCN-O2-NEXT:       Lower SwitchInst's to branches
804; GCN-O2-NEXT:       Lower invoke and unwind, for unwindless code generators
805; GCN-O2-NEXT:       Remove unreachable blocks from the CFG
806; GCN-O2-NEXT:       Dominator Tree Construction
807; GCN-O2-NEXT:       Basic Alias Analysis (stateless AA impl)
808; GCN-O2-NEXT:       Function Alias Analysis Results
809; GCN-O2-NEXT:       Flatten the CFG
810; GCN-O2-NEXT:       Dominator Tree Construction
811; GCN-O2-NEXT:       Post-Dominator Tree Construction
812; GCN-O2-NEXT:       Natural Loop Information
813; GCN-O2-NEXT:       Legacy Divergence Analysis
814; GCN-O2-NEXT:       AMDGPU IR late optimizations
815; GCN-O2-NEXT:       Unify divergent function exit nodes
816; GCN-O2-NEXT:       Lazy Value Information Analysis
817; GCN-O2-NEXT:       Lower SwitchInst's to branches
818; GCN-O2-NEXT:       Dominator Tree Construction
819; GCN-O2-NEXT:       Natural Loop Information
820; GCN-O2-NEXT:       Convert irreducible control-flow into natural loops
821; GCN-O2-NEXT:       Fixup each natural loop to have a single exit block
822; GCN-O2-NEXT:       Post-Dominator Tree Construction
823; GCN-O2-NEXT:       Dominance Frontier Construction
824; GCN-O2-NEXT:       Detect single entry single exit regions
825; GCN-O2-NEXT:       Region Pass Manager
826; GCN-O2-NEXT:         Structurize control flow
827; GCN-O2-NEXT:       Basic Alias Analysis (stateless AA impl)
828; GCN-O2-NEXT:       Function Alias Analysis Results
829; GCN-O2-NEXT:       Natural Loop Information
830; GCN-O2-NEXT:       Code sinking
831; GCN-O2-NEXT:       Post-Dominator Tree Construction
832; GCN-O2-NEXT:       Legacy Divergence Analysis
833; GCN-O2-NEXT:       Function Alias Analysis Results
834; GCN-O2-NEXT:       Memory SSA
835; GCN-O2-NEXT:       AMDGPU Annotate Uniform Values
836; GCN-O2-NEXT:       SI annotate control flow
837; GCN-O2-NEXT:       Natural Loop Information
838; GCN-O2-NEXT:       LCSSA Verifier
839; GCN-O2-NEXT:       Loop-Closed SSA Form Pass
840; GCN-O2-NEXT:     CallGraph Construction
841; GCN-O2-NEXT:     Call Graph SCC Pass Manager
842; GCN-O2-NEXT:       DummyCGSCCPass
843; GCN-O2-NEXT:       FunctionPass Manager
844; GCN-O2-NEXT:         Safe Stack instrumentation pass
845; GCN-O2-NEXT:         Insert stack protectors
846; GCN-O2-NEXT:         Dominator Tree Construction
847; GCN-O2-NEXT:         Post-Dominator Tree Construction
848; GCN-O2-NEXT:         Natural Loop Information
849; GCN-O2-NEXT:         Legacy Divergence Analysis
850; GCN-O2-NEXT:         Basic Alias Analysis (stateless AA impl)
851; GCN-O2-NEXT:         Function Alias Analysis Results
852; GCN-O2-NEXT:         Branch Probability Analysis
853; GCN-O2-NEXT:         Lazy Branch Probability Analysis
854; GCN-O2-NEXT:         Lazy Block Frequency Analysis
855; GCN-O2-NEXT:         AMDGPU DAG->DAG Pattern Instruction Selection
856; GCN-O2-NEXT:         MachineDominator Tree Construction
857; GCN-O2-NEXT:         SI Fix SGPR copies
858; GCN-O2-NEXT:         MachinePostDominator Tree Construction
859; GCN-O2-NEXT:         SI Lower i1 Copies
860; GCN-O2-NEXT:         Finalize ISel and expand pseudo-instructions
861; GCN-O2-NEXT:         Lazy Machine Block Frequency Analysis
862; GCN-O2-NEXT:         Early Tail Duplication
863; GCN-O2-NEXT:         Optimize machine instruction PHIs
864; GCN-O2-NEXT:         Slot index numbering
865; GCN-O2-NEXT:         Merge disjoint stack slots
866; GCN-O2-NEXT:         Local Stack Slot Allocation
867; GCN-O2-NEXT:         Remove dead machine instructions
868; GCN-O2-NEXT:         MachineDominator Tree Construction
869; GCN-O2-NEXT:         Machine Natural Loop Construction
870; GCN-O2-NEXT:         Machine Block Frequency Analysis
871; GCN-O2-NEXT:         Early Machine Loop Invariant Code Motion
872; GCN-O2-NEXT:         MachineDominator Tree Construction
873; GCN-O2-NEXT:         Machine Block Frequency Analysis
874; GCN-O2-NEXT:         Machine Common Subexpression Elimination
875; GCN-O2-NEXT:         MachinePostDominator Tree Construction
876; GCN-O2-NEXT:         Machine code sinking
877; GCN-O2-NEXT:         Peephole Optimizations
878; GCN-O2-NEXT:         Remove dead machine instructions
879; GCN-O2-NEXT:         SI Fold Operands
880; GCN-O2-NEXT:         GCN DPP Combine
881; GCN-O2-NEXT:         SI Load Store Optimizer
882; GCN-O2-NEXT:         SI Peephole SDWA
883; GCN-O2-NEXT:         Machine Block Frequency Analysis
884; GCN-O2-NEXT:         MachineDominator Tree Construction
885; GCN-O2-NEXT:         Early Machine Loop Invariant Code Motion
886; GCN-O2-NEXT:         MachineDominator Tree Construction
887; GCN-O2-NEXT:         Machine Block Frequency Analysis
888; GCN-O2-NEXT:         Machine Common Subexpression Elimination
889; GCN-O2-NEXT:         SI Fold Operands
890; GCN-O2-NEXT:         Remove dead machine instructions
891; GCN-O2-NEXT:         SI Shrink Instructions
892; GCN-O2-NEXT:         Register Usage Information Propagation
893; GCN-O2-NEXT:         Detect Dead Lanes
894; GCN-O2-NEXT:         Remove dead machine instructions
895; GCN-O2-NEXT:         Process Implicit Definitions
896; GCN-O2-NEXT:         Remove unreachable machine basic blocks
897; GCN-O2-NEXT:         Live Variable Analysis
898; GCN-O2-NEXT:         Eliminate PHI nodes for register allocation
899; GCN-O2-NEXT:         SI Lower control flow pseudo instructions
900; GCN-O2-NEXT:         Two-Address instruction pass
901; GCN-O2-NEXT:         MachineDominator Tree Construction
902; GCN-O2-NEXT:         Slot index numbering
903; GCN-O2-NEXT:         Live Interval Analysis
904; GCN-O2-NEXT:         Machine Natural Loop Construction
905; GCN-O2-NEXT:         Simple Register Coalescing
906; GCN-O2-NEXT:         Rename Disconnected Subregister Components
907; GCN-O2-NEXT:         Machine Instruction Scheduler
908; GCN-O2-NEXT:         MachinePostDominator Tree Construction
909; GCN-O2-NEXT:         SI Whole Quad Mode
910; GCN-O2-NEXT:         Virtual Register Map
911; GCN-O2-NEXT:         Live Register Matrix
912; GCN-O2-NEXT:         SI Pre-allocate WWM Registers
913; GCN-O2-NEXT:         SI optimize exec mask operations pre-RA
914; GCN-O2-NEXT:         SI Form memory clauses
915; GCN-O2-NEXT:         Machine Natural Loop Construction
916; GCN-O2-NEXT:         Machine Block Frequency Analysis
917; GCN-O2-NEXT:         Debug Variable Analysis
918; GCN-O2-NEXT:         Live Stack Slot Analysis
919; GCN-O2-NEXT:         Virtual Register Map
920; GCN-O2-NEXT:         Live Register Matrix
921; GCN-O2-NEXT:         Bundle Machine CFG Edges
922; GCN-O2-NEXT:         Spill Code Placement Analysis
923; GCN-O2-NEXT:         Lazy Machine Block Frequency Analysis
924; GCN-O2-NEXT:         Machine Optimization Remark Emitter
925; GCN-O2-NEXT:         Greedy Register Allocator
926; GCN-O2-NEXT:         GCN NSA Reassign
927; GCN-O2-NEXT:         Virtual Register Rewriter
928; GCN-O2-NEXT:         Stack Slot Coloring
929; GCN-O2-NEXT:         Machine Copy Propagation Pass
930; GCN-O2-NEXT:         Machine Loop Invariant Code Motion
931; GCN-O2-NEXT:         SI Fix VGPR copies
932; GCN-O2-NEXT:         SI optimize exec mask operations
933; GCN-O2-NEXT:         SI lower SGPR spill instructions
934; GCN-O2-NEXT:         Fixup Statepoint Caller Saved
935; GCN-O2-NEXT:         PostRA Machine Sink
936; GCN-O2-NEXT:         MachineDominator Tree Construction
937; GCN-O2-NEXT:         Machine Natural Loop Construction
938; GCN-O2-NEXT:         Machine Block Frequency Analysis
939; GCN-O2-NEXT:         MachinePostDominator Tree Construction
940; GCN-O2-NEXT:         Lazy Machine Block Frequency Analysis
941; GCN-O2-NEXT:         Machine Optimization Remark Emitter
942; GCN-O2-NEXT:         Shrink Wrapping analysis
943; GCN-O2-NEXT:         Prologue/Epilogue Insertion & Frame Finalization
944; GCN-O2-NEXT:         Control Flow Optimizer
945; GCN-O2-NEXT:         Lazy Machine Block Frequency Analysis
946; GCN-O2-NEXT:         Tail Duplication
947; GCN-O2-NEXT:         Machine Copy Propagation Pass
948; GCN-O2-NEXT:         Post-RA pseudo instruction expansion pass
949; GCN-O2-NEXT:         SI post-RA bundler
950; GCN-O2-NEXT:         MachineDominator Tree Construction
951; GCN-O2-NEXT:         Machine Natural Loop Construction
952; GCN-O2-NEXT:         Post RA top-down list latency scheduler
953; GCN-O2-NEXT:         Machine Block Frequency Analysis
954; GCN-O2-NEXT:         MachinePostDominator Tree Construction
955; GCN-O2-NEXT:         Branch Probability Basic Block Placement
956; GCN-O2-NEXT:         Insert fentry calls
957; GCN-O2-NEXT:         Insert XRay ops
958; GCN-O2-NEXT:         SI Memory Legalizer
959; GCN-O2-NEXT:         MachinePostDominator Tree Construction
960; GCN-O2-NEXT:         SI insert wait instructions
961; GCN-O2-NEXT:         SI Shrink Instructions
962; GCN-O2-NEXT:         Insert required mode register values
963; GCN-O2-NEXT:         SI Insert Hard Clauses
964; GCN-O2-NEXT:         MachineDominator Tree Construction
965; GCN-O2-NEXT:         SI Final Branch Preparation
966; GCN-O2-NEXT:         SI peephole optimizations
967; GCN-O2-NEXT:         Post RA hazard recognizer
968; GCN-O2-NEXT:         Branch relaxation pass
969; GCN-O2-NEXT:         Register Usage Information Collector Pass
970; GCN-O2-NEXT:         Live DEBUG_VALUE analysis
971; GCN-O2-NEXT:         Lazy Machine Block Frequency Analysis
972; GCN-O2-NEXT:         Machine Optimization Remark Emitter
973; GCN-O2-NEXT:         AMDGPU Assembly Printer
974; GCN-O2-NEXT:         Free MachineFunction
975; GCN-O2-NEXT: Pass Arguments:  -domtree
976; GCN-O2-NEXT:   FunctionPass Manager
977; GCN-O2-NEXT:     Dominator Tree Construction
978
979; GCN-O3: Target Library Information
980; GCN-O3-NEXT: Target Pass Configuration
981; GCN-O3-NEXT: Machine Module Information
982; GCN-O3-NEXT: Target Transform Information
983; GCN-O3-NEXT: Assumption Cache Tracker
984; GCN-O3-NEXT: Profile summary info
985; GCN-O3-NEXT: AMDGPU Address space based Alias Analysis
986; GCN-O3-NEXT: External Alias Analysis
987; GCN-O3-NEXT: Type-Based Alias Analysis
988; GCN-O3-NEXT: Scoped NoAlias Alias Analysis
989; GCN-O3-NEXT: Create Garbage Collector Module Metadata
990; GCN-O3-NEXT: Argument Register Usage Information Storage
991; GCN-O3-NEXT: Machine Branch Probability Analysis
992; GCN-O3-NEXT: Register Usage Information Storage
993; GCN-O3-NEXT:   ModulePass Manager
994; GCN-O3-NEXT:     Pre-ISel Intrinsic Lowering
995; GCN-O3-NEXT:     AMDGPU Printf lowering
996; GCN-O3-NEXT:       FunctionPass Manager
997; GCN-O3-NEXT:         Dominator Tree Construction
998; GCN-O3-NEXT:     Fix function bitcasts for AMDGPU
999; GCN-O3-NEXT:     FunctionPass Manager
1000; GCN-O3-NEXT:       Early propagate attributes from kernels to functions
1001; GCN-O3-NEXT:       Expand Atomic instructions
1002; GCN-O3-NEXT:     AMDGPU Lower Intrinsics
1003; GCN-O3-NEXT:     AMDGPU Inline All Functions
1004; GCN-O3-NEXT:     CallGraph Construction
1005; GCN-O3-NEXT:     Call Graph SCC Pass Manager
1006; GCN-O3-NEXT:       Inliner for always_inline functions
1007; GCN-O3-NEXT:     A No-Op Barrier Pass
1008; GCN-O3-NEXT:     Lower OpenCL enqueued blocks
1009; GCN-O3-NEXT:     Lower uses of LDS variables from non-kernel functions
1010; GCN-O3-NEXT:     FunctionPass Manager
1011; GCN-O3-NEXT:       Infer address spaces
1012; GCN-O3-NEXT:       AMDGPU Promote Alloca
1013; GCN-O3-NEXT:       Dominator Tree Construction
1014; GCN-O3-NEXT:       SROA
1015; GCN-O3-NEXT:       Basic Alias Analysis (stateless AA impl)
1016; GCN-O3-NEXT:       Function Alias Analysis Results
1017; GCN-O3-NEXT:       Memory SSA
1018; GCN-O3-NEXT:       Natural Loop Information
1019; GCN-O3-NEXT:       Canonicalize natural loops
1020; GCN-O3-NEXT:       LCSSA Verifier
1021; GCN-O3-NEXT:       Loop-Closed SSA Form Pass
1022; GCN-O3-NEXT:       Scalar Evolution Analysis
1023; GCN-O3-NEXT:       Lazy Branch Probability Analysis
1024; GCN-O3-NEXT:       Lazy Block Frequency Analysis
1025; GCN-O3-NEXT:       Loop Pass Manager
1026; GCN-O3-NEXT:         Loop Invariant Code Motion
1027; GCN-O3-NEXT:       Split GEPs to a variadic base and a constant offset for better CSE
1028; GCN-O3-NEXT:       Speculatively execute instructions
1029; GCN-O3-NEXT:       Scalar Evolution Analysis
1030; GCN-O3-NEXT:       Straight line strength reduction
1031; GCN-O3-NEXT:       Phi Values Analysis
1032; GCN-O3-NEXT:       Function Alias Analysis Results
1033; GCN-O3-NEXT:       Memory Dependence Analysis
1034; GCN-O3-NEXT:       Optimization Remark Emitter
1035; GCN-O3-NEXT:       Global Value Numbering
1036; GCN-O3-NEXT:       Scalar Evolution Analysis
1037; GCN-O3-NEXT:       Nary reassociation
1038; GCN-O3-NEXT:       Early CSE
1039; GCN-O3-NEXT:       Post-Dominator Tree Construction
1040; GCN-O3-NEXT:       Legacy Divergence Analysis
1041; GCN-O3-NEXT:       AMDGPU IR optimizations
1042; GCN-O3-NEXT:       Basic Alias Analysis (stateless AA impl)
1043; GCN-O3-NEXT:       Canonicalize natural loops
1044; GCN-O3-NEXT:       Scalar Evolution Analysis
1045; GCN-O3-NEXT:       Loop Pass Manager
1046; GCN-O3-NEXT:         Canonicalize Freeze Instructions in Loops
1047; GCN-O3-NEXT:         Induction Variable Users
1048; GCN-O3-NEXT:         Loop Strength Reduction
1049; GCN-O3-NEXT:       Basic Alias Analysis (stateless AA impl)
1050; GCN-O3-NEXT:       Function Alias Analysis Results
1051; GCN-O3-NEXT:       Merge contiguous icmps into a memcmp
1052; GCN-O3-NEXT:       Natural Loop Information
1053; GCN-O3-NEXT:       Lazy Branch Probability Analysis
1054; GCN-O3-NEXT:       Lazy Block Frequency Analysis
1055; GCN-O3-NEXT:       Expand memcmp() to load/stores
1056; GCN-O3-NEXT:       Lower Garbage Collection Instructions
1057; GCN-O3-NEXT:       Shadow Stack GC Lowering
1058; GCN-O3-NEXT:       Lower constant intrinsics
1059; GCN-O3-NEXT:       Remove unreachable blocks from the CFG
1060; GCN-O3-NEXT:       Natural Loop Information
1061; GCN-O3-NEXT:       Post-Dominator Tree Construction
1062; GCN-O3-NEXT:       Branch Probability Analysis
1063; GCN-O3-NEXT:       Block Frequency Analysis
1064; GCN-O3-NEXT:       Constant Hoisting
1065; GCN-O3-NEXT:       Replace intrinsics with calls to vector library
1066; GCN-O3-NEXT:       Partially inline calls to library functions
1067; GCN-O3-NEXT:       Expand vector predication intrinsics
1068; GCN-O3-NEXT:       Scalarize Masked Memory Intrinsics
1069; GCN-O3-NEXT:       Expand reduction intrinsics
1070; GCN-O3-NEXT:       Natural Loop Information
1071; GCN-O3-NEXT:       Phi Values Analysis
1072; GCN-O3-NEXT:       Basic Alias Analysis (stateless AA impl)
1073; GCN-O3-NEXT:       Function Alias Analysis Results
1074; GCN-O3-NEXT:       Memory Dependence Analysis
1075; GCN-O3-NEXT:       Lazy Branch Probability Analysis
1076; GCN-O3-NEXT:       Lazy Block Frequency Analysis
1077; GCN-O3-NEXT:       Optimization Remark Emitter
1078; GCN-O3-NEXT:       Global Value Numbering
1079; GCN-O3-NEXT:     CallGraph Construction
1080; GCN-O3-NEXT:     Call Graph SCC Pass Manager
1081; GCN-O3-NEXT:       AMDGPU Annotate Kernel Features
1082; GCN-O3-NEXT:       FunctionPass Manager
1083; GCN-O3-NEXT:         AMDGPU Lower Kernel Arguments
1084; GCN-O3-NEXT:       Analysis if a function is memory bound
1085; GCN-O3-NEXT:       FunctionPass Manager
1086; GCN-O3-NEXT:         Dominator Tree Construction
1087; GCN-O3-NEXT:         Natural Loop Information
1088; GCN-O3-NEXT:         CodeGen Prepare
1089; GCN-O3-NEXT:     Rewrite Symbols
1090; GCN-O3-NEXT:     FunctionPass Manager
1091; GCN-O3-NEXT:       Dominator Tree Construction
1092; GCN-O3-NEXT:       Basic Alias Analysis (stateless AA impl)
1093; GCN-O3-NEXT:       Function Alias Analysis Results
1094; GCN-O3-NEXT:       Natural Loop Information
1095; GCN-O3-NEXT:       Scalar Evolution Analysis
1096; GCN-O3-NEXT:       GPU Load and Store Vectorizer
1097; GCN-O3-NEXT:       Lazy Value Information Analysis
1098; GCN-O3-NEXT:       Lower SwitchInst's to branches
1099; GCN-O3-NEXT:       Lower invoke and unwind, for unwindless code generators
1100; GCN-O3-NEXT:       Remove unreachable blocks from the CFG
1101; GCN-O3-NEXT:       Dominator Tree Construction
1102; GCN-O3-NEXT:       Basic Alias Analysis (stateless AA impl)
1103; GCN-O3-NEXT:       Function Alias Analysis Results
1104; GCN-O3-NEXT:       Flatten the CFG
1105; GCN-O3-NEXT:       Dominator Tree Construction
1106; GCN-O3-NEXT:       Post-Dominator Tree Construction
1107; GCN-O3-NEXT:       Natural Loop Information
1108; GCN-O3-NEXT:       Legacy Divergence Analysis
1109; GCN-O3-NEXT:       AMDGPU IR late optimizations
1110; GCN-O3-NEXT:       Unify divergent function exit nodes
1111; GCN-O3-NEXT:       Lazy Value Information Analysis
1112; GCN-O3-NEXT:       Lower SwitchInst's to branches
1113; GCN-O3-NEXT:       Dominator Tree Construction
1114; GCN-O3-NEXT:       Natural Loop Information
1115; GCN-O3-NEXT:       Convert irreducible control-flow into natural loops
1116; GCN-O3-NEXT:       Fixup each natural loop to have a single exit block
1117; GCN-O3-NEXT:       Post-Dominator Tree Construction
1118; GCN-O3-NEXT:       Dominance Frontier Construction
1119; GCN-O3-NEXT:       Detect single entry single exit regions
1120; GCN-O3-NEXT:       Region Pass Manager
1121; GCN-O3-NEXT:         Structurize control flow
1122; GCN-O3-NEXT:       Basic Alias Analysis (stateless AA impl)
1123; GCN-O3-NEXT:       Function Alias Analysis Results
1124; GCN-O3-NEXT:       Natural Loop Information
1125; GCN-O3-NEXT:       Code sinking
1126; GCN-O3-NEXT:       Post-Dominator Tree Construction
1127; GCN-O3-NEXT:       Legacy Divergence Analysis
1128; GCN-O3-NEXT:       Function Alias Analysis Results
1129; GCN-O3-NEXT:       Memory SSA
1130; GCN-O3-NEXT:       AMDGPU Annotate Uniform Values
1131; GCN-O3-NEXT:       SI annotate control flow
1132; GCN-O3-NEXT:       Natural Loop Information
1133; GCN-O3-NEXT:       LCSSA Verifier
1134; GCN-O3-NEXT:       Loop-Closed SSA Form Pass
1135; GCN-O3-NEXT:     CallGraph Construction
1136; GCN-O3-NEXT:     Call Graph SCC Pass Manager
1137; GCN-O3-NEXT:       DummyCGSCCPass
1138; GCN-O3-NEXT:       FunctionPass Manager
1139; GCN-O3-NEXT:         Safe Stack instrumentation pass
1140; GCN-O3-NEXT:         Insert stack protectors
1141; GCN-O3-NEXT:         Dominator Tree Construction
1142; GCN-O3-NEXT:         Post-Dominator Tree Construction
1143; GCN-O3-NEXT:         Natural Loop Information
1144; GCN-O3-NEXT:         Legacy Divergence Analysis
1145; GCN-O3-NEXT:         Basic Alias Analysis (stateless AA impl)
1146; GCN-O3-NEXT:         Function Alias Analysis Results
1147; GCN-O3-NEXT:         Branch Probability Analysis
1148; GCN-O3-NEXT:         Lazy Branch Probability Analysis
1149; GCN-O3-NEXT:         Lazy Block Frequency Analysis
1150; GCN-O3-NEXT:         AMDGPU DAG->DAG Pattern Instruction Selection
1151; GCN-O3-NEXT:         MachineDominator Tree Construction
1152; GCN-O3-NEXT:         SI Fix SGPR copies
1153; GCN-O3-NEXT:         MachinePostDominator Tree Construction
1154; GCN-O3-NEXT:         SI Lower i1 Copies
1155; GCN-O3-NEXT:         Finalize ISel and expand pseudo-instructions
1156; GCN-O3-NEXT:         Lazy Machine Block Frequency Analysis
1157; GCN-O3-NEXT:         Early Tail Duplication
1158; GCN-O3-NEXT:         Optimize machine instruction PHIs
1159; GCN-O3-NEXT:         Slot index numbering
1160; GCN-O3-NEXT:         Merge disjoint stack slots
1161; GCN-O3-NEXT:         Local Stack Slot Allocation
1162; GCN-O3-NEXT:         Remove dead machine instructions
1163; GCN-O3-NEXT:         MachineDominator Tree Construction
1164; GCN-O3-NEXT:         Machine Natural Loop Construction
1165; GCN-O3-NEXT:         Machine Block Frequency Analysis
1166; GCN-O3-NEXT:         Early Machine Loop Invariant Code Motion
1167; GCN-O3-NEXT:         MachineDominator Tree Construction
1168; GCN-O3-NEXT:         Machine Block Frequency Analysis
1169; GCN-O3-NEXT:         Machine Common Subexpression Elimination
1170; GCN-O3-NEXT:         MachinePostDominator Tree Construction
1171; GCN-O3-NEXT:         Machine code sinking
1172; GCN-O3-NEXT:         Peephole Optimizations
1173; GCN-O3-NEXT:         Remove dead machine instructions
1174; GCN-O3-NEXT:         SI Fold Operands
1175; GCN-O3-NEXT:         GCN DPP Combine
1176; GCN-O3-NEXT:         SI Load Store Optimizer
1177; GCN-O3-NEXT:         SI Peephole SDWA
1178; GCN-O3-NEXT:         Machine Block Frequency Analysis
1179; GCN-O3-NEXT:         MachineDominator Tree Construction
1180; GCN-O3-NEXT:         Early Machine Loop Invariant Code Motion
1181; GCN-O3-NEXT:         MachineDominator Tree Construction
1182; GCN-O3-NEXT:         Machine Block Frequency Analysis
1183; GCN-O3-NEXT:         Machine Common Subexpression Elimination
1184; GCN-O3-NEXT:         SI Fold Operands
1185; GCN-O3-NEXT:         Remove dead machine instructions
1186; GCN-O3-NEXT:         SI Shrink Instructions
1187; GCN-O3-NEXT:         Register Usage Information Propagation
1188; GCN-O3-NEXT:         Detect Dead Lanes
1189; GCN-O3-NEXT:         Remove dead machine instructions
1190; GCN-O3-NEXT:         Process Implicit Definitions
1191; GCN-O3-NEXT:         Remove unreachable machine basic blocks
1192; GCN-O3-NEXT:         Live Variable Analysis
1193; GCN-O3-NEXT:         Eliminate PHI nodes for register allocation
1194; GCN-O3-NEXT:         SI Lower control flow pseudo instructions
1195; GCN-O3-NEXT:         Two-Address instruction pass
1196; GCN-O3-NEXT:         MachineDominator Tree Construction
1197; GCN-O3-NEXT:         Slot index numbering
1198; GCN-O3-NEXT:         Live Interval Analysis
1199; GCN-O3-NEXT:         Machine Natural Loop Construction
1200; GCN-O3-NEXT:         Simple Register Coalescing
1201; GCN-O3-NEXT:         Rename Disconnected Subregister Components
1202; GCN-O3-NEXT:         Machine Instruction Scheduler
1203; GCN-O3-NEXT:         MachinePostDominator Tree Construction
1204; GCN-O3-NEXT:         SI Whole Quad Mode
1205; GCN-O3-NEXT:         Virtual Register Map
1206; GCN-O3-NEXT:         Live Register Matrix
1207; GCN-O3-NEXT:         SI Pre-allocate WWM Registers
1208; GCN-O3-NEXT:         SI optimize exec mask operations pre-RA
1209; GCN-O3-NEXT:         SI Form memory clauses
1210; GCN-O3-NEXT:         Machine Natural Loop Construction
1211; GCN-O3-NEXT:         Machine Block Frequency Analysis
1212; GCN-O3-NEXT:         Debug Variable Analysis
1213; GCN-O3-NEXT:         Live Stack Slot Analysis
1214; GCN-O3-NEXT:         Virtual Register Map
1215; GCN-O3-NEXT:         Live Register Matrix
1216; GCN-O3-NEXT:         Bundle Machine CFG Edges
1217; GCN-O3-NEXT:         Spill Code Placement Analysis
1218; GCN-O3-NEXT:         Lazy Machine Block Frequency Analysis
1219; GCN-O3-NEXT:         Machine Optimization Remark Emitter
1220; GCN-O3-NEXT:         Greedy Register Allocator
1221; GCN-O3-NEXT:         GCN NSA Reassign
1222; GCN-O3-NEXT:         Virtual Register Rewriter
1223; GCN-O3-NEXT:         Stack Slot Coloring
1224; GCN-O3-NEXT:         Machine Copy Propagation Pass
1225; GCN-O3-NEXT:         Machine Loop Invariant Code Motion
1226; GCN-O3-NEXT:         SI Fix VGPR copies
1227; GCN-O3-NEXT:         SI optimize exec mask operations
1228; GCN-O3-NEXT:         SI lower SGPR spill instructions
1229; GCN-O3-NEXT:         Fixup Statepoint Caller Saved
1230; GCN-O3-NEXT:         PostRA Machine Sink
1231; GCN-O3-NEXT:         MachineDominator Tree Construction
1232; GCN-O3-NEXT:         Machine Natural Loop Construction
1233; GCN-O3-NEXT:         Machine Block Frequency Analysis
1234; GCN-O3-NEXT:         MachinePostDominator Tree Construction
1235; GCN-O3-NEXT:         Lazy Machine Block Frequency Analysis
1236; GCN-O3-NEXT:         Machine Optimization Remark Emitter
1237; GCN-O3-NEXT:         Shrink Wrapping analysis
1238; GCN-O3-NEXT:         Prologue/Epilogue Insertion & Frame Finalization
1239; GCN-O3-NEXT:         Control Flow Optimizer
1240; GCN-O3-NEXT:         Lazy Machine Block Frequency Analysis
1241; GCN-O3-NEXT:         Tail Duplication
1242; GCN-O3-NEXT:         Machine Copy Propagation Pass
1243; GCN-O3-NEXT:         Post-RA pseudo instruction expansion pass
1244; GCN-O3-NEXT:         SI post-RA bundler
1245; GCN-O3-NEXT:         MachineDominator Tree Construction
1246; GCN-O3-NEXT:         Machine Natural Loop Construction
1247; GCN-O3-NEXT:         Post RA top-down list latency scheduler
1248; GCN-O3-NEXT:         Machine Block Frequency Analysis
1249; GCN-O3-NEXT:         MachinePostDominator Tree Construction
1250; GCN-O3-NEXT:         Branch Probability Basic Block Placement
1251; GCN-O3-NEXT:         Insert fentry calls
1252; GCN-O3-NEXT:         Insert XRay ops
1253; GCN-O3-NEXT:         SI Memory Legalizer
1254; GCN-O3-NEXT:         MachinePostDominator Tree Construction
1255; GCN-O3-NEXT:         SI insert wait instructions
1256; GCN-O3-NEXT:         SI Shrink Instructions
1257; GCN-O3-NEXT:         Insert required mode register values
1258; GCN-O3-NEXT:         SI Insert Hard Clauses
1259; GCN-O3-NEXT:         MachineDominator Tree Construction
1260; GCN-O3-NEXT:         SI Final Branch Preparation
1261; GCN-O3-NEXT:         SI peephole optimizations
1262; GCN-O3-NEXT:         Post RA hazard recognizer
1263; GCN-O3-NEXT:         Branch relaxation pass
1264; GCN-O3-NEXT:         Register Usage Information Collector Pass
1265; GCN-O3-NEXT:         Live DEBUG_VALUE analysis
1266; GCN-O3-NEXT:         Lazy Machine Block Frequency Analysis
1267; GCN-O3-NEXT:         Machine Optimization Remark Emitter
1268; GCN-O3-NEXT:         AMDGPU Assembly Printer
1269; GCN-O3-NEXT:         Free MachineFunction
1270; GCN-O3-NEXT: Pass Arguments:  -domtree
1271; GCN-O3-NEXT:   FunctionPass Manager
1272; GCN-O3-NEXT:     Dominator Tree Construction
1273
1274define void @empty() {
1275  ret void
1276}
1277