Class LLVMBitReader


  • public class LLVMBitReader
    extends java.lang.Object
    • Nested Class Summary

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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean LLVMGetBitcodeModule​(long MemBuf, org.lwjgl.PointerBuffer OutM, org.lwjgl.PointerBuffer OutMessage)
      This is deprecated.
      static boolean LLVMGetBitcodeModule2​(long MemBuf, org.lwjgl.PointerBuffer OutM)  
      static boolean LLVMGetBitcodeModuleInContext​(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutM, org.lwjgl.PointerBuffer OutMessage)
      Reads a module from the specified path, returning via the OutMP parameter a module provider which performs lazy deserialization.
      static boolean LLVMGetBitcodeModuleInContext2​(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutM)
      Reads a module from the specified path, returning via the OutMP parameter a module provider which performs lazy deserialization.
      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 the OutModule parameter.
      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 the OutModule parameter.
      static boolean LLVMParseBitcodeInContext​(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutModule, org.lwjgl.PointerBuffer OutMessage)
      This is deprecated.
      static boolean LLVMParseBitcodeInContext2​(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutModule)  
      static int nLLVMGetBitcodeModule​(long MemBuf, long OutM, long OutMessage)
      Unsafe version of: GetBitcodeModule
      static int nLLVMGetBitcodeModule2​(long MemBuf, long OutM)  
      static int nLLVMGetBitcodeModuleInContext​(long ContextRef, long MemBuf, long OutM, long OutMessage)
      Unsafe version of: GetBitcodeModuleInContext
      static int nLLVMGetBitcodeModuleInContext2​(long ContextRef, long MemBuf, long OutM)
      Unsafe version of: GetBitcodeModuleInContext2
      static int nLLVMParseBitcode​(long MemBuf, long OutModule, long OutMessage)
      Unsafe version of: ParseBitcode
      static int nLLVMParseBitcode2​(long MemBuf, long OutModule)
      Unsafe version of: ParseBitcode2
      static int nLLVMParseBitcodeInContext​(long ContextRef, long MemBuf, long OutModule, long OutMessage)
      Unsafe version of: ParseBitcodeInContext
      static int nLLVMParseBitcodeInContext2​(long ContextRef, long MemBuf, long OutModule)  
      • Methods inherited from class java.lang.Object

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

      • 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 the OutModule parameter. Returns 0 on success. Optionally returns a human-readable error message via OutMessage.

        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 the OutModule parameter. 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. Use ParseBitcodeInContext2.
      • 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 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.
      • 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 specified path, returning via the OutMP parameter a module provider which performs lazy deserialization. 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. Use GetBitcodeModule2.
      • nLLVMGetBitcodeModule2

        public static int nLLVMGetBitcodeModule2​(long MemBuf,
                                                 long OutM)
      • LLVMGetBitcodeModule2

        public static boolean LLVMGetBitcodeModule2​(long MemBuf,
                                                    org.lwjgl.PointerBuffer OutM)