public bool GetBitcodeModuleProviderInContext(LLVMMemoryBufferRef @MemBuf, out LLVMModuleProviderRef @OutMP, out IntPtr @OutMessage)
 {
     return LLVM.GetBitcodeModuleProviderInContext(this, @MemBuf, out @OutMP, out @OutMessage);
 }
Exemple #2
0
 public static extern LLVMBool RemoveModuleProvider(LLVMExecutionEngineRef @EE, LLVMModuleProviderRef @MP, out LLVMModuleRef @OutMod, out IntPtr @OutError);
Exemple #3
0
 public PassManager(LLVMModuleProviderRef moduleProvider)
 {
     this.instance = LLVM.CreateFunctionPassManager(moduleProvider);
 }
Exemple #4
0
 public static extern void DisposeModuleProvider(LLVMModuleProviderRef @M);
Exemple #5
0
 public static extern LLVMBool GetBitcodeModuleProviderInContext(LLVMContextRef @ContextRef, LLVMMemoryBufferRef @MemBuf, out LLVMModuleProviderRef @OutMP, out IntPtr @OutMessage);
Exemple #6
0
 public static extern LLVMBool CreateInterpreter(out LLVMExecutionEngineRef @OutInterp, LLVMModuleProviderRef @MP, out IntPtr @OutError);
Exemple #7
0
 public static extern LLVMBool CreateJITCompiler(out LLVMExecutionEngineRef @OutJIT, LLVMModuleProviderRef @MP, uint @OptLevel, out IntPtr @OutError);
Exemple #8
0
 public static extern LLVMPassManagerRef CreateFunctionPassManager(LLVMModuleProviderRef @MP);
Exemple #9
0
 public static extern void AddModuleProvider(LLVMExecutionEngineRef @EE, LLVMModuleProviderRef @MP);
Exemple #10
0
 public PassManager(LLVMModuleProviderRef moduleProvider)
 {
     this.instance = LLVM.CreateFunctionPassManager(moduleProvider);
 }
 public void AddModuleProvider(LLVMModuleProviderRef @MP)
 {
     LLVM.AddModuleProvider(this.instance, @MP);
 }
 public bool RemoveModuleProvider(LLVMModuleProviderRef @MP, out LLVMModuleRef @OutMod, out IntPtr @OutError)
 {
     return LLVM.RemoveModuleProvider(this.instance, @MP, out @OutMod, out @OutError);
 }