• Home
  • Raw
  • Download

Lines Matching refs:operand_1

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
147 if (operand_1->GetType() == SENode::Constant && in CreateAddNode()
149 return CreateConstant(operand_1->AsSEConstantNode()->FoldToSingleValue() + in CreateAddNode()
154 if (operand_1->IsCantCompute() || operand_2->IsCantCompute()) in CreateAddNode()
159 add_node->AddChild(operand_1); in CreateAddNode()
317 SENode* operand_1 = value_node->GetChild(0); in AnalyzePhiInstruction() local
321 if (!operand_1->AsSERecurrentNode()) in AnalyzePhiInstruction()
322 step_node = operand_1; in AnalyzePhiInstruction()
327 if (operand_1->AsSERecurrentNode()) in AnalyzePhiInstruction()
328 phi_operand = operand_1; in AnalyzePhiInstruction()