clang  3.9.0
Typedefs | Enumerations
clang::LangAS Namespace Reference

Typedefs

typedef unsigned Map [Count]
 The type of a lookup table which maps from language-specific address spaces to target-specific ones. More...
 

Enumerations

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

Typedef Documentation

typedef unsigned clang::LangAS::Map[Count]

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

Definition at line 45 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 
opencl_generic 
cuda_device 
cuda_constant 
cuda_shared 
Last 
Count 

Definition at line 27 of file AddressSpaces.h.