-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regenerate LLVMSharp using multi-file generation (#97)
* Regenerating LLVMSharp with the updated ClangSharp * Regenerating LLVMSharp as multi-file
- Loading branch information
1 parent
a1dfe97
commit 850738d
Showing
139 changed files
with
1,662 additions
and
1,264 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace LLVMSharp | ||
{ | ||
public enum LLVMAtomicOrdering | ||
{ | ||
LLVMAtomicOrderingNotAtomic = 0, | ||
LLVMAtomicOrderingUnordered = 1, | ||
LLVMAtomicOrderingMonotonic = 2, | ||
LLVMAtomicOrderingAcquire = 4, | ||
LLVMAtomicOrderingRelease = 5, | ||
LLVMAtomicOrderingAcquireRelease = 6, | ||
LLVMAtomicOrderingSequentiallyConsistent = 7, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace LLVMSharp | ||
{ | ||
public enum LLVMAtomicRMWBinOp | ||
{ | ||
LLVMAtomicRMWBinOpXchg = 0, | ||
LLVMAtomicRMWBinOpAdd = 1, | ||
LLVMAtomicRMWBinOpSub = 2, | ||
LLVMAtomicRMWBinOpAnd = 3, | ||
LLVMAtomicRMWBinOpNand = 4, | ||
LLVMAtomicRMWBinOpOr = 5, | ||
LLVMAtomicRMWBinOpXor = 6, | ||
LLVMAtomicRMWBinOpMax = 7, | ||
LLVMAtomicRMWBinOpMin = 8, | ||
LLVMAtomicRMWBinOpUMax = 9, | ||
LLVMAtomicRMWBinOpUMin = 10, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace LLVMSharp | ||
{ | ||
public enum LLVMAttributeIndex | ||
{ | ||
LLVMAttributeReturnIndex = 0, | ||
LLVMAttributeFunctionIndex = -1, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
|
||
namespace LLVMSharp | ||
{ | ||
public partial struct LLVMAttributeRef | ||
{ | ||
public LLVMAttributeRef(IntPtr pointer) | ||
{ | ||
Pointer = pointer; | ||
} | ||
|
||
public IntPtr Pointer; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
|
||
namespace LLVMSharp | ||
{ | ||
public partial struct LLVMBasicBlockRef | ||
{ | ||
public LLVMBasicBlockRef(IntPtr pointer) | ||
{ | ||
Pointer = pointer; | ||
} | ||
|
||
public IntPtr Pointer; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace LLVMSharp | ||
{ | ||
public partial struct LLVMBool | ||
{ | ||
public LLVMBool(int value) | ||
{ | ||
Value = value; | ||
} | ||
|
||
public int Value; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
|
||
namespace LLVMSharp | ||
{ | ||
public partial struct LLVMBuilderRef | ||
{ | ||
public LLVMBuilderRef(IntPtr pointer) | ||
{ | ||
Pointer = pointer; | ||
} | ||
|
||
public IntPtr Pointer; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace LLVMSharp | ||
{ | ||
public enum LLVMByteOrdering | ||
{ | ||
LLVMBigEndian = 0, | ||
LLVMLittleEndian = 1, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
namespace LLVMSharp | ||
{ | ||
public enum LLVMCallConv | ||
{ | ||
LLVMCCallConv = 0, | ||
LLVMFastCallConv = 8, | ||
LLVMColdCallConv = 9, | ||
LLVMGHCCallConv = 10, | ||
LLVMHiPECallConv = 11, | ||
LLVMWebKitJSCallConv = 12, | ||
LLVMAnyRegCallConv = 13, | ||
LLVMPreserveMostCallConv = 14, | ||
LLVMPreserveAllCallConv = 15, | ||
LLVMSwiftCallConv = 16, | ||
LLVMCXXFASTTLSCallConv = 17, | ||
LLVMX86StdcallCallConv = 64, | ||
LLVMX86FastcallCallConv = 65, | ||
LLVMARMAPCSCallConv = 66, | ||
LLVMARMAAPCSCallConv = 67, | ||
LLVMARMAAPCSVFPCallConv = 68, | ||
LLVMMSP430INTRCallConv = 69, | ||
LLVMX86ThisCallCallConv = 70, | ||
LLVMPTXKernelCallConv = 71, | ||
LLVMPTXDeviceCallConv = 72, | ||
LLVMSPIRFUNCCallConv = 75, | ||
LLVMSPIRKERNELCallConv = 76, | ||
LLVMIntelOCLBICallConv = 77, | ||
LLVMX8664SysVCallConv = 78, | ||
LLVMWin64CallConv = 79, | ||
LLVMX86VectorCallCallConv = 80, | ||
LLVMHHVMCallConv = 81, | ||
LLVMHHVMCCallConv = 82, | ||
LLVMX86INTRCallConv = 83, | ||
LLVMAVRINTRCallConv = 84, | ||
LLVMAVRSIGNALCallConv = 85, | ||
LLVMAVRBUILTINCallConv = 86, | ||
LLVMAMDGPUVSCallConv = 87, | ||
LLVMAMDGPUGSCallConv = 88, | ||
LLVMAMDGPUPSCallConv = 89, | ||
LLVMAMDGPUCSCallConv = 90, | ||
LLVMAMDGPUKERNELCallConv = 91, | ||
LLVMX86RegCallCallConv = 92, | ||
LLVMAMDGPUHSCallConv = 93, | ||
LLVMMSP430BUILTINCallConv = 94, | ||
LLVMAMDGPULSCallConv = 95, | ||
LLVMAMDGPUESCallConv = 96, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace LLVMSharp | ||
{ | ||
public enum LLVMCodeGenFileType | ||
{ | ||
LLVMAssemblyFile = 0, | ||
LLVMObjectFile = 1, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace LLVMSharp | ||
{ | ||
public enum LLVMCodeGenOptLevel | ||
{ | ||
LLVMCodeGenLevelNone = 0, | ||
LLVMCodeGenLevelLess = 1, | ||
LLVMCodeGenLevelDefault = 2, | ||
LLVMCodeGenLevelAggressive = 3, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace LLVMSharp | ||
{ | ||
public enum LLVMCodeModel | ||
{ | ||
LLVMCodeModelDefault = 0, | ||
LLVMCodeModelJITDefault = 1, | ||
LLVMCodeModelTiny = 2, | ||
LLVMCodeModelSmall = 3, | ||
LLVMCodeModelKernel = 4, | ||
LLVMCodeModelMedium = 5, | ||
LLVMCodeModelLarge = 6, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace LLVMSharp | ||
{ | ||
public partial struct LLVMComdat | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
|
||
namespace LLVMSharp | ||
{ | ||
public partial struct LLVMComdatRef | ||
{ | ||
public LLVMComdatRef(IntPtr pointer) | ||
{ | ||
Pointer = pointer; | ||
} | ||
|
||
public IntPtr Pointer; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace LLVMSharp | ||
{ | ||
public enum LLVMComdatSelectionKind | ||
{ | ||
LLVMAnyComdatSelectionKind = 0, | ||
LLVMExactMatchComdatSelectionKind = 1, | ||
LLVMLargestComdatSelectionKind = 2, | ||
LLVMNoDuplicatesComdatSelectionKind = 3, | ||
LLVMSameSizeComdatSelectionKind = 4, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
|
||
namespace LLVMSharp | ||
{ | ||
public partial struct LLVMContextRef | ||
{ | ||
public LLVMContextRef(IntPtr pointer) | ||
{ | ||
Pointer = pointer; | ||
} | ||
|
||
public IntPtr Pointer; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
|
||
namespace LLVMSharp | ||
{ | ||
public partial struct LLVMDIBuilderRef | ||
{ | ||
public LLVMDIBuilderRef(IntPtr pointer) | ||
{ | ||
Pointer = pointer; | ||
} | ||
|
||
public IntPtr Pointer; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
namespace LLVMSharp | ||
{ | ||
public enum LLVMDIFlags | ||
{ | ||
LLVMDIFlagZero = 0, | ||
LLVMDIFlagPrivate = 1, | ||
LLVMDIFlagProtected = 2, | ||
LLVMDIFlagPublic = 3, | ||
LLVMDIFlagFwdDecl = 4, | ||
LLVMDIFlagAppleBlock = 8, | ||
LLVMDIFlagBlockByrefStruct = 16, | ||
LLVMDIFlagVirtual = 32, | ||
LLVMDIFlagArtificial = 64, | ||
LLVMDIFlagExplicit = 128, | ||
LLVMDIFlagPrototyped = 256, | ||
LLVMDIFlagObjcClassComplete = 512, | ||
LLVMDIFlagObjectPointer = 1024, | ||
LLVMDIFlagVector = 2048, | ||
LLVMDIFlagStaticMember = 4096, | ||
LLVMDIFlagLValueReference = 8192, | ||
LLVMDIFlagRValueReference = 16384, | ||
LLVMDIFlagReserved = 32768, | ||
LLVMDIFlagSingleInheritance = 65536, | ||
LLVMDIFlagMultipleInheritance = 131072, | ||
LLVMDIFlagVirtualInheritance = 196608, | ||
LLVMDIFlagIntroducedVirtual = 262144, | ||
LLVMDIFlagBitField = 524288, | ||
LLVMDIFlagNoReturn = 1048576, | ||
LLVMDIFlagMainSubprogram = 2097152, | ||
LLVMDIFlagTypePassByValue = 4194304, | ||
LLVMDIFlagTypePassByReference = 8388608, | ||
LLVMDIFlagEnumClass = 16777216, | ||
LLVMDIFlagFixedEnum = 16777216, | ||
LLVMDIFlagThunk = 33554432, | ||
LLVMDIFlagTrivial = 67108864, | ||
LLVMDIFlagBigEndian = 134217728, | ||
LLVMDIFlagLittleEndian = 268435456, | ||
LLVMDIFlagIndirectVirtualBase = 36, | ||
LLVMDIFlagAccessibility = 3, | ||
LLVMDIFlagPtrToMemberRep = 196608, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace LLVMSharp | ||
{ | ||
public enum LLVMDLLStorageClass | ||
{ | ||
LLVMDefaultStorageClass = 0, | ||
LLVMDLLImportStorageClass = 1, | ||
LLVMDLLExportStorageClass = 2, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace LLVMSharp | ||
{ | ||
public enum LLVMDWARFEmissionKind | ||
{ | ||
LLVMDWARFEmissionNone = 0, | ||
LLVMDWARFEmissionFull = 1, | ||
LLVMDWARFEmissionLineTablesOnly = 2, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
namespace LLVMSharp | ||
{ | ||
public enum LLVMDWARFSourceLanguage | ||
{ | ||
LLVMDWARFSourceLanguageC89 = 0, | ||
LLVMDWARFSourceLanguageC = 1, | ||
LLVMDWARFSourceLanguageAda83 = 2, | ||
LLVMDWARFSourceLanguageC_plus_plus = 3, | ||
LLVMDWARFSourceLanguageCobol74 = 4, | ||
LLVMDWARFSourceLanguageCobol85 = 5, | ||
LLVMDWARFSourceLanguageFortran77 = 6, | ||
LLVMDWARFSourceLanguageFortran90 = 7, | ||
LLVMDWARFSourceLanguagePascal83 = 8, | ||
LLVMDWARFSourceLanguageModula2 = 9, | ||
LLVMDWARFSourceLanguageJava = 10, | ||
LLVMDWARFSourceLanguageC99 = 11, | ||
LLVMDWARFSourceLanguageAda95 = 12, | ||
LLVMDWARFSourceLanguageFortran95 = 13, | ||
LLVMDWARFSourceLanguagePLI = 14, | ||
LLVMDWARFSourceLanguageObjC = 15, | ||
LLVMDWARFSourceLanguageObjC_plus_plus = 16, | ||
LLVMDWARFSourceLanguageUPC = 17, | ||
LLVMDWARFSourceLanguageD = 18, | ||
LLVMDWARFSourceLanguagePython = 19, | ||
LLVMDWARFSourceLanguageOpenCL = 20, | ||
LLVMDWARFSourceLanguageGo = 21, | ||
LLVMDWARFSourceLanguageModula3 = 22, | ||
LLVMDWARFSourceLanguageHaskell = 23, | ||
LLVMDWARFSourceLanguageC_plus_plus_03 = 24, | ||
LLVMDWARFSourceLanguageC_plus_plus_11 = 25, | ||
LLVMDWARFSourceLanguageOCaml = 26, | ||
LLVMDWARFSourceLanguageRust = 27, | ||
LLVMDWARFSourceLanguageC11 = 28, | ||
LLVMDWARFSourceLanguageSwift = 29, | ||
LLVMDWARFSourceLanguageJulia = 30, | ||
LLVMDWARFSourceLanguageDylan = 31, | ||
LLVMDWARFSourceLanguageC_plus_plus_14 = 32, | ||
LLVMDWARFSourceLanguageFortran03 = 33, | ||
LLVMDWARFSourceLanguageFortran08 = 34, | ||
LLVMDWARFSourceLanguageRenderScript = 35, | ||
LLVMDWARFSourceLanguageBLISS = 36, | ||
LLVMDWARFSourceLanguageMips_Assembler = 37, | ||
LLVMDWARFSourceLanguageGOOGLE_RenderScript = 38, | ||
LLVMDWARFSourceLanguageBORLAND_Delphi = 39, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace LLVMSharp | ||
{ | ||
public partial struct LLVMDWARFTypeEncoding | ||
{ | ||
public LLVMDWARFTypeEncoding(uint value) | ||
{ | ||
Value = value; | ||
} | ||
|
||
public uint Value; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace LLVMSharp | ||
{ | ||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)] | ||
public delegate void LLVMDiagnosticHandler(LLVMDiagnosticInfoRef param0, IntPtr param1); | ||
} |
Oops, something went wrong.