Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/heavy_optimizer/riscv64/
Dfrontend_tests.cc36 bool DoesEdgeExist(const MachineBasicBlock* src_bb, const MachineBasicBlock* end_bb) { in DoesEdgeExist() argument
38 for (auto out_edge : src_bb->out_edges()) { in DoesEdgeExist()
50 if (in_edge->src() == src_bb) { in DoesEdgeExist()
/frameworks/libs/binary_translation/backend/x86_64/
Dmachine_ir_opt_test.cc242 int GetInEdgeIndex(MachineBasicBlock* dst_bb, MachineBasicBlock* src_bb) { in GetInEdgeIndex() argument
244 if (dst_bb->in_edges()[i]->src() == src_bb) { in GetInEdgeIndex()
251 int GetOutEdgeIndex(MachineBasicBlock* src_bb, MachineBasicBlock* dst_bb) { in GetOutEdgeIndex() argument
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()