Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dloop_optimization_test.cc284 HPhi* header_phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in TEST_F() local
285 header->AddPhi(header_phi); in TEST_F()
294 header_phi->AddInput(body_add); in TEST_F()
295 header_phi->AddInput(preheader0_add); in TEST_F()
296 header_phi->AddInput(preheader1_add); in TEST_F()
315 EXPECT_EQ(header_phi->InputCount(), 2u); in TEST_F()
316 EXPECT_EQ(header_phi->InputAt(0), new_preheader_phi); in TEST_F()
317 EXPECT_EQ(header_phi->InputAt(1), body_add); in TEST_F()
Dnodes.cc476 HPhi* header_phi = it.Current()->AsPhi(); in TransformLoopToSinglePreheaderFormat() local
479 header_phi->GetRegNumber(), in TransformLoopToSinglePreheaderFormat()
481 header_phi->GetType()); in TransformLoopToSinglePreheaderFormat()
482 if (header_phi->GetType() == DataType::Type::kReference) { in TransformLoopToSinglePreheaderFormat()
483 preheader_phi->SetReferenceTypeInfo(header_phi->GetReferenceTypeInfo()); in TransformLoopToSinglePreheaderFormat()
487 HInstruction* orig_input = header_phi->InputAt(first_nonbackedge_pred_pos); in TransformLoopToSinglePreheaderFormat()
488 header_phi->ReplaceInput(preheader_phi, first_nonbackedge_pred_pos); in TransformLoopToSinglePreheaderFormat()
492 input_pos < header_phi->InputCount(); in TransformLoopToSinglePreheaderFormat()
494 HInstruction* input = header_phi->InputAt(input_pos); in TransformLoopToSinglePreheaderFormat()
501 header_phi->RemoveInputAt(input_pos); in TransformLoopToSinglePreheaderFormat()