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 704 of file Core.cpp.

◆ LLVMInt128Type()

LLVMTypeRef LLVMInt128Type ( void  )

Definition at line 697 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt128TypeInContext().

◆ LLVMInt128TypeInContext()

LLVMTypeRef LLVMInt128TypeInContext ( LLVMContextRef  C)

Definition at line 675 of file Core.cpp.

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

Referenced by LLVMInt128Type().

◆ LLVMInt16Type()

LLVMTypeRef LLVMInt16Type ( void  )

Definition at line 688 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt16TypeInContext().

◆ LLVMInt16TypeInContext()

LLVMTypeRef LLVMInt16TypeInContext ( LLVMContextRef  C)

Definition at line 666 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 682 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 660 of file Core.cpp.

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

Referenced by LLVMInt1Type().

◆ LLVMInt32Type()

LLVMTypeRef LLVMInt32Type ( void  )

Definition at line 691 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt32TypeInContext().

◆ LLVMInt32TypeInContext()

LLVMTypeRef LLVMInt32TypeInContext ( LLVMContextRef  C)

Definition at line 669 of file Core.cpp.

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

Referenced by LLVMInt32Type().

◆ LLVMInt64Type()

LLVMTypeRef LLVMInt64Type ( void  )

Definition at line 694 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt64TypeInContext().

◆ LLVMInt64TypeInContext()

LLVMTypeRef LLVMInt64TypeInContext ( LLVMContextRef  C)

Definition at line 672 of file Core.cpp.

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

Referenced by LLVMInt64Type().

◆ LLVMInt8Type()

LLVMTypeRef LLVMInt8Type ( void  )

Definition at line 685 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt8TypeInContext().

◆ LLVMInt8TypeInContext()

LLVMTypeRef LLVMInt8TypeInContext ( LLVMContextRef  C)

Definition at line 663 of file Core.cpp.

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

Referenced by LLVMInt8Type().

◆ LLVMIntType()

LLVMTypeRef LLVMIntType ( unsigned  NumBits)

Definition at line 700 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMIntTypeInContext().

◆ LLVMIntTypeInContext()

LLVMTypeRef LLVMIntTypeInContext ( LLVMContextRef  C,
unsigned  NumBits 
)

Definition at line 678 of file Core.cpp.

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

Referenced by LLVMIntType().