Searched refs:operand_1 (Results 1 - 9 of 9) sorted by relevance
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A 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 317 SENode* operand_1 = value_node->GetChild(0); AnalyzePhiInstruction() local [all...] |
H A D | scalar_analysis_simplification.cpp | 158 SENode* operand_1 = multiply->GetChild(0); in AccumulatorsFromMultiply() 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()
|
H A D | scalar_analysis.h | 49 // Creates a subtraction between the two operands by adding |operand_1| to the 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/ |
H A 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 317 SENode* operand_1 = value_node->GetChild(0); AnalyzePhiInstruction() local [all...] |
H A D | scalar_analysis_simplification.cpp | 158 SENode* operand_1 = multiply->GetChild(0); in AccumulatorsFromMultiply() 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()
|
H A D | scalar_analysis.h | 49 // Creates a subtraction between the two operands by adding |operand_1| to the 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/spirv-tools/source/opt/ |
H A 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 316 SENode* operand_1 = value_node->GetChild(0); AnalyzePhiInstruction() local [all...] |
H A D | scalar_analysis_simplification.cpp | 157 SENode* operand_1 = multiply->GetChild(0); in AccumulatorsFromMultiply() 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()
|
H A D | scalar_analysis.h | 49 // Creates a subtraction between the two operands by adding |operand_1| to the 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);
|
Completed in 7 milliseconds