Method IntPtrType
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
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
IContextLLVM IContext that owns the definition of the pointer type to retrieve
addressSpace
uintAddress space for the pointer
Returns
- ITypeRef
Integer type matching the bit width of a native pointer in the target's address space