1 /*
  2  * Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
  3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  4  *
  5  * This code is free software; you can redistribute it and/or modify it
  6  * under the terms of the GNU General Public License version 2 only, as
  7  * published by the Free Software Foundation.
  8  *
  9  * This code is distributed in the hope that it will be useful, but WITHOUT
 10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 12  * version 2 for more details (a copy is included in the LICENSE file that
 13  * accompanied this code).
 14  *
 15  * You should have received a copy of the GNU General Public License version
 16  * 2 along with this work; if not, write to the Free Software Foundation,
 17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18  *
 19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20  * or visit www.oracle.com if you need additional information or have any
 21  * questions.
 22  *
 23  */
 24 
 25 #include "utilities/macros.hpp"
 26 
 27 // The giant table of Node classes.
 28 // One entry per class, sorted by class name.
 29 
 30 macro(AbsD)
 31 macro(AbsF)
 32 macro(AbsI)
 33 macro(AbsL)
 34 macro(AddD)
 35 macro(AddF)
 36 macro(AddI)
 37 macro(AddL)
 38 macro(AddP)
 39 macro(Allocate)
 40 macro(AllocateArray)
 41 macro(AndI)
 42 macro(AndL)
 43 macro(ArrayCopy)
 44 macro(AryEq)
 45 macro(AtanD)
 46 macro(Binary)
 47 macro(Blackhole)
 48 macro(Bool)
 49 macro(BoxLock)
 50 macro(ReverseBytesI)
 51 macro(ReverseBytesL)
 52 macro(ReverseBytesUS)
 53 macro(ReverseBytesS)
 54 macro(ReverseBytesV)
 55 macro(CProj)
 56 macro(CacheWB)
 57 macro(CacheWBPreSync)
 58 macro(CacheWBPostSync)
 59 macro(CallDynamicJava)
 60 macro(CallJava)
 61 macro(CallLeaf)
 62 macro(CallLeafNoFP)
 63 macro(CallLeafVector)
 64 macro(CallRuntime)
 65 macro(CallStaticJava)
 66 macro(CastDD)
 67 macro(CastFF)
 68 macro(CastII)
 69 macro(CastLL)
 70 macro(CastVV)
 71 macro(CastX2P)
 72 macro(CastP2X)
 73 macro(CastPP)
 74 macro(Catch)
 75 macro(CatchProj)
 76 macro(CheckCastPP)
 77 macro(ClearArray)
 78 macro(CompressBits)
 79 macro(ExpandBits)
 80 macro(CompressBitsV)
 81 macro(ExpandBitsV)
 82 macro(ConstraintCast)
 83 macro(CMoveD)
 84 macro(CMoveF)
 85 macro(CMoveI)
 86 macro(CMoveL)
 87 macro(CMoveP)
 88 macro(CMoveN)
 89 macro(CmpN)
 90 macro(CmpD)
 91 macro(CmpD3)
 92 macro(CmpF)
 93 macro(CmpF3)
 94 macro(CmpI)
 95 macro(CmpL)
 96 macro(CmpL3)
 97 macro(CmpLTMask)
 98 macro(CmpP)
 99 macro(CmpU)
