public class LLVMOptRemarkEntry
extends org.lwjgl.system.Struct
RemarkType – e.g. !Missed, !PassedPassName – "Pass": RequiredRemarkName – "Name": RequiredFunctionName – "Function": RequiredDebugLoc – "DebugLoc": OptionalHotness – "Hotness": OptionalArgs – "Args": Optional. It is an array of NumArgs elements.
struct LLVMOptRemarkEntry {
LLVMOptRemarkStringRef RemarkType;
LLVMOptRemarkStringRef PassName;
LLVMOptRemarkStringRef RemarkName;
LLVMOptRemarkStringRef FunctionName;
LLVMOptRemarkDebugLoc DebugLoc;
uint32_t Hotness;
uint32_t NumArgs;
LLVMOptRemarkArg * Args;
}| Modifier and Type | Class and Description |
|---|---|
static class |
LLVMOptRemarkEntry.Buffer
An array of
LLVMOptRemarkEntry structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
ARGS
The struct member offsets.
|
static int |
DEBUGLOC
The struct member offsets.
|
static int |
FUNCTIONNAME
The struct member offsets.
|
static int |
HOTNESS
The struct member offsets.
|
static int |
NUMARGS
The struct member offsets.
|
static int |
PASSNAME
The struct member offsets.
|
static int |
REMARKNAME
The struct member offsets.
|
static int |
REMARKTYPE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
LLVMOptRemarkEntry(java.nio.ByteBuffer container)
Creates a
LLVMOptRemarkEntry instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
LLVMOptRemarkArg.Buffer |
Args()
Returns a
LLVMOptRemarkArg.Buffer view of the struct array pointed to by the Args field. |
static LLVMOptRemarkEntry |
create(long address)
Returns a new
LLVMOptRemarkEntry instance for the specified memory address. |
static LLVMOptRemarkEntry.Buffer |
create(long address,
int capacity)
Create a
LLVMOptRemarkEntry.Buffer instance at the specified memory. |
static LLVMOptRemarkEntry |
createSafe(long address)
|
static LLVMOptRemarkEntry.Buffer |
createSafe(long address,
int capacity)
|
LLVMOptRemarkDebugLoc |
DebugLoc()
Returns a
LLVMOptRemarkDebugLoc view of the DebugLoc field. |
LLVMOptRemarkStringRef |
FunctionName()
Returns a
LLVMOptRemarkStringRef view of the FunctionName field. |
int |
Hotness()
Returns the value of the
Hotness field. |
static LLVMOptRemarkArg.Buffer |
nArgs(long struct)
Unsafe version of
Args(). |
static LLVMOptRemarkDebugLoc |
nDebugLoc(long struct)
Unsafe version of
DebugLoc(). |
static LLVMOptRemarkStringRef |
nFunctionName(long struct)
Unsafe version of
FunctionName(). |
static int |
nHotness(long struct)
Unsafe version of
Hotness(). |
static int |
nNumArgs(long struct)
Unsafe version of
NumArgs(). |
static LLVMOptRemarkStringRef |
nPassName(long struct)
Unsafe version of
PassName(). |
static LLVMOptRemarkStringRef |
nRemarkName(long struct)
Unsafe version of
RemarkName(). |
static LLVMOptRemarkStringRef |
nRemarkType(long struct)
Unsafe version of
RemarkType(). |
int |
NumArgs()
Returns the value of the
NumArgs field. |
LLVMOptRemarkStringRef |
PassName()
Returns a
LLVMOptRemarkStringRef view of the PassName field. |
LLVMOptRemarkStringRef |
RemarkName()
Returns a
LLVMOptRemarkStringRef view of the RemarkName field. |
LLVMOptRemarkStringRef |
RemarkType()
Returns a
LLVMOptRemarkStringRef view of the RemarkType field. |
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int REMARKTYPE
public static final int PASSNAME
public static final int REMARKNAME
public static final int FUNCTIONNAME
public static final int DEBUGLOC
public static final int HOTNESS
public static final int NUMARGS
public static final int ARGS
public LLVMOptRemarkEntry(java.nio.ByteBuffer container)
LLVMOptRemarkEntry 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 LLVMOptRemarkStringRef RemarkType()
LLVMOptRemarkStringRef view of the RemarkType field.public LLVMOptRemarkStringRef PassName()
LLVMOptRemarkStringRef view of the PassName field.public LLVMOptRemarkStringRef RemarkName()
LLVMOptRemarkStringRef view of the RemarkName field.public LLVMOptRemarkStringRef FunctionName()
LLVMOptRemarkStringRef view of the FunctionName field.public LLVMOptRemarkDebugLoc DebugLoc()
LLVMOptRemarkDebugLoc view of the DebugLoc field.public int Hotness()
Hotness field.public int NumArgs()
NumArgs field.public LLVMOptRemarkArg.Buffer Args()
LLVMOptRemarkArg.Buffer view of the struct array pointed to by the Args field.public static LLVMOptRemarkEntry create(long address)
LLVMOptRemarkEntry instance for the specified memory address.@Nullable public static LLVMOptRemarkEntry createSafe(long address)
public static LLVMOptRemarkEntry.Buffer create(long address, int capacity)
LLVMOptRemarkEntry.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static LLVMOptRemarkEntry.Buffer createSafe(long address, int capacity)
public static LLVMOptRemarkStringRef nRemarkType(long struct)
RemarkType().public static LLVMOptRemarkStringRef nPassName(long struct)
PassName().public static LLVMOptRemarkStringRef nRemarkName(long struct)
RemarkName().public static LLVMOptRemarkStringRef nFunctionName(long struct)
FunctionName().public static LLVMOptRemarkDebugLoc nDebugLoc(long struct)
DebugLoc().public static int nHotness(long struct)
Hotness().public static int nNumArgs(long struct)
NumArgs().public static LLVMOptRemarkArg.Buffer nArgs(long struct)
Args().Copyright LWJGL. All Rights Reserved. License terms.