Top Inners Fields Constructors Methods
org.lwjgl.llvm

public Class LLVMAnalysis

extends Object
Class Inheritance
Imports
org.lwjgl.*, org.lwjgl.system.*

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
LLVMAnalysis.Functions

Contains the function pointers loaded from LLVMCore.getLibrary().

Field Summary

Modifier and TypeField and Description
public static final int
LLVMAbortProcessAction

Enum values:

public static final int
LLVMPrintMessageAction

Enum values:

public static final int
LLVMReturnStatusAction

Enum values:

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static boolean
LLVMVerifyFunction(long Fn, int Action)

Verifies that a single function is valid, taking the specified action.

public static boolean
LLVMVerifyModule(long M, int Action, PointerBuffer OutMessage)

Verifies that a module is valid, taking the specified action if not.

public static void
LLVMViewFunctionCFG(long Fn)

Open up a ghostview window that displays the CFG of the current function.

public static void
public static int
nLLVMVerifyModule(long M, int Action, long OutMessage)

Unsafe version of: VerifyModule

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LLVMAbortProcessActionback to summary
public static final int LLVMAbortProcessAction

Enum values:
LLVMPrintMessageActionback to summary
public static final int LLVMPrintMessageAction

Enum values:
LLVMReturnStatusActionback to summary
public static final int LLVMReturnStatusAction

Enum values:

Constructor Detail

LLVMAnalysisback to summary
protected LLVMAnalysis()

Method Detail

LLVMVerifyFunctionback to summary
public static boolean LLVMVerifyFunction(long Fn, int Action)

Verifies that a single function is valid, taking the specified action. Useful for debugging.

Annotations
@NativeType:LLVMBool
LLVMVerifyModuleback to summary
public static boolean LLVMVerifyModule(long M, int Action, PointerBuffer OutMessage)

Verifies that a module is valid, taking the specified action if not. Optionally returns a human-readable description of any invalid constructs. OutMessage must be disposed with DisposeMessage.

Annotations
@NativeType:LLVMBool
LLVMViewFunctionCFGback to summary
public static void LLVMViewFunctionCFG(long Fn)

Open up a ghostview window that displays the CFG of the current function. Useful for debugging.

LLVMViewFunctionCFGOnlyback to summary
public static void LLVMViewFunctionCFGOnly(long Fn)
nLLVMVerifyModuleback to summary
public static int nLLVMVerifyModule(long M, int Action, long OutMessage)

Unsafe version of: VerifyModule

org.lwjgl.llvm back to summary

public final Class LLVMAnalysis.Functions

extends Object
Class Inheritance

Contains the function pointers loaded from LLVMCore.getLibrary().

Field Summary

Modifier and TypeField and Description
public static final long
VerifyFunction

Function address.

public static final long
VerifyModule

Function address.

public static final long
ViewFunctionCFG

Function address.

public static final long
ViewFunctionCFGOnly

Function address.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

VerifyFunctionback to summary
public static final long VerifyFunction

Function address.

VerifyModuleback to summary
public static final long VerifyModule

Function address.

ViewFunctionCFGback to summary
public static final long ViewFunctionCFG

Function address.

ViewFunctionCFGOnlyback to summary
public static final long ViewFunctionCFGOnly

Function address.

Constructor Detail

Functionsback to summary
private Functions()