public class LLVMMCJITCompilerOptions
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
struct LLVMMCJITCompilerOptions {
unsigned int OptLevel;
LLVMCodeModel CodeModel;
LLVMBool NoFramePointerElim;
LLVMBool EnableFastISel;
LLVMMCJITMemoryManagerRef MCJMM;
}| Modifier and Type | Class and Description |
|---|---|
static class |
LLVMMCJITCompilerOptions.Buffer
An array of
LLVMMCJITCompilerOptions structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
CODEMODEL
The struct member offsets.
|
static int |
ENABLEFASTISEL
The struct member offsets.
|
static int |
MCJMM
The struct member offsets.
|
static int |
NOFRAMEPOINTERELIM
The struct member offsets.
|
static int |
OPTLEVEL
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
LLVMMCJITCompilerOptions(java.nio.ByteBuffer container)
Creates a
LLVMMCJITCompilerOptions instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static LLVMMCJITCompilerOptions |
calloc()
Returns a new
LLVMMCJITCompilerOptions instance allocated with memCalloc. |
static LLVMMCJITCompilerOptions.Buffer |
calloc(int capacity)
Returns a new
LLVMMCJITCompilerOptions.Buffer instance allocated with memCalloc. |
static LLVMMCJITCompilerOptions |
callocStack()
Returns a new
LLVMMCJITCompilerOptions instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static LLVMMCJITCompilerOptions.Buffer |
callocStack(int capacity)
Returns a new
LLVMMCJITCompilerOptions.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static LLVMMCJITCompilerOptions.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
LLVMMCJITCompilerOptions.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static LLVMMCJITCompilerOptions |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
LLVMMCJITCompilerOptions instance allocated on the specified MemoryStack and initializes all its bits to zero. |
int |
CodeModel()
Returns the value of the
CodeModel field. |
LLVMMCJITCompilerOptions |
CodeModel(int value)
Sets the specified value to the
CodeModel field. |
static LLVMMCJITCompilerOptions |
create()
Returns a new
LLVMMCJITCompilerOptions instance allocated with BufferUtils. |
static LLVMMCJITCompilerOptions.Buffer |
create(int capacity)
Returns a new
LLVMMCJITCompilerOptions.Buffer instance allocated with BufferUtils. |
static LLVMMCJITCompilerOptions |
create(long address)
Returns a new
LLVMMCJITCompilerOptions instance for the specified memory address. |
static LLVMMCJITCompilerOptions.Buffer |
create(long address,
int capacity)
Create a
LLVMMCJITCompilerOptions.Buffer instance at the specified memory. |
static LLVMMCJITCompilerOptions |
createSafe(long address)
|
static LLVMMCJITCompilerOptions.Buffer |
createSafe(long address,
int capacity)
|
boolean |
EnableFastISel()
Returns the value of the
EnableFastISel field. |
LLVMMCJITCompilerOptions |
EnableFastISel(boolean value)
Sets the specified value to the
EnableFastISel field. |
static LLVMMCJITCompilerOptions |
malloc()
Returns a new
LLVMMCJITCompilerOptions instance allocated with memAlloc. |
static LLVMMCJITCompilerOptions.Buffer |
malloc(int capacity)
Returns a new
LLVMMCJITCompilerOptions.Buffer instance allocated with memAlloc. |
static LLVMMCJITCompilerOptions |
mallocStack()
Returns a new
LLVMMCJITCompilerOptions instance allocated on the thread-local MemoryStack. |
static LLVMMCJITCompilerOptions.Buffer |
mallocStack(int capacity)
Returns a new
LLVMMCJITCompilerOptions.Buffer instance allocated on the thread-local MemoryStack. |
static LLVMMCJITCompilerOptions.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
LLVMMCJITCompilerOptions.Buffer instance allocated on the specified MemoryStack. |
static LLVMMCJITCompilerOptions |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
LLVMMCJITCompilerOptions instance allocated on the specified MemoryStack. |
long |
MCJMM()
Returns the value of the
MCJMM field. |
LLVMMCJITCompilerOptions |
MCJMM(long value)
Sets the specified value to the
MCJMM field. |
static int |
nCodeModel(long struct)
Unsafe version of
CodeModel(). |
static void |
nCodeModel(long struct,
int value)
Unsafe version of
CodeModel. |
static int |
nEnableFastISel(long struct)
Unsafe version of
EnableFastISel(). |
static void |
nEnableFastISel(long struct,
int value)
Unsafe version of
EnableFastISel. |
static long |
nMCJMM(long struct)
Unsafe version of
MCJMM. |
static void |
nMCJMM(long struct,
long value)
Unsafe version of
MCJMM. |
static int |
nNoFramePointerElim(long struct)
Unsafe version of
NoFramePointerElim(). |
static void |
nNoFramePointerElim(long struct,
int value)
Unsafe version of
NoFramePointerElim. |
boolean |
NoFramePointerElim()
Returns the value of the
NoFramePointerElim field. |
LLVMMCJITCompilerOptions |
NoFramePointerElim(boolean value)
Sets the specified value to the
NoFramePointerElim field. |
static int |
nOptLevel(long struct)
Unsafe version of
OptLevel(). |
static void |
nOptLevel(long struct,
int value)
Unsafe version of
OptLevel. |
int |
OptLevel()
Returns the value of the
OptLevel field. |
LLVMMCJITCompilerOptions |
OptLevel(int value)
Sets the specified value to the
OptLevel field. |
LLVMMCJITCompilerOptions |
set(int OptLevel,
int CodeModel,
boolean NoFramePointerElim,
boolean EnableFastISel,
long MCJMM)
Initializes this struct with the specified values.
|
LLVMMCJITCompilerOptions |
set(LLVMMCJITCompilerOptions src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int OPTLEVEL
public static final int CODEMODEL
public static final int NOFRAMEPOINTERELIM
public static final int ENABLEFASTISEL
public static final int MCJMM
public LLVMMCJITCompilerOptions(java.nio.ByteBuffer container)
LLVMMCJITCompilerOptions instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int OptLevel()
OptLevel field.public int CodeModel()
CodeModel field.public boolean NoFramePointerElim()
NoFramePointerElim field.public boolean EnableFastISel()
EnableFastISel field.public long MCJMM()
MCJMM field.public LLVMMCJITCompilerOptions OptLevel(int value)
OptLevel field.public LLVMMCJITCompilerOptions CodeModel(int value)
CodeModel field.public LLVMMCJITCompilerOptions NoFramePointerElim(boolean value)
NoFramePointerElim field.public LLVMMCJITCompilerOptions EnableFastISel(boolean value)
EnableFastISel field.public LLVMMCJITCompilerOptions MCJMM(long value)
MCJMM field.public LLVMMCJITCompilerOptions set(int OptLevel, int CodeModel, boolean NoFramePointerElim, boolean EnableFastISel, long MCJMM)
public LLVMMCJITCompilerOptions set(LLVMMCJITCompilerOptions src)
src - the source structpublic static LLVMMCJITCompilerOptions malloc()
LLVMMCJITCompilerOptions instance allocated with memAlloc. The instance must be explicitly freed.public static LLVMMCJITCompilerOptions calloc()
LLVMMCJITCompilerOptions instance allocated with memCalloc. The instance must be explicitly freed.public static LLVMMCJITCompilerOptions create()
LLVMMCJITCompilerOptions instance allocated with BufferUtils.public static LLVMMCJITCompilerOptions create(long address)
LLVMMCJITCompilerOptions instance for the specified memory address.@Nullable public static LLVMMCJITCompilerOptions createSafe(long address)
public static LLVMMCJITCompilerOptions.Buffer malloc(int capacity)
LLVMMCJITCompilerOptions.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static LLVMMCJITCompilerOptions.Buffer calloc(int capacity)
LLVMMCJITCompilerOptions.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static LLVMMCJITCompilerOptions.Buffer create(int capacity)
LLVMMCJITCompilerOptions.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static LLVMMCJITCompilerOptions.Buffer create(long address, int capacity)
LLVMMCJITCompilerOptions.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static LLVMMCJITCompilerOptions.Buffer createSafe(long address, int capacity)
public static LLVMMCJITCompilerOptions mallocStack()
LLVMMCJITCompilerOptions instance allocated on the thread-local MemoryStack.public static LLVMMCJITCompilerOptions callocStack()
LLVMMCJITCompilerOptions instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static LLVMMCJITCompilerOptions mallocStack(org.lwjgl.system.MemoryStack stack)
LLVMMCJITCompilerOptions instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static LLVMMCJITCompilerOptions callocStack(org.lwjgl.system.MemoryStack stack)
LLVMMCJITCompilerOptions instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static LLVMMCJITCompilerOptions.Buffer mallocStack(int capacity)
LLVMMCJITCompilerOptions.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static LLVMMCJITCompilerOptions.Buffer callocStack(int capacity)
LLVMMCJITCompilerOptions.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static LLVMMCJITCompilerOptions.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
LLVMMCJITCompilerOptions.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static LLVMMCJITCompilerOptions.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
LLVMMCJITCompilerOptions.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nOptLevel(long struct)
OptLevel().public static int nCodeModel(long struct)
CodeModel().public static int nNoFramePointerElim(long struct)
NoFramePointerElim().public static int nEnableFastISel(long struct)
EnableFastISel().public static long nMCJMM(long struct)
MCJMM.public static void nOptLevel(long struct,
int value)
OptLevel.public static void nCodeModel(long struct,
int value)
CodeModel.public static void nNoFramePointerElim(long struct,
int value)
NoFramePointerElim.public static void nEnableFastISel(long struct,
int value)
EnableFastISel.public static void nMCJMM(long struct,
long value)
MCJMM.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.