LLVM 19.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 LLVMX86MMXTypeInContext (LLVMContextRef C)
 Create a X86 MMX 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 LLVMX86MMXType (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 978 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 957 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 973 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 962 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 967 of file Core.cpp.

References Idx, and llvm::wrap().

◆ LLVMLabelType()

LLVMTypeRef LLVMLabelType ( void  )

Definition at line 942 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMLabelTypeInContext().

◆ LLVMLabelTypeInContext()

LLVMTypeRef LLVMLabelTypeInContext ( LLVMContextRef  C)

Create a label type in a context.

Definition at line 929 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 935 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 946 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 932 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 939 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMVoidTypeInContext().

◆ LLVMVoidTypeInContext()

LLVMTypeRef LLVMVoidTypeInContext ( LLVMContextRef  C)

Create a void type in a context.

Definition at line 926 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 759 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMX86AMXTypeInContext().

◆ LLVMX86AMXTypeInContext()

LLVMTypeRef LLVMX86AMXTypeInContext ( LLVMContextRef  C)

Create a X86 AMX type in a context.

Definition at line 731 of file Core.cpp.

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

Referenced by LLVMX86AMXType().

◆ LLVMX86MMXType()

LLVMTypeRef LLVMX86MMXType ( void  )

Definition at line 756 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMX86MMXTypeInContext().

◆ LLVMX86MMXTypeInContext()

LLVMTypeRef LLVMX86MMXTypeInContext ( LLVMContextRef  C)

Create a X86 MMX type in a context.

Definition at line 728 of file Core.cpp.

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

Referenced by LLVMX86MMXType().