Class LLVMBitReader


  • public class LLVMBitReader
    extends java.lang.Object
    • Method Detail

      • nLLVMParseBitcode

        public static int nLLVMParseBitcode​(long MemBuf,
                                            long OutModule,
                                            long OutMessage)
        Unsafe version of: ParseBitcode
      • LLVMParseBitcode

        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.

      • nLLVMParseBitcode2

        public static int nLLVMParseBitcode2​(long MemBuf,
                                             long OutModule)
        Unsafe version of: ParseBitcode2
      • LLVMParseBitcode2

        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.
      • nLLVMParseBitcodeInContext

        public static int nLLVMParseBitcodeInContext​(long ContextRef,
                                                     long MemBuf,
                                                     long OutModule,
                                                     long OutMessage)
        Unsafe version of: ParseBitcodeInContext
      • nLLVMParseBitcodeInContext2

        public static int nLLVMParseBitcodeInContext2​(long ContextRef,
                                                      long MemBuf,
                                                      long OutModule)
      • LLVMParseBitcodeInContext2

        public static boolean LLVMParseBitcodeInContext2​(long ContextRef,
                                                         long MemBuf,
                                                         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,
                                                            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.
      • nLLVMGetBitcodeModuleInContext2

        public static int nLLVMGetBitcodeModuleInContext2​(long ContextRef,
                                                          long MemBuf,
                                                          long OutM)
        Unsafe version of: GetBitcodeModuleInContext2
      • LLVMGetBitcodeModuleInContext2

        public static boolean LLVMGetBitcodeModuleInContext2​(long ContextRef,
                                                             long MemBuf,
                                                             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
      • nLLVMGetBitcodeModule2

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

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