Searched refs:in_edges (Results 1 – 14 of 14) sorted by relevance
/frameworks/libs/binary_translation/backend/x86_64/ |
D | machine_ir_test.cc | 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() 98 EXPECT_EQ(bb2->in_edges().size(), 1UL); in TEST() 99 EXPECT_EQ(bb2->in_edges().front()->src(), new_bb); in TEST() 100 EXPECT_EQ(bb2->in_edges().front()->dst(), bb2); in TEST() 102 EXPECT_EQ(bb3->in_edges().size(), 1UL); in TEST() 103 EXPECT_EQ(bb3->in_edges().front()->src(), new_bb); in TEST() 104 EXPECT_EQ(bb3->in_edges().front()->dst(), bb3); in TEST()
|
D | machine_ir_opt.cc | 154 succ_bb->in_edges()[in_edge_index] = new_edge; in InsertNodeOnEdge() 158 new_bb->in_edges().push_back(edge); in InsertNodeOnEdge() 166 if (bb->in_edges().size() < 2) { in RemoveCriticalEdges() 169 for (size_t i = 0; i < bb->in_edges().size(); i++) { in RemoveCriticalEdges() 170 MachineEdge* edge = bb->in_edges()[i]; in RemoveCriticalEdges() 239 if (bb->in_edges().size() == 0) { in IsForwarderBlock() 257 for (auto edge : bb->in_edges()) { in UnlinkForwarderBlock() 259 dst->in_edges().push_back(edge); in UnlinkForwarderBlock() 264 auto dst_in_edge_it = std::find(dst->in_edges().begin(), dst->in_edges().end(), edge); in UnlinkForwarderBlock() 265 CHECK(dst_in_edge_it != dst->in_edges().end()); in UnlinkForwarderBlock() [all …]
|
D | machine_ir_check.cc | 37 if (bb->out_edges().size() == 0 && bb->in_edges().size() == 0) { in CheckNoDanglingEdgesOrBasicBlocks() 45 if (!CheckEdgeInVector(edge, edge->dst()->in_edges())) { in CheckNoDanglingEdgesOrBasicBlocks() 52 for (auto* edge : bb->in_edges()) { in CheckNoDanglingEdgesOrBasicBlocks() 64 for (auto* edge : bb->in_edges()) { in CheckInOutEdgesLinksToBasicBlock()
|
D | machine_ir_analysis.cc | 99 if (bb->in_edges().size() == 0) { in CollectLoop() 105 for (auto in_edge : bb->in_edges()) { in CollectLoop() 120 CHECK_EQ(entry_bb->in_edges().size(), 0); in GetReversePostOrderBBList()
|
D | loop_guest_context_optimizer.cc | 143 CHECK_EQ(bb->in_edges().size(), 1); in GeneratePutInsns() 178 CHECK_GE(header->in_edges().size(), 2); in GenerateGetsInPreloop() 179 for (auto in_edge : header->in_edges()) { in GenerateGetsInPreloop()
|
D | machine_ir_check_test.cc | 43 bb1->in_edges().push_back(bad_edge); in TEST() 61 bb2->in_edges().push_back(good_edge); in TEST() 94 bb2->in_edges().push_back(bb1_to_bb2_edge); in TEST() 95 bb1->in_edges().push_back(bb2_to_bb1_edge); in TEST()
|
D | context_liveness_analyzer.cc | 36 for (auto edge : bb->in_edges()) { in Init()
|
D | liveness_analyzer.cc | 43 for (auto edge : bb->in_edges()) { in Run()
|
D | machine_ir_opt_test.cc | 243 for (size_t i = 0; i < dst_bb->in_edges().size(); i++) { in GetInEdgeIndex() 244 if (dst_bb->in_edges()[i]->src() == src_bb) { in GetInEdgeIndex() 292 ASSERT_EQ(bb3->in_edges().size(), 2UL); in TEST() 295 auto new_bb = bb3->in_edges()[1 - bb1_index_in_bb3]->src(); in TEST() 333 ASSERT_EQ(bb2->in_edges().size(), 2UL); in TEST() 336 auto new_bb = bb2->in_edges()[1 - bb1_index_in_bb2]->src(); in TEST() 377 ASSERT_EQ(bb3->in_edges().size(), 2UL); in TEST() 380 auto new_bb = bb3->in_edges()[1 - bb1_index_in_bb3]->src(); in TEST()
|
D | rename_vregs.cc | 60 if (succ_bb->in_edges().size() == 1) { in GenInterBasicBlockMove()
|
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/ |
D | frontend_tests.cc | 49 for (auto in_edge : end_bb->in_edges()) { in DoesEdgeExist() 60 if (bb->in_edges().size() == 0U) { in FindEntryBasicBlock() 153 EXPECT_EQ(preloop_bb->in_edges().size(), 1UL); in TEST() 155 EXPECT_EQ(loop_bb->in_edges().size(), 2UL); in TEST() 157 EXPECT_EQ(signal_exit_bb->in_edges().size(), 1UL); in TEST()
|
/frameworks/libs/binary_translation/backend/common/ |
D | machine_ir_debug.cc | 82 for (const auto* edge : in_edges()) { in GetDebugString() 106 for (auto* in_edge : bb->in_edges()) { in GetDebugStringForDot()
|
/frameworks/libs/binary_translation/backend/include/berberis/backend/common/ |
D | machine_ir.h | 330 [[nodiscard]] const MachineEdgeVector& in_edges() const { return in_edges_; } in in_edges() function 331 [[nodiscard]] MachineEdgeVector& in_edges() { return in_edges_; } in in_edges() function
|
/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/ |
D | machine_ir.h | 301 dst->in_edges().push_back(edge); in AddEdge()
|