Lines Matching defs:phi

80     StdoutStream{} << "New upper bound for " << phi()->id() << " (loop "
81 << NodeProperties::GetControlInput(phi())->id()
90 StdoutStream{} << "New lower bound for " << phi()->id() << " (loop "
91 << NodeProperties::GetControlInput(phi())->id()
223 InductionVariable* LoopVariableOptimizer::TryGetInductionVariable(Node* phi) {
224 DCHECK_EQ(2, phi->op()->ValueInputCount());
225 Node* loop = NodeProperties::GetControlInput(phi);
227 Node* initial = phi->InputAt(0);
228 Node* arith = phi->InputAt(1);
251 if (input != phi) return nullptr;
263 return zone()->New<InductionVariable>(phi, effect_phi, arith, incr, initial,
273 Node* phi = edge.from();
274 InductionVariable* induction_var = TryGetInductionVariable(phi);
276 induction_vars_[phi->id()] = induction_var;
277 TRACE(" %i", induction_var->phi()->id());
290 PhiRepresentationOf(induction_var->phi()->op()));
296 induction_var->phi()->InsertInput(graph()->zone(),
297 induction_var->phi()->InputCount() - 1,
301 induction_var->phi()->InsertInput(
302 graph()->zone(), induction_var->phi()->InputCount() - 1, bound.bound);
305 induction_var->phi()->InsertInput(
306 graph()->zone(), induction_var->phi()->InputCount() - 1, bound.bound);
309 induction_var->phi(),
310 common()->InductionVariablePhi(induction_var->phi()->InputCount() - 1));
317 if (induction_var->phi()->opcode() == IrOpcode::kInductionVariablePhi) {
318 // Turn the induction variable phi back to normal phi.
320 Node* control = NodeProperties::GetControlInput(induction_var->phi());
322 induction_var->phi()->TrimInputCount(value_count + 1);
323 induction_var->phi()->ReplaceInput(value_count, control);
325 induction_var->phi(),
328 // If the backedge is not a subtype of the phi's type, we insert a sigma
330 Node* backedge_value = induction_var->phi()->InputAt(1);
332 Type phi_type = NodeProperties::GetType(induction_var->phi());
334 Node* loop = NodeProperties::GetControlInput(induction_var->phi());
342 induction_var->phi()->ReplaceInput(1, rename);