1 /*
   2  * Copyright (c) 1997, 2018, 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(Bool)
  48 macro(BoxLock)
  49 macro(ReverseBytesI)
  50 macro(ReverseBytesL)
  51 macro(ReverseBytesUS)
  52 macro(ReverseBytesS)
  53 macro(CProj)
  54 macro(CallDynamicJava)
  55 macro(CallJava)
  56 macro(CallLeaf)
  57 macro(CallLeafNoFP)
  58 macro(CallRuntime)
  59 macro(CallStaticJava)
  60 macro(CastII)
  61 macro(CastX2P)
  62 macro(CastP2X)
  63 macro(CastPP)
  64 macro(Catch)
  65 macro(CatchProj)
  66 macro(CheckCastPP)
  67 macro(ClearArray)
  68 macro(ConstraintCast)
  69 macro(CMoveD)
  70 macro(CMoveVD)
  71 macro(CMoveF)
  72 macro(CMoveVF)
  73 macro(CMoveI)
  74 macro(CMoveL)
  75 macro(CMoveP)
  76 macro(CMoveN)
  77 macro(CmpN)
  78 macro(CmpD)
  79 macro(CmpD3)
  80 macro(CmpF)
  81 macro(CmpF3)
  82 macro(CmpI)
  83 macro(CmpL)
  84 macro(CmpL3)
  85 macro(CmpLTMask)
  86 macro(CmpP)
  87 macro(CmpU)
  88 macro(CmpUL)
  89 macro(CompareAndSwapB)
  90 macro(CompareAndSwapS)
  91 macro(CompareAndSwapI)
  92 macro(CompareAndSwapL)
  93 macro(CompareAndSwapP)
  94 macro(CompareAndSwapN)
  95 macro(WeakCompareAndSwapB)
  96 macro(WeakCompareAndSwapS)
  97 macro(WeakCompareAndSwapI)
  98 macro(WeakCompareAndSwapL)
  99 macro(WeakCompareAndSwapP)
 100 macro(WeakCompareAndSwapN)
 101 macro(CompareAndExchangeB)
 102 macro(CompareAndExchangeS)
 103 macro(CompareAndExchangeI)
 104 macro(CompareAndExchangeL)
 105 macro(CompareAndExchangeP)
 106 macro(CompareAndExchangeN)
 107 macro(GetAndAddB)
 108 macro(GetAndAddS)
 109 macro(GetAndAddI)
 110 macro(GetAndAddL)
 111 macro(GetAndSetB)
 112 macro(GetAndSetS)
 113 macro(GetAndSetI)
 114 macro(GetAndSetL)
 115 macro(GetAndSetP)
 116 macro(GetAndSetN)
 117 macro(Con)
 118 macro(ConN)
 119 macro(ConNKlass)
 120 macro(ConD)
 121 macro(ConF)
 122 macro(ConI)
 123 macro(ConL)
 124 macro(ConP)
 125 macro(Conv2B)
 126 macro(ConvD2F)
 127 macro(ConvD2I)
 128 macro(ConvD2L)
 129 macro(ConvF2D)
 130 macro(ConvF2I)
 131 macro(ConvF2L)
 132 macro(ConvI2D)
 133 macro(ConvI2F)
 134 macro(ConvI2L)
 135 macro(ConvL2D)
 136 macro(ConvL2F)
 137 macro(ConvL2I)
 138 macro(CountedLoop)
 139 macro(CountedLoopEnd)
 140 macro(GetFP)
 141 macro(OuterStripMinedLoop)
 142 macro(OuterStripMinedLoopEnd)
 143 macro(CountLeadingZerosI)
 144 macro(CountLeadingZerosL)
 145 macro(CountTrailingZerosI)
 146 macro(CountTrailingZerosL)
 147 macro(CreateEx)
 148 macro(DecodeN)
 149 macro(DecodeNKlass)
 150 macro(DivD)
 151 macro(DivF)
 152 macro(DivI)
 153 macro(DivL)
 154 macro(DivMod)
 155 macro(DivModI)
 156 macro(DivModL)
 157 macro(EncodeISOArray)
 158 macro(EncodeP)
 159 macro(EncodePKlass)
 160 macro(FastLock)
 161 macro(FastUnlock)
 162 macro(FmaD)
 163 macro(FmaF)
 164 macro(Goto)
 165 macro(Halt)
 166 macro(HasNegatives)
 167 macro(If)
 168 macro(RangeCheck)
 169 macro(IfFalse)
 170 macro(IfTrue)
 171 macro(Initialize)
 172 macro(JProj)
 173 macro(Jump)
 174 macro(JumpProj)
 175 macro(LShiftI)
 176 macro(LShiftL)
 177 macro(LoadB)
 178 macro(LoadUB)
 179 macro(LoadUS)
 180 macro(LoadD)
 181 macro(LoadD_unaligned)
 182 macro(LoadF)
 183 macro(LoadI)
 184 macro(LoadKlass)
 185 macro(LoadNKlass)
 186 macro(LoadL)
 187 macro(LoadL_unaligned)
 188 macro(LoadPLocked)
 189 macro(LoadP)
 190 macro(LoadN)
 191 macro(LoadRange)
 192 macro(LoadS)
 193 #if INCLUDE_ZGC
 194 #define zgcmacro(x) macro(x)
 195 #else
 196 #define zgcmacro(x) optionalmacro(x)
 197 #endif
 198 zgcmacro(LoadBarrier)
 199 zgcmacro(LoadBarrierSlowReg)
 200 zgcmacro(ZCompareAndSwapP)
 201 zgcmacro(ZWeakCompareAndSwapP)
 202 zgcmacro(ZCompareAndExchangeP)
 203 zgcmacro(ZGetAndSetP)
 204 macro(Lock)
 205 macro(Loop)
 206 macro(LoopLimit)
 207 macro(Mach)
 208 macro(MachProj)
 209 macro(MulAddS2I)
 210 macro(MaxD)
 211 macro(MaxF)
 212 macro(MaxI)
 213 macro(MemBarAcquire)
 214 macro(LoadFence)
 215 macro(SetVectMaskI)
 216 macro(MemBarAcquireLock)
 217 macro(MemBarCPUOrder)
 218 macro(MemBarRelease)
 219 macro(StoreFence)
 220 macro(MemBarReleaseLock)
 221 macro(MemBarVolatile)
 222 macro(MemBarStoreStore)
 223 macro(MergeMem)
 224 macro(MinD)
 225 macro(MinF)
 226 macro(MinI)
 227 macro(ModD)
 228 macro(ModF)
 229 macro(ModI)
 230 macro(ModL)
 231 macro(MoveI2F)
 232 macro(MoveF2I)
 233 macro(MoveL2D)
 234 macro(MoveD2L)
 235 macro(MulD)
 236 macro(MulF)
 237 macro(MulHiL)
 238 macro(MulI)
 239 macro(MulL)
 240 macro(Multi)
 241 macro(NegD)
 242 macro(NegF)
 243 macro(NeverBranch)
 244 macro(OnSpinWait)
 245 macro(Opaque1)
 246 macro(Opaque2)
 247 macro(Opaque3)
 248 macro(Opaque4)
 249 macro(ProfileBoolean)
 250 macro(OrI)
 251 macro(OrL)
 252 macro(OverflowAddI)
 253 macro(OverflowSubI)
 254 macro(OverflowMulI)
 255 macro(OverflowAddL)
 256 macro(OverflowSubL)
 257 macro(OverflowMulL)
 258 macro(PCTable)
 259 macro(Parm)
 260 macro(PartialSubtypeCheck)
 261 macro(Phi)
 262 macro(PopCountI)
 263 macro(PopCountL)
 264 macro(PopCountVI)
 265 macro(PrefetchAllocation)
 266 macro(Proj)
 267 macro(RShiftI)
 268 macro(RShiftL)
 269 macro(Region)
 270 macro(Rethrow)
 271 macro(Return)
 272 macro(Root)
 273 macro(RoundDouble)
 274 macro(RoundFloat)
 275 macro(SafePoint)
 276 macro(SafePointScalarObject)
 277 #if INCLUDE_SHENANDOAHGC
 278 #define shmacro(x) macro(x)
 279 #else
 280 #define shmacro(x) optionalmacro(x)
 281 #endif
 282 shmacro(ShenandoahCompareAndExchangeP)
 283 shmacro(ShenandoahCompareAndExchangeN)
 284 shmacro(ShenandoahCompareAndSwapN)
 285 shmacro(ShenandoahCompareAndSwapP)
 286 shmacro(ShenandoahWeakCompareAndSwapN)
 287 shmacro(ShenandoahWeakCompareAndSwapP)
 288 shmacro(ShenandoahEnqueueBarrier)
 289 shmacro(ShenandoahLoadReferenceBarrier)
 290 macro(SCMemProj)
 291 macro(SqrtD)
 292 macro(SqrtF)
 293 macro(Start)
 294 macro(StartOSR)
 295 macro(StoreB)
 296 macro(StoreC)
 297 macro(StoreCM)
 298 macro(StorePConditional)
 299 macro(StoreIConditional)
 300 macro(StoreLConditional)
 301 macro(StoreD)
 302 macro(StoreF)
 303 macro(StoreI)
 304 macro(StoreL)
 305 macro(StoreP)
 306 macro(StoreN)
 307 macro(StoreNKlass)
 308 macro(StrComp)
 309 macro(StrCompressedCopy)
 310 macro(StrEquals)
 311 macro(StrIndexOf)
 312 macro(StrIndexOfChar)
 313 macro(StrInflatedCopy)
 314 macro(SubD)
 315 macro(SubF)
 316 macro(SubI)
 317 macro(SubL)
 318 macro(TailCall)
 319 macro(TailJump)
 320 macro(ThreadLocal)
 321 macro(Unlock)
 322 macro(URShiftI)
 323 macro(URShiftL)
 324 macro(XorI)
 325 macro(XorL)
 326 macro(Vector)
 327 macro(AddVB)
 328 macro(AddVS)
 329 macro(AddVI)
 330 macro(AddReductionVI)
 331 macro(AddVL)
 332 macro(AddReductionVL)
 333 macro(AddVF)
 334 macro(AddReductionVF)
 335 macro(AddVD)
 336 macro(AddReductionVD)
 337 macro(SubVB)
 338 macro(SubVS)
 339 macro(SubVI)
 340 macro(SubVL)
 341 macro(SubVF)
 342 macro(SubVD)
 343 macro(MulVB)
 344 macro(MulVS)
 345 macro(MulVI)
 346 macro(MulReductionVI)
 347 macro(MulVL)
 348 macro(MulReductionVL)
 349 macro(MulVF)
 350 macro(MulReductionVF)
 351 macro(MulVD)
 352 macro(MulReductionVD)
 353 macro(MulAddVS2VI)
 354 macro(FmaVD)
 355 macro(FmaVF)
 356 macro(DivVF)
 357 macro(DivVD)
 358 macro(AbsVB)
 359 macro(AbsVS)
 360 macro(AbsVI)
 361 macro(AbsVL)
 362 macro(AbsVF)
 363 macro(AbsVD)
 364 macro(NegVF)
 365 macro(NegVD)
 366 macro(SqrtVD)
 367 macro(SqrtVF)
 368 macro(LShiftCntV)
 369 macro(RShiftCntV)
 370 macro(LShiftVB)
 371 macro(LShiftVS)
 372 macro(LShiftVI)
 373 macro(LShiftVL)
 374 macro(RShiftVB)
 375 macro(RShiftVS)
 376 macro(RShiftVI)
 377 macro(RShiftVL)
 378 macro(URShiftVB)
 379 macro(URShiftVS)
 380 macro(URShiftVI)
 381 macro(URShiftVL)
 382 macro(AndV)
 383 macro(OrV)
 384 macro(XorV)
 385 macro(MinV)
 386 macro(MaxV)
 387 macro(MinReductionV)
 388 macro(MaxReductionV)
 389 macro(LoadVector)
 390 macro(StoreVector)
 391 macro(Pack)
 392 macro(PackB)
 393 macro(PackS)
 394 macro(PackI)
 395 macro(PackL)
 396 macro(PackF)
 397 macro(PackD)
 398 macro(Pack2L)
 399 macro(Pack2D)
 400 macro(ReplicateB)
 401 macro(ReplicateS)
 402 macro(ReplicateI)
 403 macro(ReplicateL)
 404 macro(ReplicateF)
 405 macro(ReplicateD)
 406 macro(Extract)
 407 macro(ExtractB)
 408 macro(ExtractUB)
 409 macro(ExtractC)
 410 macro(ExtractS)
 411 macro(ExtractI)
 412 macro(ExtractL)
 413 macro(ExtractF)
 414 macro(ExtractD)
 415 macro(Digit)
 416 macro(LowerCase)
 417 macro(UpperCase)
 418 macro(Whitespace)