1- namespace LLVMSharp
1+ namespace LLVMSharp
22{
33 using System ;
44 using System . Runtime . InteropServices ;
@@ -54,8 +54,7 @@ public partial struct LLVMOpaqueDiagnosticInfo
5454 public partial struct LLVMOpInfoSymbol1
5555 {
5656 public int @Present ;
57- [ MarshalAs ( UnmanagedType . LPStr ) ]
58- public string @Name ;
57+ [ MarshalAs ( UnmanagedType . LPStr ) ] public string @Name ;
5958 public int @Value ;
6059 }
6160
@@ -749,12 +748,6 @@ public enum LLVMCodeGenFileType : uint
749748 @LLVMObjectFile = 1 ,
750749 }
751750
752- public enum LLVMLinkerMode : uint
753- {
754- @LLVMLinkerDestroySource = 0 ,
755- @LLVMLinkerPreserveSource = 1 ,
756- }
757-
758751 public enum llvm_lto_status : uint
759752 {
760753 @LLVM_LTO_UNKNOWN = 0 ,
@@ -819,6 +812,9 @@ public static partial class LLVM
819812 [ DllImport ( libraryPath , EntryPoint = "LLVMLoadLibraryPermanently" , CallingConvention = CallingConvention . Cdecl ) ]
820813 public static extern LLVMBool LoadLibraryPermanently ( [ MarshalAs ( UnmanagedType . LPStr ) ] string @Filename ) ;
821814
815+ [ DllImport ( libraryPath , EntryPoint = "LLVMParseCommandLineOptions" , CallingConvention = CallingConvention . Cdecl ) ]
816+ public static extern void ParseCommandLineOptions ( int @argc , string [ ] @argv , [ MarshalAs ( UnmanagedType . LPStr ) ] string @Overview ) ;
817+
822818 [ DllImport ( libraryPath , EntryPoint = "LLVMInitializeCore" , CallingConvention = CallingConvention . Cdecl ) ]
823819 public static extern void InitializeCore ( LLVMPassRegistryRef @R ) ;
824820
@@ -873,6 +869,9 @@ public static partial class LLVM
873869 [ DllImport ( libraryPath , EntryPoint = "LLVMModuleCreateWithNameInContext" , CallingConvention = CallingConvention . Cdecl ) ]
874870 public static extern LLVMModuleRef ModuleCreateWithNameInContext ( [ MarshalAs ( UnmanagedType . LPStr ) ] string @ModuleID , LLVMContextRef @C ) ;
875871
872+ [ DllImport ( libraryPath , EntryPoint = "LLVMCloneModule" , CallingConvention = CallingConvention . Cdecl ) ]
873+ public static extern LLVMModuleRef CloneModule ( LLVMModuleRef @M ) ;
874+
876875 [ DllImport ( libraryPath , EntryPoint = "LLVMDisposeModule" , CallingConvention = CallingConvention . Cdecl ) ]
877876 public static extern void DisposeModule ( LLVMModuleRef @M ) ;
878877
@@ -1137,12 +1136,6 @@ public static partial class LLVM
11371136 [ DllImport ( libraryPath , EntryPoint = "LLVMIsAInlineAsm" , CallingConvention = CallingConvention . Cdecl ) ]
11381137 public static extern LLVMValueRef IsAInlineAsm ( LLVMValueRef @Val ) ;
11391138
1140- [ DllImport ( libraryPath , EntryPoint = "LLVMIsAMDNode" , CallingConvention = CallingConvention . Cdecl ) ]
1141- public static extern LLVMValueRef IsAMDNode ( LLVMValueRef @Val ) ;
1142-
1143- [ DllImport ( libraryPath , EntryPoint = "LLVMIsAMDString" , CallingConvention = CallingConvention . Cdecl ) ]
1144- public static extern LLVMValueRef IsAMDString ( LLVMValueRef @Val ) ;
1145-
11461139 [ DllImport ( libraryPath , EntryPoint = "LLVMIsAUser" , CallingConvention = CallingConvention . Cdecl ) ]
11471140 public static extern LLVMValueRef IsAUser ( LLVMValueRef @Val ) ;
11481141
@@ -1350,6 +1343,12 @@ public static partial class LLVM
13501343 [ DllImport ( libraryPath , EntryPoint = "LLVMIsAVAArgInst" , CallingConvention = CallingConvention . Cdecl ) ]
13511344 public static extern LLVMValueRef IsAVAArgInst ( LLVMValueRef @Val ) ;
13521345
1346+ [ DllImport ( libraryPath , EntryPoint = "LLVMIsAMDNode" , CallingConvention = CallingConvention . Cdecl ) ]
1347+ public static extern LLVMValueRef IsAMDNode ( LLVMValueRef @Val ) ;
1348+
1349+ [ DllImport ( libraryPath , EntryPoint = "LLVMIsAMDString" , CallingConvention = CallingConvention . Cdecl ) ]
1350+ public static extern LLVMValueRef IsAMDString ( LLVMValueRef @Val ) ;
1351+
13531352 [ DllImport ( libraryPath , EntryPoint = "LLVMGetFirstUse" , CallingConvention = CallingConvention . Cdecl ) ]
13541353 public static extern LLVMUseRef GetFirstUse ( LLVMValueRef @Val ) ;
13551354
@@ -1365,6 +1364,9 @@ public static partial class LLVM
13651364 [ DllImport ( libraryPath , EntryPoint = "LLVMGetOperand" , CallingConvention = CallingConvention . Cdecl ) ]
13661365 public static extern LLVMValueRef GetOperand ( LLVMValueRef @Val , uint @Index ) ;
13671366
1367+ [ DllImport ( libraryPath , EntryPoint = "LLVMGetOperandUse" , CallingConvention = CallingConvention . Cdecl ) ]
1368+ public static extern LLVMUseRef GetOperandUse ( LLVMValueRef @Val , uint @Index ) ;
1369+
13681370 [ DllImport ( libraryPath , EntryPoint = "LLVMSetOperand" , CallingConvention = CallingConvention . Cdecl ) ]
13691371 public static extern void SetOperand ( LLVMValueRef @User , uint @Index , LLVMValueRef @Val ) ;
13701372
@@ -1413,12 +1415,21 @@ public static partial class LLVM
14131415 [ DllImport ( libraryPath , EntryPoint = "LLVMConstIntGetSExtValue" , CallingConvention = CallingConvention . Cdecl ) ]
14141416 public static extern long ConstIntGetSExtValue ( LLVMValueRef @ConstantVal ) ;
14151417
1418+ [ DllImport ( libraryPath , EntryPoint = "LLVMConstRealGetDouble" , CallingConvention = CallingConvention . Cdecl ) ]
1419+ public static extern double ConstRealGetDouble ( LLVMValueRef @ConstantVal , out LLVMBool @losesInfo ) ;
1420+
14161421 [ DllImport ( libraryPath , EntryPoint = "LLVMConstStringInContext" , CallingConvention = CallingConvention . Cdecl ) ]
14171422 public static extern LLVMValueRef ConstStringInContext ( LLVMContextRef @C , [ MarshalAs ( UnmanagedType . LPStr ) ] string @Str , uint @Length , LLVMBool @DontNullTerminate ) ;
14181423
14191424 [ DllImport ( libraryPath , EntryPoint = "LLVMConstString" , CallingConvention = CallingConvention . Cdecl ) ]
14201425 public static extern LLVMValueRef ConstString ( [ MarshalAs ( UnmanagedType . LPStr ) ] string @Str , uint @Length , LLVMBool @DontNullTerminate ) ;
14211426
1427+ [ DllImport ( libraryPath , EntryPoint = "LLVMIsConstantString" , CallingConvention = CallingConvention . Cdecl ) ]
1428+ public static extern LLVMBool IsConstantString ( LLVMValueRef @c ) ;
1429+
1430+ [ DllImport ( libraryPath , EntryPoint = "LLVMGetAsString" , CallingConvention = CallingConvention . Cdecl ) ]
1431+ public static extern string GetAsString ( LLVMValueRef @c , out int @out ) ;
1432+
14221433 [ DllImport ( libraryPath , EntryPoint = "LLVMConstStructInContext" , CallingConvention = CallingConvention . Cdecl ) ]
14231434 public static extern LLVMValueRef ConstStructInContext ( LLVMContextRef @C , out LLVMValueRef @ConstantVals , uint @Count , LLVMBool @Packed ) ;
14241435
@@ -1431,6 +1442,9 @@ public static partial class LLVM
14311442 [ DllImport ( libraryPath , EntryPoint = "LLVMConstNamedStruct" , CallingConvention = CallingConvention . Cdecl ) ]
14321443 public static extern LLVMValueRef ConstNamedStruct ( LLVMTypeRef @StructTy , out LLVMValueRef @ConstantVals , uint @Count ) ;
14331444
1445+ [ DllImport ( libraryPath , EntryPoint = "LLVMGetElementAsConstant" , CallingConvention = CallingConvention . Cdecl ) ]
1446+ public static extern LLVMValueRef GetElementAsConstant ( LLVMValueRef @c , uint @idx ) ;
1447+
14341448 [ DllImport ( libraryPath , EntryPoint = "LLVMConstVector" , CallingConvention = CallingConvention . Cdecl ) ]
14351449 public static extern LLVMValueRef ConstVector ( out LLVMValueRef @ScalarConstantVals , uint @Size ) ;
14361450
@@ -1905,6 +1919,12 @@ public static partial class LLVM
19051919 [ DllImport ( libraryPath , EntryPoint = "LLVMGetICmpPredicate" , CallingConvention = CallingConvention . Cdecl ) ]
19061920 public static extern LLVMIntPredicate GetICmpPredicate ( LLVMValueRef @Inst ) ;
19071921
1922+ [ DllImport ( libraryPath , EntryPoint = "LLVMGetFCmpPredicate" , CallingConvention = CallingConvention . Cdecl ) ]
1923+ public static extern LLVMRealPredicate GetFCmpPredicate ( LLVMValueRef @Inst ) ;
1924+
1925+ [ DllImport ( libraryPath , EntryPoint = "LLVMInstructionClone" , CallingConvention = CallingConvention . Cdecl ) ]
1926+ public static extern LLVMValueRef InstructionClone ( LLVMValueRef @Inst ) ;
1927+
19081928 [ DllImport ( libraryPath , EntryPoint = "LLVMSetInstructionCallConv" , CallingConvention = CallingConvention . Cdecl ) ]
19091929 public static extern void SetInstructionCallConv ( LLVMValueRef @Instr , uint @CC ) ;
19101930
@@ -1926,6 +1946,24 @@ public static partial class LLVM
19261946 [ DllImport ( libraryPath , EntryPoint = "LLVMSetTailCall" , CallingConvention = CallingConvention . Cdecl ) ]
19271947 public static extern void SetTailCall ( LLVMValueRef @CallInst , LLVMBool @IsTailCall ) ;
19281948
1949+ [ DllImport ( libraryPath , EntryPoint = "LLVMGetNumSuccessors" , CallingConvention = CallingConvention . Cdecl ) ]
1950+ public static extern uint GetNumSuccessors ( LLVMValueRef @Term ) ;
1951+
1952+ [ DllImport ( libraryPath , EntryPoint = "LLVMGetSuccessor" , CallingConvention = CallingConvention . Cdecl ) ]
1953+ public static extern LLVMBasicBlockRef GetSuccessor ( LLVMValueRef @Term , uint @i ) ;
1954+
1955+ [ DllImport ( libraryPath , EntryPoint = "LLVMSetSuccessor" , CallingConvention = CallingConvention . Cdecl ) ]
1956+ public static extern void SetSuccessor ( LLVMValueRef @Term , uint @i , LLVMBasicBlockRef @block ) ;
1957+
1958+ [ DllImport ( libraryPath , EntryPoint = "LLVMIsConditional" , CallingConvention = CallingConvention . Cdecl ) ]
1959+ public static extern LLVMBool IsConditional ( LLVMValueRef @Branch ) ;
1960+
1961+ [ DllImport ( libraryPath , EntryPoint = "LLVMGetCondition" , CallingConvention = CallingConvention . Cdecl ) ]
1962+ public static extern LLVMValueRef GetCondition ( LLVMValueRef @Branch ) ;
1963+
1964+ [ DllImport ( libraryPath , EntryPoint = "LLVMSetCondition" , CallingConvention = CallingConvention . Cdecl ) ]
1965+ public static extern void SetCondition ( LLVMValueRef @Branch , LLVMValueRef @Cond ) ;
1966+
19291967 [ DllImport ( libraryPath , EntryPoint = "LLVMGetSwitchDefaultDest" , CallingConvention = CallingConvention . Cdecl ) ]
19301968 public static extern LLVMBasicBlockRef GetSwitchDefaultDest ( LLVMValueRef @SwitchInstr ) ;
19311969
@@ -2370,12 +2408,18 @@ public static partial class LLVM
23702408 [ DllImport ( libraryPath , EntryPoint = "LLVMWriteBitcodeToFileHandle" , CallingConvention = CallingConvention . Cdecl ) ]
23712409 public static extern int WriteBitcodeToFileHandle ( LLVMModuleRef @M , int @Handle ) ;
23722410
2411+ [ DllImport ( libraryPath , EntryPoint = "LLVMWriteBitcodeToMemoryBuffer" , CallingConvention = CallingConvention . Cdecl ) ]
2412+ public static extern LLVMMemoryBufferRef WriteBitcodeToMemoryBuffer ( LLVMModuleRef @M ) ;
2413+
23732414 [ DllImport ( libraryPath , EntryPoint = "LLVMCreateDisasm" , CallingConvention = CallingConvention . Cdecl ) ]
23742415 public static extern LLVMDisasmContextRef CreateDisasm ( [ MarshalAs ( UnmanagedType . LPStr ) ] string @TripleName , IntPtr @DisInfo , int @TagType , LLVMOpInfoCallback @GetOpInfo , LLVMSymbolLookupCallback @SymbolLookUp ) ;
23752416
23762417 [ DllImport ( libraryPath , EntryPoint = "LLVMCreateDisasmCPU" , CallingConvention = CallingConvention . Cdecl ) ]
23772418 public static extern LLVMDisasmContextRef CreateDisasmCPU ( [ MarshalAs ( UnmanagedType . LPStr ) ] string @Triple , [ MarshalAs ( UnmanagedType . LPStr ) ] string @CPU , IntPtr @DisInfo , int @TagType , LLVMOpInfoCallback @GetOpInfo , LLVMSymbolLookupCallback @SymbolLookUp ) ;
23782419
2420+ [ DllImport ( libraryPath , EntryPoint = "LLVMCreateDisasmCPUFeatures" , CallingConvention = CallingConvention . Cdecl ) ]
2421+ public static extern LLVMDisasmContextRef CreateDisasmCPUFeatures ( [ MarshalAs ( UnmanagedType . LPStr ) ] string @Triple , [ MarshalAs ( UnmanagedType . LPStr ) ] string @CPU , [ MarshalAs ( UnmanagedType . LPStr ) ] string @Features , IntPtr @DisInfo , int @TagType , LLVMOpInfoCallback @GetOpInfo , LLVMSymbolLookupCallback @SymbolLookUp ) ;
2422+
23792423 [ DllImport ( libraryPath , EntryPoint = "LLVMSetDisasmOptions" , CallingConvention = CallingConvention . Cdecl ) ]
23802424 public static extern int SetDisasmOptions ( LLVMDisasmContextRef @DC , int @Options ) ;
23812425
@@ -2538,6 +2582,9 @@ public static partial class LLVM
25382582 [ DllImport ( libraryPath , EntryPoint = "LLVMInitializeX86AsmPrinter" , CallingConvention = CallingConvention . Cdecl ) ]
25392583 public static extern void InitializeX86AsmPrinter ( ) ;
25402584
2585+ [ DllImport ( libraryPath , EntryPoint = "LLVMInitializeR600AsmParser" , CallingConvention = CallingConvention . Cdecl ) ]
2586+ public static extern void InitializeR600AsmParser ( ) ;
2587+
25412588 [ DllImport ( libraryPath , EntryPoint = "LLVMInitializeSystemZAsmParser" , CallingConvention = CallingConvention . Cdecl ) ]
25422589 public static extern void InitializeSystemZAsmParser ( ) ;
25432590
@@ -2562,6 +2609,9 @@ public static partial class LLVM
25622609 [ DllImport ( libraryPath , EntryPoint = "LLVMInitializeSystemZDisassembler" , CallingConvention = CallingConvention . Cdecl ) ]
25632610 public static extern void InitializeSystemZDisassembler ( ) ;
25642611
2612+ [ DllImport ( libraryPath , EntryPoint = "LLVMInitializeHexagonDisassembler" , CallingConvention = CallingConvention . Cdecl ) ]
2613+ public static extern void InitializeHexagonDisassembler ( ) ;
2614+
25652615 [ DllImport ( libraryPath , EntryPoint = "LLVMInitializeXCoreDisassembler" , CallingConvention = CallingConvention . Cdecl ) ]
25662616 public static extern void InitializeXCoreDisassembler ( ) ;
25672617
@@ -2739,9 +2789,6 @@ public static partial class LLVM
27392789 [ DllImport ( libraryPath , EntryPoint = "LLVMAddAnalysisPasses" , CallingConvention = CallingConvention . Cdecl ) ]
27402790 public static extern void AddAnalysisPasses ( LLVMTargetMachineRef @T , LLVMPassManagerRef @PM ) ;
27412791
2742- [ DllImport ( libraryPath , EntryPoint = "LLVMLinkInJIT" , CallingConvention = CallingConvention . Cdecl ) ]
2743- public static extern void LinkInJIT ( ) ;
2744-
27452792 [ DllImport ( libraryPath , EntryPoint = "LLVMLinkInMCJIT" , CallingConvention = CallingConvention . Cdecl ) ]
27462793 public static extern void LinkInMCJIT ( ) ;
27472794
@@ -2844,6 +2891,12 @@ public static partial class LLVM
28442891 [ DllImport ( libraryPath , EntryPoint = "LLVMGetPointerToGlobal" , CallingConvention = CallingConvention . Cdecl ) ]
28452892 public static extern IntPtr GetPointerToGlobal ( LLVMExecutionEngineRef @EE , LLVMValueRef @Global ) ;
28462893
2894+ [ DllImport ( libraryPath , EntryPoint = "LLVMGetGlobalValueAddress" , CallingConvention = CallingConvention . Cdecl ) ]
2895+ public static extern int GetGlobalValueAddress ( LLVMExecutionEngineRef @EE , [ MarshalAs ( UnmanagedType . LPStr ) ] string @Name ) ;
2896+
2897+ [ DllImport ( libraryPath , EntryPoint = "LLVMGetFunctionAddress" , CallingConvention = CallingConvention . Cdecl ) ]
2898+ public static extern int GetFunctionAddress ( LLVMExecutionEngineRef @EE , [ MarshalAs ( UnmanagedType . LPStr ) ] string @Name ) ;
2899+
28472900 [ DllImport ( libraryPath , EntryPoint = "LLVMCreateSimpleMCJITMemoryManager" , CallingConvention = CallingConvention . Cdecl ) ]
28482901 public static extern LLVMMCJITMemoryManagerRef CreateSimpleMCJITMemoryManager ( IntPtr @Opaque , LLVMMemoryManagerAllocateCodeSectionCallback @AllocateCodeSection , LLVMMemoryManagerAllocateDataSectionCallback @AllocateDataSection , LLVMMemoryManagerFinalizeMemoryCallback @FinalizeMemory , LLVMMemoryManagerDestroyCallback @Destroy ) ;
28492902
@@ -2887,7 +2940,7 @@ public static partial class LLVM
28872940 public static extern LLVMBool ParseIRInContext ( LLVMContextRef @ContextRef , LLVMMemoryBufferRef @MemBuf , out LLVMModuleRef @OutM , out IntPtr @OutMessage ) ;
28882941
28892942 [ DllImport ( libraryPath , EntryPoint = "LLVMLinkModules" , CallingConvention = CallingConvention . Cdecl ) ]
2890- public static extern LLVMBool LinkModules ( LLVMModuleRef @Dest , LLVMModuleRef @Src , LLVMLinkerMode @Mode , out IntPtr @OutMessage ) ;
2943+ public static extern LLVMBool LinkModules ( LLVMModuleRef @Dest , LLVMModuleRef @Src , uint @Unused , out IntPtr @OutMessage ) ;
28912944
28922945 [ DllImport ( libraryPath , EntryPoint = "llvm_create_optimizer" , CallingConvention = CallingConvention . Cdecl ) ]
28932946 public static extern llvm_lto_t llvm_create_optimizer ( ) ;
@@ -2928,6 +2981,12 @@ public static partial class LLVM
29282981 [ DllImport ( libraryPath , EntryPoint = "lto_module_create_from_memory_with_path" , CallingConvention = CallingConvention . Cdecl ) ]
29292982 public static extern lto_module_t lto_module_create_from_memory_with_path ( IntPtr @mem , int @length , [ MarshalAs ( UnmanagedType . LPStr ) ] string @path ) ;
29302983
2984+ [ DllImport ( libraryPath , EntryPoint = "lto_module_create_in_local_context" , CallingConvention = CallingConvention . Cdecl ) ]
2985+ public static extern lto_module_t lto_module_create_in_local_context ( IntPtr @mem , int @length , [ MarshalAs ( UnmanagedType . LPStr ) ] string @path ) ;
2986+
2987+ [ DllImport ( libraryPath , EntryPoint = "lto_module_create_in_codegen_context" , CallingConvention = CallingConvention . Cdecl ) ]
2988+ public static extern lto_module_t lto_module_create_in_codegen_context ( IntPtr @mem , int @length , [ MarshalAs ( UnmanagedType . LPStr ) ] string @path , lto_code_gen_t @cg ) ;
2989+
29312990 [ DllImport ( libraryPath , EntryPoint = "lto_module_create_from_fd" , CallingConvention = CallingConvention . Cdecl ) ]
29322991 public static extern lto_module_t lto_module_create_from_fd ( int @fd , [ MarshalAs ( UnmanagedType . LPStr ) ] string @path , int @file_size ) ;
29332992
@@ -2970,6 +3029,9 @@ public static partial class LLVM
29703029 [ DllImport ( libraryPath , EntryPoint = "lto_codegen_create" , CallingConvention = CallingConvention . Cdecl ) ]
29713030 public static extern lto_code_gen_t lto_codegen_create ( ) ;
29723031
3032+ [ DllImport ( libraryPath , EntryPoint = "lto_codegen_create_in_local_context" , CallingConvention = CallingConvention . Cdecl ) ]
3033+ public static extern lto_code_gen_t lto_codegen_create_in_local_context ( ) ;
3034+
29733035 [ DllImport ( libraryPath , EntryPoint = "lto_codegen_dispose" , CallingConvention = CallingConvention . Cdecl ) ]
29743036 public static extern void lto_codegen_dispose ( lto_code_gen_t @param0 ) ;
29753037
@@ -3174,6 +3236,9 @@ public static partial class LLVM
31743236 [ DllImport ( libraryPath , EntryPoint = "LLVMAddAggressiveDCEPass" , CallingConvention = CallingConvention . Cdecl ) ]
31753237 public static extern void AddAggressiveDCEPass ( LLVMPassManagerRef @PM ) ;
31763238
3239+ [ DllImport ( libraryPath , EntryPoint = "LLVMAddAlignmentFromAssumptionsPass" , CallingConvention = CallingConvention . Cdecl ) ]
3240+ public static extern void AddAlignmentFromAssumptionsPass ( LLVMPassManagerRef @PM ) ;
3241+
31773242 [ DllImport ( libraryPath , EntryPoint = "LLVMAddCFGSimplificationPass" , CallingConvention = CallingConvention . Cdecl ) ]
31783243 public static extern void AddCFGSimplificationPass ( LLVMPassManagerRef @PM ) ;
31793244
@@ -3225,6 +3290,9 @@ public static partial class LLVM
32253290 [ DllImport ( libraryPath , EntryPoint = "LLVMAddPartiallyInlineLibCallsPass" , CallingConvention = CallingConvention . Cdecl ) ]
32263291 public static extern void AddPartiallyInlineLibCallsPass ( LLVMPassManagerRef @PM ) ;
32273292
3293+ [ DllImport ( libraryPath , EntryPoint = "LLVMAddLowerSwitchPass" , CallingConvention = CallingConvention . Cdecl ) ]
3294+ public static extern void AddLowerSwitchPass ( LLVMPassManagerRef @PM ) ;
3295+
32283296 [ DllImport ( libraryPath , EntryPoint = "LLVMAddPromoteMemoryToRegisterPass" , CallingConvention = CallingConvention . Cdecl ) ]
32293297 public static extern void AddPromoteMemoryToRegisterPass ( LLVMPassManagerRef @PM ) ;
32303298
@@ -3270,6 +3338,9 @@ public static partial class LLVM
32703338 [ DllImport ( libraryPath , EntryPoint = "LLVMAddTypeBasedAliasAnalysisPass" , CallingConvention = CallingConvention . Cdecl ) ]
32713339 public static extern void AddTypeBasedAliasAnalysisPass ( LLVMPassManagerRef @PM ) ;
32723340
3341+ [ DllImport ( libraryPath , EntryPoint = "LLVMAddScopedNoAliasAAPass" , CallingConvention = CallingConvention . Cdecl ) ]
3342+ public static extern void AddScopedNoAliasAAPass ( LLVMPassManagerRef @PM ) ;
3343+
32733344 [ DllImport ( libraryPath , EntryPoint = "LLVMAddBasicAliasAnalysisPass" , CallingConvention = CallingConvention . Cdecl ) ]
32743345 public static extern void AddBasicAliasAnalysisPass ( LLVMPassManagerRef @PM ) ;
32753346
0 commit comments