/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | cpu_gpu_fusion_test.cc | 95 hlos[i + 1] = builder.AddInstruction(HloInstruction::CreateConstant( in TestElementwise2D() 200 auto const0 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 202 auto const1 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 208 auto const4 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 212 auto const6 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 218 auto const9 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 221 HloInstruction::CreateConstant(LiteralUtil::CreateR2<bool>( in XLA_TEST_F() 248 auto const0 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 252 auto const2 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 285 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in XLA_TEST_F() [all …]
|
D | broadcast_test.cc | 39 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0))); in XLA_TEST_F() 55 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0))); in XLA_TEST_F() 71 auto input = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 98 auto input = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 117 auto input = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 134 auto input = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 153 HloInstruction::CreateConstant(LiteralUtil::CreateR1<float>({1.0, 2.0}))); in TEST_F() 178 HloInstruction::CreateConstant(LiteralUtil::CreateR1<float>(input_data))); in TEST_F() 209 HloInstruction::CreateConstant(LiteralUtil::CreateR1<float>(r1_array))); in XLA_TEST_F() 227 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0f))); in TEST_F() [all …]
|
D | custom_call_test.cc | 111 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in XLA_TEST_F() 132 HloInstruction::CreateConstant(LiteralUtil::CreateR2FromArray2D(array))); in XLA_TEST_F() 147 HloInstruction::CreateConstant(LiteralUtil::CreateR2FromArray2D( in XLA_TEST_F() 240 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in XLA_TEST_F() 256 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in XLA_TEST_F() 273 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0f))); in XLA_TEST_F() 275 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0f))); in XLA_TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | call_inliner_test.cc | 49 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(24.0f))); in TEST_F() 51 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 88 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_F() 102 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_F() 126 HloInstruction::CreateConstant(LiteralUtil::CreateR1<bool>({true}))); in TEST_F() 128 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_F() 152 HloInstruction::CreateConstant(LiteralUtil::CreateR0<int32_t>(0))); in TEST_F() 159 HloInstruction::CreateConstant(LiteralUtil::CreateR0<int32_t>(0))); in TEST_F() 165 HloInstruction::CreateConstant(LiteralUtil::CreateR0<int32_t>(0))); in TEST_F() 190 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0))); in TEST_F()
|
D | hlo_cse_test.cc | 57 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 59 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 85 HloInstruction::CreateConstant(LiteralUtil::CreateR2WithLayout<float>( in TEST_F() 88 HloInstruction::CreateConstant(LiteralUtil::CreateR2WithLayout<float>( in TEST_F() 116 HloInstruction::CreateConstant(LiteralUtil::CreateR0<uint32_t>(42)))); in TEST_F() 118 HloInstruction::CreateConstant(LiteralUtil::CreateR0<int32_t>(42)))); in TEST_F() 120 HloInstruction::CreateConstant(LiteralUtil::CreateR0<uint64_t>(42.0)))); in TEST_F() 122 HloInstruction::CreateConstant(LiteralUtil::CreateR0<int64_t>(42.0)))); in TEST_F() 124 HloInstruction::CreateConstant(LiteralUtil::CreateR0<double>(42.0)))); in TEST_F() 126 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f)))); in TEST_F() [all …]
|
D | hlo_computation_test.cc | 127 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 138 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 154 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 156 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 158 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 160 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 172 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 174 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 176 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 196 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() [all …]
|
D | hlo_evaluator_test.cc | 84 b.AddInstruction(HloInstruction::CreateConstant(std::move(input))); in TestUnaryOp() 102 auto c1 = b.AddInstruction(HloInstruction::CreateConstant(std::move(lhs))); in TestBinaryOp() 103 auto c2 = b.AddInstruction(HloInstruction::CreateConstant(std::move(rhs))); in TestBinaryOp() 117 b.AddInstruction(HloInstruction::CreateConstant(std::move(src0))); in TestTernaryOp() 119 b.AddInstruction(HloInstruction::CreateConstant(std::move(src1))); in TestTernaryOp() 121 b.AddInstruction(HloInstruction::CreateConstant(std::move(src2))); in TestTernaryOp() 187 HloInstruction::CreateConstant(std::move(arg_literal))); in ReduceWindowMaxIotaTest() 189 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0.f))); in ReduceWindowMaxIotaTest() 254 auto c1 = b.AddInstruction(HloInstruction::CreateConstant(std::move(low))); in TEST_P() 255 auto c2 = b.AddInstruction(HloInstruction::CreateConstant(std::move(value))); in TEST_P() [all …]
|
D | map_inliner_test.cc | 53 auto lhs = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 55 auto rhs = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 85 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0f))); in TEST_F() 89 auto lhs = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 125 auto lhs = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 127 auto rhs = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 158 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1))); in TEST_F() 160 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(4))); in TEST_F()
|
D | hlo_alias_analysis_test.cc | 154 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 156 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 384 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_F() 449 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 451 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 489 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 491 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 569 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_F() 575 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 577 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() [all …]
|
D | hlo_dataflow_analysis_test.cc | 115 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_P() 117 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_P() 214 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_P() 216 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_P() 276 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_P() 278 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_P() 350 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_P() 352 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_P() 418 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_P() 424 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_P() [all …]
|
D | hlo_dce_test.cc | 54 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 56 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(123.0f))); in TEST_F() 75 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 164 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 166 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(123.0f))); in TEST_F() 261 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 383 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0))), in TEST_F() 388 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0))); in TEST_F() 424 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0))), in TEST_F() 434 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0))), in TEST_F() [all …]
|
D | hlo_reachability_test.cc | 43 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0.0f))); in TEST_F() 45 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0.0f))); in TEST_F() 47 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0.0f))); in TEST_F() 49 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0.0f))); in TEST_F() 51 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0.0f))); in TEST_F() 105 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0f))); in TEST_F() 107 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0f))); in TEST_F()
|
D | collective_decomposer_utils.cc | 40 HloInstruction::CreateConstant(LiteralUtil::Zero(U32))); in CreateStartIndicesForCollectiveDecomposition() 54 computation->AddInstruction(HloInstruction::CreateConstant( in CreateStartIndicesForCollectiveDecomposition() 137 computation->AddInstruction(HloInstruction::CreateConstant( in CreateStartIndicesForCollectiveDecomposition() 160 HloInstruction::CreateConstant(LiteralUtil::CreateR0<uint32_t>( in CreateStartIndicesForCollectiveDecomposition()
|
D | flatten_call_graph_test.cc | 83 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0.0f))); in MakeConditionComputation() 161 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_F() 172 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_F() 236 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(true))); in TEST_F() 238 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(56.0f))); in TEST_F() 240 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(12.0f))); in TEST_F()
|
/external/deqp-deps/SPIRV-Tools/test/opt/loop_optimizations/ |
D | dependence_analysis_helpers.cpp | 751 analysis.GetScalarEvolution()->CreateConstant(-10)); in TEST() 754 loop, analysis.GetScalarEvolution()->CreateConstant(1)), in TEST() 755 analysis.GetScalarEvolution()->CreateConstant(-1)); in TEST() 777 analysis.GetScalarEvolution()->CreateConstant(-5)); in TEST() 780 loop, analysis.GetScalarEvolution()->CreateConstant(1)), in TEST() 781 analysis.GetScalarEvolution()->CreateConstant(4)); in TEST() 803 analysis.GetScalarEvolution()->CreateConstant(0)); in TEST() 806 loop, analysis.GetScalarEvolution()->CreateConstant(1)), in TEST() 807 analysis.GetScalarEvolution()->CreateConstant(9)); in TEST() 829 analysis.GetScalarEvolution()->CreateConstant(5)); in TEST() [all …]
|
D | dependence_analysis.cpp | 3637 auto x = scalar_evolution->CreateConstant(1); in TEST() 3638 auto y = scalar_evolution->CreateConstant(10); in TEST() 3658 auto x = scalar_evolution->CreateConstant(1); in TEST() 3659 auto y = scalar_evolution->CreateConstant(10); in TEST() 3680 auto x = scalar_evolution->CreateConstant(1); in TEST() 3681 auto y = scalar_evolution->CreateConstant(10); in TEST() 3703 auto a0 = scalar_evolution->CreateConstant(3); in TEST() 3704 auto b0 = scalar_evolution->CreateConstant(6); in TEST() 3705 auto c0 = scalar_evolution->CreateConstant(9); in TEST() 3707 auto a1 = scalar_evolution->CreateConstant(6); in TEST() [all …]
|
/external/angle/third_party/spirv-tools/src/test/opt/loop_optimizations/ |
D | dependence_analysis_helpers.cpp | 751 analysis.GetScalarEvolution()->CreateConstant(-10)); in TEST() 754 loop, analysis.GetScalarEvolution()->CreateConstant(1)), in TEST() 755 analysis.GetScalarEvolution()->CreateConstant(-1)); in TEST() 777 analysis.GetScalarEvolution()->CreateConstant(-5)); in TEST() 780 loop, analysis.GetScalarEvolution()->CreateConstant(1)), in TEST() 781 analysis.GetScalarEvolution()->CreateConstant(4)); in TEST() 803 analysis.GetScalarEvolution()->CreateConstant(0)); in TEST() 806 loop, analysis.GetScalarEvolution()->CreateConstant(1)), in TEST() 807 analysis.GetScalarEvolution()->CreateConstant(9)); in TEST() 829 analysis.GetScalarEvolution()->CreateConstant(5)); in TEST() [all …]
|
D | dependence_analysis.cpp | 3637 auto x = scalar_evolution->CreateConstant(1); in TEST() 3638 auto y = scalar_evolution->CreateConstant(10); in TEST() 3658 auto x = scalar_evolution->CreateConstant(1); in TEST() 3659 auto y = scalar_evolution->CreateConstant(10); in TEST() 3680 auto x = scalar_evolution->CreateConstant(1); in TEST() 3681 auto y = scalar_evolution->CreateConstant(10); in TEST() 3703 auto a0 = scalar_evolution->CreateConstant(3); in TEST() 3704 auto b0 = scalar_evolution->CreateConstant(6); in TEST() 3705 auto c0 = scalar_evolution->CreateConstant(9); in TEST() 3707 auto a1 = scalar_evolution->CreateConstant(6); in TEST() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/ |
D | dependence_analysis_helpers.cpp | 751 analysis.GetScalarEvolution()->CreateConstant(-10)); in TEST() 754 loop, analysis.GetScalarEvolution()->CreateConstant(1)), in TEST() 755 analysis.GetScalarEvolution()->CreateConstant(-1)); in TEST() 777 analysis.GetScalarEvolution()->CreateConstant(-5)); in TEST() 780 loop, analysis.GetScalarEvolution()->CreateConstant(1)), in TEST() 781 analysis.GetScalarEvolution()->CreateConstant(4)); in TEST() 803 analysis.GetScalarEvolution()->CreateConstant(0)); in TEST() 806 loop, analysis.GetScalarEvolution()->CreateConstant(1)), in TEST() 807 analysis.GetScalarEvolution()->CreateConstant(9)); in TEST() 829 analysis.GetScalarEvolution()->CreateConstant(5)); in TEST() [all …]
|
D | dependence_analysis.cpp | 3637 auto x = scalar_evolution->CreateConstant(1); in TEST() 3638 auto y = scalar_evolution->CreateConstant(10); in TEST() 3658 auto x = scalar_evolution->CreateConstant(1); in TEST() 3659 auto y = scalar_evolution->CreateConstant(10); in TEST() 3680 auto x = scalar_evolution->CreateConstant(1); in TEST() 3681 auto y = scalar_evolution->CreateConstant(10); in TEST() 3703 auto a0 = scalar_evolution->CreateConstant(3); in TEST() 3704 auto b0 = scalar_evolution->CreateConstant(6); in TEST() 3705 auto c0 = scalar_evolution->CreateConstant(9); in TEST() 3707 auto a1 = scalar_evolution->CreateConstant(6); in TEST() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/tests/ |
D | cpu_fusion_test.cc | 57 HloInstruction::CreateConstant(std::move(input_literal1))); in TEST_F() 59 HloInstruction::CreateConstant(std::move(input_literal2))); in TEST_F() 96 HloInstruction::CreateConstant(std::move(input_literal))); in TEST_F() 108 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))), in TEST_F() 146 HloInstruction::CreateConstant(std::move(input_literal))); in TEST_F() 174 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0))), in TEST_F() 184 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))), in TEST_F() 243 HloInstruction::CreateConstant(std::move(input_literal))); in TEST_F() 300 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0))); in TEST_F()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | scalar_analysis.h | 62 SENode* CreateConstant(int64_t integer); 229 return *this + scev_->CreateConstant(integer); 247 return *this - scev_->CreateConstant(integer); 261 return *this * scev_->CreateConstant(integer); 271 return *this / scev_->CreateConstant(integer); 285 return SExpression{rhs.GetScalarEvolutionAnalysis()->CreateConstant(lhs)} - 304 return SExpression{rhs.GetScalarEvolutionAnalysis()->CreateConstant(lhs)} /
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | scalar_analysis.h | 62 SENode* CreateConstant(int64_t integer); 229 return *this + scev_->CreateConstant(integer); 247 return *this - scev_->CreateConstant(integer); 261 return *this * scev_->CreateConstant(integer); 271 return *this / scev_->CreateConstant(integer); 285 return SExpression{rhs.GetScalarEvolutionAnalysis()->CreateConstant(lhs)} - 304 return SExpression{rhs.GetScalarEvolutionAnalysis()->CreateConstant(lhs)} /
|
/external/angle/third_party/spirv-tools/src/source/opt/ |
D | scalar_analysis.h | 62 SENode* CreateConstant(int64_t integer); 229 return *this + scev_->CreateConstant(integer); 247 return *this - scev_->CreateConstant(integer); 261 return *this * scev_->CreateConstant(integer); 271 return *this / scev_->CreateConstant(integer); 285 return SExpression{rhs.GetScalarEvolutionAnalysis()->CreateConstant(lhs)} - 304 return SExpression{rhs.GetScalarEvolutionAnalysis()->CreateConstant(lhs)} /
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | conv_canonicalization_test.cc | 62 auto input = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 66 auto kernel = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 125 auto input = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 129 auto kernel = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F()
|