/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | scalar_analysis.cpp | 113 SENode* operand_2) { in CreateMultiplyNode() 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() 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() 112 CreateMultiplyNode(SENode* operand_1, SENode* operand_2) CreateMultiplyNode() argument 132 CreateSubtraction(SENode* operand_1, SENode* operand_2) CreateSubtraction() argument 144 CreateAddNode(SENode* operand_1, SENode* operand_2) CreateAddNode() argument 318 SENode* operand_2 = value_node->GetChild(1); AnalyzePhiInstruction() local [all...] |
H A 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()
|
H A D | scalar_analysis.h | 50 // negation of |operand_2|. 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 | 113 SENode* operand_2) { in CreateMultiplyNode() 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() 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() 112 CreateMultiplyNode(SENode* operand_1, SENode* operand_2) CreateMultiplyNode() argument 132 CreateSubtraction(SENode* operand_1, SENode* operand_2) CreateSubtraction() argument 144 CreateAddNode(SENode* operand_1, SENode* operand_2) CreateAddNode() argument 318 SENode* operand_2 = value_node->GetChild(1); AnalyzePhiInstruction() local [all...] |
H A 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()
|
H A D | scalar_analysis.h | 50 // negation of |operand_2|. 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 | 112 SENode* operand_2) { in CreateMultiplyNode() 114 if (operand_1->IsCantCompute() || operand_2->IsCantCompute()) in CreateMultiplyNode() 118 operand_2->GetType() == SENode::Constant) { in CreateMultiplyNode() 120 operand_2->AsSEConstantNode()->FoldToSingleValue()); in CreateMultiplyNode() 126 multiply_node->AddChild(operand_2); in CreateMultiplyNode() 132 SENode* operand_2) { in CreateSubtraction() 135 operand_2->GetType() == SENode::Constant) { in CreateSubtraction() 137 operand_2->AsSEConstantNode()->FoldToSingleValue()); in CreateSubtraction() 140 return CreateAddNode(operand_1, CreateNegation(operand_2)); in CreateSubtraction() 144 SENode* operand_2) { in CreateAddNode() 111 CreateMultiplyNode(SENode* operand_1, SENode* operand_2) CreateMultiplyNode() argument 131 CreateSubtraction(SENode* operand_1, SENode* operand_2) CreateSubtraction() argument 143 CreateAddNode(SENode* operand_1, SENode* operand_2) CreateAddNode() argument 317 SENode* operand_2 = value_node->GetChild(1); AnalyzePhiInstruction() local [all...] |
H A D | scalar_analysis_simplification.cpp | 158 SENode* operand_2 = multiply->GetChild(1); in AccumulatorsFromMultiply() local 167 else if (operand_2->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply() 168 operand_2->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply() 169 value_unknown = operand_2; in AccumulatorsFromMultiply() 174 else if (operand_2->GetType() == SENode::Constant) in AccumulatorsFromMultiply() 175 constant = operand_2; in AccumulatorsFromMultiply()
|
H A D | scalar_analysis.h | 50 // negation of |operand_2|. 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);
|