Lines Matching refs:phi
806 void GraphChecker::VisitPhi(HPhi* phi) { in VisitPhi() argument
807 VisitInstruction(phi); in VisitPhi()
810 ArrayRef<HUserRecord<HInstruction*>> input_records = phi->GetInputRecords(); in VisitPhi()
811 if (input_records[0].GetInstruction() == phi) { in VisitPhi()
813 phi->GetId(), in VisitPhi()
814 phi->GetBlock()->GetBlockId())); in VisitPhi()
820 if (DataType::Kind(input->GetType()) != DataType::Kind(phi->GetType())) { in VisitPhi()
824 input->GetId(), i, phi->GetId(), phi->GetBlock()->GetBlockId(), in VisitPhi()
826 DataType::PrettyDescriptor(phi->GetType()))); in VisitPhi()
829 if (phi->GetType() != HPhi::ToPhiType(phi->GetType())) { in VisitPhi()
831 phi->GetId(), in VisitPhi()
832 phi->GetBlock()->GetBlockId(), in VisitPhi()
833 DataType::PrettyDescriptor(phi->GetType()))); in VisitPhi()
836 if (phi->IsCatchPhi()) { in VisitPhi()
844 phi->GetId(), in VisitPhi()
845 phi->GetBlock()->GetBlockId())); in VisitPhi()
847 HInstruction* next_phi = phi->GetNext(); in VisitPhi()
853 phi->GetId(), in VisitPhi()
854 phi->GetBlock()->GetBlockId(), in VisitPhi()
864 const ArenaVector<HBasicBlock*>& predecessors = phi->GetBlock()->GetPredecessors(); in VisitPhi()
869 phi->GetId(), phi->GetBlock()->GetBlockId(), input_records.size(), in VisitPhi()
870 phi->GetBlock()->GetBlockId(), predecessors.size())); in VisitPhi()
882 input->GetId(), i, phi->GetId(), phi->GetBlock()->GetBlockId(), in VisitPhi()
892 if (phi->IsCatchPhi()) { in VisitPhi()
893 HInstruction* next_phi = phi->GetNext(); in VisitPhi()
894 if (next_phi != nullptr && phi->GetRegNumber() > next_phi->AsPhi()->GetRegNumber()) { in VisitPhi()
897 phi->GetId(), in VisitPhi()
899 phi->GetBlock()->GetBlockId())); in VisitPhi()
906 if (phi->GetRegNumber() != kNoRegNumber) { in VisitPhi()
907 for (HInstructionIterator phi_it(phi->GetBlock()->GetPhis()); in VisitPhi()
911 if (phi != other_phi && phi->GetRegNumber() == other_phi->GetRegNumber()) { in VisitPhi()
912 if (phi->GetType() == other_phi->GetType()) { in VisitPhi()
914 type_str << phi->GetType(); in VisitPhi()
916 phi->GetId(), in VisitPhi()
917 phi->GetRegNumber(), in VisitPhi()
919 } else if (phi->GetType() == DataType::Type::kReference) { in VisitPhi()
924 phi->GetId(), in VisitPhi()
925 phi->GetRegNumber(), in VisitPhi()
937 if (!IsConstantEquivalent(phi, other_phi, &visited)) { in VisitPhi()
940 phi->GetId(), in VisitPhi()
942 phi->GetRegNumber())); in VisitPhi()