Top Description Inners Constructors Methods
org.lwjgl.llvm

public abstract Class LLVMOrcGenericIRModuleOperationFunction

extends Callback
implements LLVMOrcGenericIRModuleOperationFunctionI
Class Inheritance
All Implemented Interfaces
org.lwjgl.llvm.LLVMOrcGenericIRModuleOperationFunctionI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.llvm.LLVMOrcGenericIRModuleOperationFunction.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Instances of this class may be passed to the OrcThreadSafeModuleWithModuleDo method.

Type


LLVMErrorRef (*invoke) (
    void *Ctx,
    LLVMModuleRef M
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv

Method Summary

Modifier and TypeMethod and Description
public static LLVMOrcGenericIRModuleOperationFunction

Returns:

the new LLVMOrcGenericIRModuleOperationFunction
create
(long functionPointer)

Creates a LLVMOrcGenericIRModuleOperationFunction instance from the specified function pointer.

public static LLVMOrcGenericIRModuleOperationFunction
create(LLVMOrcGenericIRModuleOperationFunctionI instance)

Creates a LLVMOrcGenericIRModuleOperationFunction instance that delegates to the specified LLVMOrcGenericIRModuleOperationFunctionI instance.

public static LLVMOrcGenericIRModuleOperationFunction
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

LLVMOrcGenericIRModuleOperationFunctionback to summary
protected LLVMOrcGenericIRModuleOperationFunction()
LLVMOrcGenericIRModuleOperationFunctionback to summary
pack-priv LLVMOrcGenericIRModuleOperationFunction(long functionPointer)

Method Detail

createback to summary
public static LLVMOrcGenericIRModuleOperationFunction create(long functionPointer)

Creates a LLVMOrcGenericIRModuleOperationFunction instance from the specified function pointer.

Returns:LLVMOrcGenericIRModuleOperationFunction

the new LLVMOrcGenericIRModuleOperationFunction

createback to summary
public static LLVMOrcGenericIRModuleOperationFunction create(LLVMOrcGenericIRModuleOperationFunctionI instance)

Creates a LLVMOrcGenericIRModuleOperationFunction instance that delegates to the specified LLVMOrcGenericIRModuleOperationFunctionI instance.

createSafeback to summary
public static LLVMOrcGenericIRModuleOperationFunction createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.llvm back to summary

private final Class LLVMOrcGenericIRModuleOperationFunction.Container

extends LLVMOrcGenericIRModuleOperationFunction
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final LLVMOrcGenericIRModuleOperationFunctionI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, LLVMOrcGenericIRModuleOperationFunctionI delegate)

Method Summary

Modifier and TypeMethod and Description
public long
invoke(long Ctx, long M)

Implements org.lwjgl.llvm.LLVMOrcGenericIRModuleOperationFunctionI.invoke.

A function for inspecting/mutating IR modules, suitable for use with OrcThreadSafeModuleWithModuleDo.
Inherited from org.lwjgl.llvm.LLVMOrcGenericIRModuleOperationFunction:
createcreatecreateSafe

Field Detail

delegateback to summary
private final LLVMOrcGenericIRModuleOperationFunctionI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, LLVMOrcGenericIRModuleOperationFunctionI delegate)

Method Detail

invokeback to summary
public long invoke(long Ctx, long M)

Implements org.lwjgl.llvm.LLVMOrcGenericIRModuleOperationFunctionI.invoke.

Doc from org.lwjgl.llvm.LLVMOrcGenericIRModuleOperationFunctionI.invoke.

A function for inspecting/mutating IR modules, suitable for use with OrcThreadSafeModuleWithModuleDo.

Annotations
@Override