Home
last modified time | relevance | path

Searched refs:GetPhiInput (Results 1 – 9 of 9) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph_cloner.cpp172 inst_clone->AppendInput(GetClone(phi->GetPhiInput(pred_block))); in BuildDataFlow()
289 unroll_data->phi_update_inputs->push_back(phi->CastToPhi()->GetPhiInput(back_edge)); in PrepareLoopToUnroll()
332 auto header_phi = outer_phi->CastToPhi()->GetPhiInput(unroll_data->backedge); in UpdateUsersAfterNoSideExitsUnroll()
334 … outer_phi->ReplaceInput(header_phi, header_phi->CastToPhi()->GetPhiInput(unroll_data->backedge)); in UpdateUsersAfterNoSideExitsUnroll()
456 auto update = inst->CastToPhi()->GetPhiInput(unroll_data->backedge); in BuildLoopUnrollDataFlow()
479 input = input->CastToPhi()->GetPhiInput(unroll_data->backedge); in BuildLoopUnrollDataFlow()
508 auto remaining_inst = phi->CastToPhi()->GetPhiInput(header->GetLoop()->GetPreHeader()); in RemoveLoopBackEdge()
537 auto preloop_input = phi->CastToPhi()->GetPhiInput(clone); in BuildClonedLoopHeaderDataFlow()
754 new_phi->AppendInput(phi->CastToPhi()->GetPhiInput(back_edge)); in CreateNewOutsideSucc()
755 new_phi->AppendInput(phi->CastToPhi()->GetPhiInput(pre_header)); in CreateNewOutsideSucc()
Dgraph_cloner.h284 input = input->CastToPhi()->GetPhiInput(block);
Dbasicblock.cpp147 phi->SetInput(index, inst->CastToPhi()->GetPhiInput(pred_bb)); in RemovePhiProcessing()
150 phi->AppendInput(inst->CastToPhi()->GetPhiInput(pred_bb)); in RemovePhiProcessing()
Dinst.cpp185 Inst *PhiInst::GetPhiInput(BasicBlock *bb) in GetPhiInput() function in panda::compiler::PhiInst
Dgraph_checker.cpp324 [[maybe_unused]] auto input_bb = phi_inst->CastToPhi()->GetPhiInput(pred)->GetBasicBlock(); in CheckPhiInputs()
Dinst.h2336 Inst *GetPhiInput(BasicBlock *bb);
/arkcompiler/runtime_core/compiler/tests/
Dinst_test.cpp99 ASSERT_EQ(static_cast<PhiInst &>(INS(6)).GetPhiInput(&BB(5)), &INS(3)); in TEST_F()
100 ASSERT_EQ(static_cast<PhiInst &>(INS(6)).GetPhiInput(&BB(4)), &INS(4)); in TEST_F()
101 ASSERT_EQ(static_cast<PhiInst &>(INS(6)).GetPhiInput(&BB(7)), &INS(5)); in TEST_F()
123 ASSERT_EQ(static_cast<PhiInst &>(INS(6)).GetPhiInput(&BB(5)), &INS(0)); in TEST_F()
Dgraph_comparator.h110 auto input2 = inst2->CastToPhi()->GetPhiInput(bb2); in Compare()
Dcompiler_inst_test.cpp749 EXPECT_NE(phi->GetPhiInput(block), nullptr); in __anon7b7a1abf0f02()