mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-07 21:43:15 +00:00
Add LLVM-11.1.0 data for Windows
This commit is contained in:
BIN
LLVM-C.dll
BIN
LLVM-C.dll
Binary file not shown.
Binary file not shown.
@@ -66,16 +66,16 @@
|
||||
#define LLVM_USE_PERF 0
|
||||
|
||||
/* Major version of the LLVM API */
|
||||
#define LLVM_VERSION_MAJOR 12
|
||||
#define LLVM_VERSION_MAJOR 11
|
||||
|
||||
/* Minor version of the LLVM API */
|
||||
#define LLVM_VERSION_MINOR 0
|
||||
#define LLVM_VERSION_MINOR 1
|
||||
|
||||
/* Patch version of the LLVM API */
|
||||
#define LLVM_VERSION_PATCH 1
|
||||
#define LLVM_VERSION_PATCH 0
|
||||
|
||||
/* LLVM version string */
|
||||
#define LLVM_VERSION_STRING "12.0.1"
|
||||
#define LLVM_VERSION_STRING "11.1.0"
|
||||
|
||||
/* Whether LLVM records statistics for use with GetStatistics(),
|
||||
* PrintStatistics() or PrintStatisticsJSON()
|
||||
|
||||
@@ -162,8 +162,7 @@ typedef enum {
|
||||
LLVMX86_MMXTypeKind, /**< X86 MMX */
|
||||
LLVMTokenTypeKind, /**< Tokens */
|
||||
LLVMScalableVectorTypeKind, /**< Scalable SIMD vector type */
|
||||
LLVMBFloatTypeKind, /**< 16 bit brain floating point type */
|
||||
LLVMX86_AMXTypeKind /**< X86 AMX */
|
||||
LLVMBFloatTypeKind /**< 16 bit brain floating point type */
|
||||
} LLVMTypeKind;
|
||||
|
||||
typedef enum {
|
||||
@@ -282,7 +281,6 @@ typedef enum {
|
||||
LLVMInlineAsmValueKind,
|
||||
|
||||
LLVMInstructionValueKind,
|
||||
LLVMPoisonValueValueKind
|
||||
} LLVMValueKind;
|
||||
|
||||
typedef enum {
|
||||
@@ -604,17 +602,6 @@ unsigned LLVMGetEnumAttributeKind(LLVMAttributeRef A);
|
||||
*/
|
||||
uint64_t LLVMGetEnumAttributeValue(LLVMAttributeRef A);
|
||||
|
||||
/**
|
||||
* Create a type attribute
|
||||
*/
|
||||
LLVMAttributeRef LLVMCreateTypeAttribute(LLVMContextRef C, unsigned KindID,
|
||||
LLVMTypeRef type_ref);
|
||||
|
||||
/**
|
||||
* Get the type attribute's value.
|
||||
*/
|
||||
LLVMTypeRef LLVMGetTypeAttributeValue(LLVMAttributeRef A);
|
||||
|
||||
/**
|
||||
* Create a string attribute.
|
||||
*/
|
||||
@@ -637,12 +624,6 @@ const char *LLVMGetStringAttributeValue(LLVMAttributeRef A, unsigned *Length);
|
||||
*/
|
||||
LLVMBool LLVMIsEnumAttribute(LLVMAttributeRef A);
|
||||
LLVMBool LLVMIsStringAttribute(LLVMAttributeRef A);
|
||||
LLVMBool LLVMIsTypeAttribute(LLVMAttributeRef A);
|
||||
|
||||
/**
|
||||
* Obtain a Type from a context by its registered name.
|
||||
*/
|
||||
LLVMTypeRef LLVMGetTypeByName2(LLVMContextRef C, const char *Name);
|
||||
|
||||
/**
|
||||
* @}
|
||||
@@ -885,7 +866,9 @@ LLVMValueRef LLVMGetInlineAsm(LLVMTypeRef Ty,
|
||||
*/
|
||||
LLVMContextRef LLVMGetModuleContext(LLVMModuleRef M);
|
||||
|
||||
/** Deprecated: Use LLVMGetTypeByName2 instead. */
|
||||
/**
|
||||
* Obtain a Type from a module by its registered name.
|
||||
*/
|
||||
LLVMTypeRef LLVMGetTypeByName(LLVMModuleRef M, const char *Name);
|
||||
|
||||
/**
|
||||
@@ -1461,21 +1444,9 @@ unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy);
|
||||
LLVMTypeRef LLVMVectorType(LLVMTypeRef ElementType, unsigned ElementCount);
|
||||
|
||||
/**
|
||||
* Create a vector type that contains a defined type and has a scalable
|
||||
* number of elements.
|
||||
* Obtain the number of elements in a vector type.
|
||||
*
|
||||
* The created type will exist in the context thats its element type
|
||||
* exists in.
|
||||
*
|
||||
* @see llvm::ScalableVectorType::get()
|
||||
*/
|
||||
LLVMTypeRef LLVMScalableVectorType(LLVMTypeRef ElementType,
|
||||
unsigned ElementCount);
|
||||
|
||||
/**
|
||||
* Obtain the (possibly scalable) number of elements in a vector type.
|
||||
*
|
||||
* This only works on types that represent vectors (fixed or scalable).
|
||||
* This only works on types that represent vectors.
|
||||
*
|
||||
* @see llvm::VectorType::getNumElements()
|
||||
*/
|
||||
@@ -1506,11 +1477,6 @@ LLVMTypeRef LLVMLabelTypeInContext(LLVMContextRef C);
|
||||
*/
|
||||
LLVMTypeRef LLVMX86MMXTypeInContext(LLVMContextRef C);
|
||||
|
||||
/**
|
||||
* Create a X86 AMX type in a context.
|
||||
*/
|
||||
LLVMTypeRef LLVMX86AMXTypeInContext(LLVMContextRef C);
|
||||
|
||||
/**
|
||||
* Create a token type in a context.
|
||||
*/
|
||||
@@ -1528,7 +1494,6 @@ LLVMTypeRef LLVMMetadataTypeInContext(LLVMContextRef C);
|
||||
LLVMTypeRef LLVMVoidType(void);
|
||||
LLVMTypeRef LLVMLabelType(void);
|
||||
LLVMTypeRef LLVMX86MMXType(void);
|
||||
LLVMTypeRef LLVMX86AMXType(void);
|
||||
|
||||
/**
|
||||
* @}
|
||||
@@ -1585,7 +1550,6 @@ LLVMTypeRef LLVMX86AMXType(void);
|
||||
macro(Function) \
|
||||
macro(GlobalVariable) \
|
||||
macro(UndefValue) \
|
||||
macro(PoisonValue) \
|
||||
macro(Instruction) \
|
||||
macro(UnaryOperator) \
|
||||
macro(BinaryOperator) \
|
||||
@@ -1719,11 +1683,6 @@ LLVMBool LLVMIsConstant(LLVMValueRef Val);
|
||||
*/
|
||||
LLVMBool LLVMIsUndef(LLVMValueRef Val);
|
||||
|
||||
/**
|
||||
* Determine whether a value instance is poisonous.
|
||||
*/
|
||||
LLVMBool LLVMIsPoison(LLVMValueRef Val);
|
||||
|
||||
/**
|
||||
* Convert value instances between types.
|
||||
*
|
||||
@@ -1882,13 +1841,6 @@ LLVMValueRef LLVMConstAllOnes(LLVMTypeRef Ty);
|
||||
*/
|
||||
LLVMValueRef LLVMGetUndef(LLVMTypeRef Ty);
|
||||
|
||||
/**
|
||||
* Obtain a constant value referring to a poison value of a type.
|
||||
*
|
||||
* @see llvm::PoisonValue::get()
|
||||
*/
|
||||
LLVMValueRef LLVMGetPoison(LLVMTypeRef Ty);
|
||||
|
||||
/**
|
||||
* Determine whether a value instance is null.
|
||||
*
|
||||
|
||||
@@ -77,4 +77,8 @@ typedef signed int ssize_t;
|
||||
# define UINT64_MAX 0xffffffffffffffffULL
|
||||
#endif
|
||||
|
||||
#ifndef HUGE_VALF
|
||||
#define HUGE_VALF (float)HUGE_VAL
|
||||
#endif
|
||||
|
||||
#endif /* LLVM_C_DATATYPES_H */
|
||||
|
||||
@@ -159,9 +159,7 @@ enum {
|
||||
LLVMDIImportedEntityMetadataKind,
|
||||
LLVMDIMacroMetadataKind,
|
||||
LLVMDIMacroFileMetadataKind,
|
||||
LLVMDICommonBlockMetadataKind,
|
||||
LLVMDIStringTypeMetadataKind,
|
||||
LLVMDIGenericSubrangeMetadataKind
|
||||
LLVMDICommonBlockMetadataKind
|
||||
};
|
||||
typedef unsigned LLVMMetadataKind;
|
||||
|
||||
|
||||
@@ -62,11 +62,6 @@ void LLVMDisposeErrorMessage(char *ErrMsg);
|
||||
*/
|
||||
LLVMErrorTypeId LLVMGetStringErrorTypeId(void);
|
||||
|
||||
/**
|
||||
* Create a StringError.
|
||||
*/
|
||||
LLVMErrorRef LLVMCreateStringError(const char *ErrMsg);
|
||||
|
||||
LLVM_C_EXTERN_C_END
|
||||
|
||||
#endif
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#ifndef LLVM_C_LINKTIMEOPTIMIZER_H
|
||||
#define LLVM_C_LINKTIMEOPTIMIZER_H
|
||||
|
||||
#include "ExternC.h"
|
||||
#include "llvm-c/ExternC.h"
|
||||
|
||||
LLVM_C_EXTERN_C_BEGIN
|
||||
|
||||
|
||||
@@ -22,10 +22,10 @@
|
||||
#ifndef LLVM_C_ORCBINDINGS_H
|
||||
#define LLVM_C_ORCBINDINGS_H
|
||||
|
||||
#include "Error.h"
|
||||
#include "ExternC.h"
|
||||
#include "Object.h"
|
||||
#include "TargetMachine.h"
|
||||
#include "llvm-c/Error.h"
|
||||
#include "llvm-c/ExternC.h"
|
||||
#include "llvm-c/Object.h"
|
||||
#include "llvm-c/TargetMachine.h"
|
||||
|
||||
LLVM_C_EXTERN_C_BEGIN
|
||||
|
||||
|
||||
@@ -57,6 +57,9 @@ void LLVMAddGlobalDCEPass(LLVMPassManagerRef PM);
|
||||
/** See llvm::createGlobalOptimizerPass function. */
|
||||
void LLVMAddGlobalOptimizerPass(LLVMPassManagerRef PM);
|
||||
|
||||
/** See llvm::createIPConstantPropagationPass function. */
|
||||
void LLVMAddIPConstantPropagationPass(LLVMPassManagerRef PM);
|
||||
|
||||
/** See llvm::createPruneEHPass function. */
|
||||
void LLVMAddPruneEHPass(LLVMPassManagerRef PM);
|
||||
|
||||
|
||||
@@ -67,9 +67,6 @@ void LLVMAddIndVarSimplifyPass(LLVMPassManagerRef PM);
|
||||
/** See llvm::createInstructionCombiningPass function. */
|
||||
void LLVMAddInstructionCombiningPass(LLVMPassManagerRef PM);
|
||||
|
||||
/** See llvm::createInstSimplifyLegacyPass function. */
|
||||
void LLVMAddInstructionSimplifyPass(LLVMPassManagerRef PM);
|
||||
|
||||
/** See llvm::createJumpThreadingPass function. */
|
||||
void LLVMAddJumpThreadingPass(LLVMPassManagerRef PM);
|
||||
|
||||
@@ -128,6 +125,9 @@ void LLVMAddSimplifyLibCallsPass(LLVMPassManagerRef PM);
|
||||
/** See llvm::createTailCallEliminationPass function. */
|
||||
void LLVMAddTailCallEliminationPass(LLVMPassManagerRef PM);
|
||||
|
||||
/** See llvm::createConstantPropagationPass function. */
|
||||
void LLVMAddConstantPropagationPass(LLVMPassManagerRef PM);
|
||||
|
||||
/** See llvm::demotePromoteMemoryToRegisterPass function. */
|
||||
void LLVMAddDemoteMemoryToRegisterPass(LLVMPassManagerRef PM);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user