public class LLVMOpInfo1
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
struct LLVMOpInfo1 {
struct LLVMOpInfoSymbol1 AddSymbol;
struct LLVMOpInfoSymbol1 SubtractSymbol;
uint64_t Value;
uint64_t VariantKind;
}| Modifier and Type | Class and Description |
|---|---|
static class |
LLVMOpInfo1.Buffer
An array of
LLVMOpInfo1 structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADDSYMBOL
The struct member offsets.
|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
SUBTRACTSYMBOL
The struct member offsets.
|
static int |
VALUE
The struct member offsets.
|
static int |
VARIANTKIND
The struct member offsets.
|
| Constructor and Description |
|---|
LLVMOpInfo1(java.nio.ByteBuffer container)
Creates a
LLVMOpInfo1 instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
LLVMOpInfoSymbol1 |
AddSymbol()
Returns a
LLVMOpInfoSymbol1 view of the AddSymbol field. |
LLVMOpInfo1 |
AddSymbol(java.util.function.Consumer<LLVMOpInfoSymbol1> consumer)
Passes the
AddSymbol field to the specified Consumer. |
LLVMOpInfo1 |
AddSymbol(LLVMOpInfoSymbol1 value)
Copies the specified
LLVMOpInfoSymbol1 to the AddSymbol field. |
static LLVMOpInfo1 |
calloc()
Returns a new
LLVMOpInfo1 instance allocated with memCalloc. |
static LLVMOpInfo1.Buffer |
calloc(int capacity)
Returns a new
LLVMOpInfo1.Buffer instance allocated with memCalloc. |
static LLVMOpInfo1 |
callocStack()
Returns a new
LLVMOpInfo1 instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static LLVMOpInfo1.Buffer |
callocStack(int capacity)
Returns a new
LLVMOpInfo1.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static LLVMOpInfo1.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
LLVMOpInfo1.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static LLVMOpInfo1 |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
LLVMOpInfo1 instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static LLVMOpInfo1 |
create()
Returns a new
LLVMOpInfo1 instance allocated with BufferUtils. |
static LLVMOpInfo1.Buffer |
create(int capacity)
Returns a new
LLVMOpInfo1.Buffer instance allocated with BufferUtils. |
static LLVMOpInfo1 |
create(long address)
Returns a new
LLVMOpInfo1 instance for the specified memory address. |
static LLVMOpInfo1.Buffer |
create(long address,
int capacity)
Create a
LLVMOpInfo1.Buffer instance at the specified memory. |
static LLVMOpInfo1 |
createSafe(long address)
|
static LLVMOpInfo1.Buffer |
createSafe(long address,
int capacity)
|
static LLVMOpInfo1 |
malloc()
Returns a new
LLVMOpInfo1 instance allocated with memAlloc. |
static LLVMOpInfo1.Buffer |
malloc(int capacity)
Returns a new
LLVMOpInfo1.Buffer instance allocated with memAlloc. |
static LLVMOpInfo1 |
mallocStack()
Returns a new
LLVMOpInfo1 instance allocated on the thread-local MemoryStack. |
static LLVMOpInfo1.Buffer |
mallocStack(int capacity)
Returns a new
LLVMOpInfo1.Buffer instance allocated on the thread-local MemoryStack. |
static LLVMOpInfo1.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
LLVMOpInfo1.Buffer instance allocated on the specified MemoryStack. |
static LLVMOpInfo1 |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
LLVMOpInfo1 instance allocated on the specified MemoryStack. |
static LLVMOpInfoSymbol1 |
nAddSymbol(long struct)
Unsafe version of
AddSymbol(). |
static void |
nAddSymbol(long struct,
LLVMOpInfoSymbol1 value)
Unsafe version of
AddSymbol. |
static LLVMOpInfoSymbol1 |
nSubtractSymbol(long struct)
Unsafe version of
SubtractSymbol(). |
static void |
nSubtractSymbol(long struct,
LLVMOpInfoSymbol1 value)
Unsafe version of
SubtractSymbol. |
static long |
nValue(long struct)
Unsafe version of
Value(). |
static void |
nValue(long struct,
long value)
Unsafe version of
Value. |
static long |
nVariantKind(long struct)
Unsafe version of
VariantKind(). |
static void |
nVariantKind(long struct,
long value)
Unsafe version of
VariantKind. |
LLVMOpInfo1 |
set(LLVMOpInfo1 src)
Copies the specified struct data to this struct.
|
LLVMOpInfo1 |
set(LLVMOpInfoSymbol1 AddSymbol,
LLVMOpInfoSymbol1 SubtractSymbol,
long Value,
long VariantKind)
Initializes this struct with the specified values.
|
int |
sizeof() |
LLVMOpInfoSymbol1 |
SubtractSymbol()
Returns a
LLVMOpInfoSymbol1 view of the SubtractSymbol field. |
LLVMOpInfo1 |
SubtractSymbol(java.util.function.Consumer<LLVMOpInfoSymbol1> consumer)
Passes the
SubtractSymbol field to the specified Consumer. |
LLVMOpInfo1 |
SubtractSymbol(LLVMOpInfoSymbol1 value)
Copies the specified
LLVMOpInfoSymbol1 to the SubtractSymbol field. |
long |
Value()
Returns the value of the
Value field. |
LLVMOpInfo1 |
Value(long value)
Sets the specified value to the
Value field. |
long |
VariantKind()
Returns the value of the
VariantKind field. |
LLVMOpInfo1 |
VariantKind(long value)
Sets the specified value to the
VariantKind field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int ADDSYMBOL
public static final int SUBTRACTSYMBOL
public static final int VALUE
public static final int VARIANTKIND
public LLVMOpInfo1(java.nio.ByteBuffer container)
LLVMOpInfo1 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 LLVMOpInfoSymbol1 AddSymbol()
LLVMOpInfoSymbol1 view of the AddSymbol field.public LLVMOpInfoSymbol1 SubtractSymbol()
LLVMOpInfoSymbol1 view of the SubtractSymbol field.public long Value()
Value field.public long VariantKind()
VariantKind field.public LLVMOpInfo1 AddSymbol(LLVMOpInfoSymbol1 value)
LLVMOpInfoSymbol1 to the AddSymbol field.public LLVMOpInfo1 AddSymbol(java.util.function.Consumer<LLVMOpInfoSymbol1> consumer)
AddSymbol field to the specified Consumer.public LLVMOpInfo1 SubtractSymbol(LLVMOpInfoSymbol1 value)
LLVMOpInfoSymbol1 to the SubtractSymbol field.public LLVMOpInfo1 SubtractSymbol(java.util.function.Consumer<LLVMOpInfoSymbol1> consumer)
SubtractSymbol field to the specified Consumer.public LLVMOpInfo1 Value(long value)
Value field.public LLVMOpInfo1 VariantKind(long value)
VariantKind field.public LLVMOpInfo1 set(LLVMOpInfoSymbol1 AddSymbol, LLVMOpInfoSymbol1 SubtractSymbol, long Value, long VariantKind)
public LLVMOpInfo1 set(LLVMOpInfo1 src)
src - the source structpublic static LLVMOpInfo1 malloc()
LLVMOpInfo1 instance allocated with memAlloc. The instance must be explicitly freed.public static LLVMOpInfo1 calloc()
LLVMOpInfo1 instance allocated with memCalloc. The instance must be explicitly freed.public static LLVMOpInfo1 create()
LLVMOpInfo1 instance allocated with BufferUtils.public static LLVMOpInfo1 create(long address)
LLVMOpInfo1 instance for the specified memory address.@Nullable public static LLVMOpInfo1 createSafe(long address)
public static LLVMOpInfo1.Buffer malloc(int capacity)
LLVMOpInfo1.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static LLVMOpInfo1.Buffer calloc(int capacity)
LLVMOpInfo1.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static LLVMOpInfo1.Buffer create(int capacity)
LLVMOpInfo1.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static LLVMOpInfo1.Buffer create(long address, int capacity)
LLVMOpInfo1.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static LLVMOpInfo1.Buffer createSafe(long address, int capacity)
public static LLVMOpInfo1 mallocStack()
LLVMOpInfo1 instance allocated on the thread-local MemoryStack.public static LLVMOpInfo1 callocStack()
LLVMOpInfo1 instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static LLVMOpInfo1 mallocStack(org.lwjgl.system.MemoryStack stack)
LLVMOpInfo1 instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static LLVMOpInfo1 callocStack(org.lwjgl.system.MemoryStack stack)
LLVMOpInfo1 instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static LLVMOpInfo1.Buffer mallocStack(int capacity)
LLVMOpInfo1.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static LLVMOpInfo1.Buffer callocStack(int capacity)
LLVMOpInfo1.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static LLVMOpInfo1.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
LLVMOpInfo1.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static LLVMOpInfo1.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
LLVMOpInfo1.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 LLVMOpInfoSymbol1 nAddSymbol(long struct)
AddSymbol().public static LLVMOpInfoSymbol1 nSubtractSymbol(long struct)
SubtractSymbol().public static long nValue(long struct)
Value().public static long nVariantKind(long struct)
VariantKind().public static void nAddSymbol(long struct,
LLVMOpInfoSymbol1 value)
AddSymbol.public static void nSubtractSymbol(long struct,
LLVMOpInfoSymbol1 value)
SubtractSymbol.public static void nValue(long struct,
long value)
Value.public static void nVariantKind(long struct,
long value)
VariantKind.Copyright LWJGL. All Rights Reserved. License terms.