14#ifndef LLVM_IR_TYPEDPOINTERTYPE_H
15#define LLVM_IR_TYPEDPOINTERTYPE_H
The instances of the Type class are immutable: once they are created, they are never changed.
@ TypedPointerTyID
Typed pointer used by some GPU targets.
unsigned getSubclassData() const
A few GPU targets, such as DXIL and SPIR-V, have typed pointers.
static bool classof(const Type *T)
Implement support type inquiry through isa, cast, and dyn_cast.
static bool isValidElementType(Type *ElemTy)
Return true if the specified type is valid as a element type.
TypedPointerType & operator=(const TypedPointerType &)=delete
Type * getElementType() const
static TypedPointerType * get(Type *ElementType, unsigned AddressSpace)
This constructs a pointer to an object of the specified type in a numbered address space.
unsigned getAddressSpace() const
Return the address space of the Pointer type.
TypedPointerType(const TypedPointerType &)=delete
This is an optimization pass for GlobalISel generic memory operations.