Check if the given address space AS corresponds to a GPU generic address space for the target triple in module M.
Declared in <llvm/Transforms/IPO/Attributor.h>
bool
isGPUGenericAddressSpace(
Module const& M,
unsigned int AS);
True if the given address space AS corresponds to a GPU generic address space for the target triple in module M.
| Name | Description |
|---|---|
| M | The module of interest. |
| AS | The address space to classify. |