/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_cse_test.cc | 56 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 58 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 84 HloInstruction::CreateConstant(LiteralUtil::CreateR2WithLayout<float>( in TEST_F() 87 HloInstruction::CreateConstant(LiteralUtil::CreateR2WithLayout<float>( in TEST_F() 116 HloInstruction::CreateConstant(LiteralUtil::CreateR2WithLayout<float>( in TEST_F() 119 HloInstruction::CreateConstant(LiteralUtil::CreateR2WithLayout<float>( in TEST_F() 147 HloInstruction::CreateConstant(LiteralUtil::CreateR0<uint32>(42)))); in TEST_F() 149 HloInstruction::CreateConstant(LiteralUtil::CreateR0<int32>(42)))); in TEST_F() 151 HloInstruction::CreateConstant(LiteralUtil::CreateR0<uint64>(42.0)))); in TEST_F() 153 HloInstruction::CreateConstant(LiteralUtil::CreateR0<int64>(42.0)))); in TEST_F() [all …]
|
D | tuple_points_to_analysis_test.cc | 128 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 130 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 181 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 183 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 188 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(3.0))); in TEST_F() 242 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 244 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 249 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(3.0))); in TEST_F() 273 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 290 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() [all …]
|
D | call_inliner_test.cc | 50 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(24.0f))); in TEST_F() 52 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 89 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_F() 103 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_F() 127 HloInstruction::CreateConstant(LiteralUtil::CreateR1<bool>({true}))); in TEST_F() 129 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_F() 153 HloInstruction::CreateConstant(LiteralUtil::CreateR0<int32>(0))); in TEST_F() 160 HloInstruction::CreateConstant(LiteralUtil::CreateR0<int32>(0))); in TEST_F() 166 HloInstruction::CreateConstant(LiteralUtil::CreateR0<int32>(0))); in TEST_F() 191 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0))); in TEST_F()
|
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() 153 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() 178 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 190 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 192 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 194 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() [all …]
|
D | hlo_evaluator_test.cc | 86 b.AddInstruction(HloInstruction::CreateConstant(std::move(input))); in TestUnaryOp() 104 auto c1 = b.AddInstruction(HloInstruction::CreateConstant(std::move(lhs))); in TestBinaryOp() 105 auto c2 = b.AddInstruction(HloInstruction::CreateConstant(std::move(rhs))); in TestBinaryOp() 119 b.AddInstruction(HloInstruction::CreateConstant(std::move(src0))); in TestTernaryOp() 121 b.AddInstruction(HloInstruction::CreateConstant(std::move(src1))); in TestTernaryOp() 123 b.AddInstruction(HloInstruction::CreateConstant(std::move(src2))); in TestTernaryOp() 162 HloInstruction::CreateConstant(std::move(arg_literal))); in ReduceWindowMaxIotaTest() 164 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0.f))); in ReduceWindowMaxIotaTest() 229 auto c1 = b.AddInstruction(HloInstruction::CreateConstant(std::move(low))); in TEST_P() 230 auto c2 = b.AddInstruction(HloInstruction::CreateConstant(std::move(value))); in TEST_P() [all …]
|
D | map_inliner_test.cc | 54 auto lhs = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 56 auto rhs = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 86 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0f))); in TEST_F() 90 auto lhs = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 126 auto lhs = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 128 auto rhs = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 159 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1))); in TEST_F() 161 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(4))); in TEST_F()
|
D | hlo_alias_analysis_test.cc | 121 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 123 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 351 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_F() 417 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 419 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 457 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 459 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 537 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_F() 543 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 545 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() [all …]
|
D | hlo_dataflow_analysis_test.cc | 108 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_P() 110 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_P() 207 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_P() 209 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_P() 269 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_P() 271 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_P() 343 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_P() 345 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_P() 411 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_P() 417 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_P() [all …]
|
D | hlo_dce_test.cc | 56 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 58 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(123.0f))); in TEST_F() 77 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 166 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 168 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(123.0f))); in TEST_F() 263 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 385 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0))), in TEST_F() 390 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0))); in TEST_F() 426 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0))), in TEST_F() 436 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0))), in TEST_F()
|
D | copy_insertion_test.cc | 111 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 134 builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 170 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 172 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 200 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 202 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 204 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(3.0))); in TEST_F() 212 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_F() 259 builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 374 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() [all …]
|
D | all_gather_decomposer.cc | 59 auto zero = comp->AddInstruction(HloInstruction::CreateConstant( in DecomposeAllGather() 64 HloInstruction::CreateConstant(LiteralUtil::Zero(U32))); in DecomposeAllGather() 93 auto id_table = comp->AddInstruction(HloInstruction::CreateConstant( in DecomposeAllGather() 106 auto pcount = comp->AddInstruction(HloInstruction::CreateConstant( in DecomposeAllGather() 125 comp->AddInstruction(HloInstruction::CreateConstant( in DecomposeAllGather()
|
D | hlo_reachability_test.cc | 42 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0.0f))); in TEST_F() 44 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0.0f))); in TEST_F() 46 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0.0f))); in TEST_F() 48 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0.0f))); in TEST_F() 50 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0.0f))); in TEST_F() 104 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0f))); in TEST_F() 106 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0f))); in TEST_F()
|
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/tensorflow/tensorflow/compiler/xla/tests/ |
D | cpu_gpu_fusion_test.cc | 97 hlos[i + 1] = builder.AddInstruction(HloInstruction::CreateConstant( in TestElementwise2D() 202 auto const0 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 204 auto const1 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 210 auto const4 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 214 auto const6 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 220 auto const9 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 223 HloInstruction::CreateConstant(LiteralUtil::CreateR2<bool>( in XLA_TEST_F() 250 auto const0 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 254 auto const2 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 287 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in XLA_TEST_F() [all …]
|
D | broadcast_test.cc | 40 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0))); in XLA_TEST_F() 56 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0))); in XLA_TEST_F() 72 auto input = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 99 auto input = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 118 auto input = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 135 auto input = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 154 HloInstruction::CreateConstant(LiteralUtil::CreateR1<float>({1.0, 2.0}))); in TEST_F() 179 HloInstruction::CreateConstant(LiteralUtil::CreateR1<float>(input_data))); in TEST_F() 210 HloInstruction::CreateConstant(LiteralUtil::CreateR1<float>(r1_array))); in XLA_TEST_F() 228 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0f))); in TEST_F() [all …]
|
/external/deqp-deps/SPIRV-Tools/test/opt/loop_optimizations/ |
D | dependence_analysis_helpers.cpp | 757 analysis.GetScalarEvolution()->CreateConstant(-10)); in TEST() 760 loop, analysis.GetScalarEvolution()->CreateConstant(1)), in TEST() 761 analysis.GetScalarEvolution()->CreateConstant(-1)); in TEST() 783 analysis.GetScalarEvolution()->CreateConstant(-5)); in TEST() 786 loop, analysis.GetScalarEvolution()->CreateConstant(1)), in TEST() 787 analysis.GetScalarEvolution()->CreateConstant(4)); in TEST() 809 analysis.GetScalarEvolution()->CreateConstant(0)); in TEST() 812 loop, analysis.GetScalarEvolution()->CreateConstant(1)), in TEST() 813 analysis.GetScalarEvolution()->CreateConstant(9)); in TEST() 835 analysis.GetScalarEvolution()->CreateConstant(5)); in TEST() [all …]
|
D | dependence_analysis.cpp | 3643 auto x = scalar_evolution->CreateConstant(1); in TEST() 3644 auto y = scalar_evolution->CreateConstant(10); in TEST() 3664 auto x = scalar_evolution->CreateConstant(1); in TEST() 3665 auto y = scalar_evolution->CreateConstant(10); in TEST() 3686 auto x = scalar_evolution->CreateConstant(1); in TEST() 3687 auto y = scalar_evolution->CreateConstant(10); in TEST() 3709 auto a0 = scalar_evolution->CreateConstant(3); in TEST() 3710 auto b0 = scalar_evolution->CreateConstant(6); in TEST() 3711 auto c0 = scalar_evolution->CreateConstant(9); in TEST() 3713 auto a1 = scalar_evolution->CreateConstant(6); in TEST() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/ |
D | dependence_analysis_helpers.cpp | 757 analysis.GetScalarEvolution()->CreateConstant(-10)); in TEST() 760 loop, analysis.GetScalarEvolution()->CreateConstant(1)), in TEST() 761 analysis.GetScalarEvolution()->CreateConstant(-1)); in TEST() 783 analysis.GetScalarEvolution()->CreateConstant(-5)); in TEST() 786 loop, analysis.GetScalarEvolution()->CreateConstant(1)), in TEST() 787 analysis.GetScalarEvolution()->CreateConstant(4)); in TEST() 809 analysis.GetScalarEvolution()->CreateConstant(0)); in TEST() 812 loop, analysis.GetScalarEvolution()->CreateConstant(1)), in TEST() 813 analysis.GetScalarEvolution()->CreateConstant(9)); in TEST() 835 analysis.GetScalarEvolution()->CreateConstant(5)); in TEST() [all …]
|
D | dependence_analysis.cpp | 3643 auto x = scalar_evolution->CreateConstant(1); in TEST() 3644 auto y = scalar_evolution->CreateConstant(10); in TEST() 3664 auto x = scalar_evolution->CreateConstant(1); in TEST() 3665 auto y = scalar_evolution->CreateConstant(10); in TEST() 3686 auto x = scalar_evolution->CreateConstant(1); in TEST() 3687 auto y = scalar_evolution->CreateConstant(10); in TEST() 3709 auto a0 = scalar_evolution->CreateConstant(3); in TEST() 3710 auto b0 = scalar_evolution->CreateConstant(6); in TEST() 3711 auto c0 = scalar_evolution->CreateConstant(9); in TEST() 3713 auto a1 = scalar_evolution->CreateConstant(6); in TEST() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/tests/ |
D | cpu_fusion_test.cc | 58 HloInstruction::CreateConstant(std::move(input_literal1))); in TEST_F() 60 HloInstruction::CreateConstant(std::move(input_literal2))); in TEST_F() 97 HloInstruction::CreateConstant(std::move(input_literal))); in TEST_F() 109 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))), in TEST_F() 147 HloInstruction::CreateConstant(std::move(input_literal))); in TEST_F() 175 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0))), in TEST_F() 185 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))), in TEST_F() 244 HloInstruction::CreateConstant(std::move(input_literal))); in TEST_F() 301 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/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | cudnn_batchnorm_rewriter.cc | 86 computation_->AddInstruction(HloInstruction::CreateConstant( in HandleBatchNormInference() 89 computation_->AddInstruction(HloInstruction::CreateConstant( in HandleBatchNormInference() 138 computation_->AddInstruction(HloInstruction::CreateConstant( in HandleBatchNormTraining() 141 computation_->AddInstruction(HloInstruction::CreateConstant( in HandleBatchNormTraining() 179 computation_->AddInstruction(HloInstruction::CreateConstant( in HandleBatchNormTraining() 227 computation_->AddInstruction(HloInstruction::CreateConstant( in HandleBatchNormGrad() 230 computation_->AddInstruction(HloInstruction::CreateConstant( in HandleBatchNormGrad()
|
/external/swiftshader/src/Pipeline/ |
D | SpirvShaderSpec.cpp | 70 auto &result = CreateConstant(insn); in EvalSpecConstantOp() 86 auto &result = CreateConstant(insn); in EvalSpecConstantOp() 99 auto &result = CreateConstant(insn); in EvalSpecConstantOp() 124 auto &result = CreateConstant(insn); in EvalSpecConstantOp() 158 auto &result = CreateConstant(insn); in EvalSpecConstantUnaryOp() 208 auto &result = CreateConstant(insn); in EvalSpecConstantBinaryOp()
|
/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()
|