llvm::Type::getIntNTy

Return an integer type with bit width N.

Synopsis

Declared in <llvm/IR/Type.h>

static
IntegerType*
getIntNTy(
    LLVMContext& C,
    unsigned int N);

Return Value

The uniqued IntegerType with bit width N.

Parameters

NameDescription
CLLVM context in which to unique the type.
NBit width of the integer type.