Home
last modified time | relevance | path

Searched +full:clang +full:- +full:format +full:- +full:5 (Results 1 – 25 of 666) sorted by relevance

12345678910>>...27

/external/tensorflow/tensorflow/core/kernels/
Dresize_nearest_neighbor_op_test.cc7 http://www.apache.org/licenses/LICENSE-2.0
83 // clang-format off in TEST_F()
86 // clang-format on in TEST_F()
101 // clang-format off in TEST_F()
104 // clang-format on in TEST_F()
118 // clang-format off in TEST_F()
124 // clang-format on in TEST_F()
139 // clang-format off in TEST_F()
145 // clang-format on in TEST_F()
152 // 4, 5, 6 in TEST_F()
[all …]
Dresize_bilinear_op_test.cc7 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()
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()
104 const float x_lerp = in_x - std::floor(in_x); in ResizeBilinearBaseline()
112 const float top = top_left + (top_right - top_left) * x_lerp; in ResizeBilinearBaseline()
[all …]
Dcrop_and_resize_op_test.cc7 http://www.apache.org/licenses/LICENSE-2.0
164 // clang-format off in TEST_F()
169 // clang-format on in TEST_F()
185 // clang-format off in TEST_F()
190 // clang-format on in TEST_F()
206 // clang-format off in TEST_F()
211 // clang-format on in TEST_F()
227 // clang-format off in TEST_F()
232 // clang-format on in TEST_F()
240 // 4, 5, 6 in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
DBreakableToken-reduced.ll1 ; 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"*,…
35clang::format::FormatToken" = type <{ %"class.clang::Token", i32, i8, [3 x i8], %"class.clang::Sou…
[all …]
/external/llvm/test/CodeGen/PowerPC/
DBreakableToken-reduced.ll1 ; 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"*,…
35clang::format::FormatToken" = type <{ %"class.clang::Token", i32, i8, [3 x i8], %"class.clang::Sou…
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dstrength_reduction_test.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
36 // Test to make sure we replace 5*8.
39 // clang-format off in TEST_F()
48 "%uint_5 = OpConstant %uint 5", in TEST_F()
55 // clang-format on in TEST_F()
68 // Test to make sure we replace 16*5
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()
[all …]
Dir_loader_test.cpp7 // 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()
107 // clang-format off in TEST()
118 "%5 = OpTypeFunction %void\n" in TEST()
119 "%main = OpFunction %void None %5\n" in TEST()
129 // clang-format on in TEST()
145 // float lv1 = gv1 - gv2; in TEST()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dstrength_reduction_test.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
36 // Test to make sure we replace 5*8.
39 // clang-format off in TEST_F()
48 "%uint_5 = OpConstant %uint 5", in TEST_F()
55 // clang-format on in TEST_F()
68 // Test to make sure we replace 16*5
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()
[all …]
Dir_loader_test.cpp7 // 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()
107 // clang-format off in TEST()
118 "%5 = OpTypeFunction %void\n" in TEST()
119 "%main = OpFunction %void None %5\n" in TEST()
129 // clang-format on in TEST()
145 // float lv1 = gv1 - gv2; in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Dreference_util_test.cc7 http://www.apache.org/licenses/LICENSE-2.0
41 // [4.f 5.f 6.f] in ReferenceUtilTest()
57 LiteralTestUtil::ExpectR2Near<float>({{1.f, 4.f}, {2.f, 5.f}, {3.f, 6.f}}, in TEST_F()
85 LiteralTestUtil::ExpectR1Near<float>({5.f, 7.f, 9.f}, actual_literal, in TEST_F()
110 LiteralTestUtil::ExpectR2Near<float>({{1.f, 3.f, 5.f}, {5.f, 7.f, 9.f}}, in TEST_F()
116 /*height=*/4, /*width=*/5); 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()
130 /*height=*/4, /*width=*/5); in TEST_F()
131 input->FillWithMultiples(1.0f); in TEST_F()
[all …]
/external/flatbuffers/tests/
Dtest_builder.h48 // clang-format off
50 // clang-format on
71 // clang-format off
73 // clang-format on
79 // clang-format off
81 // clang-format on
163 // clang-format off
165 // clang-format on
206 // clang-format off
208 // clang-format on
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/loop_optimizations/
Dunroll_assumptions.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
44 for (Function& f : *context()->module()) { in Process()
45 LoopDescriptor& loop_descriptor = *context()->GetLoopDescriptor(&f); in Process()
70 // clang-format off in TEST_F()
83 %5 = OpTypeVoid in TEST_F()
84 %6 = OpTypeFunction %5 in TEST_F()
99 %2 = OpFunction %5 None %6 in TEST_F()
122 // clang-format on in TEST_F()
126 Module* module = context->module(); in TEST_F()
145 for (float x = 0; x < 5; ++x) {
[all …]
Dloop_fission.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
65 // clang-format off in TEST_F()
76 OpName %5 "B" in TEST_F()
95 %5 = OpVariable %17 Function in TEST_F()
105 %29 = OpAccessChain %18 %5 %22 in TEST_F()
111 %34 = OpAccessChain %18 %5 %22 in TEST_F()
131 OpName %5 "B" in TEST_F()
150 %5 = OpVariable %17 Function in TEST_F()
160 %40 = OpAccessChain %18 %5 %36 in TEST_F()
180 %34 = OpAccessChain %18 %5 %22 in TEST_F()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
Dunroll_assumptions.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
44 for (Function& f : *context()->module()) { in Process()
45 LoopDescriptor& loop_descriptor = *context()->GetLoopDescriptor(&f); in Process()
70 // clang-format off in TEST_F()
83 %5 = OpTypeVoid in TEST_F()
84 %6 = OpTypeFunction %5 in TEST_F()
99 %2 = OpFunction %5 None %6 in TEST_F()
122 // clang-format on in TEST_F()
126 Module* module = context->module(); in TEST_F()
145 for (float x = 0; x < 5; ++x) {
[all …]
Dloop_fission.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
65 // clang-format off in TEST_F()
76 OpName %5 "B" in TEST_F()
95 %5 = OpVariable %17 Function in TEST_F()
105 %29 = OpAccessChain %18 %5 %22 in TEST_F()
111 %34 = OpAccessChain %18 %5 %22 in TEST_F()
131 OpName %5 "B" in TEST_F()
150 %5 = OpVariable %17 Function in TEST_F()
160 %40 = OpAccessChain %18 %5 %36 in TEST_F()
180 %34 = OpAccessChain %18 %5 %22 in TEST_F()
[all …]
/external/libtextclassifier/annotator/
Dfeature-processor_test.cc8 * http://www.apache.org/licenses/LICENSE-2.0
17 #include "annotator/feature-processor.h"
19 #include "annotator/model-executor.h"
20 #include "utils/tensor-view.h"
71 dest[2] = -sparse_features.data()[0]; in AddEmbedding()
72 dest[3] = -sparse_features.data()[0]; in AddEmbedding()
87 std::vector<Token> tokens{Token("Hělló", 0, 5), in TEST_F()
93 // clang-format off in TEST_F()
95 {Token("Hělló", 0, 5), in TEST_F()
100 // clang-format on in TEST_F()
[all …]
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/
Dresolve_constant_unary_test.cc7 http://www.apache.org/licenses/LICENSE-2.0
38 *input0.mutable_shape()->mutable_dims() = input_shape; in RunResolveSum()
42 *input1.mutable_shape()->mutable_dims() = {static_cast<int>(axis.size())}; in RunResolveSum()
46 *output.mutable_shape()->mutable_dims() = output_shape; in RunResolveSum()
49 sum_op->keep_dims = true; in RunResolveSum()
50 sum_op->inputs = {"input0", "input1"}; in RunResolveSum()
51 sum_op->outputs = {"output"}; in RunResolveSum()
62 // clang-format off in TEST()
66 5, 9, 2, 6, in TEST()
67 5, 3, 5, 8}, in TEST()
[all …]
/external/libtextclassifier/utils/
Dtoken-feature-extractor_test.cc8 * http://www.apache.org/licenses/LICENSE-2.0
17 #include "utils/token-feature-extractor.h"
49 extractor.Extract(Token{"Hello", 0, 5}, true, &sparse_features, in TEST_F()
54 // clang-format off in TEST_F()
71 // clang-format on in TEST_F()
82 // clang-format off in TEST_F()
102 // clang-format on in TEST_F()
104 EXPECT_THAT(dense_features, testing::ElementsAreArray({-1.0, 0.0})); in TEST_F()
119 extractor.Extract(Token{"Hello", 0, 5}, true, &sparse_features, in TEST_F()
133 EXPECT_THAT(dense_features, testing::ElementsAreArray({-1.0, 0.0})); in TEST_F()
[all …]
/external/clang/test/Format/
Dstyle-on-command-line.cpp1 // RUN: clang-format -style="{BasedOnStyle: Google, IndentWidth: 8}" %s | FileCheck -strict-whitesp…
2 // RUN: clang-format -style="{BasedOnStyle: LLVM, IndentWidth: 7}" %s | FileCheck -strict-whitespac…
3 // RUN: clang-format -style="{BasedOnStyle: invalid, IndentWidth: 7}" -fallback-style=LLVM %s 2>&1 …
4 // RUN: clang-format -style="{lsjd}" %s -fallback-style=LLVM 2>&1 | FileCheck -strict-whitespace -c…
5 // RUN: printf "BasedOnStyle: google\nIndentWidth: 5\n" > %T/.clang-format
6 // RUN: clang-format -style=file -assume-filename=%T/foo.cpp < %s | FileCheck -strict-whitespace -c…
7 // RUN: printf "\n" > %T/.clang-format
8 // RUN: clang-format -style=file -fallback-style=webkit -assume-filename=%T/foo.cpp < %s 2>&1 | Fil…
9 // RUN: rm %T/.clang-format
10 // RUN: printf "BasedOnStyle: google\nIndentWidth: 6\n" > %T/_clang-format
[all …]
/external/tensorflow/tensorflow/core/ops/
Dmath_grad.cc7 http://www.apache.org/licenses/LICENSE-2.0
44 // clang-format off in AbsGrad()
49 // clang-format on in AbsGrad()
54 // clang-format off in NegGrad()
58 // clang-format on in NegGrad()
63 // clang-format off in InvGrad()
70 // clang-format on in InvGrad()
76 // clang-format off in SquareGrad()
83 // clang-format on in SquareGrad()
88 // clang-format off in SqrtGrad()
[all …]
/external/clang/www/
Ddiagnostics.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
5 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
6 <title>Clang - Expressive Diagnostics</title>
10 .loc { font-weight: bold; }
11 .err { color:red; font-weight: bold; }
12 .warn { color:magenta; font-weight: bold; }
13 .note { color:gray; font-weight: bold; }
14 .msg { font-weight: bold; }
15 .cmd { font-style: italic; }
17 .point { color:green; font-weight: bold; }
[all …]
/external/libvpx/libvpx/
DREADME1 README - 31 January 2019
15 have this package, the install-docs option will be disabled.
16 * Downloading the data for the unit tests requires curl[5] and sha1sum.
26 yasm-<version>-<arch>.exe to yasm.exe and place it in:
30 [5]: http://curl.haxx.se
33 2. Out-of-tree builds
44 The 'configure' script supports a number of options. The --help option can be
46 $ ../libvpx/configure --help
57 5. Cross development
58 For cross development, the most notable option is the --target option. The
[all …]
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dgraph_analyzer_test.cc7 http://www.apache.org/licenses/LICENSE-2.0
38 Status BuildMap() { return gran_->BuildMap(); } in BuildMap()
40 void FindSubgraphs() { gran_->FindSubgraphs(); } in FindSubgraphs()
42 void DropInvalidSubgraphs() { gran_->DropInvalidSubgraphs(); } in DropInvalidSubgraphs()
44 Status CollateResult() { return gran_->CollateResult(); } in CollateResult()
46 void ExtendSubgraph(Subgraph* parent) { gran_->ExtendSubgraph(parent); } in ExtendSubgraph()
50 gran_->ExtendSubgraphPortAllOrNone(parent, node, port); in ExtendSubgraphPortAllOrNone()
54 gran_->ExtendSubgraphAllOrNone(parent, node); in ExtendSubgraphAllOrNone()
57 std::vector<string> DumpRawSubgraphs() { return gran_->DumpRawSubgraphs(); } in DumpRawSubgraphs()
61 for (const auto& it : gran_->partial_) { in DumpPartials()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/
Dtext_to_binary.control_flow_test.cpp1 // Copyright (c) 2015-2016 The Khronos Group Inc.
7 // http://www.apache.org/licenses/LICENSE-2.0
16 // SPIR-V spec.
52 // clang-format off
61 // clang-format on
102 // clang-format off
106 // clang-format on
113 // clang-format off
118 // clang-format on
160 MakeInstruction(SpvOpSwitch, {2, 3, 12, 4, 42, 5}), in TEST_F()
[all …]
/external/deqp-deps/SPIRV-Tools/test/
Dtext_to_binary.control_flow_test.cpp1 // Copyright (c) 2015-2016 The Khronos Group Inc.
7 // http://www.apache.org/licenses/LICENSE-2.0
16 // SPIR-V spec.
52 // clang-format off
61 // clang-format on
102 // clang-format off
106 // clang-format on
113 // clang-format off
118 // clang-format on
160 MakeInstruction(SpvOpSwitch, {2, 3, 12, 4, 42, 5}), in TEST_F()
[all …]

12345678910>>...27