LLVM 20.0.0git
Functions

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

Collaboration diagram for Integer Types:

Functions

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

Detailed Description

Functions in this section operate on integer types.

Function Documentation

◆ LLVMGetIntTypeWidth()

unsigned LLVMGetIntTypeWidth ( LLVMTypeRef  IntegerTy)

Definition at line 706 of file Core.cpp.

◆ LLVMInt128Type()

LLVMTypeRef LLVMInt128Type ( void  )

Definition at line 699 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt128TypeInContext().

◆ LLVMInt128TypeInContext()

LLVMTypeRef LLVMInt128TypeInContext ( LLVMContextRef  C)

Definition at line 677 of file Core.cpp.

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

Referenced by LLVMInt128Type().

◆ LLVMInt16Type()

LLVMTypeRef LLVMInt16Type ( void  )

Definition at line 690 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt16TypeInContext().

◆ LLVMInt16TypeInContext()

LLVMTypeRef LLVMInt16TypeInContext ( LLVMContextRef  C)

Definition at line 668 of file Core.cpp.

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

Referenced by LLVMInt16Type().

◆ LLVMInt1Type()

LLVMTypeRef LLVMInt1Type ( void  )

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

Definition at line 684 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt1TypeInContext().

◆ LLVMInt1TypeInContext()

LLVMTypeRef LLVMInt1TypeInContext ( LLVMContextRef  C)

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

Definition at line 662 of file Core.cpp.

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

Referenced by LLVMInt1Type().

◆ LLVMInt32Type()

LLVMTypeRef LLVMInt32Type ( void  )

Definition at line 693 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt32TypeInContext().

◆ LLVMInt32TypeInContext()

LLVMTypeRef LLVMInt32TypeInContext ( LLVMContextRef  C)

Definition at line 671 of file Core.cpp.

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

Referenced by LLVMInt32Type().

◆ LLVMInt64Type()

LLVMTypeRef LLVMInt64Type ( void  )

Definition at line 696 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt64TypeInContext().

◆ LLVMInt64TypeInContext()

LLVMTypeRef LLVMInt64TypeInContext ( LLVMContextRef  C)

Definition at line 674 of file Core.cpp.

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

Referenced by LLVMInt64Type().

◆ LLVMInt8Type()

LLVMTypeRef LLVMInt8Type ( void  )

Definition at line 687 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt8TypeInContext().

◆ LLVMInt8TypeInContext()

LLVMTypeRef LLVMInt8TypeInContext ( LLVMContextRef  C)

Definition at line 665 of file Core.cpp.

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

Referenced by LLVMInt8Type().

◆ LLVMIntType()

LLVMTypeRef LLVMIntType ( unsigned  NumBits)

Definition at line 702 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMIntTypeInContext().

◆ LLVMIntTypeInContext()

LLVMTypeRef LLVMIntTypeInContext ( LLVMContextRef  C,
unsigned  NumBits 
)

Definition at line 680 of file Core.cpp.

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

Referenced by LLVMIntType().