1 ; When EXPENSIVE_CHECKS are enabled, the machine verifier appears between each
2 ; pass. Ignore it with 'grep -v'.
3 ; RUN: llc -mtriple=x86_64-- -O3 -debug-pass=Structure < %s -o /dev/null 2>&1 \
4 ; RUN: | grep -v 'Verify generated machine code' | FileCheck %s
8 ; CHECK-LABEL: Pass Arguments:
9 ; CHECK-NEXT: Target Library Information
10 ; CHECK-NEXT: Target Pass Configuration
11 ; CHECK-NEXT: Machine Module Information
12 ; CHECK-NEXT: Target Transform Information
13 ; CHECK-NEXT: Type-Based Alias Analysis
14 ; CHECK-NEXT: Scoped NoAlias Alias Analysis
15 ; CHECK-NEXT: Assumption Cache Tracker
16 ; CHECK-NEXT: Create Garbage Collector Module Metadata
17 ; CHECK-NEXT: Profile summary info
18 ; CHECK-NEXT: Machine Branch Probability Analysis
19 ; CHECK-NEXT: ModulePass Manager
20 ; CHECK-NEXT: Pre-ISel Intrinsic Lowering
21 ; CHECK-NEXT: FunctionPass Manager
22 ; CHECK-NEXT: Expand Atomic instructions
23 ; CHECK-NEXT: Dominator Tree Construction
24 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
25 ; CHECK-NEXT: Module Verifier
26 ; CHECK-NEXT: Natural Loop Information
27 ; CHECK-NEXT: Canonicalize natural loops
28 ; CHECK-NEXT: Scalar Evolution Analysis
29 ; CHECK-NEXT: Loop Pass Manager
30 ; CHECK-NEXT: Induction Variable Users
31 ; CHECK-NEXT: Loop Strength Reduction
32 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
33 ; CHECK-NEXT: Function Alias Analysis Results
34 ; CHECK-NEXT: Merge contiguous icmps into a memcmp
35 ; CHECK-NEXT: Expand memcmp() to load/stores
36 ; CHECK-NEXT: Lower Garbage Collection Instructions
37 ; CHECK-NEXT: Shadow Stack GC Lowering
38 ; CHECK-NEXT: Remove unreachable blocks from the CFG
39 ; CHECK-NEXT: Dominator Tree Construction
40 ; CHECK-NEXT: Natural Loop Information
41 ; CHECK-NEXT: Branch Probability Analysis
42 ; CHECK-NEXT: Block Frequency Analysis
43 ; CHECK-NEXT: Constant Hoisting
44 ; CHECK-NEXT: Partially inline calls to library functions
45 ; CHECK-NEXT: Instrument function entry/exit with calls to e.g. mcount() (post inlining)
46 ; CHECK-NEXT: Scalarize Masked Memory Intrinsics
47 ; CHECK-NEXT: Expand reduction intrinsics
48 ; CHECK-NEXT: Dominator Tree Construction
49 ; CHECK-NEXT: Interleaved Access Pass
50 ; CHECK-NEXT: Expand indirectbr instructions
51 ; CHECK-NEXT: Dominator Tree Construction
52 ; CHECK-NEXT: Natural Loop Information
53 ; CHECK-NEXT: CodeGen Prepare
54 ; CHECK-NEXT: Rewrite Symbols
55 ; CHECK-NEXT: FunctionPass Manager
56 ; CHECK-NEXT: Dominator Tree Construction
57 ; CHECK-NEXT: Exception handling preparation
58 ; CHECK-NEXT: Safe Stack instrumentation pass
59 ; CHECK-NEXT: Insert stack protectors
60 ; CHECK-NEXT: Module Verifier
61 ; CHECK-NEXT: Dominator Tree Construction
62 ; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
63 ; CHECK-NEXT: Function Alias Analysis Results
64 ; CHECK-NEXT: Natural Loop Information
65 ; CHECK-NEXT: Branch Probability Analysis
66 ; CHECK-NEXT: X86 DAG->DAG Instruction Selection
67 ; CHECK-NEXT: MachineDominator Tree Construction
68 ; CHECK-NEXT: Local Dynamic TLS Access Clean-up
69 ; CHECK-NEXT: X86 PIC Global Base Reg Initialization
70 ; CHECK-NEXT: Finalize ISel and expand pseudo-instructions
71 ; CHECK-NEXT: X86 Domain Reassignment Pass
72 ; CHECK-NEXT: Early Tail Duplication
73 ; CHECK-NEXT: Optimize machine instruction PHIs
74 ; CHECK-NEXT: Slot index numbering
75 ; CHECK-NEXT: Merge disjoint stack slots
76 ; CHECK-NEXT: Local Stack Slot Allocation
77 ; CHECK-NEXT: Remove dead machine instructions
78 ; CHECK-NEXT: MachineDominator Tree Construction
79 ; CHECK-NEXT: Machine Natural Loop Construction
80 ; CHECK-NEXT: Machine Trace Metrics
81 ; CHECK-NEXT: Early If-Conversion
82 ; CHECK-NEXT: Machine InstCombiner
83 ; CHECK-NEXT: X86 cmov Conversion
84 ; CHECK-NEXT: MachineDominator Tree Construction
85 ; CHECK-NEXT: Machine Natural Loop Construction
86 ; CHECK-NEXT: Early Machine Loop Invariant Code Motion
87 ; CHECK-NEXT: Machine Block Frequency Analysis
88 ; CHECK-NEXT: Machine Common Subexpression Elimination
89 ; CHECK-NEXT: MachinePostDominator Tree Construction
90 ; CHECK-NEXT: Machine code sinking
91 ; CHECK-NEXT: Peephole Optimizations
92 ; CHECK-NEXT: Remove dead machine instructions
93 ; CHECK-NEXT: Live Range Shrink
94 ; CHECK-NEXT: X86 Fixup SetCC
95 ; CHECK-NEXT: X86 LEA Optimize
96 ; CHECK-NEXT: X86 Optimize Call Frame
97 ; CHECK-NEXT: X86 Avoid Store Forwarding Block
98 ; CHECK-NEXT: X86 speculative load hardening
99 ; CHECK-NEXT: MachineDominator Tree Construction
100 ; CHECK-NEXT: X86 EFLAGS copy lowering
101 ; CHECK-NEXT: X86 WinAlloca Expander
102 ; CHECK-NEXT: Detect Dead Lanes
103 ; CHECK-NEXT: Process Implicit Definitions
104 ; CHECK-NEXT: Remove unreachable machine basic blocks
105 ; CHECK-NEXT: Live Variable Analysis
106 ; CHECK-NEXT: MachineDominator Tree Construction
107 ; CHECK-NEXT: Machine Natural Loop Construction
108 ; CHECK-NEXT: Eliminate PHI nodes for register allocation
109 ; CHECK-NEXT: Two-Address instruction pass
110 ; CHECK-NEXT: Slot index numbering
111 ; CHECK-NEXT: Live Interval Analysis
112 ; CHECK-NEXT: Simple Register Coalescing
113 ; CHECK-NEXT: Rename Disconnected Subregister Components
114 ; CHECK-NEXT: Machine Instruction Scheduler
115 ; CHECK-NEXT: Machine Block Frequency Analysis
116 ; CHECK-NEXT: Debug Variable Analysis
117 ; CHECK-NEXT: Live Stack Slot Analysis
118 ; CHECK-NEXT: Virtual Register Map
119 ; CHECK-NEXT: Live Register Matrix
120 ; CHECK-NEXT: Bundle Machine CFG Edges
121 ; CHECK-NEXT: Spill Code Placement Analysis
122 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis
123 ; CHECK-NEXT: Machine Optimization Remark Emitter
124 ; CHECK-NEXT: Greedy Register Allocator
125 ; CHECK-NEXT: Virtual Register Rewriter
126 ; CHECK-NEXT: Stack Slot Coloring
127 ; CHECK-NEXT: Machine Copy Propagation Pass
128 ; CHECK-NEXT: Machine Loop Invariant Code Motion
129 ; CHECK-NEXT: Bundle Machine CFG Edges
130 ; CHECK-NEXT: X86 FP Stackifier
131 ; CHECK-NEXT: PostRA Machine Sink
132 ; CHECK-NEXT: Machine Block Frequency Analysis
133 ; CHECK-NEXT: MachinePostDominator Tree Construction
134 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis
135 ; CHECK-NEXT: Machine Optimization Remark Emitter
136 ; CHECK-NEXT: Shrink Wrapping analysis
137 ; CHECK-NEXT: Prologue/Epilogue Insertion & Frame Finalization
138 ; CHECK-NEXT: Control Flow Optimizer
139 ; CHECK-NEXT: Tail Duplication
140 ; CHECK-NEXT: Machine Copy Propagation Pass
141 ; CHECK-NEXT: Post-RA pseudo instruction expansion pass
142 ; CHECK-NEXT: X86 pseudo instruction expansion pass
143 ; CHECK-NEXT: MachineDominator Tree Construction
144 ; CHECK-NEXT: Machine Natural Loop Construction
145 ; CHECK-NEXT: Post RA top-down list latency scheduler
146 ; CHECK-NEXT: Analyze Machine Code For Garbage Collection
147 ; CHECK-NEXT: Machine Block Frequency Analysis
148 ; CHECK-NEXT: MachinePostDominator Tree Construction
149 ; CHECK-NEXT: Branch Probability Basic Block Placement
150 ; CHECK-NEXT: ReachingDefAnalysis
151 ; CHECK-NEXT: X86 Execution Dependency Fix
152 ; CHECK-NEXT: BreakFalseDeps
153 ; CHECK-NEXT: X86 Indirect Branch Tracking
154 ; CHECK-NEXT: X86 vzeroupper inserter
155 ; CHECK-NEXT: MachineDominator Tree Construction
156 ; CHECK-NEXT: Machine Natural Loop Construction
157 ; CHECK-NEXT: X86 Byte/Word Instruction Fixup
158 ; CHECK-NEXT: X86 Atom pad short functions
159 ; CHECK-NEXT: X86 LEA Fixup
160 ; CHECK-NEXT: Compressing EVEX instrs to VEX encoding when possible
161 ; CHECK-NEXT: X86 Discriminate Memory Operands
162 ; CHECK-NEXT: X86 Insert Cache Prefetches
163 ; CHECK-NEXT: Contiguously Lay Out Funclets
164 ; CHECK-NEXT: StackMap Liveness Analysis
165 ; CHECK-NEXT: Live DEBUG_VALUE analysis
166 ; CHECK-NEXT: Insert fentry calls
167 ; CHECK-NEXT: Insert XRay ops
168 ; CHECK-NEXT: Implement the 'patchable-function' attribute
169 ; CHECK-NEXT: X86 Retpoline Thunks
170 ; CHECK-NEXT: Check CFA info and insert CFI instructions if needed
171 ; CHECK-NEXT: Lazy Machine Block Frequency Analysis
172 ; CHECK-NEXT: Machine Optimization Remark Emitter
173 ; CHECK-NEXT: X86 Assembly Printer
174 ; CHECK-NEXT: Free MachineFunction