Searched refs:new_bb (Results 1 – 6 of 6) sorted by relevance
/frameworks/libs/binary_translation/backend/x86_64/ |
D | machine_ir_test.cc | 47 auto new_bb = machine_ir.SplitBasicBlock(bb, insn_it); in TEST() local 53 EXPECT_EQ(new_bb->insn_list().size(), static_cast<unsigned int>(4)); in TEST() 82 MachineBasicBlock* new_bb = machine_ir.SplitBasicBlock(bb1, insn_it); in TEST() local 87 EXPECT_EQ(bb1->out_edges().front()->dst(), new_bb); in TEST() 89 EXPECT_EQ(new_bb->in_edges().size(), 1UL); in TEST() 90 EXPECT_EQ(new_bb->in_edges().front()->src(), bb1); in TEST() 91 EXPECT_EQ(new_bb->in_edges().front()->dst(), new_bb); in TEST() 92 EXPECT_EQ(new_bb->out_edges().size(), 2UL); in TEST() 93 EXPECT_EQ(new_bb->out_edges().front()->src(), new_bb); in TEST() 94 EXPECT_EQ(new_bb->out_edges().front()->dst(), bb2); in TEST() [all …]
|
D | machine_ir_opt.cc | 148 MachineBasicBlock* new_bb = ir->NewBasicBlock(); in InsertNodeOnEdge() local 149 ir->bb_list().push_back(new_bb); in InsertNodeOnEdge() 152 MachineEdge* new_edge = NewInArena<MachineEdge>(ir->arena(), ir->arena(), new_bb, succ_bb); in InsertNodeOnEdge() 153 new_bb->out_edges().push_back(new_edge); in InsertNodeOnEdge() 157 edge->set_dst(new_bb); in InsertNodeOnEdge() 158 new_bb->in_edges().push_back(edge); in InsertNodeOnEdge() 160 ChangeBranchTarget(pred_bb, succ_bb, new_bb); in InsertNodeOnEdge() 161 new_bb->insn_list().push_back(ir->NewInsn<PseudoBranch>(succ_bb)); in InsertNodeOnEdge()
|
D | machine_ir_opt_test.cc | 295 auto new_bb = bb3->in_edges()[1 - bb1_index_in_bb3]->src(); in TEST() local 300 EXPECT_EQ(new_bb, bb2->out_edges()[1 - bb4_index_in_bb2]->dst()); in TEST() 336 auto new_bb = bb2->in_edges()[1 - bb1_index_in_bb2]->src(); in TEST() local 341 EXPECT_EQ(new_bb, bb2->out_edges()[1 - bb3_index_in_bb2]->dst()); in TEST() 380 auto new_bb = bb3->in_edges()[1 - bb1_index_in_bb3]->src(); in TEST() local 385 EXPECT_EQ(new_bb, bb2->out_edges()[1 - bb4_index_in_bb2]->dst()); in TEST() 389 ASSERT_EQ(static_cast<PseudoBranch*>(bb2->insn_list().front())->then_bb(), new_bb); in TEST()
|
/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/ |
D | machine_ir.h | 313 MachineBasicBlock* new_bb = NewBasicBlock(); in SplitBasicBlock() local 315 new_bb->insn_list().splice( in SplitBasicBlock() 316 new_bb->insn_list().begin(), bb->insn_list(), insn_it, bb->insn_list().end()); in SplitBasicBlock() 317 bb->insn_list().push_back(NewInsn<PseudoBranch>(new_bb)); in SplitBasicBlock() 321 out_edge->set_src(new_bb); in SplitBasicBlock() 323 new_bb->out_edges().swap(bb->out_edges()); in SplitBasicBlock() 325 AddEdge(bb, new_bb); in SplitBasicBlock() 326 bb_list().push_back(new_bb); in SplitBasicBlock() 327 return new_bb; in SplitBasicBlock()
|
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/ |
D | frontend.cc | 253 MachineBasicBlock* new_bb) { in UpdateBranchTargetsAfterSplit() argument 257 map_it->second.first = new_bb; in UpdateBranchTargetsAfterSplit()
|
D | frontend.h | 468 MachineBasicBlock* new_bb);
|