Home | History | Annotate | Download | only in gcc

Lines Matching refs:ob

76    in OB.  The string might or might not include a trailing '\0'.
79 duration of the OB and thus OB can keep pointer into it. */
82 streamer_string_index (struct output_block *ob, const char *s, unsigned int len,
92 slot = ob->string_hash_table->find_slot (&s_slot, INSERT);
95 struct lto_output_stream *string_stream = ob->string_stream;
97 struct string_slot *new_slot = XOBNEW (&ob->obstack, struct string_slot);
103 string = tmp = XOBNEWVEC (&ob->obstack, char, len);
125 /* Output STRING of LEN characters to the string table in OB. The
129 duration of the OB and thus OB can keep pointer into it. */
132 streamer_write_string_with_length (struct output_block *ob,
139 streamer_string_index (ob, s, len, persistent));
146 table in OB. Then put the index onto the INDEX_STREAM.
148 duration of the OB and thus OB can keep pointer into it. */
151 streamer_write_string (struct output_block *ob,
156 streamer_write_string_with_length (ob, index_stream, string,
164 /* Output STRING of LEN characters to the string table in OB. Then
167 duration of the OB and thus OB can keep pointer into it. */
170 bp_pack_string_with_length (struct output_block *ob, struct bitpack_d *bp,
175 index = streamer_string_index (ob, s, len, persistent);
181 table in OB. Then put the index onto the bitpack BP.
183 duration of the OB and thus OB can keep pointer into it. */
186 bp_pack_string (struct output_block *ob, struct bitpack_d *bp,
191 index = streamer_string_index (ob, s, strlen (s) + 1, persistent);
200 streamer_write_zero (struct output_block *ob)
202 streamer_write_char_stream (ob->main_stream, 0);
206 /* Write an unsigned HOST_WIDE_INT value WORK to OB->main_stream. */
209 streamer_write_uhwi (struct output_block *ob, unsigned HOST_WIDE_INT work)
211 streamer_write_uhwi_stream (ob->main_stream, work);
215 /* Write a HOST_WIDE_INT value WORK to OB->main_stream. */
218 streamer_write_hwi (struct output_block *ob, HOST_WIDE_INT work)
220 streamer_write_hwi_stream (ob->main_stream, work);
223 /* Write a poly_uint64 value WORK to OB->main_stream. */
226 streamer_write_poly_uint64 (struct output_block *ob, poly_uint64 work)
229 streamer_write_uhwi_stream (ob->main_stream, work.coeffs[i]);
232 /* Write a poly_int64 value WORK to OB->main_stream. */
235 streamer_write_poly_int64 (struct output_block *ob, poly_int64 work)
238 streamer_write_hwi_stream (ob->main_stream, work.coeffs[i]);
241 /* Write a gcov counter value WORK to OB->main_stream. */
244 streamer_write_gcov_count (struct output_block *ob, gcov_type work)
246 streamer_write_gcov_count_stream (ob->main_stream, work);
365 /* Write raw DATA of length LEN to the output block OB. */
395 /* Emit the physical representation of wide_int VAL to output block OB. */
398 streamer_write_wide_int (struct output_block *ob, const wide_int &val)
402 streamer_write_uhwi (ob, val.get_precision ());
403 streamer_write_uhwi (ob, len);
405 streamer_write_hwi (ob, val.elt (i));
408 /* Emit the physical representation of widest_int W to output block OB. */
411 streamer_write_widest_int (struct output_block *ob,
416 streamer_write_uhwi (ob, w.get_precision ());
417 streamer_write_uhwi (ob, len);
419 streamer_write_hwi (ob, w.elt (i));