Enum Class ReferenceStrategy

java.lang.Object
java.lang.Enum<ReferenceStrategy>
org.qbicc.plugin.llvm.ReferenceStrategy
All Implemented Interfaces:
Serializable, Comparable<ReferenceStrategy>, Constable

public enum ReferenceStrategy extends Enum<ReferenceStrategy>
The reference-encoding strategy used by the LLVM plugin.
  • Enum Constant Details

    • POINTER

      public static final ReferenceStrategy POINTER
      References are pointers.
    • POINTER_AS1

      public static final ReferenceStrategy POINTER_AS1
      References are pointers in address space number 1.
  • Method Details

    • values

      public static ReferenceStrategy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ReferenceStrategy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null