comparison gcc/gimple-streamer-in.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* Routines for reading GIMPLE from a file stream. 1 /* Routines for reading GIMPLE from a file stream.
2 2
3 Copyright (C) 2011-2018 Free Software Foundation, Inc. 3 Copyright (C) 2011-2020 Free Software Foundation, Inc.
4 Contributed by Diego Novillo <dnovillo@google.com> 4 Contributed by Diego Novillo <dnovillo@google.com>
5 5
6 This file is part of GCC. 6 This file is part of GCC.
7 7
8 GCC is free software; you can redistribute it and/or modify it under 8 GCC is free software; you can redistribute it and/or modify it under
34 34
35 /* Read a PHI function for basic block BB in function FN. DATA_IN is 35 /* Read a PHI function for basic block BB in function FN. DATA_IN is
36 the file being read. IB is the input block to use for reading. */ 36 the file being read. IB is the input block to use for reading. */
37 37
38 static gphi * 38 static gphi *
39 input_phi (struct lto_input_block *ib, basic_block bb, struct data_in *data_in, 39 input_phi (class lto_input_block *ib, basic_block bb, class data_in *data_in,
40 struct function *fn) 40 struct function *fn)
41 { 41 {
42 unsigned HOST_WIDE_INT ix; 42 unsigned HOST_WIDE_INT ix;
43 tree phi_result; 43 tree phi_result;
44 int i, len; 44 int i, len;
81 81
82 /* Read a statement with tag TAG in function FN from block IB using 82 /* Read a statement with tag TAG in function FN from block IB using
83 descriptors in DATA_IN. */ 83 descriptors in DATA_IN. */
84 84
85 static gimple * 85 static gimple *
86 input_gimple_stmt (struct lto_input_block *ib, struct data_in *data_in, 86 input_gimple_stmt (class lto_input_block *ib, class data_in *data_in,
87 enum LTO_tags tag) 87 enum LTO_tags tag)
88 { 88 {
89 gimple *stmt; 89 gimple *stmt;
90 enum gimple_code code; 90 enum gimple_code code;
91 unsigned HOST_WIDE_INT num_ops; 91 unsigned HOST_WIDE_INT num_ops;
247 247
248 /* Read a basic block with tag TAG from DATA_IN using input block IB. 248 /* Read a basic block with tag TAG from DATA_IN using input block IB.
249 FN is the function being processed. */ 249 FN is the function being processed. */
250 250
251 void 251 void
252 input_bb (struct lto_input_block *ib, enum LTO_tags tag, 252 input_bb (class lto_input_block *ib, enum LTO_tags tag,
253 struct data_in *data_in, struct function *fn, 253 class data_in *data_in, struct function *fn,
254 int count_materialization_scale) 254 int count_materialization_scale)
255 { 255 {
256 unsigned int index; 256 unsigned int index;
257 basic_block bb; 257 basic_block bb;
258 gimple_stmt_iterator bsi; 258 gimple_stmt_iterator bsi;