/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 | hlo_evaluator_test.cc | 85 b.AddInstruction(HloInstruction::CreateConstant(std::move(input))); in TestUnaryOp() 103 auto c1 = b.AddInstruction(HloInstruction::CreateConstant(std::move(lhs))); in TestBinaryOp() 104 auto c2 = b.AddInstruction(HloInstruction::CreateConstant(std::move(rhs))); in TestBinaryOp() 118 b.AddInstruction(HloInstruction::CreateConstant(std::move(src0))); in TestTernaryOp() 120 b.AddInstruction(HloInstruction::CreateConstant(std::move(src1))); in TestTernaryOp() 122 b.AddInstruction(HloInstruction::CreateConstant(std::move(src2))); in TestTernaryOp() 159 auto c1 = b.AddInstruction(HloInstruction::CreateConstant(std::move(low))); in TEST_P() 160 auto c2 = b.AddInstruction(HloInstruction::CreateConstant(std::move(value))); in TEST_P() 161 auto c3 = b.AddInstruction(HloInstruction::CreateConstant(std::move(high))); in TEST_P() 185 auto c1 = b.AddInstruction(HloInstruction::CreateConstant(std::move(low))); in TEST_P() [all …]
|
D | hlo_computation_test.cc | 128 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 139 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 154 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 173 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 175 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 177 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 179 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 191 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 193 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 195 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() [all …]
|
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() 357 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_F() 425 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 427 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 465 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 467 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 545 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in TEST_F() 551 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 553 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() [all …]
|
D | tuple_points_to_analysis_test.cc | 126 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 128 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 179 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 181 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 186 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(3.0))); in TEST_F() 240 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 242 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_F() 247 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(3.0))); in TEST_F() 271 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() 288 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_F() [all …]
|
D | hlo_dataflow_analysis_test.cc | 105 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_P() 107 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_P() 204 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_P() 206 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_P() 266 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_P() 268 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_P() 316 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_P() 318 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_P() 371 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(1.0))); in TEST_P() 373 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(2.0))); in TEST_P() [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() 151 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0))); in TEST_F()
|
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 | conditional_simplifier_test.cc | 58 HloInstruction::CreateConstant(LiteralUtil::CreateR0<int32>(1))); in MakeConditional() 76 HloInstruction::CreateConstant(LiteralUtil::CreateR0<int32>(42))); in MakeConditional() 85 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(false))); in MakeConditional() 89 HloInstruction::CreateConstant(LiteralUtil::CreateR0<int32>(1))); in MakeConditional() 111 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(true))); in TEST_F() 128 HloInstruction::CreateConstant(LiteralUtil::CreateR0<bool>(true))), 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 | 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() 128 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 130 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(123.0f))); in TEST_F() 225 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(42.0f))); in TEST_F() 347 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0))), in TEST_F() 352 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0))); in TEST_F() 388 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0))), in TEST_F() 398 HloInstruction::CreateConstant(LiteralUtil::CreateR0<float>(0))), in TEST_F()
|
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()
|
D | hlo_memory_scheduler_test.cc | 157 auto lit = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 200 auto c1 = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 202 auto c2 = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 204 auto c3 = builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 255 cond_builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 268 body_builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F() 276 builder.AddInstruction(HloInstruction::CreateConstant( in TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | fusion_test.cc | 98 hlos[i + 1] = builder.AddInstruction(HloInstruction::CreateConstant( in TestElementwise2D() 203 auto const0 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 205 auto const1 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 211 auto const4 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 215 auto const6 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 221 auto const9 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 224 HloInstruction::CreateConstant(LiteralUtil::CreateR2<bool>( in XLA_TEST_F() 251 auto const0 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 255 auto const2 = builder.AddInstruction(HloInstruction::CreateConstant( in XLA_TEST_F() 288 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/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/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/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/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | cudnn_batchnorm_rewriter.cc | 71 computation_->AddInstruction(HloInstruction::CreateConstant( in HandleBatchNormInference() 74 computation_->AddInstruction(HloInstruction::CreateConstant( in HandleBatchNormInference() 107 computation_->AddInstruction(HloInstruction::CreateConstant( in HandleBatchNormTraining() 110 computation_->AddInstruction(HloInstruction::CreateConstant( in HandleBatchNormTraining() 134 computation_->AddInstruction(HloInstruction::CreateConstant( in HandleBatchNormTraining() 176 computation_->AddInstruction(HloInstruction::CreateConstant( in HandleBatchNormGrad() 179 computation_->AddInstruction(HloInstruction::CreateConstant( in HandleBatchNormGrad()
|
/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/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()
|