Lines Matching defs:phi
182 * phi
224 * phi
271 * phi +
303 HPhi* phi = loop_header->GetFirstPhi()->AsPhi();
305 LiveInterval* phi_interval = phi->GetLiveInterval();
306 LiveInterval* loop_update = phi->InputAt(1)->GetLiveInterval();
357 /* Test for a dead loop phi taking as back-edge input a phi that also has
358 * this loop phi as input. Walking backwards in SsaDeadPhiElimination
359 * does not solve the problem because the loop phi will be visited last.
457 HPhi** phi,
498 *phi = new (allocator) HPhi(allocator, 0, 0, Primitive::kPrimInt);
499 join->AddPhi(*phi);
521 (*phi)->AddInput(*input1);
522 (*phi)->AddInput(*input2);
532 HPhi *phi;
536 HGraph* graph = BuildIfElseWithPhi(&allocator, &phi, &input1, &input2);
549 ASSERT_EQ(phi->GetLiveInterval()->GetRegister(), 0);
553 HGraph* graph = BuildIfElseWithPhi(&allocator, &phi, &input1, &input2);
560 // Set the phi to a specific register, and check that the inputs get allocated
562 phi->GetLocations()->UpdateOut(Location::RegisterLocation(2));
568 ASSERT_EQ(phi->GetLiveInterval()->GetRegister(), 2);
572 HGraph* graph = BuildIfElseWithPhi(&allocator, &phi, &input1, &input2);
579 // Set input1 to a specific register, and check that the phi and other input get allocated
587 ASSERT_EQ(phi->GetLiveInterval()->GetRegister(), 2);
591 HGraph* graph = BuildIfElseWithPhi(&allocator, &phi, &input1, &input2);
598 // Set input2 to a specific register, and check that the phi and other input get allocated
606 ASSERT_EQ(phi->GetLiveInterval()->GetRegister(), 2);