llvm::AA::isGPUGenericAddressSpace

Check if the given address space AS corresponds to a GPU generic address space for the target triple in module M.

Synopsis

Declared in <llvm/Transforms/IPO/Attributor.h>

bool
isGPUGenericAddressSpace(
    Module const& M,
    unsigned int AS);

Return Value

True if the given address space AS corresponds to a GPU generic address space for the target triple in module M.

Parameters

NameDescription
MThe module of interest.
ASThe address space to classify.