Searched refs:GetPredBlockIndex (Results 1 – 11 of 11) sorted by relevance
487 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 …]
187 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
137 size_t GetPredBlockIndex(const BasicBlock *block) const in GetPredBlockIndex() function206 preds_[GetPredBlockIndex(prev_pred)] = new_pred; in ReplacePred()329 ASSERT(GetPredBlockIndex(pred) < preds_.size()); in RemovePred()330 preds_[GetPredBlockIndex(pred)] = preds_.back(); in RemovePred()
197 auto rm_index = phi->CastToPhi()->GetPredBlockIndex(rm_pred); in RemovePredecessorUpdateDF()206 auto rm_index = phi->CastToPhi()->GetPredBlockIndex(rm_pred); in RemovePredecessorUpdateDF()
141 auto index = phi->CastToPhi()->GetPredBlockIndex(bb); in RemovePhiProcessing()195 succ->preds_[succ->GetPredBlockIndex(this)] = pred; in RemoveEmptyBlock()
958 size_t idx = inst->GetBasicBlock()->GetPredBlockIndex(bb_map_.at(input.first)); in ConstructDataFlow()
2341 size_t GetPredBlockIndex(const BasicBlock *block) const;
188 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()
519 auto pred_bb_idx = INS(3).CastToPhi()->GetPredBlockIndex(&BB(3)); in TEST_F()
153 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()
144 auto phi_idx {phi->CastToPhi()->GetPredBlockIndex(pred)}; in MovePhiInputsToPreHeader()