Class LLVMMCJITCompilerOptions.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<LLVMMCJITCompilerOptions>, NativeResource, Pointer
Enclosing class:
LLVMMCJITCompilerOptions

public static class LLVMMCJITCompilerOptions.Buffer extends StructBuffer<LLVMMCJITCompilerOptions,LLVMMCJITCompilerOptions.Buffer> implements NativeResource
An array of LLVMMCJITCompilerOptions structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new LLVMMCJITCompilerOptions.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by LLVMMCJITCompilerOptions.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • OptLevel

      public int OptLevel()
      Returns:
      the value of the OptLevel field.
    • CodeModel

      public int CodeModel()
      Returns:
      the value of the CodeModel field.
    • NoFramePointerElim

      public boolean NoFramePointerElim()
      Returns:
      the value of the NoFramePointerElim field.
    • EnableFastISel

      public boolean EnableFastISel()
      Returns:
      the value of the EnableFastISel field.
    • MCJMM

      public long MCJMM()
      Returns:
      the value of the MCJMM field.
    • OptLevel

      public LLVMMCJITCompilerOptions.Buffer OptLevel(int value)
      Sets the specified value to the OptLevel field.
    • CodeModel

      public LLVMMCJITCompilerOptions.Buffer CodeModel(int value)
      Sets the specified value to the CodeModel field.
    • NoFramePointerElim

      public LLVMMCJITCompilerOptions.Buffer NoFramePointerElim(boolean value)
      Sets the specified value to the NoFramePointerElim field.
    • EnableFastISel

      public LLVMMCJITCompilerOptions.Buffer EnableFastISel(boolean value)
      Sets the specified value to the EnableFastISel field.
    • MCJMM

      public LLVMMCJITCompilerOptions.Buffer MCJMM(long value)
      Sets the specified value to the MCJMM field.