|
@@ -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.
|
|
|
*
|