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
}

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 42 of file AddressSpaces.h.


Enumeration Type Documentation

This enum defines the set of possible language-specific address spaces. It 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 25 of file AddressSpaces.h.