Home
last modified time | relevance | path

Searched refs:SPIR (Results 1 – 25 of 46) 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 {
/external/shaderc/spirv-headers/
DREADME.md1 # SPIR-V Headers
4 [SPIR-V Registry](https://www.khronos.org/registry/spir-v/).
8 * JSON files describing the grammar for the SPIR-V core instruction set,
14 For example, the headers for SPIR-V 1.1 are in
20 not tied to SPIR-V specification versions.
24 When a new version or revision of the SPIR-V header files are published,
25 the SPIR Working Group will push new commits onto master, updating
32 The SPIR-V XML registry file is updated by the Khronos registrar whenever
64 the `spirv` path component. For example the following uses SPIR-V 1.1
DCMakeLists.txt28 # The SPIR-V headers from the SPIR-V Registry
/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/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
/external/deqp/external/vulkancts/
DREADME.md114 Pre-compiling SPIR-V binaries
117 For distribution, and platforms that don't support GLSL to SPIR-V compilation,
118 SPIR-V binaries can be pre-built with following command:
122 By default the script builds SPIR-V binaries for Vulkan 1.1.
131 SPIR-V programs in order for the binaries to be available.
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DCMakeLists.txt1 # SPIR-V assembly tests
/external/skia/src/sksl/
Dsksl_frag.inc10 // require any further handling) but will fail in SPIR-V. We'll have a better
Dsksl_fp.inc10 // require any further handling) but will fail in SPIR-V. We'll have a better
/external/skqp/src/sksl/
Dsksl_frag.inc10 // require any further handling) but will fail in SPIR-V. We'll have a better
Dsksl_fp.inc10 // require any further handling) but will fail in SPIR-V. We'll have a better
/external/deqp/external/openglcts/docs/specs/
DCTS_ARB_spirv_extensions.txt36 SPIR-V extensions it supports works as expected.

12