LLVM 22.0.0git
Collaboration diagram for Other Types:

Functions

LLVM_C_ABI LLVMTypeRef LLVMVoidTypeInContext (LLVMContextRef C)
 Create a void type in a context.
LLVM_C_ABI LLVMTypeRef LLVMLabelTypeInContext (LLVMContextRef C)
 Create a label type in a context.
LLVM_C_ABI LLVMTypeRef LLVMX86AMXTypeInContext (LLVMContextRef C)
 Create a X86 AMX type in a context.
LLVM_C_ABI LLVMTypeRef LLVMTokenTypeInContext (LLVMContextRef C)
 Create a token type in a context.
LLVM_C_ABI LLVMTypeRef LLVMMetadataTypeInContext (LLVMContextRef C)
 Create a metadata type in a context.
LLVM_C_ABI LLVMTypeRef LLVMVoidType (void)
 These are similar to the above functions except they operate on the global context.
LLVM_C_ABI LLVMTypeRef LLVMLabelType (void)
LLVM_C_ABI LLVMTypeRef LLVMX86AMXType (void)
LLVM_C_ABI LLVMTypeRef LLVMTargetExtTypeInContext (LLVMContextRef C, const char *Name, LLVMTypeRef *TypeParams, unsigned TypeParamCount, unsigned *IntParams, unsigned IntParamCount)
 Create a target extension type in LLVM context.
LLVM_C_ABI const charLLVMGetTargetExtTypeName (LLVMTypeRef TargetExtTy)
 Obtain the name for this target extension type.
LLVM_C_ABI unsigned LLVMGetTargetExtTypeNumTypeParams (LLVMTypeRef TargetExtTy)
 Obtain the number of type parameters for this target extension type.
LLVM_C_ABI LLVMTypeRef LLVMGetTargetExtTypeTypeParam (LLVMTypeRef TargetExtTy, unsigned Idx)
 Get the type parameter at the given index for the target extension type.
LLVM_C_ABI unsigned LLVMGetTargetExtTypeNumIntParams (LLVMTypeRef TargetExtTy)
 Obtain the number of int parameters for this target extension type.
LLVM_C_ABI unsigned LLVMGetTargetExtTypeIntParam (LLVMTypeRef TargetExtTy, unsigned Idx)
 Get the int parameter at the given index for the target extension type.

Detailed Description

Function Documentation

◆ LLVMGetTargetExtTypeIntParam()

LLVM_C_ABI unsigned LLVMGetTargetExtTypeIntParam ( LLVMTypeRef TargetExtTy,
unsigned Idx )

Get the int parameter at the given index for the target extension type.

See also
llvm::TargetExtType::getIntParameter()

Definition at line 993 of file Core.cpp.

References llvm::unwrap().

◆ LLVMGetTargetExtTypeName()

LLVM_C_ABI const char * LLVMGetTargetExtTypeName ( LLVMTypeRef TargetExtTy)

Obtain the name for this target extension type.

See also
llvm::TargetExtType::getName()

Definition at line 972 of file Core.cpp.

References llvm::unwrap().

◆ LLVMGetTargetExtTypeNumIntParams()

LLVM_C_ABI unsigned LLVMGetTargetExtTypeNumIntParams ( LLVMTypeRef TargetExtTy)

Obtain the number of int parameters for this target extension type.

See also
llvm::TargetExtType::getNumIntParameters()

Definition at line 988 of file Core.cpp.

References llvm::unwrap().

◆ LLVMGetTargetExtTypeNumTypeParams()

LLVM_C_ABI unsigned LLVMGetTargetExtTypeNumTypeParams ( LLVMTypeRef TargetExtTy)

Obtain the number of type parameters for this target extension type.

See also
llvm::TargetExtType::getNumTypeParameters()

Definition at line 977 of file Core.cpp.

References llvm::unwrap().

◆ LLVMGetTargetExtTypeTypeParam()

LLVM_C_ABI LLVMTypeRef LLVMGetTargetExtTypeTypeParam ( LLVMTypeRef TargetExtTy,
unsigned Idx )

Get the type parameter at the given index for the target extension type.

See also
llvm::TargetExtType::getTypeParameter()

Definition at line 982 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMLabelType()

LLVM_C_ABI LLVMTypeRef LLVMLabelType ( void )

Definition at line 957 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMLabelTypeInContext().

◆ LLVMLabelTypeInContext()

LLVM_C_ABI LLVMTypeRef LLVMLabelTypeInContext ( LLVMContextRef C)

Create a label type in a context.

Definition at line 944 of file Core.cpp.

References llvm::CallingConv::C, llvm::Type::getLabelTy(), llvm::unwrap(), and llvm::wrap().

Referenced by LLVMLabelType().

◆ LLVMMetadataTypeInContext()

LLVM_C_ABI LLVMTypeRef LLVMMetadataTypeInContext ( LLVMContextRef C)

Create a metadata type in a context.

Definition at line 950 of file Core.cpp.

References llvm::CallingConv::C, llvm::Type::getMetadataTy(), llvm::unwrap(), and llvm::wrap().

◆ LLVMTargetExtTypeInContext()

LLVM_C_ABI LLVMTypeRef LLVMTargetExtTypeInContext ( LLVMContextRef C,
const char * Name,
LLVMTypeRef * TypeParams,
unsigned TypeParamCount,
unsigned * IntParams,
unsigned IntParamCount )

Create a target extension type in LLVM context.

Definition at line 961 of file Core.cpp.

References llvm::CallingConv::C, llvm::TargetExtType::get(), llvm::unwrap(), and llvm::wrap().

◆ LLVMTokenTypeInContext()

LLVM_C_ABI LLVMTypeRef LLVMTokenTypeInContext ( LLVMContextRef C)

Create a token type in a context.

Definition at line 947 of file Core.cpp.

References llvm::CallingConv::C, llvm::Type::getTokenTy(), llvm::unwrap(), and llvm::wrap().

◆ LLVMVoidType()

LLVM_C_ABI LLVMTypeRef LLVMVoidType ( void )

These are similar to the above functions except they operate on the global context.

Definition at line 954 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMVoidTypeInContext().

◆ LLVMVoidTypeInContext()

LLVM_C_ABI LLVMTypeRef LLVMVoidTypeInContext ( LLVMContextRef C)

Create a void type in a context.

Definition at line 941 of file Core.cpp.

References llvm::CallingConv::C, llvm::Type::getVoidTy(), llvm::unwrap(), and llvm::wrap().

Referenced by LLVMVoidType().

◆ LLVMX86AMXType()

LLVM_C_ABI LLVMTypeRef LLVMX86AMXType ( void )

Definition at line 757 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMX86AMXTypeInContext().

◆ LLVMX86AMXTypeInContext()

LLVM_C_ABI LLVMTypeRef LLVMX86AMXTypeInContext ( LLVMContextRef C)

Create a X86 AMX type in a context.

Definition at line 732 of file Core.cpp.

References llvm::CallingConv::C, llvm::Type::getX86_AMXTy(), and llvm::unwrap().

Referenced by LLVMX86AMXType().