LLVM API Documentation

Functions
Integer Types
Types
Collaboration diagram for Integer Types:

Functions

LLVMTypeRef LLVMInt1TypeInContext (LLVMContextRef C)
LLVMTypeRef LLVMInt8TypeInContext (LLVMContextRef C)
LLVMTypeRef LLVMInt16TypeInContext (LLVMContextRef C)
LLVMTypeRef LLVMInt32TypeInContext (LLVMContextRef C)
LLVMTypeRef LLVMInt64TypeInContext (LLVMContextRef C)
LLVMTypeRef LLVMIntTypeInContext (LLVMContextRef C, unsigned NumBits)
LLVMTypeRef LLVMInt1Type (void)
LLVMTypeRef LLVMInt8Type (void)
LLVMTypeRef LLVMInt16Type (void)
LLVMTypeRef LLVMInt32Type (void)
LLVMTypeRef LLVMInt64Type (void)
LLVMTypeRef LLVMIntType (unsigned NumBits)
unsigned LLVMGetIntTypeWidth (LLVMTypeRef IntegerTy)

Detailed Description

Functions in this section operate on integer types.


Function Documentation

unsigned LLVMGetIntTypeWidth ( LLVMTypeRef  IntegerTy)

Definition at line 253 of file Core.cpp.

References getBitWidth().

LLVMTypeRef LLVMInt16Type ( void  )

Definition at line 240 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt16TypeInContext().

LLVMTypeRef LLVMInt16TypeInContext ( LLVMContextRef  C)

Definition at line 221 of file Core.cpp.

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

Referenced by LLVMInt16Type().

LLVMTypeRef LLVMInt1Type ( void  )

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

Definition at line 234 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt1TypeInContext().

LLVMTypeRef LLVMInt1TypeInContext ( LLVMContextRef  C)

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

Definition at line 215 of file Core.cpp.

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

Referenced by LLVMInt1Type().

LLVMTypeRef LLVMInt32Type ( void  )

Definition at line 243 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt32TypeInContext().

LLVMTypeRef LLVMInt32TypeInContext ( LLVMContextRef  C)

Definition at line 224 of file Core.cpp.

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

Referenced by LLVMInt32Type().

LLVMTypeRef LLVMInt64Type ( void  )

Definition at line 246 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt64TypeInContext().

LLVMTypeRef LLVMInt64TypeInContext ( LLVMContextRef  C)

Definition at line 227 of file Core.cpp.

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

Referenced by LLVMInt64Type().

LLVMTypeRef LLVMInt8Type ( void  )

Definition at line 237 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMInt8TypeInContext().

LLVMTypeRef LLVMInt8TypeInContext ( LLVMContextRef  C)

Definition at line 218 of file Core.cpp.

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

Referenced by LLVMInt8Type().

LLVMTypeRef LLVMIntType ( unsigned  NumBits)

Definition at line 249 of file Core.cpp.

References LLVMGetGlobalContext(), and LLVMIntTypeInContext().

LLVMTypeRef LLVMIntTypeInContext ( LLVMContextRef  C,
unsigned  NumBits 
)

Definition at line 230 of file Core.cpp.

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

Referenced by LLVMIntType().