llvm::DataLayout::getIntPtrType

getIntPtrType overloads

Synopses

Declared in <llvm/IR/DataLayout.h>

Returns an integer (vector of integer) type with size at least as big as that of a pointer of the given pointer (vector of pointer) type.

Type*
getIntPtrType(Type*) const;
» more...

Returns an integer type with size at least as big as that of a pointer in the given address space.

IntegerType*
getIntPtrType(
    LLVMContext& C,
    unsigned int AddressSpace = 0) const;
» more...