/external/tensorflow/tensorflow/core/kernels/ |
D | resize_nearest_neighbor_op_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 76 // 3, 4 in TEST_F() 77 AddInputFromArray<float>(TensorShape({1, 2, 2, 1}), {1, 2, 3, 4}); in TEST_F() 83 // clang-format off in TEST_F() 86 // clang-format on in TEST_F() 94 // 3, 4 in TEST_F() 95 AddInputFromArray<float>(TensorShape({1, 2, 2, 1}), {1, 2, 3, 4}); in TEST_F() 101 // clang-format off in TEST_F() 104 // clang-format on in TEST_F() 111 // 3, 4 in TEST_F() [all …]
|
D | resize_bilinear_op_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 51 Tensor* input = new Tensor(device_->GetAllocator(AllocatorAttributes()), in SetRandomImageInput() 53 input->flat<float>().setRandom(); in SetRandomImageInput() 73 const int channels = images.dimension(3); in ResizeBilinearBaseline() 76 ASSERT_EQ(channels, output.dimension(3)); in ResizeBilinearBaseline() 88 ? (static_cast<float>(y) + 0.5f) * height_scale - 0.5f in ResizeBilinearBaseline() 93 std::min(static_cast<int64>(ceilf(in_y)), in_height - 1); in ResizeBilinearBaseline() 94 const float y_lerp = in_y - std::floor(in_y); in ResizeBilinearBaseline() 98 ? (static_cast<float>(x) + 0.5f) * width_scale - 0.5f in ResizeBilinearBaseline() 103 std::min(static_cast<int64>(ceilf(in_x)), in_width - 1); in ResizeBilinearBaseline() [all …]
|
D | crop_and_resize_op_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 53 AddInputFromArray<T>(TensorShape({1, 2, 2, 1}), {1, 2, 3, 4}); \ 66 AddInputFromArray<T>(TensorShape({1, 2, 2, 1}), {1, 2, 3, 4}); \ 92 // 3, 4 in REGISTER_TEST() 93 AddInputFromArray<uint8>(TensorShape({1, 2, 2, 1}), {1, 2, 3, 4}); in REGISTER_TEST() 108 // 3, 4 in TEST_F() 109 AddInputFromArray<uint8>(TensorShape({1, 2, 2, 1}), {1, 2, 3, 4}); in TEST_F() 124 // 3, 4 in TEST_F() 125 AddInputFromArray<float>(TensorShape({1, 2, 2, 1}), {1, 2, 3, 4}); in TEST_F() 140 // 3, 4 in TEST_F() [all …]
|
/external/clang/test/Modules/ |
D | extensions.c | 2 // RUN: rm -rf %t 3 …-fmodules -fimplicit-module-maps -fdisable-module-hash -ftest-module-file-extension=clang.testA:1:… 6 // RUN: llvm-bcanalyzer %t/ExtensionTestA.pcm | FileCheck -check-prefix=CHECK-BCANALYZER %s 7 // RUN: %clang_cc1 -module-file-info %t/ExtensionTestA.pcm | FileCheck -check-prefix=CHECK-INFO %s 10 // RUN: rm -rf %t 11 …-fmodules -fimplicit-module-maps -ftest-module-file-extension=clang.testA:1:5:0:user_info_for_A -f… 12 …-fmodules -fimplicit-module-maps -ftest-module-file-extension=clang.testA:1:3:0:user_info_for_A -f… 16 // using different "versions" of the extensions. Above, the "-verify" test 18 // RUN: rm -rf %t 19 …-fmodules -fimplicit-module-maps -ftest-module-file-extension=clang.testA:1:5:1:user_info_for_A -f… [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/Generic/ |
D | debug-names-many-cu.ll | 1 ; REQUIRES: object-emission 2 ; RUN: %llc_dwarf -accel-tables=Dwarf -filetype=obj -o %t < %s 3 ; RUN: llvm-dwarfdump -debug-names %t | FileCheck %s 4 ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s 12 ; CHECK: CU[0]: 0x{{[0-9a-f]*}} 13 ; CHECK: CU[1]: 0x{{[0-9a-f]*}} 15 ; CHECK: CU[256]: 0x{{[0-9a-f]*}} 17 ; CHECK: Abbreviation [[ABBREV:0x[0-9a-f]*]] 18 ; CHECK-NEXT: Tag: DW_TAG_variable 19 ; CHECK-NEXT: DW_IDX_compile_unit: DW_FORM_data2 [all …]
|
/external/clang/test/Driver/ |
D | fsanitize-coverage.c | 1 … RUN: %clang -target x86_64-linux-gnu -fsanitize=address -fsanitize-coverage=0 %s -### 2>&1 | File… 2 …clang -target x86_64-linux-gnu -fsanitize=address -fsanitize-coverage=edge -fsanitize-coverage=0 %… 3 // RUN: %clang -target x86_64-linux-gnu -fsanitize=address %s -### 2>&1 | FileCheck %s --check-pref… 4 // CHECK-SANITIZE-COVERAGE-0-NOT: fsanitize-coverage-type 5 // CHECK-SANITIZE-COVERAGE-0: -fsanitize=address 7 …UN: %clang -target x86_64-linux-gnu -fsanitize=address -fsanitize-coverage=func %s -### 2>&1 | Fil… 8 …RUN: %clang -target x86_64-linux-gnu -fsanitize=memory -fsanitize-coverage=func %s -### 2>&1 | Fil… 9 … RUN: %clang -target x86_64-linux-gnu -fsanitize=leak -fsanitize-coverage=func %s -### 2>&1 | File… 10 …N: %clang -target x86_64-linux-gnu -fsanitize=undefined -fsanitize-coverage=func %s -### 2>&1 | Fi… 11 … RUN: %clang -target x86_64-linux-gnu -fsanitize=bool -fsanitize-coverage=func %s -### 2>&1 | File… [all …]
|
D | x86-target-features.c | 1 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mx87 %s -### -o %t.o 2>&1 | FileCheck -c… 2 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mno-x87 %s -### -o %t.o 2>&1 | FileCheck… 3 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -m80387 %s -### -o %t.o 2>&1 | FileCheck … 4 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mno-80387 %s -### -o %t.o 2>&1 | FileChe… 5 // X87: "-target-feature" "+x87" 6 // NO-X87: "-target-feature" "-x87" 8 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mmmx -m3dnow -m3dnowa %s -### -o %t.o 2>… 9 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mno-mmx -mno-3dnow -mno-3dnowa %s -### -… 10 // MMX: "-target-feature" "+mmx" "-target-feature" "+3dnow" "-target-feature" "+3dnowa" 11 // NO-MMX: "-target-feature" "-mmx" "-target-feature" "-3dnow" "-target-feature" "-3dnowa" [all …]
|
D | android-standalone.cpp | 1 // Test header and library paths when Clang is used with Android standalone 4 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ 5 // RUN: -target arm-linux-androideabi -stdlib=libstdc++ \ 6 // RUN: -B%S/Inputs/basic_android_tree \ 7 // RUN: --sysroot=%S/Inputs/basic_android_tree/sysroot \ 9 // CHECK: {{.*}}clang{{.*}}" "-cc1" 10 // CHECK: "-internal-isystem" "{{.*}}/arm-linux-androideabi/include/c++/4.4.3" 11 // CHECK: "-internal-isystem" "{{.*}}/arm-linux-androideabi/include/c++/4.4.3/arm-linux-androideabi" 12 // CHECK: "-internal-externc-isystem" "{{.*}}/sysroot/include" 13 // CHECK: "-internal-externc-isystem" "{{.*}}/sysroot/usr/include" [all …]
|
/external/clang/test/PCH/ |
D | pragma-loop.cpp | 1 // RUN: %clang_cc1 -emit-pch -o %t.a %s 2 // RUN: %clang_cc1 -include-pch %t.a %s -ast-print -o - | FileCheck %s 7 // CHECK: #pragma clang loop unroll_count(16) 8 // CHECK: #pragma clang loop interleave_count(8) 9 // CHECK: #pragma clang loop vectorize_width(4) 10 // CHECK: #pragma clang loop distribute(enable) 11 // CHECK: #pragma clang loop unroll(disable) 12 // CHECK: #pragma clang loop interleave(disable) 13 // CHECK: #pragma clang loop vectorize(enable) 14 // CHECK: #pragma clang loop distribute(disable) [all …]
|
/external/perfetto/ |
D | .travis.yml | 7 # http://www.apache.org/licenses/LICENSE-2.0 20 # The |CFG| variable name is hooked up by the perfetto-ci.appspot.com frontend. 21 # Please keep infra/perfetto-ci.appspot.com/ updated when adding/removing 27 # - os: osx 28 # osx_image: xcode8.3 29 # compiler: clang 30 # env: CFG=mac-clang-x86_64-release GN_ARGS="is_debug=false" 31 # - os: osx 32 # osx_image: xcode8.3 33 # compiler: clang [all …]
|
/external/clang/test/SemaCXX/ |
D | switch-implicit-fallthrough.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 -Wimplicit-fallthrough %s 6 if (n - 1) { in fallthrough() 8 } else if (n - 2) { in fallthrough() 10 } else if (n - 3) { in fallthrough() 13 case -1: // no warning here, ignore fall-through from unreachable code in fallthrough() 15 …-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthr… in fallthrough() 17 …-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthr… in fallthrough() 19 …3: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[… in fallthrough() 22 …-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthr… in fallthrough() 25 …-warning{{unannotated fall-through between switch labels}} expected-note{{insert '[[clang::fallthr… in fallthrough() [all …]
|
/external/libcxx/utils/google-benchmark/ |
D | .travis.yml | 7 - /usr/local/bin:$PATH 11 - compiler: gcc 15 - lcov 17 - compiler: gcc 19 - compiler: gcc 21 - compiler: gcc 25 - g++-multilib 27 - compiler: gcc 31 - g++-multilib 33 - compiler: gcc [all …]
|
/external/google-benchmark/ |
D | .travis.yml | 7 - /usr/local/bin:$PATH 11 - compiler: gcc 15 - lcov 17 - compiler: gcc 19 - compiler: gcc 21 - compiler: gcc 25 - g++-multilib 27 - compiler: gcc 31 - g++-multilib 33 - compiler: gcc [all …]
|
/external/clang/docs/ |
D | IntroductionToTheClangAST.rst | 2 Introduction to the Clang AST 5 This document gives a gentle introduction to the mysteries of the Clang 7 Clang, or use tools that work based on Clang's AST, like the AST 14 `Slides <http://llvm.org/devmtg/2013-04/klimek-slides.pdf>`_ 19 Clang's AST is different from ASTs produced by some other compilers in 23 Clang's AST a good fit for refactoring tools. 25 Documentation for all Clang AST nodes is available via the generated 26 `Doxygen <http://clang.llvm.org/doxygen>`_. The doxygen online 28 make a search for clang and the AST node's class name usually turn up 30 clang ParenExpr). [all …]
|
D | ClangCheck.rst | 8 .. code-block:: console 15 $ ~/clang/build/bin/clang-check snippet.cc -ast-dump -- 16 Processing: /Users/danieljasper/clang/llvm/tools/clang/docs/snippet.cc. 17 /Users/danieljasper/clang/llvm/tools/clang/docs/snippet.cc:2:12: error: expected ';' at end of 26 …(FunctionDecl 0x7ff3a302a8d0 </Users/danieljasper/clang/llvm/tools/clang/docs/snippet.cc:1:1, line… 27 (CompoundStmt 0x7ff3a302aa10 <line:1:10, line:3:1> 28 (DeclStmt 0x7ff3a302a9f8 <line:2:3, line:3:1> 29 (VarDecl 0x7ff3a302a980 <line:2:3, col:11> a 'int' 34 The '--' at the end is important as it prevents `clang-check` from search for a 35 compilation database. For more information on how to setup and use `clang-check`
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | ir_loader_test.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 25 #include "spirv-tools/libspirv.hpp" 38 context->module()->ToBinary(&binary, /* skip_nop = */ false); in DoRoundTripCheck() 50 // clang-format off in TEST() 89 // clang-format on in TEST() 94 "%2 = OpFunction %1 None %3\n" in TEST() 100 DoRoundTripCheck("%2 = OpFunction %1 None %3\n"); in TEST() 107 // clang-format off in TEST() 112 "%3 = OpString \"minimal.vert\"\n" in TEST() 115 "OpLine %3 10 10\n" in TEST() [all …]
|
D | strength_reduction_test.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 39 // clang-format off in TEST_F() 55 // clang-format on in TEST_F() 81 ; CHECK-DAG: [[five:%[a-zA-Z_\d]+]] = OpConstant %uint 5 in TEST_F() 83 ; We have RE2 regular expressions, so \w matches [_a-zA-Z0-9]. in TEST_F() 84 ; This shows the preferred pattern for matching SPIR-V identifiers. in TEST_F() 87 ; CHECK-DAG: [[four:%\w+]] = OpConstant %uint 4 in TEST_F() 94 ; CHECK-NEXT: OpShiftLeftLogical %uint [[five]] [[four]] in TEST_F() 96 ; CHECK-NOT: OpIMul in TEST_F() 109 // clang-format off in TEST_F() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | ir_loader_test.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 25 #include "spirv-tools/libspirv.hpp" 38 context->module()->ToBinary(&binary, /* skip_nop = */ false); in DoRoundTripCheck() 50 // clang-format off in TEST() 89 // clang-format on in TEST() 94 "%2 = OpFunction %1 None %3\n" in TEST() 100 DoRoundTripCheck("%2 = OpFunction %1 None %3\n"); in TEST() 107 // clang-format off in TEST() 112 "%3 = OpString \"minimal.vert\"\n" in TEST() 115 "OpLine %3 10 10\n" in TEST() [all …]
|
D | strength_reduction_test.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 39 // clang-format off in TEST_F() 55 // clang-format on in TEST_F() 81 ; CHECK-DAG: [[five:%[a-zA-Z_\d]+]] = OpConstant %uint 5 in TEST_F() 83 ; We have RE2 regular expressions, so \w matches [_a-zA-Z0-9]. in TEST_F() 84 ; This shows the preferred pattern for matching SPIR-V identifiers. in TEST_F() 87 ; CHECK-DAG: [[four:%\w+]] = OpConstant %uint 4 in TEST_F() 94 ; CHECK-NEXT: OpShiftLeftLogical %uint [[five]] [[four]] in TEST_F() 96 ; CHECK-NOT: OpIMul in TEST_F() 109 // clang-format off in TEST_F() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/ |
D | BreakableToken-reduced.ll | 1 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 -enable-shrink-w… 3 ; Test the use of a non-R0 register to save/restore the LR in function 14 ; llc -stop-after stack-slot-coloring BreakableToken-reduced.ll > BreakableToken-reduced.mir 18 ; llc -start-after stack-slot-coloring -stop-after prologepilog BreakableToken-reduced.mir 28 target datalayout = "e-m:e-i64:64-n32:64" 29 target triple = "powerpc64le-unknown-linux-gnu" 31 %"class.clang::format::BreakableStringLiteral" = type { %"class.clang::format::BreakableSingleLineT… 32 %"class.clang::format::BreakableSingleLineToken" = type { %"class.clang::format::BreakableToken", i… 33 %"class.clang::format::BreakableToken" = type { i32 (...)**, %"struct.clang::format::FormatToken"*,… 35 …clang::format::FormatToken" = type <{ %"class.clang::Token", i32, i8, [3 x i8], %"class.clang::Sou… [all …]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | BreakableToken-reduced.ll | 1 ; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 -enable-shrink-wrap=true %s -o - | Fil… 3 ; Test the use of a non-R0 register to save/restore the LR in function 14 ; llc -stop-after stack-slot-coloring BreakableToken-reduced.ll > BreakableToken-reduced.mir 18 ; llc -start-after stack-slot-coloring -stop-after prologepilog BreakableToken-reduced.mir 28 target datalayout = "e-m:e-i64:64-n32:64" 29 target triple = "powerpc64le-unknown-linux-gnu" 31 %"class.clang::format::BreakableStringLiteral" = type { %"class.clang::format::BreakableSingleLineT… 32 %"class.clang::format::BreakableSingleLineToken" = type { %"class.clang::format::BreakableToken", i… 33 %"class.clang::format::BreakableToken" = type { i32 (...)**, %"struct.clang::format::FormatToken"*,… 35 …clang::format::FormatToken" = type <{ %"class.clang::Token", i32, i8, [3 x i8], %"class.clang::Sou… [all …]
|
/external/clang/test/Preprocessor/ |
D | aarch64-target-features.c | 1 // RUN: %clang -target aarch64-none-linux-gnu -x c -E -dM %s -o - | FileCheck %s 2 // RUN: %clang -target arm64-none-linux-gnu -x c -E -dM %s -o - | FileCheck %s 6 // CHECK-NOT: __ARM_32BIT_STATE 11 // CHECK-NOT: __ARM_ARCH_ISA_ARM 12 // CHECK-NOT: __ARM_ARCH_ISA_THUMB 13 // CHECK-NOT: __ARM_FEATURE_QBIT 14 // CHECK-NOT: __ARM_FEATURE_DSP 15 // CHECK-NOT: __ARM_FEATURE_SAT 16 // CHECK-NOT: __ARM_FEATURE_SIMD32 18 // CHECK-NOT: __ARM_FEATURE_BIG_ENDIAN [all …]
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | reference_util_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 40 // [1.f 2.f 3.f] in ReferenceUtilTest() 50 const int64 cols_ = 3; 57 LiteralTestUtil::ExpectR2Near<float>({{1.f, 4.f}, {2.f, 5.f}, {3.f, 6.f}}, in TEST_F() 110 LiteralTestUtil::ExpectR2Near<float>({{1.f, 3.f, 5.f}, {5.f, 7.f, 9.f}}, in TEST_F() 115 auto input = absl::make_unique<Array4D<float>>(/*planes=*/2, /*depth=*/3, in TEST_F() 117 input->FillWithMultiples(1.0f); in TEST_F() 122 Array4D<float> expected(/*planes=*/2, /*depth=*/3, /*height=*/4, /*width=*/5); in TEST_F() 129 auto input = absl::make_unique<Array4D<float>>(/*planes=*/2, /*depth=*/3, in TEST_F() 131 input->FillWithMultiples(1.0f); in TEST_F() [all …]
|
/external/v8/tools/clang/traffic_annotation_extractor/ |
D | traffic_annotation_extractor.cpp | 2 // Use of this source code is governed by a BSD-style license that can be 5 // This clang tool does the following three tasks: 8 // - net::DefineNetworkTrafficAnnotation 9 // - net::DefinePartialNetworkTrafficAnnotation 10 // - net::CompleteNetworkTrafficAnnotation 11 // - net::BranchedCompleteNetworkTrafficAnnotation 15 // - URLFetcher::Create 16 // - URLRequestContext::CreateRequest 17 // 3) Finds all instances of initializing any of the following classes with list 20 // - net::NetworkTrafficAnnotationTag [all …]
|
/external/llvm/docs/ |
D | AdvancedBuilds.rst | 11 `CMake <http://www.cmake.org/>`_ is a cross-platform build-generator tool. CMake 25 The Clang CMake build system supports bootstrap (aka multi-stage) builds. At a 26 high level a multi-stage build is a chain of builds that pass data from one 30 In a simple two-stage bootstrap build, we build clang using the system compiler, 31 then use that just-built clang to build clang again. In CMake this simplest form 35 .. code-block:: console 37 $ cmake -G Ninja -DCLANG_ENABLE_BOOTSTRAP=On <path to source> 44 The clang build system refers to builds as stages. A stage1 build is a standard 47 general a stage*n* build is built using the output from stage*n-1*. 49 Apple Clang Builds (A More Complex Bootstrap) [all …]
|