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