Home
last modified time | relevance | path

Searched refs:const2 (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/tests/
Ddeconstruct_tuple_test.cc58 auto const2 = ConstantR1<float>(&builder, {2.0, 4.0, 6.0, 8.0}); in TEST_F() local
59 Tuple(&builder, {const1, const2}); in TEST_F()
77 auto const2 = ConstantR1<float>(&builder, {2.0, 4.0, 6.0, 8.0}); in TEST_F() local
78 Tuple(&builder, {const1, const2}); in TEST_F()
107 auto const2 = ConstantR1<float>(&builder, {2.0, 4.0, 6.0, 8.0}); in XLA_TEST_F() local
108 Tuple(&builder, {const1, const2, const2, const1}); in XLA_TEST_F()
133 auto const2 = ConstantR1<float>(&builder, {2.0, 4.0, 6.0, 8.0}); in TEST_F() local
134 Tuple(&builder, {const1, const2, const1}); in TEST_F()
189 auto const2 = ConstantR1<float>(&builder, {2.0, 4.0, 6.0, 8.0}); in XLA_TEST_F() local
190 Tuple(&builder, {Tuple(&builder, {const1, const2}), const1}); in XLA_TEST_F()
Dfusion_test.cc255 auto const2 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() local
259 ShapeUtil::MakeShape(F32, {1, 3}), HloOpcode::kAdd, copy1, const2)); in XLA_TEST_F()
263 ->CreateFusionInstruction(/*instructions_to_fuse=*/{add3, const2}, in XLA_TEST_F()
/external/libyuv/files/source/
Drow_dspr2.cc1231 int const2 = 0x0070ffb6; in BGRAToUVRow_DSPR2() local
1282 : [const1] "r"(const1), [const2] "r"(const2), [const3] "r"(const3), in BGRAToUVRow_DSPR2()
1291 int const2 = 0x00190081; in BGRAToYRow_DSPR2() local
1339 : [const1] "r"(const1), [const2] "r"(const2), [const5] "r"(const5) in BGRAToYRow_DSPR2()
1353 int const2 = 0x00000070; in ABGRToUVRow_DSPR2() local
1405 : [const1] "r"(const1), [const2] "r"(const2), [const3] "r"(const3), in ABGRToUVRow_DSPR2()
1414 int const2 = 0x00000042; in ARGBToYRow_DSPR2() local
1462 : [const1] "r"(const1), [const2] "r"(const2), [const5] "r"(const5) in ARGBToYRow_DSPR2()
1471 int const2 = 0x00000019; in ABGRToYRow_DSPR2() local
1519 : [const1] "r"(const1), [const2] "r"(const2), [const5] "r"(const5) in ABGRToYRow_DSPR2()
[all …]
Drow_msa.cc136 #define ARGBTOY(argb0, argb1, argb2, argb3, const0, const1, const2, shift, \ argument
150 reg0_m += const2; \
151 reg1_m += const2; \
245 #define ARGBTOUV(argb0, argb1, argb2, argb3, const0, const1, const2, const3, \ argument
269 reg2_m -= __msa_dotp_u_h(vec6_m, const2); \
270 reg3_m -= __msa_dotp_u_h(vec7_m, const2); \
/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); \
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()
156 DPADD_SH4_SW(tmp1, tmp0, tmp1, tmp0, const1, const1, const2, const2, vec0_w, in vp8_short_fdct8x4_msa()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Dconstantpool-promote-duplicate.ll4 @const2 = private unnamed_addr constant i32 0, align 4
6 ; const1 and const2 both need labels for debug info, but will be coalesced into
11 ; CHECK-DAG: const2:
16 %2 = load i32, i32* @const2, align 4
/external/tensorflow/tensorflow/python/client/
Dtimeline_test.py68 const2 = constant_op.constant(2.0, name='const2')
69 result = math_ops.add(const1, const2) + const1 * const2
100 const2 = constant_op.constant(2.0, name='const2')
101 result = math_ops.add(const1, const2) + const1 * const2
Dsession_clusterspec_prop_test.py383 const2 = constant_op.constant(2.0)
384 mul2 = const2 * feed2
/external/tensorflow/tensorflow/compiler/xla/service/
Dtranspose_folding_test.cc164 HloInstruction* const2 = builder.AddInstruction( in TEST_F() local
169 const1->shape(), HloOpcode::kAdd, const1, const2)); in TEST_F()
171 const2->shape(), HloOpcode::kSubtract, const2, const3)); in TEST_F()
184 ::testing::UnorderedElementsAre(const1, const2, const3)); in TEST_F()
Dcall_graph_test.cc260 HloInstruction* const2 = builder.AddInstruction( in TEST_F() local
264 kScalarShape, pred, const1, true_computation, const2, in TEST_F()
/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)
668 self.check_constant(f2, const2)
670 self.assertEqual(repr(f2()), repr(const2))
/external/libvpx/libvpx/third_party/libyuv/source/
Dscale_msa.cc770 v16u8 const2 = {1, 1, 1, 3, 3, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 3}; in ScaleRowDown34_0_Box_MSA() local
804 reg2 = (v8i16)__msa_dotp_u_h(vec2, const2); in ScaleRowDown34_0_Box_MSA()
807 reg5 = (v8i16)__msa_dotp_u_h(vec5, const2); in ScaleRowDown34_0_Box_MSA()
810 reg8 = (v8i16)__msa_dotp_u_h(vec8, const2); in ScaleRowDown34_0_Box_MSA()
813 reg11 = (v8i16)__msa_dotp_u_h(vec11, const2); in ScaleRowDown34_0_Box_MSA()
864 v16u8 const2 = {1, 1, 1, 3, 3, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 3}; in ScaleRowDown34_1_Box_MSA() local
898 reg2 = (v8i16)__msa_dotp_u_h(vec2, const2); in ScaleRowDown34_1_Box_MSA()
901 reg5 = (v8i16)__msa_dotp_u_h(vec5, const2); in ScaleRowDown34_1_Box_MSA()
904 reg8 = (v8i16)__msa_dotp_u_h(vec8, const2); in ScaleRowDown34_1_Box_MSA()
907 reg11 = (v8i16)__msa_dotp_u_h(vec11, const2); in ScaleRowDown34_1_Box_MSA()
Drow_msa.cc136 #define ARGBTOY(argb0, argb1, argb2, argb3, const0, const1, const2, shift, \ argument
150 reg0_m += const2; \
151 reg1_m += const2; \
245 #define ARGBTOUV(argb0, argb1, argb2, argb3, const0, const1, const2, const3, \ argument
269 reg2_m -= __msa_dotp_u_h(vec6_m, const2); \
270 reg3_m -= __msa_dotp_u_h(vec7_m, const2); \
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
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()
DvktDynamicStateBaseClass.hpp71 void setDynamicBlendState (const float const1 = 0.0f, const float const2 = 0.0f,
DvktDynamicStateRSTests.cpp339 void setDynamicBlendState (const float const1 = 0.0f, const float const2 = 0.0f, in setDynamicBlendState() argument
342 float blendConstantsants[4] = { const1, const2, const3, const4 }; in setDynamicBlendState()
DvktDynamicStateDSTests.cpp364 void setDynamicBlendState(const float const1 = 0.0f, const float const2 = 0.0f, in setDynamicBlendState() argument
367 float blendConstantsants[4] = { const1, const2, const3, const4 }; in setDynamicBlendState()
/external/libavc/common/x86/
Dih264_deblk_luma_ssse3.c864 __m128i i_Ap, i_Aq, diff, const1, const2, in_macro, in_macrotemp, temp, in ih264_deblk_luma_vert_bslt4_ssse3() local
966 const2 = _mm_cmpgt_epi16(const1, i_Ap); in ih264_deblk_luma_vert_bslt4_ssse3()
967 const2 = _mm_subs_epi16(zero, const2); //Make FFFF=1 and 0000=0 in ih264_deblk_luma_vert_bslt4_ssse3()
968 i_C = _mm_add_epi16(i_C0, const2); in ih264_deblk_luma_vert_bslt4_ssse3()
972 const2 = _mm_cmpgt_epi16(const1, i_Aq); in ih264_deblk_luma_vert_bslt4_ssse3()
973 const2 = _mm_subs_epi16(zero, const2); in ih264_deblk_luma_vert_bslt4_ssse3()
974 i_C = _mm_add_epi16(i_C, const2); in ih264_deblk_luma_vert_bslt4_ssse3()
979 const2 = _mm_subs_epi16(lineb, linee); in ih264_deblk_luma_vert_bslt4_ssse3()
980 diff = _mm_add_epi16(diff, const2); in ih264_deblk_luma_vert_bslt4_ssse3()
981 const2 = _mm_set1_epi16(4); in ih264_deblk_luma_vert_bslt4_ssse3()
[all …]
/external/python/cpython3/Lib/test/
Dtest_compile.py647 def check_different_constants(const1, const2): argument
649 exec("f1, f2 = lambda: %r, lambda: %r" % (const1, const2), ns)
655 self.check_constant(f2, const2)
657 self.assertEqual(repr(f2()), repr(const2))
/external/tensorflow/tensorflow/core/common_runtime/
Ddirect_session_test.cc1268 Node* const2 = test::graph::Constant(&g, value2); in TEST() local
1269 Node* node5 = test::graph::GetSessionTensor(&g, const2); in TEST()
1272 Node* node7 = test::graph::Unary(&g, "DeleteSessionTensor", const2); in TEST()
1292 s = session->Run({{const2->name(), string_handle}}, {node6->name() + ":0"}, in TEST()
1300 s = session->Run({{const2->name(), string_handle}}, {}, {node7->name()}, in TEST()
1321 Node* const2 = test::graph::Constant(&g, value2); in TEST() local
1322 Node* node5 = test::graph::GetSessionTensor(&g, const2); in TEST()
1325 Node* node7 = test::graph::Unary(&g, "DeleteSessionTensor", const2); in TEST()
1345 s = session->Run({{const2->name(), string_handle}}, {node6->name() + ":0"}, in TEST()
1353 s = session->Run({{const2->name(), string_handle}}, {}, {node7->name()}, in TEST()
/external/llvm/test/CodeGen/SystemZ/
Dfp-mul-04.ll179 %const2 = fpext double 1.21 to fp128
180 %extra2 = fmul fp128 %mul2, %const2
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dfp-mul-04.ll179 %const2 = fpext double 1.21 to fp128
180 %extra2 = fmul fp128 %mul2, %const2
/external/llvm/test/Transforms/RewriteStatepointsForGC/
Dconstants.ll226 ; Checks that base( select(const1, const2) ) == null and that we don't record
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/RewriteStatepointsForGC/
Dconstants.ll227 ; Checks that base( select(const1, const2) ) == null and that we don't record
/external/libaom/libaom/av1/common/
Dcdef_block_simd.h26 v128 const2) { in fold_mul_and_sum() argument
40 partialb = v128_mullo_s32(partialb, const2); in fold_mul_and_sum()

12