LLVM 24.0.0git
llvm::SPIRVAS Namespace Reference

Enumerations

enum  AddressSpace : unsigned {
  Function = 0 , CrossWorkgroup = 1 , UniformConstant = 2 , Workgroup = 3 ,
  Generic = 4 , DeviceOnlyINTEL = 5 , HostOnlyINTEL = 6 , Input = 7 ,
  Output = 8 , CodeSectionINTEL = 9 , Private = 10 , StorageBuffer = 11 ,
  Uniform = 12 , PushConstant = 13
}
 LLVM IR address space numbers used by the SPIR-V target. More...

Enumeration Type Documentation

◆ AddressSpace

LLVM IR address space numbers used by the SPIR-V target.

Each address space maps to the SPIR-V storage class it is named after. This is kept separate from SPIRV::StorageClass, which is tablegen'd inside the SPIR-V backend, so that it stays dependency-free and usable from clang and other non-backend code.

Enumerator
Function 
CrossWorkgroup 
UniformConstant 
Workgroup 
Generic 
DeviceOnlyINTEL 
HostOnlyINTEL 
Input 
Output 
CodeSectionINTEL 
Private 
StorageBuffer 
Uniform 
PushConstant 

Definition at line 25 of file SPIRVAddrSpace.h.