@@ -124,17 +124,31 @@ class SelectionDAGISel : public MachineFunctionPass {
124
124
enum BuiltinOpcodes {
125
125
OPC_Scope,
126
126
OPC_RecordNode,
127
- OPC_RecordChild0, OPC_RecordChild1, OPC_RecordChild2, OPC_RecordChild3,
128
- OPC_RecordChild4, OPC_RecordChild5, OPC_RecordChild6, OPC_RecordChild7,
127
+ OPC_RecordChild0,
128
+ OPC_RecordChild1,
129
+ OPC_RecordChild2,
130
+ OPC_RecordChild3,
131
+ OPC_RecordChild4,
132
+ OPC_RecordChild5,
133
+ OPC_RecordChild6,
134
+ OPC_RecordChild7,
129
135
OPC_RecordMemRef,
130
136
OPC_CaptureGlueInput,
131
137
OPC_MoveChild,
132
- OPC_MoveChild0, OPC_MoveChild1, OPC_MoveChild2, OPC_MoveChild3,
133
- OPC_MoveChild4, OPC_MoveChild5, OPC_MoveChild6, OPC_MoveChild7,
138
+ OPC_MoveChild0,
139
+ OPC_MoveChild1,
140
+ OPC_MoveChild2,
141
+ OPC_MoveChild3,
142
+ OPC_MoveChild4,
143
+ OPC_MoveChild5,
144
+ OPC_MoveChild6,
145
+ OPC_MoveChild7,
134
146
OPC_MoveParent,
135
147
OPC_CheckSame,
136
- OPC_CheckChild0Same, OPC_CheckChild1Same,
137
- OPC_CheckChild2Same, OPC_CheckChild3Same,
148
+ OPC_CheckChild0Same,
149
+ OPC_CheckChild1Same,
150
+ OPC_CheckChild2Same,
151
+ OPC_CheckChild3Same,
138
152
OPC_CheckPatternPredicate,
139
153
OPC_CheckPatternPredicate2,
140
154
OPC_CheckPredicate,
@@ -144,16 +158,26 @@ class SelectionDAGISel : public MachineFunctionPass {
144
158
OPC_CheckType,
145
159
OPC_CheckTypeRes,
146
160
OPC_SwitchType,
147
- OPC_CheckChild0Type, OPC_CheckChild1Type, OPC_CheckChild2Type,
148
- OPC_CheckChild3Type, OPC_CheckChild4Type, OPC_CheckChild5Type,
149
- OPC_CheckChild6Type, OPC_CheckChild7Type,
161
+ OPC_CheckChild0Type,
162
+ OPC_CheckChild1Type,
163
+ OPC_CheckChild2Type,
164
+ OPC_CheckChild3Type,
165
+ OPC_CheckChild4Type,
166
+ OPC_CheckChild5Type,
167
+ OPC_CheckChild6Type,
168
+ OPC_CheckChild7Type,
150
169
OPC_CheckInteger,
151
- OPC_CheckChild0Integer, OPC_CheckChild1Integer, OPC_CheckChild2Integer,
152
- OPC_CheckChild3Integer, OPC_CheckChild4Integer,
153
- OPC_CheckCondCode, OPC_CheckChild2CondCode,
170
+ OPC_CheckChild0Integer,
171
+ OPC_CheckChild1Integer,
172
+ OPC_CheckChild2Integer,
173
+ OPC_CheckChild3Integer,
174
+ OPC_CheckChild4Integer,
175
+ OPC_CheckCondCode,
176
+ OPC_CheckChild2CondCode,
154
177
OPC_CheckValueType,
155
178
OPC_CheckComplexPat,
156
- OPC_CheckAndImm, OPC_CheckOrImm,
179
+ OPC_CheckAndImm,
180
+ OPC_CheckOrImm,
157
181
OPC_CheckImmAllOnesV,
158
182
OPC_CheckImmAllZerosV,
159
183
OPC_CheckFoldableChainNode,
@@ -172,10 +196,14 @@ class SelectionDAGISel : public MachineFunctionPass {
172
196
OPC_EmitNodeXForm,
173
197
OPC_EmitNode,
174
198
// Space-optimized forms that implicitly encode number of result VTs.
175
- OPC_EmitNode0, OPC_EmitNode1, OPC_EmitNode2,
199
+ OPC_EmitNode0,
200
+ OPC_EmitNode1,
201
+ OPC_EmitNode2,
176
202
OPC_MorphNodeTo,
177
203
// Space-optimized forms that implicitly encode number of result VTs.
178
- OPC_MorphNodeTo0, OPC_MorphNodeTo1, OPC_MorphNodeTo2,
204
+ OPC_MorphNodeTo0,
205
+ OPC_MorphNodeTo1,
206
+ OPC_MorphNodeTo2,
179
207
OPC_CompleteMatch,
180
208
// Contains offset in table for pattern being selected
181
209
OPC_Coverage
0 commit comments