| /third_party/skia/third_party/externals/spirv-tools/test/opt/ |
| D | strip_debug_info_test.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 28 // clang-format off in TEST_F() 47 "%6 = OpLabel", in TEST_F() 56 // clang-format on in TEST_F() 70 "OpSourceExtension \"save-the-world-extension\"", in TEST_F() 83 // clang-format off in TEST_F() 93 "%6 = OpLabel", in TEST_F() 96 // clang-format on in TEST_F() 99 // clang-format off in TEST_F() 107 "%6 = OpLabel", in TEST_F() [all …]
|
| D | ir_loader_test.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 26 #include "spirv-tools/libspirv.hpp" 43 context->module()->ToBinary(&binary, /* skip_nop = */ false); in DoRoundTripCheck() 55 // clang-format off in TEST() 94 // clang-format on in TEST() 121 "%6 = OpFunctionParameter %float\n" in TEST() 128 // clang-format off in TEST() 145 "%6 = OpLabel\n" in TEST() 150 // clang-format on in TEST() 155 // clang-format off in TEST() [all …]
|
| D | def_use_test.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 28 #include "spirv-tools/libspirv.hpp" 44 context->get_def_use_mgr()->ForEachUse( in NumUses() 56 context->get_def_use_mgr()->ForEachUse( in GetUseOpcodes() 58 opcodes.push_back(user->opcode()); in GetUseOpcodes() 70 inst->ToBinaryWithoutAttachedDebugInsts(&binary); in DisassembleInst() 102 if (def->opcode() != SpvOpConstant) { in CheckDef() 117 if (mgr->GetDef(id)) { in BuildAllUsers() 118 mgr->ForEachUser(id, [id, &userMap](Instruction* user) { in BuildAllUsers() 119 if (user->opcode() != SpvOpConstant) { in BuildAllUsers() [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
| D | strip_debug_info_test.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 28 // clang-format off in TEST_F() 47 "%6 = OpLabel", in TEST_F() 56 // clang-format on in TEST_F() 70 "OpSourceExtension \"save-the-world-extension\"", in TEST_F() 83 // clang-format off in TEST_F() 93 "%6 = OpLabel", in TEST_F() 96 // clang-format on in TEST_F() 99 // clang-format off in TEST_F() 107 "%6 = OpLabel", in TEST_F() [all …]
|
| D | ir_loader_test.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 26 #include "spirv-tools/libspirv.hpp" 43 context->module()->ToBinary(&binary, /* skip_nop = */ false); in DoRoundTripCheck() 55 // clang-format off in TEST() 94 // clang-format on in TEST() 121 "%6 = OpFunctionParameter %float\n" in TEST() 128 // clang-format off in TEST() 145 "%6 = OpLabel\n" in TEST() 150 // clang-format on in TEST() 155 // clang-format off in TEST() [all …]
|
| /third_party/spirv-tools/test/opt/ |
| D | strip_debug_info_test.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 28 // clang-format off in TEST_F() 47 "%6 = OpLabel", in TEST_F() 56 // clang-format on in TEST_F() 70 "OpSourceExtension \"save-the-world-extension\"", in TEST_F() 83 // clang-format off in TEST_F() 93 "%6 = OpLabel", in TEST_F() 96 // clang-format on in TEST_F() 99 // clang-format off in TEST_F() 107 "%6 = OpLabel", in TEST_F() [all …]
|
| D | ir_loader_test.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 25 #include "spirv-tools/libspirv.hpp" 42 context->module()->ToBinary(&binary, /* skip_nop = */ false); in DoRoundTripCheck() 54 // clang-format off in TEST() 93 // clang-format on in TEST() 120 "%6 = OpFunctionParameter %float\n" in TEST() 127 // clang-format off in TEST() 144 "%6 = OpLabel\n" in TEST() 149 // clang-format on in TEST() 154 // clang-format off in TEST() [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/ |
| D | unroll_assumptions.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 44 for (Function& f : *context()->module()) { in Process() 49 LoopDescriptor& loop_descriptor = *context()->GetLoopDescriptor(&f); in Process() 74 // clang-format off in TEST_F() 88 %6 = OpTypeFunction %5 in TEST_F() 103 %2 = OpFunction %5 None %6 in TEST_F() 126 // clang-format on in TEST_F() 130 Module* module = context->module(); in TEST_F() 156 // clang-format off in TEST_F() 168 %6 = OpTypeInt 32 0 in TEST_F() [all …]
|
| D | loop_fission.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 65 // clang-format off in TEST_F() 77 %6 = OpTypeVoid in TEST_F() 78 %7 = OpTypeFunction %6 in TEST_F() 91 %2 = OpFunction %6 None %7 in TEST_F() 132 %6 = OpTypeVoid in TEST_F() 133 %7 = OpTypeFunction %6 in TEST_F() 146 %2 = OpFunction %6 None %7 in TEST_F() 190 // clang-format on in TEST_F() 194 Module* module = context->module(); in TEST_F() [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/ |
| D | unroll_assumptions.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 44 for (Function& f : *context()->module()) { in Process() 49 LoopDescriptor& loop_descriptor = *context()->GetLoopDescriptor(&f); in Process() 74 // clang-format off in TEST_F() 88 %6 = OpTypeFunction %5 in TEST_F() 103 %2 = OpFunction %5 None %6 in TEST_F() 126 // clang-format on in TEST_F() 130 Module* module = context->module(); in TEST_F() 156 // clang-format off in TEST_F() 168 %6 = OpTypeInt 32 0 in TEST_F() [all …]
|
| D | loop_fission.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 65 // clang-format off in TEST_F() 77 %6 = OpTypeVoid in TEST_F() 78 %7 = OpTypeFunction %6 in TEST_F() 91 %2 = OpFunction %6 None %7 in TEST_F() 132 %6 = OpTypeVoid in TEST_F() 133 %7 = OpTypeFunction %6 in TEST_F() 146 %2 = OpFunction %6 None %7 in TEST_F() 190 // clang-format on in TEST_F() 194 Module* module = context->module(); in TEST_F() [all …]
|
| /third_party/spirv-tools/test/opt/loop_optimizations/ |
| D | unroll_assumptions.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 43 for (Function& f : *context()->module()) { in Process() 48 LoopDescriptor& loop_descriptor = *context()->GetLoopDescriptor(&f); in Process() 73 // clang-format off in TEST_F() 87 %6 = OpTypeFunction %5 in TEST_F() 102 %2 = OpFunction %5 None %6 in TEST_F() 125 // clang-format on in TEST_F() 129 Module* module = context->module(); in TEST_F() 155 // clang-format off in TEST_F() 167 %6 = OpTypeInt 32 0 in TEST_F() [all …]
|
| D | loop_fission.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 63 // clang-format off in TEST_F() 75 %6 = OpTypeVoid in TEST_F() 76 %7 = OpTypeFunction %6 in TEST_F() 89 %2 = OpFunction %6 None %7 in TEST_F() 130 %6 = OpTypeVoid in TEST_F() 131 %7 = OpTypeFunction %6 in TEST_F() 144 %2 = OpFunction %6 None %7 in TEST_F() 188 // clang-format on in TEST_F() 192 Module* module = context->module(); in TEST_F() [all …]
|
| /third_party/benchmark/ |
| D | .travis.yml | 7 - compiler: gcc 11 - lcov 13 - compiler: gcc 17 - g++-multilib 18 - libc6:i386 20 - COMPILER=g++ 21 - C_COMPILER=gcc 22 - BUILD_TYPE=Debug 23 - BUILD_32_BITS=ON 24 - EXTRA_FLAGS="-m32" [all …]
|
| /third_party/mindspore/mindspore-src/source/scripts/pre_commit/ |
| D | README_CN.md | 1 # pre-push快速指引 3 <!-- TOC --> 5 - [pre-push快速指引](#pre-push快速指引) 6 - [本地使用pre-push步骤](#本地使用pre-push步骤) 7 - [附:常见问题QA](#附常见问题qa) 8 - [附:手动安装代码检查工具](#附手动安装代码检查工具) 9 - [Windows环境](#windows环境) 10 - [Linux环境](#linux环境) 11 - [Mac环境](#mac环境) 12 - [附:工具版本建议](#附工具版本建议) [all …]
|
| D | README.md | 1 # pre-push Quick Guide 3 <!-- TOC --> 5 - [Pre-push Quick Guide](#pre-push-quick-guide) 6 - [Procedure for Using pre-push Locally](#procedure-for-using-pre-push-locally) 7 - [Appendix: FAQs](#appendix-faqs) 8 … - [Appendix: Manually Installing Code Check Tools](#appendix-manually-installing-code-check-tools) 9 - [Windows Environment](#windows-environment) 10 - [Linux Environment](#linux-environment) 11 - [macOS Environment](#macos-environment) 12 - [Appendix: Suggestions on Tool Versions](#appendix-suggestions-on-tool-versions) [all …]
|
| /third_party/bzip2/ |
| D | bzip2.spec | 3 Release: 6 4 Summary: A high-quality data compressor 8 Source0: https://sourceware.org/pub/bzip2/%{name}-%{version}.tar.gz 11 Patch0: 0001-add-compile-option.patch 12 Patch1: 0002-CVE-2019-12900.patch 13 Patch2: 0003-license-and-version-print-should-output-to-stdout-and-exit-with-code-0.patch 17 Provides: bzip2-libs 18 Obsoletes: bzip2-libs 21 bzip2 is a freely available, patent free, high-quality data compressor. 28 Requires: %{name} = %{version}-%{release} [all …]
|
| /third_party/benchmark/.github/workflows/ |
| D | build-and-test.yml | 1 name: build-and-test 8 # TODO: add 32-bit builds (g++ and clang++) for ubuntu 9 # (requires g++-multilib and libc6:i386) 11 # TODO: add clang + libc++ builds for ubuntu 14 runs-on: ${{ matrix.os }} 16 fail-fast: false 18 os: [ubuntu-latest, ubuntu-20.04, macos-latest] 20 compiler: [g++, clang++] 22 - displayTargetName: windows-latest-release 23 os: windows-latest [all …]
|
| /third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/ |
| D | ComputeTests.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 21 #include "spirv-tools/libspirv.hpp" 29 return alignment * ((val + alignment - 1) / alignment); in alignUp() 87 printf("-- WARNING: Disassembly does not match assembly: ---\n\n"); in compileSpirv() 89 auto splitLines = [](const std::string &str) -> std::vector<std::string> { in compileSpirv() 109 printf("\n\n---\nExpected:\n\n%s", disassembled.c_str()); in compileSpirv() 152 ASSERT_TRUE(device->IsValid()); in test() 171 size_t magic0Offset = alignElements - 1; in test() 174 size_t magic2Offset = alignUp(magic1Offset + 1, alignElements) - 1; in test() 181 VK_ASSERT(device->AllocateMemory(buffersSize, in test() [all …]
|
| /third_party/skia/infra/bots/assets/mesa_intel_driver_linux/mesa-driver-builder/ |
| D | Dockerfile | 5 # Enabling backports gives us access to clang-6 and makes it more likely that 6 # 'apt-get build-dep' will install the correct dependencies. 13 # Hosts can install this by adding the stretch-backports debian source (see next RUN) 14 # and then performing `sudo apt-get update && sudo apt-get install libdrm2=2.4.95-1~bpo9+1` 15 RUN echo "deb-src http://deb.debian.org/debian buster main" >> /etc/apt/sources.list && \ 16 echo "deb-src http://deb.debian.org/debian buster-updates main" >> /etc/apt/sources.list && \ 17 apt-get update && apt-get upgrade -y && \ 18 apt-get install -y wget clang-6.0 && \ 19 apt-get build-dep -y mesa && \ 20 rm -rf /var/lib/apt/lists/* [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
| D | HexagonDepDecoders.inc | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 11 // clang-format off 14 #pragma clang diagnostic push 15 #pragma clang diagnostic ignored "-Wunused-function" 55 signedDecoder<6>(MI, tmp, Decoder); 70 signedDecoder<6>(MI, tmp, Decoder); 75 #pragma clang diagnostic pop [all …]
|
| /third_party/curl/m4/ |
| D | curl-compilers.m4 | 21 # SPDX-License-Identifier: curl 30 dnl ------------------------------------------------- 52 mips-sgi-irix*) 71 *** mailing list: https://lists.haxx.selistinfo/curl-library/ 79 dnl ------------------------------------------------- 80 dnl Verify if compiler being used is clang. 84 AC_MSG_CHECKING([if compiler is clang]) 91 dnl IBM's almost-compatible clang version 96 compiler_id="CLANG" 99 fullclangver=`$CC -v 2>&1 | grep version` [all …]
|
| /third_party/mesa3d/src/amd/vulkan/radix_sort/targets/u64/ |
| D | config.h | 2 // Use of this source code is governed by a BSD-style license that can be 12 // clang-format off 19 #define RS_HISTOGRAM_SUBGROUP_SIZE_LOG2 6 23 #define RS_PREFIX_SUBGROUP_SIZE_LOG2 6 26 #define RS_SCATTER_SUBGROUP_SIZE_LOG2 6 28 // clang-format on
|
| /third_party/skia/infra/bots/assets/clang_linux/ |
| D | create.py | 5 # Use of this source code is governed by a BSD-style license that can be 9 """Create a Clang toolchain for Linux hosts.""" 25 # Build Clang, lld, compiler-rt (sanitizer support) and libc++. 27 subprocess.check_call(["git", "clone", "--depth", "1", "-b", BRANCH, 28 "https://llvm.googlesource.com/llvm-project"]) 29 os.chdir("llvm-project") 32 subprocess.check_call(["cmake", "../llvm", "-G", "Ninja", 33 "-DCMAKE_BUILD_TYPE=MinSizeRel", 34 "-DCMAKE_INSTALL_PREFIX=" + target_dir, 35 "-DLLVM_ENABLE_PROJECTS=clang;clang-tools-extra;" + [all …]
|
| /third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
| D | VertexStateTests.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 31 // The predetermined values are "K * gl_VertexID + componentIndex" for vertex-indexed buffers, and 32 // "K * gl_InstanceID + componentIndex" for instance-indexed buffers. 93 [[stage(vertex)]] fn main(input : VertexIn) -> VertexOut { in MakeTestPipeline() 104 vs << " var position = vec4<f32>(0.5 * worldPos - vec2<f32>(1.0, 1.0), 0.0, " in MakeTestPipeline() 106 vs << " output.position = vec4<f32>(position.x, -position.y, position.z, position.w);\n"; in MakeTestPipeline() 142 fn main([[location(0)]] color : vec4<f32>) -> [[location(0)]] vec4<f32> { in MakeTestPipeline() 173 vertexState->cVertexBuffers[vertexBufferCount].arrayStride = buffer.arrayStride; in MakeVertexState() 174 vertexState->cVertexBuffers[vertexBufferCount].stepMode = buffer.step; in MakeVertexState() 176 vertexState->cVertexBuffers[vertexBufferCount].attributes = in MakeVertexState() [all …]
|