Home
last modified time | relevance | path

Searched refs:GetPredBlockIndex (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph_cloner.cpp487 auto phi_update_input_idx = phi->CastToPhi()->GetPredBlockIndex(unroll_data->backedge); in BuildLoopUnrollDataFlow()
667 auto clone_index {inst_block->GetPredBlockIndex(clone_block)}; in UpdateUsersForClonedLoopHeader()
743 auto back_edge_idx = outside_succ->GetPredBlockIndex(back_edge); in CreateNewOutsideSucc()
744 auto pre_header_idx = outside_succ->GetPredBlockIndex(pre_header); in CreateNewOutsideSucc()
757 auto phi_back_edge_idx {phi->CastToPhi()->GetPredBlockIndex(back_edge)}; in CreateNewOutsideSucc()
758 auto phi_pre_header_idx {phi->CastToPhi()->GetPredBlockIndex(pre_header)}; in CreateNewOutsideSucc()
859 ASSERT(unroll_data->outer->GetPredBlockIndex(unroll_data->pre_header) == in BuildLoopCloneControlFlow()
860 outer_clone->GetPredBlockIndex(pre_header_clone)); in BuildLoopCloneControlFlow()
861 ASSERT(unroll_data->header->GetPredBlockIndex(unroll_data->pre_header) == in BuildLoopCloneControlFlow()
862 GetClone(unroll_data->header)->GetPredBlockIndex(pre_header_clone)); in BuildLoopCloneControlFlow()
[all …]
Dinst.cpp187 auto index = GetPredBlockIndex(bb); in GetPhiInput()
194 auto index = GetPredBlockIndex(bb); in GetPhiDataflowInput()
199 size_t PhiInst::GetPredBlockIndex(const BasicBlock *block) const in GetPredBlockIndex() function in panda::compiler::PhiInst
Dbasicblock.h137 size_t GetPredBlockIndex(const BasicBlock *block) const in GetPredBlockIndex() function
206 preds_[GetPredBlockIndex(prev_pred)] = new_pred; in ReplacePred()
329 ASSERT(GetPredBlockIndex(pred) < preds_.size()); in RemovePred()
330 preds_[GetPredBlockIndex(pred)] = preds_.back(); in RemovePred()
Dgraph.cpp197 auto rm_index = phi->CastToPhi()->GetPredBlockIndex(rm_pred); in RemovePredecessorUpdateDF()
206 auto rm_index = phi->CastToPhi()->GetPredBlockIndex(rm_pred); in RemovePredecessorUpdateDF()
Dbasicblock.cpp141 auto index = phi->CastToPhi()->GetPredBlockIndex(bb); in RemovePhiProcessing()
195 succ->preds_[succ->GetPredBlockIndex(this)] = pred; in RemoveEmptyBlock()
Dir_constructor.h958 size_t idx = inst->GetBasicBlock()->GetPredBlockIndex(bb_map_.at(input.first)); in ConstructDataFlow()
Dinst.h2341 size_t GetPredBlockIndex(const BasicBlock *block) const;
/arkcompiler/runtime_core/compiler/tests/
Dbasicblock_test.cpp188 auto bb5_pred3_idx = BB(5).GetPredBlockIndex(&BB(3)); in TEST_F()
189 auto bb5_pred4_idx = BB(5).GetPredBlockIndex(&BB(4)); in TEST_F()
195 ASSERT_EQ(BB(5).GetPredBlockIndex(&BB(2)), bb5_pred3_idx); in TEST_F()
196 ASSERT_EQ(BB(5).GetPredBlockIndex(&BB(4)), bb5_pred4_idx); in TEST_F()
Dinst_test.cpp519 auto pred_bb_idx = INS(3).CastToPhi()->GetPredBlockIndex(&BB(3)); in TEST_F()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dcleanup.cpp153 size_t index_bb = phi->CastToPhi()->GetPredBlockIndex(bb); in CheckSpecialTriangle()
154 size_t index_pred = phi->CastToPhi()->GetPredBlockIndex(pred); in CheckSpecialTriangle()
219 auto rm_index = phi->CastToPhi()->GetPredBlockIndex(pred); in ProcessBB()
226 auto rm_index = phi->CastToPhi()->GetPredBlockIndex(pred); in ProcessBB()
/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dloop_analyzer.cpp144 auto phi_idx {phi->CastToPhi()->GetPredBlockIndex(pred)}; in MovePhiInputsToPreHeader()