Home
last modified time | relevance | path

Searched refs:operand_2 (Results 1 – 15 of 15) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/opt/
Dscalar_analysis.cpp113 SENode* operand_2) { in CreateMultiplyNode() argument
115 if (operand_1->IsCantCompute() || operand_2->IsCantCompute()) in CreateMultiplyNode()
119 operand_2->GetType() == SENode::Constant) { in CreateMultiplyNode()
121 operand_2->AsSEConstantNode()->FoldToSingleValue()); in CreateMultiplyNode()
127 multiply_node->AddChild(operand_2); in CreateMultiplyNode()
133 SENode* operand_2) { in CreateSubtraction() argument
136 operand_2->GetType() == SENode::Constant) { in CreateSubtraction()
138 operand_2->AsSEConstantNode()->FoldToSingleValue()); in CreateSubtraction()
141 return CreateAddNode(operand_1, CreateNegation(operand_2)); in CreateSubtraction()
145 SENode* operand_2) { in CreateAddNode() argument
[all …]
Dscalar_analysis_simplification.cpp159 SENode* operand_2 = multiply->GetChild(1); in AccumulatorsFromMultiply() local
168 else if (operand_2->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
169 operand_2->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
170 value_unknown = operand_2; in AccumulatorsFromMultiply()
175 else if (operand_2->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
176 constant = operand_2; 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.cpp113 SENode* operand_2) { in CreateMultiplyNode() argument
115 if (operand_1->IsCantCompute() || operand_2->IsCantCompute()) in CreateMultiplyNode()
119 operand_2->GetType() == SENode::Constant) { in CreateMultiplyNode()
121 operand_2->AsSEConstantNode()->FoldToSingleValue()); in CreateMultiplyNode()
127 multiply_node->AddChild(operand_2); in CreateMultiplyNode()
133 SENode* operand_2) { in CreateSubtraction() argument
136 operand_2->GetType() == SENode::Constant) { in CreateSubtraction()
138 operand_2->AsSEConstantNode()->FoldToSingleValue()); in CreateSubtraction()
141 return CreateAddNode(operand_1, CreateNegation(operand_2)); in CreateSubtraction()
145 SENode* operand_2) { in CreateAddNode() argument
[all …]
Dscalar_analysis_simplification.cpp159 SENode* operand_2 = multiply->GetChild(1); in AccumulatorsFromMultiply() local
168 else if (operand_2->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
169 operand_2->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
170 value_unknown = operand_2; in AccumulatorsFromMultiply()
175 else if (operand_2->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
176 constant = operand_2; 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.cpp113 SENode* operand_2) { in CreateMultiplyNode() argument
115 if (operand_1->IsCantCompute() || operand_2->IsCantCompute()) in CreateMultiplyNode()
119 operand_2->GetType() == SENode::Constant) { in CreateMultiplyNode()
121 operand_2->AsSEConstantNode()->FoldToSingleValue()); in CreateMultiplyNode()
127 multiply_node->AddChild(operand_2); in CreateMultiplyNode()
133 SENode* operand_2) { in CreateSubtraction() argument
136 operand_2->GetType() == SENode::Constant) { in CreateSubtraction()
138 operand_2->AsSEConstantNode()->FoldToSingleValue()); in CreateSubtraction()
141 return CreateAddNode(operand_1, CreateNegation(operand_2)); in CreateSubtraction()
145 SENode* operand_2) { in CreateAddNode() argument
[all …]
Dscalar_analysis_simplification.cpp159 SENode* operand_2 = multiply->GetChild(1); in AccumulatorsFromMultiply() local
168 else if (operand_2->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
169 operand_2->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
170 value_unknown = operand_2; in AccumulatorsFromMultiply()
175 else if (operand_2->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
176 constant = operand_2; 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) ( {
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.cc679 Literal operand_2 = in XLA_TEST_F() local
684 {&operand_0, &operand_1, &operand_2}, false); in XLA_TEST_F()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes_test.cc1171 TRT_TensorOrWeights operand_2 = 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()