Home
last modified time | relevance | path

Searched refs:const_2 (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/dsp/
Dcost_mips_dsp_r2.c33 const int const_2 = 2; in GetResidualCost_MIPSdspR2() local
73 : [const_2]"r"(const_2), [const_max_level]"r"(const_max_level), in GetResidualCost_MIPSdspR2()
Dcost_mips32.c33 const int const_2 = 2; in GetResidualCost_MIPS32() local
78 : [const_2]"r"(const_2), [const_max_level]"r"(const_max_level), in GetResidualCost_MIPS32()
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Dcost_mips_dsp_r2.c33 const int const_2 = 2; in GetResidualCost_MIPSdspR2() local
73 : [const_2]"r"(const_2), [const_max_level]"r"(const_max_level), in GetResidualCost_MIPSdspR2()
Dcost_mips32.c33 const int const_2 = 2; in GetResidualCost_MIPS32() local
78 : [const_2]"r"(const_2), [const_max_level]"r"(const_max_level), in GetResidualCost_MIPS32()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Darithmetic_simplify.cc29 PConstant const_2(node); in operator ()() local
49 auto const_dup_lambda = [&node, &x, &const_, &const_2]() -> AnfNodePtr { in operator ()()
50 auto new_mul_tensor = const_.MulByPatternConst(const_2, x.GetNode(node)); in operator ()()
53 …auto ttmul = NewCNode({mul_node, const_.GetNode(node), const_2.GetNode(node)}, node->func_graph()); in operator ()()
60 MATCH_REPLACE_LAMBDA(node, const_ * (const_2 * x), const_dup_lambda); in operator ()()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dir_builder.cpp368 Instruction* const_2 = builder.GetSintConstant(-1); in TEST_F() local
371 EXPECT_NE(nullptr, const_2); in TEST_F()
375 EXPECT_EQ(const_2, builder.GetSintConstant(-1)); in TEST_F()
396 uint32_t type_id_signed = const_2->GetSingleWordOperand(0); in TEST_F()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dir_builder.cpp368 Instruction* const_2 = builder.GetSintConstant(-1); in TEST_F() local
371 EXPECT_NE(nullptr, const_2); in TEST_F()
375 EXPECT_EQ(const_2, builder.GetSintConstant(-1)); in TEST_F()
396 uint32_t type_id_signed = const_2->GetSingleWordOperand(0); in TEST_F()
/third_party/spirv-tools/test/opt/
Dir_builder.cpp368 Instruction* const_2 = builder.GetSintConstant(-1); in TEST_F() local
371 EXPECT_NE(nullptr, const_2); in TEST_F()
375 EXPECT_EQ(const_2, builder.GetSintConstant(-1)); in TEST_F()
396 uint32_t type_id_signed = const_2->GetSingleWordOperand(0); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
Ddependence_analysis.cpp3802 auto const_2 = scalar_evolution->CreateConstant(2); in TEST() local
3804 EXPECT_EQ(*const_2, *ret_point_0->GetSource()); in TEST()
3805 EXPECT_EQ(*const_2, *ret_point_0->GetDestination()); in TEST()
3807 EXPECT_EQ(*const_2, *ret_point_1->GetSource()); in TEST()
3808 EXPECT_EQ(*const_2, *ret_point_1->GetDestination()); in TEST()
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/
Ddependence_analysis.cpp3802 auto const_2 = scalar_evolution->CreateConstant(2); in TEST() local
3804 EXPECT_EQ(*const_2, *ret_point_0->GetSource()); in TEST()
3805 EXPECT_EQ(*const_2, *ret_point_0->GetDestination()); in TEST()
3807 EXPECT_EQ(*const_2, *ret_point_1->GetSource()); in TEST()
3808 EXPECT_EQ(*const_2, *ret_point_1->GetDestination()); in TEST()
/third_party/spirv-tools/test/opt/loop_optimizations/
Ddependence_analysis.cpp3802 auto const_2 = scalar_evolution->CreateConstant(2); in TEST() local
3804 EXPECT_EQ(*const_2, *ret_point_0->GetSource()); in TEST()
3805 EXPECT_EQ(*const_2, *ret_point_0->GetDestination()); in TEST()
3807 EXPECT_EQ(*const_2, *ret_point_1->GetSource()); in TEST()
3808 EXPECT_EQ(*const_2, *ret_point_1->GetDestination()); in TEST()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit.c2883 LLVMValueRef const_2 = lp_build_const_int_vec(gallivm, bld->type, 2); in lp_build_sin_or_cos() local
2892 LLVMValueRef emm2_2 = cos ? LLVMBuildSub(b, emm2_and, const_2, "emm2_2") : in lp_build_sin_or_cos()
2913 LLVMValueRef emm2_3 = LLVMBuildAnd(b, emm2_2, const_2, "emm2_3"); in lp_build_sin_or_cos()
/third_party/mindspore/tests/ut/python/ops/
Dtest_ops.py937 self.const_2 = Tensor(np.ones([1, 3, 7, 8, 9, 1, 8], np.float32))
943 out_2 = self.strided_slice_2(x, self.begins, self.ends, self.strides) + self.const_2