Searched refs:operand_2 (Results 1 – 9 of 9) sorted by relevance
/third_party/spirv-tools/source/opt/ |
D | scalar_analysis.cpp | 113 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 …]
|
D | scalar_analysis_simplification.cpp | 159 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()
|
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);
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | scalar_analysis.cpp | 113 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 …]
|
D | scalar_analysis_simplification.cpp | 159 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()
|
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);
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | scalar_analysis.cpp | 113 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 …]
|
D | scalar_analysis_simplification.cpp | 159 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()
|
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);
|