clang API Documentation

Typedefs | Enumerations
clang::LangAS Namespace Reference

Typedefs

typedef unsigned Map [Count]

Enumerations

enum  ID {
  Offset = 0xFFFF00, opencl_global = Offset, opencl_local, opencl_constant,
  cuda_device, cuda_constant, cuda_shared, Last,
  Count = Last-Offset
}
 Defines the set of possible language-specific address spaces. More...

Typedef Documentation

The type of a lookup table which maps from language-specific address spaces to target-specific ones.

Definition at line 44 of file AddressSpaces.h.


Enumeration Type Documentation

Defines the set of possible language-specific address spaces.

This uses a high starting offset so as not to conflict with any address space used by a target.

Enumerator:
Offset 
opencl_global 
opencl_local 
opencl_constant 
cuda_device 
cuda_constant 
cuda_shared 
Last 
Count 

Definition at line 27 of file AddressSpaces.h.