100 macro(CmpU3)
101 macro(CmpUL)
102 macro(CmpUL3)
103 macro(CompareAndSwapB)
104 macro(CompareAndSwapS)
105 macro(CompareAndSwapI)
106 macro(CompareAndSwapL)
107 macro(CompareAndSwapP)
108 macro(CompareAndSwapN)
109 macro(WeakCompareAndSwapB)
110 macro(WeakCompareAndSwapS)
111 macro(WeakCompareAndSwapI)
112 macro(WeakCompareAndSwapL)
113 macro(WeakCompareAndSwapP)
114 macro(WeakCompareAndSwapN)
115 macro(CompareAndExchangeB)
116 macro(CompareAndExchangeS)
117 macro(CompareAndExchangeI)
118 macro(CompareAndExchangeL)
119 macro(CompareAndExchangeP)
120 macro(CompareAndExchangeN)
121 macro(GetAndAddB)
122 macro(GetAndAddS)
123 macro(GetAndAddI)
124 macro(GetAndAddL)
125 macro(GetAndSetB)
126 macro(GetAndSetS)
127 macro(GetAndSetI)
128 macro(GetAndSetL)
129 macro(GetAndSetP)
130 macro(GetAndSetN)
131 macro(Con)
132 macro(ConN)
133 macro(ConNKlass)
134 macro(ConD)
135 macro(ConF)
136 macro(ConI)
137 macro(ConL)
138 macro(ConP)
139 macro(Conv2B)
140 macro(ConvD2F)
141 macro(ConvD2I)
142 macro(ConvD2L)
143 macro(ConvF2D)
144 macro(ConvF2I)
145 macro(ConvF2L)
146 macro(ConvI2D)
147 macro(ConvI2F)
148 macro(ConvI2L)
149 macro(ConvL2D)
150 macro(ConvL2F)
151 macro(ConvL2I)
152 macro(ConvF2HF)
153 macro(ConvHF2F)
154 macro(CountedLoop)
155 macro(CountedLoopEnd)
156 macro(OuterStripMinedLoop)
157 macro(OuterStripMinedLoopEnd)
158 macro(LongCountedLoop)
159 macro(LongCountedLoopEnd)
160 macro(CountLeadingZerosI)
161 macro(CountLeadingZerosL)
162 macro(CountLeadingZerosV)
163 macro(CountTrailingZerosI)
164 macro(CountTrailingZerosL)
165 macro(CountTrailingZerosV)
166 macro(CreateEx)
167 macro(DecodeN)
168 macro(DecodeNKlass)
169 macro(DivD)
170 macro(DivF)
171 macro(DivI)
172 macro(DivL)
173 macro(UDivI)
174 macro(UDivL)
175 macro(DivMod)
176 macro(DivModI)
177 macro(DivModL)
178 macro(UDivModI)
179 macro(UDivModL)
180 macro(EncodeISOArray)
181 macro(EncodeP)
182 macro(EncodePKlass)
183 macro(FastLock)
184 macro(FastUnlock)
185 macro(FlatArrayCheck)
186 macro(FmaD)
187 macro(FmaF)
188 macro(ForwardException)
189 macro(Goto)
190 macro(Halt)
191 macro(CountPositives)
192 macro(If)
193 macro(RangeCheck)
194 macro(IfFalse)
195 macro(IfTrue)
196 macro(Initialize)
197 macro(JProj)
198 macro(Jump)
199 macro(JumpProj)
200 macro(LShiftI)
201 macro(LShiftL)
202 macro(LoadB)
203 macro(LoadUB)
204 macro(LoadUS)
205 macro(LoadD)
206 macro(LoadD_unaligned)
207 macro(LoadF)
208 macro(LoadI)
209 macro(LoadKlass)
210 macro(LoadNKlass)
211 macro(LoadL)
212 macro(LoadL_unaligned)
213 macro(LoadP)
214 macro(LoadN)
215 macro(LoadRange)
216 macro(LoadS)
217 macro(Lock)
218 macro(Loop)
219 macro(LoopLimit)
220 macro(Mach)
221 macro(MachNullCheck)
222 macro(MachProj)
223 macro(MulAddS2I)
224 macro(MaxI)
225 macro(MaxL)
226 macro(MaxD)
227 macro(MaxF)
228 macro(MemBarAcquire)
229 macro(LoadFence)
230 macro(MemBarAcquireLock)
231 macro(MemBarCPUOrder)
232 macro(MemBarRelease)
233 macro(StoreFence)
234 macro(StoreStoreFence)
235 macro(MemBarReleaseLock)
236 macro(MemBarVolatile)
237 macro(MemBarStoreStore)
238 macro(MergeMem)
239 macro(MinI)
240 macro(MinL)
241 macro(MinF)
242 macro(MinD)
243 macro(ModD)
244 macro(ModF)
245 macro(ModI)
246 macro(ModL)
247 macro(UModI)
248 macro(UModL)
249 macro(MoveI2F)
250 macro(MoveF2I)
251 macro(MoveL2D)
252 macro(MoveD2L)
253 macro(IsInfiniteF)
254 macro(IsFiniteF)
255 macro(IsInfiniteD)
256 macro(IsFiniteD)
257 macro(MulD)
258 macro(MulF)
259 macro(MulHiL)
260 macro(UMulHiL)
261 macro(MulI)
262 macro(MulL)
263 macro(Multi)
264 macro(NegI)
265 macro(NegL)
266 macro(NegD)
267 macro(NegF)
268 macro(NeverBranch)
269 macro(OnSpinWait)
270 macro(Opaque1)
271 macro(OpaqueLoopInit)
272 macro(OpaqueLoopStride)
273 macro(OpaqueZeroTripGuard)
274 macro(Opaque4)
275 macro(OpaqueInitializedAssertionPredicate)
276 macro(ProfileBoolean)
277 macro(OrI)
278 macro(OrL)
279 macro(OverflowAddI)
280 macro(OverflowSubI)
281 macro(OverflowMulI)
282 macro(OverflowAddL)
283 macro(OverflowSubL)
284 macro(OverflowMulL)
285 macro(PCTable)
286 macro(Parm)
287 macro(ParsePredicate)
288 macro(PartialSubtypeCheck)
289 macro(SubTypeCheck)
290 macro(Phi)
291 macro(PopCountI)
292 macro(PopCountL)
293 macro(PopCountVI)
294 macro(PopCountVL)
295 macro(PopulateIndex)
296 macro(PrefetchAllocation)
297 macro(Proj)
298 macro(RShiftI)
299 macro(RShiftL)
300 macro(Region)
301 macro(Rethrow)
302 macro(Return)
303 macro(ReverseI)
304 macro(ReverseL)
305 macro(ReverseV)
306 macro(Root)
307 macro(RoundDouble)
308 macro(RoundDoubleMode)
309 macro(RoundDoubleModeV)
310 macro(RoundFloat)
311 macro(RotateLeft)
312 macro(RotateLeftV)
313 macro(RotateRight)
314 macro(RotateRightV)
315 macro(SafePoint)
316 macro(SafePointScalarObject)
317 macro(SafePointScalarMerge)
318 #if INCLUDE_SHENANDOAHGC
319 #define shmacro(x) macro(x)
320 #else
321 #define shmacro(x) optionalmacro(x)
322 #endif
323 shmacro(ShenandoahCompareAndExchangeP)
324 shmacro(ShenandoahCompareAndExchangeN)
325 shmacro(ShenandoahCompareAndSwapN)
326 shmacro(ShenandoahCompareAndSwapP)
327 shmacro(ShenandoahWeakCompareAndSwapN)
328 shmacro(ShenandoahWeakCompareAndSwapP)
329 shmacro(ShenandoahLoadReferenceBarrier)
330 macro(SCMemProj)
331 macro(CopySignD)
332 macro(CopySignF)
333 macro(SignumD)
334 macro(SignumF)
335 macro(SignumVF)
336 macro(SignumVD)
337 macro(SqrtD)
338 macro(SqrtF)
339 macro(RoundF)
340 macro(RoundD)
341 macro(Start)
342 macro(StartOSR)
343 macro(StoreB)
344 macro(StoreC)
345 macro(StoreD)
346 macro(StoreF)
347 macro(StoreI)
348 macro(StoreL)
349 macro(StoreP)
350 macro(StoreN)
351 macro(StoreNKlass)
352 macro(StrComp)
353 macro(StrCompressedCopy)
354 macro(StrEquals)
355 macro(StrIndexOf)
356 macro(StrIndexOfChar)
357 macro(StrInflatedCopy)
358 macro(SubD)
359 macro(SubF)
360 macro(SubI)
361 macro(SubL)
362 macro(TailCall)
363 macro(TailJump)
364 macro(MacroLogicV)
365 macro(ThreadLocal)
366 macro(Unlock)
367 macro(URShiftB)
368 macro(URShiftS)
369 macro(URShiftI)
370 macro(URShiftL)
371 macro(XorI)
372 macro(XorL)
373 macro(InlineType)
374 macro(Vector)
375 macro(AddVB)
376 macro(AddVS)
377 macro(AddVI)
378 macro(AddReductionVI)
379 macro(AddVL)
380 macro(AddReductionVL)
381 macro(AddVF)
382 macro(AddReductionVF)
383 macro(AddVD)
384 macro(AddReductionVD)
385 macro(SubVB)
386 macro(SubVS)
387 macro(SubVI)
388 macro(SubVL)
389 macro(SubVF)
390 macro(SubVD)
391 macro(MulVB)
392 macro(MulVS)
393 macro(MulVI)
394 macro(MulReductionVI)
395 macro(MulVL)
396 macro(MulReductionVL)
397 macro(MulVF)
398 macro(MulReductionVF)
399 macro(MulVD)
400 macro(MulReductionVD)
401 macro(MulAddVS2VI)
402 macro(FmaVD)
403 macro(FmaVF)
404 macro(DivVF)
405 macro(DivVD)
406 macro(AbsVB)
407 macro(AbsVS)
408 macro(AbsVI)
409 macro(AbsVL)
410 macro(AbsVF)
411 macro(AbsVD)
412 macro(NegVI)
413 macro(NegVL)
414 macro(NegVF)
415 macro(NegVD)
416 macro(SqrtVD)
417 macro(SqrtVF)
418 macro(LShiftCntV)
419 macro(RShiftCntV)
420 macro(LShiftVB)
421 macro(LShiftVS)
422 macro(LShiftVI)
423 macro(LShiftVL)
424 macro(RShiftVB)
425 macro(RShiftVS)
426 macro(RShiftVI)
427 macro(RShiftVL)
428 macro(URShiftVB)
429 macro(URShiftVS)
430 macro(URShiftVI)
431 macro(URShiftVL)
432 macro(AndV)
433 macro(AndReductionV)
434 macro(OrV)
435 macro(OrReductionV)
436 macro(XorV)
437 macro(XorReductionV)
438 macro(MinV)
439 macro(MaxV)
440 macro(MinReductionV)
441 macro(MaxReductionV)
442 macro(CompressV)
443 macro(CompressM)
444 macro(ExpandV)
445 macro(LoadVector)
446 macro(LoadVectorGather)
447 macro(LoadVectorGatherMasked)
448 macro(StoreVector)
449 macro(StoreVectorScatter)
450 macro(StoreVectorScatterMasked)
451 macro(LoadVectorMasked)
452 macro(StoreVectorMasked)
453 macro(VerifyVectorAlignment)
454 macro(VectorCmpMasked)
455 macro(VectorMaskGen)
456 macro(VectorMaskOp)
457 macro(VectorMaskTrueCount)
458 macro(VectorMaskFirstTrue)
459 macro(VectorMaskLastTrue)
460 macro(VectorMaskToLong)
461 macro(VectorLongToMask)
462 macro(Pack)
463 macro(PackB)
464 macro(PackS)
465 macro(PackI)
466 macro(PackL)
467 macro(PackF)
468 macro(PackD)
469 macro(Pack2L)
470 macro(Pack2D)
471 macro(Replicate)
472 macro(RoundVF)
473 macro(RoundVD)
474 macro(Extract)
475 macro(ExtractB)
476 macro(ExtractUB)
477 macro(ExtractC)
478 macro(ExtractS)
479 macro(ExtractI)
480 macro(ExtractL)
481 macro(ExtractF)
482 macro(ExtractD)
483 macro(Digit)
484 macro(LowerCase)
485 macro(UpperCase)
486 macro(Whitespace)
487 macro(SelectFromTwoVector)
488 macro(VectorBox)
489 macro(VectorBoxAllocate)
490 macro(VectorUnbox)
491 macro(VectorMaskWrapper)
492 macro(VectorMaskCmp)
493 macro(VectorMaskCast)
494 macro(VectorTest)
495 macro(VectorBlend)
496 macro(VectorRearrange)
497 macro(VectorLoadMask)
498 macro(VectorLoadShuffle)
499 macro(VectorLoadConst)
500 macro(VectorStoreMask)
501 macro(VectorReinterpret)
502 macro(VectorCast)
503 macro(VectorCastB2X)
504 macro(VectorCastS2X)
505 macro(VectorCastI2X)
506 macro(VectorCastL2X)
507 macro(VectorCastF2X)
508 macro(VectorCastD2X)
509 macro(VectorCastF2HF)
510 macro(VectorCastHF2F)
511 macro(VectorUCastB2X)
512 macro(VectorUCastS2X)
513 macro(VectorUCastI2X)
514 macro(VectorizedHashCode)
515 macro(VectorInsert)
516 macro(MaskAll)
517 macro(AndVMask)
518 macro(OrVMask)
519 macro(XorVMask)