Lines Matching refs:phi
119 bool HUint32AnalysisPhase::CheckPhiOperands(HPhi* phi) { in CheckPhiOperands() argument
120 if (!phi->CheckFlag(HInstruction::kUint32)) { in CheckPhiOperands()
125 for (int j = 0; j < phi->OperandCount(); j++) { in CheckPhiOperands()
126 HValue* operand = phi->OperandAt(j); in CheckPhiOperands()
147 void HUint32AnalysisPhase::UnmarkPhi(HPhi* phi, ZoneList<HPhi*>* worklist) { in UnmarkPhi() argument
148 phi->ClearFlag(HInstruction::kUint32); in UnmarkPhi()
149 for (int j = 0; j < phi->OperandCount(); j++) { in UnmarkPhi()
150 HValue* operand = phi->OperandAt(j); in UnmarkPhi()
180 HPhi* phi = phis_[i]; in UnmarkUnsafePhis() local
182 if (CheckPhiOperands(phi) && Uint32UsesAreSafe(phi)) { in UnmarkUnsafePhis()
183 phis_[phi_count++] = phi; in UnmarkUnsafePhis()
185 UnmarkPhi(phi, &worklist); in UnmarkUnsafePhis()
195 HPhi* phi = worklist.RemoveLast(); in UnmarkUnsafePhis() local
196 UnmarkPhi(phi, &worklist); in UnmarkUnsafePhis()
204 HPhi* phi = phis_[i]; in UnmarkUnsafePhis() local
206 if (CheckPhiOperands(phi)) { in UnmarkUnsafePhis()
207 phis_[new_phi_count++] = phi; in UnmarkUnsafePhis()
209 UnmarkPhi(phi, &worklist); in UnmarkUnsafePhis()