LLVM 20.0.0git
Functions
Collaboration diagram for Other Types:

Functions

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

Detailed Description

Function Documentation

◆ LLVMGetTargetExtTypeIntParam()

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 Idx.

◆ LLVMGetTargetExtTypeName()

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.

◆ LLVMGetTargetExtTypeNumIntParams()

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.

◆ LLVMGetTargetExtTypeNumTypeParams()

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.

◆ LLVMGetTargetExtTypeTypeParam()

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 Idx, and llvm::wrap().

◆ LLVMLabelType()

LLVMTypeRef LLVMLabelType ( void  )

Definition at line 957 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMLabelTypeInContext().

◆ LLVMLabelTypeInContext()

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(), unwrap(), and llvm::wrap().

Referenced by LLVMLabelType().

◆ LLVMMetadataTypeInContext()

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(), unwrap(), and llvm::wrap().

◆ LLVMTargetExtTypeInContext()

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(), Name, unwrap(), and llvm::wrap().

◆ LLVMTokenTypeInContext()

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(), unwrap(), and llvm::wrap().

◆ LLVMVoidType()

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()

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(), unwrap(), and llvm::wrap().

Referenced by LLVMVoidType().

◆ LLVMX86AMXType()

LLVMTypeRef LLVMX86AMXType ( void  )

Definition at line 758 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMX86AMXTypeInContext().

◆ LLVMX86AMXTypeInContext()

LLVMTypeRef LLVMX86AMXTypeInContext ( LLVMContextRef  C)

Create a X86 AMX type in a context.

Definition at line 733 of file Core.cpp.

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

Referenced by LLVMX86AMXType().