HomeSort by relevance Sort by last modified time
    Searched full:spir (Results 1 - 25 of 479) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/spirv-llvm/lib/SPIRV/runtime/
README.txt 1 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/spirv-llvm/lib/SPIRV/Mangler/
README.md 3 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
NameMangleAPI.h 3 // SPIR Tools
18 namespace SPIR {
22 /// @param SPIRversion spir version to mangle according to.
29 /// SPIR extensions.
38 } // End SPIR namespace
ManglingUtils.cpp 3 // SPIR Tools
15 namespace SPIR {
121 // SPIR supported version - stated version is oldest supported version.
187 case SPIR12: return "SPIR 1.2";
188 case SPIR20: return "SPIR 2.0";
190 assert(false && "Unknown SPIR Version");
191 return "Unknown SPIR Version";
195 } // End SPIR namespace
FunctionDescriptor.h 3 // SPIR Tools
21 namespace SPIR {
48 std::ostream& operator<< (T& o, const SPIR::FunctionDescriptor& fd) {
52 } // End SPIR namespace
ManglingUtils.h 3 // SPIR Tools
18 namespace SPIR {
30 } // End SPIR namespace
  /external/clang/test/CodeGenOpenCL/
spir_version.cl 1 // RUN: %clang_cc1 %s -triple "spir-unknown-unknown" -emit-llvm -o - | FileCheck %s --check-prefix=CL10
2 // RUN: %clang_cc1 %s -triple "spir-unknown-unknown" -emit-llvm -o - -cl-std=CL1.2 | FileCheck %s --check-prefix=CL12
3 // RUN: %clang_cc1 %s -triple "spir-unknown-unknown" -emit-llvm -o - -cl-std=CL2.0 | FileCheck %s --check-prefix=CL20
8 // 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]+]]
    [all...]
spir32_target.cl 1 // RUN: %clang_cc1 %s -triple "spir-unknown-unknown" -emit-llvm -o - | FileCheck %s
3 // CHECK: target triple = "spir-unknown-unknown"
fpmath.cl 1 // RUN: %clang_cc1 %s -emit-llvm -o - -triple spir-unknown-unknown | FileCheck %s
  /external/clang/test/PCH/
opencl-extensions.cl 1 // RUN: %clang_cc1 -emit-pch -o %t %s -triple spir-unknown-unknown
2 // RUN: %clang_cc1 -include-pch %t -fsyntax-only %s -triple spir-unknown-unknown
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/source/
spirv_target_env.cpp 24 return "SPIR-V 1.0";
26 return "SPIR-V 1.0 (under Vulkan 1.0 semantics)";
28 return "SPIR-V 1.1";
30 return "SPIR-V 1.0 (under OpenCL 2.1 semantics)";
32 return "SPIR-V 1.1 (under OpenCL 2.2 semantics)";
34 return "SPIR-V 1.0 (under OpenCL 4.0 semantics)";
36 return "SPIR-V 1.0 (under OpenCL 4.1 semantics)";
38 return "SPIR-V 1.0 (under OpenCL 4.2 semantics)";
40 return "SPIR-V 1.0 (under OpenCL 4.3 semantics)";
42 return "SPIR-V 1.0 (under OpenCL 4.5 semantics)"
    [all...]
  /external/spirv-llvm/lib/SPIRV/
SPIRVUtil.cpp 1 //===- SPIRVUtil.cpp - SPIR-V Utilities -------------------------*- C++ -*-===//
36 /// This file defines utility classes and functions shared by SPIR-V
67 cl::desc("Use text format for SPIR-V for debugging purpose"),
74 cl::desc("Enable SPIR-V debug output"),
278 /// \param Postfix contains postfixes extracted from the SPIR-V image
491 assert(Postfix.empty() && "Invalid SPIR-V builtin name");
910 assert(NamedMD->getNumOperands() > 0 && "Invalid SPIR");
954 SPIR::TypePrimitiveEnum
956 return StringSwitch<SPIR::TypePrimitiveEnum>(TyName)
957 .Case("opencl.image1d_t", SPIR::PRIMITIVE_IMAGE_1D_T
    [all...]
OCLUtil.cpp 81 // Excerpt from SPIR 2.0 spec.:
87 // Excerpt from SPIR 2.0 spec.:
198 assert (NamedMD->getNumOperands() > 0 && "Invalid SPIR");
225 /// Encode LLVM type by SPIR-V execution mode VecTypeHint
313 static SPIR::TypeAttributeEnum
318 return SPIR::ATTR_PRIVATE;
320 return SPIR::ATTR_GLOBAL;
322 return SPIR::ATTR_CONSTANT;
324 return SPIR::ATTR_LOCAL;
326 return SPIR::ATTR_GENERIC
    [all...]
SPIRV.h 1 //===- SPIRV.h ? Read and write SPIR-V binary -------------------*- C++ -*-===//
37 /// SPIR-V.
69 /// \brief Check if a string contains SPIR-V binary.
73 /// \brief Convert SPIR-V between binary and internal textual formats.
80 /// \brief Convert SPIR-V between binary and internel text formats.
86 /// \brief Check if a string contains SPIR-V in internal text format.
111 /// Create a pass for translating LLVM to SPIR-V.
118 /// Create a pass for translating OCL 2.0 builtin functions to SPIR-V builtin
122 /// Create a pass for translating OCL 2.1 builtin functions to SPIR-V builtin
138 /// Create a pass for regularize LLVM module to be translated to SPIR-V
    [all...]
  /external/spirv-llvm/lib/SPIRV/libSPIRV/
SPIRVErrorEnum.h 3 _SPIRV_OP(InvalidTargetTriple, "Expects spir-unknown-unknown or spir64-unknown-unknown.")
  /prebuilts/deqp/
README 1 This directory contains prebuilt SPIR-V binaries used by the deqp
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/include/spirv-tools/
libspirv.h 106 SPV_OPERAND_TYPE_MEMORY_SEMANTICS_ID, // SPIR-V Sec 3.25
107 SPV_OPERAND_TYPE_SCOPE_ID, // SPIR-V Sec 3.27
123 // occupy multiple SPIR-V words.
130 SPV_OPERAND_TYPE_SOURCE_LANGUAGE, // SPIR-V Sec 3.2
131 SPV_OPERAND_TYPE_EXECUTION_MODEL, // SPIR-V Sec 3.3
132 SPV_OPERAND_TYPE_ADDRESSING_MODEL, // SPIR-V Sec 3.4
133 SPV_OPERAND_TYPE_MEMORY_MODEL, // SPIR-V Sec 3.5
134 SPV_OPERAND_TYPE_EXECUTION_MODE, // SPIR-V Sec 3.6
135 SPV_OPERAND_TYPE_STORAGE_CLASS, // SPIR-V Sec 3.7
136 SPV_OPERAND_TYPE_DIMENSIONALITY, // SPIR-V Sec 3.
    [all...]
  /external/clang/test/Frontend/
backend-option.c 2 // RUN: %clang_cc1 %s -emit-llvm -backend-option -time-passes -o - -triple spir-unknown-unknown 2>&1 | FileCheck %s
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/external/spirv-headers/include/spirv/
spir-v.xml 26 This file, spir-v.xml, is the SPIR-V Tool ID and Opcode registry. The
29 http://www.khronos.org/registry/spir-v/
32 <!-- SECTION: SPIR-V Tool ID Definitions -->
34 <!-- A SPIR-V Generator Magic Number is a 32 bit word: The high order 16
35 bits are a tool ID, which should be unique across all SPIR-V
49 reserved for different SPIR-V generators -->
51 <ids type="vendor" start="0" end="0xFFFF" comment="SPIR-V Tool IDs">
58 <id value="6" vendor="Khronos" tool="LLVM/SPIR-V Translator" comment="Contact Yaxun (Sam) Liu, yaxun.liu@amd.com"/>
59 <id value="7" vendor="Khronos" tool="SPIR-V Tools Assembler" comment="Contact David Neto, dneto@google.com"/
    [all...]
  /external/deqp/external/vulkancts/framework/vulkan/
vkPrograms.cpp 97 TCU_THROW(InternalError, "SPIR-V endianness translation not supported");
111 TCU_THROW(InternalError, "Validation failed for compiled SPIR-V binary");
125 TCU_THROW(InternalError, "Compiling GLSL to SPIR-V failed");
148 TCU_THROW(InternalError, "Compiling HLSL to SPIR-V failed");
168 TCU_THROW(InternalError, "Failed to assemble SPIR-V");
179 TCU_THROW(InternalError, "Validation failed for assembled SPIR-V binary");
196 TCU_THROW(InternalError, "SPIR-V endianness translation not supported");
208 *dst << "Binary doesn't look like SPIR-V at all";
216 TCU_THROW(InternalError, "SPIR-V endianness translation not supported");
314 TCU_THROW(InternalError, "Binary is not in SPIR-V format")
    [all...]
vkSpirVAsm.cpp 21 * \brief SPIR-V assembly to binary.
48 case SPIRV_VERSION_1_0: result = SPV_ENV_UNIVERSAL_1_0; break; //!< SPIR-V 1.0
49 case SPIRV_VERSION_1_1: result = SPV_ENV_UNIVERSAL_1_1; break; //!< SPIR-V 1.1
50 case SPIRV_VERSION_1_2: result = SPV_ENV_UNIVERSAL_1_2; break; //!< SPIR-V 1.2
51 case SPIRV_VERSION_1_3: result = SPV_ENV_UNIVERSAL_1_3; break; //!< SPIR-V 1.3
52 default: TCU_THROW(InternalError, "Unknown SPIR-V version");
115 TCU_THROW(InternalError, "Disassembling SPIR-V failed");
164 TCU_THROW(NotSupportedError, "SPIR-V assembly not supported (DEQP_HAVE_SPIRV_TOOLS not defined)");
169 TCU_THROW(NotSupportedError, "SPIR-V disassembling not supported (DEQP_HAVE_SPIRV_TOOLS not defined)");
174 TCU_THROW(NotSupportedError, "SPIR-V validation not supported (DEQP_HAVE_SPIRV_TOOLS not defined)")
    [all...]
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/utils/
generate_registry_tables.py 15 """Generates the vendor tool table from the SPIR-V XML registry."""
29 registry: The SPIR-V XMLregistry as an xml.ElementTree
55 'Generate tables from SPIR-V XML registry')
58 help='SPIR-V XML Registry file')
61 help='output file for SPIR-V generators table')
  /external/shaderc/spirv-headers/include/spirv/
