Package org.lwjgl.llvm
Class LLVMOptRemarkArg
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.LLVMOptRemarkArg
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class LLVMOptRemarkArg extends org.lwjgl.system.Struct
Element of the "Args" list. The key might give more information about what are the semantics of the value, e.g. "Callee" will tell you that the value is a symbol that names a function.Member documentation
Key
– e.g. "Callee"Value
– e.g. "malloc"DebugLoc
– "DebugLoc": Optional
Layout
struct LLVMOptRemarkArg {
LLVMOptRemarkStringRef
Key;LLVMOptRemarkStringRef
Value;LLVMOptRemarkDebugLoc
DebugLoc; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LLVMOptRemarkArg.Buffer
An array ofLLVMOptRemarkArg
structs.
-
Constructor Summary
Constructors Constructor Description LLVMOptRemarkArg(java.nio.ByteBuffer container)
Creates aLLVMOptRemarkArg
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LLVMOptRemarkArg
create(long address)
Returns a newLLVMOptRemarkArg
instance for the specified memory address.static LLVMOptRemarkArg.Buffer
create(long address, int capacity)
Create aLLVMOptRemarkArg.Buffer
instance at the specified memory.static LLVMOptRemarkArg
createSafe(long address)
static LLVMOptRemarkArg.Buffer
createSafe(long address, int capacity)
LLVMOptRemarkDebugLoc
DebugLoc()
Returns aLLVMOptRemarkDebugLoc
view of theDebugLoc
field.LLVMOptRemarkStringRef
Key()
Returns aLLVMOptRemarkStringRef
view of theKey
field.static LLVMOptRemarkDebugLoc
nDebugLoc(long struct)
Unsafe version ofDebugLoc()
.static LLVMOptRemarkStringRef
nKey(long struct)
Unsafe version ofKey()
.static LLVMOptRemarkStringRef
nValue(long struct)
Unsafe version ofValue()
.int
sizeof()
LLVMOptRemarkStringRef
Value()
Returns aLLVMOptRemarkStringRef
view of theValue
field.
-
-
-
Constructor Detail
-
LLVMOptRemarkArg
public LLVMOptRemarkArg(java.nio.ByteBuffer container)
Creates aLLVMOptRemarkArg
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
Key
public LLVMOptRemarkStringRef Key()
Returns aLLVMOptRemarkStringRef
view of theKey
field.
-
Value
public LLVMOptRemarkStringRef Value()
Returns aLLVMOptRemarkStringRef
view of theValue
field.
-
DebugLoc
public LLVMOptRemarkDebugLoc DebugLoc()
Returns aLLVMOptRemarkDebugLoc
view of theDebugLoc
field.
-
create
public static LLVMOptRemarkArg create(long address)
Returns a newLLVMOptRemarkArg
instance for the specified memory address.
-
createSafe
@Nullable public static LLVMOptRemarkArg createSafe(long address)
-
create
public static LLVMOptRemarkArg.Buffer create(long address, int capacity)
Create aLLVMOptRemarkArg.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static LLVMOptRemarkArg.Buffer createSafe(long address, int capacity)
-
nKey
public static LLVMOptRemarkStringRef nKey(long struct)
Unsafe version ofKey()
.
-
nValue
public static LLVMOptRemarkStringRef nValue(long struct)
Unsafe version ofValue()
.
-
nDebugLoc
public static LLVMOptRemarkDebugLoc nDebugLoc(long struct)
Unsafe version ofDebugLoc()
.
-
-