14#ifndef LLVM_IR_TYPEDPOINTERTYPE_H
15#define LLVM_IR_TYPEDPOINTERTYPE_H
26class TypedPointerType :
public Type {
27 explicit TypedPointerType(
Type *ElType,
unsigned AddrSpace);
33 TypedPointerType &
operator=(
const TypedPointerType &) =
delete;
@ TypedPointerTyID
Typed pointer used by some GPU targets.
Type(LLVMContext &C, TypeID tid)
unsigned getSubclassData() const
static bool classof(const Type *T)
Implement support type inquiry through isa, cast, and dyn_cast.
static LLVM_ABI 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 LLVM_ABI 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.