Lines Matching refs:phi
1048 void GraphChecker::VisitPhi(HPhi* phi) { in VisitPhi() argument
1049 VisitInstruction(phi); in VisitPhi()
1052 ArrayRef<HUserRecord<HInstruction*>> input_records = phi->GetInputRecords(); in VisitPhi()
1053 if (input_records[0].GetInstruction() == phi) { in VisitPhi()
1055 phi->GetId(), in VisitPhi()
1056 phi->GetBlock()->GetBlockId())); in VisitPhi()
1062 if (DataType::Kind(input->GetType()) != DataType::Kind(phi->GetType())) { in VisitPhi()
1066 input->GetId(), i, phi->GetId(), phi->GetBlock()->GetBlockId(), in VisitPhi()
1068 DataType::PrettyDescriptor(phi->GetType()))); in VisitPhi()
1071 if (phi->GetType() != HPhi::ToPhiType(phi->GetType())) { in VisitPhi()
1073 phi->GetId(), in VisitPhi()
1074 phi->GetBlock()->GetBlockId(), in VisitPhi()
1075 DataType::PrettyDescriptor(phi->GetType()))); in VisitPhi()
1078 if (phi->IsCatchPhi()) { in VisitPhi()
1086 phi->GetId(), in VisitPhi()
1087 phi->GetBlock()->GetBlockId())); in VisitPhi()
1089 HInstruction* next_phi = phi->GetNext(); in VisitPhi()
1095 phi->GetId(), in VisitPhi()
1096 phi->GetBlock()->GetBlockId(), in VisitPhi()
1106 const ArenaVector<HBasicBlock*>& predecessors = phi->GetBlock()->GetPredecessors(); in VisitPhi()
1111 phi->GetId(), phi->GetBlock()->GetBlockId(), input_records.size(), in VisitPhi()
1112 phi->GetBlock()->GetBlockId(), predecessors.size())); in VisitPhi()
1124 input->GetId(), i, phi->GetId(), phi->GetBlock()->GetBlockId(), in VisitPhi()
1134 if (phi->IsCatchPhi()) { in VisitPhi()
1135 HInstruction* next_phi = phi->GetNext(); in VisitPhi()
1136 if (next_phi != nullptr && phi->GetRegNumber() > next_phi->AsPhi()->GetRegNumber()) { in VisitPhi()
1139 phi->GetId(), in VisitPhi()
1141 phi->GetBlock()->GetBlockId())); in VisitPhi()
1148 if (phi->GetRegNumber() != kNoRegNumber) { in VisitPhi()
1149 for (HInstructionIterator phi_it(phi->GetBlock()->GetPhis()); in VisitPhi()
1153 if (phi != other_phi && phi->GetRegNumber() == other_phi->GetRegNumber()) { in VisitPhi()
1154 if (phi->GetType() == other_phi->GetType()) { in VisitPhi()
1156 type_str << phi->GetType(); in VisitPhi()
1158 phi->GetId(), in VisitPhi()
1159 phi->GetRegNumber(), in VisitPhi()
1161 } else if (phi->GetType() == DataType::Type::kReference) { in VisitPhi()
1166 phi->GetId(), in VisitPhi()
1167 phi->GetRegNumber(), in VisitPhi()
1178 if (!IsConstantEquivalent(phi, other_phi, &visited)) { in VisitPhi()
1181 phi->GetId(), in VisitPhi()
1183 phi->GetRegNumber())); in VisitPhi()