Table of Contents

Method IntPtrType

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

IntPtrType(IContext)

Retrieves an LLVM integer type with the same bit width as a pointer for the default address space of the target

ITypeRef IntPtrType(IContext context)

Parameters

context IContext

LLVM IContext that owns the definition of the pointer type to retrieve

Returns

ITypeRef

Integer type matching the bit width of a native pointer in the target's default address space

IntPtrType(IContext, uint)

Retrieves an LLVM integer type with the same bit width as a pointer for the given address space of the target

ITypeRef IntPtrType(IContext context, uint addressSpace)

Parameters

context IContext

LLVM IContext that owns the definition of the pointer type to retrieve

addressSpace uint

Address space for the pointer

Returns

ITypeRef

Integer type matching the bit width of a native pointer in the target's address space