Lines Matching defs:phi
54 // Returns nullptr if `block` has either no phis or there is more than one phi
55 // with different inputs at `index1` and `index2`. Otherwise returns that phi.
61 HPhi* phi = it.Current()->AsPhi();
62 if (phi->InputAt(index1) != phi->InputAt(index2)) {
64 // First phi with different inputs for the two indices found.
65 select_phi = phi;
112 HPhi* phi = GetSingleChangedPhi(merge_block, predecessor_index_true, predecessor_index_false);
113 if (phi == nullptr) {
116 HInstruction* true_value = phi->InputAt(predecessor_index_true);
117 HInstruction* false_value = phi->InputAt(predecessor_index_false);
124 if (phi->GetType() == Primitive::kPrimNot) {
125 select->SetReferenceTypeInfo(phi->GetReferenceTypeInfo());
131 phi->ReplaceInput(select, predecessor_index_false);
134 DCHECK_EQ(only_two_predecessors, phi->GetBlock() == nullptr);