Home
last modified time | relevance | path

Searched refs:GetBasicBlock (Results 1 – 16 of 16) sorted by relevance

/art/compiler/dex/
Ddataflow_iterator-inl.h32 res = mir_graph_->GetBasicBlock(bb_id); in ForwardSingleNext()
55 res = mir_graph_->GetBasicBlock(bb_id); in ForwardRepeatNext()
70 res = mir_graph_->GetBasicBlock(bb_id); in ReverseSingleNext()
93 res = mir_graph_->GetBasicBlock(bb_id); in ReverseRepeatNext()
127 BasicBlock* bb = mir_graph_->GetBasicBlock(block_id_list_->Get(idx_ - 1)); in Next()
147 BasicBlock* loop_head = mir_graph_->GetBasicBlock(block_id_list_->Get(loop_head_idx)); in Next()
163 BasicBlock* bb = mir_graph_->GetBasicBlock(block_id_list_->Get(idx)); in Next()
Dssa_transformation.cc42 BasicBlock* res = NeedsVisit(GetBasicBlock(bb->fall_through)); in NextUnvisitedSuccessor()
44 res = NeedsVisit(GetBasicBlock(bb->taken)); in NextUnvisitedSuccessor()
53 res = NeedsVisit(GetBasicBlock(sbi->block)); in NextUnvisitedSuccessor()
200 while (!curr_idom_iter->Done() && (NeedsVisit(GetBasicBlock(**curr_idom_iter)) == nullptr)) { in ComputeDomPostOrderTraversal()
205 BasicBlock* new_bb = GetBasicBlock(**curr_idom_iter); in ComputeDomPostOrderTraversal()
242 CheckForDominanceFrontier(bb, GetBasicBlock(bb->taken)); in ComputeDominanceFrontier()
245 CheckForDominanceFrontier(bb, GetBasicBlock(bb->fall_through)); in ComputeDominanceFrontier()
254 BasicBlock* succ_bb = GetBasicBlock(successor_block_info->block); in ComputeDominanceFrontier()
261 BasicBlock* dominated_bb = GetBasicBlock(dominated_idx); in ComputeDominanceFrontier()
263 BasicBlock* df_up_block = GetBasicBlock(df_up_block_idx); in ComputeDominanceFrontier()
[all …]
Dmir_optimization.cc112 bb = GetBasicBlock(bb->fall_through); in AdvanceMIR()
156 BasicBlock* bb_taken = GetBasicBlock(bb->taken); in NextDominatedBlock()
157 BasicBlock* bb_fall_through = GetBasicBlock(bb->fall_through); in NextDominatedBlock()
413 if ((IsBackedge(bb, bb->taken) && GetBasicBlock(bb->taken)->dominates_return) || in BasicBlockOpt()
415 GetBasicBlock(bb->fall_through)->dominates_return)) { in BasicBlockOpt()
433 BasicBlock* ft = GetBasicBlock(bb->fall_through); in BasicBlockOpt()
435 BasicBlock* ft_ft = GetBasicBlock(ft->fall_through); in BasicBlockOpt()
436 BasicBlock* ft_tk = GetBasicBlock(ft->taken); in BasicBlockOpt()
438 BasicBlock* tk = GetBasicBlock(bb->taken); in BasicBlockOpt()
440 BasicBlock* tk_ft = GetBasicBlock(tk->fall_through); in BasicBlockOpt()
[all …]
Dmir_graph.cc183 BasicBlock* bb_taken = GetBasicBlock(bottom_block->taken); in SplitBlock()
193 BasicBlock* bb_fall_through = GetBasicBlock(bottom_block->fall_through); in SplitBlock()
208 BasicBlock* bb = GetBasicBlock(successor_block_info->block); in SplitBlock()
829 GetBasicBlock(cur_block->fall_through) == next_block || in InlineMethod()
830 GetBasicBlock(cur_block->fall_through) == exit_block_); in InlineMethod()
884 GetBasicBlock(GetEntryBlock()->fall_through)->start_offset, in DumpCFG()
900 BasicBlock* bb = GetBasicBlock(block_idx); in DumpCFG()
959 GetBlockName(GetBasicBlock(bb->taken), block_name2); in DumpCFG()
965 GetBlockName(GetBasicBlock(bb->fall_through), block_name2); in DumpCFG()
980 BasicBlock* dest_block = GetBasicBlock(successor_block_info->block); in DumpCFG()
[all …]
Dglobal_value_numbering.cc98 for (BasicBlock* pred_bb = mir_graph_->GetBasicBlock(iter.Next()); in PrepareBasicBlock()
99 pred_bb != nullptr; pred_bb = mir_graph_->GetBasicBlock(iter.Next())) { in PrepareBasicBlock()
126 BasicBlock* pred_bb = mir_graph_->GetBasicBlock(merge_lvns_[0]->Id()); in PrepareBasicBlock()
203 const BasicBlock* pred_bb = mir_graph_->GetBasicBlock(pred_lvn->Id()); in NullCheckedInAllPredecessors()
Dglobal_value_numbering.h187 const BasicBlock* GetBasicBlock(uint16_t bb_id) const { in GetBasicBlock() function
188 return mir_graph_->GetBasicBlock(bb_id); in GetBasicBlock()
Dmir_analysis.cc877 ending_bb = GetBasicBlock(ending_bb->fall_through); in AnalyzeBlock()
890 if ((GetBasicBlock(ending_bb->taken)->taken == bb->id) || in AnalyzeBlock()
891 (GetBasicBlock(ending_bb->taken)->fall_through == bb->id)) { in AnalyzeBlock()
936 tbb = GetBasicBlock(tbb->fall_through); in AnalyzeBlock()
Dmir_optimization_test.cc406 BasicBlock* catch_handler = cu_.mir_graph->GetBasicBlock(5u); in TEST_F()
409 BasicBlock* check_bb = cu_.mir_graph->GetBasicBlock(3u); in TEST_F()
Dmir_graph.h596 BasicBlock* GetBasicBlock(unsigned int block_id) const { in GetBasicBlock() function
894 (GetBasicBlock(target_bb_id)->start_offset <= branch_bb->start_offset)); in IsBackedge()
Dglobal_value_numbering_test.cc432 BasicBlock* catch_handler = cu_.mir_graph->GetBasicBlock(5u); in GlobalValueNumberingTestCatch()
435 BasicBlock* check_bb = cu_.mir_graph->GetBasicBlock(3u); in GlobalValueNumberingTestCatch()
2114 BasicBlock* catch_handler = cu_.mir_graph->GetBasicBlock(5u); in TEST_F()
2117 BasicBlock* check_bb = cu_.mir_graph->GetBasicBlock(3u); in TEST_F()
2125 BasicBlock* merge_block = cu_.mir_graph->GetBasicBlock(4u); in TEST_F()
Dlocal_value_numbering.cc455 const BasicBlock* bb = gvn_->GetBasicBlock(lvn->Id()); in PruneNonAliasingRefsForCatch()
463 const BasicBlock* fall_through_bb = gvn_->GetBasicBlock(bb->fall_through); in PruneNonAliasingRefsForCatch()
506 ArenaBitVector* live_in_v = gvn_->GetMirGraph()->GetBasicBlock(id_)->data_flow_info->live_in_v; in CopyLiveSregValues()
529 ArenaBitVector* live_in_v = gvn_->GetMirGraph()->GetBasicBlock(id_)->data_flow_info->live_in_v; in IntersectSregValueMaps()
Dfrontend.cc580 BasicBlock* bb = cu.mir_graph->GetBasicBlock(idx); in CanCompileMethod()
Dmir_dataflow.cc1358 BasicBlock* pred_bb = GetBasicBlock(iter.Next()); in VerifyPredInfo()
/art/compiler/dex/portable/
Dmir_to_gbc.cc331 if (mir_graph_->GetBasicBlock(bb->taken)->start_offset <= mir->offset) { in ConvertCompareAndBranch()
346 if (mir_graph_->GetBasicBlock(bb->taken)->start_offset <= mir->offset) { in ConvertCompareZeroAndBranch()
961 if (mir_graph_->GetBasicBlock(bb->taken)->start_offset <= bb->start_offset) { in ConvertMIRNode()
1213 mir_graph_->GetBasicBlock(bb->fall_through)->fall_through = NullBasicBlockId; in ConvertMIRNode()
1214 mir_graph_->GetBasicBlock(bb->fall_through)->taken = NullBasicBlockId; in ConvertMIRNode()
/art/compiler/dex/quick/
Dmir_to_lir.cc1214 bb = mir_graph_->GetBasicBlock(dfs_index); in SpecialMIR2LIR()
1250 BasicBlock* curr_bb_fall_through = mir_graph_->GetBasicBlock(curr_bb->fall_through); in MethodMIR2LIR()
/art/compiler/llvm/
Dgbc_expander.cc380 llvm::BasicBlock* GetBasicBlock(uint32_t dex_pc);
2703 llvm::BasicBlock* GBCExpanderPass::GetBasicBlock(uint32_t dex_pc) { in GetBasicBlock() function in __anon00224d560111::GBCExpanderPass
2785 sw->addCase(irb_.getInt32(c), GetBasicBlock(iter.GetHandlerAddress())); in GetLandingPadBasicBlock()