#include "ABIInfoImpl.h"
#include "TargetInfo.h"
#include "clang/Basic/OpenCLImageTypes.def"
#include "clang/Basic/OpenCLExtensionTypes.def"
Go to the source code of this file.
|
namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI.
|
|
namespace | clang::CodeGen |
|
◆ IMAGE_TYPE
#define IMAGE_TYPE |
( |
|
ImgType, |
|
|
|
Id, |
|
|
|
SingletonId, |
|
|
|
Access, |
|
|
|
Suffix |
|
) |
| |
Value: case BuiltinType::Id: \
static llvm::Type * getSPIRVImageType(llvm::LLVMContext &Ctx, StringRef BaseType, StringRef OpenCLName, unsigned AccessQualifier)
Construct a SPIR-V target extension type for the given OpenCL image type.
◆ INTEL_SUBGROUP_AVC_TYPE
#define INTEL_SUBGROUP_AVC_TYPE |
( |
|
Name, |
|
|
|
Id |
|
) |
| |
Value: case BuiltinType::OCLIntelSubgroupAVC##
Id: \
return llvm::TargetExtType::get(Ctx,
"spirv.Avc" #
Id "INTEL");
◆ getSPIRVImageType()
static llvm::Type * getSPIRVImageType |
( |
llvm::LLVMContext & |
Ctx, |
|
|
StringRef |
BaseType, |
|
|
StringRef |
OpenCLName, |
|
|
unsigned |
AccessQualifier |
|
) |
| |
|
static |
Construct a SPIR-V target extension type for the given OpenCL image type.
Definition at line 136 of file SPIR.cpp.