Home
last modified time | relevance | path

Searched refs:const1 (Results 1 – 25 of 56) sorted by relevance

123

/external/tensorflow/tensorflow/compiler/xla/tests/
Ddeconstruct_tuple_test.cc57 auto const1 = ConstantR1<float>(&builder, {1.0, 2.0, 3.0, 4.0}); in TEST_F() local
59 Tuple(&builder, {const1, const2}); in TEST_F()
76 auto const1 = ConstantR1<float>(&builder, {1.0, 2.0, 3.0, 4.0}); in TEST_F() local
78 Tuple(&builder, {const1, const2}); in TEST_F()
106 auto const1 = ConstantR1<float>(&builder, {1.0, 2.0, 3.0, 4.0}); in XLA_TEST_F() local
108 Tuple(&builder, {const1, const2, const2, const1}); in XLA_TEST_F()
132 auto const1 = ConstantR1<float>(&builder, {1.0, 2.0, 3.0, 4.0}); in TEST_F() local
134 Tuple(&builder, {const1, const2, const1}); in TEST_F()
188 auto const1 = ConstantR1<float>(&builder, {1.0, 2.0, 3.0, 4.0}); in XLA_TEST_F() local
190 Tuple(&builder, {Tuple(&builder, {const1, const2}), const1}); in XLA_TEST_F()
Dcpu_gpu_fusion_test.cc204 auto const1 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() local
207 ShapeUtil::MakeShape(F32, {3, 1}), HloOpcode::kAdd, const0, const1)); in XLA_TEST_F()
236 const4, reshape3, add2, const1, const0}, in XLA_TEST_F()
540 auto const1 = builder.AddInstruction( in XLA_TEST_F() local
544 ShapeUtil::MakeShape(S32, {2}), const0, {const1}, {2})); in XLA_TEST_F()
609 auto const1 = builder.AddInstruction( in XLA_TEST_F() local
612 ShapeUtil::MakeShape(S32, {}), const0, const1, {0}, in XLA_TEST_F()
629 auto const1 = builder.AddInstruction( in XLA_TEST_F() local
632 ShapeUtil::MakeShape(S32, {}), const0, const1, {0}, in XLA_TEST_F()
650 auto const1 = builder.AddInstruction( in XLA_TEST_F() local
[all …]
Dbuffer_donation_test.cc204 auto const1 = builder.AddInstruction( in BuildWhileBodyComputation() local
211 HloInstruction::CreateGetTupleElement(const1->shape(), param, 0)); in BuildWhileBodyComputation()
213 indexc->shape(), HloOpcode::kAdd, indexc, const1)); in BuildWhileBodyComputation()
/external/libvpx/libvpx/vp8/encoder/mips/msa/
Ddct_msa.c26 #define SET_DOTP_VALUES(coeff, val0, val1, val2, const1, const2) \ argument
30 SPLATI_H3_SH(coeff, val0, val1, val2, tmp0_m, const1, const2); \
31 ILVEV_H2_SH(tmp0_m, const1, const2, tmp0_m, const1, const2); \
72 v8i16 const0, const1; in vp8_short_fdct4x4_msa() local
84 SET_DOTP_VALUES(coeff, 0, 1, 2, const0, const1); in vp8_short_fdct4x4_msa()
90 DPADD_SH2_SW(temp0, temp0, const0, const1, out0, out1); in vp8_short_fdct4x4_msa()
107 DPADD_SH2_SW(temp0, temp0, const0, const1, out1, out3); in vp8_short_fdct4x4_msa()
118 v8i16 const0, const1, const2; in vp8_short_fdct8x4_msa() local
130 SET_DOTP_VALUES(coeff, 0, 1, 2, const1, const2); in vp8_short_fdct8x4_msa()
138 DPADD_SH4_SW(tmp1, tmp0, tmp1, tmp0, const1, const1, const2, const2, vec0_w, in vp8_short_fdct8x4_msa()
[all …]
/external/libyuv/files/source/
Drow_dspr2.cc1230 int const1 = 0xffda0000; in BGRAToUVRow_DSPR2() local
1282 : [const1] "r"(const1), [const2] "r"(const2), [const3] "r"(const3), in BGRAToUVRow_DSPR2()
1290 int const1 = 0x00420000; in BGRAToYRow_DSPR2() local
1339 : [const1] "r"(const1), [const2] "r"(const2), [const5] "r"(const5) in BGRAToYRow_DSPR2()
1352 int const1 = 0xffb6ffda; in ABGRToUVRow_DSPR2() local
1405 : [const1] "r"(const1), [const2] "r"(const2), [const3] "r"(const3), in ABGRToUVRow_DSPR2()
1413 int const1 = 0x00810019; in ARGBToYRow_DSPR2() local
1462 : [const1] "r"(const1), [const2] "r"(const2), [const5] "r"(const5) in ARGBToYRow_DSPR2()
1470 int const1 = 0x00810042; in ABGRToYRow_DSPR2() local
1519 : [const1] "r"(const1), [const2] "r"(const2), [const5] "r"(const5) in ABGRToYRow_DSPR2()
[all …]
Dscale_msa.cc769 v16u8 const1 = {1, 3, 3, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 3, 3, 1}; in ScaleRowDown34_0_Box_MSA() local
803 reg1 = (v8i16)__msa_dotp_u_h(vec1, const1); in ScaleRowDown34_0_Box_MSA()
806 reg4 = (v8i16)__msa_dotp_u_h(vec4, const1); in ScaleRowDown34_0_Box_MSA()
809 reg7 = (v8i16)__msa_dotp_u_h(vec7, const1); in ScaleRowDown34_0_Box_MSA()
812 reg10 = (v8i16)__msa_dotp_u_h(vec10, const1); in ScaleRowDown34_0_Box_MSA()
863 v16u8 const1 = {1, 3, 3, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 3, 3, 1}; in ScaleRowDown34_1_Box_MSA() local
897 reg1 = (v8i16)__msa_dotp_u_h(vec1, const1); in ScaleRowDown34_1_Box_MSA()
900 reg4 = (v8i16)__msa_dotp_u_h(vec4, const1); in ScaleRowDown34_1_Box_MSA()
903 reg7 = (v8i16)__msa_dotp_u_h(vec7, const1); in ScaleRowDown34_1_Box_MSA()
906 reg10 = (v8i16)__msa_dotp_u_h(vec10, const1); in ScaleRowDown34_1_Box_MSA()
/external/llvm-project/llvm/test/CodeGen/ARM/
Dconstantpool-promote-duplicate.ll3 @const1 = private unnamed_addr constant i32 0, align 4
6 ; const1 and const2 both need labels for debug info, but will be coalesced into
10 ; CHECK-DAG: const1:
14 %1 = load i32, i32* @const1, align 4
Dconstants.ll60 @const1 = global %t1 { <3 x float> zeroinitializer,
64 ; CHECK: const1
/external/llvm-project/clang/test/CodeGenOpenCLCXX/
Daddrspace-with-class.cl19 // CHECK: @const1 = addrspace(2) global %struct.MyType zeroinitializer
20 __constant MyType const1 = 1;
26 // CHECK: call spir_func void @_ZNU3AS26MyTypeC1Ei(%struct.MyType addrspace(2)* {{[^,]*}} @const1, …
34 …// CHECK: call spir_func i32 @_ZNU3AS26MyType3barEv(%struct.MyType addrspace(2)* {{[^,]*}} @const1)
35 const1.bar();
36 // CHECK: call spir_func void @_ZNU3AS26MyTypeD1Ev(%struct.MyType addrspace(2)* {{[^,]*}} @const1)
37 const1.~MyType();
/external/tensorflow/tensorflow/compiler/xla/service/
Dreshape_mover_test.cc91 auto const1 = builder.AddInstruction( variable
95 root_shape, HloOpcode::kAdd, reshape0, const1));
100 op::Add(op::Reshape(rng0), const1));
105 op::Add(op::Reshape(rng0), const1));
274 auto const1 = builder.AddInstruction(HloInstruction::CreateConstant( variable
277 builder.AddInstruction(HloInstruction::CreateReshape(root_shape, const1));
288 op::Select(pred, op::Reshape(const0), op::Reshape(const1)));
293 op::Select(pred, op::Reshape(const0), op::Reshape(const1)));
324 auto const1 = builder.AddInstruction(HloInstruction::CreateConstant( variable
329 root_shape, HloOpcode::kAdd, reshape0, const1));
[all …]
Dtranspose_folding_test.cc163 HloInstruction* const1 = builder.AddInstruction( in TEST_F() local
170 const1->shape(), HloOpcode::kAdd, const1, const2)); in TEST_F()
185 ::testing::UnorderedElementsAre(const1, const2, const3)); in TEST_F()
/external/tensorflow/tensorflow/python/client/
Dtimeline_test.py67 const1 = constant_op.constant(1.0, name='const1')
69 result = math_ops.add(const1, const2) + const1 * const2
99 const1 = constant_op.constant(1.0, name='const1')
101 result = math_ops.add(const1, const2) + const1 * const2
/external/llvm-project/mlir/test/Analysis/
Dtest-liveness.mlir103 %const1 = constant 1 : i32
104 %inc = addi %val, %const1 : i32
105 %inc2 = addi %counter, %const1 : i32
161 %const1 = constant 1 : i32
162 %1 = addi %const1, %arg2 : i32
163 %2 = addi %const1, %arg3 : i32
166 %5 = addi %4, %const1 : i32
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/
Dconvert_tensor.mlir5 …pe = "tfdtype$DT_HALF", value = dense<1.0> : tensor<1x2xf16>} : () -> tensor<1x2xf16> loc("const1")
15 // CHECK-NEXT: name: "const1"
/external/llvm/test/CodeGen/ARM/
Dconstants.ll60 @const1 = global %t1 { <3 x float> zeroinitializer,
64 ; CHECK: const1
/external/mesa3d/src/gallium/frontends/xa/
Dxa_tgsi.c130 struct ureg_src const0, struct ureg_src const1) in vs_normalize_coords() argument
135 ureg_MAD(ureg, tmp, coords, const0, const1); in vs_normalize_coords()
147 struct ureg_src const0, const1; in create_vs() local
160 const1 = ureg_DECL_constant(ureg, 1); in create_vs()
165 src = vs_normalize_coords(ureg, src, const0, const1); in create_vs()
/external/python/cpython2/Lib/test/
Dtest_compile.py661 def check_different_constants(const1, const2): argument
663 exec("f1, f2 = lambda: %r, lambda: %r" % (const1, const2), ns)
667 self.check_constant(f1, const1)
669 self.assertEqual(repr(f1()), repr(const1))
/external/libvpx/libvpx/third_party/libyuv/source/
Dscale_msa.cc769 v16u8 const1 = {1, 3, 3, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 3, 3, 1}; in ScaleRowDown34_0_Box_MSA() local
803 reg1 = (v8i16)__msa_dotp_u_h(vec1, const1); in ScaleRowDown34_0_Box_MSA()
806 reg4 = (v8i16)__msa_dotp_u_h(vec4, const1); in ScaleRowDown34_0_Box_MSA()
809 reg7 = (v8i16)__msa_dotp_u_h(vec7, const1); in ScaleRowDown34_0_Box_MSA()
812 reg10 = (v8i16)__msa_dotp_u_h(vec10, const1); in ScaleRowDown34_0_Box_MSA()
863 v16u8 const1 = {1, 3, 3, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 3, 3, 1}; in ScaleRowDown34_1_Box_MSA() local
897 reg1 = (v8i16)__msa_dotp_u_h(vec1, const1); in ScaleRowDown34_1_Box_MSA()
900 reg4 = (v8i16)__msa_dotp_u_h(vec4, const1); in ScaleRowDown34_1_Box_MSA()
903 reg7 = (v8i16)__msa_dotp_u_h(vec7, const1); in ScaleRowDown34_1_Box_MSA()
906 reg10 = (v8i16)__msa_dotp_u_h(vec10, const1); in ScaleRowDown34_1_Box_MSA()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dtensor_array_ops_decomposition.mlir261 %const1 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
263 %sub = "tf.Sub"(%arg1, %const1) : (tensor<i32>, tensor<i32>) -> tensor<i32>
318 %const1 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
325 …%gwrite = "tf.TensorArrayWriteV3"(%grad#0, %const1, %elem, %grad#1) : (tensor<!tf.resource>, tenso…
332 %const1 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
339 …%gwrite = "tf.TensorArrayWriteV3"(%grad#0, %const1, %elem, %grad#1) : (tensor<!tf.resource>, tenso…
369 %const1 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
370 %sub = "tf.Sub"(%barg1, %const1) : (tensor<i32>, tensor<i32>) -> tensor<i32>
465 %const1 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
469 …%gwrite = "tf.TensorArrayWriteV3"(%grad#0, %const1, %elem, %grad#1) : (tensor<!tf.resource>, tenso…
[all …]
/external/llvm-project/clang/test/SemaOpenCLCXX/
Daddress-space-lambda.cl43 …__constant auto const1 = []() __private{}; //expected-note{{candidate function not viable: 'this' …
49const1(); //expected-error{{no matching function for call to object of type '__constant (lambda at…
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateBaseClass.hpp71 void setDynamicBlendState (const float const1 = 0.0f, const float const2 = 0.0f,
DvktDynamicStateBaseClass.cpp254 void DynamicStateBaseClass::setDynamicBlendState (const float const1, const float const2, const flo… in setDynamicBlendState() argument
256 float blendConstantsants[4] = { const1, const2, const3, const4 }; in setDynamicBlendState()
/external/llvm-project/llvm/test/CodeGen/Mips/
Dconst1.ll3 ; ModuleID = 'const1.c'
/external/llvm/test/CodeGen/Mips/
Dconst1.ll3 ; ModuleID = 'const1.c'
/external/python/cpython3/Lib/test/
Dtest_compile.py655 def check_different_constants(const1, const2): argument
657 exec("f1, f2 = lambda: %r, lambda: %r" % (const1, const2), ns)
662 self.check_constant(f1, const1)
664 self.assertEqual(repr(f1()), repr(const1))

123