On 22 January 2014 09:16, Connor Abbott cwabbo...@gmail.com wrote:
+class ir_loop_jumps_visitor : public ir_hierarchical_visitor
+{
+public:
+ ir_loop_jumps_visitor();
+ ~ir_loop_jumps_visitor();
+
+ virtual ir_visitor_status visit_enter(ir_loop *);
+ virtual ir_visitor_status
This visitor will allow us to determine all the loop jumps that
correspond to each loop. In SSA form, each input to a phi node is
associated with a predecessor basic block. In the case of phi nodes
at the beginning and end of loops, these predecessor blocks will
include all blocks that end with a