1 /* 2 * Copyright (c) 1997, 2023, 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(FmaD) 186 macro(FmaF) 187 macro(Goto) 188 macro(Halt) 189 macro(CountPositives) 190 macro(If) 191 macro(RangeCheck) 192 macro(IfFalse) 193 macro(IfTrue) 194 macro(Initialize) 195 macro(JProj) 196 macro(Jump) 197 macro(JumpProj) 198 macro(LShiftI) 199 macro(LShiftL) 200 macro(LoadB) 201 macro(LoadUB) 202 macro(LoadUS) 203 macro(LoadD) 204 macro(LoadD_unaligned) 205 macro(LoadF) 206 macro(LoadI) 207 macro(LoadKlass) 208 macro(LoadNKlass) 209 macro(LoadL) 210 macro(LoadL_unaligned) 211 macro(LoadP) 212 macro(LoadN) 213 macro(LoadRange) 214 macro(LoadS) 215 macro(Lock) 216 macro(Loop) 217 macro(LoopLimit) 218 macro(Mach) 219 macro(MachNullCheck) 220 macro(MachProj) 221 macro(MulAddS2I) 222 macro(MaxI) 223 macro(MaxL) 224 macro(MaxD) 225 macro(MaxF) 226 macro(MemBarAcquire) 227 macro(LoadFence) 228 macro(MemBarAcquireLock) 229 macro(MemBarCPUOrder) 230 macro(MemBarRelease) 231 macro(StoreFence) 232 macro(StoreStoreFence) 233 macro(MemBarReleaseLock) 234 macro(MemBarVolatile) 235 macro(MemBarStoreStore) 236 macro(MergeMem) 237 macro(MinI) 238 macro(MinL) 239 macro(MinF) 240 macro(MinD) 241 macro(ModD) 242 macro(ModF) 243 macro(ModI) 244 macro(ModL) 245 macro(UModI) 246 macro(UModL) 247 macro(MoveI2F) 248 macro(MoveF2I) 249 macro(MoveL2D) 250 macro(MoveD2L) 251 macro(IsInfiniteF) 252 macro(IsFiniteF) 253 macro(IsInfiniteD) 254 macro(IsFiniteD) 255 macro(MulD) 256 macro(MulF) 257 macro(MulHiL) 258 macro(UMulHiL) 259 macro(MulI) 260 macro(MulL) 261 macro(Multi) 262 macro(NegI) 263 macro(NegL) 264 macro(NegD) 265 macro(NegF) 266 macro(NeverBranch) 267 macro(OnSpinWait) 268 macro(Opaque1) 269 macro(OpaqueLoopInit) 270 macro(OpaqueLoopStride) 271 macro(OpaqueZeroTripGuard) 272 macro(Opaque3) 273 macro(Opaque4) 274 macro(ProfileBoolean) 275 macro(OrI) 276 macro(OrL) 277 macro(OverflowAddI) 278 macro(OverflowSubI) 279 macro(OverflowMulI) 280 macro(OverflowAddL) 281 macro(OverflowSubL) 282 macro(OverflowMulL) 283 macro(PCTable) 284 macro(Parm) 285 macro(ParsePredicate) 286 macro(PartialSubtypeCheck) 287 macro(SubTypeCheck) 288 macro(Phi) 289 macro(PopCountI) 290 macro(PopCountL) 291 macro(PopCountVI) 292 macro(PopCountVL) 293 macro(PopulateIndex) 294 macro(PrefetchAllocation) 295 macro(Proj) 296 macro(RShiftI) 297 macro(RShiftL) 298 macro(Region) 299 macro(Rethrow) 300 macro(Return) 301 macro(ReverseI) 302 macro(ReverseL) 303 macro(ReverseV) 304 macro(Root) 305 macro(RoundDouble) 306 macro(RoundDoubleMode) 307 macro(RoundDoubleModeV) 308 macro(RoundFloat) 309 macro(RotateLeft) 310 macro(RotateLeftV) 311 macro(RotateRight) 312 macro(RotateRightV) 313 macro(SafePoint) 314 macro(SafePointScalarObject) 315 macro(SafePointScalarMerge) 316 #if INCLUDE_SHENANDOAHGC 317 #define shmacro(x) macro(x) 318 #else 319 #define shmacro(x) optionalmacro(x) 320 #endif 321 shmacro(ShenandoahCompareAndExchangeP) 322 shmacro(ShenandoahCompareAndExchangeN) 323 shmacro(ShenandoahCompareAndSwapN) 324 shmacro(ShenandoahCompareAndSwapP) 325 shmacro(ShenandoahWeakCompareAndSwapN) 326 shmacro(ShenandoahWeakCompareAndSwapP) 327 shmacro(ShenandoahIUBarrier) 328 shmacro(ShenandoahLoadReferenceBarrier) 329 macro(SCMemProj) 330 macro(CopySignD) 331 macro(CopySignF) 332 macro(SignumD) 333 macro(SignumF) 334 macro(SignumVF) 335 macro(SignumVD) 336 macro(SqrtD) 337 macro(SqrtF) 338 macro(RoundF) 339 macro(RoundD) 340 macro(Start) 341 macro(StartOSR) 342 macro(StoreB) 343 macro(StoreC) 344 macro(StoreCM) 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(Timestamp) 365 macro(TimestampSerial) 366 macro(MacroLogicV) 367 macro(ThreadLocal) 368 macro(Unlock) 369 macro(URShiftB) 370 macro(URShiftS) 371 macro(URShiftI) 372 macro(URShiftL) 373 macro(XorI) 374 macro(XorL) 375 macro(Vector) 376 macro(AddVB) 377 macro(AddVS) 378 macro(AddVI) 379 macro(AddReductionVI) 380 macro(AddVL) 381 macro(AddReductionVL) 382 macro(AddVF) 383 macro(AddReductionVF) 384 macro(AddVD) 385 macro(AddReductionVD) 386 macro(SubVB) 387 macro(SubVS) 388 macro(SubVI) 389 macro(SubVL) 390 macro(SubVF) 391 macro(SubVD) 392 macro(MulVB) 393 macro(MulVS) 394 macro(MulVI) 395 macro(MulReductionVI) 396 macro(MulVL) 397 macro(MulReductionVL) 398 macro(MulVF) 399 macro(MulReductionVF) 400 macro(MulVD) 401 macro(MulReductionVD) 402 macro(MulAddVS2VI) 403 macro(FmaVD) 404 macro(FmaVF) 405 macro(DivVF) 406 macro(DivVD) 407 macro(AbsVB) 408 macro(AbsVS) 409 macro(AbsVI) 410 macro(AbsVL) 411 macro(AbsVF) 412 macro(AbsVD) 413 macro(NegVI) 414 macro(NegVL) 415 macro(NegVF) 416 macro(NegVD) 417 macro(SqrtVD) 418 macro(SqrtVF) 419 macro(LShiftCntV) 420 macro(RShiftCntV) 421 macro(LShiftVB) 422 macro(LShiftVS) 423 macro(LShiftVI) 424 macro(LShiftVL) 425 macro(RShiftVB) 426 macro(RShiftVS) 427 macro(RShiftVI) 428 macro(RShiftVL) 429 macro(URShiftVB) 430 macro(URShiftVS) 431 macro(URShiftVI) 432 macro(URShiftVL) 433 macro(AndV) 434 macro(AndReductionV) 435 macro(OrV) 436 macro(OrReductionV) 437 macro(XorV) 438 macro(XorReductionV) 439 macro(MinV) 440 macro(MaxV) 441 macro(MinReductionV) 442 macro(MaxReductionV) 443 macro(CompressV) 444 macro(CompressM) 445 macro(ExpandV) 446 macro(LoadVector) 447 macro(LoadVectorGather) 448 macro(LoadVectorGatherMasked) 449 macro(StoreVector) 450 macro(StoreVectorScatter) 451 macro(StoreVectorScatterMasked) 452 macro(LoadVectorMasked) 453 macro(StoreVectorMasked) 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(VectorBox) 488 macro(VectorBoxAllocate) 489 macro(VectorUnbox) 490 macro(VectorMaskWrapper) 491 macro(VectorMaskCmp) 492 macro(VectorMaskCast) 493 macro(VectorTest) 494 macro(VectorBlend) 495 macro(VectorRearrange) 496 macro(VectorLoadMask) 497 macro(VectorLoadShuffle) 498 macro(VectorLoadConst) 499 macro(VectorStoreMask) 500 macro(VectorReinterpret) 501 macro(VectorCast) 502 macro(VectorCastB2X) 503 macro(VectorCastS2X) 504 macro(VectorCastI2X) 505 macro(VectorCastL2X) 506 macro(VectorCastF2X) 507 macro(VectorCastD2X) 508 macro(VectorCastF2HF) 509 macro(VectorCastHF2F) 510 macro(VectorUCastB2X) 511 macro(VectorUCastS2X) 512 macro(VectorUCastI2X) 513 macro(VectorizedHashCode) 514 macro(VectorInsert) 515 macro(MaskAll) 516 macro(AndVMask) 517 macro(OrVMask) 518 macro(XorVMask)