Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
clang/lib/CodeGen/CGDebugInfo.cpp
Show First 20 Lines • Show All 678 Lines • ▼ Show 20 Lines | case BuiltinType::ObjCSel: { | ||||
return SelTy; | return SelTy; | ||||
} | } | ||||
#define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix) \ | #define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix) \ | ||||
case BuiltinType::Id: \ | case BuiltinType::Id: \ | ||||
return getOrCreateStructPtrType("opencl_" #ImgType "_" #Suffix "_t", \ | return getOrCreateStructPtrType("opencl_" #ImgType "_" #Suffix "_t", \ | ||||
SingletonId); | SingletonId); | ||||
#include "clang/Basic/OpenCLImageTypes.def" | #include "clang/Basic/OpenCLImageTypes.def" | ||||
#define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix) \ | |||||
case BuiltinType::Sampled##Id: \ | |||||
return getOrCreateStructPtrType( \ | |||||
"spirv_sampled_" #ImgType "_" #Suffix "_t", Sampled##SingletonId); | |||||
#define IMAGE_WRITE_TYPE(Type, Id, Ext) | |||||
#define IMAGE_READ_WRITE_TYPE(Type, Id, Ext) | |||||
#include "clang/Basic/OpenCLImageTypes.def" | |||||
case BuiltinType::OCLSampler: | case BuiltinType::OCLSampler: | ||||
return getOrCreateStructPtrType("opencl_sampler_t", OCLSamplerDITy); | return getOrCreateStructPtrType("opencl_sampler_t", OCLSamplerDITy); | ||||
case BuiltinType::OCLEvent: | case BuiltinType::OCLEvent: | ||||
return getOrCreateStructPtrType("opencl_event_t", OCLEventDITy); | return getOrCreateStructPtrType("opencl_event_t", OCLEventDITy); | ||||
case BuiltinType::OCLClkEvent: | case BuiltinType::OCLClkEvent: | ||||
return getOrCreateStructPtrType("opencl_clk_event_t", OCLClkEventDITy); | return getOrCreateStructPtrType("opencl_clk_event_t", OCLClkEventDITy); | ||||
case BuiltinType::OCLQueue: | case BuiltinType::OCLQueue: | ||||
return getOrCreateStructPtrType("opencl_queue_t", OCLQueueDITy); | return getOrCreateStructPtrType("opencl_queue_t", OCLQueueDITy); | ||||
▲ Show 20 Lines • Show All 4,476 Lines • Show Last 20 Lines |