Table of Contents

Method GetIntType

Namespace
Ubiquity.NET.Llvm
Assembly
Ubiquity.NET.Llvm.dll

GetIntType(uint)

Get's an LLVM integer type of arbitrary bit width

public ITypeRef GetIntType(uint bitWidth)

Parameters

bitWidth uint

Width of the integer type in bits

Returns

ITypeRef

Integer ITypeRef for the specified width

Remarks

For standard integer bit widths (e.g. 1,8,16,32,64) this will return the same type as the corresponding specialized property. (e.g. GetIntType(1) is the same as BoolType, GetIntType(16) is the same as Int16Type, etc... )