Searched refs:src_block (Results 1 – 5 of 5) sorted by relevance
35 def __init__(self, src_block, dst_block, flag): argument47 self.src_block = src_block69 self.src_block.exit_arcs.remove(self)72 elif (len(self.src_block.entry_arcs) > 0 and73 all(a.resolved for a in self.src_block.entry_arcs) and74 all(a.resolved for a in self.src_block.exit_arcs if a != self)):75 in_flow = sum(a.count for a in self.src_block.entry_arcs)76 out_flow = sum(a.count for a in self.src_block.exit_arcs
184 src_block = func.blocks[src_block_index]191 arc = arc_summary.ArcSummary(src_block, dst_block, flag)192 src_block.exit_arcs.append(arc)
63 self.assertEqual(self.count, arc.src_block.count)79 self.assertEqual(self.count, arc.src_block.count)
61 str(a.src_block.index) for a in self.entry_arcs))
107 func.blocks[src_block_index].exit_arcs[j].src_block.index,111 self.assertEqual(func.blocks[i].entry_arcs[0].src_block.index,