LLVM 20.0.0git
|
Sequential types represents "arrays" of types. More...
Functions | |
LLVMTypeRef | LLVMGetElementType (LLVMTypeRef Ty) |
Obtain the element type of an array or vector type. | |
void | LLVMGetSubtypes (LLVMTypeRef Tp, LLVMTypeRef *Arr) |
Returns type's subtypes. | |
unsigned | LLVMGetNumContainedTypes (LLVMTypeRef Tp) |
Return the number of types in the derived type. | |
LLVMTypeRef | LLVMArrayType (LLVMTypeRef ElementType, unsigned ElementCount) |
Create a fixed size array type that refers to a specific type. | |
LLVMTypeRef | LLVMArrayType2 (LLVMTypeRef ElementType, uint64_t ElementCount) |
Create a fixed size array type that refers to a specific type. | |
unsigned | LLVMGetArrayLength (LLVMTypeRef ArrayTy) |
Obtain the length of an array type. | |
uint64_t | LLVMGetArrayLength2 (LLVMTypeRef ArrayTy) |
Obtain the length of an array type. | |
LLVMTypeRef | LLVMPointerType (LLVMTypeRef ElementType, unsigned AddressSpace) |
Create a pointer type that points to a defined type. | |
LLVMBool | LLVMPointerTypeIsOpaque (LLVMTypeRef Ty) |
Determine whether a pointer is opaque. | |
LLVMTypeRef | LLVMPointerTypeInContext (LLVMContextRef C, unsigned AddressSpace) |
Create an opaque pointer type in a context. | |
unsigned | LLVMGetPointerAddressSpace (LLVMTypeRef PointerTy) |
Obtain the address space of a pointer type. | |
LLVMTypeRef | LLVMVectorType (LLVMTypeRef ElementType, unsigned ElementCount) |
Create a vector type that contains a defined type and has a specific number of elements. | |
LLVMTypeRef | LLVMScalableVectorType (LLVMTypeRef ElementType, unsigned ElementCount) |
Create a vector type that contains a defined type and has a scalable number of elements. | |
unsigned | LLVMGetVectorSize (LLVMTypeRef VectorTy) |
Obtain the (possibly scalable) number of elements in a vector type. | |
LLVMValueRef | LLVMGetConstantPtrAuthPointer (LLVMValueRef PtrAuth) |
Get the pointer value for the associated ConstantPtrAuth constant. | |
LLVMValueRef | LLVMGetConstantPtrAuthKey (LLVMValueRef PtrAuth) |
Get the key value for the associated ConstantPtrAuth constant. | |
LLVMValueRef | LLVMGetConstantPtrAuthDiscriminator (LLVMValueRef PtrAuth) |
Get the discriminator value for the associated ConstantPtrAuth constant. | |
LLVMValueRef | LLVMGetConstantPtrAuthAddrDiscriminator (LLVMValueRef PtrAuth) |
Get the address discriminator value for the associated ConstantPtrAuth constant. | |
Sequential types represents "arrays" of types.
This is a super class for array, vector, and pointer types.
LLVMTypeRef LLVMArrayType | ( | LLVMTypeRef | ElementType, |
unsigned | ElementCount | ||
) |
Create a fixed size array type that refers to a specific type.
The created type will exist in the context that its element type exists in.
Definition at line 860 of file Core.cpp.
References unwrap(), and llvm::wrap().
LLVMTypeRef LLVMArrayType2 | ( | LLVMTypeRef | ElementType, |
uint64_t | ElementCount | ||
) |
Create a fixed size array type that refers to a specific type.
The created type will exist in the context that its element type exists in.
Definition at line 864 of file Core.cpp.
References unwrap(), and llvm::wrap().
unsigned LLVMGetArrayLength | ( | LLVMTypeRef | ArrayTy | ) |
Obtain the length of an array type.
This only works on types that represent arrays.
uint64_t LLVMGetArrayLength2 | ( | LLVMTypeRef | ArrayTy | ) |
Obtain the length of an array type.
This only works on types that represent arrays.
LLVMValueRef LLVMGetConstantPtrAuthAddrDiscriminator | ( | LLVMValueRef | PtrAuth | ) |
Get the address discriminator value for the associated ConstantPtrAuth constant.
Definition at line 924 of file Core.cpp.
References llvm::wrap().
LLVMValueRef LLVMGetConstantPtrAuthDiscriminator | ( | LLVMValueRef | PtrAuth | ) |
Get the discriminator value for the associated ConstantPtrAuth constant.
Definition at line 920 of file Core.cpp.
References llvm::wrap().
LLVMValueRef LLVMGetConstantPtrAuthKey | ( | LLVMValueRef | PtrAuth | ) |
Get the key value for the associated ConstantPtrAuth constant.
Definition at line 916 of file Core.cpp.
References llvm::wrap().
LLVMValueRef LLVMGetConstantPtrAuthPointer | ( | LLVMValueRef | PtrAuth | ) |
Get the pointer value for the associated ConstantPtrAuth constant.
Definition at line 912 of file Core.cpp.
References llvm::wrap().
LLVMTypeRef LLVMGetElementType | ( | LLVMTypeRef | Ty | ) |
Obtain the element type of an array or vector type.
Definition at line 885 of file Core.cpp.
References unwrap(), and llvm::wrap().
unsigned LLVMGetNumContainedTypes | ( | LLVMTypeRef | Tp | ) |
unsigned LLVMGetPointerAddressSpace | ( | LLVMTypeRef | PointerTy | ) |
Obtain the address space of a pointer type.
This only works on types that represent pointers.
void LLVMGetSubtypes | ( | LLVMTypeRef | Tp, |
LLVMTypeRef * | Arr | ||
) |
Returns type's subtypes.
Definition at line 852 of file Core.cpp.
References unwrap(), and llvm::wrap().
unsigned LLVMGetVectorSize | ( | LLVMTypeRef | VectorTy | ) |
LLVMTypeRef LLVMPointerType | ( | LLVMTypeRef | ElementType, |
unsigned | AddressSpace | ||
) |
Create a pointer type that points to a defined type.
The created type will exist in the context that its pointee type exists in.
Definition at line 868 of file Core.cpp.
References unwrap(), and llvm::wrap().
LLVMTypeRef LLVMPointerTypeInContext | ( | LLVMContextRef | C, |
unsigned | AddressSpace | ||
) |
Create an opaque pointer type in a context.
Definition at line 930 of file Core.cpp.
References llvm::CallingConv::C, unwrap(), and llvm::wrap().
LLVMBool LLVMPointerTypeIsOpaque | ( | LLVMTypeRef | Ty | ) |
Determine whether a pointer is opaque.
True if this is an instance of an opaque PointerType.
LLVMTypeRef LLVMScalableVectorType | ( | LLVMTypeRef | ElementType, |
unsigned | ElementCount | ||
) |
Create a vector type that contains a defined type and has a scalable number of elements.
The created type will exist in the context thats its element type exists in.
Definition at line 880 of file Core.cpp.
References llvm::ScalableVectorType::get(), unwrap(), and llvm::wrap().
LLVMTypeRef LLVMVectorType | ( | LLVMTypeRef | ElementType, |
unsigned | ElementCount | ||
) |
Create a vector type that contains a defined type and has a specific number of elements.
The created type will exist in the context thats its element type exists in.
Definition at line 876 of file Core.cpp.
References llvm::FixedVectorType::get(), unwrap(), and llvm::wrap().
Referenced by llvm::buildBoolRegister().