Lines Matching defs:stmt
57 /* Emit statement STMT on the main stream of output block OB. */
60 output_gimple_stmt (struct output_block *ob, struct function *fn, gimple *stmt)
69 code = gimple_code (stmt);
75 bp_pack_var_len_unsigned (&bp, gimple_num_ops (stmt));
76 bp_pack_value (&bp, gimple_no_warning_p (stmt), 1);
77 if (is_gimple_assign (stmt))
80 as_a <gassign *> (stmt)),
82 bp_pack_value (&bp, gimple_has_volatile_ops (stmt), 1);
83 hist = gimple_histogram_value (fn, stmt);
85 bp_pack_var_len_unsigned (&bp, stmt->subcode);
88 stream_output_location_and_block (ob, &bp, gimple_location (stmt));
91 switch (gimple_code (stmt))
94 streamer_write_hwi (ob, gimple_resx_region (as_a <gresx *> (stmt)));
100 as_a <geh_mnt *> (stmt)),
107 as_a <geh_dispatch *> (stmt)));
112 gasm *asm_stmt = as_a <gasm *> (stmt);
130 for (i = 0; i < gimple_num_ops (stmt); i++)
132 tree op = gimple_op (stmt, i);
138 if (!flag_wpa && op && (i || !is_gimple_debug (stmt)))
164 if (is_gimple_call (stmt))
166 if (gimple_call_internal_p (stmt))
168 IFN_LAST, gimple_call_internal_fn (stmt));
170 stream_write_tree (ob, gimple_call_fntype (stmt), true);
180 gtransaction *txn = as_a <gtransaction *> (stmt);
219 gimple *stmt = gsi_stmt (bsi);
222 fprintf (streamer_dump_file, " Streaming gimple stmt ");
223 print_gimple_stmt (streamer_dump_file, stmt, 0, TDF_SLIM);
226 output_gimple_stmt (ob, fn, stmt);
228 /* Emit the EH region holding STMT. */
229 region = lookup_stmt_eh_lp_fn (fn, stmt);