Exemple #1
0
 internal static extern bool LLVMRunPassPipeline(LLVMContextRef context, LLVMModuleRef M, LLVMTargetMachineRef TM, [MarshalAs(UnmanagedType.LPStr)] string passPipeline, LLVMOptVerifierKind VK, [MarshalAs(UnmanagedType.Bool)] bool ShouldPreserveAssemblyUseListOrder, [MarshalAs(UnmanagedType.Bool)] bool ShouldPreserveBitcodeUseListOrder);
Exemple #2
0
 internal static extern LLVMMetadataRef LLVMDILocation(LLVMContextRef context, UInt32 Line, UInt32 Column, LLVMMetadataRef scope, LLVMMetadataRef InlinedAt);
Exemple #3
0
 internal static extern LLVMMetadataRef LLVMTemporaryMDNode(LLVMContextRef @C, out LLVMMetadataRef @MDs, UInt32 @Count);
Exemple #4
0
 internal static extern LLVMMetadataRef LLVMMDString2(LLVMContextRef @C, [MarshalAs(UnmanagedType.LPStr)] string @Str, UInt32 @SLen);
Exemple #5
0
 internal static bool Remove(LLVMContextRef h)
 {
     return(Instance.Value.Remove(h));
 }
Exemple #6
0
 internal static bool TryGetValue(LLVMContextRef h, out Context value)
 {
     return(Instance.Value.TryGetValue(h, out value));
 }