Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/backend/x86_64/
Dmachine_ir_analysis.cc76 Loop* CollectLoop(MachineIR* ir, const MachineEdgeVector& back_edges, size_t begin, size_t end) { in CollectLoop() argument
79 auto* head_bb = back_edges[begin]->dst(); in CollectLoop()
84 auto* back_branch_bb = back_edges[edge_no]->src(); in CollectLoop()
86 CHECK_EQ(back_edges[edge_no]->dst(), head_bb); in CollectLoop()
136 ArenaVector<MachineEdge*> back_edges(arena); in FindLoops() local
137 back_edges.reserve(kMaxBackEdgesExpected); in FindLoops()
148 back_edges.push_back(edge); in FindLoops()
154 std::sort(back_edges.begin(), back_edges.end(), CompareBackEdges); in FindLoops()
158 back_edges.push_back(&empty_edge); in FindLoops()
162 for (size_t edge_no = 1; edge_no < back_edges.size(); ++edge_no) { in FindLoops()
[all …]