Home
last modified time | relevance | path

Searched refs:header_phi (Results 1 – 2 of 2) sorted by relevance

/art/compiler/optimizing/
Dloop_optimization_test.cc303 HPhi* header_phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in TEST_F() local
304 header->AddPhi(header_phi); in TEST_F()
313 header_phi->AddInput(body_add); in TEST_F()
314 header_phi->AddInput(preheader0_add); in TEST_F()
315 header_phi->AddInput(preheader1_add); in TEST_F()
334 EXPECT_EQ(header_phi->InputCount(), 2u); in TEST_F()
335 EXPECT_EQ(header_phi->InputAt(0), new_preheader_phi); in TEST_F()
336 EXPECT_EQ(header_phi->InputAt(1), body_add); in TEST_F()
Dnodes.cc649 HPhi* header_phi = it.Current()->AsPhi(); in TransformLoopToSinglePreheaderFormat() local
652 header_phi->GetRegNumber(), in TransformLoopToSinglePreheaderFormat()
654 header_phi->GetType()); in TransformLoopToSinglePreheaderFormat()
655 if (header_phi->GetType() == DataType::Type::kReference) { in TransformLoopToSinglePreheaderFormat()
656 preheader_phi->SetReferenceTypeInfo(header_phi->GetReferenceTypeInfo()); in TransformLoopToSinglePreheaderFormat()
660 HInstruction* orig_input = header_phi->InputAt(first_nonbackedge_pred_pos); in TransformLoopToSinglePreheaderFormat()
661 header_phi->ReplaceInput(preheader_phi, first_nonbackedge_pred_pos); in TransformLoopToSinglePreheaderFormat()
665 input_pos < header_phi->InputCount(); in TransformLoopToSinglePreheaderFormat()
667 HInstruction* input = header_phi->InputAt(input_pos); in TransformLoopToSinglePreheaderFormat()
674 header_phi->RemoveInputAt(input_pos); in TransformLoopToSinglePreheaderFormat()