Return a type based on an identifier.
Declared in <llvm/IR/Type.h>
static
Type*
getPrimitiveType(
LLVMContext& C,
TypeID IDNumber);
The uniqued primitive type for IDNumber, or null if invalid.
| Name | Description |
|---|---|
| C | LLVM context in which to unique the type. |
| IDNumber | TypeID of the primitive type to return. |