/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | scalar_analysis.cpp | 112 SENode* ScalarEvolutionAnalysis::CreateMultiplyNode(SENode* operand_1, in CreateMultiplyNode() argument 115 if (operand_1->IsCantCompute() || operand_2->IsCantCompute()) in CreateMultiplyNode() 118 if (operand_1->GetType() == SENode::Constant && in CreateMultiplyNode() 120 return CreateConstant(operand_1->AsSEConstantNode()->FoldToSingleValue() * in CreateMultiplyNode() 126 multiply_node->AddChild(operand_1); in CreateMultiplyNode() 132 SENode* ScalarEvolutionAnalysis::CreateSubtraction(SENode* operand_1, in CreateSubtraction() argument 135 if (operand_1->GetType() == SENode::Constant && in CreateSubtraction() 137 return CreateConstant(operand_1->AsSEConstantNode()->FoldToSingleValue() - in CreateSubtraction() 141 return CreateAddNode(operand_1, CreateNegation(operand_2)); in CreateSubtraction() 144 SENode* ScalarEvolutionAnalysis::CreateAddNode(SENode* operand_1, in CreateAddNode() argument [all …]
|
D | scalar_analysis_simplification.cpp | 158 SENode* operand_1 = multiply->GetChild(0); in AccumulatorsFromMultiply() local 165 if (operand_1->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply() 166 operand_1->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply() 167 value_unknown = operand_1; in AccumulatorsFromMultiply() 173 if (operand_1->GetType() == SENode::Constant) in AccumulatorsFromMultiply() 174 constant = operand_1; in AccumulatorsFromMultiply()
|
D | scalar_analysis.h | 51 SENode* CreateSubtraction(SENode* operand_1, SENode* operand_2); 56 SENode* CreateAddNode(SENode* operand_1, SENode* operand_2); 59 SENode* CreateMultiplyNode(SENode* operand_1, SENode* operand_2);
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | scalar_analysis.cpp | 111 SENode* ScalarEvolutionAnalysis::CreateMultiplyNode(SENode* operand_1, in CreateMultiplyNode() argument 114 if (operand_1->IsCantCompute() || operand_2->IsCantCompute()) in CreateMultiplyNode() 117 if (operand_1->GetType() == SENode::Constant && in CreateMultiplyNode() 119 return CreateConstant(operand_1->AsSEConstantNode()->FoldToSingleValue() * in CreateMultiplyNode() 125 multiply_node->AddChild(operand_1); in CreateMultiplyNode() 131 SENode* ScalarEvolutionAnalysis::CreateSubtraction(SENode* operand_1, in CreateSubtraction() argument 134 if (operand_1->GetType() == SENode::Constant && in CreateSubtraction() 136 return CreateConstant(operand_1->AsSEConstantNode()->FoldToSingleValue() - in CreateSubtraction() 140 return CreateAddNode(operand_1, CreateNegation(operand_2)); in CreateSubtraction() 143 SENode* ScalarEvolutionAnalysis::CreateAddNode(SENode* operand_1, in CreateAddNode() argument [all …]
|
D | scalar_analysis_simplification.cpp | 157 SENode* operand_1 = multiply->GetChild(0); in AccumulatorsFromMultiply() local 164 if (operand_1->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply() 165 operand_1->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply() 166 value_unknown = operand_1; in AccumulatorsFromMultiply() 172 if (operand_1->GetType() == SENode::Constant) in AccumulatorsFromMultiply() 173 constant = operand_1; in AccumulatorsFromMultiply()
|
D | scalar_analysis.h | 51 SENode* CreateSubtraction(SENode* operand_1, SENode* operand_2); 56 SENode* CreateAddNode(SENode* operand_1, SENode* operand_2); 59 SENode* CreateMultiplyNode(SENode* operand_1, SENode* operand_2);
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | scalar_analysis.cpp | 112 SENode* ScalarEvolutionAnalysis::CreateMultiplyNode(SENode* operand_1, in CreateMultiplyNode() argument 115 if (operand_1->IsCantCompute() || operand_2->IsCantCompute()) in CreateMultiplyNode() 118 if (operand_1->GetType() == SENode::Constant && in CreateMultiplyNode() 120 return CreateConstant(operand_1->AsSEConstantNode()->FoldToSingleValue() * in CreateMultiplyNode() 126 multiply_node->AddChild(operand_1); in CreateMultiplyNode() 132 SENode* ScalarEvolutionAnalysis::CreateSubtraction(SENode* operand_1, in CreateSubtraction() argument 135 if (operand_1->GetType() == SENode::Constant && in CreateSubtraction() 137 return CreateConstant(operand_1->AsSEConstantNode()->FoldToSingleValue() - in CreateSubtraction() 141 return CreateAddNode(operand_1, CreateNegation(operand_2)); in CreateSubtraction() 144 SENode* ScalarEvolutionAnalysis::CreateAddNode(SENode* operand_1, in CreateAddNode() argument [all …]
|
D | scalar_analysis_simplification.cpp | 158 SENode* operand_1 = multiply->GetChild(0); in AccumulatorsFromMultiply() local 165 if (operand_1->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply() 166 operand_1->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply() 167 value_unknown = operand_1; in AccumulatorsFromMultiply() 173 if (operand_1->GetType() == SENode::Constant) in AccumulatorsFromMultiply() 174 constant = operand_1; in AccumulatorsFromMultiply()
|
D | scalar_analysis.h | 51 SENode* CreateSubtraction(SENode* operand_1, SENode* operand_2); 56 SENode* CreateAddNode(SENode* operand_1, SENode* operand_2); 59 SENode* CreateMultiplyNode(SENode* operand_1, SENode* operand_2);
|
/external/gemmlowp/meta/generators/ |
D | cc_emitter.py | 75 def EmitBinaryOp(self, operand_1, op, operand_2): argument 76 self.EmitCode('%s %s %s' % (operand_1, op, operand_2))
|
D | neon_emitter.py | 705 def EmitVUzp(self, uzp_type, operand_1, operand_2): argument 706 self.EmitOp2('vuzp.%d' % uzp_type, operand_1, operand_2) 708 def EmitVTrn(self, trn_type, operand_1, operand_2): argument 709 self.EmitOp2('vtrn.%d' % trn_type, operand_1, operand_2)
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | dynamic_padder.cc | 1436 HloInstruction* operand_1 = binary->mutable_operand(1); in RewriteDynamicBinaryOp() local 1438 TF_RET_CHECK(operand_0->shape().rank() == operand_1->shape().rank()); in RewriteDynamicBinaryOp() 1440 auto dims_1 = dynamic_dimension_inference->GetDynamicSizes(operand_1, {}); in RewriteDynamicBinaryOp() 1534 operand_1 = rewrite_operand(operand_1_needs_broadcast, operand_1); in RewriteDynamicBinaryOp() 1539 TF_RETURN_IF_ERROR(binary->ReplaceOperandWith(1, operand_1)); in RewriteDynamicBinaryOp()
|
D | dynamic_padder_test.cc | 876 Literal operand_1 = in XLA_TEST_F() local 883 {&operand_0, &operand_1, &operand_2}, false); in XLA_TEST_F()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | loop_optimizer.cc | 699 NodeDef* operand_1 = in CheckForDeadFanout() local 703 *switch_ctrl_node, *operand_0, *operand_1, cpu_device, resource_mgr, in CheckForDeadFanout()
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/tests/Dialect/lhlo/ |
D | ops.mlir | 496 func.func @case_memref(%index: memref<i32>, %operand_1: memref<f32>, %operand_2: memref<f32>, %oper… 499 "lmhlo.negate"(%operand_1, %out) : (memref<f32>, memref<f32>) -> ()
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/ |
D | convert_nodes_test.cc | 933 TRT_TensorOrWeights operand_1 = create_tensor_or_weights( in TEST_F() local 940 GetTrtBroadcastShape(operand_1, operand_2, /*check_feasibility=*/true, in TEST_F() 950 GetTrtBroadcastShape(operand_2, operand_1, /*check_feasibility=*/true, in TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/tests/Dialect/mhlo/ |
D | ops.mlir | 547 func.func @case_mismatch_num_results(%index: tensor<i32>, %operand_1: tensor<f32>, %operand_2: tens… 550 %1 = "mhlo.negate"(%operand_1) : (tensor<f32>) -> tensor<f32> 565 func.func @case_mismatch_return_type(%index: tensor<i32>, %operand_1: tensor<f32>, %operand_2: tens… 568 %1 = "mhlo.negate"(%operand_1) : (tensor<f32>) -> tensor<f32>
|
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/stablehlo/tests/ |
D | ops_stablehlo.mlir | 547 func.func @case_mismatch_return_type(%index: tensor<i32>, %operand_1: tensor<f32>, %operand_2: tens… 550 %1 = "stablehlo.negate"(%operand_1) : (tensor<f32>) -> tensor<f32>
|