Home
last modified time | relevance | path

Searched refs:SPIR (Results 1 – 25 of 39) sorted by relevance

12

/external/spirv-llvm/lib/SPIRV/
DSPIRVUtil.cpp954 SPIR::TypePrimitiveEnum
956 return StringSwitch<SPIR::TypePrimitiveEnum>(TyName) in getOCLTypePrimitiveEnum()
957 .Case("opencl.image1d_t", SPIR::PRIMITIVE_IMAGE_1D_T) in getOCLTypePrimitiveEnum()
958 .Case("opencl.image1d_array_t", SPIR::PRIMITIVE_IMAGE_1D_ARRAY_T) in getOCLTypePrimitiveEnum()
959 .Case("opencl.image1d_buffer_t", SPIR::PRIMITIVE_IMAGE_1D_BUFFER_T) in getOCLTypePrimitiveEnum()
960 .Case("opencl.image2d_t", SPIR::PRIMITIVE_IMAGE_2D_T) in getOCLTypePrimitiveEnum()
961 .Case("opencl.image2d_array_t", SPIR::PRIMITIVE_IMAGE_2D_ARRAY_T) in getOCLTypePrimitiveEnum()
962 .Case("opencl.image3d_t", SPIR::PRIMITIVE_IMAGE_3D_T) in getOCLTypePrimitiveEnum()
963 .Case("opencl.image2d_msaa_t", SPIR::PRIMITIVE_IMAGE_2D_MSAA_T) in getOCLTypePrimitiveEnum()
964 .Case("opencl.image2d_array_msaa_t", SPIR::PRIMITIVE_IMAGE_2D_ARRAY_MSAA_T) in getOCLTypePrimitiveEnum()
[all …]
DOCLUtil.cpp313 static SPIR::TypeAttributeEnum
318 return SPIR::ATTR_PRIVATE; in mapAddrSpaceEnums()
320 return SPIR::ATTR_GLOBAL; in mapAddrSpaceEnums()
322 return SPIR::ATTR_CONSTANT; in mapAddrSpaceEnums()
324 return SPIR::ATTR_LOCAL; in mapAddrSpaceEnums()
326 return SPIR::ATTR_GENERIC; in mapAddrSpaceEnums()
332 SPIR::TypeAttributeEnum
333 getOCLOpaqueTypeAddrSpace(SPIR::TypePrimitiveEnum prim) { in getOCLOpaqueTypeAddrSpace()
335 case SPIR::PRIMITIVE_QUEUE_T: in getOCLOpaqueTypeAddrSpace()
337 case SPIR::PRIMITIVE_EVENT_T: in getOCLOpaqueTypeAddrSpace()
[all …]
DSPIRVInternal.h391 SPIR::TypePrimitiveEnum Enum;
395 Enum(SPIR::PRIMITIVE_NONE), Attr(0) in BuiltinArgTypeMangleInfo()
419 void setEnumArg(int Ndx, SPIR::TypePrimitiveEnum Enum) { in setEnumArg()
437 bool isArgEnum(int Ndx, SPIR::TypePrimitiveEnum *Enum = nullptr) {
481 std::map<int, SPIR::TypePrimitiveEnum> EnumArgs; // enum arguments
/external/spirv-llvm/lib/SPIRV/runtime/
DREADME.txt1 This directory contains SPIR-V builtin functions used by
2 the LLVM module converted from SPIR-V by the SPIR-V/LLVM
3 converter. The SPIR-V consumers need to add these builtin
6 For OpenCL, most of the SPIR-V instructions are translated
8 by the converter. Therefore only a few SPIR-V instructions
/external/clang/test/CodeGenOpenCL/
Dspir_version.cl8 // CL10: !opencl.spir.version = !{[[SPIR:![0-9]+]]}
10 // CL10: [[SPIR]] = !{i32 2, i32 0}
12 // CL12: !opencl.spir.version = !{[[SPIR:![0-9]+]]}
14 // CL12: [[SPIR]] = !{i32 2, i32 0}
16 // CL20: !opencl.spir.version = !{[[SPIR:![0-9]+]]}
17 // CL20: !opencl.ocl.version = !{[[SPIR:![0-9]+]]}
18 // CL20: [[SPIR]] = !{i32 2, i32 0}
/external/spirv-llvm/lib/SPIRV/Mangler/
DREADME.md3 SPIR Name Mangler
12 The algorithm is adapted to support mangling of SPIR built-in
13 functions and was tested on SPIR built-ins only.
15 The mangler supports mangling according to SPIR 1.2 and SPIR 2.0
DParameterType.cpp18 namespace SPIR { namespace
44 const PrimitiveType* p = SPIR::dyn_cast<PrimitiveType>(type); in equals()
104 const PointerType* p = SPIR::dyn_cast<PointerType>(type); in equals()
140 const VectorType* pVec = SPIR::dyn_cast<VectorType>(type); in equals()
228 const UserDefinedType* pTy = SPIR::dyn_cast<UserDefinedType>(pType); in equals()
DFunctionDescriptor.h21 namespace SPIR {
48 std::ostream& operator<< (T& o, const SPIR::FunctionDescriptor& fd) {
DMangler.cpp28 namespace SPIR { namespace
61 if (const PointerType* p = SPIR::dyn_cast<PointerType>(type)) { in mangleSubstitution()
66 else if (const VectorType* pVec = SPIR::dyn_cast<VectorType>(type)) { in mangleSubstitution()
DNameMangleAPI.h18 namespace SPIR {
DManglingUtils.h18 namespace SPIR {
DManglingUtils.cpp15 namespace SPIR { namespace
DRefcount.h18 namespace SPIR {
DFunctionDescriptor.cpp17 namespace SPIR { namespace
DParameterType.h22 namespace SPIR {
/external/deqp/external/spirv-tools/
DCMakeLists.txt33 # SPIR-V tools requires SPIRV-Headers
40 message(STATUS "spirv-tools not found; SPIR-V assembly not available")
/external/deqp/doc/testspecs/VK/
Dpipeline.spec_constant.txt29 + SPIR-V assembly code
34 + SPIR-V generated from GLSL should be inspected for instruction coverage
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DCMakeLists.txt1 # SPIR-V assembly tests
/external/skia/src/sksl/
Dsksl_frag.include10 // require any further handling) but will fail in SPIR-V. We'll have a better
Dsksl_fp.include10 // require any further handling) but will fail in SPIR-V. We'll have a better
/external/spirv-llvm/test/SPIRV/transcoding/
DAtomicCompareExchangeExplicit_cl20.ll6 ;; // Values of memory order and memory scope arguments correspond to SPIR-2.0 spec.
35 ;; Constants below correspond to the SPIR-V spec
Ddevice_execution_multiple_blocks.ll5 ;; built-ins what using it. This is not against SPIR 2.0 specification so it is done this
143 !9 = !{!"clang version 3.6.1 (https://github.com/KhronosGroup/SPIR.git 49a8b4a760d227b12116a79b2f7b…
Datomic_store.ll12 ; Check 'LLVM ==> SPIR-V ==> LLVM' conversion of atomic_store.
/external/deqp/external/vulkancts/
DREADME.md110 Pre-compiling SPIR-V binaries
113 For distribution, and platforms that don't support GLSL to SPIR-V compilation,
114 SPIR-V binaries can be pre-built with following command:
121 SPIR-V programs in order for the binaries to be available.
/external/deqp/external/glslang/
DCMakeLists.txt106 message(STATUS "glslang not found; GLSL to SPIR-V compilation not available")

12