Package org.lwjgl.llvm
Class LLVMOptRemarkEntry
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.LLVMOptRemarkEntry
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class LLVMOptRemarkEntry extends org.lwjgl.system.Struct
One remark entry.Member documentation
RemarkType
– e.g. !Missed, !PassedPassName
– "Pass": RequiredRemarkName
– "Name": RequiredFunctionName
– "Function": RequiredDebugLoc
– "DebugLoc": OptionalHotness
– "Hotness": OptionalArgs
– "Args": Optional. It is an array ofNumArgs
elements.
Layout
struct LLVMOptRemarkEntry {
LLVMOptRemarkStringRef
RemarkType;LLVMOptRemarkStringRef
PassName;LLVMOptRemarkStringRef
RemarkName;LLVMOptRemarkStringRef
FunctionName;LLVMOptRemarkDebugLoc
DebugLoc; uint32_t Hotness; uint32_t NumArgs;LLVMOptRemarkArg
* Args; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LLVMOptRemarkEntry.Buffer
An array ofLLVMOptRemarkEntry
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
ARGS
DEBUGLOC
FUNCTIONNAME
HOTNESS
NUMARGS
PASSNAME
REMARKNAME
REMARKTYPEThe struct member offsets.static int
SIZEOF
The struct size in bytes.
-
Constructor Summary
Constructors Constructor Description LLVMOptRemarkEntry(java.nio.ByteBuffer container)
Creates aLLVMOptRemarkEntry
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LLVMOptRemarkArg.Buffer
Args()
Returns aLLVMOptRemarkArg.Buffer
view of the struct array pointed to by theArgs
field.static LLVMOptRemarkEntry
create(long address)
Returns a newLLVMOptRemarkEntry
instance for the specified memory address.static LLVMOptRemarkEntry.Buffer
create(long address, int capacity)
Create aLLVMOptRemarkEntry.Buffer
instance at the specified memory.static LLVMOptRemarkEntry
createSafe(long address)
static LLVMOptRemarkEntry.Buffer
createSafe(long address, int capacity)
LLVMOptRemarkDebugLoc
DebugLoc()
Returns aLLVMOptRemarkDebugLoc
view of theDebugLoc
field.LLVMOptRemarkStringRef
FunctionName()
Returns aLLVMOptRemarkStringRef
view of theFunctionName
field.int
Hotness()
Returns the value of theHotness
field.static LLVMOptRemarkArg.Buffer
nArgs(long struct)
Unsafe version ofArgs()
.static LLVMOptRemarkDebugLoc
nDebugLoc(long struct)
Unsafe version ofDebugLoc()
.static LLVMOptRemarkStringRef
nFunctionName(long struct)
Unsafe version ofFunctionName()
.static int
nHotness(long struct)
Unsafe version ofHotness()
.static int
nNumArgs(long struct)
Unsafe version ofNumArgs()
.static LLVMOptRemarkStringRef
nPassName(long struct)
Unsafe version ofPassName()
.static LLVMOptRemarkStringRef
nRemarkName(long struct)
Unsafe version ofRemarkName()
.static LLVMOptRemarkStringRef
nRemarkType(long struct)
Unsafe version ofRemarkType()
.int
NumArgs()
Returns the value of theNumArgs
field.LLVMOptRemarkStringRef
PassName()
Returns aLLVMOptRemarkStringRef
view of thePassName
field.LLVMOptRemarkStringRef
RemarkName()
Returns aLLVMOptRemarkStringRef
view of theRemarkName
field.LLVMOptRemarkStringRef
RemarkType()
Returns aLLVMOptRemarkStringRef
view of theRemarkType
field.int
sizeof()
-
-
-
Constructor Detail
-
LLVMOptRemarkEntry
public LLVMOptRemarkEntry(java.nio.ByteBuffer container)
Creates aLLVMOptRemarkEntry
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
-
RemarkType
public LLVMOptRemarkStringRef RemarkType()
Returns aLLVMOptRemarkStringRef
view of theRemarkType
field.
-
PassName
public LLVMOptRemarkStringRef PassName()
Returns aLLVMOptRemarkStringRef
view of thePassName
field.
-
RemarkName
public LLVMOptRemarkStringRef RemarkName()
Returns aLLVMOptRemarkStringRef
view of theRemarkName
field.
-
FunctionName
public LLVMOptRemarkStringRef FunctionName()
Returns aLLVMOptRemarkStringRef
view of theFunctionName
field.
-
DebugLoc
public LLVMOptRemarkDebugLoc DebugLoc()
Returns aLLVMOptRemarkDebugLoc
view of theDebugLoc
field.
-
Hotness
public int Hotness()
Returns the value of theHotness
field.
-
NumArgs
public int NumArgs()
Returns the value of theNumArgs
field.
-
Args
public LLVMOptRemarkArg.Buffer Args()
Returns aLLVMOptRemarkArg.Buffer
view of the struct array pointed to by theArgs
field.
-
create
public static LLVMOptRemarkEntry create(long address)
Returns a newLLVMOptRemarkEntry
instance for the specified memory address.
-
createSafe
@Nullable public static LLVMOptRemarkEntry createSafe(long address)
-
create
public static LLVMOptRemarkEntry.Buffer create(long address, int capacity)
Create aLLVMOptRemarkEntry.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static LLVMOptRemarkEntry.Buffer createSafe(long address, int capacity)
-
nRemarkType
public static LLVMOptRemarkStringRef nRemarkType(long struct)
Unsafe version ofRemarkType()
.
-
nPassName
public static LLVMOptRemarkStringRef nPassName(long struct)
Unsafe version ofPassName()
.
-
nRemarkName
public static LLVMOptRemarkStringRef nRemarkName(long struct)
Unsafe version ofRemarkName()
.
-
nFunctionName
public static LLVMOptRemarkStringRef nFunctionName(long struct)
Unsafe version ofFunctionName()
.
-
nDebugLoc
public static LLVMOptRemarkDebugLoc nDebugLoc(long struct)
Unsafe version ofDebugLoc()
.
-
nHotness
public static int nHotness(long struct)
Unsafe version ofHotness()
.
-
nNumArgs
public static int nNumArgs(long struct)
Unsafe version ofNumArgs()
.
-
nArgs
public static LLVMOptRemarkArg.Buffer nArgs(long struct)
Unsafe version ofArgs()
.
-
-