Lines Matching refs:gsi
54 static void add_stack_tracking_gcall(gimple_stmt_iterator *gsi, bool after) in add_stack_tracking_gcall() argument
65 gsi_insert_after(gsi, gimple_call, GSI_CONTINUE_LINKING); in add_stack_tracking_gcall()
67 gsi_insert_before(gsi, gimple_call, GSI_SAME_STMT); in add_stack_tracking_gcall()
113 static void add_stack_tracking_gasm(gimple_stmt_iterator *gsi, bool after) in add_stack_tracking_gasm() argument
134 add_stack_tracking_gcall(gsi, after); in add_stack_tracking_gasm()
144 gsi_insert_after(gsi, asm_call, GSI_CONTINUE_LINKING); in add_stack_tracking_gasm()
146 gsi_insert_before(gsi, asm_call, GSI_SAME_STMT); in add_stack_tracking_gasm()
150 static void add_stack_tracking(gimple_stmt_iterator *gsi, bool after) in add_stack_tracking() argument
161 add_stack_tracking_gasm(gsi, after); in add_stack_tracking()
163 add_stack_tracking_gcall(gsi, after); in add_stack_tracking()
175 gimple_stmt_iterator gsi = { 0 }; in stackleak_instrument_execute() local
191 for (gsi = gsi_start_bb(bb); !gsi_end_p(gsi); gsi_next(&gsi)) { in stackleak_instrument_execute()
194 stmt = gsi_stmt(gsi); in stackleak_instrument_execute()
209 add_stack_tracking(&gsi, true); in stackleak_instrument_execute()
253 gsi = gsi_after_labels(bb); in stackleak_instrument_execute()
254 add_stack_tracking(&gsi, false); in stackleak_instrument_execute()