Searched refs:out_edges (Results 1 – 14 of 14) sorted by relevance
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/ |
D | frontend_tests.cc | 38 for (auto out_edge : src_bb->out_edges()) { in DoesEdgeExist() 154 EXPECT_EQ(preloop_bb->out_edges().size(), 1UL); in TEST() 156 EXPECT_EQ(loop_bb->out_edges().size(), 2UL); in TEST() 158 EXPECT_EQ(signal_exit_bb->out_edges().size(), 0UL); in TEST() 224 auto* next_bb = bb->out_edges()[0]->dst(); in TEST() 227 ASSERT_EQ(next_bb->out_edges()[1]->dst(), bb); in TEST() 274 auto* bb2 = bb1->out_edges()[1]->dst(); in TEST() 276 ASSERT_EQ(bb2->out_edges()[1]->dst(), bb1); in TEST() 278 auto* bb3 = bb1->out_edges()[0]->dst(); in TEST() 281 auto* bb4 = bb3->out_edges()[0]->dst(); in TEST() [all …]
|
/frameworks/libs/binary_translation/backend/x86_64/ |
D | machine_ir_test.cc | 85 EXPECT_EQ(bb1->out_edges().size(), 1UL); in TEST() 86 EXPECT_EQ(bb1->out_edges().front()->src(), bb1); in TEST() 87 EXPECT_EQ(bb1->out_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() 95 EXPECT_EQ(new_bb->out_edges().back()->src(), new_bb); in TEST() 96 EXPECT_EQ(new_bb->out_edges().back()->dst(), bb3); in TEST()
|
D | machine_ir_opt.cc | 153 new_bb->out_edges().push_back(new_edge); in InsertNodeOnEdge() 172 if (pred_bb->out_edges().size() >= 2) { in RemoveCriticalEdges() 184 CHECK_NE(bb->out_edges().size(), 0); in RemovePutIfDead() 192 for (auto out_edge : bb->out_edges()) { in RemovePutIfDead() 211 if (bb->out_edges().size() == 0) { in RemoveRedundantPut() 246 if (bb->out_edges().size() == 1 && bb->out_edges()[0]->dst() == bb) { in IsForwarderBlock() 255 CHECK_EQ(bb->out_edges().size(), 1); in UnlinkForwarderBlock() 256 auto dst = bb->out_edges()[0]->dst(); in UnlinkForwarderBlock() 263 auto* edge = bb->out_edges()[0]; in UnlinkForwarderBlock()
|
D | machine_ir_check.cc | 37 if (bb->out_edges().size() == 0 && bb->in_edges().size() == 0) { in CheckNoDanglingEdgesOrBasicBlocks() 44 for (auto* edge : bb->out_edges()) { in CheckNoDanglingEdgesOrBasicBlocks() 53 if (!CheckEdgeInVector(edge, edge->src()->out_edges())) { in CheckNoDanglingEdgesOrBasicBlocks() 69 for (auto* edge : bb->out_edges()) { in CheckInOutEdgesLinksToBasicBlock() 78 for (auto* edge : src->out_edges()) { in IsBasicBlockSuccessor()
|
D | context_liveness_analyzer.cc | 52 if (bb->out_edges().size() == 0) { in VisitBasicBlock() 55 for (auto* out_edge : bb->out_edges()) { in VisitBasicBlock()
|
D | rename_vregs.cc | 70 CHECK_EQ(pred_bb->out_edges().size(), 1); in GenInterBasicBlockMove() 89 for (auto edge : bb->out_edges()) { in RenameVRegs()
|
D | machine_ir_analysis.cc | 62 for (auto* edge : bb->out_edges()) { in PostOrderTraverseBBListRecursive() 144 for (auto* edge : bb->out_edges()) { in FindLoops()
|
D | liveness_analyzer.cc | 60 for (auto edge : bb->out_edges()) { in VisitBasicBlock()
|
D | machine_ir_opt_test.cc | 252 for (size_t i = 0; i < src_bb->out_edges().size(); i++) { in GetOutEdgeIndex() 253 if (src_bb->out_edges()[i]->dst() == dst_bb) { in GetOutEdgeIndex() 297 ASSERT_EQ(bb2->out_edges().size(), 2UL); in TEST() 300 EXPECT_EQ(new_bb, bb2->out_edges()[1 - bb4_index_in_bb2]->dst()); in TEST() 338 ASSERT_EQ(bb2->out_edges().size(), 2UL); in TEST() 341 EXPECT_EQ(new_bb, bb2->out_edges()[1 - bb3_index_in_bb2]->dst()); in TEST() 382 ASSERT_EQ(bb2->out_edges().size(), 2UL); in TEST() 385 EXPECT_EQ(new_bb, bb2->out_edges()[1 - bb4_index_in_bb2]->dst()); in TEST()
|
D | machine_ir_check_test.cc | 44 bb2->out_edges().push_back(good_edge); in TEST() 60 bb1->out_edges().push_back(bad_edge); in TEST() 74 bb1->out_edges().push_back(bb1_to_bb2_edge); in TEST()
|
D | loop_guest_context_optimizer.cc | 105 CHECK_EQ(bb->out_edges().size(), 1); in GenerateGetInsns() 191 for (auto* out_edge : bb->out_edges()) { in GeneratePutsInPostloop()
|
D | rename_vregs_local.cc | 110 for (auto* out_edge : basic_block->out_edges()) { in RenameSuccessorsLiveIns()
|
/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/ |
D | machine_ir.h | 300 src->out_edges().push_back(edge); in AddEdge() 320 for (auto out_edge : bb->out_edges()) { in SplitBasicBlock() 323 new_bb->out_edges().swap(bb->out_edges()); in SplitBasicBlock()
|
/frameworks/libs/binary_translation/backend/include/berberis/backend/common/ |
D | machine_ir.h | 333 [[nodiscard]] const MachineEdgeVector& out_edges() const { return out_edges_; } in out_edges() function 334 [[nodiscard]] MachineEdgeVector& out_edges() { return out_edges_; } in out_edges() function
|