Home
last modified time | relevance | path

Searched refs:operand_1 (Results 1 – 16 of 16) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/opt/
Dscalar_analysis.cpp112 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 …]
Dscalar_analysis_simplification.cpp158 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()
Dscalar_analysis.h51 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/
Dscalar_analysis.cpp112 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 …]
Dscalar_analysis_simplification.cpp158 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()
Dscalar_analysis.h51 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/
Dscalar_analysis.cpp112 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 …]
Dscalar_analysis_simplification.cpp158 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()
Dscalar_analysis.h51 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/
Dcc_emitter.py75 def EmitBinaryOp(self, operand_1, op, operand_2): argument
76 self.EmitCode('%s %s %s' % (operand_1, op, operand_2))
Dneon_emitter.py705 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/mlir/hlo/tests/
Dops.mlir207 func @case_mismatch_num_args(%index: tensor<i32>, %operand_1: tensor<f32>, %operand_2: tensor<f32>,…
209 %0 = "mhlo.case"(%index, %operand_1, %operand_2, %operand_3) ( {
228 func @case_mismatch_num_results(%index: tensor<i32>, %operand_1: tensor<f32>, %operand_2: tensor<f3…
230 %0 = "mhlo.case"(%index, %operand_1, %operand_2, %operand_3) ( {
249 func @case_mismatch_arg_type(%index: tensor<i32>, %operand_1: tensor<f32>, %operand_2: tensor<f32>,…
251 %0 = "mhlo.case"(%index, %operand_1, %operand_2, %operand_3) ( {
270 func @case_mismatch_return_type(%index: tensor<i32>, %operand_1: tensor<f32>, %operand_2: tensor<f3…
272 %0 = "mhlo.case"(%index, %operand_1, %operand_2, %operand_3) ( {
291 func @case_empty_region(%index: tensor<i32>, %operand_1: tensor<f32>) -> () {
293 "mhlo.case"(%index, %operand_1) ( {} ) : (tensor<i32>, tensor<f32>) -> tensor<f32>
Dlhlo_ops.mlir474 func @case_memref(%index: memref<i32>, %operand_1: memref<f32>, %operand_2: memref<f32>, %operand_3…
475 "lmhlo.case"(%index, %operand_1, %operand_2, %operand_3, %out) ( {
/external/tensorflow/tensorflow/compiler/xla/service/
Ddynamic_padder_test.cc677 Literal operand_1 = in XLA_TEST_F() local
684 {&operand_0, &operand_1, &operand_2}, false); in XLA_TEST_F()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dloop_optimizer.cc699 NodeDef* operand_1 = in CheckForDeadFanout() local
703 *switch_ctrl_node, *operand_0, *operand_1, cpu_device, resource_mgr, in CheckForDeadFanout()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes_test.cc1169 TRT_TensorOrWeights operand_1 = create_tensor_or_weights( in TEST_F() local
1176 GetTrtBroadcastShape(operand_1, operand_2, /*check_feasibility=*/true, in TEST_F()
1186 GetTrtBroadcastShape(operand_2, operand_1, /*check_feasibility=*/true, in TEST_F()