Top Inners Constructors Methods
org.lwjgl.llvm

public Class LLVMBitReader

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
LLVMBitReader.Functions

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

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static boolean
LLVMGetBitcodeModule(long MemBuf, PointerBuffer OutM, PointerBuffer OutMessage)

This is deprecated.

public static boolean
public static boolean
LLVMGetBitcodeModuleInContext(long ContextRef, long MemBuf, PointerBuffer OutM, PointerBuffer OutMessage)

Reads a module from the specified path, returning via the OutMP parameter a module provider which performs lazy deserialization.

public static boolean

Returns:

0 on success
LLVMGetBitcodeModuleInContext2
(long ContextRef, long MemBuf, PointerBuffer OutM)

Reads a module from the given memory buffer, returning via the OutMP parameter a module provider which performs lazy deserialization.

public static boolean
LLVMParseBitcode(long MemBuf, PointerBuffer OutModule, PointerBuffer OutMessage)

Builds a module from the bitcode in the specified memory buffer, returning a reference to the module via the OutModule parameter.

public static boolean
LLVMParseBitcode2(long MemBuf, PointerBuffer OutModule)

Builds a module from the bitcode in the specified memory buffer, returning a reference to the module via the OutModule parameter.

public static boolean
LLVMParseBitcodeInContext(long ContextRef, long MemBuf, PointerBuffer OutModule, PointerBuffer OutMessage)

This is deprecated.

public static boolean
LLVMParseBitcodeInContext2(long ContextRef, long MemBuf, PointerBuffer OutModule)

public static int
nLLVMGetBitcodeModule(long MemBuf, long OutM, long OutMessage)

Unsafe version of: GetBitcodeModule

public static int
nLLVMGetBitcodeModule2(long MemBuf, long OutM)

public static int
nLLVMGetBitcodeModuleInContext(long ContextRef, long MemBuf, long OutM, long OutMessage)

Unsafe version of: GetBitcodeModuleInContext

public static int
nLLVMGetBitcodeModuleInContext2(long ContextRef, long MemBuf, long OutM)

Unsafe version of: GetBitcodeModuleInContext2

public static int
nLLVMParseBitcode(long MemBuf, long OutModule, long OutMessage)

Unsafe version of: ParseBitcode

public static int
nLLVMParseBitcode2(long MemBuf, long OutModule)

Unsafe version of: ParseBitcode2

public static int
nLLVMParseBitcodeInContext(long ContextRef, long MemBuf, long OutModule, long OutMessage)

Unsafe version of: ParseBitcodeInContext

public static int
nLLVMParseBitcodeInContext2(long ContextRef, long MemBuf, long OutModule)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

LLVMBitReaderback to summary
protected LLVMBitReader()

Method Detail

LLVMGetBitcodeModuleback to summary
public static boolean LLVMGetBitcodeModule(long MemBuf, PointerBuffer OutM, PointerBuffer OutMessage)

This is deprecated. Use GetBitcodeModule2.

Annotations
@NativeType:LLVMBool
LLVMGetBitcodeModule2back to summary
public static boolean LLVMGetBitcodeModule2(long MemBuf, PointerBuffer OutM)
Annotations
@NativeType:LLVMBool
LLVMGetBitcodeModuleInContextback to summary
public static boolean LLVMGetBitcodeModuleInContext(long ContextRef, long MemBuf, PointerBuffer OutM, PointerBuffer OutMessage)

Reads a module from the specified path, returning via the OutMP parameter a module provider which performs lazy deserialization. Returns 0 on success. Optionally returns a human-readable error message via OutMessage. This is deprecated. Use GetBitcodeModuleInContext2.

Annotations
@NativeType:LLVMBool
LLVMGetBitcodeModuleInContext2back to summary
public static boolean LLVMGetBitcodeModuleInContext2(long ContextRef, long MemBuf, PointerBuffer OutM)

Reads a module from the given memory buffer, returning via the OutMP parameter a module provider which performs lazy deserialization.

Takes ownership of MemBuf if (and only if) the module was read successfully.

Returns:boolean

0 on success

