| Modifier and Type | Class and Description |
|---|---|
| public static class | LLVMRemarks.
Contains the function pointers loaded from |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | LLVMRemarkTypeAnalysis
The type of the emitted remark. |
| public static final int | LLVMRemarkTypeAnalysisAliasing
The type of the emitted remark. |
| public static final int | LLVMRemarkTypeAnalysisFPCommute
The type of the emitted remark. |
| public static final int | LLVMRemarkTypeFailure
The type of the emitted remark. |
| public static final int | LLVMRemarkTypeMissed
The type of the emitted remark. |
| public static final int | LLVMRemarkTypePassed
The type of the emitted remark. |
| public static final int | LLVMRemarkTypeUnknown
The type of the emitted remark. |
| public static final int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static long | LLVMRemarkArgGetDebugLoc(long Arg)
Returns the debug location that is attached to the value of this argument. |
| public static long | |
| public static long | |
| public static int | LLVMRemarkDebugLocGetSourceColumn(long DL)
Return the column in the source file for a debug location. |
| public static long | LLVMRemarkDebugLocGetSourceFilePath(long DL)
Return the path to the source file for a debug location. |
| public static int | |
| public static void | |
| public static long | |
| public static long | |
| public static long | LLVMRemarkEntryGetFunctionName(long Remark)
Get the name of the function being processed when the remark was emitted. |
| public static long | |
| public static long | LLVMRemarkEntryGetNextArg(long It, long Remark)
Get the next argument in |
| public static int | |
| public static long | |
| public static long | |
| public static int | |
| public static long | LLVMRemarkParserCreateBitstream(ByteBuffer Buf)
Creates a remark parser that can be used to parse the buffer located in |
| public static long | LLVMRemarkParserCreateYAML(ByteBuffer Buf)
Creates a remark parser that can be used to parse the buffer located in |
| public static void | |
| public static String | LLVMRemarkParserGetErrorMessage(long Parser)
Returns a null-terminated string containing an error message. |
| public static long | |
| public static boolean | LLVMRemarkParserHasError(long Parser)
Returns |
| public static String | |
| public static int | |
| public static int | |
| public static long | |
| public static long | |
| public static long | |
| public static long |
| LLVMRemarkTypeAnalysis | back to summary |
|---|---|
| public static final int LLVMRemarkTypeAnalysis The type of the emitted remark. ( Enum values: | |
| LLVMRemarkTypeAnalysisAliasing | back to summary |
|---|---|
| public static final int LLVMRemarkTypeAnalysisAliasing The type of the emitted remark. ( Enum values: | |
| LLVMRemarkTypeAnalysisFPCommute | back to summary |
|---|---|
| public static final int LLVMRemarkTypeAnalysisFPCommute The type of the emitted remark. ( Enum values: | |
| LLVMRemarkTypeFailure | back to summary |
|---|---|
| public static final int LLVMRemarkTypeFailure The type of the emitted remark. ( Enum values: | |
| LLVMRemarkTypeMissed | back to summary |
|---|---|
| public static final int LLVMRemarkTypeMissed The type of the emitted remark. ( Enum values: | |
| LLVMRemarkTypePassed | back to summary |
|---|---|
| public static final int LLVMRemarkTypePassed The type of the emitted remark. ( Enum values: | |
| LLVMRemarkTypeUnknown | back to summary |
|---|---|
| public static final int LLVMRemarkTypeUnknown The type of the emitted remark. ( Enum values: | |
| REMARKS_API_VERSION | back to summary |
|---|---|
| public static final int REMARKS_API_VERSION | |
| LLVMRemarks | back to summary |
|---|---|
| protected LLVMRemarks() | |
| LLVMRemarkArgGetDebugLoc | back to summary |
|---|---|
| public static long LLVMRemarkArgGetDebugLoc(long Arg) Returns the debug location that is attached to the value of this argument. If there is no debug location, the return value will be
| |
| LLVMRemarkArgGetKey | back to summary |
|---|---|
| public static long LLVMRemarkArgGetKey(long Arg) Returns the key of an argument. The key defines what the value is, and the same key can appear multiple times in the list of arguments.
| |
| LLVMRemarkArgGetValue | back to summary |
|---|---|
| public static long LLVMRemarkArgGetValue(long Arg) Returns the value of an argument. This is a string that can contain newlines.
| |
| LLVMRemarkDebugLocGetSourceColumn | back to summary |
|---|---|
| public static int LLVMRemarkDebugLocGetSourceColumn(long DL) Return the column in the source file for a debug location.
| |
| LLVMRemarkDebugLocGetSourceFilePath | back to summary |
|---|---|
| public static long LLVMRemarkDebugLocGetSourceFilePath(long DL) Return the path to the source file for a debug location.
| |
| LLVMRemarkDebugLocGetSourceLine | back to summary |
|---|---|
| public static int LLVMRemarkDebugLocGetSourceLine(long DL) Return the line in the source file for a debug location.
| |
| LLVMRemarkEntryDispose | back to summary |
|---|---|
| public static void LLVMRemarkEntryDispose(long Remark) Free the resources used by the remark entry. | |
| LLVMRemarkEntryGetDebugLoc | back to summary |
|---|---|
| public static long LLVMRemarkEntryGetDebugLoc(long Remark) Returns the debug location that is attached to this remark. If there is no debug location, the return value will be
| |
| LLVMRemarkEntryGetFirstArg | back to summary |
|---|---|
| public static long LLVMRemarkEntryGetFirstArg(long Remark) Get a new iterator to iterate over a remark's argument. If there are no arguments in The lifetime of the returned value is bound to the lifetime of
| |
| LLVMRemarkEntryGetFunctionName | back to summary |
|---|---|
| public static long LLVMRemarkEntryGetFunctionName(long Remark) Get the name of the function being processed when the remark was emitted.
| |
| LLVMRemarkEntryGetHotness | back to summary |
|---|---|
| public static long LLVMRemarkEntryGetHotness(long Remark) Return the hotness of the remark. A hotness of
| |
| LLVMRemarkEntryGetNextArg | back to summary |
|---|---|
| public static long LLVMRemarkEntryGetNextArg(long It, long Remark) Get the next argument in Returns The lifetime of the returned value is bound to the lifetime of
| |
| LLVMRemarkEntryGetNumArgs | back to summary |
|---|---|
| public static int LLVMRemarkEntryGetNumArgs(long Remark) The number of arguments the remark holds.
| |
| LLVMRemarkEntryGetPassName | back to summary |
|---|---|
| public static long LLVMRemarkEntryGetPassName(long Remark) Get the name of the pass that emitted this remark.
| |
| LLVMRemarkEntryGetRemarkName | back to summary |
|---|---|
| public static long LLVMRemarkEntryGetRemarkName(long Remark) Get an identifier of the remark.
| |
| LLVMRemarkEntryGetType | back to summary |
|---|---|
| public static int LLVMRemarkEntryGetType(long Remark) The type of the remark. For example, it can allow users to only keep the missed optimizations from the compiler.
| |
| LLVMRemarkParserCreateBitstream | back to summary |
|---|---|
| public static long LLVMRemarkParserCreateBitstream(ByteBuffer Buf) Creates a remark parser that can be used to parse the buffer located in
This function should be paired with
| |
| LLVMRemarkParserCreateYAML | back to summary |
|---|---|
| public static long LLVMRemarkParserCreateYAML(ByteBuffer Buf) Creates a remark parser that can be used to parse the buffer located in
This function should be paired with
| |
| LLVMRemarkParserDispose | back to summary |
|---|---|
| public static void LLVMRemarkParserDispose(long Parser) Releases all the resources used by | |
| LLVMRemarkParserGetErrorMessage | back to summary |
|---|---|
| public static String LLVMRemarkParserGetErrorMessage(long Parser) Returns a null-terminated string containing an error message. In case of no error, the result is The memory of the string is bound to the lifetime of
| |
| LLVMRemarkParserGetNext | back to summary |
|---|---|
| public static long LLVMRemarkParserGetNext(long Parser) Returns the next remark in the file. The value pointed to by the return value needs to be disposed using a call to All the entries in the returned value that are of If the parser reaches the end of the buffer, the return value will be In the case of an error, the return value will be
An error may occur if:
Here is a quick example of the usage:
| |
| LLVMRemarkParserHasError | back to summary |
|---|---|
| public static boolean LLVMRemarkParserHasError(long Parser) Returns
| |
| LLVMRemarkStringGetData | back to summary |
|---|---|
| public static String LLVMRemarkStringGetData(long String) Returns the buffer holding the string.
| |
| LLVMRemarkStringGetLen | back to summary |
|---|---|
| public static int LLVMRemarkStringGetLen(long String) Returns the size of the string.
| |
| LLVMRemarkVersion | back to summary |
|---|---|
| public static int LLVMRemarkVersion() Returns the version of the remarks library.
| |
| nLLVMRemarkParserCreateBitstream | back to summary |
|---|---|
| public static long nLLVMRemarkParserCreateBitstream(long Buf, long Size) Unsafe version of: | |
| nLLVMRemarkParserCreateYAML | back to summary |
|---|---|
| public static long nLLVMRemarkParserCreateYAML(long Buf, long Size) Unsafe version of: | |
| nLLVMRemarkParserGetErrorMessage | back to summary |
|---|---|
| public static long nLLVMRemarkParserGetErrorMessage(long Parser) Unsafe version of: | |
| nLLVMRemarkStringGetData | back to summary |
|---|---|
| public static long nLLVMRemarkStringGetData(long String) Unsafe version of: | |
LLVMCore.getLibrary().
| Modifier and Type | Field and Description |
|---|---|
| public static final long | RemarkArgGetDebugLoc
Function address. |
| public static final long | RemarkArgGetKey
Function address. |
| public static final long | RemarkArgGetValue
Function address. |
| public static final long | RemarkDebugLocGetSourceColumn
Function address. |
| public static final long | RemarkDebugLocGetSourceFilePath
Function address. |
| public static final long | RemarkDebugLocGetSourceLine
Function address. |
| public static final long | RemarkEntryDispose
Function address. |
| public static final long | RemarkEntryGetDebugLoc
Function address. |
| public static final long | RemarkEntryGetFirstArg
Function address. |
| public static final long | RemarkEntryGetFunctionName
Function address. |
| public static final long | RemarkEntryGetHotness
Function address. |
| public static final long | RemarkEntryGetNextArg
Function address. |
| public static final long | RemarkEntryGetNumArgs
Function address. |
| public static final long | RemarkEntryGetPassName
Function address. |
| public static final long | RemarkEntryGetRemarkName
Function address. |
| public static final long | RemarkEntryGetType
Function address. |
| public static final long | RemarkParserCreateBitstream
Function address. |
| public static final long | RemarkParserCreateYAML
Function address. |
| public static final long | RemarkParserDispose
Function address. |
| public static final long | RemarkParserGetErrorMessage
Function address. |
| public static final long | RemarkParserGetNext
Function address. |
| public static final long | RemarkParserHasError
Function address. |
| public static final long | RemarkStringGetData
Function address. |
| public static final long | RemarkStringGetLen
Function address. |
| public static final long | RemarkVersion
Function address. |
| Access | Constructor and Description |
|---|---|
| private |
| RemarkArgGetDebugLoc | back to summary |
|---|---|
| public static final long RemarkArgGetDebugLoc Function address. | |
| RemarkArgGetKey | back to summary |
|---|---|
| public static final long RemarkArgGetKey Function address. | |
| RemarkArgGetValue | back to summary |
|---|---|
| public static final long RemarkArgGetValue Function address. | |
| RemarkDebugLocGetSourceColumn | back to summary |
|---|---|
| public static final long RemarkDebugLocGetSourceColumn Function address. | |
| RemarkDebugLocGetSourceFilePath | back to summary |
|---|---|
| public static final long RemarkDebugLocGetSourceFilePath Function address. | |
| RemarkDebugLocGetSourceLine | back to summary |
|---|---|
| public static final long RemarkDebugLocGetSourceLine Function address. | |
| RemarkEntryDispose | back to summary |
|---|---|
| public static final long RemarkEntryDispose Function address. | |
| RemarkEntryGetDebugLoc | back to summary |
|---|---|
| public static final long RemarkEntryGetDebugLoc Function address. | |
| RemarkEntryGetFirstArg | back to summary |
|---|---|
| public static final long RemarkEntryGetFirstArg Function address. | |
| RemarkEntryGetFunctionName | back to summary |
|---|---|
| public static final long RemarkEntryGetFunctionName Function address. | |
| RemarkEntryGetHotness | back to summary |
|---|---|
| public static final long RemarkEntryGetHotness Function address. | |
| RemarkEntryGetNextArg | back to summary |
|---|---|
| public static final long RemarkEntryGetNextArg Function address. | |
| RemarkEntryGetNumArgs | back to summary |
|---|---|
| public static final long RemarkEntryGetNumArgs Function address. | |
| RemarkEntryGetPassName | back to summary |
|---|---|
| public static final long RemarkEntryGetPassName Function address. | |
| RemarkEntryGetRemarkName | back to summary |
|---|---|
| public static final long RemarkEntryGetRemarkName Function address. | |
| RemarkEntryGetType | back to summary |
|---|---|
| public static final long RemarkEntryGetType Function address. | |
| RemarkParserCreateBitstream | back to summary |
|---|---|
| public static final long RemarkParserCreateBitstream Function address. | |
| RemarkParserCreateYAML | back to summary |
|---|---|
| public static final long RemarkParserCreateYAML Function address. | |
| RemarkParserDispose | back to summary |
|---|---|
| public static final long RemarkParserDispose Function address. | |
| RemarkParserGetErrorMessage | back to summary |
|---|---|
| public static final long RemarkParserGetErrorMessage Function address. | |
| RemarkParserGetNext | back to summary |
|---|---|
| public static final long RemarkParserGetNext Function address. | |
| RemarkParserHasError | back to summary |
|---|---|
| public static final long RemarkParserHasError Function address. | |
| RemarkStringGetData | back to summary |
|---|---|
| public static final long RemarkStringGetData Function address. | |
| RemarkStringGetLen | back to summary |
|---|---|
| public static final long RemarkStringGetLen Function address. | |
| RemarkVersion | back to summary |
|---|---|
| public static final long RemarkVersion Function address. | |
| Functions | back to summary |
|---|---|
| private Functions() | |