Package org.lwjgl.llvm
Class LLVMBitReader
java.lang.Object
org.lwjgl.llvm.LLVMBitReader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromLLVMCore.getLibrary(). -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanLLVMGetBitcodeModule(long MemBuf, org.lwjgl.PointerBuffer OutM, org.lwjgl.PointerBuffer OutMessage) This is deprecated.static booleanLLVMGetBitcodeModule2(long MemBuf, org.lwjgl.PointerBuffer OutM) static booleanLLVMGetBitcodeModuleInContext(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutM, org.lwjgl.PointerBuffer OutMessage) Reads a module from the specified path, returning via theOutMPparameter a module provider which performs lazy deserialization.static booleanLLVMGetBitcodeModuleInContext2(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutM) Reads a module from the given memory buffer, returning via theOutMPparameter a module provider which performs lazy deserialization.static booleanLLVMParseBitcode(long MemBuf, org.lwjgl.PointerBuffer OutModule, org.lwjgl.PointerBuffer OutMessage) Builds a module from the bitcode in the specified memory buffer, returning a reference to the module via theOutModuleparameter.static booleanLLVMParseBitcode2(long MemBuf, org.lwjgl.PointerBuffer OutModule) Builds a module from the bitcode in the specified memory buffer, returning a reference to the module via theOutModuleparameter.static booleanLLVMParseBitcodeInContext(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutModule, org.lwjgl.PointerBuffer OutMessage) This is deprecated.static booleanLLVMParseBitcodeInContext2(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutModule) static intnLLVMGetBitcodeModule(long MemBuf, long OutM, long OutMessage) Unsafe version of:GetBitcodeModulestatic intnLLVMGetBitcodeModule2(long MemBuf, long OutM) static intnLLVMGetBitcodeModuleInContext(long ContextRef, long MemBuf, long OutM, long OutMessage) Unsafe version of:GetBitcodeModuleInContextstatic intnLLVMGetBitcodeModuleInContext2(long ContextRef, long MemBuf, long OutM) Unsafe version of:GetBitcodeModuleInContext2static intnLLVMParseBitcode(long MemBuf, long OutModule, long OutMessage) Unsafe version of:ParseBitcodestatic intnLLVMParseBitcode2(long MemBuf, long OutModule) Unsafe version of:ParseBitcode2static intnLLVMParseBitcodeInContext(long ContextRef, long MemBuf, long OutModule, long OutMessage) Unsafe version of:ParseBitcodeInContextstatic intnLLVMParseBitcodeInContext2(long ContextRef, long MemBuf, long OutModule)
-
Method Details
-
nLLVMParseBitcode
public static int nLLVMParseBitcode(long MemBuf, long OutModule, long OutMessage) Unsafe version of:ParseBitcode -
LLVMParseBitcode
public static boolean LLVMParseBitcode(long MemBuf, org.lwjgl.PointerBuffer OutModule, org.lwjgl.PointerBuffer OutMessage) Builds a module from the bitcode in the specified memory buffer, returning a reference to the module via theOutModuleparameter. Returns 0 on success. Optionally returns a human-readable error message viaOutMessage.This is deprecated. Use LLVMParseBitcode2.
-
nLLVMParseBitcode2
public static int nLLVMParseBitcode2(long MemBuf, long OutModule) Unsafe version of:ParseBitcode2 -
LLVMParseBitcode2
public static boolean LLVMParseBitcode2(long MemBuf, org.lwjgl.PointerBuffer OutModule) Builds a module from the bitcode in the specified memory buffer, returning a reference to the module via theOutModuleparameter. Returns 0 on success. -
nLLVMParseBitcodeInContext
public static int nLLVMParseBitcodeInContext(long ContextRef, long MemBuf, long OutModule, long OutMessage) Unsafe version of:ParseBitcodeInContext -
LLVMParseBitcodeInContext
public static boolean LLVMParseBitcodeInContext(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutModule, org.lwjgl.PointerBuffer OutMessage) This is deprecated. UseParseBitcodeInContext2. -
nLLVMParseBitcodeInContext2
public static int nLLVMParseBitcodeInContext2(long ContextRef, long MemBuf, long OutModule) -
LLVMParseBitcodeInContext2
public static boolean LLVMParseBitcodeInContext2(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutModule) -
nLLVMGetBitcodeModuleInContext
public static int nLLVMGetBitcodeModuleInContext(long ContextRef, long MemBuf, long OutM, long OutMessage) Unsafe version of:GetBitcodeModuleInContext -
LLVMGetBitcodeModuleInContext
public static boolean LLVMGetBitcodeModuleInContext(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutM, org.lwjgl.PointerBuffer OutMessage) Reads a module from the specified path, returning via theOutMPparameter a module provider which performs lazy deserialization. Returns 0 on success. Optionally returns a human-readable error message viaOutMessage. This is deprecated. UseGetBitcodeModuleInContext2. -
nLLVMGetBitcodeModuleInContext2
public static int nLLVMGetBitcodeModuleInContext2(long ContextRef, long MemBuf, long OutM) Unsafe version of:GetBitcodeModuleInContext2 -
LLVMGetBitcodeModuleInContext2
public static boolean LLVMGetBitcodeModuleInContext2(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutM) Reads a module from the given memory buffer, returning via theOutMPparameter a module provider which performs lazy deserialization.Takes ownership of
MemBufif (and only if) the module was read successfully.- Returns:
- 0 on success
-
nLLVMGetBitcodeModule
public static int nLLVMGetBitcodeModule(long MemBuf, long OutM, long OutMessage) Unsafe version of:GetBitcodeModule -
LLVMGetBitcodeModule
public static boolean LLVMGetBitcodeModule(long MemBuf, org.lwjgl.PointerBuffer OutM, org.lwjgl.PointerBuffer OutMessage) This is deprecated. UseGetBitcodeModule2. -
nLLVMGetBitcodeModule2
public static int nLLVMGetBitcodeModule2(long MemBuf, long OutM) -
LLVMGetBitcodeModule2
public static boolean LLVMGetBitcodeModule2(long MemBuf, org.lwjgl.PointerBuffer OutM)
-