Home
last modified time | relevance | path

Searched refs:in_edges (Results 1 – 14 of 14) sorted by relevance

/frameworks/libs/binary_translation/backend/x86_64/
Dmachine_ir_test.cc89 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()
Dmachine_ir_opt.cc154 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 …]
Dmachine_ir_check.cc37 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()
Dmachine_ir_analysis.cc99 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()
Dloop_guest_context_optimizer.cc143 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()
Dmachine_ir_check_test.cc43 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()
Dcontext_liveness_analyzer.cc36 for (auto edge : bb->in_edges()) { in Init()
Dliveness_analyzer.cc43 for (auto edge : bb->in_edges()) { in Run()
Dmachine_ir_opt_test.cc243 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()
Drename_vregs.cc60 if (succ_bb->in_edges().size() == 1) { in GenInterBasicBlockMove()
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/
Dfrontend_tests.cc49 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/
Dmachine_ir_debug.cc82 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/
Dmachine_ir.h330 [[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/
Dmachine_ir.h301 dst->in_edges().push_back(edge); in AddEdge()