Annotations
@NativeType:LLVMBool
LLVMParseBitcodeback to summary
public static boolean LLVMParseBitcode(long MemBuf, PointerBuffer OutModule, PointerBuffer OutMessage)

Builds a module from the bitcode in the specified memory buffer, returning a reference to the module via the OutModule parameter. Returns 0 on success. Optionally returns a human-readable error message via OutMessage.

This is deprecated. Use LLVMParseBitcode2.

Annotations
@NativeType:LLVMBool
LLVMParseBitcode2back to summary
public static boolean LLVMParseBitcode2(long MemBuf, PointerBuffer OutModule)

Builds a module from the bitcode in the specified memory buffer, returning a reference to the module via the OutModule parameter. Returns 0 on success.

Annotations
@NativeType:LLVMBool
LLVMParseBitcodeInContextback to summary
public static boolean LLVMParseBitcodeInContext(long ContextRef, long MemBuf, PointerBuffer OutModule, PointerBuffer OutMessage)

This is deprecated. Use ParseBitcodeInContext2.

Annotations
@NativeType:LLVMBool
LLVMParseBitcodeInContext2back to summary
public static boolean LLVMParseBitcodeInContext2(long ContextRef, long MemBuf, PointerBuffer OutModule)
Annotations
@NativeType:LLVMBool
nLLVMGetBitcodeModuleback to summary
public static int nLLVMGetBitcodeModule(long MemBuf, long OutM, long OutMessage)

Unsafe version of: GetBitcodeModule

nLLVMGetBitcodeModule2back to summary
public static int nLLVMGetBitcodeModule2(long MemBuf, long OutM)
nLLVMGetBitcodeModuleInContextback to summary
public static int nLLVMGetBitcodeModuleInContext(long ContextRef, long MemBuf, long OutM, long OutMessage)

Unsafe version of: GetBitcodeModuleInContext

nLLVMGetBitcodeModuleInContext2back to summary
public static int nLLVMGetBitcodeModuleInContext2(long ContextRef, long MemBuf, long OutM)

Unsafe version of: GetBitcodeModuleInContext2

nLLVMParseBitcodeback to summary
public static int nLLVMParseBitcode(long MemBuf, long OutModule, long OutMessage)

Unsafe version of: ParseBitcode

nLLVMParseBitcode2back to summary
public static int nLLVMParseBitcode2(long MemBuf, long OutModule)

Unsafe version of: ParseBitcode2

nLLVMParseBitcodeInContextback to summary
public static int nLLVMParseBitcodeInContext(long ContextRef, long MemBuf, long OutModule, long OutMessage)

Unsafe version of: ParseBitcodeInContext

nLLVMParseBitcodeInContext2back to summary
public static int nLLVMParseBitcodeInContext2(long ContextRef, long MemBuf, long OutModule)
org.lwjgl.llvm back to summary

public final Class LLVMBitReader.Functions

extends Object
Class Inheritance

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

Field Summary

Modifier and TypeField and Description
public static final long
GetBitcodeModule

Function address.

public static final long
GetBitcodeModule2

Function address.

public static final long
GetBitcodeModuleInContext

Function address.

public static final long
GetBitcodeModuleInContext2

Function address.

public static final long
ParseBitcode

Function address.

public static final long
ParseBitcode2

Function address.

public static final long
ParseBitcodeInContext

Function address.

public static final long
ParseBitcodeInContext2

Function address.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GetBitcodeModuleback to summary
public static final long GetBitcodeModule

Function address.

GetBitcodeModule2back to summary
public static final long GetBitcodeModule2

Function address.

GetBitcodeModuleInContextback to summary
public static final long GetBitcodeModuleInContext

Function address.

GetBitcodeModuleInContext2back to summary
public static final long GetBitcodeModuleInContext2

Function address.

ParseBitcodeback to summary
public static final long ParseBitcode

Function address.

ParseBitcode2back to summary
public static final long ParseBitcode2

Function address.

ParseBitcodeInContextback to summary
public static final long ParseBitcodeInContext

Function address.

ParseBitcodeInContext2back to summary
public static final long ParseBitcodeInContext2

Function address.

Constructor Detail

Functionsback to summary
private Functions()