spir-v.xml 26 This file, spir-v.xml, is the SPIR-V Tool ID and Opcode registry. The
29 http://www.khronos.org/registry/spir-v/
32 <!-- SECTION: SPIR-V Tool ID Definitions -->
34 <!-- A SPIR-V Generator Magic Number is a 32 bit word: The high order 16
35 bits are a tool ID, which should be unique across all SPIR-V
49 reserved for different SPIR-V generators -->
51 <ids type="vendor" start="0" end="0xFFFF" comment="SPIR-V Tool IDs">
58 <id value="6" vendor="Khronos" tool="LLVM/SPIR-V Translator" comment="Contact Yaxun (Sam) Liu, yaxun.liu@amd.com"/>
59 <id value="7" vendor="Khronos" tool="SPIR-V Tools Assembler" comment="Contact David Neto, dneto@google.com"/
    [all...]
  /external/shaderc/spirv-headers/
README.md 0 # 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.
    [all...]
  /external/spirv-llvm/lib/SPIRV/llvm/Support/
SPIRV.h 1 //===- SPIRV.h ? Read and write SPIR-V binary -------------------*- C++ -*-===//
37 /// SPIR-V.
69 /// \brief Check if a string contains SPIR-V binary.
73 /// \brief Convert SPIR-V between binary and internal textual formats.
80 /// \brief Convert SPIR-V between binary and internel text formats.
86 /// \brief Check if a string contains SPIR-V in internal text format.
111 /// Create a pass for translating LLVM to SPIR-V.
118 /// Create a pass for translating OCL 2.0 builtin functions to SPIR-V builtin
122 /// Create a pass for translating OCL 2.1 builtin functions to SPIR-V builtin
138 /// Create a pass for regularize LLVM module to be translated to SPIR-V
    [all...]

Completed in 428 milliseconds

1 2 3 4 5 6 7 8 91011>>