Method IntPtrType
IntPtrType(Context)
Retrieves an LLVM integer type with the same bit width as a pointer for the default address space of the target
Declaration
public ITypeRef IntPtrType(Context context)
Parameters
public ITypeRef IntPtrType(Context context)
Context | context | LLVM Context 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(Context, UInt32)
Retrieves an LLVM integer type with the same bit width as a pointer for the given address space of the target
Declaration
public ITypeRef IntPtrType(Context context, uint addressSpace)
Parameters
public ITypeRef IntPtrType(Context context, uint addressSpace)
Context | context | LLVM Context that owns the definition of the pointer type to retrieve |
UInt32 | addressSpace | Address space for the pointer |
Returns
ITypeRef | Integer type matching the bit width of a native pointer in the target's address space |