LLVM 22.0.0git
Functions

Functions in this section operate on integer types. More...

Collaboration diagram for Integer Types:

Functions

LLVM_C_ABI LLVMTypeRef LLVMInt1TypeInContext (LLVMContextRef C)
 Obtain an integer type from a context with specified bit width.
 
LLVM_C_ABI LLVMTypeRef LLVMInt8TypeInContext (LLVMContextRef C)
 
LLVM_C_ABI LLVMTypeRef LLVMInt16TypeInContext (LLVMContextRef C)
 
LLVM_C_ABI LLVMTypeRef LLVMInt32TypeInContext (LLVMContextRef C)
 
LLVM_C_ABI LLVMTypeRef LLVMInt64TypeInContext (LLVMContextRef C)
 
LLVM_C_ABI LLVMTypeRef LLVMInt128TypeInContext (LLVMContextRef C)
 
LLVM_C_ABI LLVMTypeRef LLVMIntTypeInContext (LLVMContextRef C, unsigned NumBits)
 
LLVM_C_ABI LLVMTypeRef LLVMInt1Type (void)
 Obtain an integer type from the global context with a specified bit width.
 
LLVM_C_ABI LLVMTypeRef LLVMInt8Type (void)
 
LLVM_C_ABI LLVMTypeRef LLVMInt16Type (void)
 
LLVM_C_ABI LLVMTypeRef LLVMInt32Type (void)
 
LLVM_C_ABI LLVMTypeRef LLVMInt64Type (void)
 
LLVM_C_ABI LLVMTypeRef LLVMInt128Type (void)
 
LLVM_C_ABI LLVMTypeRef LLVMIntType (unsigned NumBits)
 
LLVM_C_ABI unsigned LLVMGetIntTypeWidth (LLVMTypeRef IntegerTy)
 

Detailed Description

Functions in this section operate on integer types.

Function Documentation

◆ LLVMGetIntTypeWidth()

LLVM_C_ABI unsigned LLVMGetIntTypeWidth ( LLVMTypeRef  IntegerTy)

Definition at line 705 of file Core.cpp.

◆ LLVMInt128Type()

LLVM_C_ABI LLVMTypeRef LLVMInt128Type ( void  )

Definition at line 698 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt128TypeInContext().

◆ LLVMInt128TypeInContext()

LLVM_C_ABI LLVMTypeRef LLVMInt128TypeInContext ( LLVMContextRef  C)

Definition at line 676 of file Core.cpp.

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

Referenced by LLVMInt128Type().

◆ LLVMInt16Type()

LLVM_C_ABI LLVMTypeRef LLVMInt16Type ( void  )

Definition at line 689 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt16TypeInContext().

◆ LLVMInt16TypeInContext()

LLVM_C_ABI LLVMTypeRef LLVMInt16TypeInContext ( LLVMContextRef  C)

Definition at line 667 of file Core.cpp.

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

Referenced by LLVMInt16Type().

◆ LLVMInt1Type()

LLVM_C_ABI LLVMTypeRef LLVMInt1Type ( void  )

Obtain an integer type from the global context with a specified bit width.

Definition at line 683 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt1TypeInContext().

◆ LLVMInt1TypeInContext()

LLVM_C_ABI LLVMTypeRef LLVMInt1TypeInContext ( LLVMContextRef  C)

Obtain an integer type from a context with specified bit width.

Definition at line 661 of file Core.cpp.

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

Referenced by LLVMInt1Type().

◆ LLVMInt32Type()

LLVM_C_ABI LLVMTypeRef LLVMInt32Type ( void  )

Definition at line 692 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt32TypeInContext().

◆ LLVMInt32TypeInContext()

LLVM_C_ABI LLVMTypeRef LLVMInt32TypeInContext ( LLVMContextRef  C)

Definition at line 670 of file Core.cpp.

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

Referenced by LLVMInt32Type().

◆ LLVMInt64Type()

LLVM_C_ABI LLVMTypeRef LLVMInt64Type ( void  )

Definition at line 695 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt64TypeInContext().

◆ LLVMInt64TypeInContext()

LLVM_C_ABI LLVMTypeRef LLVMInt64TypeInContext ( LLVMContextRef  C)

Definition at line 673 of file Core.cpp.

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

Referenced by LLVMInt64Type().

◆ LLVMInt8Type()

LLVM_C_ABI LLVMTypeRef LLVMInt8Type ( void  )

Definition at line 686 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt8TypeInContext().

◆ LLVMInt8TypeInContext()

LLVM_C_ABI LLVMTypeRef LLVMInt8TypeInContext ( LLVMContextRef  C)

Definition at line 664 of file Core.cpp.

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

Referenced by LLVMInt8Type().

◆ LLVMIntType()

LLVM_C_ABI LLVMTypeRef LLVMIntType ( unsigned  NumBits)

Definition at line 701 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMIntTypeInContext().

◆ LLVMIntTypeInContext()

LLVM_C_ABI LLVMTypeRef LLVMIntTypeInContext ( LLVMContextRef  C,
unsigned  NumBits 
)

Definition at line 679 of file Core.cpp.

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

Referenced by LLVMIntType().