Class LLVMIRReader

java.lang.Object
org.lwjgl.llvm.LLVMIRReader

public class LLVMIRReader extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Contains the function pointers loaded from LLVMCore.getLibrary().
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    LLVMParseIRInContext(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutM, org.lwjgl.PointerBuffer OutMessage)
    Read LLVM IR from a memory buffer and convert it into an in-memory Module object.
    static int
    nLLVMParseIRInContext(long ContextRef, long MemBuf, long OutM, long OutMessage)
    Unsafe version of: ParseIRInContext

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • nLLVMParseIRInContext

      public static int nLLVMParseIRInContext(long ContextRef, long MemBuf, long OutM, long OutMessage)
      Unsafe version of: ParseIRInContext
    • LLVMParseIRInContext

      public static boolean LLVMParseIRInContext(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutM, org.lwjgl.PointerBuffer OutMessage)
      Read LLVM IR from a memory buffer and convert it into an in-memory Module object.

      Returns 0 on success. Optionally returns a human-readable description of any errors that occurred during parsing IR. OutMessage must be disposed with DisposeMessage.