Lines Matching refs:phi

63 static bool ArePhiInputsTheSame(const HPhi* phi) {  in ArePhiInputsTheSame()  argument
64 HInstruction* first_input = phi->InputAt(0); in ArePhiInputsTheSame()
65 for (size_t i = 1, e = phi->InputCount(); i < e; i++) { in ArePhiInputsTheSame()
66 if (phi->InputAt(i) != first_input) { in ArePhiInputsTheSame()
424 void SuperblockCloner::ResolvePhi(HPhi* phi) { in ResolvePhi() argument
425 HBasicBlock* phi_block = phi->GetBlock(); in ResolvePhi()
426 for (size_t i = 0, e = phi->InputCount(); i < e; i++) { in ResolvePhi()
427 HInstruction* input = phi->InputAt(i); in ResolvePhi()
436 phi->ReplaceInput(GetInstrCopy(input), i); in ResolvePhi()
631 HPhi* phi = new (arena_) HPhi(arena_, kNoRegNumber, 0, value->GetType()); in ConstructSubgraphClosedSSA() local
634 phi->SetReferenceTypeInfoIfValid(value->GetReferenceTypeInfo()); in ConstructSubgraphClosedSSA()
637 exit_block->AddPhi(phi); in ConstructSubgraphClosedSSA()
638 live_out_it->second = phi; in ConstructSubgraphClosedSSA()
647 user->ReplaceInput(phi, index); in ConstructSubgraphClosedSSA()
648 UpdateInductionRangeInfoOf(user, value, phi); in ConstructSubgraphClosedSSA()
658 env->ReplaceInput(phi, index); in ConstructSubgraphClosedSSA()
662 phi->AddInput(value); in ConstructSubgraphClosedSSA()
670 HPhi* phi = it.second->AsPhi(); in FixSubgraphClosedSSAAfterCloning() local
673 phi->AddInput(copy_value); in FixSubgraphClosedSSAAfterCloning()
1002 HPhi* phi = inst_it.Current()->AsPhi(); in CleanUp() local
1003 if (ArePhiInputsTheSame(phi)) { in CleanUp()
1004 phi->ReplaceWith(phi->InputAt(0)); in CleanUp()
1005 orig_block->RemovePhi(phi); in CleanUp()
1011 HPhi* phi = inst_it.Current()->AsPhi(); in CleanUp() local
1012 if (ArePhiInputsTheSame(phi)) { in CleanUp()
1013 phi->ReplaceWith(phi->InputAt(0)); in CleanUp()
1014 copy_block->RemovePhi(phi); in CleanUp()