]>
Commit | Line | Data |
---|---|---|
e68c3c6c SP |
1 | 2010-01-05 Sebastian Pop <sebastian.pop@amd.com> |
2 | ||
3 | PR middle-end/42178 | |
4 | * graphite-interchange.c (lst_try_interchange_loops): Do not return | |
5 | the before, nest, and after LSTs. | |
6 | (lst_try_interchange): Removed. | |
7 | (lst_interchange_select_inner): Do not iterate over the LSTs if they | |
8 | were modified. | |
9 | (lst_interchange_select_outer): Apply interchange on the outer loop | |
10 | until there are no more changes in the inner loops. | |
11 | ||
a84a556d SP |
12 | 2009-12-18 Sebastian Pop <sebastian.pop@amd.com> |
13 | ||
14 | Revert patch fixing PR middle-end/42221. | |
15 | ||
16 | 2009-12-18 Sebastian Pop <sebastian.pop@amd.com> | |
17 | ||
18 | PR middle-end/42180 | |
19 | * graphite-sese-to-poly.c (follow_ssa_with_commutative_ops): Handle | |
20 | GIMPLE_CALL. | |
21 | ||
22 | * testsuite/gfortran.dg/graphite/pr42180.f90: Add compile flags. | |
23 | ||
b147df0b SP |
24 | 2009-12-18 Sebastian Pop <sebastian.pop@amd.com> |
25 | ||
26 | PR middle-end/42180 | |
27 | * graphite-sese-to-poly.c (split_reduction_stmt): Do not split blocks | |
28 | that contain only one statement. | |
29 | ||
a84a556d SP |
30 | * testsuite/gfortran.dg/graphite/pr42180.f90: New. |
31 | ||
ce20f9d6 SP |
32 | 2009-12-17 Sebastian Pop <sebastian.pop@amd.com> |
33 | ||
34 | PR middle-end/42393 | |
35 | * testsuite/gfortran.dg/graphite/pr42393.f90: New. | |
36 | ||
d2a271ac SP |
37 | 2009-12-17 Sebastian Pop <sebastian.pop@amd.com> |
38 | ||
39 | PR middle-end/42186 | |
40 | * testsuite/gfortran.dg/graphite/pr42186.f90: New. | |
41 | ||
403ebc7e SP |
42 | 2009-12-17 Sebastian Pop <sebastian.pop@amd.com> |
43 | ||
44 | PR middle-end/42205 | |
45 | * graphite-sese-to-poly.c (translate_scalar_reduction_to_array_for_stmt): | |
46 | Insert the reduction copy in the same block as the phi node. | |
47 | (follow_ssa_with_commutative_ops): Handle GIMPLE_NOPs. | |
48 | ||
49 | * testsuite/gcc.dg/graphite/pr42205-1.c: New. | |
50 | * testsuite/gcc.dg/graphite/pr42205-2.c: New. | |
51 | ||
52 | 2009-12-17 Sebastian Pop <sebastian.pop@amd.com> | |
53 | ||
54 | PR middle-end/42221 | |
55 | * sese.c (expand_scalar_variables_expr): Follow the SSA links into | |
56 | the array indexing of ADDR_EXPRs. | |
57 | ||
58 | * testsuite/gcc.dg/graphite/pr42221.c: New. | |
59 | ||
070ba483 SP |
60 | 2009-12-17 Sebastian Pop <sebastian.pop@amd.com> |
61 | ||
62 | PR middle-end/42178 | |
63 | PR middle-end/42334 | |
64 | * graphite-interchange.c (lst_try_interchange): Do not modify OUTER | |
65 | index. Call lst_interchange_select_inner only once. | |
66 | (lst_interchange_select_inner): Update use of lst_try_interchange. | |
67 | (lst_interchange_select_outer): Update. | |
68 | ||
69 | 2009-12-15 Sebastian Pop <sebastian.pop@amd.com> | |
70 | ||
71 | PR middle-end/42178 | |
72 | PR middle-end/42334 | |
73 | * graphite-interchange.c (lst_try_interchange): Do not increment the | |
74 | the OUTER index when there is no AFTER kernel. Do not increment the | |
75 | OUTER index for after processing the AFTER kernel. | |
76 | (lst_interchange_select_inner): Call lst_try_interchange only on loops. | |
77 | (lst_interchange_select_outer): Do not pass in a pointer to the OUTER | |
78 | index. Do not pass to lst_interchange_select_inner the OUTER index. | |
79 | (scop_do_interchange): Update use of lst_interchange_select_outer. | |
80 | ||
81 | * testsuite/gfortran.dg/graphite/graphite.exp | |
82 | (DEFAULT_FLAGS_GRAPHITE_IDENTITY): Remove -fdump-tree-graphite-all. | |
83 | * testsuite/gfortran.dg/graphite/interchange-1.f: Add comment. Clean | |
84 | the graphite dump file. | |
85 | * testsuite/gfortran.dg/graphite/interchange-2.f: Same. | |
86 | * testsuite/gfortran.dg/graphite/pr42334-1.f: New. | |
87 | ||
88 | 2009-12-15 Sebastian Pop <sebastian.pop@amd.com> | |
89 | ||
90 | PR middle-end/42178 | |
91 | PR middle-end/42334 | |
92 | * graphite-interchange.c (lst_perfect_nestify): Reset to NULL the LSTs | |
93 | that are empty. | |
94 | (lst_do_interchange_1): Renamed lst_interchange_select_inner. | |
95 | (lst_try_interchange): Reimplemented. | |
96 | (lst_interchange_select_inner): Same. | |
97 | (lst_do_interchange): Renamed lst_interchange_select_outer. | |
98 | Reimplemented. | |
99 | (scop_do_interchange): Update use of lst_interchange_select_outer. | |
100 | ||
101 | * testsuite/g++.dg/graphite/pr42130.C: Add -fgraphite-identity. | |
102 | * testsuite/gcc.dg/graphite/block-0.c: Un-XFAILed. | |
103 | * testsuite/gcc.dg/graphite/pr42211.c: New. | |
104 | * testsuite/gfortran.dg/graphite/pr42334.f90: New. | |
105 | ||
4b216ab0 SP |
106 | 2009-12-14 Sebastian Pop <sebastian.pop@amd.com> |
107 | ||
108 | PR middle-end/42181 | |
109 | * graphite-scop-detection.c (graphite_can_represent_scev): Handle more | |
110 | carefully PLUS_EXPR, MINUS_EXPR, and MULT_EXPR. | |
111 | ||
112 | * testsuite/gfortran.dg/graphite/pr42181.f90: New. | |
113 | ||
c880097d SP |
114 | 2009-12-12 Sebastian Pop <sebpop@gmail.com> |
115 | ||
116 | PR middle-end/42284 | |
117 | * graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Call | |
118 | insert_out_of_ssa_copy_on_edge for anything else than SSA_NAMEs. | |
119 | (detect_commutative_reduction_arg): Simplified. | |
120 | (detect_commutative_reduction): Early return when the argument of | |
121 | the close phi is not of an SSA_NAME. | |
122 | ||
123 | * testsuite/gcc.dg/graphite/pr42284.c: New. | |
124 | ||
125 | 2009-12-11 Alexander Monakov <amonakov@ispras.ru> | |
126 | ||
127 | * dbgcnt.def (graphite_scop): New counter. | |
128 | * graphite.c: Include dbgcnt.h | |
129 | (graphite_transform_loops): Use new counter to limit transformations. | |
130 | ||
d505015a SP |
131 | 2009-12-08 Sebastian Pop <sebpop@gmail.com> |
132 | ||
133 | PR middle-end/42285 | |
134 | * graphite-scop-detection.c (graphite_can_represent_init): Also | |
135 | handle more complex MULT_EXPRs containing parameters by recursion | |
136 | on the structure. | |
137 | ||
138 | * testsuite/gfortran.dg/graphite/pr42285.f90: New. | |
139 | ||
140 | 2009-12-01 Tobias Grosser <grosser@fim.uni-passau.de> | |
141 | ||
142 | * testsuite/g++.dg/graphite/pr42130.C: Fix type. | |
143 | ||
ed807d06 AM |
144 | 2009-11-29 Alexander Monakov <amonakov@gcc.gnu.org> |
145 | ||
146 | * testsuite/g++.dg/graphite/pr42130.C: Correct testcase. | |
147 | ||
7c246f5e TG |
148 | 2009-11-24 Tobias Grosser <grosser@fim.uni-passau.de> |
149 | ||
150 | * graphite-clast-to-gimple.c (try_mark_loop_parallel, | |
151 | graphite_create_new_loop_guard, translate_clast_for): Fix comments. | |
152 | ||
0dd91484 TG |
153 | 2009-11-23 Tobias Grosser <grosser@fim.uni-passau.de> |
154 | ||
155 | PR middle-end/42130 | |
156 | * graphite-clast-to-gimple.c (graphite_create_new_loop_guard, | |
157 | translate_clast_for_loop): New. | |
158 | (translate_clast_for): Add a condition around the loop, to do not | |
159 | execute loops with zero iterations. | |
160 | * testsuite/g++.dg/graphite/pr42130.C: New. | |
161 | * testsuite/gcc.dg/graphite/pr35356-2.c: Adapt. | |
162 | ||
fd2d813d TG |
163 | 2009-11-23 Tobias Grosser <grosser@fim.uni-passau.de> |
164 | ||
165 | * graphite-clast-to-gimple.c (try_mark_loop_parallel): New. | |
166 | (translate_clast_for, translate_clast_guard, translate_clast, gloog): | |
167 | Remove context_loop and level. | |
168 | ||
9016166f TG |
169 | 2009-11-23 Tobias Grosser <grosser@fim.uni-passau.de> |
170 | ||
171 | * graphite-clast-to-gimple.c (translate_clast_user, | |
172 | translate_clast_for, translate_clast_guard): Simplify and move common | |
173 | elements to translate_clast(). | |
174 | (translate_clast): Simplify and get common elements. | |
175 | ||
e1f9c1cd TG |
176 | 2009-11-23 Tobias Grosser <grosser@fim.uni-passau.de> |
177 | ||
178 | * graphite-clast-to-gimple.c (translate_clast_user, | |
179 | translate_clast_for, translate_clast_guard): Split out of | |
180 | translate_clast. | |
181 | ||
7a521ff2 TG |
182 | 2009-11-21 Tobias Grosser <grosser@fim.uni-passau.de> |
183 | ||
184 | * graphite-clast-to-gimple.c (clast_name_index, new_clast_name_index, | |
185 | clast_name_to_index, save_clast_name_index, debug_clast_name_index, | |
186 | debug_clast_name_indexes_1, debug_clast_name_indexes, | |
187 | clast_name_index_elt_info, eq_clast_name_indexes): Moved from sese.h. | |
188 | (clast_name_to_gcc, clast_to_gcc_expression, | |
189 | clast_to_gcc_expression_red, gcc_type_for_clast_expr, | |
190 | gcc_type_for_clast_eq, graphite_translate_clast_equation, | |
191 | graphite_create_guard_cond_expr, graphite_create_new_loop, | |
192 | translate_clast): Add params_index. | |
193 | (initialize_cloog_names): Create parameter strings from scratch, do | |
194 | not reference other strings. | |
195 | (create_params_index): New. | |
196 | (gloog): Initialize params_index. | |
197 | * graphite-scop-detection (free_scops_1): Removed. | |
198 | (limit_scops): Use normal free_scops. | |
199 | * graphite-sese-to-poly.c (save_var_names): Removed. | |
200 | (parameter_index_in_region): Do not initialize SESE_PARAM_NAMES | |
201 | and SESE_PARAMS_INDEX. | |
202 | * sese.c (new_sese, free_sese): Dito. | |
203 | * sese.h (struct sese): Remove params_index, params_names. | |
204 | (SESE_PARAMS_INDEX, SESE_PARAMS_NAMES): Removed. | |
205 | ||
ca11b093 SP |
206 | 2009-11-20 Sebastian Pop <sebastian.pop@amd.com> |
207 | ||
208 | Revert the following patch from 2009-09-14: | |
209 | * graphite-blocking.c: Fix order of includes: tree-chrec.h, then | |
210 | tree-scalar-evolution.h, and then tree-data-ref.h. | |
211 | * graphite-clast-to-gimple.c: Same. | |
212 | * graphite-dependences.c: Same. | |
213 | * graphite-interchange.c: Same. | |
214 | * graphite-poly.c: Same. | |
215 | * graphite-scop-detection.c: Same. | |
216 | * graphite-sese-to-poly.c: Same. | |
217 | * graphite.c: Same. | |
218 | * lambda-code.c: Same. | |
219 | * matrix-reorg.c: Same. | |
220 | * tree-data-ref.c: Same. | |
221 | * tree-if-conv.c: Same. | |
222 | * tree-loop-distribu: Same.: Same. | |
223 | * tree-loop-linear.c: Same. | |
224 | * tree-parloops.c: Same. | |
225 | * tree-predcom.c: Same. | |
226 | * tree-vect-patterns.c: Same. | |
227 | ||
8a9e9475 SP |
228 | 2009-11-20 Sebastian Pop <sebastian.pop@amd.com> |
229 | ||
230 | Revert patch from 2009-09-14. | |
231 | * tree-ssa-loop.c (gate_graphite_transforms): Re-enable Graphite | |
232 | passes at -O1 and below. | |
233 | ||
4bf4e169 SP |
234 | 2009-11-18 Sebastian Pop <sebastian.pop@amd.com> |
235 | ||
236 | PR middle-end/40281 | |
237 | * testsuite/gcc.dg/graphite/pr40281.c: New. | |
238 | ||
239 | * tree-scalar-evolution.c (instantiate_scev_poly): Base and stride | |
240 | evolutions should not variate in inner loops. | |
241 | ||
12aec731 SP |
242 | 2009-11-18 Sebastian Pop <sebastian.pop@amd.com> |
243 | ||
244 | PR middle-end/42050 | |
245 | * testsuite/gfortran.dg/graphite/pr42050.f90: New. | |
246 | ||
aec12420 SP |
247 | 2009-11-18 Sebastian Pop <sebastian.pop@amd.com> |
248 | ||
249 | * graphite-interchange.c (memory_strides_in_loop_depth): New. | |
250 | (pbb_interchange_profitable_p): Call memory_strides_in_loop_depth. | |
251 | ||
25e20d33 SP |
252 | 2009-11-18 Sebastian Pop <sebastian.pop@amd.com> |
253 | ||
254 | * graphite-blocking.c (scop_do_block): New. | |
255 | * graphite-poly.c (apply_poly_transforms): Call scop_do_block. | |
256 | * graphite-poly.h (scop_do_block): Declared. | |
257 | ||
e3bde9f4 SP |
258 | 2009-11-18 Sebastian Pop <sebastian.pop@amd.com> |
259 | ||
260 | * graphite-blocking.c (pbb_strip_mine_profitable_p): The parameter | |
261 | depth is the loop nesting depth in the LST. Call psct_dynamic_dim | |
262 | to transform depth into the time_depth before calling | |
263 | pbb_number_of_iterations_at_time. | |
264 | (lst_do_strip_mine): Use a scalar variable instead of recomputing | |
265 | lst_depth. | |
266 | ||
27e432be SP |
267 | 2009-11-18 Sebastian Pop <sebastian.pop@amd.com> |
268 | ||
269 | Reverted the patch for "scattering permutations" from 2009-10-28. | |
270 | ||
271 | * graphite-poly.c (print_permutation): New. | |
272 | (debug_permutation): New. | |
273 | (new_poly_bb): Initialize PBB_PERMUTATION. | |
274 | (free_poly_bb): Free PBB_PERMUTATION. | |
275 | * graphite-poly.h (pbb_permutation_elt_p): Declared. | |
276 | (struct pbb_permutation_elt): New. | |
277 | (PBB_PERMUTATION_ELT_STRIDE): New. | |
278 | (PBB_PERMUTATION_ELT_STRIDED_P): New. | |
279 | (PBB_PERMUTATION_ELT_TIME_DIMENSION): New. | |
280 | (new_pbb_permutation_elt): New. | |
281 | (pbb_permutation_elt_free): New. | |
282 | (struct poly_bb): Add field permutation. | |
283 | (PBB_PERMUTATION): New. | |
284 | (print_permutation): Declared. | |
285 | (debug_permutation): Declared. | |
286 | ||
2bc529bf KT |
287 | 2009-11-04 Konrad Trifunovic <konrad.trifunovic@inria.fr> |
288 | ||
289 | * graphite-interchange.c (build_partial_difference): New. | |
290 | (memory_stride_in_loop): Refactored the computation of | |
291 | equality constraints into build_partial_difference function. | |
292 | Added support for debugging stride computations. | |
293 | ||
8c54631d SP |
294 | 2009-11-03 Sebastian Pop <sebastian.pop@amd.com> |
295 | ||
296 | * graphite-clast-to-gimple.c (gloog): Free if_region, | |
297 | if_region->true_region, and if_region->region. | |
298 | * sese.c (if_region_set_false_region): Free if_region->false_region. | |
299 | (create_if_region_on_edge): Do not use GGC_NEW. | |
300 | (move_sese_in_condition): Remove useless initialization. | |
301 | ||
7b7f2ca7 SP |
302 | 2009-11-03 Sebastian Pop <sebastian.pop@amd.com> |
303 | ||
304 | * graphite-interchange.c (lst_perfect_nestify): Pass 3 parameters | |
305 | for the loops created by the loop distribution. Do not modify the | |
306 | input LSTs. | |
307 | (lst_try_interchange_loops): Same. Use a temporary LST for the | |
308 | transformed schedule. Call lst_update_scattering before data | |
309 | dependence analysis. | |
310 | (lst_try_interchange): Pass an extra parameter INDEX. | |
311 | (lst_do_interchange_1): New. | |
312 | (lst_do_interchange): Call lst_do_interchange_1. | |
313 | (scop_do_interchange): Call lst_update_scattering. | |
314 | * graphite-poly.c (apply_poly_transforms): Do not call | |
315 | lst_update_scattering. | |
316 | * graphite-poly.h (lst_pred): New. | |
317 | (lst_succ): New. | |
318 | (lst_find_first_pbb): Return NULL when not found. | |
319 | (lst_empty_p): New. | |
320 | (lst_insert_in_sequence): Allow LST1 to be NULL. | |
321 | (lst_replace): New. | |
322 | (lst_substitute_3): New. | |
323 | * gcc.dg/graphite/interchange-1.c: XFail. | |
324 | * gcc.dg/graphite/interchange-8.c: XFail. | |
325 | * gcc.dg/graphite/interchange-11.c: XFail. | |
326 | ||
6119e7d5 SP |
327 | 2009-10-30 Sebastian Pop <sebastian.pop@amd.com> |
328 | ||
329 | * graphite-interchange.c (lst_perfectly_nested_p): New. | |
330 | (lst_perfect_nestify): New. | |
331 | (lst_try_interchange_loops): Call store_lst_schedule, | |
332 | lst_perfectly_nested_p, lst_perfect_nestify and restore_lst_schedule. | |
333 | (scop_do_interchange): Avoid redundant legality test. | |
334 | Call lst_do_interchange on a copy of SCOP_TRANSFORMED_SCHEDULE. | |
335 | * graphite-poly.c (apply_poly_transforms): Call lst_update_scattering. | |
336 | * graphite-poly.h (psct_static_dim): New. | |
337 | (lst_dewey_number_at_depth): New. | |
338 | (lst_find_pbb): Restructured. | |
339 | (lst_find_first_pbb): Restructured. | |
340 | (lst_find_last_pbb): New. | |
341 | (lst_contains_p): New. | |
342 | (lst_contains_pbb): New. | |
343 | (lst_create_nest): New. | |
344 | (lst_remove_from_sequence): New. | |
345 | (pbb_update_scattering): New. | |
346 | (lst_update_scattering_under): New. | |
347 | (lst_update_scattering_seq): New. | |
348 | (lst_update_scattering): New. | |
349 | (lst_insert_in_sequence): New. | |
350 | (lst_distribute_lst): New. | |
351 | (lst_remove_all_before_including_pbb): New. | |
352 | (lst_remove_all_before_excluding_pbb): New. | |
353 | ||
431f3f22 SP |
354 | 2009-10-30 Sebastian Pop <sebastian.pop@amd.com> |
355 | ||
356 | * tree-ssa-loop-niter.c (finite_loop_p): Do not call twice | |
357 | get_loop_exit_edges. | |
358 | ||
4c768046 SP |
359 | 2009-10-30 Sebastian Pop <sebastian.pop@amd.com> |
360 | ||
361 | * graphite-poly.c (pbb_remove_duplicate_pdrs): Free collapsed. | |
362 | ||
5fa8514e SP |
363 | 2009-10-28 Konrad Trifunovic <konrad.trifunovic@gmail.com> |
364 | ||
365 | * graphite-poly.c (print_permutation): New. | |
366 | (debug_permutation): New. | |
367 | (new_poly_bb): Initialize PBB_PERMUTATION. | |
368 | (free_poly_bb): Free PBB_PERMUTATION. | |
369 | * graphite-poly.h (pbb_permutation_elt_p): Declared. | |
370 | (struct pbb_permutation_elt): New. | |
371 | (PBB_PERMUTATION_ELT_STRIDE): New. | |
372 | (PBB_PERMUTATION_ELT_STRIDED_P): New. | |
373 | (PBB_PERMUTATION_ELT_TIME_DIMENSION): New. | |
374 | (new_pbb_permutation_elt): New. | |
375 | (pbb_permutation_elt_free): New. | |
376 | (struct poly_bb): Add field permutation. | |
377 | (PBB_PERMUTATION): New. | |
378 | (print_permutation): Declared. | |
379 | (debug_permutation): Declared. | |
380 | ||
6c6f84d7 SP |
381 | 2009-10-26 Sebastian Pop <sebastian.pop@amd.com> |
382 | ||
383 | * graphite-clast-to-gimple.c (gloog): Do not call | |
384 | sese_reset_aux_in_loops. | |
385 | * graphite-sese-to-poly.c (build_loop_iteration_domains): Pass an | |
386 | extra argument for domains. Do not use loop->aux. | |
387 | (build_scop_iteration_domain): Initialize and free domains, pass it | |
388 | to build_loop_iteration_domains and extract the information from | |
389 | domains. Do not use loop->aux. | |
390 | * sese.c (sese_reset_aux_in_loops): Removed. | |
391 | * sese.h (sese_reset_aux_in_loops): Removed. | |
392 | ||
585b3e19 SP |
393 | 2009-10-26 Sebastian Pop <sebastian.pop@amd.com> |
394 | ||
395 | * graphite-clast-to-gimple.c (find_pbb_via_hash): Moved up. | |
396 | (dependency_in_loop_p): Same. | |
397 | (translate_clast): Do not use loop->aux. Initialize | |
398 | loop->can_be_parallel. | |
399 | (mark_loops_parallel): Removed. | |
400 | * graphite-clast-to-gimple.h (mark_loops_parallel): Removed. | |
401 | * graphite.c (free_aux_in_new_loops): Removed. | |
402 | (graphite_finalize): Do not call free_aux_in_new_loops. | |
403 | (graphite_transform_loops): Do not call mark_loops_parallel. | |
404 | ||
405 | 2009-10-26 Li Feng <nemokingdom@gmail.com> | |
a7ed27ac LF |
406 | |
407 | * graphite-clast-to-gimple.c (get_stmtfor_depth): Removed. | |
408 | (translate_clast): Pass an extra parameter LEVEL. | |
409 | Call get_scattering_level. | |
410 | * graphite-clast-to-gimple.h (get_scattering_level): New. | |
411 | ||
8e6ef139 SP |
412 | 2009-10-22 Sebastian Pop <sebastian.pop@amd.com> |
413 | ||
414 | * cfgloop.c (alloc_loop): Initialize loop->single_iv. | |
415 | * cfgloop.h (struct loop): New field single_iv. | |
416 | ||
417 | * graphite-clast-to-gimple.c (pbb_to_depth_to_oldiv): Do not use | |
418 | loop->aux anymore: use loop->single_iv. | |
419 | (graphite_loop_normal_form): Moved... | |
420 | (build_graphite_loop_normal_form): Removed. | |
421 | (gloog): Do not call build_graphite_loop_normal_form. | |
422 | (free_aux_in_new_loops): Moved... | |
423 | (mark_loops_parallel): Restructure. | |
424 | * graphite-clast-to-gimple.h (free_aux_in_new_loops): Do not declare. | |
425 | * graphite-sese-to-poly.c (graphite_loop_normal_form): ...here. | |
426 | (scop_canonicalize_loops): New. | |
427 | (build_poly_scop): Call scop_canonicalize_loops. | |
428 | * graphite.c (free_aux_in_new_loops): ...here. | |
429 | ||
e6dd91b2 SP |
430 | 2009-10-22 Sebastian Pop <sebastian.pop@amd.com> |
431 | ||
432 | * g++.dg/graphite/graphite.exp: Add the same rules as in | |
433 | gcc.dg/graphite/graphite.exp. | |
434 | ||
47fb473f SP |
435 | 2009-10-22 Sebastian Pop <sebastian.pop@amd.com> |
436 | ||
437 | * g++.dg/graphite/id-1.C: New. | |
438 | ||
63858ac6 SP |
439 | 2009-10-22 Sebastian Pop <sebastian.pop@amd.com> |
440 | ||
441 | * graphite-sese-to-poly.c (create_zero_dim_array): Pass an extra | |
442 | argument base_name. | |
443 | (rewrite_close_phi_out_of_ssa): Update use of create_zero_dim_array. | |
444 | (rewrite_phi_out_of_ssa): Same. | |
445 | (rewrite_cross_bb_scalar_deps): Same. | |
446 | (translate_scalar_reduction_to_array): Same. | |
447 | ||
decfe536 SP |
448 | 2009-10-22 Sebastian Pop <sebastian.pop@amd.com> |
449 | ||
450 | * graphite-sese-to-poly.c (build_scop_drs): Disable call to | |
451 | dump_alias_graphs. | |
452 | ||
0d5ef2a9 SP |
453 | 2009-10-22 Sebastian Pop <sebastian.pop@amd.com> |
454 | ||
455 | * graphite-sese-to-poly.c (dump_alias_graphs): New. | |
456 | (build_scop_drs): Call dump_alias_graphs. | |
457 | ||
f70de156 SP |
458 | 2009-10-22 Sebastian Pop <sebastian.pop@amd.com> |
459 | ||
460 | * graphite-poly.c (new_scop): Initialize SCOP_ORIGINAL_SCHEDULE, | |
461 | SCOP_TRANSFORMED_SCHEDULE, and SCOP_SAVED_SCHEDULE. | |
462 | (free_scop): Call free_lst on SCOP_ORIGINAL_SCHEDULE, | |
463 | SCOP_TRANSFORMED_SCHEDULE, and SCOP_SAVED_SCHEDULE. | |
464 | * graphite-poly.h (free_lst): New. | |
465 | (store_lst_schedule): Free SCOP_SAVED_SCHEDULE. | |
466 | (restore_lst_schedule): Free SCOP_TRANSFORMED_SCHEDULE. | |
467 | ||
74715a9b SP |
468 | 2009-10-22 Sebastian Pop <sebastian.pop@amd.com> |
469 | ||
470 | * graphite-poly.h (struct scop): Add a field saved_schedule. | |
471 | (SCOP_SAVED_SCHEDULE): New. | |
472 | (store_lst_schedule): New. | |
473 | (restore_lst_schedule): New. | |
474 | (store_scattering): Call store_lst_schedule. | |
475 | (restore_scattering): Call restore_lst_schedule. | |
476 | ||
fb00d28e SP |
477 | 2009-10-20 Sebastian Pop <sebastian.pop@amd.com> |
478 | ||
479 | * graphite-sese-to-poly.c (free_data_refs_aux): Fix formatting. | |
480 | (pdr_add_alias_set): Same. | |
481 | (build_poly_dr): Same. | |
482 | (build_alias_set_optimal_p): Same. | |
483 | (build_base_obj_set_for_drs): Same. Do not store the result of | |
484 | graphds_dfs. | |
485 | ||
917f481a SP |
486 | 2009-10-20 Sebastian Pop <sebastian.pop@amd.com> |
487 | ||
488 | * graphite-sese-to-poly.c (build_alias_set_optimal_p): Initialize | |
489 | all_components_are_cliques to 1. | |
490 | ||
2b178a5f LF |
491 | 2009-10-20 Li Feng <nemokingdom@gmail.com> |
492 | ||
493 | * graphite-sese-to-poly.c (free_data_refs_aux): Update to free | |
494 | the new structure. | |
495 | (pdr_add_alias_set): Update retrieving alias_set_num. | |
496 | (build_poly_dr): Update retrieving dr_base_object_set. | |
497 | (partition_drs_to_sets): Remove. | |
498 | (build_alias_set_optimal_p): New. | |
499 | (build_alias_set_for_drs): Rename. | |
500 | (build_scop_drs): Update. | |
501 | * graphite-sese-to-poly.h (struct base_alias_pair): New. | |
502 | (ALIAS_SET_INDEX): Remove. | |
503 | (BASE_OBJECT_SET_INDEX): Remove. | |
504 | ||
e8af4842 SP |
505 | 2009-10-20 Sebastian Pop <sebastian.pop@amd.com> |
506 | ||
507 | * sese.c (get_vdef_before_sese): Handle GIMPLE_ASSIGN and GIMPLE_CALL. | |
508 | ||
3899a0b2 SP |
509 | 2009-10-20 Sebastian Pop <sebastian.pop@amd.com> |
510 | ||
511 | * graphite-sese-to-poly.c (pdr_add_data_dimensions): Do not infer | |
512 | loop upper bounds for 1-element arrays at end of structures. | |
513 | * tree-flow.h (array_at_struct_end_p): Declared. | |
514 | * tree-ssa-loop-niter.c (array_at_struct_end_p): Not static anymore. | |
515 | ||
e34e5835 SP |
516 | 2009-10-20 Sebastian Pop <sebastian.pop@amd.com> |
517 | ||
518 | * g++.dg/graphite/pr41305.C: New. | |
519 | ||
07b0d0e2 AM |
520 | 2009-10-20 Alexander Monakov <amonakov@ispras.ru> |
521 | ||
522 | * graphite-sese-to-poly.c (build_loop_iteration_domains): Generalize | |
523 | construction of parameter constraints from loop iteration analysis. | |
524 | * gcc.dg/graphite/run-id-2.c: New test. | |
525 | ||
67255edf SP |
526 | 2009-10-17 Sebastian Pop <sebastian.pop@amd.com> |
527 | ||
528 | * graphite-interchange.c (memory_stride_in_loop): Delete p1, lma | |
529 | and new_cstr. | |
530 | ||
14ba996b SP |
531 | 2009-10-17 Sebastian Pop <sebastian.pop@amd.com> |
532 | ||
533 | * graphite-dependences.c (dependence_polyhedron_1): Remove | |
534 | unused gdim dimensions from the DDR polyhedron. | |
535 | ||
4454141a SP |
536 | 2009-10-17 Sebastian Pop <sebastian.pop@amd.com> |
537 | ||
538 | * graphite-dependences.c (pddr_transformed_scattering): New. | |
539 | (dot_original_deps_stmt_1): New. | |
540 | (dot_transformed_deps_stmt_1): New. | |
541 | (dot_deps_stmt_1): Call dot_original_deps_stmt_1 and | |
542 | dot_transformed_deps_stmt_1. | |
543 | (dot_original_deps): New. | |
544 | (dot_transformed_deps): New. | |
545 | (dot_deps_1): Call dot_original_deps and dot_transformed_deps. | |
546 | ||
dd61070d SP |
547 | 2009-10-17 Sebastian Pop <sebastian.pop@amd.com> |
548 | ||
549 | * graphite-dependences.c (reduction_dr_1): Remove wrong | |
550 | assert: reduction BBs can have multiple reduction writes | |
4454141a | 551 | to memory. interchange-3.f90 is an example. |
dd61070d | 552 | |
65421bcc SP |
553 | 2009-10-17 Sebastian Pop <sebastian.pop@amd.com> |
554 | ||
555 | * gfortran.dg/graphite/interchange-3.f90: New. | |
556 | ||
3e9f43ee SP |
557 | 2009-10-17 Sebastian Pop <sebastian.pop@amd.com> |
558 | ||
559 | * gcc.dg/graphite/interchange-1.c: Un-XFAILed. | |
560 | ||
16bf8ab1 SP |
561 | 2009-10-17 Sebastian Pop <sebastian.pop@amd.com> |
562 | ||
563 | * graphite-dependences.c (dependence_polyhedron_1): Add the | |
564 | context to the dependence polyhedron. | |
565 | ||
d422adfa SP |
566 | 2009-10-17 Sebastian Pop <sebastian.pop@amd.com> |
567 | ||
568 | * graphite-poly.c (pbb_remove_duplicate_pdrs): Initialize | |
569 | PBB_PDR_DUPLICATES_REMOVED. | |
570 | (new_poly_bb): Same. | |
571 | ||
62e475c5 SP |
572 | 2009-10-17 Sebastian Pop <sebastian.pop@amd.com> |
573 | ||
574 | * graphite-sese-to-poly.c (find_scop_parameters): Initialize | |
575 | SCOP_CONTEXT. | |
576 | (build_loop_iteration_domains): Extract bounds on parameters | |
577 | based on the data size. | |
578 | (build_scop_context): Do not initialize SCOP_CONTEXT; | |
579 | add new constraints. | |
580 | ||
3ecbce7e SP |
581 | 2009-10-17 Sebastian Pop <sebastian.pop@amd.com> |
582 | ||
583 | * graphite-ppl.c (ppl_min_for_le_polyhedron): New. | |
584 | * graphite-ppl.h (graphite-ppl.h): Declared. | |
585 | ||
04863400 SP |
586 | 2009-10-17 Sebastian Pop <sebastian.pop@amd.com> |
587 | ||
588 | * graphite-ppl.c (ppl_print_linear_expr): New. | |
589 | (debug_ppl_linear_expr): New. | |
590 | * graphite-ppl.h (ppl_print_linear_expr): Declared. | |
591 | (debug_ppl_linear_expr): Declared. | |
592 | ||
009150e1 SP |
593 | 2009-10-16 Sebastian Pop <sebastian.pop@amd.com> |
594 | ||
595 | * graphite-interchange.c: Fix comments. | |
596 | * gcc.dg/graphite/block-1.c: Fix comments. | |
597 | ||
9b196c93 SP |
598 | 2009-10-16 Sebastian Pop <sebastian.pop@amd.com> |
599 | ||
600 | * gcc.dg/graphite/interchange-7.c: Un-XFAILed. | |
601 | * gcc.dg/graphite/interchange-9.c: Un-XFAILed. | |
602 | ||
caa675f8 SP |
603 | 2009-10-16 Sebastian Pop <sebastian.pop@amd.com> |
604 | ||
605 | Reapply the patch from Alexander Monakov that disappeared during | |
606 | the last merges from trunk. | |
607 | ||
608 | 2009-09-16 Alexander Monakov <amonakov@ispras.ru> | |
609 | ||
610 | * graphite-sese-to-poly.c (pdr_add_data_dimensions): Add bounds only | |
611 | for ARRAY_REFs. Use array_ref_{low,up}_bound to determine bounds. | |
612 | ||
92d92abb SP |
613 | 2009-10-15 Sebastian Pop <sebastian.pop@amd.com> |
614 | ||
615 | * graphite-interchange.c (memory_stride_in_loop): The depth | |
616 | argument corresponds to a dynamic time dimension, so use | |
617 | psct_dynamic_dim to refer to the transformed scattering dimension. | |
618 | ||
23159c56 SP |
619 | 2009-10-15 Sebastian Pop <sebastian.pop@amd.com> |
620 | ||
621 | * graphite-interchange.c (memory_stride_in_loop): Fix comments. | |
622 | ||
5c6c42c9 SP |
623 | 2009-10-15 Sebastian Pop <sebastian.pop@amd.com> |
624 | ||
625 | * graphite-blocking.c (lst_do_strip_mine): Avoid strip mining the | |
626 | root of the LST. | |
627 | * graphite-interchange.c (lst_do_interchange): Avoid interchanging | |
628 | the root of the LST. | |
629 | * graphite-poly.c (scop_to_lst): Fix LST sequence in an outermost | |
630 | fake loop. | |
631 | (print_lst): Print the root of LST in a different format. | |
632 | * graphite-poly.h (lst_depth): Adjust to include the root of the LST. | |
633 | ||
f58be90e SP |
634 | 2009-10-15 Sebastian Pop <sebastian.pop@amd.com> |
635 | ||
636 | * graphite-poly.c (print_scop): Fix pretty printing of a SCoP. | |
637 | ||
4e4ee197 SP |
638 | 2009-10-15 Sebastian Pop <sebastian.pop@amd.com> |
639 | ||
640 | * doc/passes.texi: Document the Graphite infrastructure. | |
641 | ||
6c4499b6 SP |
642 | 2009-10-15 Sebastian Pop <sebastian.pop@amd.com> |
643 | ||
644 | * graphite-sese-to-poly.c (insert_copyin): Use gsi_insert_seq_on_edge. | |
645 | (rewrite_commutative_reductions_out_of_ssa): Call gsi_commit_edge_inserts, | |
646 | and check the SSA representation. | |
647 | ||
648 | * gfortran.dg/graphite/id-18.f90: New, reduced from PR41193. | |
649 | ||
8e49fe91 SP |
650 | 2009-10-15 Sebastian Pop <sebastian.pop@amd.com> |
651 | ||
652 | * gcc.dg/graphite/pr40157.c: Use -floop-block as reported in the PR. | |
653 | ||
bb2b2dfc SP |
654 | 2009-10-14 Sebastian Pop <sebastian.pop@amd.com> |
655 | ||
656 | * gcc.dg/graphite/interchange-11.c: New. | |
657 | ||
e7ed4a64 SP |
658 | 2009-10-14 Sebastian Pop <sebastian.pop@amd.com> |
659 | ||
660 | * gcc.dg/graphite/interchange-8.c: Enable loop interchange. | |
661 | ||
d7f25aa6 SP |
662 | 2009-10-14 Sebastian Pop <sebastian.pop@amd.com> |
663 | ||
664 | * gcc.dg/graphite/graphite.exp (DEFAULT_CFLAGS_GRAPHITE_BLOCK): | |
665 | Add -fno-loop-strip-mine and -fno-loop-interchange. | |
666 | (DEFAULT_FLAGS_GRAPHITE_INTERCHANGE): Add -fno-loop-block and | |
667 | -fno-loop-strip-mine. | |
668 | * gfortran.dg/graphite/graphite.exp: Same. | |
669 | ||
6231cf49 SP |
670 | 2009-10-14 Sebastian Pop <sebastian.pop@amd.com> |
671 | ||
672 | * gcc.dg/graphite/graphite.exp (DEFAULT_CFLAGS_GRAPHITE_BLOCK): | |
673 | Renamed DEFAULT_FLAGS_GRAPHITE_BLOCK. | |
674 | (DEFAULT_CFLAGS_GRAPHITE_IDENTITY): Renamed | |
675 | DEFAULT_FLAGS_GRAPHITE_IDENTITY. | |
676 | (DEFAULT_CFLAGS_GRAPHITE_INTERCHANGE): Renamed | |
677 | DEFAULT_FLAGS_GRAPHITE_INTERCHANGE. | |
678 | (DEFAULT_CFLAGS_GRAPHITE_SCOP): Renamed | |
679 | DEFAULT_FLAGS_GRAPHITE_SCOP. | |
680 | (DEFAULT_CFLAGS_RUN_ID): Renamed DEFAULT_FLAGS_RUN_ID. | |
681 | (DEFAULT_CFLAGS_GRAPHITE): Renamed DEFAULT_FLAGS_GRAPHITE. | |
682 | ||
2b7c09a8 SP |
683 | 2009-10-14 Sebastian Pop <sebastian.pop@amd.com> |
684 | ||
685 | * graphite-poly.c (pbb_number_of_iterations_at_time): Cleanup comments. | |
686 | ||
b0c7a278 KT |
687 | 2009-10-14 Konrad Trifunovic <konrad.trifunovic@gmail.com> |
688 | Sebastian Pop <sebastian.pop@amd.com> | |
689 | ||
690 | * graphite-interchange.c (build_linearized_memory_access): Pass an | |
691 | offset as parameter. | |
692 | (memory_stride_in_loop): Include transform scattering in the | |
693 | access functions to be able to querry the strides in the | |
694 | transformed loops. | |
695 | (pbb_interchange_loop_depths): Interchange the psct_dynamic_dim, | |
696 | not the psct_iterator_dim. | |
697 | ||
13ae6f91 SP |
698 | 2009-10-14 Sebastian Pop <sebastian.pop@amd.com> |
699 | ||
700 | * graphite-blocking.c (pbb_do_strip_mine): Removed. | |
701 | (lst_do_strip_mine_loop): New. | |
702 | (lst_do_strip_mine): New. | |
703 | (scop_do_strip_mine): Call lst_do_strip_mine. | |
704 | * graphite-poly.h (lst_add_loop_under_loop): New. | |
705 | (lst_find_first_pbb): New. | |
706 | ||
c0fe753b SP |
707 | 2009-10-14 Sebastian Pop <sebastian.pop@amd.com> |
708 | ||
709 | * graphite-poly.c (loop_to_lst): Fix LST creation. | |
710 | ||
8d75ec87 TG |
711 | 2009-10-14 Tobias Grosser <grosser@fim.uni-passau.de> |
712 | ||
713 | * testsuite/gcc.dg/graphite/id-15.c: (8 * 8) replaced with | |
714 | sizeof(unsigned long) to make it run on 32bit systems. | |
715 | ||
716 | 2009-10-14 Tobias Grosser <grosser@fim.uni-passau.de> | |
717 | ||
718 | * testsuite/gcc.dg/graphite/run-id-1.c: Use smaller matrix to not | |
719 | SEGFAULT on 32bit. | |
720 | ||
2e5a7cbf RU |
721 | 2009-10-14 Ramakrishna Upadrasta <Ramakrishna.Upadrasta@inria.fr> |
722 | ||
8d75ec87 TG |
723 | * graphite-sese-to-poly.c (write_alias_graph_to_ascii_dimacs): Fix |
724 | Comment. | |
2e5a7cbf RU |
725 | (write_alias_graph_to_ascii_dot): New. |
726 | (write_alias_graph_to_ascii_ecc): Ditto. | |
8d75ec87 TG |
727 | (partition_drs_to_sets): Add testing of optimality of current method |
728 | which assigns alias numbers according to DFS Comopnent number. used | |
729 | as heuristic for the upcoming ECC algorithm. | |
2e5a7cbf RU |
730 | (build_scop_drs): Write to file also with the ecc and dot format. |
731 | ||
1e82de2a SP |
732 | 2009-10-13 Sebastian Pop <sebastian.pop@amd.com> |
733 | ||
734 | * gfortran.dg/graphite/interchange-1.f: XFail. | |
735 | ||
9bf13085 SP |
736 | 2009-10-13 Sebastian Pop <sebastian.pop@amd.com> |
737 | ||
738 | * graphite.c (graphite_initialize): Do not handle functions with | |
739 | more than 100 basic blocks. | |
740 | ||
e797c5f2 SP |
741 | 2009-10-13 Sebastian Pop <sebastian.pop@amd.com> |
742 | ||
743 | * graphite-blocking.c (pbb_do_strip_mine): Use | |
744 | PARAM_LOOP_BLOCK_TILE_SIZE. | |
745 | ||
bfa00f48 SP |
746 | 2009-10-13 Sebastian Pop <sebastian.pop@amd.com> |
747 | ||
748 | * graphite-poly.c (dot_lst_1): New. | |
749 | (dot_lst): New. | |
750 | * graphite-poly.h (dot_lst): Declared. | |
751 | ||
3c7bdeb8 SP |
752 | 2009-10-13 Sebastian Pop <sebastian.pop@amd.com> |
753 | ||
754 | * graphite-dependences.c (dot_deps_stmt_1): New. | |
755 | (dot_deps_stmt): New. | |
756 | * graphite-dependences.h (dot_deps_stmt): Declared. | |
757 | ||
c7dc2fab SP |
758 | 2009-10-09 Sebastian Pop <sebastian.pop@amd.com> |
759 | ||
760 | * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_dependence): Do | |
761 | not replace cross BB scalar dependences ending on PHI nodes. | |
762 | (rewrite_cross_bb_scalar_deps): Filter out GIMPLE_PHI nodes. | |
763 | ||
24c79709 SP |
764 | 2009-10-09 Sebastian Pop <sebastian.pop@amd.com> |
765 | ||
766 | * graphite-poly.c (apply_poly_transforms): Implement the high | |
767 | level driver for flag_loop_block. | |
768 | * tree-ssa-loop.c (gate_graphite_transforms): Remove call to sorry for | |
769 | flag_loop_block. | |
770 | ||
771 | * gcc.dg/graphite/graphite.exp (DEFAULT_CFLAGS_GRAPHITE_BLOCK): Add | |
772 | -floop-block. | |
773 | * gfortran.dg/graphite/graphite.exp (DEFAULT_CFLAGS_GRAPHITE_BLOCK): | |
774 | Add -floop-block. | |
775 | ||
a0517b76 SP |
776 | 2009-10-09 Sebastian Pop <sebastian.pop@amd.com> |
777 | ||
778 | * graphite-poly.h (lst_find_pbb): New. | |
779 | (find_lst_loop): New. | |
780 | ||
9d077835 SP |
781 | 2009-10-09 Sebastian Pop <sebastian.pop@amd.com> |
782 | ||
783 | * graphite-poly.c (new_scop): Remove init of SCOP_DEP_GRAPH. | |
784 | * graphite-poly.h (struct scop): Remove dep_graph field. | |
785 | (SCOP_DEP_GRAPH): Removed. | |
786 | ||
75b63a91 SP |
787 | 2009-10-09 Sebastian Pop <sebastian.pop@amd.com> |
788 | ||
789 | * graphite-poly.h (copy_lst): Do full copy of LST. | |
790 | ||
7cc4ff8d SP |
791 | 2009-10-07 Sebastian Pop <sebastian.pop@amd.com> |
792 | ||
793 | * graphite-sese-to-poly.c (reduction_phi_p): Call remove_invariant_phi | |
794 | when the loop stride is zero. | |
795 | ||
796 | * gcc.dg/graphite/id-16.c: New. | |
797 | ||
60d2a8c3 SP |
798 | 2009-10-06 Sebastian Pop <sebastian.pop@amd.com> |
799 | ||
800 | * graphite-dependences.c (reduction_dr_1): New. | |
801 | (reduction_dr_p): New. | |
802 | (graphite_legal_transform_dr): Call reduction_dr_p. | |
803 | (reduction_ddr): Renamed reduction_ddr_p. | |
804 | * graphite-poly.h (same_pdr_p): New. | |
805 | (number_of_write_pdrs): New. | |
806 | * graphite-sese-to-poly.c (nb_data_writes_in_bb): New. | |
807 | (split_reduction_stmt): Do not split reduction statements | |
808 | when there are no writes to memory. | |
809 | (translate_scalar_reduction_to_array_for_stmt): Insert the | |
810 | memory reduction statement just after the scalar reduction statement. | |
811 | ||
812 | * gcc.dg/graphite/interchange-10.c: Updated to differ from interchange-4.c. | |
813 | Un-XFAIL-ed. | |
814 | * gcc.dg/graphite/interchange-3.c: Un-XFAIL-ed. | |
815 | * gcc.dg/graphite/interchange-4.c: Un-XFAIL-ed. | |
816 | ||
95baeff8 SP |
817 | 2009-10-06 Sebastian Pop <sebastian.pop@amd.com> |
818 | ||
819 | * graphite-interchange.c (lst_apply_interchange): New. | |
820 | (lst_interchange_profitable_p): New. | |
821 | (lst_try_interchange_loops): New. | |
822 | (lst_try_interchange): New. | |
823 | (lst_do_interchange): New. | |
824 | (pbb_do_interchange): Removed. | |
825 | (scop_do_interchange): Call lst_do_interchange. | |
826 | ||
a36d12e2 SP |
827 | 2009-10-06 Sebastian Pop <sebastian.pop@amd.com> |
828 | ||
829 | * graphite-poly.c (print_scop): Print SCOP_ORIGINAL_SCHEDULE and | |
830 | SCOP_TRANSFORMED_SCHEDULE. | |
831 | (loop_to_lst): New. | |
832 | (scop_to_lst): New. | |
833 | (print_lst): New. | |
834 | (debug_lst): New. | |
835 | * graphite-poly.h (lst_p): New. | |
836 | (struct lst): New. | |
837 | (LST_LOOP_P): New. | |
838 | (LST_LOOP_FATHER): New. | |
839 | (LST_PBB): New. | |
840 | (LST_SEQ): New. | |
841 | (scop_to_lst): Declared. | |
842 | (print_lst): Declared. | |
843 | (debug_lst): Declared. | |
844 | (new_lst_loop): New. | |
845 | (new_lst_stmt): New. | |
846 | (copy_lst): New. | |
847 | (lst_depth): New. | |
848 | (lst_dewey_number): New. | |
849 | (struct scop): Add original_schedule and transformed_schedule fields. | |
850 | (SCOP_ORIGINAL_SCHEDULE): New. | |
851 | (SCOP_TRANSFORMED_SCHEDULE): New. | |
852 | * graphite-sese-to-poly.c (build_poly_scop): Call scop_to_lst. | |
853 | ||
a0dd1440 SP |
854 | 2009-10-05 Sebastian Pop <sebastian.pop@amd.com> |
855 | ||
856 | * graphite-dependences.c (reduction_ddr): New. | |
857 | (graphite_legal_transform_bb): Call reduction_ddr. | |
858 | * graphite-poly.c (new_poly_bb): Pass a new bool parameter. | |
859 | Initialize PBB_IS_REDUCTION. | |
860 | * graphite-poly.h (struct poly_bb): New bool field is_reduction. | |
861 | (PBB_IS_REDUCTION): New. | |
862 | (new_poly_bb): Update declaration. | |
863 | * graphite-scop-detection.h (build_scop_bbs): Removed. | |
864 | (nb_reductions_in_loop): Removed. | |
865 | * graphite-sese-to-poly.c (try_generate_gimple_bb): Pass a sbitmap | |
866 | parameter for reductions. | |
867 | (try_generate_gimple_bb): Update call to new_poly_bb. | |
868 | (build_scop_bbs_1): Same. | |
869 | (build_scop_bbs): Same. | |
870 | (gsi_for_phi_node): New. | |
871 | (scalar_close_phi_node_p): Remove gcc_assert. | |
872 | (split_reduction_stmt): New. | |
873 | (is_reduction_operation_p): New. | |
874 | (phi_contains_arg): New. | |
875 | (follow_ssa_with_commutative_ops): New. | |
876 | (detect_commutative_reduction_arg): New. | |
877 | (detect_commutative_reduction_assign): New. | |
878 | (follow_inital_value_to_phi): New. | |
879 | (edge_initial_value_for_loop_phi): New. | |
880 | (initial_value_for_loop_phi): New. | |
881 | (detect_commutative_reduction): New. | |
882 | (translate_scalar_reduction_to_array_for_stmt): New. | |
883 | (insert_copyout): New. | |
884 | (insert_copyin): New. | |
885 | (translate_scalar_reduction_to_array): New. | |
886 | (rewrite_commutative_reductions_out_of_ssa_close_phi): New. | |
887 | (rewrite_commutative_reductions_out_of_ssa_loop): New. | |
888 | (rewrite_commutative_reductions_out_of_ssa): New. | |
889 | (build_poly_scop): Call rewrite_commutative_reductions_out_of_ssa. | |
890 | * sese.h (split_region_for_bb): New. | |
891 | ||
892 | * gcc.dg/graphite/graphite.exp (DEFAULT_CFLAGS_GRAPHITE_BLOCK): Add -ffast-math. | |
893 | * gcc.dg/graphite/interchange-1.c: Fix format. | |
894 | * gcc.dg/graphite/interchange-10.c: New. | |
895 | ||
db7e9485 SP |
896 | 2009-10-05 Sebastian Pop <sebastian.pop@amd.com> |
897 | ||
898 | * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Remove | |
899 | buggy assert. | |
900 | ||
5dcc64d9 SP |
901 | 2009-10-05 Sebastian Pop <sebastian.pop@amd.com> |
902 | ||
903 | * graphite-sese-to-poly.c (scev_analyzable_p): New. | |
904 | (rewrite_cross_bb_scalar_dependence): New. | |
905 | (rewrite_cross_bb_scalar_deps): New. | |
906 | (rewrite_reductions_out_of_ssa): Use bb_in_sese_p. | |
907 | Call rewrite_cross_bb_scalar_deps. | |
908 | ||
947121b8 SP |
909 | 2009-10-05 Sebastian Pop <sebastian.pop@amd.com> |
910 | ||
911 | * graphite-sese-to-poly.c (gsi_for_ssa_name_def): Removed. | |
912 | (insert_out_of_ssa_copy): Directly use gsi_after_labels and | |
913 | gsi_for_stmt. | |
914 | ||
d48e288d SP |
915 | 2009-10-05 Sebastian Pop <sebastian.pop@amd.com> |
916 | ||
917 | * graphite-clast-to-gimple.c (build_cloog_prog): Use pbb_index. | |
918 | * graphite-interchange.c (pbb_do_interchange): Same. | |
919 | * graphite-poly.c (print_scattering_function): Same. | |
920 | (debug_pdrs): Same. | |
921 | * graphite-poly.h (pbb_loop): New. | |
922 | * graphite-sese-to-poly.c (create_linear_expr_from_tree): Use pbb_loop. | |
923 | ||
d17286f6 SP |
924 | 2009-09-27 Sebastian Pop <sebastian.pop@amd.com> |
925 | ||
926 | * graphite-scop-detection.c (limit_scops): Do not build poly_bbs. | |
927 | ||
ee03cd20 SP |
928 | 2009-09-27 Sebastian Pop <sebastian.pop@amd.com> |
929 | ||
930 | * graphite-sese-to-poly.c (partition_drs_to_sets): Drs is not modified, | |
931 | so don't pass a pointer to it. | |
932 | (build_alias_set_for_drs): Same. | |
933 | (build_base_obj_set_for_drs): Same. | |
934 | (build_scop_drs): Same. | |
935 | ||
888beba1 LF |
936 | 2009-09-26 Li Feng <nemokingdom@gmail.com> |
937 | ||
938 | * graphite-sese-to-poly.c (build_scop_drs): Disable writing to file | |
939 | the alias graph of data references. | |
940 | ||
cd43e5d7 LF |
941 | 2009-09-25 Li Feng <nemokingdom@gmail.com> |
942 | ||
943 | * graphite-sese-to-poly.c (write_alias_graph_to_ascii_dimacs): New. | |
944 | (build_scop_drs): When debugging, write the alias graph to file, | |
945 | otherwise, should be disabled. | |
946 | ||
aeda6535 SP |
947 | 2009-09-17 Sebastian Pop <sebastian.pop@amd.com> |
948 | ||
949 | * graphite-scop-detection.c (stmt_simple_memref_p): Removed. | |
950 | (is_simple_operand): Remove call to stmt_simple_memref_p. | |
951 | (stmt_simple_for_scop_p): Update call to is_simple_operand. | |
952 | ||
8b6b8570 DE |
953 | 2009-09-17 David Edelsohn <edelsohn@gnu.org> |
954 | ||
8971eb91 | 955 | * testsuite/gcc.dg/graphite/interchange-mvt.c: New File. |
8b6b8570 DE |
956 | * testsuite/gcc.dg/graphite/scop-dsyrk.c: New File. |
957 | * testsuite/gcc.dg/graphite/scop-dsyr2k.c: New File. | |
958 | * testsuite/gcc.dg/graphite/scop-mvt.c: New File. | |
959 | * testsuite/gcc.dg/graphite/scop-sor.c: New File. | |
960 | ||
1825f9a2 LF |
961 | 2009-09-17 Li Feng <nemokingdom@gmail.com> |
962 | ||
963 | PR middle-end/41118 | |
964 | * graphite-dependences.c (poly_drs_may_alias_p): Adjust definition. | |
965 | (pddr_original_scattering): Make sure 2 pdr2 in the same base object set. | |
966 | (graphite_carried_dependence_level_k): Ditto. | |
967 | * graphite-poly.c (new_poly_dr): Add init of PDR_BASE_OBJECT_SET. | |
968 | * graphite-poly.h (struct poly_dr): Add member dr_base_object_set. | |
969 | (new_poly_dr): Adjust declaration. | |
970 | * graphite-sese-to-poly.c (free_data_refs_aux): New. | |
971 | (free_gimple_bb): Added free_data_refs_aux. | |
972 | (build_poly_dr): Add dr_base_object_set. | |
973 | (partition_drs_to_sets): New. | |
974 | (dr_same_base_object_p): New. | |
975 | (build_alias_set_for_drs): New. | |
976 | (build_base_object_set_for_drs): New. | |
977 | (build_scop_drs): Add build_base_obj_set_for_drs. | |
978 | * graphite-sese-to-poly.h: Added #define for alias set number index and | |
979 | base object set index. | |
980 | * libgomp/testsuite/libgomp.graphite/force-parallel-6.c: Refine tests. | |
981 | * libgomp/testsuite/libgomp.graphite/pr4118.c: New. | |
982 | ||
ac90803f SP |
983 | 2009-09-16 Alexander Monakov <amonakov@ispras.ru> |
984 | ||
985 | * graphite-sese-to-poly.c (pdr_add_data_dimensions): Add bounds only | |
986 | for ARRAY_REFs. Use array_ref_{low,up}_bound to determine bounds. | |
987 | ||
54fc808a SP |
988 | 2009-09-14 Sebastian Pop <sebastian.pop@amd.com> |
989 | ||
990 | * graphite-sese-to-poly.c (struct irp_data): Removed. | |
991 | (idx_record_params): Removed. | |
992 | (find_params_in_bb): Scan for parameters the access functions; don't | |
993 | parse the tree representation. | |
994 | ||
e88e021f SP |
995 | 2009-09-14 Sebastian Pop <sebastian.pop@amd.com> |
996 | ||
997 | * tree-ssa-loop.c (gate_graphite_transforms): Disable Graphite | |
998 | passes at -O1 and below. | |
999 | ||
3690f8d7 SP |
1000 | 2009-09-14 Sebastian Pop <sebastian.pop@amd.com> |
1001 | ||
1002 | * graphite-blocking.c: Fix order of includes: tree-chrec.h, then | |
1003 | tree-scalar-evolution.h, and then tree-data-ref.h. | |
1004 | * graphite-clast-to-gimple.c: Same. | |
1005 | * graphite-dependences.c: Same. | |
1006 | * graphite-interchange.c: Same. | |
1007 | * graphite-poly.c: Same. | |
1008 | * graphite-scop-detection.c: Same. | |
1009 | * graphite-sese-to-poly.c: Same. | |
1010 | * graphite.c: Same. | |
1011 | * lambda-code.c: Same. | |
1012 | * matrix-reorg.c: Same. | |
1013 | * tree-data-ref.c: Same. | |
1014 | * tree-if-conv.c: Same. | |
1015 | * tree-loop-distribu: Same.: Same. | |
1016 | * tree-loop-linear.c: Same. | |
1017 | * tree-parloops.c: Same. | |
1018 | * tree-predcom.c: Same. | |
1019 | * tree-vect-patterns.c: Same. | |
1020 | ||
2495a183 SP |
1021 | 2009-09-02 Sebastian Pop <sebastian.pop@amd.com> |
1022 | ||
1023 | Partially revert the previous patch, except the following. | |
1024 | * tree-scalar-evolution.c (instantiate_scev_not): Adapted to pass | |
1025 | as parameters the operands of the not expression. | |
1026 | ||
20179b0d SP |
1027 | 2009-09-01 Sebastian Pop <sebastian.pop@amd.com> |
1028 | ||
1029 | * tree-scalar-evolution.c (instantiate_scev_assign): New. | |
1030 | Do not call analyze_scalar_evolution on assignments. | |
1031 | (instantiate_scev_phi): Call analyze_scalar_evolution. | |
1032 | (instantiate_scev_name): Call instantiate_scev_assign and | |
1033 | instantiate_scev_phi. | |
1034 | (instantiate_scev_not): Adapted to pass as parameters the operands | |
1035 | of the not expression. | |
1036 | ||
ffa34f4b SP |
1037 | 2009-09-01 Sebastian Pop <sebastian.pop@amd.com> |
1038 | ||
1039 | * tree-scalar-evolution.c (instantiate_scev_binary): Adapted | |
1040 | to pass as parameters the operands of the binary expression. | |
1041 | ||
4b9d48a1 SP |
1042 | 2009-09-01 Sebastian Pop <sebastian.pop@amd.com> |
1043 | ||
1044 | * tree-scalar-evolution.c (instantiate_scev_bitnot): Renamed | |
1045 | instantiate_scev_not. Handle NEGATE_EXPR. | |
1046 | (instantiate_scev_r): Handle NEGATE_EXPR. | |
1047 | ||
9e5dc77f SP |
1048 | 2009-09-01 Sebastian Pop <sebastian.pop@amd.com> |
1049 | ||
1050 | * tree-scalar-evolution.c (instantiate_scev_1): Renamed | |
1051 | instantiate_scev_r. | |
1052 | (instantiate_scev_r): Move code in instantiate_scev_2 | |
1053 | and instantiate_scev_1. | |
1054 | ||
d814176c SP |
1055 | 2009-09-01 Sebastian Pop <sebastian.pop@amd.com> |
1056 | ||
1057 | * tree-scalar-evolution.c (instantiate_scev_3): New. | |
1058 | (instantiate_scev_1): Move code in instantiate_scev_3. | |
1059 | ||
ec6636eb SP |
1060 | 2009-09-01 Sebastian Pop <sebastian.pop@amd.com> |
1061 | ||
1062 | * tree-scalar-evolution.c (instantiate_scev_poly): New. | |
1063 | (instantiate_scev_1): Move code in instantiate_scev_poly. | |
1064 | ||
7ec0665d SP |
1065 | 2009-09-01 Sebastian Pop <sebastian.pop@amd.com> |
1066 | ||
1067 | * tree-scalar-evolution.c (instantiate_scev_bitnot): New. | |
1068 | (instantiate_scev_1): Move code in instantiate_scev_bitnot. | |
1069 | ||
9c382ce9 SP |
1070 | 2009-09-01 Sebastian Pop <sebastian.pop@amd.com> |
1071 | ||
1072 | * tree-scalar-evolution.c (instantiate_scev_convert): New. | |
1073 | (instantiate_scev_1): Move code in instantiate_scev_convert. | |
1074 | ||
15fda317 SP |
1075 | 2009-09-01 Sebastian Pop <sebastian.pop@amd.com> |
1076 | ||
1077 | * tree-scalar-evolution.c (instantiate_scev_binary): New. | |
1078 | (instantiate_scev_1): Move code in instantiate_scev_binary. | |
1079 | ||
320f5a78 SP |
1080 | 2009-09-01 Sebastian Pop <sebastian.pop@amd.com> |
1081 | ||
1082 | * tree-scalar-evolution.c (instantiate_scev_name): New. | |
1083 | (instantiate_scev_1): Move code in instantiate_scev_name. | |
1084 | ||
1085 | 2009-08-28 Sebastian Pop <sebastian.pop@amd.com> | |
1086 | ||
1087 | * Merge from mainline (150992:151171). | |
1088 | ||
211694b6 SP |
1089 | 2009-08-25 Sebastian Pop <sebastian.pop@amd.com> |
1090 | ||
1091 | * graphite-dependences.c (graphite_legal_transform_bb): Call | |
1092 | pbb_remove_duplicate_pdrs. | |
1093 | * graphite-poly.c (can_collapse_pdr): Removed. | |
1094 | (pdr_find_duplicate): Removed. | |
1095 | (can_collapse_pdrs): New. | |
1096 | (pbb_remove_duplicate_pdrs): New. | |
1097 | (new_poly_dr): Do not look for duplicates. | |
1098 | * graphite-poly.h (struct poly_bb): New field pdr_duplicates_removed. | |
1099 | (PBB_PDR_DUPLICATES_REMOVED): New. | |
1100 | (pbb_remove_duplicate_pdrs): Declared. | |
1101 | ||
7bd2a8a7 SP |
1102 | 2009-08-25 Sebastian Pop <sebastian.pop@amd.com> |
1103 | ||
1104 | * graphite-interchange.c (pbb_interchange_profitable_p): Adjust | |
1105 | the strides by multiplying by PDR_NB_REFS. | |
1106 | * graphite-poly.c (can_collapse_pdr): New. | |
1107 | (pdr_find_duplicate): New. | |
1108 | (new_poly_dr): Call pdr_find_duplicate. Collapse duplicate PDRs. | |
1109 | Initialize PDR_NB_REFS. | |
1110 | * graphite-poly.h (struct poly_dr): Add field nb_refs. | |
1111 | (PDR_NB_REFS): New. | |
1112 | (new_poly_dr): Number of subscripts is a graphite_dim_t. | |
1113 | ||
1114 | 2009-08-25 Sebastian Pop <sebastian.pop@amd.com> | |
1115 | ||
1116 | Revert one of the previous commits: | |
1117 | * graphite-dependences.c (graphite_legal_transform_bb): Avoid | |
1118 | the computation of symmetric data dependence relations. | |
1119 | (dependency_between_pbbs_p): Same. | |
1120 | ||
93b2db87 SP |
1121 | 2009-08-25 Sebastian Pop <sebastian.pop@amd.com> |
1122 | ||
1123 | PR middle-end/40965 | |
1124 | * graphite-poly.c (apply_poly_transforms): Remove legality test before | |
1125 | any transform. | |
1126 | ||
d8eeb078 SP |
1127 | 2009-08-25 Sebastian Pop <sebastian.pop@amd.com> |
1128 | ||
1129 | * graphite-dependences.c (pddr_original_scattering): Return NULL | |
1130 | for read-read dependence relations. | |
1131 | * graphite-poly.h (enum poly_dr_type): Fix comment. | |
1132 | (pdr_read_p): New. | |
1133 | (pdr_write_p): New. | |
1134 | (pdr_may_write_p): New. | |
1135 | ||
e6dec0fb SP |
1136 | 2009-08-25 Sebastian Pop <sebastian.pop@amd.com> |
1137 | ||
1138 | * graphite-poly.h (enum POLY_DR_TYPE): Renamed poly_dr_type. | |
1139 | (struct poly_dr): Same. | |
1140 | (new_poly_dr): Same. | |
1141 | * graphite-poly.c (new_poly_dr): Same. | |
1142 | ||
baf4b881 KT |
1143 | 2009-08-25 Konrad Trifunovic <konrad.trifunovic@gmail.com> |
1144 | Sebastian Pop <sebastian.pop@amd.com> | |
1145 | ||
1146 | * graphite-blocking.c (pbb_strip_mine_loop_depth): Renamed | |
1147 | pbb_strip_mine_time_depth. Changed the implementation so that | |
1148 | transformation is expressed as a transformation on | |
1149 | time (scatttering) dimensions. Also, ensures that the 2d+1 | |
1150 | scheduling format is preserved. | |
1151 | (pbb_strip_mine_profitable_p): Profitability is based on the | |
1152 | iteration number of a given time (scattering) dimension, | |
1153 | and not on a original loop depth dimension. | |
1154 | (pbb_strip_mine): Call pbb_number_of_iterations_at_time. | |
1155 | (pbb_do_strip_mine): Call psct_dynamic_dim. | |
1156 | * graphite-poly.c (pbb_number_of_iterations_at_time): New. | |
1157 | * graphite-poly.h (pbb_number_of_iterations_at_time): Declared. | |
1158 | (pbb_nb_dynamic_scattering_transform): New. | |
1159 | (psct_dynamic_dim): New. | |
1160 | ||
059a5f9f KT |
1161 | 2009-08-25 Konrad Trifunovic <konrad.trifunovic@gmail.com> |
1162 | ||
1163 | * graphite-ppl.c (ppl_max_for_le): Renamed ppl_max_for_le_pointset. | |
1164 | * graphite-ppl.h (ppl_max_for_le): Renamed ppl_max_for_le_pointset. | |
1165 | * graphite-poly.c (pbb_number_of_iterations): Rename ppl_max_for_le. | |
1166 | * graphite-interchange.c (build_linearized_memory_access): Same. | |
1167 | (memory_stride_in_loop): Same. | |
1168 | ||
afae0207 SP |
1169 | 2009-08-25 Sebastian Pop <sebastian.pop@amd.com> |
1170 | ||
1171 | * graphite-dependences.c (pddr_original_scattering): New. | |
1172 | (graphite_legal_transform_dr): Call pddr_original_scattering. | |
1173 | (dot_deps_1): New. | |
1174 | (dot_deps): New. | |
1175 | * graphite-dependences.h (dot_deps): Declared. | |
1176 | * graphite-poly.c (new_poly_dr): Initialize PDR_ID. | |
1177 | (print_pdr): Print PDR_ID. | |
1178 | * graphite-poly.h (struct poly_dr): Add field id. | |
1179 | (PDR_ID): New. | |
1180 | (pbb_index): New. | |
1181 | * graphite-scop-detection.c (dot_all_scops_1): Cleanup comment. | |
1182 | ||
f8e0bb8b SP |
1183 | 2009-08-22 Sebastian Pop <sebastian.pop@amd.com> |
1184 | ||
1185 | * graphite-dependences.c (graphite_carried_dependence_level_k): Do | |
1186 | not delete the original dependence relation. | |
1187 | ||
1188 | 2009-08-21 Sebastian Pop <sebastian.pop@amd.com> | |
1189 | ||
1190 | * graphite-dependences.c (graphite_legal_transform_bb): Avoid | |
1191 | the computation of symmetric data dependence relations. | |
1192 | (dependency_between_pbbs_p): Same. | |
1193 | ||
e37f165f SP |
1194 | 2009-08-21 Sebastian Pop <sebastian.pop@amd.com> |
1195 | ||
1196 | * graphite-dependences.c (new_poly_dr_pair): Renamed new_poly_ddr. | |
1197 | (eq_poly_dr_pair_p): Renamed eq_poly_ddr_p. | |
1198 | (hash_poly_dr_pair_p): Renamed hash_poly_ddr_p. | |
1199 | (free_poly_ddr): New. | |
1200 | (pddr_is_empty): New. | |
1201 | (dependence_polyhedron_1): Now returns a poly_ddr_p. | |
1202 | (dependence_polyhedron): Same. Remove useless gcc_assert. | |
1203 | Remove fprintfs. | |
1204 | (graphite_legal_transform_dr): Call pddr_is_empty and free_poly_ddr. | |
1205 | (graphite_carried_dependence_level_k): Call pddr_is_empty. | |
1206 | * graphite-dependences.h (enum poly_dependence_kind): New. | |
1207 | (poly_dr_pair): Renamed poly_ddr. Added a field kind. | |
1208 | (PDRP_SOURCE): Renamed PDDR_SOURCE. | |
1209 | (PDRP_SINK): Renamed PDDR_SINK. | |
1210 | (PDRP_DDP): Renamed PDDR_DDP. | |
1211 | (PDDR_KIND): New. | |
1212 | (free_poly_ddr): Declared. | |
1213 | * graphite-poly.c (new_scop): Use the new hash function names. | |
1214 | * graphite-poly.h (struct scop): Renamed field original_pdr_pairs | |
1215 | into original_pddrs. | |
1216 | (SCOP_ORIGINAL_PDR_PAIRS): Renamed SCOP_ORIGINAL_PDDRS. | |
1217 | ||
1218 | 2009-08-21 Sebastian Pop <sebastian.pop@amd.com> | |
1219 | ||
1220 | * Merge from mainline (150764:150992). | |
1221 | ||
45e76e9f SP |
1222 | 2009-08-18 Sebastian Pop <sebastian.pop@amd.com> |
1223 | ||
1224 | * cfgloopmanip.c (create_empty_loop_on_edge): Generate upper | |
1225 | bounds with LT_EXPR to make niter analysis more precise on code | |
1226 | generated by Graphite. | |
1227 | ||
66b466c3 SP |
1228 | 2009-08-18 Sebastian Pop <sebastian.pop@amd.com> |
1229 | ||
1230 | * graphite-dependences.c (graphite_legal_transform_dr): Fix formatting. | |
1231 | (graphite_legal_transform_bb): Same. | |
1232 | (poly_drs_may_alias_p): Same. | |
1233 | ||
f263917c SP |
1234 | 2009-08-15 Sebastian Pop <sebastian.pop@amd.com> |
1235 | ||
1236 | PR middle-end/40981 | |
1237 | * graphite-ppl.c (ppl_max_for_le): Correct the use of | |
1238 | ppl_Pointset_Powerset_C_Polyhedron_maximize. | |
1239 | ||
1240 | 2009-08-13 Sebastian Pop <sebastian.pop@amd.com> | |
1241 | ||
1242 | * graphite-poly.c (print_pbb): Print PBB index. | |
1243 | ||
1244 | 2009-08-13 Sebastian Pop <sebastian.pop@amd.com> | |
1245 | ||
1246 | * Merge from mainline (r150672:150764). | |
1247 | ||
1248 | 2009-08-13 Sebastian Pop <sebastian.pop@amd.com> | |
1249 | ||
1250 | * graphite-interchange.c (ppl_max_for_le): Moved... | |
1251 | * graphite-poly.c (pbb_number_of_iterations): Call ppl_max_for_le. | |
1252 | * graphite-ppl.c (ppl_max_for_le): ... here. | |
1253 | * graphite-ppl.h (ppl_max_for_le): Declared. | |
1254 | ||
1255 | 2009-08-12 Sebastian Pop <sebastian.pop@amd.com> | |
1256 | ||
1257 | * Merge from mainline (r150372:150672). | |
1258 | ||
30de1632 SP |
1259 | 2009-08-11 Sebastian Pop <sebastian.pop@amd.com> |
1260 | ||
1261 | PR middle-end/40980 | |
1262 | * sese.c (convert_for_phi_arg): New. | |
1263 | (add_guard_exit_phis): Use convert_for_phi_arg. | |
1264 | ||
1265 | * testsuite/gfortran.dg/graphite/id-17.f: New. | |
1266 | ||
8c31ebfa SP |
1267 | 2009-08-11 Sebastian Pop <sebastian.pop@amd.com> |
1268 | ||
1269 | * graphite-sese-to-poly.c (pdr_add_data_dimensions): Dont add | |
1270 | unknown subscript upper bounds. | |
1271 | ||
1272 | * testsuite/gcc.dg/graphite/interchange-6.c: Un-XFAIL. | |
1273 | ||
fb9fb290 SP |
1274 | 2009-08-11 Sebastian Pop <sebastian.pop@amd.com> |
1275 | Pranav Garg <pranav.garg2107@gmail.com> | |
1276 | ||
1277 | * graphite-interchange.c (gather_access_strides): Removed. | |
1278 | (ppl_max_for_le): New. | |
1279 | (build_linearized_memory_access): New. | |
1280 | (memory_stride_in_loop): New. | |
1281 | (pbb_interchange_profitable_p): Reimplemented. | |
1282 | * graphite-ppl.h (ppl_new_id_map): New. | |
1283 | (ppl_interchange): New. | |
1284 | ||
1285 | * testsuite/gcc.dg/graphite/interchange-6.c: XFAILed. | |
1286 | ||
312aea7f SP |
1287 | 2009-08-11 Sebastian Pop <sebastian.pop@amd.com> |
1288 | ||
1289 | * graphite-interchange.c (compute_subscript): Removed. | |
1290 | (compute_array_size_cstr): Removed. | |
1291 | (compute_array_size_poly): Removed. | |
1292 | (compute_array_size): Removed. | |
1293 | (gather_access_strides_poly): Removed. | |
1294 | (gather_access_strides): Empty. | |
1295 | ||
25d7cc15 SP |
1296 | 2009-08-11 Sebastian Pop <sebastian.pop@amd.com> |
1297 | ||
1298 | * graphite-dependences.c (dependence_polyhedron_1): Replace | |
1299 | pdr_nb_subscripts with PDR_NB_SUBSCRIPTS. | |
1300 | (graphite_legal_transform_dr): Same. | |
1301 | (graphite_carried_dependence_level_k): Same. | |
1302 | * graphite-poly.c (new_poly_dr): Add a parameter nb_subscripts. | |
1303 | Initialize PDR_NB_SUBSCRIPTS. | |
1304 | (print_pdr_access_layout): Replace pdr_nb_subscripts with | |
1305 | PDR_NB_SUBSCRIPTS. | |
1306 | * graphite-poly.h (struct poly_dr): Add nb_subscripts field. | |
1307 | (PDR_NB_SUBSCRIPTS): New. | |
1308 | (pdr_nb_subscripts): Removed. | |
1309 | (pdr_dim): Simplified. | |
1310 | * graphite-sese-to-poly.c (build_poly_dr): Replace pdr_nb_subscripts | |
1311 | with PDR_NB_SUBSCRIPTS. | |
1312 | ||
66096911 SP |
1313 | 2009-08-11 Sebastian Pop <sebastian.pop@amd.com> |
1314 | ||
1315 | * graphite-interchange.c (compute_array_size): Remove use of | |
1316 | PDR_DATA_CONTAINER. | |
1317 | * graphite-poly.c (new_poly_dr): Remove argument data_container. | |
1318 | Do not initialize PDR_DATA_CONTAINER. | |
1319 | (print_pdr): Do not print PDR_DATA_CONTAINER. | |
1320 | * graphite-poly.h (struct poly_dr): Remove data_container field. | |
1321 | (PDR_DATA_CONTAINER): Removed. | |
1322 | * graphite-sese-to-poly.c (pdr_add_data_dimensions): Remove use of | |
1323 | PDR_DATA_CONTAINER. | |
1324 | (build_poly_dr): Same. | |
1325 | ||
273c5dd3 SP |
1326 | 2009-08-11 Sebastian Pop <sebastian.pop@amd.com> |
1327 | ||
1328 | * testsuite/gcc.dg/graphite/interchange-9.c: New. | |
1329 | ||
7491e5f0 KT |
1330 | 2009-08-05 Konrad Trifunovic <konrad.trifunovic@gmail.com> |
1331 | Sebastian Pop <sebastian.pop@amd.com> | |
1332 | ||
1333 | * graphite-dependences.c (graphite_legal_transform_dr): Work on a | |
1334 | copy of the dependence polyhedron. Free the temporary objects. | |
1335 | (graphite_carried_dependence_level_k): Free unused objects before | |
1336 | returning. | |
1337 | ||
1338 | * testsuite/gcc.dg/graphite/interchange-1.c: XFAILed. | |
1339 | * testsuite/gcc.dg/graphite/interchange-2.c: XFAILed. | |
1340 | * testsuite/gcc.dg/graphite/interchange-3.c: XFAILed. | |
1341 | * testsuite/gcc.dg/graphite/interchange-4.c: XFAILed. | |
1342 | * testsuite/gcc.dg/graphite/interchange-7.c: XFAILed. | |
1343 | ||
f4648ed1 SP |
1344 | 2009-08-05 Sebastian Pop <sebastian.pop@amd.com> |
1345 | ||
1346 | * graphite-blocking.c (scop_do_strip_mine): Call store_scattering. | |
1347 | Early return without analyzing the data dependences if no | |
1348 | transform has been done. Call restore_scattering if the transform | |
1349 | is not legal. | |
1350 | (graphite-interchange.c): Same. | |
1351 | * graphite-poly.c (print_scattering_function): Test for PBB_TRANSFORMED. | |
1352 | (graphite_read_transforms): Initialize PBB_TRANSFORMED. | |
1353 | (apply_poly_transforms): Do not gcc_assert that | |
1354 | the transform is legal. | |
1355 | (new_poly_bb): Initialize PBB_TRANSFORMED, PBB_SAVED, and PBB_ORIGINAL. | |
1356 | Do not initialize PBB_NB_SCATTERING_TRANSFORM, PBB_NB_LOCAL_VARIABLES, | |
1357 | PBB_TRANSFORMED_SCATTERING, and PBB_ORIGINAL_SCATTERING. | |
1358 | (free_poly_dr): Free PBB_TRANSFORMED, PBB_SAVED, and PBB_ORIGINAL. | |
1359 | * graphite-poly.h (struct poly_scattering): New. | |
1360 | (struct poly_bb): Add original, transformed, and saved fields. | |
1361 | Remove transformed_scattering, original_scattering, nb_local_variables, | |
1362 | and nb_scattering_transform fields. | |
1363 | (PBB_ORIGINAL, PBB_TRANSFORMED, PBB_SAVED): New. | |
1364 | (poly_scattering_new): New. | |
1365 | (poly_scattering_free): New. | |
1366 | (poly_scattering_copy): New. | |
1367 | (store_scattering_pbb): New. | |
1368 | (store_scattering): New. | |
1369 | (restore_scattering_pbb): New. | |
1370 | (restore_scattering): New. | |
1371 | * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): | |
1372 | Initialize PBB_TRANSFORMED and PBB_ORIGINAL. | |
273c5dd3 | 1373 | |
e31a5bd4 SP |
1374 | 2009-08-05 Sebastian Pop <sebastian.pop@amd.com> |
1375 | ||
1376 | * graphite-poly.c (print_pbb): Add parentheses in the pretty print. | |
1377 | (print_scop): Same. | |
1378 | ||
8e88f9fd SP |
1379 | 2009-08-05 Sebastian Pop <sebastian.pop@amd.com> |
1380 | ||
1381 | * Makefile.in (graphite.o): Depends on PREDICT_H. | |
1382 | * graphite.c: Include predict.h. | |
1383 | (graphite_finalize): Call tree_estimate_probability. | |
1384 | * predict.c (predict_loops): Do not call scev_initialize and | |
1385 | scev_finalize. | |
1386 | (tree_estimate_probability_bb): New. | |
1387 | (tree_estimate_probability): Do not initialize loops: move that | |
1388 | code to the driver. Call tree_estimate_probability_bb. | |
1389 | (tree_estimate_probability_driver): New. | |
1390 | (pass_profile): Use tree_estimate_probability_driver. | |
1391 | * predict.h (tree_estimate_probability): Declared. | |
1392 | ||
87d4d0ee SP |
1393 | 2009-08-05 Sebastian Pop <sebastian.pop@amd.com> |
1394 | ||
1395 | * graphite-clast-to-gimple.c (gloog): Add time to TV_GRAPHITE_CODE_GEN. | |
1396 | * graphite-dependences.c (graphite_legal_transform): Add time to | |
1397 | TV_GRAPHITE_DATA_DEPS. | |
1398 | (dependency_between_pbbs_p): Same. | |
1399 | * timevar.def (TV_GRAPHITE_DATA_DEPS, TV_GRAPHITE_CODE_GEN): New. | |
1400 | ||
1401 | 2009-08-03 Sebastian Pop <sebastian.pop@amd.com> | |
1402 | ||
1403 | * Merge from mainline (r149952:150372). | |
1404 | ||
2abae5f1 SP |
1405 | 2009-07-28 Sebastian Pop <sebastian.pop@amd.com> |
1406 | ||
1407 | * ChangeLog.graphite: Fix indenting, white spaces and 80 columns. | |
1408 | * graphite-blocking.c: Same. | |
1409 | * graphite-clast-to-gimple.c: Same. | |
1410 | * graphite-dependences.c: Same. | |
1411 | * graphite-poly.c: Same. | |
1412 | * graphite-poly.h: Same. | |
1413 | * graphite-ppl.c: Same. | |
1414 | * graphite-scop-detection.c: Same. | |
1415 | * graphite-sese-to-poly.c: Same. | |
1416 | * graphite.c: Same. | |
1417 | ||
1418 | 2009-07-28 Sebastian Pop <sebastian.pop@amd.com> | |
1419 | ||
1420 | * graphite-sese-to-poly.c (loop_entry_phi_arg): New. | |
1421 | (remove_simple_copy_phi): New. | |
1422 | (remove_invariant_phi): New. | |
1423 | (simple_copy_phi_p): New. | |
1424 | (reduction_phi_p): New. | |
1425 | (gsi_for_ssa_name_def): New. | |
1426 | (insert_out_of_ssa_copy): New. | |
1427 | (insert_out_of_ssa_copy_on_edge): New. | |
1428 | (create_zero_dim_array): New. | |
1429 | (scalar_close_phi_node_p): New. | |
1430 | (rewrite_close_phi_out_of_ssa): New. | |
1431 | (rewrite_phi_out_of_ssa): New. | |
1432 | (rewrite_reductions_out_of_ssa): New. | |
1433 | (build_poly_scop): Call rewrite_reductions_out_of_ssa. | |
1434 | ||
1435 | * testsuite/gcc.dg/graphite/id-11.c: New. | |
1436 | * testsuite/gcc.dg/graphite/id-15.c: New. | |
1437 | * testsuite/gcc.dg/graphite/interchange-1.c: Un-XFAIL. | |
1438 | * testsuite/gcc.dg/graphite/interchange-2.c: Un-XFAIL. | |
1439 | * testsuite/gcc.dg/graphite/interchange-3.c: Un-XFAIL. | |
1440 | * testsuite/gcc.dg/graphite/interchange-4.c: Un-XFAIL. | |
1441 | * testsuite/gcc.dg/graphite/interchange-7.c: Un-XFAIL. | |
1442 | * testsuite/gcc.dg/graphite/scop-matmult.c: Un-XFAIL. | |
1443 | * testsuite/gfortran.dg/graphite/id-13.f: New. | |
1444 | * testsuite/gfortran.dg/graphite/id-5.f: New. | |
1445 | ||
1446 | 2009-07-28 Sebastian Pop <sebastian.pop@amd.com> | |
1447 | ||
1448 | * graphite-clast-to-gimple.c (graphite_loop_normal_form): Do not | |
1449 | check that nb_reductions_in_loop is zero. | |
1450 | * graphite-scop-detection.c (harmful_stmt_in_bb): Don't filter out | |
1451 | reduction phi nodes. | |
1452 | (nb_reductions_in_loop): Removed. | |
1453 | (graphite_can_represent_loop): Do not call nb_reductions_in_loop. | |
1454 | * graphite-sese-to-poly.c (phi_node_is_iv): Removed. | |
1455 | (bb_contains_non_iv_scalar_phi_nodes): Removed. | |
1456 | (scop_contains_non_iv_scalar_phi_nodes): Removed. | |
1457 | (build_poly_scop): Do not call scop_contains_non_iv_scalar_phi_nodes. | |
1458 | ||
1459 | 2009-07-28 Sebastian Pop <sebastian.pop@amd.com> | |
1460 | ||
1461 | * graphite-clast-to-gimple.c (build_cloog_prog): Do not code generate | |
1462 | statements that have an empty iteration domain. | |
1463 | * testsuite/gfortran.dg/graphite/id-16.f: New. | |
1464 | ||
1465 | 2009-07-28 Sebastian Pop <sebastian.pop@amd.com> | |
1466 | ||
1467 | * tree-scalar-evolution.c (instantiate_scev_1): Return | |
1468 | chrec_dont_know when the result is not above instantiate_below. | |
1469 | * graphite-scop-detection.c (scopdet_basic_block_info): Fix formatting. | |
1470 | * graphite-sese-to-poly.c (create_linear_expr_from_tree): Assert that | |
1471 | the tree has a known scalar evolution. | |
1472 | * testsuite/gfortran.dg/graphite/id-14.f: New. | |
1473 | * testsuite/gfortran.dg/graphite/id-15.f: New. | |
1474 | ||
1475 | 2009-07-28 Sebastian Pop <sebastian.pop@amd.com> | |
1476 | ||
1477 | * sese.c (rename_variables_in_stmt): Pass in an extra parameter | |
1478 | insert_gsi. | |
1479 | (rename_variables): Keep inserting renames after the ones already | |
1480 | inserted. | |
1481 | ||
1482 | 2009-07-28 Sebastian Pop <sebastian.pop@amd.com> | |
1483 | ||
1484 | * graphite-sese-to-poly.c (compare_bb_depths): New. | |
1485 | (graphite_sort_dominated_info): New. | |
1486 | (build_scop_bbs_1): Call graphite_sort_dominated_info. | |
1487 | (build_scop_scattering): Fix comment. | |
1488 | ||
1489 | 2009-07-28 Sebastian Pop <sebastian.pop@amd.com> | |
1490 | ||
1491 | * graphite.c (graphite_finalize): Call print_loops instead of | |
1492 | dump_function_to_file. | |
1493 | * testsuite/gcc.dg/graphite/graphite.exp: Fix formatting. | |
1494 | * testsuite/gcc.dg/graphite/pr35356-1.c: New. Look for the number of | |
1495 | loops generated in the graphite output file. | |
1496 | * testsuite/gcc.dg/graphite/pr35356-2.c: New. | |
1497 | * testsuite/gcc.dg/graphite/pr35356-3.c: New. XFAILed for now. | |
1498 | * testsuite/gfortran.dg/graphite/id-12.f: New. | |
1499 | ||
1500 | 2009-07-24 Li Feng <nemokingdom@gmail.com> | |
1501 | ||
1502 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-8.c: | |
1503 | Remove 2 XFAIL. | |
1504 | ||
1505 | 2009-07-24 Li Feng <nemokingdom@gmail.com> | |
1506 | Tobias Grosser <grosser@fim.uni-passau.de> | |
1507 | ||
1508 | * graphite-sese-to-poly.c (pdr_add_alias_set): Use data reference's | |
1509 | alias set number build alias in ACCESSES polyhedron. | |
1510 | (build_alias_set_for_drs): New. | |
1511 | (build_pbb_drs): Added build_alias_set_for_drs. | |
1512 | * graphite-dependences.c (poly_drs_may_alias_p): New. | |
1513 | (graphite_carried_dependence_level_k): Check alias information | |
1514 | before building polyhedron. | |
1515 | ||
1516 | 2009-07-24 Tobias Grosser <grosser@fim.uni-passau.de> | |
1517 | ||
1518 | * Makefile.in (lambda-code.o): Fix formatting. | |
1519 | ||
1520 | 2009-07-24 Tobias Grosser <grosser@fim.uni-passau.de> | |
1521 | ||
1522 | * Merge from mainline (r149350-149952) | |
1523 | ||
1524 | 2009-07-18 Tobias Grosser <grosser@fim.uni-passau.de> | |
1525 | ||
1526 | * graphite-poly.c (apply_poly_transforms): Move strip_mine | |
1527 | before interchange to prepare for loop blocking. | |
1528 | ||
1529 | 2009-07-18 Tobias Grosser <grosser@fim.uni-passau.de> | |
1530 | ||
1531 | * graphite-poly.c (apply_poly_transforms): Add checks after every | |
1532 | transformation. | |
1533 | * graphite-sese-to-poly.c (build_poly_scop): Remove check, as already | |
1534 | done in apply_poly_transforms. | |
1535 | ||
1536 | 2009-07-17 Konrad Trifunovic <konrad.trifunovic@gmail.com> | |
1537 | ||
1538 | * graphite-dependences.c (build_lexicographically_gt_constraint): | |
1539 | Replace RES parameter with *RES. | |
1540 | (dependence_polyhedron_1): Pass an address of the parameter RES | |
1541 | instead of value of RES. | |
1542 | ||
1543 | 2009-07-16 Sebastian Pop <sebastian.pop@amd.com> | |
1544 | ||
1545 | * graphite.c (graphite_finalize): Fix comment. | |
1546 | (graphite_transform_loops): Reset scev info after code generation | |
1547 | of each scop. | |
1548 | ||
1549 | 2009-07-16 Sebastian Pop <sebastian.pop@amd.com> | |
1550 | ||
1551 | * graphite.c (graphite_finalize): Call scev_reset. | |
1552 | ||
1553 | 2009-07-16 Sebastian Pop <sebastian.pop@amd.com> | |
1554 | ||
1555 | * graphite-clast-to-gimple.c (compute_cloog_iv_types): Do not create | |
1556 | GBB_CLOOG_IV_TYPES hash table twice. | |
1557 | * graphite-sese-to-poly.c (free_gimple_bb): Call free_data_refs. | |
1558 | (add_condition_to_domain): Clear GMP values. | |
1559 | ||
1560 | 2009-07-16 Sebastian Pop <sebastian.pop@amd.com> | |
1561 | ||
1562 | * graphite-dependences.c: Fix formatting. | |
1563 | * graphite-poly.c (free_poly_dr): Also free PDR_DATA_CONTAINER. | |
1564 | (pbb_number_of_iterations): Free ppl_Linear_Expression. | |
1565 | * graphite-sese-to-poly.c: Fix formatting. | |
1566 | * graphite.c (graphite_transform_loops): Create the hash table | |
1567 | after the early return. | |
1568 | ||
1569 | 2009-07-16 Sebastian Pop <sebastian.pop@amd.com> | |
1570 | ||
1571 | * testsuite/gcc.dg/graphite/id-14.c: New. | |
1572 | * testsuite/gcc.dg/graphite/pr40157.c: New. | |
1573 | * testsuite/gfortran.dg/graphite/id-11.f: New. | |
1574 | ||
1575 | 2009-07-16 Sebastian Pop <sebastian.pop@amd.com> | |
1576 | ||
1577 | * graphite-sese-to-poly.c (nb_pbbs_in_loops): New. | |
1578 | (build_poly_scop): Return false when there are no pbbs within | |
1579 | loops to avoid to pass to cloog scops with no loops. | |
1580 | ||
1581 | 2009-07-16 Sebastian Pop <sebastian.pop@amd.com> | |
1582 | ||
1583 | * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Avoid | |
1584 | useless test "i % 2". | |
1585 | (build_pbb_scattering_polyhedrons): Fix formatting. | |
1586 | (build_poly_dr): Same. | |
1587 | * graphite.c (graphite_transform_loops): Restructure. | |
1588 | ||
1589 | 2009-07-14 Razya Ladelsky <razya@il.ibm.com> | |
1590 | ||
1591 | * tree-ssa-loop-manip.c (rewrite_phi_with_iv): Remove | |
1592 | reduction_list parameter. | |
1593 | (rewrite_all_phi_nodes_with_iv): Same. | |
1594 | (canonicalize_loop_ivs): Same. | |
1595 | * tree-parloops.c (struct brli): Removed. | |
1596 | (build_reduction_list_info): Removed. | |
1597 | (build_new_reduction): New. | |
1598 | (analyze_reduction_list): Removed. | |
1599 | (gather_scalar_reductions): Find reductions instead of phi | |
1600 | nodes that can't be canonicalized. | |
1601 | (try_create_reduction_list): Remove reduction_list parameter. | |
1602 | (gen_parallel_loop): Same. | |
1603 | (parallelize_loops): Remove analyze_reductions variable, | |
1604 | initialization and free. | |
1605 | Change reduction_list htab initialization to reduction_info | |
1606 | elements instead of ssa names. | |
1607 | Call try_create_reduction_list and gen_parallel_loop without | |
1608 | analyzed_reduction argument. | |
1609 | * graphite-clast-to-gimple (graphite_loop_normal_form): Call | |
1610 | canonicalize_loop_ivs with one less argument. | |
1611 | * tree-flow.h (canonicalize_loop_ivs): Remove one argument. | |
1612 | ||
1613 | 2009-07-14 Konrad Trifunovic <konrad.trifunovic@gmail.com> | |
1614 | ||
1615 | * graphite-dependences.c (new_poly_dr_pair): New. | |
1616 | (dependence_polyhedron): Renamed into dependence_polyhedron_1. | |
1617 | (new_poly_dr_pair): New. | |
1618 | (eq_poly_dr_pair_p): New. | |
1619 | (hash_poly_dr_pair_p): New. | |
1620 | * graphite-dependences.h (struct poly_dr_pair): New. | |
1621 | (eq_poly_dr_pair_p): Declared. | |
1622 | (hash_poly_dr_pair_p): Declared. | |
1623 | * graphite-poly.c (new_scop): Initialize SCOP_ORIGINAL_PDR_PAIRS. | |
1624 | (free_scop): Free SCOP_ORIGINAL_PDR_PAIRS. | |
1625 | * graphite-poly.h (struct scop): Add original_pdr_pairs field. | |
1626 | * Makefile.in (graphite-poly.o): Add dependence on | |
1627 | graphite-dependences.h. | |
1628 | ||
1629 | 2009-07-14 Sebastian Pop <sebastian.pop@amd.com> | |
1630 | ||
1631 | * graphite-scop-detection.c (graphite_can_represent_scev): Do not let | |
1632 | polynomials of degree > 1 pass to Graphite. | |
1633 | * tree-chrec.c (scev_is_linear_expression): Call | |
1634 | evolution_function_is_affine_multivariate_p. | |
1635 | * testsuite/gfortran.dg/graphite/id-10.f90: New. | |
1636 | ||
1637 | 2009-07-14 Sebastian Pop <sebastian.pop@amd.com> | |
1638 | ||
1639 | * tree-scalar-evolution.c (compute_overall_effect_of_inner_loop): | |
1640 | Instantiate scevs varying in outer loops. | |
1641 | * testsuite/gfortran.dg/graphite/id-9.f: Correct testcase. | |
1642 | ||
1643 | 2009-07-14 Sebastian Pop <sebastian.pop@amd.com> | |
1644 | ||
1645 | * graphite-sese-to-poly.c (build_loop_iteration_domains): Do not insert | |
1646 | redundant constraint. | |
1647 | ||
1648 | 2009-07-14 Sebastian Pop <sebastian.pop@amd.com> | |
1649 | ||
1650 | * testsuite/gcc.dg/graphite/graphite.exp: Fix comments. | |
1651 | * testsuite/gfortran.dg/graphite/graphite.exp: Trigger actions | |
1652 | based on the file names as in the C testsuite. | |
1653 | * testsuite/gfortran.dg/graphite/block-1.f90: Fix patterns. | |
1654 | * testsuite/gfortran.dg/graphite/block-2.f: Same. | |
1655 | * testsuite/gfortran.dg/graphite/block-3.f90: Same. | |
1656 | * testsuite/gfortran.dg/graphite/block-4.f90: Same. | |
1657 | * testsuite/gfortran.dg/graphite/id-1.f90: Same. | |
1658 | * testsuite/gfortran.dg/graphite/id-2.f90: Same. | |
1659 | * testsuite/gfortran.dg/graphite/id-3.f90: Same. | |
1660 | * testsuite/gfortran.dg/graphite/id-4.f90: Same. | |
1661 | * testsuite/gfortran.dg/graphite/id-6.f: Same. | |
1662 | * testsuite/gfortran.dg/graphite/id-9.f: Same. | |
1663 | * testsuite/gfortran.dg/graphite/interchange-1.f: Same. | |
1664 | * testsuite/gfortran.dg/graphite/interchange-2.f: Same. | |
1665 | * testsuite/gfortran.dg/graphite/scop-1.f: Same. | |
1666 | ||
1667 | 2009-07-14 Sebastian Pop <sebastian.pop@amd.com> | |
1668 | ||
1669 | * sese.c (expand_scalar_variables_call): New. | |
1670 | (expand_scalar_variables_ssa_name): Handle calls in expander. | |
1671 | ||
1672 | 2009-07-13 Sebastian Pop <sebastian.pop@amd.com> | |
1673 | ||
1674 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-6.c: | |
1675 | Expect to see the pattern twice. | |
1676 | * testsuite/gcc.dg/graphite/interchange-0.c: Un-XFAIL. | |
1677 | * testsuite/gcc.dg/graphite/interchange-5.c: Same. | |
1678 | * testsuite/gcc.dg/graphite/interchange-6.c: Same. | |
1679 | ||
1680 | 2009-07-13 Sebastian Pop <sebastian.pop@amd.com> | |
1681 | ||
1682 | * testsuite/gcc.dg/graphite/id-10.c: New. | |
1683 | * testsuite/gcc.dg/graphite/id-12.c: New. | |
1684 | * testsuite/gfortran.dg/graphite/id-7.f: New. | |
1685 | * testsuite/gfortran.dg/graphite/id-8.f: New. | |
1686 | ||
1687 | 2009-07-13 Sebastian Pop <sebastian.pop@amd.com> | |
1688 | ||
1689 | * graphite-sese-to-poly.c (pdr_add_data_dimensions): Fix division by | |
1690 | zero. | |
1691 | ||
1692 | 2009-07-13 Sebastian Pop <sebastian.pop@amd.com> | |
1693 | ||
1694 | * sese.c (rename_variables_in_stmt): Call fold_convert during renaming. | |
1695 | ||
1696 | 2009-07-13 Sebastian Pop <sebastian.pop@amd.com> | |
1697 | ||
1698 | * sese.c (expand_scalar_variables_stmt): Avoid unnecessary expansion. | |
1699 | ||
1700 | 2009-07-10 Sebastian Pop <sebastian.pop@amd.com> | |
1701 | ||
1702 | * graphite-sese-to-poly.c (pdr_add_memory_accesses): Fix order of | |
1703 | building PDR subscripts. | |
1704 | ||
1705 | 2009-07-10 Sebastian Pop <sebastian.pop@amd.com> | |
1706 | ||
1707 | * graphite-sese-to-poly.c (pdr_add_data_dimensions): Fix the | |
1708 | computation of array sizes. | |
1709 | ||
1710 | 2009-07-10 Sebastian Pop <sebastian.pop@amd.com> | |
1711 | ||
1712 | * graphite-sese-to-poly.c (add_param_constraints): Disabled. | |
1713 | ||
1714 | 2009-07-10 Tobias Grosser <grosser@fim.uni-passau.de> | |
1715 | ||
1716 | * graphite-dependences.c (map_into_dep_poly, map_dr_into_dep_poly, | |
1717 | build_pairwise_constraint, dr_equality_constraints, | |
1718 | build_pairwise_scheduling_equality, | |
1719 | build_pairwise_scheduling_inequality, lexicographically_gt_p, | |
1720 | build_lexicographically_gt_constraint, dependence_polyhedron, | |
1721 | graphite_legal_transform_dr, graphite_carried_dependence_level_k): | |
1722 | Move from NNC_Polyhedron to C_Polyhedron. | |
1723 | * graphite-interchange.c (compute_array_size_poly, | |
1724 | gather_access_strides): Dito. | |
1725 | * graphite-poly.c (apply_poly_transforms, new_poly_dr, free_poly_bb, | |
1726 | free_scop, pbb_number_of_iterations): Dito. | |
1727 | * graphite-poly.h (struct poly_dr, pdr_nb_subscripts, struct poly_bb, | |
1728 | pbb_dim_iter_domain, struct scop): Dito. | |
1729 | * graphite-ppl.c (new_Constraint_System_from_Cloog_Matrix, | |
1730 | new_Cloog_Domain_from_ppl_Polyhedron, | |
1731 | new_Cloog_Domain_from_ppl_Pointset_Powerset, ppl_set_coef_gmp, | |
1732 | ppl_insert_dimensions_pointset, ppl_insert_dimensions_pointset, | |
1733 | ppl_strip_loop, ppl_strip_loop, ppl_print_polyhedron_matrix, | |
1734 | ppl_print_powerset_matrix, debug_ppl_polyhedron_matrix, | |
1735 | debug_ppl_powerset_matrix, ppl_read_polyhedron_matrix): Dito. | |
1736 | * graphite-ppl.h (ppl_Pointset_Powerset_C_Polyhedron_t, | |
1737 | new_C_Polyhedron_from_Cloog_Matrix, ppl_print_powerset_matrix, | |
1738 | debug_ppl_powerset_matrix, ppl_insert_dimensions_pointset): Dito. | |
1739 | * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons, | |
1740 | build_loop_iteration_domains, ppl_constraint_type_from_tree_code, | |
1741 | add_condition_to_domain, add_condition_to_pbb, build_scop_context, | |
1742 | build_scop_iteration_domain, build_poly_dr): Dito | |
1743 | ||
1744 | 2009-07-09 Sebastian Pop <sebastian.pop@amd.com> | |
1745 | ||
1746 | * testsuite/gcc.dg/graphite/graphite.exp: Added a rule to execute | |
1747 | run-id-*.c files. | |
1748 | * testsuite/gcc.dg/graphite/run-id-1.c: New. | |
1749 | ||
1750 | 2009-07-09 Sebastian Pop <sebastian.pop@amd.com> | |
1751 | ||
1752 | * graphite-sese-to-poly.c (build_loop_iteration_domains): Add the | |
1753 | positivity constraint on the symbolic number of iterations. | |
1754 | ||
1755 | 2009-07-09 Sebastian Pop <sebastian.pop@amd.com> | |
1756 | ||
1757 | * graphite-sese-to-poly.c (build_loop_iteration_domains): Rewrite. | |
1758 | ||
1759 | 2009-07-09 Sebastian Pop <sebastian.pop@amd.com> | |
1760 | Tobias Grosser <grosser@fim.uni-passau.de> | |
1761 | ||
1762 | * graphite-clast-to-gimple.c (build_scop_context): Removed. | |
1763 | (build_cloog_prog): Directly use SCOP_CONTEXT. | |
1764 | * graphite-poly.c (new_scop): Initialize SCOP_CONTEXT. | |
1765 | (free_scop): Free SCOP_CONTEXT. | |
1766 | (print_scop_context): New. | |
1767 | (print_scop): Call print_scop_context. | |
1768 | (debug_scop_context): New. | |
1769 | * graphite-poly.h (print_scop_context, debug_scop_context): Declared. | |
1770 | (struct scop): Added field context. | |
1771 | (SCOP_CONTEXT): New. | |
1772 | * graphite-sese-to-poly.c (add_param_constraints): New. | |
1773 | (build_scop_context): New. | |
1774 | (build_poly_scop): Call build_scop_context. | |
1775 | ||
1776 | 2009-07-09 Sebastian Pop <sebastian.pop@amd.com> | |
1777 | ||
1778 | * graphite-clast-to-gimple.c (gmp_cst_to_tree): Moved... | |
1779 | * graphite-ppl.c (ppl_set_inhomogeneous_gmp, ppl_set_coef_gmp): New. | |
1780 | (ppl_set_inhomogeneous, ppl_set_coef): Moved... | |
1781 | * graphite-ppl.h: Include double-int.h and tree.h. | |
1782 | (ppl_set_inhomogeneous_gmp, ppl_set_coef_gmp): Declared. | |
1783 | (ppl_set_inhomogeneous, ppl_set_coef): ...here. | |
1784 | (gmp_cst_to_tree): ...here. Reimplemented using mpz_get_double_int. | |
1785 | (tree_int_to_gmp, ppl_set_inhomogeneous_tree, ppl_set_coef_tree): New. | |
1786 | ||
1787 | 2009-07-09 Sebastian Pop <sebastian.pop@amd.com> | |
1788 | ||
1789 | * graphite-clast-to-gimple.c (clast_to_gcc_expression_red): Generate | |
1790 | POINTER_PLUS_EXPR for pointer types. | |
1791 | (clast_to_gcc_expression): Same. | |
1792 | ||
1793 | 2009-07-09 Sebastian Pop <sebastian.pop@amd.com> | |
1794 | ||
1795 | * graphite-poly.c (print_scattering_function): Early return when | |
1796 | PBB_TRANSFORMED_SCATTERING is not initialized. | |
1797 | (print_pbb_domain): Early return when PBB_DOMAIN is not initialized. | |
1798 | ||
1799 | 2009-07-08 Sebastian Pop <sebastian.pop@amd.com> | |
1800 | ||
1801 | * tree-parloops.c (analyze_reduction_list): Remove unused variable | |
1802 | to fix bootstrap. | |
1803 | ||
1804 | 2009-07-08 Razya Ladelsky <razya@il.ibm.com> | |
1805 | ||
1806 | * tree-parloops.c (analyze_reduction_list): Change return | |
1807 | value to void. | |
1808 | (try_create_reduction_list): Move the call to | |
1809 | analyze_reduction_list to the beginining. | |
1810 | Call reduction_phi with analyzed_reductions as argument | |
1811 | instead of reduction_list. | |
1812 | ||
1813 | 2009-07-08 Tobias Grosser <grosser@fim.uni-passau.de> | |
1814 | ||
1815 | * Merge from mainline (r148296:149346) | |
1816 | ||
1817 | 2009-07-07 Sebastian Pop <sebastian.pop@amd.com> | |
1818 | ||
1819 | * graphite-scop-detection.c (graphite_can_represent_init): New. | |
1820 | (graphite_can_represent_scev): Call graphite_can_represent_init: | |
1821 | check that the initial value does not contain multiplications of | |
1822 | parameters. | |
1823 | (stmt_has_simple_data_refs_p): New. | |
1824 | (stmt_simple_for_scop_p): Call stmt_simple_for_scop_p. | |
1825 | (is_simple_operand): Fix formatting. | |
1826 | * graphite-sese-to-poly.c (try_generate_gimple_bb): Fix formatting. | |
1827 | ||
1828 | 2009-07-07 Sebastian Pop <sebastian.pop@amd.com> | |
1829 | ||
1830 | * testsuite/gcc.dg/graphite/id-13.c: New. | |
1831 | * graphite-sese-to-poly.c (graphite_stmt_p): Do not call | |
1832 | analyze_scalar_evolution, use scalar_evolution_in_region. | |
1833 | (scan_tree_for_params_right_scev): Add extra assert. | |
1834 | (parameter_index_in_region_1): Split from parameter_index_in_region. | |
1835 | (idx_record_params): Use scalar_evolution_in_region. | |
1836 | (find_params_in_bb): Same. | |
1837 | (find_scop_parameters): Same. | |
1838 | (build_loop_iteration_domains): Same. | |
1839 | (create_linear_expr_from_tree): Same. | |
1840 | * sese.c (scalar_evolution_in_region): New. | |
1841 | * sese.h (scalar_evolution_in_region): Declared. | |
1842 | (defined_in_sese_p): New. | |
1843 | * tree-scalar-evolution.c (compute_overall_effect_of_inner_loop): Not | |
1844 | static anymore. | |
1845 | * tree-scalar-evolution.h (compute_overall_effect_of_inner_loop): | |
1846 | Declared. | |
1847 | ||
1848 | 2009-07-07 Sebastian Pop <sebastian.pop@amd.com> | |
1849 | ||
1850 | * Makefile.in: Replace dependences on tree-chrec.h with SCEV_H. | |
1851 | TREE_DATA_REF_H also implies SCEV_H. | |
1852 | ||
1853 | 2009-07-07 Sebastian Pop <sebastian.pop@amd.com> | |
1854 | ||
1855 | * graphite-poly.c (print_scop_params): New. | |
1856 | (print_scop): Call print_scop_params. | |
1857 | (debug_scop_params): New. | |
1858 | * graphite-poly.h (print_scop_params, debug_scop_params): Declared. | |
1859 | ||
1860 | 2009-07-07 Li Feng <nemokingdom@gmail.com> | |
1861 | ||
1862 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-4.c: New. | |
1863 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-5.c: New. | |
1864 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-6.c: New. | |
1865 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-7.c: New. | |
1866 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-8.c: New. | |
1867 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-9.c: New. | |
1868 | ||
1869 | 2009-07-07 Li Feng <nemokingdom@gmail.com> | |
1870 | ||
1871 | * graphite-clast-to-gimple.c (mark_loops_parallel): Dump information | |
1872 | for dependency checking part. | |
1873 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-1.c: Add | |
1874 | tests for dependency checking. | |
1875 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-2.c: Ditto. | |
1876 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-3.c: Ditto. | |
1877 | * testsuite/gcc.dg/graphite/graphite_autopar/graphite_autopar.exp: Add | |
1878 | flag -fdump-tree-graphite-all for autopar testsuites. | |
1879 | ||
1880 | 2009-07-06 Sebastian Pop <sebastian.pop@amd.com> | |
1881 | ||
1882 | * Makefile.in (tree-ssa-loop-manip.o): Depends on langhooks.h. | |
1883 | * tree-parloops.c (rewrite_phi_with_iv, rewrite_all_phi_nodes_with_iv, | |
1884 | canonicalize_loop_ivs): Moved... | |
1885 | * tree-ssa-loop-manip.c: ... here. Include langhooks.h. | |
1886 | ||
1887 | 2009-07-06 Sebastian Pop <sebastian.pop@amd.com> | |
1888 | ||
1889 | * tree-parloops.c (try_create_reduction_list): Pass an extra | |
1890 | argument analyzed_reductions. Call analyze_reduction_list. | |
1891 | (gen_parallel_loop): Do not call analyze_reduction_list. | |
1892 | (parallelize_loops): Init and finalize analyzed_reductions. | |
1893 | ||
1894 | 2009-07-06 Li Feng <nemokingdom@gmail.com> | |
1895 | ||
1896 | * testsuite/gcc.dg/graphite/graphite_autopar/graphite_autopar.exp: | |
1897 | Added flag -fno-loop-strip-mine for autopar testcase. | |
1898 | ||
1899 | 2009-07-04 Li Feng <nemokingdom@gmail.com> | |
1900 | ||
1901 | * graphite-dependences.c (graphite_carried_dependence_level_k): Use | |
1902 | transformed scattering dimension instead of unmatch orignal when | |
1903 | calling dependence_polyhedron. | |
1904 | ||
1905 | 2009-06-30 Sebastian Pop <sebastian.pop@amd.com> | |
1906 | ||
1907 | * opts.c (decode_options): Enable flag_loop_strip_mine at -O2. | |
1908 | ||
1909 | 2009-06-30 Sebastian Pop <sebastian.pop@amd.com> | |
1910 | ||
1911 | * graphite-poly.c (pbb_number_of_iterations): Check for returned | |
1912 | value 1 from ppl_Pointset_Powerset_NNC_Polyhedron_maximize. | |
1913 | ||
1914 | 2009-06-30 Sebastian Pop <sebastian.pop@amd.com> | |
1915 | ||
1916 | * graphite-blocking.c (pbb_strip_mine_profitable_p): New. | |
1917 | (pbb_do_strip_mine): Call pbb_strip_mine_profitable_p. | |
1918 | * graphite-poly.c (pbb_number_of_iterations): New. | |
1919 | * graphite-poly.h (pbb_number_of_iterations): Declared. | |
1920 | (pbb_iterator_dim, pbb_parameter_dim): New. | |
1921 | ||
1922 | 2009-06-29 Sebastian Pop <sebastian.pop@amd.com> | |
1923 | ||
1924 | * graphite-clast-to-gimple.c (graphite_create_new_loop): Revert the | |
1925 | last commit on type of lower and upper bound of loops. | |
1926 | ||
1927 | 2009-06-29 Li Feng <nemokingdom@gmail.com> | |
1928 | ||
1929 | * Makefile.in (graphite-clast-to-gimple.o): Added dependence on | |
1930 | graphite-dependences.h. | |
1931 | * graphite-clast-to-gimple.c (new_bb_pbb_def): New. | |
1932 | (mark_bb_with_pbb): New. | |
1933 | (get_stmtfor_depth): New. | |
1934 | (find_pbb_via_hash): New. | |
1935 | (dependency_in_loop_p): New. | |
1936 | (mark_loops_parallel): New. | |
1937 | (free_aux_in_new_loops): New. | |
1938 | (translate_clast): Add parameter BB_PBB_MAPPING. Mark newly created | |
1939 | bb with it's relevant pbb. Mark newly created loops. Remove mark | |
1940 | innermost loop parallel without checking. | |
1941 | (gloog): Add parameter BB_PBB_MAPPING. | |
1942 | * graphite-clast-to-gimple.h (struct bb_pbb_def): New. | |
1943 | (gloog): Change declaration. | |
1944 | (mark_loop_parallel): Make extern. | |
1945 | (free_aux_in_new_loops): Declare. | |
1946 | (bb_pbb_map_hash): New. | |
1947 | (eq_bb_pbb_map): New. | |
1948 | * graphite.c (graphite_transform_loops): Added BB_PBB_MAPPING. Trigger | |
1949 | auto parallelization when flag_graphite_force_parallel is set. | |
1950 | (graphite_finalize): Added free_aux_in_new_loops. | |
1951 | * tree-parloops.c (parallelize_loops): Only generate parallel code for | |
1952 | the innermost loop that marked parallel. Use | |
1953 | flag_graphite_force_parallel instead of loop->can_be_parallel. | |
1954 | (loop_parallel_p): Move inner most checking out of function. | |
1955 | ||
1956 | 2009-06-26 Sebastian Pop <sebastian.pop@amd.com> | |
1957 | ||
1958 | * graphite-clast-to-gimple.c (graphite_create_new_loop): Make the | |
1959 | type of lower and upper bound of loops signed long int. | |
1960 | ||
1961 | 2009-06-26 Sebastian Pop <sebastian.pop@amd.com> | |
1962 | ||
1963 | * cfgloopmanip.c (create_empty_loop_on_edge): Gimplify the loop exit | |
1964 | expression outside the loop. | |
1965 | ||
1966 | 2009-06-26 Sebastian Pop <sebastian.pop@amd.com> | |
1967 | ||
1968 | * gcc.dg/graphite/interchange-8.c: New. | |
1969 | ||
1970 | 2009-06-26 Sebastian Pop <sebastian.pop@amd.com> | |
1971 | ||
1972 | * gcc.dg/graphite/interchange-0.c: XFailed. | |
1973 | * gcc.dg/graphite/interchange-5.c: XFailed. | |
1974 | * gcc.dg/graphite/interchange-6.c: XFailed. | |
1975 | ||
1976 | 2009-06-26 Sebastian Pop <sebastian.pop@amd.com> | |
1977 | ||
1978 | * graphite-interchange.c (compute_array_size_poly): The end of the | |
1979 | recursion should return 1. | |
1980 | ||
1981 | 2009-06-26 Sebastian Pop <sebastian.pop@amd.com> | |
1982 | ||
1983 | * graphite-interchange.c (compute_array_size_cstr): Allow the | |
1984 | subscript multiplier to be -1. | |
1985 | (compute_array_size): Use PDR_DATA_CONTAINER and not PDR_ACCESSES. | |
1986 | * graphite-poly.c (new_poly_dr): Takes an extra argument for the | |
1987 | data_container. Initializes PDR_DATA_CONTAINER. | |
1988 | (print_pdr_access_layout): New. | |
1989 | (print_pdr): Call print_pdr_access_layout. Print PDR_DATA_CONTAINER. | |
1990 | * graphite-poly.h (struct poly_dr): Adjust comment. Add a new field | |
1991 | data_container. | |
1992 | (PDR_DATA_CONTAINER): New. | |
1993 | (new_poly_dr): Update declaration. | |
1994 | * graphite-sese-to-poly.c (pdr_add_data_dimensions): New. | |
1995 | (build_poly_dr): Call pdr_add_data_dimensions. | |
1996 | ||
1997 | 2009-06-26 Sebastian Pop <sebastian.pop@amd.com> | |
1998 | ||
1999 | * graphite-poly.h (struct poly_dr): Fix comment. | |
2000 | * graphite-sese-to-poly.c (pdr_add_alias_set): New. | |
2001 | (pdr_add_memory_accesses): New. | |
2002 | (build_poly_dr): Call pdr_add_memory_accesses and pdr_add_alias_set. | |
2003 | ||
2004 | 2009-06-26 Sebastian Pop <sebastian.pop@amd.com> | |
2005 | ||
2006 | * graphite-poly.c (print_pdrs, debug_pdrs): New. | |
2007 | (print_pbb): Add call to print_pdrs. | |
2008 | * graphite-poly.h (print_pdrs, debug_pdrs): Declared. | |
2009 | ||
2010 | 2009-06-24 Konrad Trifunovic <konrad.trifunovic@gmail.com> | |
2011 | Li Feng <nemokingdom@gmail.com> | |
2012 | ||
2013 | * graphite-dependences.c (graphite_carried_dependence_level_k): New. | |
2014 | (dependency_between_pbbs_p): New. | |
2015 | (lexicographically_gt_p): Assure !empty_p before polyhedron | |
2016 | intersection assign. | |
2017 | (build_lexicographically_gt_constraint): Correct lexicographically | |
2018 | judging. | |
2019 | * graphite-dependences.h: New. | |
2020 | * Makefile.in (graphite-dependences.o): Add graphite-dependences.h. | |
2021 | ||
2022 | 2009-06-24 Sebastian Pop <sebastian.pop@amd.com> | |
2023 | ||
2024 | * graphite-clast-to-gimple.c (print_clast_stmt): New. | |
2025 | (gloog): Print to dump_file the generated clast. | |
2026 | * graphite-clast-to-gimple.h (print_clast_stmt): Declared. | |
2027 | * graphite-interchange.c (pbb_do_interchange): Fix dump formatting. | |
2028 | ||
2029 | 2009-06-24 Sebastian Pop <sebastian.pop@amd.com> | |
2030 | ||
2031 | * graphite-poly.c (extend_scattering): Increment | |
2032 | PBB_NB_LOCAL_VARIABLES by the number of added dimensions. | |
2033 | ||
2034 | 2009-06-24 Sebastian Pop <sebastian.pop@amd.com> | |
2035 | ||
2036 | * graphite-interchange.c (compute_array_size_poly): Added exit of | |
2037 | recursion condition. Continue iterating even after the first equality. | |
2038 | (compute_array_size): Same. | |
2039 | ||
2040 | 2009-06-24 Li Feng <nemokingdom@gmail.com> | |
2041 | ||
2042 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-1.c: Update | |
2043 | -fdump-tree-final_cleanup to -fdump-tree-optimized. | |
2044 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-2.c: Ditto. | |
2045 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-3.c: Ditto. | |
2046 | * testsuite/gcc.dg/graphite/graphite_autopar/graphite_autopar.exp: Ditto. | |
2047 | ||
2048 | 2009-06-23 Sebastian Pop <sebastian.pop@amd.com> | |
2049 | ||
2050 | * sese.c (expand_scalar_variables_stmt): Expand scalar variables | |
2051 | only when the use verifies is_gimple_reg. | |
2052 | ||
2053 | 2009-06-23 Sebastian Pop <sebastian.pop@amd.com> | |
2054 | ||
2055 | * graphite-clast-to-gimple.c (build_cloog_prog): Fix memory corruption. | |
2056 | Allocate scaldims after call to unify_scattering_dimensions. | |
2057 | ||
2058 | 2009-06-23 Sebastian Pop <sebastian.pop@amd.com> | |
2059 | ||
2060 | * graphite-clast-to-gimple.c (translate_clast): Fix memory leak. | |
2061 | ||
2062 | 2009-06-23 Sebastian Pop <sebastian.pop@amd.com> | |
2063 | Albert Cohen <albert.cohen@inria.fr> | |
2064 | ||
2065 | * graphite-blocking.c (pbb_strip_mine_loop_depth): Do not use local | |
2066 | variables for the strip mining. | |
2067 | ||
2068 | 2009-06-23 Sebastian Pop <sebastian.pop@amd.com> | |
2069 | Pranav Garg <pranav.garg2107@gmail.com> | |
2070 | ||
2071 | * Makefile.in (OBJS-common): Added graphite-blocking.o. | |
2072 | (graphite-sese-to-poly.o): Moved down to be in lexicographical order. | |
2073 | (graphite-blocking.o): New rule. | |
2074 | (graphite-poly.o, graphite-ppl.o): Moved to be in lexicographical order. | |
2075 | * graphite-blocking.c: New. | |
2076 | * graphite-poly.c (apply_poly_transforms): Call scop_do_strip_mine for | |
2077 | flag_loop_strip_mine. | |
2078 | (psct_scattering_dim_for_loop_depth): New. | |
2079 | * graphite-poly.h (scop_do_strip_mine): Declared. | |
2080 | (psct_add_local_variable): Increment PBB_NB_LOCAL_VARIABLES. | |
2081 | * tree-ssa-loop.c (gate_graphite_transforms): Do not fail when using | |
2082 | flag_loop_strip_mine. | |
2083 | ||
2084 | 2009-06-23 Sebastian Pop <sebastian.pop@amd.com> | |
2085 | ||
2086 | * graphite-poly.c (extend_scattering): Avoid initializing and freeing | |
2087 | a GMP value and a PPL coefficient at each iteration of a loop. | |
2088 | ||
2089 | 2009-06-23 Sebastian Pop <sebastian.pop@amd.com> | |
2090 | ||
2091 | * graphite-dependences.c (dependence_polyhedron): Do not use | |
2092 | pbb_nb_scattering_dims anymore. Use pbb_nb_scattering_orig and | |
2093 | pbb_nb_scattering_transform. | |
2094 | (graphite_legal_transform_dr): Same. | |
2095 | * graphite-poly.c (extend_scattering): Same. | |
2096 | (unify_scattering_dimensions): Same. | |
2097 | (print_scattering_function): Same. | |
2098 | (new_poly_bb): Initialize PBB_NB_SCATTERING_TRANSFORM and | |
2099 | PBB_NB_LOCAL_VARIABLES. | |
2100 | * graphite-poly.h (pbb_nb_scattering): Removed declaration. | |
2101 | (struct poly_bb): Added nb_local_variables and nb_scattering_transform. | |
2102 | (PBB_NB_LOCAL_VARIABLES, PBB_NB_SCATTERING_TRANSFORM): New. | |
2103 | (pbb_nb_scattering_orig, pbb_nb_scattering_transform): New. | |
2104 | (pbb_nb_scattering_dims, pbb_nb_scattering): Removed. | |
2105 | (pbb_nb_scattering_transform): New. | |
2106 | (pbb_nb_local_vars): Return PBB_NB_LOCAL_VARIABLES. | |
2107 | (psco_scattering_dim): Add assert on parameters. | |
2108 | (psct_scattering_dim): Same. | |
2109 | (psct_scattering_dim_for_loop_depth): Declared. | |
2110 | (psct_local_var_dim): New. | |
2111 | (psco_iterator_dim, psco_parameter_dim): Add assert on parameters. | |
2112 | (psct_iterator_dim, psct_parameter_dim): Same. To maintain the | |
2113 | correct layout, call pbb_nb_local_vars. | |
2114 | (psct_add_local_variable, psct_add_scattering_dimension): New. | |
2115 | * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): | |
2116 | Initialize PBB_NB_SCATTERING_TRANSFORM. | |
2117 | ||
2118 | 2009-06-23 Sebastian Pop <sebastian.pop@amd.com> | |
2119 | ||
2120 | * graphite-ppl.c (set_inhomogeneous): Renamed ppl_set_inhomogeneous. | |
2121 | (set_coef): Renamed ppl_set_coef. | |
2122 | * graphite-ppl.h (ppl_set_inhomogeneous, ppl_set_coef): Declared. | |
2123 | ||
2124 | 2009-06-23 Sebastian Pop <sebastian.pop@amd.com> | |
2125 | ||
2126 | * graphite-dependences.c (build_pairwise_scheduling_inequality): Don't | |
2127 | test a boolean against 1. | |
2128 | * graphite-interchange.c (pbb_interchange_loop_depths): Do not build | |
2129 | a new polyhedron for the PBB_TRANSFORMED_SCATTERING. | |
2130 | (pbb_do_interchange): Returns true when a transform has been performed. | |
2131 | (scop_do_interchange): Same. | |
2132 | * graphite-poly.c (apply_poly_transforms): Use the return value of | |
2133 | scop_do_interchange. | |
2134 | * graphite-poly.h (scop_do_interchange): Update declaration. | |
2135 | ||
2136 | 2009-06-23 Tobias Grosser <grosser@fim.uni-passau.de> | |
2137 | ||
2138 | * graphite-clast-to-gimple.c (gloog): Reset loop->aux right | |
2139 | after last use. | |
2140 | * sese.c (sese_reset_aux_in_loops): New. | |
2141 | * sese.h (sese_reset_aux_in_loops): New. | |
2142 | ||
2143 | 2009-06-19 Sebastian Pop <sebastian.pop@amd.com> | |
2144 | ||
2145 | * graphite-sese-to-poly.c (scan_tree_for_params_int): Pass in the | |
2146 | multiplier and multiply the constant by the multiplier. | |
2147 | (scan_tree_for_params): Bound the multiplier to its MULT_EXPR. | |
2148 | (build_poly_dr): Do not use the multiplier to define the subscript. | |
2149 | ||
2150 | 2009-06-19 Sebastian Pop <sebastian.pop@amd.com> | |
2151 | ||
2152 | * graphite-poly.c (new_poly_dr): Pass an extra argument for the | |
2153 | compiler's data reference. Initialize PDR_CDR. | |
2154 | (print_pdr): Call dump_data_reference. | |
2155 | * graphite-poly.h (struct poly_dr): Rename black_box into pbb. | |
2156 | Add compiler_dr field. | |
2157 | (PDR_BB): Renamed PDR_PBB. | |
2158 | (PDR_CDR): New. | |
2159 | * graphite-sese-to-poly.c (build_poly_dr): Pass to new_poly_dr | |
2160 | GCC's data reference representation. | |
2161 | * tree-data-ref.c (debug_data_references, debug_data_reference): New. | |
2162 | * tree-data-ref.h (debug_data_references, debug_data_reference): Decl. | |
2163 | ||
2164 | 2009-06-19 Sebastian Pop <sebastian.pop@amd.com> | |
2165 | ||
2166 | * graphite-poly.c (print_scattering_function): Also print the layout. | |
2167 | * graphite-poly.h (pbb_nb_local_vars): New. | |
2168 | ||
2169 | 2009-06-19 Sebastian Pop <sebastian.pop@amd.com> | |
2170 | ||
2171 | * graphite-poly.c (print_pbb_domain): Also print the layout names. | |
2172 | ||
2173 | 2009-06-19 Sebastian Pop <sebastian.pop@amd.com> | |
2174 | ||
2175 | * graphite-poly.c (print_pdr, debug_pdr): New. | |
2176 | * graphite-poly.h (print_pdr, debug_pdr): Declared. | |
2177 | (PDR_BASE): Removed. | |
2178 | ||
2179 | 2009-06-18 Sebastian Pop <sebastian.pop@amd.com> | |
2180 | ||
2181 | * gcc/testsuite/gcc.dg/graphite/interchange-{1..7}.c: New avatars of | |
2182 | ltrans-{1..6,8}.c. | |
2183 | ||
2184 | 2009-06-18 Sebastian Pop <sebastian.pop@amd.com> | |
2185 | ||
2186 | * graphite-interchange.c (compute_subscript): Allow also -1 in the | |
2187 | subscript identification column. | |
2188 | (pbb_do_interchange): Print to dump_file that some loops "will be | |
2189 | interchanged". Rely on that chain of characters in the testcases. | |
2190 | * gcc.dg/graphite/interchange-0.c: New. | |
2191 | * gcc.dg/graphite/graphite.exp: Iterate over the testsuite | |
2192 | interchange-*.c files and compile them with -floop-interchange. | |
2193 | ||
2194 | 2009-06-18 Pranav Garg <pranav.garg2107@gmail.com> | |
2195 | ||
2196 | * graphite-interchange.c (interchange_profitable_p): Renamed | |
2197 | pbb_interchange_profitable_p. | |
2198 | ||
2199 | 2009-06-18 Sebastian Pop <sebastian.pop@amd.com> | |
2200 | Harsha Jagasia <harsha.jagasia@amd.com> | |
2201 | Pranav Garg <pranav.garg2107@gmail.com> | |
2202 | ||
2203 | * graphite-interchange.c (interchange_profitable_p): Make static. | |
2204 | (pbb_interchange_loop_depths, pbb_do_interchange, | |
2205 | scop_do_interchange): New. | |
2206 | * graphite-poly.c (apply_poly_transforms): Call scop_do_interchange | |
2207 | for flag_loop_interchange. | |
2208 | * graphite-poly.h (scop_do_interchange): Declared. | |
2209 | * tree-ssa-loop.c (gate_graphite_transforms): Do not fail when | |
2210 | flag_loop_interchange is used. | |
2211 | ||
2212 | 2009-06-18 Sebastian Pop <sebastian.pop@amd.com> | |
2213 | ||
2214 | * graphite-dependences.c (dependence_polyhedron): Update use of | |
2215 | pbb_nb_scattering_dims. | |
2216 | * graphite-poly.h (pbb_nb_scattering_dims): Do not pass SCOP. | |
2217 | (pbb_nb_scattering): Update use of pbb_nb_scattering_dims. | |
2218 | (psco_scattering_dim, psct_scattering_dim, psco_iterator_dim, | |
2219 | psct_iterator_dim, psco_parameter_dim, psct_parameter_dim): New. | |
2220 | ||
2221 | 2009-06-16 Sebastian Pop <sebastian.pop@amd.com> | |
2222 | ||
2223 | * graphite.c: Cleanup foo. | |
2224 | ||
2225 | 2009-06-16 Sebastian Pop <sebastian.pop@amd.com> | |
2226 | ||
2227 | * Merge from mainline (r143684:148293). | |
2228 | * Disabled libpcp until it gets fixed. | |
2229 | ||
2230 | 2009-06-05 Sebastian Pop <sebastian.pop@amd.com> | |
2231 | Harsha Jagasia <harsha.jagasia@amd.com> | |
2232 | ||
2233 | * graphite-interchange.c: New. | |
2234 | * Makefile.in (graphite-interchange.o): New. | |
2235 | * graphite-poly.h (interchange_profitable_p): Declared. | |
2236 | * graphite-ppl.h (value_max): New. | |
2237 | ||
2238 | 2009-06-04 Sebastian Pop <sebastian.pop@amd.com> | |
2239 | ||
2240 | * graphite-dependences.c (dependence_polyhedron): Use pdr_dim. | |
2241 | * graphite-poly.h: Fix some comments. | |
2242 | (pdr_dim): New. | |
2243 | (pdr_scop): New. | |
2244 | ||
2245 | 2009-06-04 Sebastian Pop <sebastian.pop@amd.com> | |
2246 | ||
2247 | * graphite-poly.h | |
2248 | (pdr_accessp_nb_subscripts): Renamed pdr_nb_subscripts. | |
2249 | (pdr_accessp_nb_iterators): Renamed pdr_dim_iter_domain. | |
2250 | (pdr_accessp_nb_params): Renamed pdr_nb_params. | |
2251 | (pdr_accessp_alias_set_dim): Renamed pdr_alias_set_dim. | |
2252 | (pdr_accessp_subscript_dim): Renamed pdr_subscript_dim. | |
2253 | (pdr_accessp_iterator_dim): Renamed pdr_iterator_dim. | |
2254 | (pdr_accessp_param_dim): Renamed pdr_parameter_dim. | |
2255 | (pbb_nb_loops): Renamed pbb_dim_iter_domain. | |
2256 | * graphite-clast-to-gimple.c: Same. | |
2257 | * graphite-dependences.c: Same. | |
2258 | * graphite-poly.c: Same. | |
2259 | * graphite-sese-to-poly.c: Same. | |
2260 | ||
2261 | 2009-06-03 Sebastian Pop <sebastian.pop@amd.com> | |
2262 | ||
2263 | * graphite-clast-to-gimple.c (build_iv_mapping): Insert full | |
2264 | expressions for an IV rename, as returned by clast_to_gcc_expression. | |
2265 | (copy_renames): Rename new_name to expr. | |
2266 | * sese.c (debug_rename_elt): Same. | |
2267 | (get_rename): Same. | |
2268 | (set_rename): Same. | |
2269 | (sese_adjust_liveout_phis): Call force_gimple_operand before using | |
2270 | the information from the rename map. | |
2271 | (rename_variables_in_stmt): Same. | |
2272 | (add_loop_exit_phis): Rename new_name to expr. | |
2273 | (insert_loop_close_phis): Same. | |
2274 | (add_guard_exit_phis): Same. Call force_gimple_operand. | |
2275 | * sese.h (struct rename_map_elt): Rename new_name to expr. | |
2276 | (new_rename_map_elt): Same. | |
2277 | ||
2278 | 2009-06-03 Sebastian Pop <sebastian.pop@amd.com> | |
2279 | ||
2280 | * graphite-clast-to-gimple.c (build_iv_mapping): Use set_rename. | |
2281 | * sese.c (set_rename): Make it extern. | |
2282 | * sese.h (set_rename): Declared. | |
2283 | ||
2284 | 2009-06-03 Sebastian Pop <sebastian.pop@amd.com> | |
2285 | ||
2286 | * graphite-poly.c (extend_scattering): Free values. | |
2287 | * graphite-ppl.c (new_Cloog_Domain_from_ppl_Pointset_Powerset): | |
2288 | Free iterators. | |
2289 | (ppl_print_powerset_matrix): Same. | |
2290 | * graphite-scop-detection.c (free_scops_1): New. | |
2291 | (limit_scops): Call free_scops_1. | |
2292 | * graphite-sese-to-poly.c (build_scop_bbs_1): Free dom. | |
2293 | (build_poly_dr): Free PPL coefficients. | |
2294 | * tree-parloops.c (rewrite_all_phi_nodes_with_iv): Free bbs. | |
2295 | ||
2296 | 2009-06-02 Sebastian Pop <sebastian.pop@amd.com> | |
2297 | ||
2298 | * graphite-dependences.c: New. | |
2299 | * graphite-data-ref.c: Removed. | |
2300 | * graphite-data-ref.h: Removed. | |
2301 | * Makefile.in (graphite-data-ref.o): Removed. | |
2302 | (graphite-dependences.o): Added. | |
2303 | * graphite-clast-to-gimple.c: Remove dependence on graphite-data-ref.h. | |
2304 | * graphite-poly.c: Same. | |
2305 | Move the data dependence testing to graphite-dependences.c. | |
2306 | ||
2307 | 2009-05-19 Tobias Grosser <grosser@fim.uni-passau.de> | |
2308 | ||
2309 | * graphite-scop-detection.c (graphite_can_represent_loop): Renamed | |
2310 | from graphite_cannot_represent_loop. Code refactored. | |
2311 | (scopdet_basic_block_info): Call graphite_can_represent_loop. | |
2312 | ||
2313 | 2009-05-17 Li Feng <nemokingdom@gmail.com> | |
2314 | ||
2315 | * testsuite/gcc.dg/graphite/graphite_autopar/graphite_autopar.exp: | |
2316 | Cover all the testcases (not only the filtered ones). | |
2317 | ||
2318 | 2009-05-17 Tobias Grosser <grosser@fim.uni-passau.de> | |
2319 | ||
2320 | * graphite-scop-detection.c (stmt_simple_for_scop_p): Remove | |
2321 | unnecessary check. Update comments. Move check for REAL_TYPE here. | |
2322 | (harmful_stmt_in_bb): Remove checks for conditions. This is already | |
2323 | done in (stmt_simple_for_scop_p). | |
2324 | ||
2325 | 2009-05-14 Tobias Grosser <grosser@fim.uni-passau.de> | |
2326 | ||
2327 | * graphite.c (print_global_statistics): New. | |
2328 | (print_graphite_scop_statistic): New. | |
2329 | (print_graphite_statistics): New. | |
2330 | (graphite_initialize, graphite_transform_loops): Print statistics. | |
2331 | * graphite-scop-detection (build_scops): Print statistics. | |
2332 | (print_graphite_scop_statistics): New. | |
2333 | (print_graphite_statistics): New. | |
2334 | ||
2335 | 2009-05-13 Sebastian Pop <sebastian.pop@amd.com> | |
2336 | ||
2337 | * graphite-clast-to-gimple.c (struct clast_name_index): Removed. | |
2338 | (debug_clast_name_index): Removed. | |
2339 | (debug_clast_name_indexes_1): Removed. | |
2340 | (debug_clast_name_indexes): Removed. | |
2341 | (clast_name_index_elt_info): Removed. | |
2342 | (eq_clast_name_indexes): Removed. | |
2343 | (clast_name_to_index): Removed. | |
2344 | (new_clast_name_index): Removed. | |
2345 | (save_clast_name_index): Removed. | |
2346 | (save_var_name): Moved... | |
2347 | (init_sese_params_index): Removed. | |
2348 | (clast_name_to_gcc): Remove use of name_tree. | |
2349 | (initialize_cloog_names): Same. | |
2350 | (gloog): Do not call init_sese_params_index. | |
2351 | * graphite-sese-to-poly.c (save_var_name): ...here. | |
2352 | (parameter_index_in_region): New. | |
2353 | * sese.c (new_sese): Initialize SESE_PARAMS_NAMES. | |
2354 | (parameter_index_in_region): Removed. | |
2355 | (is_parameter): Remove use of name_tree. | |
2356 | * sese.h (struct name_tree): Removed. | |
2357 | (struct sese): Remove use of name_tree. New field params_names. | |
2358 | (SESE_PARAMS_NAMES): New. | |
2359 | (SESE_PARAMS): Remove duplicate. | |
2360 | (parameter_index_in_region): Removed. | |
2361 | (sese_nb_params): Remove use of name_tree. | |
2362 | (struct clast_name_index): New. | |
2363 | (new_clast_name_index): New. | |
2364 | (clast_name_to_index): New. | |
2365 | (save_clast_name_index): New. | |
2366 | (debug_clast_name_index): New. | |
2367 | (debug_clast_name_indexes_1): New. | |
2368 | (debug_clast_name_indexes): New. | |
2369 | (clast_name_index_elt_info): New. | |
2370 | (eq_clast_name_indexes): New. | |
2371 | ||
2372 | 2009-05-13 Sebastian Pop <sebastian.pop@amd.com> | |
2373 | ||
2374 | * graphite-clast-to-gimple.c (compute_cloog_iv_types_1): Call | |
2375 | pbb_to_depth_to_oldiv. Remove call to oldiv_for_loop. | |
2376 | (graphite_loop_normal_form): Do not pass region. Do not | |
2377 | initialize SESE_OLDIVS. | |
2378 | (build_graphite_loop_normal_form): Update call to | |
2379 | graphite_loop_normal_form. | |
2380 | * sese.c (debug_oldivs): Removed. | |
2381 | (new_sese): Do not initialize SESE_OLDIVS. | |
2382 | (free_sese): Do not free SESE_OLDIVS. | |
2383 | (oldiv_for_loop): Removed. | |
2384 | * sese.h (struct sese): Remove old_ivs. | |
2385 | (SESE_OLDIVS): Removed. | |
2386 | (oldiv_for_loop): Removed. | |
2387 | ||
2388 | 2009-05-13 Sebastian Pop <sebastian.pop@amd.com> | |
2389 | ||
2390 | * graphite-clast-to-gimple.c (clast_name_to_gcc): Pass newivs, | |
2391 | remove ivstack. Remove call to loop_iv_stack_get_iv_from_name, | |
2392 | replaced by a call to newivs_to_depth_to_newiv. | |
2393 | (clast_to_gcc_expression): Pass newivs, remove ivstack. | |
2394 | (clast_to_gcc_expression_red): Same. | |
2395 | (gcc_type_for_clast_expr): Same. | |
2396 | (gcc_type_for_clast_eq): Same. | |
2397 | (graphite_translate_clast_equation): Same. | |
2398 | (graphite_create_guard_cond_expr): Same. | |
2399 | (graphite_create_new_guard): Same. | |
2400 | (graphite_create_new_loop): Same. | |
2401 | (build_iv_mapping): Same. | |
2402 | (translate_clast): Same. | |
2403 | (gloog): Same. | |
2404 | (loop_iv_stack_patch_for_consts): Removed. * | |
2405 | sese.c (iv_stack_entry_is_constant): Removed. | |
2406 | (iv_stack_entry_is_iv): Removed. | |
2407 | (loop_iv_stack_push_iv): Removed. | |
2408 | (loop_iv_stack_insert_constant): Removed. | |
2409 | (loop_iv_stack_pop): Removed. | |
2410 | (loop_iv_stack_get_iv): Removed. | |
2411 | (loop_iv_stack_get_iv_from_name): Removed. | |
2412 | (debug_loop_iv_stack): Removed. | |
2413 | (free_loop_iv_stack): Removed. | |
2414 | (loop_iv_stack_remove_constants): Removed. * | |
2415 | sese.h (iv_stack_entry_kind): Removed. | |
2416 | (iv_stack_entry_data_union): Removed. | |
2417 | (iv_stack_entry_struct): Removed. | |
2418 | (iv_stack_entry_p): Removed. | |
2419 | (debug_oldivs, debug_loop_iv_stack, loop_iv_stack_insert_constant, | |
2420 | loop_iv_stack_get_iv_from_name, loop_iv_stack_push_iv, | |
2421 | loop_iv_stack_get_iv, loop_iv_stack_remove_constants, | |
2422 | loop_iv_stack_pop, free_loop_iv_stack): Removed. | |
2423 | (gbb_loop_at_index): Fix indenting. | |
2424 | (gbb_loop_index): Removed. | |
2425 | ||
2426 | 2009-05-13 Sebastian Pop <sebastian.pop@amd.com> | |
2427 | ||
2428 | * graphite-clast-to-gimple.c (clast_name_to_gcc): Do not use strcmp. | |
2429 | Call clast_name_to_index. | |
2430 | ||
2431 | 2009-05-13 Sebastian Pop <sebastian.pop@amd.com> | |
2432 | ||
2433 | * graphite-clast-to-gimple.c (clast_name_to_gcc): Pass region, | |
2434 | do not pass params. Get params from SESE_PARAMS. | |
2435 | (clast_to_gcc_expression): Same. | |
2436 | (clast_to_gcc_expression_red): Same. | |
2437 | (gcc_type_for_clast_eq): Same. | |
2438 | (graphite_translate_clast_equation): Same. | |
2439 | (graphite_create_new_loop): Same. | |
2440 | * sese.c (rename_variables_in_stmt): Fix comment. | |
2441 | ||
2442 | 2009-05-13 Sebastian Pop <sebastian.pop@amd.com> | |
2443 | ||
2444 | * graphite-clast-to-gimple.c (graphite_create_new_loop): Pass | |
2445 | newivs_index. | |
2446 | Call save_clast_name_index. | |
2447 | (translate_clast): Pass newivs_index. | |
2448 | (gloog): Create and free newivs_index. | |
2449 | ||
2450 | 2009-05-13 Sebastian Pop <sebastian.pop@amd.com> | |
2451 | ||
2452 | * graphite-clast-to-gimple.c (clast_name_index): New structure. | |
2453 | (clast_name_index_p): New type. | |
2454 | (debug_clast_name_index): New. | |
2455 | (debug_clast_name_indexes_1): New. | |
2456 | (debug_clast_name_indexes): New. | |
2457 | (clast_name_index_elt_info): New. | |
2458 | (eq_clast_name_indexes): New. | |
2459 | (clast_name_to_index): New. | |
2460 | (new_clast_name_index): New. | |
2461 | (save_clast_name_index): New. | |
2462 | (init_sese_params_index): New. | |
2463 | (gloog): Call init_sese_params_index. | |
2464 | * graphite-clast-to-gimple.h (debug_clast_name_indexes): Declared. | |
2465 | * sese.c (new_sese): Initialize SESE_PARAMS_INDEX. | |
2466 | (free_sese): Free SESE_PARAMS_INDEX. | |
2467 | * sese.h (struct sese): Add params_index. | |
2468 | (SESE_PARAMS_INDEX): New. | |
2469 | ||
2470 | 2009-05-13 Sebastian Pop <sebastian.pop@amd.com> | |
2471 | ||
2472 | * graphite-clast-to-gimple.c (newivs_to_depth_to_newiv): New. | |
2473 | (graphite_create_new_loop): Pass the newivs vector. Push the | |
2474 | newly created IV to newivs. | |
2475 | (translate_clast): Pass the newivs vector. | |
2476 | (gloog): Create and destroy the newivs vector. | |
2477 | ||
2478 | 2009-05-13 Sebastian Pop <sebastian.pop@amd.com> | |
2479 | ||
2480 | * graphite-clast-to-gimple.c (pbb_to_depth_to_oldiv): New. | |
2481 | (graphite_loop_normal_form): Initialize loop->aux with the unique | |
2482 | IV that has been created. | |
2483 | ||
2484 | 2009-05-13 Tobias Grosser <grosser@fim.uni-passau.de> | |
2485 | ||
2486 | * tree-chrec.c (evolution_function_right_is_integer_cst): Allow | |
2487 | scev with parameters in the base part. They where forbidden | |
2488 | exidently. | |
2489 | ||
2490 | 2009-05-11 Li Feng <nemokingdom@gmail.com> | |
2491 | ||
2492 | * testsuite/gcc.dg/graphite/graphite.exp: Set different default | |
2493 | compile options by file names. | |
2494 | * testsuite/gcc.dg/graphite/block{0-6}.c: Remove dg-option line. | |
2495 | * testsuite/gcc.dg/graphite/id-{1-9}.c: Ditto. | |
2496 | * testsuite/gcc.dg/graphite/scop-{0-20}.c: Ditto. | |
2497 | * testsuite/gcc.dg/graphite/scop-matmult.c: Ditto. | |
2498 | ||
2499 | 2009-05-08 Li Feng <nemokingdom@gmail.com> | |
2500 | ||
2501 | * testsuite/gcc.dg/graphite/graphite_autopar/graphite_autopar.exp: New. | |
2502 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-1.c: New. | |
2503 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-2.c: New. | |
2504 | * testsuite/gcc.dg/graphite/graphite_autopar/force-parallel-3.c: New. | |
2505 | ||
2506 | 2009-05-07 Tobias Grosser <grosser@fim.uni-passau.de> | |
2507 | ||
2508 | * graphite-scop-detection (build_scops_1): Fix little bug introduced | |
2509 | by final cleanup. | |
2510 | ||
2511 | 2009-05-07 Tobias Grosser <grosser@fim.uni-passau.de> | |
2512 | ||
2513 | * graphite-scop-detection.c (graphite_can_represent_scev): Only | |
2514 | allow integer constant strides. | |
2515 | (graphite_can_represent_expr): Depend on outermost_loop. | |
2516 | (stmt_simple_memref_p, graphite_cannot_represent_loop, | |
2517 | harmful_stmt_in_bb, is_simple_operand, stmt_simple_for_scop_p, | |
2518 | build_scops_1): Same. | |
2519 | (scopdet_basic_block_info): Same and insert layered SCoP | |
2520 | detection. | |
2521 | (try_generate_gimple_bb): Cleanup. | |
2522 | (build_scops): Enable data references. | |
2523 | ||
2524 | * testsuite/gcc.dg/graphite/id-5.c: New. | |
2525 | * testsuite/gcc.dg/graphite/id-9.c: New. | |
2526 | * tree-chrec.c (evolution_function_right_is_integer_cst): New. | |
2527 | * tree-chrec.h (evolution_function_right_is_integer_cst): New. | |
2528 | ||
2529 | 2009-05-06 Tobias Grosser <grosser@fim.uni-passau.de> | |
2530 | ||
2531 | * sese.c (expand_scalar_variables_ssa_name): Only build expressions, | |
2532 | that we have not yet built for this SCoP. | |
2533 | ||
2534 | 2009-05-06 Tobias Grosser <grosser@fim.uni-passau.de> | |
2535 | ||
2536 | * sese.c (expand_scalar_variables_expr): Fix expand_scalar_variables | |
2537 | for complex numbers. | |
2538 | ||
2539 | 2009-05-06 Tobias Grosser <grosser@fim.uni-passau.de> | |
2540 | ||
2541 | * graphite-ppl.c: Fix build if cloog is not available. | |
2542 | ||
2543 | 2009-05-04 Li Feng <nemokingdom@gmail.com> | |
2544 | ||
2545 | * tree-parloops.c (loop_parallel_p): Remove construction of | |
2546 | NITER and REDUCTION_LIST. | |
2547 | (try_get_loop_niter): New. | |
2548 | (try_create_reduction_list): New. | |
2549 | (parallelize_loops): Bypass the failed checkings in autopar | |
2550 | when can_be_parallel in loop structure is set to true. | |
2551 | ||
2552 | 2009-05-01 Tobias Grosser <grosser@fim.uni-passau.de> | |
2553 | ||
2554 | * testsuite/gcc.dg/graphite/id-6.c: Update testcase. | |
2555 | * testsuite/gcc.dg/graphite/scop-3.c: Dito. | |
2556 | ||
2557 | 2009-05-01 Tobias Grosser <grosser@fim.uni-passau.de> | |
2558 | ||
2559 | * graphite-scop-detection.c (stmt_simple_for_scop_p): | |
2560 | Enable EQ_EXPR and NE_EXPR again. | |
2561 | ||
2562 | 2009-04-30 Tobias Grosser <grosser@fim.uni-passau.de> | |
2563 | ||
2564 | * graphite-scop-detection.c (graphite_can_represent_scev): | |
2565 | Add check if scev is affine multivariate. | |
2566 | (harmful_stmt_in_bb): Check if we can represent the conditions. | |
2567 | (scopdet_basic_block_info (basic_block bb, VEC): Pass the loop to | |
2568 | harmful_stmt_in_bb. | |
2569 | * testsuite/gcc.dg/graphite/id-7.c: New. | |
2570 | ||
2571 | 2009-04-30 Tobias Grosser <grosser@fim.uni-passau.de> | |
2572 | ||
2573 | * graphite-sese-to-poly.c (bb_contains_non_iv_scalar_phi_nodes): | |
2574 | Check all bbs in region, not only the bbs that are represented in | |
2575 | GRAPHITE. | |
2576 | (build_poly_scop): Add newline. | |
2577 | * testsuite/gcc.dg/graphite/id-8.c: New. | |
2578 | ||
2579 | 2009-04-30 Li Feng <nemokingdom@gmail.com> | |
2580 | ||
2581 | * cfgloop.c (alloc_loop): Initialize can_be_parallel to false | |
2582 | when loop initialize. | |
2583 | * cfgloop.h (struct loop): Introduce flag can_be_parallel. | |
2584 | * common.opt: Declare flag_graphite_force_parallel. | |
2585 | * graphite-clast-to-gimple.c (translate_clast): Mark the innermost | |
2586 | loop parallel. | |
2587 | * graphite-poly.c (apply_poly_transforms): Introduce | |
2588 | flag_graphite_force_parallel. | |
2589 | * tree-ssa-loop.c (gate_graphite_transforms): ditto. | |
2590 | * toplev.c (process_options): ditto and replace a not correctly | |
2591 | encoded space. | |
2592 | ||
2593 | 2009-04-30 Li Feng <nemokingdom@gmail.com> | |
2594 | ||
2595 | * graphite-clast-to-gimple.c (loop_iv_stack_patch_for_consts): | |
2596 | Change the call of gbb_loop_at_index and/or gbb_loop_index due | |
2597 | to the redefinition. | |
2598 | (compute_cloog_iv_types_1): ditto. | |
2599 | (build_iv_mapping): ditto. | |
2600 | * graphite-sese-to-poly.c (new_gimple_bb): Remove GBB_LOOPS related | |
2601 | initialization. | |
2602 | (free_gimple_bb): Removed GBB_LOOPS related free part. | |
2603 | (build_bb_loops): Removed. | |
2604 | * sese.h (struct gimple_bb): Removed loops. | |
2605 | (GBB_LOOPS): Removed. | |
2606 | (gbb_loop_at_index): Instead of using GBB_LOOPS, we use sese instead. | |
2607 | (gbb_loop_index): ditto. | |
2608 | ||
2609 | 2009-04-24 Tobias Grosser <grosser@fim.uni-passau.de> | |
2610 | ||
2611 | * graphite-scop-detection.c (graphite_can_represent_scev): Do not | |
2612 | allow non constant strides. | |
2613 | * testsuite/gcc.dg/graphite/scop-20.c: New. | |
2614 | ||
2615 | 2009-04-24 Sebastian Pop <sebastian.pop@amd.com> | |
2616 | ||
2617 | * graphite-scop-detection.c (dot_all_scops): Fix system call | |
2618 | return value warning. | |
2619 | (dot_scop): Same. | |
2620 | ||
2621 | 2009-04-24 Sebastian Pop <sebastian.pop@amd.com> | |
2622 | ||
2623 | * testsuite/gcc.dg/graphite/id-6.c: Fix pattern. | |
2624 | * testsuite/gcc.dg/graphite/scop-3.c: Same. | |
2625 | ||
2626 | 2009-04-24 Sebastian Pop <sebastian.pop@amd.com> | |
2627 | ||
2628 | * graphite-poly.c (map_into_dep_poly, map_dr_into_dep_poly, | |
2629 | build_pairwise_constraint, dr_equality_constraints, | |
2630 | build_pairwise_scheduling_equality, | |
2631 | build_pairwise_scheduling_inequality, lexicographically_gt_p, | |
2632 | build_lexicographically_gt_constraint, dependence_polyhedron, | |
2633 | graphite_legal_transform_dr, graphite_legal_transform_bb, | |
2634 | graphite_legal_transform): New. | |
2635 | * graphite-poly.h (graphite_legal_transform): Declared. | |
2636 | * graphite-sese-to-poly.c (build_poly_scop): Call to | |
2637 | graphite_legal_transform is disabled for the moment. | |
2638 | ||
2639 | 2009-04-24 Sebastian Pop <sebastian.pop@amd.com> | |
2640 | ||
2641 | * graphite-poly.h (pbb_nb_scattering_dims): New. | |
2642 | (pbb_nb_scattering): Use it. | |
2643 | ||
2644 | 2009-04-24 Sebastian Pop <sebastian.pop@amd.com> | |
2645 | ||
2646 | * graphite-ppl.c (ppl_insert_dimensions_pointset): Add | |
2647 | Pointset_Powerset version of ppl_insert_dimensions. | |
2648 | * graphite-ppl.h (ppl_insert_dimensions_pointset): Declared. | |
2649 | ||
2650 | 2009-04-24 Sebastian Pop <sebastian.pop@amd.com> | |
2651 | ||
2652 | * graphite-ppl.c (ppl_insert_dimensions): Fix formatting. | |
2653 | ||
2654 | 2009-04-24 Sebastian Pop <sebastian.pop@amd.com> | |
2655 | ||
2656 | * graphite-poly.h: Fix comment. | |
2657 | ||
2658 | 2009-04-24 Sebastian Pop <sebastian.pop@amd.com> | |
2659 | ||
2660 | * graphite-sese-to-poly.c (build_poly_dr): Fix data ref multiplier. | |
2661 | ||
2662 | 2009-04-24 Tobias Grosser <grosser@fim.uni-passau.de> | |
2663 | ||
2664 | * sese.c (expand_scalar_variables_stmt): Only iterate over the old | |
2665 | statements. | |
2666 | ||
2667 | 2009-04-24 Tobias Grosser <grosser@fim.uni-passau.de> | |
2668 | ||
2669 | * graphite-sese-to-poly.c (var_used_in_not_loop_header_phi_node): New. | |
2670 | (graphite_stmt_p): Represent bbs necessary to build the phi nodes of | |
2671 | conditions. | |
2672 | ||
2673 | 2009-04-20 Sebastian Pop <sebastian.pop@amd.com> | |
2674 | ||
2675 | * graphite-scop-detection.c (stmt_simple_for_scop_p): Do not | |
2676 | handle EQ_EXPR and NE_EXPR. | |
2677 | ||
2678 | 2009-04-17 Tobias Grosser <grosser@fim.uni-passau.de> | |
2679 | ||
2680 | * graphite-poly.h (poly_dr): Fix comment. | |
2681 | ||
2682 | 2009-04-09 Sebastian Pop <sebastian.pop@amd.com> | |
2683 | Tobias Grosser <grosser@fim.uni-passau.de> | |
2684 | ||
2685 | * graphite-poly.c (new_poly_bb): Do not initialize PBB_DOMAIN | |
2686 | with a zero dimension polyhedron. | |
2687 | (find_scop_parameters): Move the call to scop_set_nb_params here. | |
2688 | (build_loop_iteration_domains): Store in loop->aux the iteration | |
2689 | domain polyhedron. | |
2690 | (build_scop_iteration_domain): Fix PBB_DOMAIN for bbs not surrounded | |
2691 | by any loop in scop. | |
2692 | (build_poly_scop): Do not call scop_set_nb_params. | |
2693 | ||
2694 | 2009-04-09 Sebastian Pop <sebastian.pop@amd.com> | |
2695 | Tobias Grosser <grosser@fim.uni-passau.de> | |
2696 | ||
2697 | * graphite-sese-to-poly.c (add_condition_to_pbb): Pass code to | |
2698 | add_condition_to_domain not GT_EXPR. | |
2699 | ||
2700 | 2009-04-09 Tobias Grosser <grosser@fim.uni-passau.de> | |
2701 | ||
2702 | * graphite-ppl.c (debug_ppl_powerset_matrix): New. | |
2703 | * graphite-ppl.h (debug_ppl_powerset_matrix): New. | |
2704 | * graphite-sese-to-poly.c (add_condition_to_pbb): Use | |
2705 | upper_bound_assign to calculate unions. | |
2706 | * testsuite/gcc.dg/graphite/id-6.c: New. | |
2707 | ||
2708 | 2009-04-09 Tobias Grosser <grosser@fim.uni-passau.de> | |
2709 | ||
2710 | * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Do not | |
2711 | handle abnormal edges. | |
2712 | ||
2713 | 2009-04-09 Tobias Grosser <grosser@fim.uni-passau.de> | |
2714 | ||
2715 | * graphite-poly.c (new_poly_dr, free_poly_dr): New. | |
2716 | (free_poly_bb): Also free poly_drs. | |
2717 | * graphite-poly.h (new_poly_dr, free_poly_dr): New. | |
2718 | (poly_dr): Polyhedron to Pointset_Powerset. | |
2719 | (pdr_accessp_nb_subscripts): Same. | |
2720 | * graphite-sese-to-poly.c (build_poly_dr): Same. And actually build | |
2721 | poly_drs. | |
2722 | ||
2723 | 2009-04-08 Sebastian Pop <sebastian.pop@amd.com> | |
2724 | ||
2725 | * graphite-clast-to-gimple.c (initialize_cloog_names): Change cloog | |
2726 | names into more meaningful names. | |
2727 | ||
2728 | 2009-04-08 Sebastian Pop <sebastian.pop@amd.com> | |
2729 | ||
2730 | * testsuite/gfortran.dg/graphite/interchange-1.c: New. | |
2731 | * testsuite/gfortran.dg/graphite/interchange-2.c: New. | |
2732 | ||
2733 | 2009-04-08 Sebastian Pop <sebastian.pop@amd.com> | |
2734 | ||
2735 | * graphite-clast-to-gimple.c (graphite_loop_normal_form): Do not build | |
2736 | the reduction_list. | |
2737 | * tree-parloops.c (rewrite_phi_with_iv): New. | |
2738 | (rewrite_all_phi_nodes_with_iv): New. | |
2739 | (canonicalize_loop_ivs): Call them. | |
2740 | ||
2741 | 2009-04-08 Sebastian Pop <sebastian.pop@amd.com> | |
2742 | ||
2743 | * graphite-sese-to-poly.c (try_generate_gimple_bb): Use | |
2744 | graphite_find_data_references_in_stmt. | |
2745 | * tree-data-ref.c (graphite_find_data_references_in_stmt): New. | |
2746 | * tree-data-ref.h (graphite_find_data_references_in_stmt): Declared. | |
2747 | ||
2748 | 2009-04-08 Sebastian Pop <sebastian.pop@amd.com> | |
2749 | ||
2750 | * sese.c (add_loop_exit_phis): Don't fail on non SSA_NAME renames. | |
2751 | ||
2752 | 2009-04-08 Sebastian Pop <sebastian.pop@amd.com> | |
2753 | ||
2754 | * graphite-sese-to-poly.c (build_scop_bbs_1): Use bb_in_sese_p | |
2755 | instead of bb_in_region. | |
2756 | (flag_bb_in_region): Same. Renamed flag_bb_in_sese. | |
2757 | (build_sese_conditions): Use flag_bb_in_sese. | |
2758 | * sese.c (register_bb_in_sese): Removed. | |
2759 | (new_sese): Remove initialization of SESE_REGION_BBS. | |
2760 | (free_sese): Do not free SESE_REGION_BBS. | |
2761 | * sese.h (struct sese): Remove field region_basic_blocks. | |
2762 | (SESE_REGION_BBS): Removed. | |
2763 | (bb_in_sese_p): Implement in function of bb_in_region. | |
2764 | ||
2765 | 2009-04-08 Sebastian Pop <sebastian.pop@amd.com> | |
2766 | ||
2767 | * graphite-scop-detection.c (limit_scops): Deal only with single exit | |
2768 | loops. | |
2769 | ||
2770 | 2009-04-08 Tobias Grosser <grosser@fim.uni-passau.de> | |
2771 | ||
2772 | * graphite-scop-detection.c (stmt_simple_for_scop_p): Allow NE_EXPR | |
2773 | and EQ_EXPR. | |
2774 | * graphite-sese-to-poly.c (create_linear_expr_from_tree): New. | |
2775 | (add_condition_to_domain): New. | |
2776 | (add_condition_to_pbb): New. | |
2777 | (add_conditions_to_domain): Cleanup and handle of NE_EXPR and EQ_EXPR. | |
2778 | * testsuite/gcc.dg/graphite/scop-3.c: Update number of detected SCoPs. | |
2779 | ||
2780 | 2009-04-08 Tobias Grosser <grosser@fim.uni-passau.de> | |
2781 | ||
2782 | * graphite-clast-to-gimple.c (build_cloog_prog): ppl_Polyhedron -> | |
2783 | ppl_Pointset_Powerset. | |
2784 | * graphite-poly.c (new_poly_bb, free_poly_bb): Same. | |
2785 | * graphite-poly.h (poly_bb): poly_bb.domain Same. | |
2786 | (pbb_nb_loops): Same. | |
2787 | * graphite-sese-to-poly.c (build_loop_iteration_domains, | |
2788 | add_conditions_to_domain): Same. | |
2789 | * graphite-ppl.c (new_Cloog_Domain_from_ppl_Pointset_Powerset): New. | |
2790 | (ppl_print_polyhedron_matrix): ppl_Polyhedron_t -> | |
2791 | ppl_const_Polyhedron_t. | |
2792 | (ppl_print_powerset_matrix): New. | |
2793 | * graphite-ppl.h (new_Cloog_Domain_from_ppl_Pointset_Powerset, | |
2794 | ppl_print_powerset_matrix): New. | |
2795 | (ppl_print_polyhedron_matrix): Updated. | |
2796 | ||
2797 | 2009-04-07 Sebastian Pop <sebastian.pop@amd.com> | |
2798 | ||
2799 | * tree-scalar-evolution.c (analyze_scalar_evolution_1): Fix comment. | |
2800 | ||
2801 | 2009-04-07 Sebastian Pop <sebastian.pop@amd.com> | |
2802 | ||
2803 | * graphite-poly.c (extend_scattering): Fix indenting. Free cstr. | |
2804 | (print_iteration_domains, debug_iteration_domain, | |
2805 | debug_iteration_domains): New. | |
2806 | * graphite-poly.h (print_iteration_domains, debug_iteration_domain, | |
2807 | debug_iteration_domains): Declared. | |
2808 | * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Fix | |
2809 | indenting. | |
2810 | ||
2811 | 2009-04-03 Tobias Grosser <grosser@fim.uni-passau.de> | |
2812 | Sebastian Pop <sebastian.pop@amd.com> | |
2813 | ||
2814 | * graphite-poly.h (print_iteration_domain): New. | |
2815 | * graphite-sese-to-poly.c (add_conditions_to_domain): Fixed bug. | |
2816 | (build_sese_conditions_1, build_sese_conditions_after, | |
2817 | build_sese_conditions_before): New. | |
2818 | (build_sese_conditions): Rewritten. | |
2819 | ||
2820 | 2009-04-03 Sebastian Pop <sebastian.pop@amd.com> | |
2821 | Tobias Grosser <grosser@fim.uni-passau.de> | |
2822 | ||
2823 | Cleanup of code generation liveouts. | |
2824 | * graphite-clast-to-gimple.c (translate_clast): Use a single | |
2825 | rename_map instead of one per translated statement. | |
2826 | Do not use SESE_LIVEOUT_RENAMES. | |
2827 | (graphite_loop_normal_form): Do not use SESE_REDUCTION_LIST. | |
2828 | (gloog): Do not use SESE_LIVEOUT_RENAMES. | |
2829 | * graphite-scop-detection.c (harmful_stmt_in_bb): Return the close | |
2830 | phi node of a reduction: when a loop contains a reduction used outside | |
2831 | the loop, there should be a scalar close phi node on the exit block. | |
2832 | * sese.c (new_sese): Do not initialize SESE_LIVEOUT, | |
2833 | SESE_LIVEOUT_RENAMES, and SESE_REDUCTION_LIST. | |
2834 | (free_sese): Do not free them. | |
2835 | (sese_build_liveouts_use): Do not use them. | |
2836 | (sese_build_liveouts_bb): Same. | |
2837 | (sese_build_liveouts): Same. | |
2838 | (sese_insert_phis_for_liveouts): Same. | |
2839 | (sese_adjust_phis_for_liveouts): Same. Renamed sese_adjust_liveout_phis. | |
2840 | (defined_in_loop_p): New. | |
2841 | (alive_after_loop): New. | |
2842 | (close_phi_not_yet_inserted_p): New. | |
2843 | (struct alep, alep_p): New. | |
2844 | (add_loop_exit_phis): Remove from the rename_map all the names defined | |
2845 | in the code generated loop. | |
2846 | (insert_loop_close_phis): Traverse the rename_map passed to it. | |
2847 | Don't use SESE_LIVEOUT_RENAMES. | |
2848 | (default_liveout_before_guard): Renamed default_before_guard. | |
2849 | (insert_guard_phis): Do not use SESE_LIVEOUT_RENAMES. | |
2850 | (graphite_copy_stmts_from_block): Do not directly call set_rename. | |
2851 | (register_sese_liveout_renames): Removed. | |
2852 | (copy_bb_and_scalar_dependences): Do not call it. | |
2853 | * sese.h (struct sese): Removed fields: liveout, liveout_renames, and | |
2854 | reduction_list. | |
2855 | (SESE_LIVEOUT): Removed. | |
2856 | (SESE_LIVEOUT_RENAMES): Removed. | |
2857 | (SESE_REDUCTION_LIST): Removed. | |
2858 | (sese_build_liveouts): Removed. | |
2859 | (sese_adjust_phis_for_liveouts): Renamed sese_adjust_liveout_phis. | |
2860 | (insert_loop_close_phis): Pass a htab_t instead of a sese. | |
2861 | (insert_guard_phis): Same. | |
2862 | (rename_map_elt): Declare a VEC of them. | |
2863 | * tree-parloops.c (canonicalize_loop_ivs): reduction_list contains | |
2864 | trees not pointers to trees. | |
2865 | ||
2866 | Rewrite in canonical close SSA form: | |
2867 | * graphite-scop-detection.c (contains_only_close_phi_nodes): New. | |
2868 | (limit_scops): Close the scop after the block containing the close phi | |
2869 | nodes. | |
2870 | (canonicalize_loop_closed_ssa): New. | |
2871 | (canonicalize_loop_closed_ssa_form): New. | |
2872 | (build_scops): Call canonicalize_loop_closed_ssa_form. | |
2873 | ||
2874 | * graphite-sese-to-poly.c: Fix typos. | |
2875 | ||
2876 | 2009-04-03 Sebastian Pop <sebastian.pop@amd.com> | |
2877 | ||
2878 | * graphite-poly.c (print_scattering_function, print_pbb_domain): | |
2879 | Extended. | |
2880 | (dump_gbb_conditions, dump_gbb_cases, print_iteration_domain): New. | |
2881 | (print_pbb): Add conditions. | |
2882 | ||
2883 | 2009-04-01 Tobias Grosser <grosser@fim.uni-passau.de> | |
2884 | Sebastian Pop <sebastian.pop@amd.com> | |
2885 | ||
2886 | * graphite-scop-detection.c (bb_in_sd_region): Use bb_in_region. | |
2887 | * graphite-sese-to-poly.c (all_non_dominated_preds_marked_p): New. | |
2888 | (build_scop_bbs_1): New. | |
2889 | (build_scop_bbs): Rewrite. | |
2890 | * sese.h (bb_in_region): New. | |
2891 | ||
2892 | 2009-03-29 Tobias Grosser <grosser@fim.uni-passau.de> | |
2893 | ||
2894 | * graphite-poly.c (new_poly_bb, free_poly_bb): Initialize/free | |
2895 | poly_drs vector. | |
2896 | (print_scop): Style. | |
2897 | * graphite-poly.h (poly_bb): Add drs vector. | |
2898 | (PBB_DRS): Add accessor. | |
2899 | * graphite-sese-to-poly.c (build_poly_dr): New. | |
2900 | (build_pbb_drs, build_scop_drs): New. | |
2901 | (build_poly_scop): call build_scop_drs (Disabled at the moment). | |
2902 | ||
2903 | 2009-03-29 Tobias Grosser <grosser@fim.uni-passau.de> | |
2904 | ||
2905 | * tree-ssa-loop.c: Include forgotten toplev.h | |
2906 | ||
2907 | 2009-03-29 Tobias Grosser <grosser@fim.uni-passau.de> | |
2908 | ||
2909 | * graphite-poly.c: (apply_poly_transforms): sorry -> gcc_unreachable. | |
2910 | * testsuite/gcc.dg/graphite/pr37883.c: Remove -floop-* | |
2911 | * testsuite/gcc.dg/graphite/pr37928.c: Same | |
2912 | * testsuite/gcc.dg/graphite/pr38409.c: Same | |
2913 | * testsuite/gcc.dg/graphite/pr38498.c: Same | |
2914 | * testsuite/gcc.dg/graphite/pr38559.c: Same | |
2915 | * testsuite/gcc.dg/graphite/pr39335.c: Same | |
2916 | * testsuite/gcc.dg/graphite/pr39335_1.c: Same | |
2917 | * testsuite/gfortran.dg/graphite/block-2.f: Same | |
2918 | * tree-ssa-loop.c (gate_graphite_transforms): Always fail if called | |
2919 | with -floop-*. | |
2920 | ||
2921 | 2009-03-28 Tobias Grosser <grosser@fim.uni-passau.de> | |
2922 | ||
2923 | * graphite-sese-to-poly.c (ref_nb_loops, build_access_matrix_with_af, | |
2924 | build_access_matrix, build_scop_data_accesses): Remove access function | |
2925 | building. (We get a new version soon). | |
2926 | (build_bb_loops, scan_tree_for_params_right_scev): Update. | |
2927 | * sese.h (nb_loops_around_loop_in_sese): Remove. | |
2928 | (sese_loop_depth): Do not use SESE_LOOP_NEST any more. | |
2929 | ||
2930 | 2009-03-27 Tobias Grosser <grosser@fim.uni-passau.de> | |
2931 | Sebastian Pop <sebastian.pop@amd.com> | |
2932 | ||
2933 | * graphite-scop-detection.c (struct scopdet_info): Rename last | |
2934 | field to exit. | |
2935 | (scopdet_basic_block_info, build_scops_1): Don't use | |
2936 | CDI_POST_DOMINATORS. CDI_POST_DOMINATORS should never be used. | |
2937 | ||
2938 | 2009-03-26 Tobias Grosser <grosser@fim.uni-passau.de> | |
2939 | Sebastian Pop <sebastian.pop@amd.com> | |
2940 | ||
2941 | * graphite-clast-to-gimple.c (gloog): Call sese_build_liveouts. | |
2942 | * sese.c (sese_build_liveouts_use): Renamed from | |
2943 | sese_build_livein_liveouts_use. Remove liveins. | |
2944 | (sese_build_liveouts_bb): Renamed from sese_build_livein_liveouts_bb. | |
2945 | Call sese_build_liveouts_use. | |
2946 | (sese_build_liveouts): Renamed from sese_build_livein_liveouts. | |
2947 | Call sese_build_liveouts_bb. | |
2948 | (new_sese, free_sese): Remove liveins. | |
2949 | (sese_add_exit_phis_var): Deleted. | |
2950 | (sese_insert_phis_for_liveouts): Call sese_add_exit_phis_edge | |
2951 | directly. | |
2952 | (graphite_copy_stmts_from_block): Remove SESE_NUM_VER. | |
2953 | ||
2954 | * sese.h (sese): Remove num_ver and livein. | |
2955 | (SESE_LIVEIN, SESE_LIVEIN_VER, SESE_NUM_VER): Removed. | |
2956 | ||
2957 | 2009-03-25 Tobias Grosser <grosser@fim.uni-passau.de> | |
2958 | ||
2959 | * graphite-sese-to-poly.c (build_scop_scattering): Fix compile. | |
2960 | ||
2961 | 2009-03-25 Tobias Grosser <grosser@fim.uni-passau.de> | |
2962 | ||
2963 | * graphite-sese-to-poly.c (compare_prefix_loops): Removed. | |
2964 | (build_scop_scattering): Do not use compare_prefix_loops any more. | |
2965 | (nb_common_loops): New. | |
2966 | ||
2967 | 2009-03-24 Sebastian Pop <sebastian.pop@amd.com> | |
2968 | ||
2969 | * sese.c (get_new_name_from_old_name): Renamed get_rename. | |
2970 | (register_old_and_new_names): Renamed set_rename. | |
2971 | ||
2972 | 2009-03-24 Sebastian Pop <sebastian.pop@amd.com> | |
2973 | ||
2974 | * graphite-scop-detection.h (nb_reductions_in_loop): Revert removal | |
2975 | of the decl from the previous commit. | |
2976 | ||
2977 | 2009-03-24 Sebastian Pop <sebastian.pop@amd.com> | |
2978 | ||
2979 | * graphite-scop-detection.c (dot_scop): New. | |
2980 | * graphite-scop-detection.h (dot_scop): Declared. | |
2981 | ||
2982 | 2009-03-24 Sebastian Pop <sebastian.pop@amd.com> | |
2983 | ||
2984 | * graphite-sese-to-poly.c (compare_prefix_loops): Fix compare. | |
2985 | ||
2986 | 2009-03-24 Sebastian Pop <sebastian.pop@amd.com> | |
2987 | ||
2988 | * cfgloopmanip.c (create_empty_loop_on_edge): Generate the loop exit | |
2989 | condition at the end of the loop. | |
2990 | * graphite.c (graphite_initialize, graphite_finalize): Print to | |
2991 | dump_file the compiled function. | |
2992 | * graphite-clast-to-gimple.c (graphite_create_new_loop): Update use | |
2993 | of create_empty_loop_on_edge. | |
2994 | (translate_clast): Update the code generation of loops for the new | |
2995 | shape of loops. | |
2996 | * cfgloop.h (create_empty_loop_on_edge): Update declaration. | |
2997 | ||
2998 | 2009-03-24 Sebastian Pop <sebastian.pop@amd.com> | |
2999 | ||
3000 | Reverted the patch from 2009-03-19. | |
3001 | ||
3002 | 2009-03-19 Tobias Grosser <grosser@fim.uni-passau.de> | |
3003 | ||
3004 | * graphite-poly.c (new_poly_bb, free_poly_bb): Initialize/free | |
3005 | poly_drs vector. | |
3006 | (print_scop): Style. | |
3007 | * graphite-poly.h (poly_bb): Add drs vector. | |
3008 | (PBB_DRS): Add accessor. | |
3009 | * graphite-sese-to-poly.c (ref_nb_loops): Remove. | |
3010 | (build_access_matrix_with_af, build_access_matrix, | |
3011 | build_scop_data_accesses): Delete. | |
3012 | (build_poly_dr): New. | |
3013 | (build_pbb_drs, build_scop_drs): New. | |
3014 | (build_poly_scop): call build_scop_drs. | |
3015 | ||
3016 | 2009-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
3017 | ||
3018 | * graphite-scop-detection.c (dot_all_scops_1): Close the table | |
3019 | once per basic block. | |
3020 | ||
3021 | 2009-03-13 Tobias Grosser <grosser@fim.uni-passau.de> | |
3022 | ||
3023 | * graphite-scop-detection.c (graphite_can_represent_scev): New. | |
3024 | (graphite_can_represent_expr): Renamed from loop_affine_expr | |
3025 | and enhanced. | |
3026 | (stmt_simple_for_scop_p): Call graphite_can_represent_expr. | |
3027 | (graphite_cannot_represent_loop): Add scop_entry to parameters. | |
3028 | (scopdet_basic_block_info): Actually define entry_block. | |
3029 | (stmt_simple_memref_p): Moved here from ... | |
3030 | ||
3031 | * tree-data-ref.c (stmt_simple_memref_p): here. | |
3032 | * tree-data-ref.h (stmt_simple_memref_p): Removed. | |
3033 | ||
3034 | 2009-03-13 Tobias Grosser <grosser@fim.uni-passau.de> | |
3035 | ||
3036 | * testsuite/gcc.dg/graphite/id-4.c: New. | |
3037 | ||
3038 | 2009-03-12 Sebastian Pop <sebastian.pop@amd.com> | |
3039 | ||
3040 | * sese.c (expand_scalar_variables_expr): Handle tcc_comparison. | |
3041 | (register_old_and_new_names): Update the content of the map. | |
3042 | When there was already a rename_map_elt in the map at that | |
3043 | location, free it. | |
3044 | (copy_bb_and_scalar_dependences): Do rename_variables after | |
3045 | expand_scalar_variables. | |
3046 | * graphite-clast-to-gimple.c (build_iv_mapping): Update the content | |
3047 | of the map. When there was already a rename_map_elt in the | |
3048 | map at that location, free it. | |
3049 | (translate_clast): Pass the rename_map. Do not initialize and free | |
3050 | a rename_map per stmt_user. | |
3051 | (gloog): Initialize and free one rename_map and pass it to | |
3052 | translate_clast. | |
3053 | ||
3054 | 2009-03-12 Sebastian Pop <sebastian.pop@amd.com> | |
3055 | ||
3056 | * sese.c (expand_scalar_variables_stmt, | |
3057 | expand_scalar_variables_ssa_name): Add a gimple_stmt_iterator | |
3058 | parameter. | |
3059 | (expand_scalar_variables_expr): Handle REALPART_EXPR and IMAGPART_EXPR. | |
3060 | (expand_scalar_variables): Pass to expand_scalar_variables_stmt | |
3061 | the gimple_stmt_iterator of the statement to be expanded. | |
3062 | * graphite-scop-detection.c (is_simple_operand): Do handle | |
3063 | REALPART_EXPR. | |
3064 | ||
3065 | 2009-03-11 Tobias Grosser <grosser@fim.uni-passau.de> | |
3066 | ||
3067 | * graphite-scop-detection.c (is_simple_operand): Do not handle | |
3068 | REALPART_EXPR. | |
3069 | * testsuite/gcc.dg/graphite/id-2.c: New. | |
3070 | ||
3071 | * graphite-sese-to-poly.c (build_bb_loops, | |
3072 | add_value_to_dim, scan_tree_for_params_right_scev, | |
3073 | scan_tree_for_params_int, scan_tree_for_params, idx_record_params, | |
3074 | find_params_in_bb, build_loop_iteration_domains, | |
3075 | add_conditions_to_domain): Remove subtract. | |
3076 | ||
3077 | 2009-03-11 Tobias Grosser <grosser@fim.uni-passau.de> | |
3078 | ||
3079 | * graphite-clast-to-gimple.c (loop_iv_stack_patch_for_consts, | |
3080 | build_iv_mapping, compute_cloog_iv_types_1, build_cloog_prog): | |
3081 | pbb_loop_at_index -> gbb_loop_at_index. | |
3082 | * graphite-poly.c (new_poly_bb, new_scop): New accessors. | |
3083 | (debug_loop_vec): Delete. | |
3084 | * graphite-poly.h (poly_bb, scop): Change black_box and region to void | |
3085 | pointer. Move LOOPS to gimple_bb_p and insert nb_params. | |
3086 | (PBB_LOOPS): Removed. | |
3087 | (PBB_BLACK_BOX): Insert cast. | |
3088 | (pbb_set_black_box): New setter. | |
3089 | (pbb_loop_at_index, pbb_loop_index): Removed. | |
3090 | (scop_set_region, scop_set_nb_params): New. | |
3091 | * graphite-sese-to-poly.c (new_gimple_bb, free_gimple_bb, | |
3092 | build_scop_scattering, build_bb_loops): Add GBB_LOOPS. | |
3093 | (build_poly_scop): Use scop_set_nb_params. | |
3094 | * sese.h (gimple_bb): Add LOOPS. | |
3095 | (GBB_LOOPS, gbb_loop_index, gbb_loop_at_index): New. | |
3096 | ||
3097 | 2009-03-11 Tobias Grosser <grosser@fim.uni-passau.de> | |
3098 | ||
3099 | Revert previous commit. | |
3100 | ||
3101 | 2009-03-11 Sebastian Pop <sebastian.pop@amd.com> | |
3102 | ||
3103 | * sese.c (expand_scalar_variables_expr): Handle tcc_comparison. | |
3104 | (register_old_and_new_names): Update the content of the map. | |
3105 | When there was already a rename_map_elt in the map at that | |
3106 | location, free it. | |
3107 | (copy_bb_and_scalar_dependences): Do rename_variables after | |
3108 | expand_scalar_variables. | |
3109 | * graphite-clast-to-gimple.c (build_iv_mapping): Update the content | |
3110 | of the map. When there was already a rename_map_elt in the | |
3111 | map at that location, free it. | |
3112 | (translate_clast): Pass the rename_map. Do not initialize and free | |
3113 | a rename_map per stmt_user. | |
3114 | (gloog): Initialize and free one rename_map and pass it to | |
3115 | translate_clast. | |
3116 | ||
3117 | 2009-03-11 Tobias Grosser <grosser@fim.uni-passau.de> | |
3118 | ||
3119 | Remove forgotten line in revert. | |
3120 | ||
3121 | 2009-03-11 Sebastian Pop <sebastian.pop@amd.com> | |
3122 | ||
3123 | Revert previous commit. | |
3124 | ||
3125 | 2009-03-10 Sebastian Pop <sebastian.pop@amd.com> | |
3126 | ||
3127 | * sese.c (register_old_and_new_names): Update the content | |
3128 | of the map. When there was already a rename_map_elt in the | |
3129 | map at that location, free it. | |
3130 | (copy_bb_and_scalar_dependences): Do rename_variables after | |
3131 | expand_scalar_variables. | |
3132 | * graphite-clast-to-gimple.c (build_iv_mapping): Update the content | |
3133 | of the map. When there was already a rename_map_elt in the | |
3134 | map at that location, free it. | |
3135 | (translate_clast): Pass the rename_map. Do not initialize and free | |
3136 | a rename_map per stmt_user. | |
3137 | (gloog): Initialize and free one rename_map and pass it to | |
3138 | translate_clast. | |
3139 | ||
3140 | 2009-03-10 Sebastian Pop <sebastian.pop@amd.com> | |
3141 | ||
3142 | * graphite-clast-to-gimple.c (translate_clast): context_loop | |
3143 | is never NULL. | |
3144 | ||
3145 | 2009-03-10 Tobias Grosser <grosser@fim.uni-passau.de> | |
3146 | Sebastian Pop <sebastian.pop@amd.com> | |
3147 | ||
3148 | * graphite-ppl.c (ppl_insert_dimensions): Fix stupid mistake | |
3149 | of the use of ppl_Polyhedron_map_space_dimensions. | |
3150 | ||
3151 | 2009-03-10 Tobias Grosser <grosser@fim.uni-passau.de> | |
3152 | Sebastian Pop <sebastian.pop@amd.com> | |
3153 | ||
3154 | * graphite-poly.c (unify_scattering_dimensions): Fix types. | |
3155 | * graphite-poly.h (poly_dr_p, poly_dr, POLY_DR_TYPE, PDR_BB, | |
3156 | PDR_TYPE, PDR_ACCESSES, pdr_accessp_nb_subscripts, | |
3157 | pdr_accessp_nb_iterators, pdr_accessp_nb_params, | |
3158 | pdr_accessp_alias_set_dim, pdr_accessp_subscript_dim, | |
3159 | pdr_accessp_iterator_dim, pdr_accessp_param_dim, | |
3160 | pbb_nb_params): New. | |
3161 | (pbb_nb_loops, pbb_nb_scattering, scop_nb_params, | |
3162 | nb_loops_around_pbb): Adapt return types. | |
3163 | ||
3164 | 2009-03-09 Tobias Grosser <grosser@fim.uni-passau.de> | |
3165 | ||
3166 | * Makefile.in (graphite.o, graphite-sese-to-poly.o, | |
3167 | graphite-clast-to-gimple.o, graphite-data-ref.o, | |
3168 | graphite-scop-detection.o, graphite-poly.o): Add | |
3169 | more headers. | |
3170 | ||
3171 | 2009-03-05 Tobias Grosser <grosser@fim.uni-passau.de> | |
3172 | ||
3173 | * Makefile.in (graphite.o, graphite-sese-to-poly.o, | |
3174 | graphite-clast-to-gimple.o, graphite-data-ref.o, | |
3175 | graphite-scop-detection.o, graphite-poly.o): Add graphite-poly.h. | |
3176 | ||
3177 | 2009-03-04 Tobias Grosser <grosser@fim.uni-passau.de> | |
3178 | ||
3179 | * testsuite/gcc.dg/graphite/pr37485.c: Remove -floop-block | |
3180 | * testsuite/gcc.dg/graphite/pr37828.c: Same. | |
3181 | * testsuite/gcc.dg/graphite/pr37684.c: Same. | |
3182 | * testsuite/gcc.dg/graphite/block-0.c: Same. | |
3183 | * testsuite/gcc.dg/graphite/block-1.c: Same. | |
3184 | * testsuite/gcc.dg/graphite/block-2.c: Same. | |
3185 | * testsuite/gcc.dg/graphite/block-3.c: Same. | |
3186 | * testsuite/gcc.dg/graphite/block-4.c: Same. | |
3187 | * testsuite/gcc.dg/graphite/block-5.c: Same. | |
3188 | * testsuite/gcc.dg/graphite/block-6.c: Same. | |
3189 | * testsuite/gfortran.dg/graphite/pr38083.f90: Same. | |
3190 | * testsuite/gfortran.dg/graphite/block-1.f90: Same. | |
3191 | * testsuite/gfortran.dg/graphite/block-3.f90: Same. | |
3192 | * testsuite/gfortran.dg/graphite/pr37852.f90: Same. | |
3193 | * testsuite/gfortran.dg/graphite/block-4.f90: Same. | |
3194 | * testsuite/gfortran.dg/graphite/pr37980.f90: Same. | |
3195 | * testsuite/gfortran.dg/graphite/pr38953.f90: Same. | |
3196 | * testsuite/gfortran.dg/graphite/pr37857.f90: Same. | |
3197 | * opts.c: Remove -floop-block from -O2. | |
3198 | * graphite-poly.c: Fail if -floop-block -floop-interchange or | |
3199 | -floop-strip-mine are used. | |
3200 | ||
3201 | 2009-03-04 Tobias Grosser <grosser@fim.uni-passau.de> | |
3202 | Sebastian Pop <sebastian.pop@amd.com> | |
3203 | ||
3204 | * graphite-clast-to-gimple.c (build_cloog_prog): Unify scattering | |
3205 | dimensions. | |
3206 | * graphite-poly.c (pbb_compare, graphite_sort_pbbs, | |
3207 | graphite_trans_bb_move_loop, graphite_trans_bb_strip_mine, | |
3208 | strip_mine_profitable_p, is_interchange_valid, | |
3209 | graphite_trans_bb_block, graphite_trans_loop_block, | |
3210 | graphite_trans_scop_block): Temporary removed. | |
3211 | (extend_scattering, unify_scattering_dimensions): New. | |
3212 | (print_scattering_function, graphite_read_transforms): | |
3213 | PBB_SCATTERING -> PBB_TRANSFORMED_SCATTERING. | |
3214 | (graphite_generate_scattering_fns): Removed. | |
3215 | (apply_poly_transforms): Cleanup. | |
3216 | (free_poly_bb): Add PBB_SCATTERING -> PBB_TRANSFORMED_SCATTERING. | |
3217 | (schedule_to_scattering): Moved. | |
3218 | (PBB_STATIC_SCHEDULE, PBB_SCATTERING): Removed. | |
3219 | (PBB_ORIGINAL_SCATTERING, PBB_TRANSFORMED_SCATTERING): New. | |
3220 | (pbb_nb_scattering): New. | |
3221 | (SCOP_ENTRY, SCOP_EXIT, SCOP_REGION_BBS, SCOP_DEP_GRAPH, SCOP_PARAMS, | |
3222 | SCOP_LOOP_NEST, SCOP_PARAMS, SCOP_OLDIVS, SCOP_LIVEOUT_RENAMES): | |
3223 | Removed. | |
3224 | * graphite-ppl.c (ppl_insert_dimensions): Extended and renamed from | |
3225 | shift_poly. | |
3226 | (ppl_strip_loop): PBB_SCATTERING -> PBB_TRANSFORMED_SCATTERING. | |
3227 | * graphite-scop-detection.c (dot_all_scops_1): PBB_SCATTERING | |
3228 | -> PBB_TRANSFORMED_SCATTERING. | |
3229 | * graphite-sese-to-poly.c (build_scop_bbs): Remove region. | |
3230 | (build_pbb_scattering_polyhedron): Moved from schedule_to_scattering. | |
3231 | (build_scop_scattering): Renamed from build_scop_canonical_schedules. | |
3232 | (check_poly_representation): Do not return bool. | |
3233 | (graphite_transform_loops): Reformat. | |
3234 | * sese.h (SESE_ENTRY_BB, SESE_EXIT_BB): New. | |
3235 | ||
3236 | 2009-03-04 Sebastian Pop <sebastian.pop@amd.com> | |
3237 | ||
3238 | * graphite-poly.c (print_pbb_domain, print_pbb, print_scop, | |
3239 | debug_pbb_domain, debug_pbb, debug_scop): New. | |
3240 | * graphite-poly.h (print_pbb_domain, print_pbb, print_scop, | |
3241 | debug_pbb_domain, debug_pbb, debug_scop): Declared. | |
3242 | ||
3243 | 2009-03-02 Sebastian Pop <sebastian.pop@amd.com> | |
3244 | ||
3245 | PR middle-end/39335 | |
3246 | * tree-parloops.c (canonicalize_loop_ivs): Call fold_convert | |
3247 | when the type precision of the induction variable should be | |
3248 | larger than the type precision of nit. | |
3249 | (gen_parallel_loop): Update use of canonicalize_loop_ivs. | |
3250 | * graphite-clast-to-gimple.c (graphite_loop_normal_form): Same. | |
3251 | * tree-flow.h (canonicalize_loop_ivs): Update declaration. | |
3252 | ||
3253 | * testsuite/gcc.dg/graphite/pr39335_1.c: New. | |
3254 | * testsuite/gcc.dg/graphite/pr39335.c: New. | |
3255 | ||
3256 | 2009-03-02 Sebastian Pop <sebastian.pop@amd.com> | |
3257 | ||
3258 | * tree-parloops.c (canonicalize_loop_ivs): reduction_list contains | |
3259 | SSA_NAMES not struct reduction_info. | |
3260 | ||
3261 | 2009-03-02 Sebastian Pop <sebastian.pop@amd.com> | |
3262 | ||
3263 | * sese.c (expand_scalar_variables_expr): Handle ADDR_EXPR. | |
3264 | ||
3265 | 2009-02-27 Sebastian Pop <sebastian.pop@amd.com> | |
3266 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3267 | ||
3268 | * sese.c (new_sese): Initialize SESE_REDUCTION_LIST. | |
3269 | (free_sese): Free SESE_REDUCTION_LIST. | |
3270 | * sese.h (struct sese): Add field reduction_list. | |
3271 | (SESE_REDUCTION_LIST): New. | |
3272 | * graphite-clast-to-gimple.c (graphite_loop_normal_form): Call | |
3273 | canonicalize_loop_ivs on SESE_REDUCTION_LIST. | |
3274 | ||
3275 | 2009-02-27 Sebastian Pop <sebastian.pop@amd.com> | |
3276 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3277 | ||
3278 | * tree-flow.h (gather_scalar_reductions): Use struct loop * instead | |
3279 | of loop_p. | |
3280 | ||
3281 | 2009-02-27 Sebastian Pop <sebastian.pop@amd.com> | |
3282 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3283 | ||
3284 | * tree-parloops.c (struct brli, build_reduction_list_info, | |
3285 | analyze_reduction_list, gather_scalar_reductions): New. | |
3286 | (loop_parallel_p): Build a reduction list containing only | |
3287 | PHI_RESULT SSA_NAMEs: call gather_scalar_reductions. | |
3288 | (gen_parallel_loop): Call the analysis analyze_reduction_list. | |
3289 | (parallelize_loops): Now reduction_list is a htab_t of SSA_NAMEs. | |
3290 | * tree-flow.h (gather_scalar_reductions): Declared. | |
3291 | ||
3292 | 2009-02-26 Sebastian Pop <sebastian.pop@amd.com> | |
3293 | ||
3294 | PR middle-end/39308 | |
3295 | * graphite-clast-to-gimple.c (graphite_loop_normal_form): Do not call | |
3296 | number_of_iterations_exit from a gcc_assert. | |
3297 | ||
3298 | 2009-02-25 Sebastian Pop <sebastian.pop@amd.com> | |
3299 | Jan Sjodin <jan.sjodin@amd.com> | |
3300 | ||
3301 | * output.h (graphite_out_file, graphite_in_file): Declared. | |
3302 | * toplev.c (graphite_out_file, graphite_in_file): New. | |
3303 | (init_asm_output): Initialize graphite_in_file and graphite_out_file. | |
3304 | * graphite-clast-to-gimple.c (build_cloog_prog): Read PBB_SCATTERING. | |
3305 | Don't call schedule_to_scattering. | |
3306 | * common.opt (fgraphite-write, fgraphite-read): New. | |
3307 | * graphite-poly.c: Include output.h. | |
3308 | (print_scattering_function, print_scattering_functions, | |
3309 | debug_scattering_function, debug_scattering_functions, | |
3310 | graphite_write_transforms, graphite_read_transforms, | |
3311 | graphite_generate_scattering_fns): New. | |
3312 | (apply_poly_transforms): Do not apply transform if flag_graphite_read. | |
3313 | Call graphite_generate_scattering_fns, graphite_write_transforms, | |
3314 | graphite_read_transforms. | |
3315 | (new_poly_bb): Initialize PBB_SCATTERING. | |
3316 | (free_poly_bb): Free PBB_SCATTERING. | |
3317 | (schedule_to_scattering): Does not return, initialize PBB_SCATTERING. | |
3318 | * graphite-poly.h (struct poly_bb): Add field scattering. | |
3319 | (PBB_SCATTERING): New. | |
3320 | (print_scattering_function, print_scattering_functions, | |
3321 | debug_scattering_function, debug_scattering_functions): Declared. | |
3322 | * graphite-ppl.c (cloog_matrix_to_ppl_constraint): Matrices contain | |
3323 | GMP values, not integers! | |
3324 | (ppl_print_polyhedron_matrix, debug_ppl_polyhedron_matrix, | |
3325 | ppl_read_polyhedron_matrix): New. | |
3326 | * graphite-ppl.h (ppl_print_polyhedron_matrix, | |
3327 | debug_ppl_polyhedron_matrix, | |
3328 | ppl_read_polyhedron_matrix): Declared. | |
3329 | * Makefile.in (graphite-poly.o): Depends on output.h. | |
3330 | ||
3331 | 2009-02-23 Sebastian Pop <sebastian.pop@amd.com> | |
3332 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3333 | ||
3334 | Revert this change: | |
3335 | * graphite-scop-detection.c (stmt_simple_for_scop_p): Analyze | |
3336 | scalar evolutions in the scop_entry->loop_father. | |
3337 | ||
3338 | 2009-02-23 Sebastian Pop <sebastian.pop@amd.com> | |
3339 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3340 | ||
3341 | * graphite.h (ref_nb_loops): Remove declaration. | |
3342 | (struct gimple_bb, gimple_bb_p, GBB_BB, GBB_DATA_REFS, GBB_CONDITIONS, | |
3343 | GBB_CONDITION_CASES, GBB_CLOOG_IV_TYPES, gbb_loop, print_gimple_bb, | |
3344 | debug_gbb): Moved to sese.h. | |
3345 | * sese.h: As said. | |
3346 | ||
3347 | 2009-02-23 Sebastian Pop <sebastian.pop@amd.com> | |
3348 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3349 | ||
3350 | * graphite-data-ref.[ch]: Disable. | |
3351 | ||
3352 | 2009-02-23 Sebastian Pop <sebastian.pop@amd.com> | |
3353 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3354 | ||
3355 | * graphite-scop-detection.c (stmt_simple_for_scop_p): Analyze | |
3356 | scalar evolutions in the scop_entry->loop_father. | |
3357 | ||
3358 | 2009-02-23 Sebastian Pop <sebastian.pop@amd.com> | |
3359 | ||
3360 | * graphite-scop-detection.c (nb_reductions_in_loop): Moved here... | |
3361 | (graphite_cannot_represent_loop_niter): Renamed | |
3362 | graphite_cannot_represent_loop. Call nb_reductions_in_loop. | |
3363 | (limit_scops): build_sese_loop_nests does not return a bool. | |
3364 | * graphite-scop-detection.h (nb_reductions_in_loop): Declared. | |
3365 | * sese.c (nb_reductions_in_loop): ... from here. | |
3366 | (graphite_loop_normal_form): ... from here. | |
3367 | (sese_record_loop): Does not fail, so does not return a bool. | |
3368 | (build_sese_loop_nests): Same. | |
3369 | * sese.h (build_sese_loop_nests): Update declaration. | |
3370 | * graphite-clast-to-gimple.c (graphite_loop_normal_form): Moved here... | |
3371 | (build_graphite_loop_normal_form): New. | |
3372 | (gloog): Call build_graphite_loop_normal_form. | |
3373 | * graphite-sese-to-poly.c (build_poly_scop): Don't fail on | |
3374 | build_sese_loop_nests. | |
3375 | ||
3376 | * testsuite/gcc.dg/graphite/id-1.c: New. | |
3377 | ||
3378 | 2009-02-23 Sebastian Pop <sebastian.pop@amd.com> | |
3379 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3380 | ||
3381 | * graphite-sese-to-poly.c (scan_tree_for_params): Remove REAL_CST. | |
3382 | The SCoP detection fix is sufficient. | |
3383 | ||
3384 | 2009-02-21 Sebastian Pop <sebastian.pop@amd.com> | |
3385 | ||
3386 | PR tree-optimization/39260 | |
3387 | * graphite-scop-detection.c (harmful_stmt_in_bb): Stop a SCoP when | |
3388 | the basic block contains a condition with a real type. | |
3389 | * graphite-sese-to-poly.c (scan_tree_for_params): Handle REAL_CST. | |
3390 | ||
3391 | * gcc.dg/graphite/pr39260.c: New. | |
3392 | ||
3393 | 2009-02-21 Sebastian Pop <sebastian.pop@amd.com> | |
3394 | ||
3395 | * graphite-poly.c: Inlcude params.h. | |
3396 | (graphite_trans_loop_block): Use PARAM_LOOP_BLOCK_TILE_SIZE for | |
3397 | the size of a tile. | |
3398 | * Makefile.in (graphite-poly.o): Depend on PARAMS_H. | |
3399 | * params.def (PARAM_LOOP_BLOCK_TILE_SIZE): Define. | |
3400 | ||
3401 | 2009-02-20 Sebastian Pop <sebastian.pop@amd.com> | |
3402 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3403 | ||
3404 | * graphite-scop-detection.c (dot_all_scops_1, | |
3405 | dot_all_scops): Moved here. | |
3406 | * graphite-scop-detection.h (dot_all_scops): Declared here. | |
3407 | * graphite.c (graphite_initialize, graphite_finalize): New. | |
3408 | (graphite_transform_loops): Cleaned up. | |
3409 | * sese.c (debug_oldivs): Moved here. | |
3410 | * graphite-poly.c (graphite_apply_transformations): Renamed | |
3411 | apply_poly_transforms. | |
3412 | (debug_loop_vec): Moved here. | |
3413 | * graphite-sese-to-poly.c (build_bb_loops, build_sese_conditions_1, | |
3414 | scop_contains_non_iv_scalar_phi_nodes, build_sese_conditions, | |
3415 | find_scop_parameters, build_scop_iteration_domain, | |
3416 | add_conditions_to_constraints, build_scop_canonical_schedules, | |
3417 | build_scop_data_accesses): Now static. | |
3418 | (build_poly_scop, check_poly_representation): New. | |
3419 | ||
3420 | 2009-02-20 Sebastian Pop <sebastian.pop@amd.com> | |
3421 | ||
3422 | * graphite.c (graphite_stmt_p, new_gimple_bb, free_gimple_bb, | |
3423 | remove_gbbs_in_scop, free_scops, try_generate_gimple_bb, | |
3424 | build_scop_bbs, ref_nb_loops, compare_prefix_loops, | |
3425 | build_scop_canonical_schedules, build_bb_loops, add_value_to_dim, | |
3426 | scan_tree_for_params_right_scev, scan_tree_for_params_int, | |
3427 | scan_tree_for_params, struct irp_data, dx_record_params, | |
3428 | find_params_in_bb, find_scop_parameters, gbb_from_bb, | |
3429 | build_loop_iteration_domains, add_conditions_to_domain, | |
3430 | phi_node_is_iv, bb_contains_non_iv_scalar_phi_nodes, | |
3431 | scop_contains_non_iv_scalar_phi_nodes, build_sese_conditions_1, | |
3432 | build_sese_conditions, add_conditions_to_constraints, | |
3433 | build_scop_iteration_domain, build_access_matrix_with_af, | |
3434 | build_access_matrix, | |
3435 | build_scop_data_accesses): Moved to graphite-sese-to-poly.c. | |
3436 | ||
3437 | * graphite-sese-to-poly.c: New. | |
3438 | * graphite-sese-to-poly.h: New. | |
3439 | ||
3440 | * Makefile.in: Add new rule for graphite-sese-to-poly.o. | |
3441 | ||
3442 | 2009-02-20 Sebastian Pop <sebastian.pop@amd.com> | |
3443 | ||
3444 | * graphite.c: Split graphite code generation to a new file. | |
3445 | (graphite_verify, gmp_cst_to_tree, clast_name_to_gcc, | |
3446 | max_precision_type, clast_to_gcc_expression_red, | |
3447 | clast_to_gcc_expression, gcc_type_for_clast_expr, | |
3448 | gcc_type_for_clast_eq, loop_iv_stack_patch_for_consts, | |
3449 | graphite_translate_clast_equation, graphite_create_guard_cond_expr, | |
3450 | graphite_create_new_guard, clast_get_body_of_loop, | |
3451 | gcc_type_for_cloog_iv, gcc_type_for_iv_of_clast_loop, | |
3452 | graphite_create_new_loop, build_iv_mapping, copy_renames, | |
3453 | translate_clast, find_cloog_iv_in_expr, compute_cloog_iv_types_1, | |
3454 | compute_cloog_iv_types, free_scattering, save_var_name, | |
3455 | initialize_cloog_names, build_scop_context, build_cloog_prog, | |
3456 | set_cloog_options, debug_clast_stmt, scop_to_clast, | |
3457 | print_generated_program, debug_generated_program, | |
3458 | gloog): Moved to graphite-clast-to-gimple.c. | |
3459 | ||
3460 | (struct cloog_prog_clast): Moved to graphite-clast-to-gimple.h. | |
3461 | ||
3462 | (iv_stack_entry_is_constant, iv_stack_entry_is_iv, | |
3463 | loop_iv_stack_push_iv, loop_iv_stack_insert_constant, | |
3464 | loop_iv_stack_pop, loop_iv_stack_get_iv, | |
3465 | loop_iv_stack_get_iv_from_name, debug_loop_iv_stack, | |
3466 | free_loop_iv_stack, loop_iv_stack_remove_constants, | |
3467 | debug_rename_elt, debug_rename_map_1, debug_rename_map, | |
3468 | rename_map_elt_info, eq_rename_map_elts, debug_ivtype_elt, | |
3469 | debug_ivtype_map_1, debug_ivtype_map, ivtype_map_elt_info, | |
3470 | eq_ivtype_map_elts, sese_add_exit_phis_edge, | |
3471 | sese_add_exit_phis_var, sese_insert_phis_for_liveouts, | |
3472 | get_vdef_before_sese, sese_adjust_vphi, | |
3473 | get_new_name_from_old_name, sese_adjust_phis_for_liveouts, | |
3474 | oldiv_for_loop, rename_variables_in_stmt, is_parameter, | |
3475 | is_iv, expand_scalar_variables_ssa_name, | |
3476 | expand_scalar_variables_expr, expand_scalar_variables_stmt, | |
3477 | expand_scalar_variables, rename_variables, remove_condition, | |
3478 | get_true_edge_from_guard_bb, get_false_edge_from_guard_bb, | |
3479 | add_loop_exit_phis, insert_loop_close_phis, struct igp, | |
3480 | default_liveout_before_guard, add_guard_exit_phis, | |
3481 | insert_guard_phis, register_old_and_new_names, | |
3482 | graphite_copy_stmts_from_block, register_sese_liveout_renames, | |
3483 | copy_bb_and_scalar_dependences, outermost_loop_in_sese, | |
3484 | if_region_set_false_region, create_if_region_on_edge, | |
3485 | move_sese_in_condition): Moved to sese.c. | |
3486 | ||
3487 | (nb_loops_around_loop_in_sese, struct ifsese, if_region_entry, | |
3488 | if_region_exit, if_region_get_condition_block, | |
3489 | struct rename_map_elt, new_rename_map_elt, enum iv_stack_entry_kind, | |
3490 | union iv_stack_entry_data_union, struct iv_stack_entry_struct, | |
3491 | iv_stack_entry_p, loop_iv_stack, struct ivtype_map_elt, | |
3492 | ivtype_map_elt, new_ivtype_map_elt, | |
3493 | recompute_all_dominators): Moved to sese.h. | |
3494 | ||
3495 | * graphite-clast-to-gimple.c: New. | |
3496 | * graphite-clast-to-gimple.h: New. | |
3497 | * Makefile.in: Add new rule for graphite-clast-to-gimple.o. | |
3498 | * sese.c: Modified as said above. | |
3499 | * sese.h: Same. | |
3500 | ||
3501 | 2009-02-20 Sebastian Pop <sebastian.pop@amd.com> | |
3502 | ||
3503 | * graphite.c: Split scop detection to a new file. | |
3504 | (enum gbb_type, gbb_type, get_bb_type, struct sd_region_p, sd_region, | |
3505 | move_sd_regions, loop_affine_expr, exclude_component_ref, | |
3506 | is_simple_operand, stmt_simple_for_scop_p, harmful_stmt_in_bb, | |
3507 | graphite_cannot_represent_loop_niter, struct scopdet_info, | |
3508 | scopdet_basic_block_info, build_scops_1, bb_in_sd_region, | |
3509 | find_single_entry_edge, find_single_exit_edge, | |
3510 | create_single_entry_edge, sd_region_without_exit, | |
3511 | create_single_exit_edge, unmark_exit_edges, mark_exit_edges, | |
3512 | create_sese_edges, build_graphite_scops, limit_scops, build_scops): | |
3513 | Moved to graphite-scop-detection.c. | |
3514 | ||
3515 | * graphite-scop-detection.c: New. | |
3516 | * graphite-scop-detection.h: New. | |
3517 | * Makefile.in: Add new rule for graphite-scop-detection.o. | |
3518 | ||
3519 | * sese.c: Include tree-chrec.h, tree-data-ref.h, and | |
3520 | tree-scalar-evolution.h. | |
3521 | (nb_reductions_in_loop, graphite_loop_normal_form, sese_record_loop, | |
3522 | build_sese_loop_nests): Moved here from graphite.c. | |
3523 | (param_index): Renamed parameter_index_in_region. | |
3524 | ||
3525 | 2009-02-18 Tobias Grosser <grosser@fim.uni-passau.de> | |
3526 | Sebastian Pop <sebastian.pop@amd.com> | |
3527 | ||
3528 | * gcc.dg/graphite/block-0.c: Expected to fail now. | |
3529 | * gcc.dg/graphite/block-1.c: Same. | |
3530 | * gcc.dg/graphite/block-5.c: Same. | |
3531 | * gcc.dg/graphite/block-6.c: Same. | |
3532 | ||
3533 | 2009-02-18 Tobias Grosser <grosser@fim.uni-passau.de> | |
3534 | Sebastian Pop <sebastian.pop@amd.com> | |
3535 | ||
3536 | * graphite.h: Separate from graphite_bb_p the polyhedral | |
3537 | representation in poly_bb_p and the GCC specifics in gimple_bb_p. | |
3538 | (struct data_dependence_polyhedron, RDGE_DDP, ddp_p): Moved to | |
3539 | graphite-data-ref.h. | |
3540 | (struct poly_bb, PBB_SCOP, PBB_STATIC_SCHEDULE, PBB_DOMAIN, | |
3541 | PBB_BLACK_BOX, PBB_LOOPS, pbb_nb_loops, pbb_loop_at_index, | |
3542 | pbb_loop_index, struct scop, SCOP_BBS, SCOP_REGION, SCOP_ENTRY, | |
3543 | SCOP_EXIT, SCOP_REGION_BBS, SCOP_DEP_GRAPH, SCOP_PARAMS, | |
3544 | SCOP_LOOP_NEST, SCOP_PARAMS, SCOP_OLDIVS, SCOP_LIVEOUT_RENAMES, | |
3545 | scop_nb_params): Moved to graphite-poly.h. | |
3546 | * graphite-data-ref.c: Same. | |
3547 | * graphite-data-ref.h: New. | |
3548 | * graphite.c: Same. | |
3549 | (pbb_compare, graphite_sort_pbbs, graphite_trans_bb_move_loop, | |
3550 | graphite_trans_bb_strip_mine, strip_mine_profitable_p, | |
3551 | is_interchange_valid, graphite_trans_bb_block, | |
3552 | graphite_trans_loop_block, scop_max_loop_depth, | |
3553 | graphite_trans_scop_block, graphite_apply_transformations, | |
3554 | new_poly_bb, free_poly_bb, new_scop, free_scop): Moved to | |
3555 | graphite-poly.c. | |
3556 | * graphite-poly.h: New. | |
3557 | * graphite-poly.c: New. | |
3558 | * Makefile.in (OBJS-common): Add graphite-poly.o. | |
3559 | (graphite-poly.o): New rule. | |
3560 | * tree-data-ref.h (struct data_reference): Remove unused scop field. | |
3561 | (DR_SCOP): Removed. | |
3562 | ||
3563 | 2009-02-18 Sebastian Pop <sebastian.pop@amd.com> | |
3564 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3565 | ||
3566 | * graphite.c: Replace gb -> gbb. | |
3567 | * graphite.h: Same. | |
3568 | * graphite-data-ref.c: Same. | |
3569 | ||
3570 | 2009-02-18 Sebastian Pop <sebastian.pop@amd.com> | |
3571 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3572 | ||
3573 | * Makefile.in (OBJS-commmon): Add sese.o. | |
3574 | (sese.o): New. | |
3575 | (graphite.o): Add sese.h. | |
3576 | * graphite.c (bb_in_ss_p, loop_in_sese_p, | |
3577 | sese_build_livein_liveouts_use, sese_build_livein_liveouts_bb, | |
3578 | sese_build_livein_liveouts, register_bb_in_sese, new_sese, free_sese): | |
3579 | Move to sese. | |
3580 | (block_before_scop): Add missing return. | |
3581 | (new_scop, free_scop): Remove SESE data structures. | |
3582 | (scop_record_loop, scan_tree_for_params, find_params_in_bb, | |
3583 | find_scop_parameters, build_loop_iteration_domains, | |
3584 | add_conditions_to_domain, register_scop_liveout_renames, | |
3585 | copy_bb_and_scalar_dependences): Scop -> SESE. | |
3586 | ||
3587 | (add_conditions_to_domain): SCoP -> SESE and remove check | |
3588 | (scop_contains_non_iv_scalar_phi_nodes): New. | |
3589 | (build_scop_conditions_1, build_scop_conditions): Remove check for | |
3590 | non iv scalar phi nodes. | |
3591 | (print_scop_statistics): New. | |
3592 | (graphite_transform_loops): Cleanup. | |
3593 | ||
3594 | * graphite.h: Move to sese & cleanup. | |
3595 | * sese.c: New. | |
3596 | * sese.h: New. | |
3597 | ||
3598 | 2009-02-16 Sebastian Pop <sebastian.pop@amd.com> | |
3599 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3600 | ||
3601 | * graphite.c (build_scop_conditions_1): Conditions are only | |
3602 | at the end of a basic block. | |
3603 | ||
3604 | 2009-02-16 Sebastian Pop <sebastian.pop@amd.com> | |
3605 | Tobias Grosser <grosser@fim.uni-passau> | |
3606 | ||
3607 | * graphite.h (struct graphite_bb): Remove compressed_alpha_matrix | |
3608 | field. | |
3609 | (GBB_ALPHA): Removed. | |
3610 | ||
3611 | 2009-02-16 Sebastian Pop <sebastian.pop@amd.com> | |
3612 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3613 | ||
3614 | * graphite-data-ref.c (graphite_test_dependence): Don't use | |
3615 | GBB_DYNAMIC_SCHEDULE. | |
3616 | * graphite.c (new_graphite_bb): Same. | |
3617 | (free_graphite_bb): Same. | |
3618 | (build_scop_dynamic_schedules): Removed. | |
3619 | (graphite_transform_loops): Don't call it. | |
3620 | * graphite.h (struct graphite_bb): Remove dynamic_schedule field. | |
3621 | (GBB_DYNAMIC_SCHEDULE): Removed. | |
3622 | ||
3623 | 2009-02-16 Sebastian Pop <sebastian.pop@amd.com> | |
3624 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3625 | ||
3626 | * graphite.c (schedule_to_scattering): Don't use CloogMatrix. | |
3627 | (print_graphite_bb): Same. | |
3628 | (build_cloog_prog): Same. | |
3629 | ||
3630 | 2009-02-16 Sebastian Pop <sebastian.pop@amd.com> | |
3631 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3632 | ||
3633 | * graphite.c (build_cloog_prog): Don't use CloogMatrix. | |
3634 | ||
3635 | 2009-02-16 Sebastian Pop <sebastian.pop@amd.com> | |
3636 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3637 | ||
3638 | * graphite.c (build_scop_context): Don't use CloogMatrix. | |
3639 | * graphite-ppl.c (new_Cloog_Domain_from_ppl_Polyhedron): New. | |
3640 | * graphite-ppl.h (new_Cloog_Domain_from_ppl_Polyhedron): Declared. | |
3641 | ||
3642 | 2009-02-16 Sebastian Pop <sebastian.pop@amd.com> | |
3643 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3644 | ||
3645 | * graphite.h (struct scop): Move params, old_ivs, loops, loop_nest, | |
3646 | liveout_renames, add_params fields... | |
3647 | (struct sese): ... here. | |
3648 | (SESE_PARAMS, SESE_LOOPS, SESE_LOOP_NEST, SESE_ADD_PARAMS, | |
3649 | SESE_PARAMS, SESE_OLDIVS, SESE_LIVEOUT_RENAMES): New. | |
3650 | ||
3651 | 2009-02-16 Sebastian Pop <sebastian.pop@amd.com> | |
3652 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3653 | ||
3654 | * graphite.c (print_scop): Do not print the CLooG program. | |
3655 | (new_scop, free_scop, initialize_cloog_names, build_scop_context, | |
3656 | build_cloog_prog, gloog): Don't use SCOP_PROG. | |
3657 | (find_transform): Renamed scop_to_clast. | |
3658 | (print_generated_program, debug_generated_program): New. | |
3659 | (graphite_transform_loops): Adapt to new interface. | |
3660 | * graphite.h (struct scop): Remove program field. | |
3661 | (SCOP_PROG): Removed. | |
3662 | (print_generated_program, debug_generated_program): Declared. | |
3663 | ||
3664 | 2009-02-16 Sebastian Pop <sebastian.pop@amd.com> | |
3665 | ||
3666 | * graphite-data-ref.c (schedule_precedes_p, schedule_same_p): New. | |
3667 | (statement_precedes_p): Use schedule_same_p and schedule_precedes_p. | |
3668 | * graphite.c (gbb_compare, schedule_to_scattering, print_graphite_bb, | |
3669 | free_graphite_bb, build_scop_canonical_schedules, | |
3670 | graphite_trans_bb_strip_mine, graphite_trans_scop_block): Static | |
3671 | schedules are now represented using a ppl_Linear_Expression_t. | |
3672 | * graphite.h (struct graphite_bb): Same. | |
3673 | * graphite-ppl.c (ppl_lexico_compare_linear_expressions): New. | |
3674 | * graphite-ppl.h (ppl_lexico_compare_linear_expressions): Declared. | |
3675 | ||
3676 | 2009-02-15 Sebastian Pop <sebastian.pop@amd.com> | |
3677 | ||
3678 | * graphite.c: Free local memory. | |
3679 | * graphite-ppl.c: Same. | |
3680 | ||
3681 | 2009-02-15 Sebastian Pop <sebastian.pop@amd.com> | |
3682 | ||
3683 | * graphite.c (const_column_index, get_first_matching_sign_row_index, | |
3684 | get_lower_bound_row, get_upper_bound_row, copy_constraint, | |
3685 | swap_constraint_variables, scale_constraint_variable): Removed. | |
3686 | (graphite_trans_bb_strip_mine): Remove pong. | |
3687 | * graphite-ppl.c: Include missing header files. | |
3688 | (set_inhomogeneous, set_coef, shift_poly, ppl_strip_loop): New. | |
3689 | * graphite-ppl.h (ppl_strip_loop): Declared. | |
3690 | * Makefile.in (graphite-ppl.o): Adjust dependences. | |
3691 | ||
3692 | 2009-02-14 Sebastian Pop <sebastian.pop@amd.com> | |
3693 | ||
3694 | * graphite.c (build_loop_iteration_domains): Remove ping pong. | |
3695 | (build_scop_iteration_domain): Same. | |
3696 | ||
3697 | 2009-02-13 Sebastian Pop <sebastian.pop@amd.com> | |
3698 | ||
3699 | * graphite.c (scan_tree_for_params, add_conditions_to_domain): Remove | |
3700 | ping pong. | |
3701 | (add_value_to_dim, scan_tree_for_params_right_scev, | |
3702 | scan_tree_for_params_int): New. | |
3703 | * graphite-ppl.c (oppose_constraint): New. | |
3704 | (insert_constraint_into_matrix): Implement missing cases. | |
3705 | * graphite-ppl.h (insert_constraint_into_matrix): Declared. | |
3706 | ||
3707 | 2009-02-13 Sebastian Pop <sebastian.pop@amd.com> | |
3708 | ||
3709 | * graphite.c (graphite_trans_bb_move_loop): Remove ping pong, | |
3710 | use ppl_move_dimension. | |
3711 | ||
3712 | 2009-02-12 Sebastian Pop <sebastian.pop@amd.com> | |
3713 | ||
3714 | * graphite-data-ref.c: Domains are now ppl_Polyhedra_t. | |
3715 | * graphite.c: Same. | |
3716 | * graphite.h: Same. | |
3717 | * graphite-ppl.c: Same. | |
3718 | * graphite-ppl.h: Same. | |
3719 | ||
3720 | 2009-02-12 Sebastian Pop <sebastian.pop@amd.com> | |
3721 | ||
3722 | Revert last 3 commits. | |
3723 | ||
3724 | 2009-02-10 Sebastian Pop <sebastian.pop@amd.com> | |
3725 | ||
3726 | * graphite.c (scan_tree_for_params, add_conditions_to_domain): Remove | |
3727 | ping pong. | |
3728 | (add_value_to_dim, scan_tree_for_params_right_scev, | |
3729 | scan_tree_for_params_int): New. | |
3730 | * graphite-ppl.c (oppose_constraint): New. | |
3731 | (insert_constraint_into_matrix): Implement missing cases. | |
3732 | * graphite-ppl.h (insert_constraint_into_matrix): Declared. | |
3733 | ||
3734 | 2009-02-10 Sebastian Pop <sebastian.pop@amd.com> | |
3735 | ||
3736 | * graphite.c (graphite_trans_bb_move_loop): Remove unused variables. | |
3737 | ||
3738 | 2009-02-10 Sebastian Pop <sebastian.pop@amd.com> | |
3739 | Tobias Grosser <grosser@fim.uni-passau.de> | |
3740 | ||
3741 | * graphite.c (graphite_trans_bb_move_loop): Remove ping pong, | |
3742 | use ppl_move_dimension. | |
3743 | * graphite-ppl.c (ppl_move_dimension): New. | |
3744 | * graphite-ppl.h (ppl_move_dimension): Declared. | |
3745 | ||
3746 | 2009-02-10 Sebastian Pop <sebastian.pop@amd.com> | |
3747 | ||
3748 | * graphite.c: Do not include cloog/cloog.h. | |
3749 | (print_graphite_bb): Remove ping pong, call PPL print function. | |
3750 | ||
3751 | 2009-02-10 Tobias Grosser <grosser@fim.uni-passau.de> | |
3752 | ||
3753 | * Makefile.in (OBJS-common): Add graphite-ppl.o. | |
3754 | (graphite.o): Add dependence on graphite-ppl.h. | |
3755 | (graphite-ppl.o): New. | |
3756 | (graphite-data-ref.c): Ping pong between PPL data structures | |
3757 | and matrices. | |
3758 | * graphite-ppl.c: New. | |
3759 | * graphite-ppl.h: New. | |
3760 | * graphite.c: Include graphite-ppl.h. | |
3761 | (print_graphite_bb, add_conditions_to_domain, build_cloog_prog, | |
3762 | graphite_trans_bb_move_loop, graphite_trans_bb_strip_mine): | |
3763 | Ping pong between PPL data structures and matrices. | |
3764 | (new_graphite_bb): Create a PPL constraint system. | |
3765 | Call ppl_delete_Constraint_System instead of cloog_matrix_free. | |
3766 | (build_loop_iteration_domains): Use PPL functions. | |
3767 | * graphite.h: Include graphite-ppl.h. Fix comments. | |
3768 | (graphite_bb): Use a ppl_Constraint_System_t instead of | |
3769 | CloogMatrix for representing the domain. | |
3770 | (scop): Remove static_schedule. | |
3771 | (gbb_nb_loops): Ping pong between PPL data structures and matrices. | |
3772 | ||
3773 | 2009-02-06 Sebastian Pop <sebastian.pop@amd.com> | |
3774 | ||
3775 | * graphite.c: Fix some comments. | |
3776 | ||
3777 | 2009-02-05 Sebastian Pop <sebastian.pop@amd.com> | |
3778 | ||
3779 | PR middle-end/38953 | |
3780 | * graphite.c (if_region_set_false_region): After moving a region | |
3781 | in the false branch of a condition, remove the empty dummy | |
3782 | basic block. | |
3783 | (gloog): Remove wrong fix for PR38953. | |
3784 | ||
3785 | 2009-02-03 Tobias Grosser <grosser@fim.uni-passau.de> | |
3786 | ||
3787 | * graphite.c (bb_in_sese_p, sese_build_livein_liveouts_use, | |
3788 | sese_build_livein_liveouts_bb, sese_build_livein_liveouts, | |
3789 | register_bb_in_sese, new_sese, free_sese): Moved. | |
3790 | (dot_scop_1, build_scop_loop_nests, build_loop_iteration_domains, | |
3791 | outermost_loop_in_scop, build_scop_iteration_domain, | |
3792 | expand_scalar_variables_ssa_name, get_vdef_before_scop, | |
3793 | limit_scops): Use bb_in_sese_p instead of bb_in_scop_p. | |
3794 | Use loop_in_sese_p instead of loop_in_scop_p. | |
3795 | (new_graphite_bb, new_scop, gloog): Do not initialize SCOP_BBS_B. | |
3796 | (free_scop): Do not free SCOP_BBS_B. | |
3797 | (nb_loops_around_loop_in_scop, nb_loops_around_gb, | |
3798 | ref_nb_loops): Moved here... | |
3799 | * graphite.h (ref_nb_loops): ... from here. | |
3800 | (struct scop): Remove bbs_b bitmap. | |
3801 | (SCOP_BBS_B, bb_in_scop_p, loop_in_scop_p): Removed. | |
3802 | * testsuite/gcc.dg/graphite/scop-19.c: New | |
3803 | ||
3804 | 2009-02-03 Tobias Grosser <grosser@fim.uni-passau.de> | |
3805 | ||
3806 | * graphite.c (scopdet_basic_block_info): Fix bug in scop | |
3807 | detection. | |
3808 | ||
3809 | 2009-01-30 Tobias Grosser <grosser@fim.uni-passau.de> | |
3810 | ||
3811 | * graphite.c (new_loop_to_cloog_loop_str, hash_loop_to_cloog_loop, | |
3812 | eq_loop_to_cloog_loop): Remove. | |
3813 | (new_scop, free_scop): Remove SCOP_LOOP2CLOOG_LOOP. | |
3814 | * graphite.h (struct scop): Remove loop2cloog_loop. | |
3815 | (loop_domain_dim, loop_iteration_vector_dim): Remove. | |
3816 | ||
3817 | 2009-01-30 Tobias Grosser <grosser@fim.uni-passau.de> | |
3818 | ||
3819 | * opts.c (decode_options): Only add graphite options to O2 | |
3820 | if we compile with graphite enabled. | |
3821 | ||
3822 | 2009-01-26 Sebastian Pop <sebastian.pop@amd.com> | |
3823 | ||
3824 | * Merge from mainline (r143163:143684). | |
3825 | ||
3826 | 2009-01-26 Sebastian Pop <sebastian.pop@amd.com> | |
3827 | ||
3828 | * graphite.c (debug_value): Removed. | |
3829 | * graphite.h (debug_value): Removed. | |
3830 | ||
3831 | 2009-01-23 Sebastian Pop <sebastian.pop@amd.com> | |
3832 | ||
3833 | * passes.c (init_optimization_passes): Do not call pass_copy_prop | |
3834 | after graphite: pass_copy_prop does not maintain a proper loop closed | |
3835 | SSA form. pass_copy_prop should be fixed. | |
3836 | ||
3837 | 2009-01-23 Sebastian Pop <sebastian.pop@amd.com> | |
3838 | ||
3839 | * graphite.c (scop_adjust_phis_for_liveouts): Fix warning. | |
3840 | ||
3841 | 2009-01-23 Sebastian Pop <sebastian.pop@amd.com> | |
3842 | ||
3843 | * graphite.c (graphite_verify): Add a call to verify_loop_closed_ssa. | |
3844 | (gloog): Split the exit of the scop when the scop exit is a loop exit. | |
3845 | (graphite_transform_loops): Only call cleanup_tree_cfg if gloog | |
3846 | changed the CFG. | |
3847 | ||
3848 | 2009-01-20 Sebastian Pop <sebastian.pop@amd.com> | |
3849 | ||
3850 | * graphite.c (gloog): Return true when code gen succeeded. | |
3851 | (graphite_transform_loops): Do not call cleanup_tree_cfg if | |
3852 | the code of the function did not changed. After cleanup_tree_cfg | |
3853 | call rewrite_into_loop_closed_ssa to maintain the loop closed ssa | |
3854 | form. | |
3855 | ||
3856 | 2009-01-19 Sebastian Pop <sebastian.pop@amd.com> | |
3857 | ||
3858 | * graphite.c (stmt_simple_for_scop_p): Also handle cases when | |
3859 | gimple_call_lhs is NULL. | |
3860 | ||
3861 | 2009-01-16 Sebastian Pop <sebastian.pop@amd.com> | |
3862 | Tobias Grosser <tobi.grosser@amd.com> | |
3863 | ||
3864 | * graphite.c (graphite_trans_scop_block): Do not block single | |
3865 | nested loops. | |
3866 | ||
3867 | 2009-01-15 Sebastian Pop <sebastian.pop@amd.com> | |
3868 | Tobias Grosser <tobi.grosser@amd.com> | |
3869 | ||
3870 | * graphite.c (build_scop_canonical_schedules): Start schedules at | |
3871 | zero. | |
3872 | ||
3873 | 2009-01-15 Sebastian Pop <sebastian.pop@amd.com> | |
3874 | Tobias Grosser <tobi.grosser@amd.com> | |
3875 | ||
3876 | * graphite.c (compare_prefix_loops): New. | |
3877 | (build_scop_canonical_schedules): Rewritten. | |
3878 | (graphite_transform_loops): Move build_scop_canonical_schedules | |
3879 | after build_scop_iteration_domain. | |
3880 | ||
3881 | 2009-01-14 Sebastian Pop <sebastian.pop@amd.com> | |
3882 | Tobias Grosser <tobi.grosser@amd.com> | |
3883 | ||
3884 | * graphite.c (add_conditions_to_domain): Add the loops to | |
3885 | the dimension of the iteration domain. Do copy the domain | |
3886 | only when it exists. | |
3887 | (build_scop_conditions_1): Do not call add_conditions_to_domain. | |
3888 | (add_conditions_to_constraints): New. | |
3889 | (can_generate_code_stmt, can_generate_code): Removed. | |
3890 | (gloog): Do not call can_generate_code. | |
3891 | (graphite_transform_loops): Call add_conditions_to_constraints | |
3892 | after building the iteration domain. | |
3893 | ||
3894 | 2009-01-14 Sebastian Pop <sebastian.pop@amd.com> | |
3895 | Tobias Grosser <tobi.grosser@amd.com> | |
3896 | Jan Sjodin <jan.sjodin@amd.com> | |
3897 | ||
3898 | * graphite.c (scan_tree_for_params): On substractions negate | |
3899 | all the coefficients of the term. | |
3900 | (clast_to_gcc_expression_red): New. Handle reduction expressions | |
3901 | of more than two operands. | |
3902 | (clast_to_gcc_expression): Call clast_to_gcc_expression_red. | |
3903 | (get_vdef_before_scop): Handle also the case of default definitions. | |
3904 | ||
3905 | 2009-01-14 Sebastian Pop <sebastian.pop@amd.com> | |
3906 | ||
3907 | PR middle-end/38431 | |
3908 | * graphite.c (get_vdef_before_scop, scop_adjust_vphi): New. | |
3909 | (scop_adjust_phis_for_liveouts): Call scop_adjust_vphi. | |
3910 | (gloog): Do not call cleanup_tree_cfg. | |
3911 | (graphite_transform_loops): Call cleanup_tree_cfg after all | |
3912 | scops have been code generated. | |
3913 | ||
3914 | 2009-01-13 Sebastian Pop <sebastian.pop@amd.com> | |
3915 | ||
3916 | * passes.c (init_optimization_passes): Schedule after | |
3917 | graphite transforms pass_copy_prop, pass_dce_loop and pass_lim. | |
3918 | ||
3919 | 2009-01-13 Sebastian Pop <sebastian.pop@amd.com> | |
3920 | ||
3921 | * graphite.c (expand_scalar_variables_stmt): Do not pass loop_p. | |
3922 | Fix comment. | |
3923 | (expand_scalar_variables_ssa_name): Do not pass loop_p. Fix comment. | |
3924 | Set the type of an expression to the type of its assign statement. | |
3925 | (expand_scalar_variables_expr): Do not pass loop_p. | |
3926 | Fix comment. Stop recursion on tcc_constant or tcc_declaration. | |
3927 | (copy_bb_and_scalar_dependences): Do not pass loop_p. | |
3928 | (translate_clast): Update call to copy_bb_and_scalar_dependences. | |
3929 | ||
3930 | 2009-01-11 Sebastian Pop <sebastian.pop@amd.com> | |
3931 | ||
3932 | * graphite.c (expand_scalar_variables_ssa_name): Set the type of | |
3933 | an expression to the gimple_expr_type of its assign statement. | |
3934 | (expand_scalar_variables_expr): Stop recursion on tcc_constant | |
3935 | or tcc_declaration. | |
3936 | ||
3937 | 2009-01-11 Sebastian Pop <sebastian.pop@amd.com> | |
3938 | ||
3939 | PR tree-optimization/38786 | |
3940 | * testsuite/gcc.dg/graphite/pr38786.c: New. | |
3941 | * graphite.c (expand_scalar_variables_ssa_name): New, outlined from | |
3942 | the SSA_NAME case of expand_scalar_variables_expr. | |
3943 | (expand_scalar_variables_expr): Also gather the scalar computation | |
3944 | used to index the memory access. | |
3945 | (expand_scalar_variables_stmt): Pass to expand_scalar_variables_expr | |
3946 | the gimple_stmt_iterator where it inserts new code. | |
3947 | ||
3948 | 2009-01-10 Sebastian Pop <sebastian.pop@amd.com> | |
3949 | ||
3950 | * testsuite/gcc.dg/graphite/block-3.c: Fix compile error on 32bit. | |
3951 | ||
3952 | 2009-01-10 Sebastian Pop <sebastian.pop@amd.com> | |
3953 | ||
3954 | * opts.c (decode_options): Enable flag_graphite_identity and | |
3955 | flag_loop_block in -O2 and above. | |
3956 | ||
3957 | 2009-01-08 Sebastian Pop <sebastian.pop@amd.com> | |
3958 | ||
3959 | * libjava/classpath/lib/gnu/java/awt/peer/gtk/GtkMouseInfoPeer.class: | |
3960 | Fix merge problem: replace with the file from trunk. | |
3961 | ||
3962 | 2009-01-08 Sebastian Pop <sebastian.pop@amd.com> | |
3963 | ||
3964 | * Merge from mainline (r141727:143163). | |
3965 | ||
3966 | 2009-01-07 Sebastian Pop <sebastian.pop@amd.com> | |
3967 | Jan Sjodin <jan.sjodin@amd.com> | |
3968 | ||
3969 | PR tree-optimization/38559 | |
3970 | * testsuite/gcc.dg/graphite/pr38559.c: New. | |
3971 | ||
3972 | * graphite.c (debug_value, copy_constraint, | |
3973 | swap_constraint_variables, scale_constraint_variable, ): New. | |
3974 | (get_lower_bound, get_upper_bound): Removed. | |
3975 | (graphite_trans_bb_strip_mine): Clean up this code that works | |
3976 | only for constant number of iterations. Fully copy upper and | |
3977 | lower bound constraints, not only the constant part of them. | |
3978 | * graphite.h (debug_value): Declared. | |
3979 | ||
3980 | 2009-01-06 Jan Sjodin <jan.sjodin@amd.com> | |
3981 | ||
3982 | PR tree-optimization/38492 | |
3983 | PR tree-optimization/38498 | |
3984 | * tree-check.c (operator_is_linear, scev_is_linear_expression): New. | |
3985 | * tree-chrec.h (scev_is_linear_expression): Declared. | |
3986 | * graphite.c (graphite_cannot_represent_loop_niter): New. | |
3987 | (scopdet_basic_block_info): Call graphite_cannot_represent_loop_niter. | |
3988 | (graphite_loop_normal_form): Use gcc_assert. | |
3989 | (scan_tree_for_params): Use CASE_CONVERT. | |
3990 | (phi_node_is_iv, bb_contains_non_iv_scalar_phi_nodes): New. | |
3991 | (build_scop_conditions_1): Call bb_contains_non_iv_scalar_phi_nodes. | |
3992 | Use gcc_assert. Discard scops that contain unhandled cases. | |
3993 | (build_scop_conditions): Return a boolean status for unhandled cases. | |
3994 | (strip_mine_profitable_p): Print the loop number, not its depth. | |
3995 | (is_interchange_valid): Pass the depth of the loop nest, don't | |
3996 | recompute it wrongly. | |
3997 | (graphite_trans_bb_block): Same. | |
3998 | (graphite_trans_bb_block): Print tentative of loop blocking. | |
3999 | (graphite_trans_scop_block): Do not print that the loop has been | |
4000 | blocked. | |
4001 | (graphite_transform_loops): Do not handle scops that contain condition | |
4002 | scalar phi nodes. | |
4003 | ||
4004 | * testsuite/gcc.dg/graphite/pr38500.c: Fixed warning as committed | |
4005 | in trunk. | |
4006 | * testsuite/gcc.dg/graphite/block-0.c: Update test. | |
4007 | * testsuite/gcc.dg/graphite/block-1.c: Same. | |
4008 | * testsuite/gcc.dg/graphite/block-2.c: Remove xfail and test for | |
4009 | blocking. | |
4010 | * testsuite/gcc.dg/graphite/block-4.c: Remove test for strip mine. | |
4011 | * testsuite/gcc.dg/graphite/block-3.c: New. | |
4012 | * testsuite/gcc.dg/graphite/pr38498.c: New. | |
4013 | ||
4014 | 2008-12-22 Harsha Jagasia <harsha.jagasia@amd.com> | |
4015 | ||
4016 | PR tree-optimization/38510 | |
4017 | * gcc.dg/graphite/pr38510.c: New. | |
4018 | * graphite.c (recompute_all_dominators): Call mark_irreducible_loops. | |
4019 | (translate_clast): Call recompute_all_dominators before | |
4020 | graphite_verify. | |
4021 | (gloog): Call recompute_all_dominators before graphite_verify. | |
4022 | ||
4023 | 2008-12-12 Sebastian Pop <sebastian.pop@amd.com> | |
4024 | ||
4025 | PR tree-optimization/38492 | |
4026 | * graphite.c (rename_map_elt, debug_rename_elt, | |
4027 | debug_rename_map_1, debug_rename_map, new_rename_map_elt, | |
4028 | rename_map_elt_info, eq_rename_map_elts, | |
4029 | get_new_name_from_old_name, bb_in_sese_p): Moved around. | |
4030 | (sese_find_uses_to_rename_use): Renamed sese_build_livein_liveouts_use. | |
4031 | (sese_find_uses_to_rename_bb): Renamed sese_build_livein_liveouts_bb. | |
4032 | (sese_build_livein_liveouts): New. | |
4033 | (new_sese, free_sese): New. | |
4034 | (new_scop): Call new_sese. | |
4035 | (free_scop): Call free_sese. | |
4036 | (rename_variables_from_edge, rename_phis_end_scop): Removed. | |
4037 | (register_old_new_names): Renamed register_old_and_new_names. | |
4038 | (register_scop_liveout_renames, add_loop_exit_phis, | |
4039 | insert_loop_close_phis, struct igp, | |
4040 | default_liveout_before_guard, add_guard_exit_phis, | |
4041 | insert_guard_phis, copy_renames): New. | |
4042 | (translate_clast): Call insert_loop_close_phis and insert_guard_phis. | |
4043 | (sese_add_exit_phis_edge): Renamed scop_add_exit_phis_edge. | |
4044 | (rewrite_into_sese_closed_ssa): Renamed scop_insert_phis_for_liveouts. | |
4045 | (scop_adjust_phis_for_liveouts): New. | |
4046 | (gloog): Call scop_adjust_phis_for_liveouts. | |
4047 | ||
4048 | * graphite.h (struct sese): Documented. Added fields liveout, | |
4049 | num_ver and livein. | |
4050 | (SESE_LIVEOUT, SESE_LIVEIN, SESE_LIVEIN_VER, SESE_NUM_VER): New. | |
4051 | (new_sese, free_sese, sese_build_livein_liveouts): Declared. | |
4052 | (struct scop): Added field liveout_renames. | |
4053 | (SCOP_LIVEOUT_RENAMES): New. | |
4054 | ||
4055 | 2008-12-11 Sebastian Pop <sebastian.pop@amd.com> | |
4056 | ||
4057 | PR tree-optimization/38409 | |
4058 | * gcc.dg/graphite/pr38409.c: New. | |
4059 | * graphite.c (nb_reductions_in_loop): Use simple_iv. | |
4060 | ||
4061 | 2008-12-11 Sebastian Pop <sebastian.pop@amd.com> | |
4062 | ||
4063 | * graphite.c (gcc_type_for_cloog_iv): By default return | |
4064 | integer_type_node. | |
4065 | (graphite_create_new_loop): Don't fold_convert the already | |
4066 | fold_convert-ed expression. | |
4067 | ||
4068 | 2008-12-11 Harsha Jagasia <harsha.jagasia@amd.com> | |
4069 | ||
4070 | PR tree-optimization/38446 | |
4071 | * gcc.dg/graphite/pr38446.c: New. | |
4072 | * graphite.c (register_bb_in_sese): New. | |
4073 | (bb_in_sese_p): Check if bb belongs to sese region by explicitly | |
4074 | looking at the bbs in the region. | |
4075 | * graphite.h (sese): Add region_basic_blocks pointer set to | |
4076 | structure and initialize at the time of defining new scop. | |
4077 | ||
4078 | 2008-12-11 Tobias Grosser <grosser@fim.uni-passau.de> | |
4079 | ||
4080 | * graphite.c (new_graphite_bb): Initialize GBB_STATIC_SCHEDULE. | |
4081 | (find_params_in_bb): Do not free data refs. | |
4082 | (free_graphite_bb): Add FIXME on disabled free_data_refs. | |
4083 | ||
4084 | 2008-12-11 Sebastian Pop <sebastian.pop@amd.com> | |
4085 | ||
4086 | * testsuite/gcc.dg/graphite/scop-16.c: Test only scop specific info. | |
4087 | * testsuite/gcc.dg/graphite/scop-17.c: Same. | |
4088 | * testsuite/gcc.dg/graphite/block-5.c: New. | |
4089 | * testsuite/gcc.dg/graphite/block-6.c: New. | |
4090 | * testsuite/gcc.dg/graphite/pr37485.c: Clean dump file after. | |
4091 | * testsuite/gcc.dg/graphite/pr37684.c: Same. | |
4092 | * testsuite/gcc.dg/graphite/block-2.c: Same. | |
4093 | ||
4094 | * graphite.c (struct ivtype_map_elt): New. | |
4095 | (debug_ivtype_elt, debug_ivtype_map_1, debug_ivtype_map, | |
4096 | new_ivtype_map_elt, ivtype_map_elt_info, eq_ivtype_map_elts, | |
4097 | gcc_type_for_cloog_iv): New. | |
4098 | (loop_iv_stack_patch_for_consts): Use the type of the induction | |
4099 | variable from the original loop, except for the automatically | |
4100 | generated loops, i.e., in the case of a strip-mined loop, in | |
4101 | which case there is no original loop: in that case just use | |
4102 | integer_type_node. | |
4103 | (new_graphite_bb): Initialize GBB_CLOOG_IV_TYPES. | |
4104 | (free_graphite_bb): Free GBB_CLOOG_IV_TYPES. | |
4105 | (clast_name_to_gcc): Accept params to be NULL. | |
4106 | (clast_to_gcc_expression): Take an extra parameter for the type. | |
4107 | Convert to that type all the expressions built by this function. | |
4108 | (gcc_type_for_clast_expr, gcc_type_for_clast_eq): New. | |
4109 | (graphite_translate_clast_equation): Compute the type of the | |
4110 | clast_equation before translating its LHS and RHS. | |
4111 | (clast_get_body_of_loop, gcc_type_for_iv_of_clast_loop): New. | |
4112 | (graphite_create_new_loop): Compute the type of the induction | |
4113 | variable before translating the lower and upper bounds and before | |
4114 | creating the induction variable. | |
4115 | (rename_variables_from_edge, rename_phis_end_scop): New. | |
4116 | (copy_bb_and_scalar_dependences): Call rename_phis_end_scop. | |
4117 | (sese_add_exit_phis_edge): Do not use integer_zero_node. | |
4118 | (find_cloog_iv_in_expr, compute_cloog_iv_types_1, | |
4119 | compute_cloog_iv_types): New. | |
4120 | (gloog): Call compute_cloog_iv_types before starting the | |
4121 | translation of the clast. | |
4122 | ||
4123 | * graphite.h (struct graphite_bb): New field cloog_iv_types. | |
4124 | (GBB_CLOOG_IV_TYPES): New. | |
4125 | (debug_ivtype_map): Declared. | |
4126 | (oldiv_for_loop): New. | |
4127 | ||
4128 | 2008-12-10 Tobias Grosser <grosser@fim.uni-passau.de> | |
4129 | ||
4130 | PR middle-end/38459 | |
4131 | * graphite.c (new_scop): Initialize SCOP_ADD_PARAMS. | |
4132 | (param_index): Assert if parameter is not know after parameter | |
4133 | detection. | |
4134 | (find_params_in_bb): Detect params directly in GBB_CONDITIONS. | |
4135 | (find_scop_parameters): Mark, that we have finished parameter | |
4136 | detection. | |
4137 | (graphite_transform_loops): Move condition detection before parameter | |
4138 | detection. | |
4139 | * graphite.h (struct scop): Add SCOP_ADD_PARAMS. | |
4140 | * testsuite/gfortran.dg/graphite/pr38459.f90: New. | |
4141 | ||
4142 | 2008-12-09 Tobias Grosser <grosser@fim.uni-passau.de> | |
4143 | ||
4144 | * graphite.c (graphite_transform_loops): Always call find_transform () | |
4145 | in ENABLE_CHECKING. So we test these code paths, even if we do not | |
4146 | generate code. | |
4147 | ||
4148 | 2008-12-09 Tobias Grosser <grosser@fim.uni-passau.de> | |
4149 | ||
4150 | * graphite.c (print_graphite_bb): Fix printing to file != dump_file. | |
4151 | (print_scop): Ditto. | |
4152 | ||
4153 | 2008-12-08 Tobias Grosser <grosser@fim.uni-passau.de> | |
4154 | ||
4155 | PR middle-end/38084 | |
4156 | Fix testsuite/gfortran.dg/graphite/id-3.f90. | |
4157 | * graphite.c (scopdet_basic_block_info): Fix bug that found some | |
4158 | regions more than once. | |
4159 | ||
4160 | 2008-12-03 Sebastian Pop <sebastian.pop@amd.com> | |
4161 | ||
4162 | Fix testsuite/gfortran.dg/graphite/id-4.f90. | |
4163 | * graphite.c (scan_tree_for_params): Do not compute the multiplicand | |
4164 | when not needed. | |
4165 | ||
4166 | 2008-12-03 Sebastian Pop <sebastian.pop@amd.com> | |
4167 | ||
4168 | Fix testsuite/gfortran.dg/graphite/id-1.f90. | |
4169 | * graphite.c (gmp_cst_to_tree): Pass the type in parameter. | |
4170 | (loop_iv_stack_patch_for_consts): Update use of gmp_cst_to_tree. | |
4171 | (max_precision_type): New. | |
4172 | (value_clast): Removed. | |
4173 | (clast_to_gcc_expression): Be more careful to types of expressions. | |
4174 | Use max_precision_type and update use of gmp_cst_to_tree. | |
4175 | (graphite_translate_clast_equation): Use max_precision_type. | |
4176 | (graphite_create_guard_cond_expr): Do not use integer_type_node, | |
4177 | use the type of the condition. | |
4178 | (graphite_create_new_loop): Do not use integer_type_node, use the | |
4179 | max_precision_type of lb and ub. | |
4180 | ||
4181 | 2008-12-03 Sebastian Pop <sebastian.pop@amd.com> | |
4182 | ||
4183 | * graphite.c (build_scops_1): Initialize open_scop.exit | |
4184 | and sinfo.last. | |
4185 | ||
4186 | 2008-12-02 Sebastian Pop <sebastian.pop@amd.com> | |
4187 | ||
4188 | * testsuite/gcc.dg/graphite/pr38084.c: New. | |
4189 | * testsuite/gfortran.dg/graphite/id-1.f90: New. | |
4190 | * testsuite/gfortran.dg/graphite/id-2.f90: New. | |
4191 | * testsuite/gfortran.dg/graphite/id-3.f90: New. | |
4192 | * testsuite/gfortran.dg/graphite/id-4.f90: New. | |
4193 | * testsuite/gfortran.dg/graphite/pr37857.f90: New. | |
4194 | ||
4195 | 2008-12-02 Sebastian Pop <sebastian.pop@amd.com> | |
4196 | Jan Sjodin <jan.sjodin@amd.com> | |
4197 | Harsha Jagasia <harsha.jagasia@amd.com> | |
4198 | ||
4199 | PR middle-end/37852 | |
4200 | PR middle-end/37883 | |
4201 | PR middle-end/37928 | |
4202 | PR middle-end/37980 | |
4203 | PR middle-end/38038 | |
4204 | PR middle-end/38039 | |
4205 | PR middle-end/38073 | |
4206 | PR middle-end/38083 | |
4207 | PR middle-end/38125 | |
4208 | ||
4209 | * testsuite/gcc.dg/graphite/pr38073.c: New. | |
4210 | * testsuite/gcc.dg/graphite/pr37928.c: New. | |
4211 | * testsuite/gcc.dg/graphite/pr37883.c: New. | |
4212 | * testsuite/gcc.dg/graphite/pr38125.c: New. | |
4213 | * testsuite/gfortran.dg/graphite/pr38083.f90: New. | |
4214 | * testsuite/gfortran.dg/graphite/pr37852.f90: New. | |
4215 | * testsuite/gfortran.dg/graphite/pr37980.f90: New. | |
4216 | ||
4217 | * testsuite/gcc.dg/graphite/scop-18.c: Remove reduction, test for | |
4218 | the number of detected scops. Copy exact same test for loop | |
4219 | blocking... | |
4220 | * testsuite/gcc.dg/graphite/block-1.c: Fix the number of expected | |
4221 | loops to be blocked as reductions are not handled. | |
4222 | * testsuite/gcc.dg/graphite/block-4.c: ...here. New. | |
4223 | ||
4224 | * tree-phinodes.c (remove_phi_nodes): New, extracted from... | |
4225 | * tree-cfg.c (remove_phi_nodes_and_edges_for_unreachable_block): | |
4226 | ...here. | |
4227 | * tree-flow.h (remove_phi_nodes, canonicalize_loop_ivs): Declared. | |
4228 | * Makefile.in (graphite.o): Depend on value-prof.h. | |
4229 | (graphite.o-warn): Removed -Wno-error. | |
4230 | * tree-parloops.c (canonicalize_loop_ivs): Allow reduction_list | |
4231 | to be a NULL pointer. Call update_stmt. Return the newly created | |
4232 | cannonical induction variable. | |
4233 | ||
4234 | * graphite.h (debug_rename_map): Declared. Fix some comments. | |
4235 | ||
4236 | * graphite.c: Reimplement the code generation from graphite to gimple. | |
4237 | Include value-prof.h. | |
4238 | (loop_iv_stack_get_iv): Do not return NULL for constant substitutions. | |
4239 | (get_old_iv_from_ssa_name): Removed. | |
4240 | (graphite_stmt_p): New. | |
4241 | (new_graphite_bb): Test for useful statements before building a | |
4242 | graphite statement for the basic block. | |
4243 | (free_graphite_bb): Do not free GBB_DATA_REFS: this is a bug | |
4244 | in free_data_ref that calls BITMAP_FREE (DR_VOPS (dr)) without | |
4245 | reason. | |
4246 | (recompute_all_dominators, graphite_verify, | |
4247 | nb_reductions_in_loop, graphite_loop_normal_form): New. | |
4248 | (scop_record_loop): Call graphite_loop_normal_form. | |
4249 | (build_scop_loop_nests): Iterate over all the blocks of the | |
4250 | function instead of relying on the incomplete information from | |
4251 | SCOP_BBS. Return the success of the operation. | |
4252 | (find_params_in_bb): Use the data from GBB_DATA_REFS. | |
4253 | (add_bb_domains): Removed. | |
4254 | (build_loop_iteration_domains): Don't call add_bb_domains. | |
4255 | Add the iteration domain only to the basic blocks that have been | |
4256 | translated to graphite. | |
4257 | (build_scop_conditions_1): Add constraints only if the basic | |
4258 | block have been translated to graphite. | |
4259 | (build_scop_data_accesses): Completely disabled until data | |
4260 | dependence is correctly implemented. | |
4261 | (debug_rename_elt, debug_rename_map_1, debug_rename_map): New. | |
4262 | (remove_all_edges_1, remove_all_edges): Removed. | |
4263 | (get_new_name_from_old_name): New. | |
4264 | (graphite_rename_variables_in_stmt): Renamed | |
4265 | rename_variables_in_stmt. Call get_new_name_from_old_name. | |
4266 | Use replace_exp and update_stmt. | |
4267 | (is_old_iv): Renamed is_iv. | |
4268 | (expand_scalar_variables_stmt): Extra parameter for renaming map. | |
4269 | Use replace_exp and update_stmt. | |
4270 | (expand_scalar_variables_expr): Same. Use the map to get the | |
4271 | new names for the renaming of induction variables and for the | |
4272 | renaming of variables after a basic block has been copied. | |
4273 | (expand_scalar_variables): Same. | |
4274 | (graphite_rename_variables): Renamed rename_variables. | |
4275 | (move_phi_nodes): Removed. | |
4276 | (get_false_edge_from_guard_bb): New. | |
4277 | (build_iv_mapping): Do not insert the induction variable of a | |
4278 | loop in the renaming iv map if the basic block does not belong | |
4279 | to that loop. | |
4280 | (register_old_new_names, graphite_copy_stmts_from_block, | |
4281 | copy_bb_and_scalar_dependences): New. | |
4282 | (translate_clast): Heavily reimplemented: copy basic blocks, | |
4283 | do not move them. Finally, in call cleanup_tree_cfg in gloog. | |
4284 | At each translation step call graphite_verify ensuring the | |
4285 | consistency of the SSA, loops and dominators information. | |
4286 | (collect_virtual_phis, find_vdef_for_var_in_bb, | |
4287 | find_vdef_for_var_1, find_vdef_for_var, | |
4288 | patch_phis_for_virtual_defs): Removed huge hack. | |
4289 | (mark_old_loops, remove_dead_loops, skip_phi_defs, | |
4290 | collect_scop_exit_phi_args, patch_scop_exit_phi_args, | |
4291 | gbb_can_be_ignored, scop_remove_ignoreable_gbbs, ): Removed. | |
4292 | (remove_sese_region, ifsese, if_region_entry, if_region_exit, | |
4293 | if_region_get_condition_block, if_region_set_false_region, | |
4294 | create_if_region_on_edge, move_sese_in_condition, bb_in_sese_p, | |
4295 | sese_find_uses_to_rename_use, sese_find_uses_to_rename_bb, | |
4296 | sese_add_exit_phis_edge, sese_add_exit_phis_var, | |
4297 | rewrite_into_sese_closed_ssa): New. | |
4298 | (gloog): Remove dead code. Early return if code cannot be | |
4299 | generated. Call cleanup_tree_cfg once the scop has been code | |
4300 | generated. | |
4301 | (graphite_trans_scop_block, graphite_trans_loop_block): Do not | |
4302 | block loops with less than two loops. | |
4303 | (graphite_apply_transformations): Remove the call to | |
4304 | scop_remove_ignoreable_gbbs. | |
4305 | (limit_scops): When build_scop_loop_nests fails, continue on | |
4306 | the next scop. Fix open_scop.entry. | |
4307 | (graphite_transform_loops): Call recompute_all_dominators: force the | |
4308 | recomputation of correct CDI_DOMINATORS and CDI_POST_DOMINATORS. | |
4309 | Call initialize_original_copy_tables and free_original_copy_tables | |
4310 | to be able to copy basic blocks during code generation. | |
4311 | When build_scop_loop_nests fails, continue on next scop. | |
4312 | (value_clast): New union. | |
4313 | (clast_to_gcc_expression): Fix type cast warning. | |
4314 | ||
4315 | 2008-11-09 Sebastian Pop <sebastian.pop@amd.com> | |
4316 | ||
4317 | * Merge from mainline (r140838:141727). | |
4318 | ||
4319 | 2008-11-05 Tobias Grosser <grosser@fim.uni-passau.de> | |
4320 | ||
4321 | PR middle-end/37833 | |
4322 | ||
4323 | * graphite.c (scan_tree_for_params): Add POINTER_PLUS_EXPR. | |
4324 | ||
4325 | 2008-11-05 Tobias Grosser <grosser@fim.uni-passau.de> | |
4326 | ||
4327 | PR middle-end/37943 | |
4328 | ||
4329 | * graphite.c (scopdet_basic_block_info): Fix loops with multiple | |
4330 | exits and conditions. | |
4331 | * testsuite/gcc.dg/graphite/pr37943.c: New. | |
4332 | ||
4333 | 2008-10-23 Tobias Grosser <grosser@fim.uni-passau.de> | |
4334 | ||
4335 | PR middle-end/37886 | |
4336 | * graphite.c (gloog): Replace EXIT_BLOCK_PTR with scop exit. | |
4337 | ||
4338 | 2008-10-23 Tobias Grosser <grosser@fim.uni-passau.de> | |
4339 | ||
4340 | * doc/invoke.texi: Fix spaces. | |
4341 | ||
4342 | 2008-10-22 Sebastian Pop <sebastian.pop@amd.com> | |
4343 | ||
4344 | PR tree-optimization/37891 | |
4345 | Reverted last commit. | |
4346 | * graphite.c (create_single_entry_edge): Set | |
4347 | EDGE_IRREDUCIBLE_LOOP and BB_IRREDUCIBLE_LOOP. | |
4348 | ||
4349 | 2008-10-21 Sebastian Pop <sebastian.pop@amd.com> | |
4350 | Mitul Thakkar <mitul.thakkar@amd.com> | |
4351 | ||
4352 | * graphite.c (create_single_entry_edge): Set | |
4353 | EDGE_IRREDUCIBLE_LOOP and BB_IRREDUCIBLE_LOOP. | |
4354 | ||
4355 | 2008-10-16 Tobias Grosser <grosser@fim.uni-passau.de> | |
4356 | ||
4357 | * doc/invoke.texi: Add -fgraphite-identity. | |
4358 | * graphite.c (graphite_apply_transformations): Check for | |
4359 | -fgraphite-identity. | |
4360 | * toplev.c (process_options): Add flag_graphite_identity. | |
4361 | * tree-ssa-loop.c: Add flag_graphite_identity. | |
4362 | ||
4363 | 2008-10-14 Sebastian Pop <sebastian.pop@amd.com> | |
4364 | ||
4365 | Undo changes from 2008-10-02: | |
4366 | * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Convert | |
4367 | operand type when copying the operand to a variable of different type. | |
4368 | * cfgloopmanip.c (create_empty_loop_on_edge): Write exit condition | |
4369 | with the IV name after increment. | |
4370 | ||
4371 | 2008-10-14 Sebastian Pop <sebastian.pop@amd.com> | |
4372 | Harsha Jagasia <harsha.jagasia@amd.com> | |
4373 | ||
4374 | PR tree-optimization/37828 | |
4375 | * testsuite/gcc.dg/graphite/pr37828.c: New. | |
4376 | * graphite.c (graphite_trans_loop_block): Do not loop block | |
4377 | single nested loops. | |
4378 | ||
4379 | 2008-10-09 Harsha Jagasia <harsha.jagasia@amd.com> | |
4380 | Sebastian Pop <sebastian.pop@amd.com> | |
4381 | ||
4382 | * graphite.c (struct rename_map_elt, new_rename_map_elt, | |
4383 | rename_map_elt_info, eq_rename_map_elts): New. | |
4384 | (graphite_rename_ivs_stmt): Renamed graphite_rename_variables_in_stmt. | |
4385 | (expand_scalar_variables_expr): Change parameters. | |
4386 | (expand_scalar_variables_stmt): Same. | |
4387 | (expand_scalar_variables): Same. | |
4388 | (graphite_rename_ivs): Rename graphite_rename_variables. | |
4389 | (build_iv_mapping): New. | |
4390 | (translate_clast): Call build_iv_mapping. | |
4391 | * graphite.h (gbb_p): New name. | |
4392 | ||
4393 | 2008-10-03 Harsha Jagasia <harsha.jagasia@amd.com> | |
4394 | ||
4395 | PR tree-optimization/37684 | |
4396 | * gcc.dg/graphite/pr37684.c: New. | |
4397 | * graphite.c (exclude_component_ref): New. | |
4398 | (is_simple_operand): Call exclude_component_ref. | |
4399 | ||
4400 | 2008-10-02 Jan Sjodin <jan.sjodin@amd.com> | |
4401 | Harsha Jagasia <harsha.jagasia@amd.com> | |
4402 | ||
4403 | PR tree-optimization/37485 | |
4404 | * gcc.dg/graphite/block-2.c: New | |
4405 | * graphite.c (gmp_cst_to_tree): Moved. | |
4406 | (iv_stack_entry_is_constant): New. | |
4407 | (iv_stack_entry_is_iv): New. | |
4408 | (loop_iv_stack_push): Renamed to loop_iv_stack_push_iv. | |
4409 | (loop_iv_stack_insert_constant): New. | |
4410 | (loop_iv_stack_pop): Use new datatpype. | |
4411 | (loop_iv_stack_get_iv): Same. | |
4412 | (loop_iv_stack_get_iv_from_name): Same. | |
4413 | (loop_iv_stack_debug): Renamed to debug_loop_iv_stack. | |
4414 | (loop_iv_stack_patch_for_consts): New. | |
4415 | (loop_iv_stack_remove_constants): New. | |
4416 | (graphite_create_new_loop): Use loop_iv_stack_push_iv. | |
4417 | (translate_clast): Call loop_iv_stack_patch_for_consts and | |
4418 | loop_iv_stack_remove_constants. | |
4419 | (gloog): Use new datatype. Redirect construction edge to end | |
4420 | block to avoid accidental deletion. | |
4421 | * graphite.h (enum iv_stack_entry_kind): New. Tag for data in | |
4422 | iv stack entry. | |
4423 | (union iv_stack_entry_data): New. Data in iv stack entry. | |
4424 | (struct iv_stack_entry): New. Datatype for iv stack entries. | |
4425 | ||
4426 | 2008-10-02 Sebastian Pop <sebastian.pop@amd.com> | |
4427 | ||
4428 | * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Convert | |
4429 | operand type when copying the operand to a variable of different type. | |
4430 | ||
4431 | 2008-10-02 Sebastian Pop <sebastian.pop@amd.com> | |
4432 | ||
4433 | * cfgloopmanip.c (create_empty_loop_on_edge): Write exit condition | |
4434 | with the IV name after increment. | |
4435 | ||
4436 | 2008-10-02 Sebastian Pop <sebastian.pop@amd.com> | |
4437 | ||
4438 | * Merge from mainline (r140164:140838). | |
4439 | ||
4440 | 2008-09-10 Konrad Trifunovic <konrad.trifunovic@inria.fr> | |
4441 | ||
4442 | * graphite-data-ref.c: New. | |
4443 | * graphite.c (print_scop): Also dump the dependence graph. | |
4444 | (bb_in_scop_p, loop_in_scop_p, nb_loops_around_gb): Moved... | |
4445 | (new_scop): Initialize SCOP_DEP_GRAPH. | |
4446 | (build_scop_dynamic_schedules): New. | |
4447 | (build_access_matrix_with_af): Fixed column numbering. | |
4448 | (graphite_transform_loops): Call build_scop_dynamic_schedules. | |
4449 | * graphite.h: Add ifndef/define guards against multiple inclusion. | |
4450 | (struct scop): Add dep_graph field. | |
4451 | (SCOP_DEP_GRAPH): Defined. | |
4452 | (ref_nb_loops): Fixed and moved to other position. | |
4453 | (bb_in_scop_p, loop_in_scop_p, nb_loops_around_gb): ... here. | |
4454 | (nb_loops_around_loop_in_scop): New. | |
4455 | (graphite_dump_dependence_graph): Declared. | |
4456 | (graphite_build_rdg_all_levels): Declared. | |
4457 | (graphite_test_dependence): Declared. | |
4458 | * Makefile.in (graphite-data-ref.o): New target. | |
4459 | ||
4460 | 2008-09-09 Sebastian Pop <sebastian.pop@amd.com> | |
4461 | ||
4462 | * Merge from mainline (139870:140164). | |
4463 | ||
4464 | 2008-09-01 Sebastian Pop <sebastian.pop@amd.com> | |
4465 | ||
4466 | * Merge from mainline (138275:139870). | |
4467 | * testsuite/gcc.dg/graphite/scop-matmult.c: XFailed as one of | |
4468 | the commits from trunk broke the niter detection. | |
4469 | ||
4470 | 2008-09-01 Sebastian Pop <sebastian.pop@amd.com> | |
4471 | ||
4472 | * graphite.c: Add more documentation. Fix formatting. | |
4473 | (debug_loop_vec, debug_oldivs, loop_iv_stack, | |
4474 | loop_iv_stack_debug): Moved... | |
4475 | (schedule_to_scattering): Move before use. | |
4476 | (dot_all_scops): Include in "#if 0" the code for system | |
4477 | call dotty. | |
4478 | ||
4479 | * graphite.h: (debug_loop_vec, debug_oldivs, loop_iv_stack, | |
4480 | loop_iv_stack_debug): ...here. | |
4481 | ||
4482 | 2008-08-29 Jan Sjodin <jan.sjodin@amd.com> | |
4483 | ||
4484 | * tree-phinodes.c (make_phi_node): Extern. | |
4485 | (add_phi_node_to_bb): New. | |
4486 | (create_phi_node): Call add_phi_node_to_bb. | |
4487 | * tree-ssa-loop-ivopts.c (get_phi_with_result): New. | |
4488 | (remove_statement): Handle case where stored phi was updated | |
4489 | and is no longer the same. | |
4490 | * graphite.c (is_parameter): New. | |
4491 | (is_old_iv): New. | |
4492 | (expand_scalar_variables_expr): New. | |
4493 | (expand_scalar_variables_stmt): New. | |
4494 | (expand_scalar_variables): New. | |
4495 | (move_phi_nodes): Create new phi instead of moving old one. | |
4496 | (translate_clast): Call expand_scalar_variables. | |
4497 | (find_vdef_for_var_in_bb): Also scan regular definitions. | |
4498 | (skip_phi_defs): New. | |
4499 | (collect_scop_exit_phi_args): New. | |
4500 | (patch_scop_exit_phi_args): New. | |
4501 | (gloog): Patch phis after scop. | |
4502 | * tree-flow.h: (add_phi_node_to_bb): Declared. | |
4503 | (make_phi_node): Declared. | |
4504 | ||
4505 | 2008-08-26 Sebastian Pop <sebastian.pop@amd.com> | |
4506 | ||
4507 | * graphite.c (end_scop): Split the entry of the scop when it | |
4508 | is the header of the loop in which the scop is ending. | |
4509 | (build_scops_1, limit_scops): Update uses of end_scop. | |
4510 | ||
4511 | 2008-08-26 Sebastian Pop <sebastian.pop@amd.com> | |
4512 | ||
4513 | * graphite.c (dot_all_scops_1): Do not fail on uninitialized | |
4514 | SCOP_ENTRY or SCOP_EXIT. | |
4515 | ||
4516 | 2008-08-25 Sebastian Pop <sebastian.pop@amd.com> | |
4517 | ||
4518 | * graphite.c (get_construction_edge): Removed. | |
4519 | (gloog): Construction edge is the scop entry edge. | |
4520 | ||
4521 | 2008-08-25 Sebastian Pop <sebastian.pop@amd.com> | |
4522 | ||
4523 | * graphite.c (can_generate_for_scop): Removed. | |
4524 | (gloog): Do not call it. | |
4525 | ||
4526 | 2008-08-25 Sebastian Pop <sebastian.pop@amd.com> | |
4527 | ||
4528 | * graphite.c (new_scop): Entry of a scop is an edge. | |
4529 | Initialize SESE region. | |
4530 | (free_scop): Free SESE region. | |
4531 | (build_scops_1, scopdet_bb_info): Work on edges, not on bbs. | |
4532 | (split_difficult_bb): New, split from end_scop. | |
4533 | (end_scop): Exit of a scop is an edge. | |
4534 | (build_scop_bbs): Never check CDI_POST_DOMINATORS: this info is | |
4535 | not automatically updated and thus is always wrong. | |
4536 | * graphite.h (struct sese): New. | |
4537 | (SESE_ENTRY): New. | |
4538 | (SESE_EXIT): New. | |
4539 | (struct scop): New field for a SESE region. Remove entry, exit. | |
4540 | (SCOP_ENTRY, SCOP_EXIT): Update definitions to match same | |
4541 | semantics as before. Moved comment around. | |
4542 | ||
4543 | 2008-08-25 Tobias Grosser <grosser@fim.uni-passau.de> | |
4544 | Sebastian Pop <sebastian.pop@amd.com> | |
4545 | ||
4546 | * graphite.c (graphite_transform_loops): Always enable gloog | |
4547 | and find_transform when ENABLE_CHECKING. | |
4548 | ||
4549 | 2008-08-25 Sebastian Pop <sebastian.pop@amd.com> | |
4550 | ||
4551 | * graphite.c (graphite_transform_loops): Move pretty printer | |
4552 | of SCOPs before doing any transform. Remove call to print_scops | |
4553 | and dot_all_scops_1. | |
4554 | ||
4555 | 2008-08-25 Sebastian Pop <sebastian.pop@amd.com> | |
4556 | ||
4557 | * graphite.c (dump_gbb_conditions): Don't try to print NULL pointers. | |
4558 | (print_graphite_bb): Same. | |
4559 | ||
4560 | 2008-08-25 Sebastian Pop <sebastian.pop@amd.com> | |
4561 | ||
4562 | * graphite.c (dot_all_scops_1): Cleanup. | |
4563 | (move_scops): Fix comment. | |
4564 | ||
4565 | 2008-08-25 Sebastian Pop <sebastian.pop@amd.com> | |
4566 | ||
4567 | * graphite.c (build_scop_bbs): Revert commit 139355: | |
4568 | ||
4569 | 2008-08-20 Sebastian Pop <sebastian.pop@amd.com> | |
4570 | Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> | |
4571 | ||
4572 | * graphite.c (build_scop_bbs): Factor up code. | |
4573 | ||
4574 | 2008-08-25 Tobias Grosser <grosser@fim.uni-passau.de> | |
4575 | ||
4576 | * graphite.c (gloog): Update dominator info. | |
4577 | ||
4578 | 2008-08-25 Tobias Grosser <grosser@fim.uni-passau.de> | |
4579 | ||
4580 | * graphite.c (remove_cond_exprs): Do not fail on empty bbs. | |
4581 | ||
4582 | 2008-08-24 Sebastian Pop <sebastian.pop@amd.com> | |
4583 | ||
4584 | * graphite.c (new_graphite_bb): Remove GBB_INDEX_TO_NUM_MAP | |
4585 | initialization. | |
4586 | (free_graphite_bb): Remove GBB_INDEX_TO_NUM_MAP free. | |
4587 | (translate_clast): Correct formatting. | |
4588 | * graphite.h (struct num_map): Removed. | |
4589 | (struct graphite_bb): Remove num_map field. | |
4590 | (GBB_INDEX_TO_NUM_MAP): Removed. | |
4591 | ||
4592 | 2008-08-24 Sebastian Pop <sebastian.pop@amd.com> | |
4593 | ||
4594 | * graphite.c (build_access_matrix_with_af): Fix comments. | |
4595 | (build_scop_data_accesses): Same. | |
4596 | ||
4597 | 2008-08-24 Sebastian Pop <sebastian.pop@amd.com> | |
4598 | ||
4599 | * graphite.c (build_scop_data_accesses): Don't construct | |
4600 | access matrices. Add a FIXME and an assert condition that | |
4601 | should pass when the access matrices will be needed. | |
4602 | ||
4603 | 2008-08-24 Sebastian Pop <sebastian.pop@amd.com> | |
4604 | ||
4605 | * tree-data-ref.c (stmt_simple_memref_p): Don't call | |
4606 | really_constant_p. | |
4607 | * graphite.c (build_graphite_bb): Renamed new_graphite_bb. | |
4608 | Moved close by free_graphite_bb. | |
4609 | (free_graphite_bb): Call free_data_refs. Reset bb->aux. | |
4610 | (new_scop): Move close by free_scop. | |
4611 | (graphite_transform_loops): Avoid linear scan to reset bb->aux. | |
4612 | ||
4613 | 2008-08-22 Jan Sjodin <jan.sjodin@amd.com> | |
4614 | ||
4615 | * cfgloopmanip.c (create_empty_if_region_on_edge): New. | |
4616 | * graphite.c (clast_to_gcc_expression): Call gmp_cst_to_tree | |
4617 | instead of recursive call. | |
4618 | (graphite_translate_clast_equation): New. | |
4619 | (graphite_create_guard_cond_expr): New. | |
4620 | (graphite_create_new_guard): New. | |
4621 | (get_stack_index_from_iv): Removed. | |
4622 | (graphite_rename_ivs_stmt): Use gbb_loop_index. | |
4623 | (get_true_edge_from_guard_bb): New. | |
4624 | (translate_clast): Handle stmt_guard in clast. | |
4625 | (get_construction_edge): Allow construction edge detection for | |
4626 | a scope entry with multiple predecessors if one predecessor is | |
4627 | the immediate dominator of scope entry. | |
4628 | (can_generate_code_stmt): Enable code generation for clast_guard. | |
4629 | (gloog): Use correct context loop. Removed check for post dominators. | |
4630 | * cfgloop.h (create_empty_if_region_on_edge): Declared. | |
4631 | ||
4632 | 2008-08-21 Sebastian Pop <sebastian.pop@amd.com> | |
4633 | ||
4634 | * graphite.c (remove_dead_loops): Document better which | |
4635 | loops are removed. | |
4636 | ||
4637 | 2008-08-21 Sebastian Pop <sebastian.pop@amd.com> | |
4638 | ||
4639 | * Makefile.in: Rename POLYLIBLIBS and POLYLIBINC to PPLLIBS | |
4640 | and PPLINC. | |
4641 | (graphite.o): Also depends on pointer-set.h. | |
4642 | ||
4643 | 2008-08-21 Sebastian Pop <sebastian.pop@amd.com> | |
4644 | ||
4645 | * graphite.c (scop_record_loop): Fix compile warning. | |
4646 | ||
4647 | 2008-08-21 Harsha Jagasia <harsha.jagasia@amd.com> | |
4648 | Sebastian Pop <sebastian.pop@amd.com> | |
4649 | ||
4650 | * graphite.c (scop_record_loop): DECL_NAME can be NULL. | |
4651 | ||
4652 | 2008-08-21 Sebastian Pop <sebastian.pop@amd.com> | |
4653 | ||
4654 | * graphite.c (build_graphite_bb): Initialize bb->aux to | |
4655 | point to the graphite_bb_p. | |
4656 | (graphite_bb_from_bb): Renamed gbb_from_bb; returns the | |
4657 | content of bb->aux. | |
4658 | (add_bb_domains): Does not use the scop parameter. | |
4659 | (graphite_transform_loops): Clean bb->aux at the end. | |
4660 | ||
4661 | 2008-08-20 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> | |
4662 | Sebastian Pop <sebastian.pop@amd.com> | |
4663 | ||
4664 | * testsuite/lib/target-supports.exp | |
4665 | (check_effective_target_fgraphite): New. | |
4666 | ||
4667 | * testsuite/gcc.dg/graphite/graphite.exp: Early exit when | |
4668 | check_effective_target_fgraphite returns false. | |
4669 | Set dg-do-what-default to compile. | |
4670 | (scan-graphite-dump-times): Removed. | |
4671 | * testsuite/gfortran.dg/graphite/graphite.exp: Same. | |
4672 | ||
4673 | * testsuite/gcc.dg/graphite/scop-0.c: Do not use "dg-do compile". | |
4674 | Use scan-tree-dump-times instead of scan-graphite-dump-times. | |
4675 | * testsuite/gcc.dg/graphite/scop-1.c: Same. | |
4676 | * testsuite/gcc.dg/graphite/scop-2.c: Same. | |
4677 | * testsuite/gcc.dg/graphite/scop-3.c: Same. | |
4678 | * testsuite/gcc.dg/graphite/scop-4.c: Same. | |
4679 | * testsuite/gcc.dg/graphite/scop-5.c: Same. | |
4680 | * testsuite/gcc.dg/graphite/scop-6.c: Same. | |
4681 | * testsuite/gcc.dg/graphite/scop-7.c: Same. | |
4682 | * testsuite/gcc.dg/graphite/scop-8.c: Same. | |
4683 | * testsuite/gcc.dg/graphite/scop-9.c: Same. | |
4684 | * testsuite/gcc.dg/graphite/scop-10.c: Same. | |
4685 | * testsuite/gcc.dg/graphite/scop-11.c: Same. | |
4686 | * testsuite/gcc.dg/graphite/scop-12.c: Same. | |
4687 | * testsuite/gcc.dg/graphite/scop-13.c: Same. | |
4688 | * testsuite/gcc.dg/graphite/scop-matmult.c: Same. | |
4689 | * testsuite/gcc.dg/graphite/scop-14.c: Same. | |
4690 | * testsuite/gcc.dg/graphite/scop-15.c: Same. | |
4691 | * testsuite/gcc.dg/graphite/block-0.c: Same. | |
4692 | * testsuite/gcc.dg/graphite/scop-16.c: Same. | |
4693 | * testsuite/gcc.dg/graphite/block-1.c: Same. | |
4694 | * testsuite/gcc.dg/graphite/scop-17.c: Same. | |
4695 | * testsuite/gcc.dg/graphite/scop-18.c: Same. | |
4696 | * testsuite/gfortran.dg/graphite/block-1.f90: Same. | |
4697 | * testsuite/gfortran.dg/graphite/scop-1.f: Same. | |
4698 | * testsuite/gfortran.dg/graphite/block-2.f: Same. | |
4699 | ||
4700 | 2008-08-20 Sebastian Pop <sebastian.pop@amd.com> | |
4701 | ||
4702 | * graphite.c: Fix some XXX comments. | |
4703 | (build_scop_dynamic_schedules): Removed. | |
4704 | ||
4705 | 2008-08-20 Sebastian Pop <sebastian.pop@amd.com> | |
4706 | ||
4707 | * graphite.h (scop_max_loop_depth): Moved... | |
4708 | * graphite.c (scop_max_loop_depth): ...here. | |
4709 | (remove_all_edges_1): New. | |
4710 | (remove_all_edges): Factored code. | |
4711 | (remove_cond_exprs): Check only the last statement for | |
4712 | a GIMPLE_COND expression. | |
4713 | ||
4714 | 2008-08-20 Sebastian Pop <sebastian.pop@amd.com> | |
4715 | ||
4716 | * graphite.c (scan_tree_for_params): Early return when the | |
4717 | expression is a chrec_dont_know. Handle case NEGATE_EXPR. | |
4718 | (find_scop_parameters): Factor out code. | |
4719 | (graphite_trans_bb_strip_mine): Remove dead code. | |
4720 | ||
4721 | 2008-08-20 Sebastian Pop <sebastian.pop@amd.com> | |
4722 | ||
4723 | * graphite.c (clast_to_gcc_expression, graphite_create_new_loop, | |
4724 | graphite_trans_bb_move_loop): Factor asserts. | |
4725 | (gloog): Perform sanity checks only for ENABLE_CHECKING. | |
4726 | Do not call calculate_dominance_info and estimate_bb_frequencies. | |
4727 | ||
4728 | 2008-08-20 Jan Sjodin <jan.sjodin@amd.com> | |
4729 | ||
4730 | * graphite.c (create_loops_mapping, free_loops_mapping, | |
4731 | create_loops_mapping_num, debug_loop_mapping_1, | |
4732 | debug_loop_mapping, graphite_loops_mapping_max_loop_num, | |
4733 | get_loop_mapping_for_num, graphite_loops_mapping_add_child, | |
4734 | graphite_loops_mapping_add_child_num, | |
4735 | graphite_loops_mapping_insert_child, | |
4736 | graphite_loops_mapping_parent, get_loop_mapped_depth_for_num, | |
4737 | get_loop_mapped_depth, split_loop_mapped_depth_for_num, | |
4738 | loop_mapped_depth_split_loop, swap_loop_mapped_depth_for_num, | |
4739 | create_num_from_index, get_num_from_index, | |
4740 | swap_loop_mapped_depth): Removed. | |
4741 | (new_scop): Do not initialize SCOP_LOOPS_MAPPING. | |
4742 | (free_scop): Do not call free_loops_mapping. | |
4743 | (graphite_get_new_iv_stack_index_from_old_iv): Renamed | |
4744 | get_stack_index_from_iv. Use GBB_LOOPS instead of calling | |
4745 | get_loop_mapped_depth. | |
4746 | (graphite_trans_bb_move_loop): Do not update the loop mapping. | |
4747 | (graphite_trans_bb_strip_mine): Same. | |
4748 | * graphite.h (graphite_loops_mapping, graphite_loop_node): Removed. | |
4749 | (struct scop): Remove field loops_mapping. | |
4750 | ||
4751 | 2008-08-20 Sebastian Pop <sebastian.pop@amd.com> | |
4752 | Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> | |
4753 | ||
4754 | * graphite.c (scop_record_loop): Factor out one level of the | |
4755 | condition by early return. | |
4756 | (build_scop_loop_nests): Format following FSF coding style. | |
4757 | (build_scop_dynamic_schedules): Factor out code. | |
4758 | (scopdet_bb_info): Reindent. Default case should not be reachable. | |
4759 | ||
4760 | 2008-08-20 Sebastian Pop <sebastian.pop@amd.com> | |
4761 | Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> | |
4762 | ||
4763 | * graphite.c (loop_affine_expr): Check for DECL_P or struct | |
4764 | assignments that are not handled as simple operands for now. | |
4765 | ||
4766 | 2008-08-20 Sebastian Pop <sebastian.pop@amd.com> | |
4767 | Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> | |
4768 | ||
4769 | * graphite.c (build_scop_bbs): Factor up code. | |
4770 | ||
4771 | 2008-08-20 Sebastian Pop <sebastian.pop@amd.com> | |
4772 | Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> | |
4773 | ||
4774 | * graphite.c (stmt_simple_for_scop_p): Factor code out | |
4775 | of the loop. | |
4776 | (enum gbb_type): New. Group all the GBB_* types under it. | |
4777 | (is_loop_exit): Moved... | |
4778 | (end_scop): Enable BB spliting. | |
4779 | * cfgloop.c (is_loop_exit): ...here. Reimplemented. | |
4780 | * cfgloop.h (is_loop_exit): Declared. | |
4781 | ||
4782 | 2008-08-20 Sebastian Pop <sebastian.pop@amd.com> | |
4783 | ||
4784 | * doc/invoke.texi: Remove strides from examples containing | |
4785 | DO loops when the strides are equal to 1. | |
4786 | ||
4787 | 2008-08-20 Harsha Jagasia <harsha.jagasia@amd.com> | |
4788 | Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> | |
4789 | ||
4790 | * graphite.c (graphite_trans_scop_block): Or the result with | |
4791 | the result from graphite_trans_loop_block. | |
4792 | * testsuite/gcc.dg/graphite/block-1.c: New. | |
4793 | * testsuite/gfortran.dg/graphite/block-1.f90: New. | |
4794 | * testsuite/gfortran.dg/graphite/block-2.f: New. | |
4795 | ||
4796 | 2008-08-20 Sebastian Pop <sebastian.pop@amd.com> | |
4797 | ||
4798 | * graphite.c (graphite_transform_loops): Call cloog_initialize | |
4799 | and cloog_finalize. | |
4800 | ||
4801 | 2008-08-20 Sebastian Pop <sebastian.pop@amd.com> | |
4802 | ||
4803 | * tree-data-ref.c) (stmt_simple_memref_p): New. | |
4804 | * tree-data-ref.h (stmt_simple_memref_p): Declared. | |
4805 | * graphite.c (stmt_simple_memref_for_scop_p): Removed. | |
4806 | (is_simple_operand): Call stmt_simple_memref_p. | |
4807 | ||
4808 | * testsuite/gcc.dg/graphite/scop-matmult.c: Updated for not | |
4809 | using pointer arithmetic, as this is optimized by PRE and | |
4810 | makes the code too difficult to analyze. | |
4811 | ||
4812 | * testsuite/gcc.dg/graphite/scop-18.c: Same. | |
4813 | ||
4814 | 2008-08-20 Sebastian Pop <sebastian.pop@amd.com> | |
4815 | ||
4816 | * gdbinit.in (pgg): New. | |
4817 | ||
4818 | 2008-08-15 Tobias Grosser <grosser@fim.uni-passau.de> | |
4819 | ||
4820 | * graphite.c (graphite_trans_loop_block): Fix warning. | |
4821 | ||
4822 | 2008-08-15 Tobias Grosser <grosser@fim.uni-passau.de> | |
4823 | ||
4824 | * graphite.c (graphite_trans_loop_block): Fix my merge error. | |
4825 | ||
4826 | 2008-08-15 Tobias Grosser <grosser@fim.uni-passau.de> | |
4827 | ||
4828 | * graphite.c (graphite_trans_bb_block): Remove check for | |
4829 | flag_loop_strip_mine, flag_loop_block, flag_loop_interchange. | |
4830 | Check if loop blocking is profitable for every loop, before applying | |
4831 | the changes. | |
4832 | (graphite_apply_transformations): Call graphite_trans_bb_block only, | |
4833 | if flag_loop_block is set. | |
4834 | ||
4835 | 2008-08-14 Sebastian Pop <sebastian.pop@amd.com> | |
4836 | ||
4837 | * graphite.c: Add some more documentation for the loop | |
4838 | mapping. | |
4839 | ||
4840 | 2008-08-14 Sebastian Pop <sebastian.pop@amd.com> | |
4841 | ||
4842 | * Makefile.in (tree-data-ref.o): Remove dependence on graphite.h. | |
4843 | * graphite.c: Format on less than 80 columns. | |
4844 | * graphite.h: Same. | |
4845 | ||
4846 | 2008-08-14 Sebastian Pop <sebastian.pop@amd.com> | |
4847 | ||
4848 | * cfgloopmanip.c (loopify): Use update_dominators_in_loop. | |
4849 | ||
4850 | 2008-08-14 Sebastian Pop <sebastian.pop@amd.com> | |
4851 | ||
4852 | * doc/invoke.texi (floop-block, floop-strip-mine, | |
4853 | floop-interchange): Update documentation with examples. | |
4854 | ||
4855 | 2008-08-13 Sebastian Pop <sebastian.pop@amd.com> | |
4856 | ||
4857 | * cfgloopmanip.c (create_empty_loop_on_edge): Don't call | |
4858 | add_referenced_var. | |
4859 | * graphite.c (graphite_create_new_loop): Call add_referenced_var. | |
4860 | ||
4861 | 2008-08-13 Sebastian Pop <sebastian.pop@amd.com> | |
4862 | ||
4863 | * cfgloopmanip.c (create_empty_loop_on_edge): Improve documentation. | |
4864 | Factor gcc_asserts into a single one. Use force_gimple_operand_gsi. | |
4865 | * tree-scalar-evolution.c: Revert useless changes. | |
4866 | * tree-phinodes.c: Same. | |
4867 | * cfghooks.c: Same. | |
4868 | * vec.h: Same. | |
4869 | * tree-vectorizer.h: Same. | |
4870 | * tree-flow.h: Same. | |
4871 | * tree-cfg.c: Same. | |
4872 | * common.opt (fgraphite): Update documentation. | |
4873 | ||
4874 | 2008-08-12 Harsha Jagasia <harsha.jagasia@amd.com> | |
4875 | ||
4876 | * doc/invoke.texi (-floop-block, -floop-strip-mine, | |
4877 | -floop-interchange): Add more text for explaining what each of these | |
4878 | flags is doing. | |
4879 | * tree-into-ssa.c (gimple_vec): Moved to... | |
4880 | * graphite.c: Include gimple.h. | |
4881 | (gimple_vec): Moved to... | |
4882 | (del_loop_to_cloog_loop): Removed. | |
4883 | (loop_affine_expr): Do not call create_data_ref when the | |
4884 | operand is a constant. | |
4885 | (new_scop): Use free instead of del_loop_to_cloog_loop. | |
4886 | * Makefile.in (graphite.o): Depend on GIMPLE_H. | |
4887 | * gimple.h (gimple_vec): ... here. | |
4888 | ||
4889 | 2008-08-11 Tobias Grosser <grosser@fim.uni-passau.de> | |
4890 | ||
4891 | * graphite.c (scopdet_bb_info): Only allow loops with known number of | |
4892 | latch executions. | |
4893 | (build_loop_iteration_domains): Fail, if latch executions unknown. | |
4894 | ||
4895 | 2008-08-11 Tobias Grosser <grosser@fim.uni-passau.de> | |
4896 | ||
4897 | * graphite.c (add_conditions_to_domain): New. | |
4898 | (build_scop_conditions_1): Call add_conditions_to_domain. | |
4899 | (set_cloog_options): Allow to disable optimizations. | |
4900 | ||
4901 | 2008-08-11 Tobias Grosser <grosser@fim.uni-passau.de> | |
4902 | ||
4903 | * graphite.c (find_params_in_bb): Look for parameters in conditions. | |
4904 | Do not use walk_dominator_tree. | |
4905 | (find_scop_parameters): Do not use walk_dominator_tree. | |
4906 | ||
4907 | 2008-08-11 Tobias Grosser <grosser@fim.uni-passau.de> | |
4908 | ||
4909 | * graphite.c (scan_tree_for_params) Add / Subtract inequality. | |
4910 | (idx_record_params): Adapt. | |
4911 | * graphite.h (scop_gimple_loop_depth): New. | |
4912 | ||
4913 | 2008-08-11 Tobias Grosser <grosser@fim.uni-passau.de> | |
4914 | ||
4915 | * graphite.c (build_scop_dynamic_schedules): Remove value_init. | |
4916 | (scan_tree_for_params): Remove value_init. | |
4917 | (build_scop_context): Remove value_init. | |
4918 | (build_loop_iteration_domains): Remove value_init. | |
4919 | (schedule_to_scattering): Remove value_init. | |
4920 | (graphite_trans_bb_strip_mine): Remove value_init. | |
4921 | ||
4922 | 2008-08-11 Tobias Grosser <grosser@fim.uni-passau.de> | |
4923 | ||
4924 | * gcc/graphite.c (limit_scops): New. | |
4925 | (graphite_transform_loops): Add limit SCoPs. | |
4926 | * gcc/testsuite/gcc.dg/graphite/scop-0.c: Update number of SCoPs. | |
4927 | * gcc/testsuite/gcc.dg/graphite/scop-1.c: Update number of SCoPs. | |
4928 | * gcc/testsuite/gcc.dg/graphite/scop-10.c: Update number of SCoPs. | |
4929 | * gcc/testsuite/gcc.dg/graphite/scop-11.c: Update number of SCoPs. | |
4930 | * gcc/testsuite/gcc.dg/graphite/scop-12.c: Update number of SCoPs. | |
4931 | * gcc/testsuite/gcc.dg/graphite/scop-13.c: Update number of SCoPs. | |
4932 | * gcc/testsuite/gcc.dg/graphite/scop-14.c: Update number of SCoPs. | |
4933 | * gcc/testsuite/gcc.dg/graphite/scop-15.c: Update number of SCoPs. | |
4934 | * gcc/testsuite/gcc.dg/graphite/scop-16.c: Update number of SCoPs. | |
4935 | Change loop numbers. | |
4936 | * gcc/testsuite/gcc.dg/graphite/scop-17.c: Update number of SCoPs. | |
4937 | Change loop numbers. | |
4938 | * gcc/testsuite/gcc.dg/graphite/scop-18.c: Update number of SCoPs. | |
4939 | * gcc/testsuite/gcc.dg/graphite/scop-2.c: Update number of SCoPs. | |
4940 | * gcc/testsuite/gcc.dg/graphite/scop-3.c: Update number of SCoPs. | |
4941 | * gcc/testsuite/gcc.dg/graphite/scop-4.c: Update number of SCoPs. | |
4942 | * gcc/testsuite/gcc.dg/graphite/scop-5.c: Update number of SCoPs. | |
4943 | * gcc/testsuite/gcc.dg/graphite/scop-6.c: Update number of SCoPs. | |
4944 | * gcc/testsuite/gcc.dg/graphite/scop-7.c: Update number of SCoPs. | |
4945 | * gcc/testsuite/gcc.dg/graphite/scop-8.c: Update number of SCoPs. | |
4946 | * gcc/testsuite/gcc.dg/graphite/scop-9.c: Update number of SCoPs. | |
4947 | * gcc/testsuite/gcc.dg/graphite/scop-matmult.c: Update number of SCoPs. | |
4948 | ||
4949 | 2008-08-11 Tobias Grosser <grosser@fim.uni-passau.de> | |
4950 | ||
4951 | * graphite.c (graphite_transform_loops): Call always find_transform. | |
4952 | ||
4953 | 2008-08-08 Tobias Grosser <grosser@fim.uni-passau.de> | |
4954 | ||
4955 | * graphite.c (free_loops_mapping): New. | |
4956 | (stmt_simple_for_scop_p): Fix typo. | |
4957 | (stmt_simple_for_scop_p): Fix tuples functions, that | |
4958 | broke polyhedron. | |
4959 | (free_graphite_bb): Fix some memleaks. | |
4960 | (free_scop): Fix some memleaks. | |
4961 | (scopdet_bb_info): Do not forget some tmp SCoPs. | |
4962 | (find_params_in_bb): Fix some memleaks. | |
4963 | (clast_to_gcc_expression): Fix warning. | |
4964 | ||
4965 | 2008-08-07 Tobias Grosser <grosser@fim.uni-passau.de> | |
4966 | ||
4967 | * testsuite/gcc.dg/graphite/scop-16.c: Fix for 32bit. | |
4968 | * testsuite/gcc.dg/graphite/scop-17.c: Fix for 32bit. | |
4969 | ||
4970 | 2008-08-04 Sebastian Pop <sebastian.pop@amd.com> | |
4971 | ||
4972 | * tree-ssa-loop.c (tree-ssa-loop.o): Do not include toplev.h. | |
4973 | Move code ifdef-ed HAVE_cloog... | |
4974 | * graphite.c: Include toplev.h. | |
4975 | ... here. | |
4976 | * Makefile.in (OBJS-common): Always build graphite.o. | |
4977 | (BACKEND): Remove @GRAPHITE@. | |
4978 | (tree-ssa-loop.o): Do not depend on TOPLEV_H. | |
4979 | (graphite.o): Depend on TOPLEV_H. | |
4980 | ||
4981 | 2008-08-04 Sebastian Pop <sebastian.pop@amd.com> | |
4982 | ||
4983 | * Makefile.in (tree-ssa-loop.o): Depend on TOPLEV_H. | |
4984 | Remove typo left from polylib to ppl conversion. | |
4985 | * graphite.c (graphite_transforms): Use sorry instead of fatal. | |
4986 | ||
4987 | 2008-08-03 Sebastian Pop <sebastian.pop@amd.com> | |
4988 | ||
4989 | * toplev.c (process_options): Move the graphite loop optimization | |
4990 | flags... | |
4991 | * tree-ssa-loop.c (graphite_transforms): ... here. | |
4992 | When not configured with CLooG, print to dump_file that | |
4993 | Graphite transforms were not performed. | |
4994 | * testsuite/gcc.dg/graphite/graphite.exp (scan-graphite-dump-times): | |
4995 | New. | |
4996 | * testsuite/gcc.dg/graphite/*.c: Updated all testcases to use | |
4997 | scan-graphite-dump-times. | |
4998 | ||
4999 | 2008-08-03 Sebastian Pop <sebastian.pop@amd.com> | |
5000 | ||
5001 | * graphite.c (dot_scop, dot_all_scops): Do not call system. | |
5002 | Do not open /tmp/scop.dot and /tmp/allscops.dot. | |
5003 | ||
5004 | 2008-08-02 Sebastian Pop <sebastian.pop@amd.com> | |
5005 | Jan Sjodin <jan.sjodin@amd.com> | |
5006 | ||
5007 | * configure: Regenerated. | |
5008 | * omp-low.c (expand_omp_sections): Remove now unused code. | |
5009 | * config.in (HAVE_polylib): Removed. | |
5010 | * configure.ac (HAVE_polylib, POLYLIBLIBS, POLYLIBINC): Removed. | |
5011 | (PPLLIBS, PPLINC): Added. | |
5012 | * graphite.c: Replace unsigned with int wherever possible. | |
5013 | Don't access Cloog's data structures, but use accessor functions. | |
5014 | Clast's stmt->type is now implemented as a vtable: change the | |
5015 | switches of stmt->type into ifs. | |
5016 | (polylib/polylibgmp.h): Don't include. | |
5017 | (initialize_dependence_polyhedron, | |
5018 | initialize_data_dependence_polyhedron, is_empty_polyhedron, | |
5019 | statement_precedes_p, test_dependence, build_rdg_all_levels, | |
5020 | dump_dependence_graph): Removed until this code is cleaned up | |
5021 | or ported to Cloog. | |
5022 | * Makefile.in (POLYLIBLIBS): Renamed PPLLIBS. | |
5023 | (POLYLIBINC): Renamed PPLINC. | |
5024 | ||
5025 | 2008-08-01 Harsha Jagasia <harsha.jagasia@amd.com> | |
5026 | Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> | |
5027 | Jan Sjodin <jan.sjodin@amd.com> | |
5028 | ||
5029 | Finish the merge and tuplification of graphite. | |
5030 | ||
5031 | 2008-07-24 Sebastian Pop <sebastian.pop@amd.com> | |
5032 | Jan Sjodin <jan.sjodin@amd.com> | |
5033 | ||
5034 | Partial merge from mainline (138072:138275). | |
5035 | * graphite.c still has to be tuplified. | |
5036 | ||
5037 | 2008-07-29 Jan Sjodin <jan.sjodin@amd.com> | |
5038 | ||
5039 | * graphite.c (graphite_loops_mapping_max_loop_num): New. | |
5040 | (create_num_from_index): New. | |
5041 | (get_num_from_index): Also pass in the graphite BB. | |
5042 | (free_graphite_bb): Free GBB_INDEX_TO_NUM_MAP. | |
5043 | (build_graphite_bb): Initialize GBB_INDEX_TO_NUM_MAP. | |
5044 | (graphite_trans_bb_strip_mine): Call create_num_from_index. | |
5045 | (is_interchange_valid): Return false when failing. | |
5046 | * graphite.h (struct num_map): New. | |
5047 | (struct graphite_bb): New field num_map. | |
5048 | (GBB_LOOPS_MAPPING): Renamed GBB_INDEX_TO_NUM_MAP. | |
5049 | ||
5050 | 2008-07-29 Tobias Grosser <grosser@fim.uni-passau.de> | |
5051 | ||
5052 | * graphite.c (dump_gbb_conditions): Print also conditions like | |
5053 | "if (a)". Remove dublicated code and use print_generic_expr (). | |
5054 | (stmt_simple_for_scop_p): Only allow conditions we can handle | |
5055 | {<, <=, >, >=}. | |
5056 | ||
5057 | 2008-07-25 Jan Sjodin <jan.sjodin@amd.com> | |
5058 | ||
5059 | * graphite.h (struct scop): Removed new_ivs field. | |
5060 | (SCOP_NEWIVS): Deleted. | |
5061 | * graphite.c (new_scop, free_scop, clast_name_to_gcc, | |
5062 | clast_to_gcc_expression, graphite_create_new_loop): | |
5063 | Removed use of new_ivs. | |
5064 | ||
5065 | 2008-07-25 Jan Sjodin <jan.sjodin@amd.com> | |
5066 | ||
5067 | * graphite.c (debug_oldivs, debug_loop_vec, create_loops_mapping, | |
5068 | create_loops_mapping_num, debug_loop_mapping_1): New. | |
5069 | (debug_loop_mapping): Call debug_loop_mapping_1. | |
5070 | (get_loop_mapping_for_num, | |
5071 | graphite_loops_mapping_add_child, | |
5072 | graphite_loops_mapping_add_child_num, | |
5073 | graphite_loops_mapping_insert_child, | |
5074 | graphite_loops_mapping_parent, | |
5075 | split_loop_mapped_depth_for_num, | |
5076 | loop_mapped_depth_split_loop): New. | |
5077 | (increment_loop_mapped_depths): Removed. | |
5078 | (swap_loop_mapped_depth_for_num): Reimplemented. | |
5079 | (new_scop): Call create_loops_mapping. | |
5080 | (scop_record_loop): Call graphite_loops_mapping_insert_child. | |
5081 | (translate_clast): Pass the old loop father in parameter, and pass | |
5082 | it to get_old_iv_from_ssa_name. | |
5083 | (remove_edges_around_useless_blocks, can_generate_code_stmt, | |
5084 | can_generate_code, can_generate_for_scop): New. | |
5085 | (graphite_trans_bb_block): Returns false when it fails to transform. | |
5086 | * graphite.h (graphite_loop_node, graphite_loops_mapping): New. | |
5087 | ||
5088 | 2008-07-25 Sebastian Pop <sebastian.pop@amd.com> | |
5089 | ||
5090 | Reverted all the changes related to the streamization and | |
5091 | loop fusion. | |
5092 | These changes are now tracked in the streamization branch. | |
5093 | ||
5094 | 2008-07-25 Sebastian Pop <sebastian.pop@amd.com> | |
5095 | Jan Sjodin <jan.sjodin@amd.com> | |
5096 | ||
5097 | * graphite.c (gbb_compare): Correctly constify. | |
5098 | (gbb_can_be_ignored): Indent. | |
5099 | (graphite_trans_scop_swap_1and2): Add legality check. | |
5100 | Remove dead FIXMEs. | |
5101 | ||
5102 | 2008-07-25 Sebastian Pop <sebastian.pop@amd.com> | |
5103 | ||
5104 | Remove fallouts from "Reverted the Condate changes". | |
5105 | * tree.h: Remove unused decl. | |
5106 | * testsuite/gcc.dg/tree-checker: Same. | |
5107 | * timevar.def: Remove counter. | |
5108 | ||
5109 | 2008-07-24 Sebastian Pop <sebastian.pop@amd.com> | |
5110 | ||
5111 | * Merge from mainline (135673:138072). | |
5112 | ||
5113 | Reverted the MIRO changes (from 2008-04-05) that are now | |
5114 | tracked in the miro branch. | |
5115 | * tree-bounds.c: Removed. | |
5116 | * tree-bounds.h: Removed. | |
5117 | ||
5118 | Reverted the Condate changes (from 2006-07-04, 2007-03-20) that | |
5119 | are now tracked in the condate branch. | |
5120 | * tree-check.c: Removed. | |
5121 | * tree-match.c: Removed. | |
5122 | * condate.y: Removed. | |
5123 | ||
5124 | 2008-07-24 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> | |
5125 | ||
5126 | * common.opt: New user flag -floop-block, -floop-strip-mine | |
5127 | and -floop-interchange. | |
5128 | * toplev.c (process_options): Enable -fgraphite pass if any one of the | |
5129 | graphite loop optimization flags is turned on. | |
5130 | * graphite.c (graphite_apply_transformations): Add flag_loop_block, | |
5131 | flag_loop_strip_mine and flag_loop_interchange checks before | |
5132 | optimizations. | |
5133 | * doc/invoke.texi: Remove -fgraphite and add -floop-block, | |
5134 | -floop-strip-mine and -floop-interchange. | |
5135 | * testsuite/gcc.dg/graphite/block-0.c: Add -floop-block and remove | |
5136 | -fgraphite. | |
5137 | * testsuite/gcc.dg/graphite/scop-16.c: Ditto. | |
5138 | * testsuite/gcc.dg/graphite/scop-17.c: Ditto. | |
5139 | * testsuite/gcc.dg/graphite/scop-18.c: Ditto. | |
5140 | ||
5141 | 2008-07-23 Jan Sjodin <jan.sjodin@amd.com> | |
5142 | Sebastian Pop <sebastian.pop@amd.com> | |
5143 | ||
5144 | * cfgloopmanip.c (update_dominators_in_loop): Make it static. | |
5145 | (create_empty_loop_on_edge): More fixes. | |
5146 | * tree-phinodes.c (resize_phi_node): Extern. | |
5147 | (unlink_phi_node, move_phi_node): New split from remove_phi_node. | |
5148 | * cfghooks.c (update_dominator_information): New split from | |
5149 | split_edge. | |
5150 | * tree-vectorizer.c (rename_variables_in_bb): Extern. | |
5151 | * tree-dfa.c (collect_dfa_stats): Start walking the CFG on the | |
5152 | successor of the function entry block. | |
5153 | ||
5154 | * graphite.c: Include pointer-set.h. | |
5155 | (debug_loop_mapping, increment_loop_mapped_depths, | |
5156 | get_loop_mapped_depth_for_num, get_loop_mapped_depth, | |
5157 | set_loop_mapped_depth_for_num, set_loop_mapped_depth, | |
5158 | swap_loop_mapped_depth_for_num, get_num_from_index, | |
5159 | swap_loop_mapped_depth, loop_iv_stack_debug, | |
5160 | loop_iv_stack_push, loop_iv_stack_pop, loop_iv_stack_get_iv, | |
5161 | loop_iv_stack_get_iv_from_name, loop_iv_stack_debug, | |
5162 | get_old_iv_from_ssa_name): New. | |
5163 | (new_scop): Initialize SCOP_LOOPS_MAPPING. | |
5164 | (free_scop): Free SCOP_LOOPS_MAPPING. | |
5165 | (scop_record_loop): Record old ivs. | |
5166 | (create_var_name): Removed. | |
5167 | (initialize_cloog_names): Allocate double space in case strip mine | |
5168 | applies to all loops once. | |
5169 | (clast_name_to_gcc): Look up in the map ivstack passed in parameter. | |
5170 | (clast_to_gcc_expression): Same. Implement more clast to gimple | |
5171 | translation. | |
5172 | (graphite_create_new_loop): Pass in ivstack. | |
5173 | (remove_all_edges): Pass in the construction_edge. | |
5174 | (graphite_remove_iv): Removed. | |
5175 | (graphite_rename_ivs, graphite_rename_ivs_stmt, | |
5176 | remove_cond_exprs): Rewritten. | |
5177 | (move_phi_nodes): New. | |
5178 | (disconnect_virtual_phi_nodes, disconnect_cond_expr): Removed. | |
5179 | (translate_clast): Pass in ivstack. Rewrite some cases. | |
5180 | (set_cloog_options, debug_clast_stmt): New. | |
5181 | (find_transform): Use set_cloog_options. | |
5182 | (outermost_loop_layer): Removed. | |
5183 | (get_construction_edge, collect_virtual_phis, find_vdef_for_var_in_bb, | |
5184 | find_vdef_for_var_1, find_vdef_for_var, patch_phis_for_virtual_defs, | |
5185 | mark_old_loops, remove_dead_loops): New. | |
5186 | (gloog): Rewritten. | |
5187 | (graphite_trans_bb_move_loop): Call swap_loop_mapped_depth. | |
5188 | (const_column_index, get_first_matching_sign_row_index, | |
5189 | get_lower_bound_row, get_upper_bound_row, get_lower_bound, | |
5190 | get_upper_bound): New. | |
5191 | (graphite_trans_bb_strip_mine): Also update the iv map. | |
5192 | ||
5193 | * graphite.h (graphite_loops_mapping, GBB_LOOPS_MAPPING): New. | |
5194 | (struct name_tree): Add a loop field. | |
5195 | (struct scop): Add a graphite_loops_mapping field. | |
5196 | (SCOP_LOOPS_MAPPING): New. | |
5197 | (debug_clast_stmt): Declare. | |
5198 | * lambda.h (find_induction_var_from_exit_cond): Declare. | |
5199 | (lambda-code.c): (find_induction_var_from_exit_cond): Extern. | |
5200 | * cfgloop.h (update_dominators_in_loop): Removed declaration. | |
5201 | (create_empty_loop_on_edge): Updated. | |
5202 | * tree-flow.h (remove_bb, resize_phi_node, move_phi_node, | |
5203 | rename_variables_in_bb): Declare. | |
5204 | * tree-cfg.c (remove_bb): Extern. | |
5205 | ||
5206 | * testsuite/gcc.dg/graphite/block-0.c: New. | |
5207 | ||
5208 | 2008-07-21 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> | |
5209 | Sebastian Pop <sebastian.pop@amd.com> | |
5210 | ||
5211 | * graphite.c (strip_mine_profitable_p): New. | |
5212 | (graphite_trans_bb_block): Disable strip mining if not profitable. | |
5213 | ||
5214 | * testsuite/gcc.dg/graphite/scop-18.c: New. | |
5215 | * testsuite/gcc.dg/graphite/scop-17.c: Fixed. | |
5216 | * testsuite/gcc.dg/graphite/scop-16.c: Fixed. | |
5217 | ||
5218 | 2008-07-17 Harsha Jagasia <harsha.jagasia@amd.com> | |
5219 | Jan Sjodin <jan.sjodin@amd.com> | |
5220 | Sebastian Pop <sebastian.pop@amd.com> | |
5221 | ||
5222 | * graphite.c (is_interchange_valid): New. | |
5223 | (graphite_trans_bb_block): Check loop nest of basic block for legality | |
5224 | of interchange. | |
5225 | ||
5226 | * graphite.h (gbb_inner_most_loop_index, outer_most_loop_1, | |
5227 | outer_most_loop, gbb_outer_most_loop_index): New. | |
5228 | ||
5229 | * tree-loop-linear.c (perfect_loop_nest_depth): Remove static. | |
5230 | * tree-flow.h (perfect_loop_nest_depth): Declare as extern. | |
5231 | * testsuite/gcc.dg/graphite/scop-16.c: New. | |
5232 | * testsuite/gcc.dg/graphite/scop-17.c: New. | |
5233 | ||
5234 | 2008-07-11 Tobias Grosser <grosser@fim.uni-passau.de> | |
5235 | ||
5236 | * graphite.c (scop_remove_ignoreable_gbbs): Also update bitmap. | |
5237 | (graphite_trans_scop_block): Ignore SCoPs without bbs. | |
5238 | ||
5239 | 2008-07-11 Tobias Grosser <grosser@fim.uni-passau.de> | |
5240 | ||
5241 | * graphite.c (new_scop): Initialize SCOP_EXIT. | |
5242 | (scopdet_info): Add. | |
5243 | (scopdet_bb_info): Rename from is_bb_addable. Cleanup, bugfixes. | |
5244 | (build_scops_1): Cleanup, bugfixes. | |
5245 | (build_scops): Cleanup. | |
5246 | ||
5247 | * testsuite/gcc.dg/graphite/scop-matmult.c: Remove duplicated code. | |
5248 | * testsuite/gcc.dg/graphite/scop-15.c: Add SCoP numbers. | |
5249 | ||
5250 | 2008-07-10 Harsha Jagasia <harsha.jagasia@amd.com> | |
5251 | ||
5252 | * testsuite/gfortran.dg/graphite/scop-1.f: Update to reduced test case. | |
5253 | ||
5254 | * testsuite/gfortran.dg/graphite/graphite.exp: Use | |
5255 | DEFAULT_GRAPHITE_FLAGS. | |
5256 | ||
5257 | * testsuite/gcc.dg/graphite/scop-15.c: Update to reduced test case. | |
5258 | ||
5259 | 2008-07-10 Harsha Jagasia <harsha.jagasia@amd.com> | |
5260 | ||
5261 | * graphite.c (scan_tree_for_params): Do not assert any more if | |
5262 | MULT_EXPR parameter is negative. | |
5263 | ||
5264 | * testsuite/gfortran.dg/graphite/scop-1.f: New. | |
5265 | ||
5266 | * testsuite/gfortran.dg/graphite/graphite.exp: New. | |
5267 | ||
5268 | * testsuite/gcc.dg/graphite/scop-15.c: New. | |
5269 | ||
5270 | 2008-07-10 Harsha Jagasia <harsha.jagasia@amd.com> | |
5271 | ||
5272 | * graphite.c (is_bb_addable): Fix segfault in spec gzip and reformat. | |
5273 | ||
5274 | 2008-07-10 Tobias Grosser <grosser@fim.uni-passau.de> | |
5275 | ||
5276 | * graphite.c (graphite_trans_bb_swap_loops): Rename from | |
5277 | graphite_swap_loops. | |
5278 | (graphite_trans_bb_move_loop): New. | |
5279 | (graphite_trans_bb_strip_mine): Rename from graphite_strip_mine_loop. | |
5280 | (graphite_trans_bb_block): New. | |
5281 | (graphite_trans_loop_block): New. | |
5282 | (graphite_trans_scop_swap_1and2): Rename from | |
5283 | graphite_trans_swap_1and2. | |
5284 | (graphite_trans_scop_strip): Rename from graphite_trans_strip. | |
5285 | (graphite_trans_scop_block): New. | |
5286 | (graphite_apply_transformations): Rename from | |
5287 | graphite_transformations. | |
5288 | ||
5289 | * testsuite/gcc.dg/graphite/scop-matmult.c: New. | |
5290 | ||
5291 | 2008-07-10 Tobias Grosser <grosser@fim.uni-passau.de> | |
5292 | ||
5293 | * graphite.c (gbb_compare): New. | |
5294 | (graphite_sort_gbbs): New. | |
5295 | (gbb_can_be_ignored): New. | |
5296 | (scop_remove_ignoreable_gbbs): New. | |
5297 | (graphite_transformations): Cleanup and add | |
5298 | scop_remove_ignoreable_gbbs. | |
5299 | * lambda.h (lambda_vector_compare): New. | |
5300 | ||
5301 | 2008-07-09 Tobias Grosser <grosser@fim.uni-passau.de> | |
5302 | ||
5303 | * graphite.c (print_graphite_bb): Correct printing of static schedule. | |
5304 | (graphite_swap_loops): int -> unsigned | |
5305 | (graphite_strip_mine_loop): int -> unsigned, Fix SCHEDULE | |
5306 | (graphite_transformations): New. | |
5307 | (graphite_transform_loops): Move to graphite_transformations. | |
5308 | * graphite.h (gbb_nb_loops): Return unsigned. | |
5309 | ||
5310 | 2008-07-04 Tobias Grosser <grosser@fim.uni-passau.de> | |
5311 | ||
5312 | * graphite.c (scan_tree_for_params): Fix insertion of parameters into | |
5313 | the domain matrix. This makes scop-0.c work again. | |
5314 | ||
5315 | 2008-06-20 Richard Guenther <rguenther@suse.de> | |
5316 | ||
5317 | * graphite.h: Adjust copyright to GPLv3. | |
5318 | * graphite.c: Likewise. | |
5319 | (stmt_simple_memref_for_scop_p): Split out from ... | |
5320 | (stmt_simple_for_scop_p): ... here. Fix handling of calls | |
5321 | and simplify. | |
5322 | (get_bb_type): Optimize. | |
5323 | (is_pred): Remove. | |
5324 | (is_bb_addable): Fix memleak, replace is_pred call with | |
5325 | single_pred. | |
5326 | (build_scops): Use current_loops. | |
5327 | (param_index): Fix memleak. | |
5328 | ||
5329 | 2008-06-20 Konrad Trifunovic <konrad.trifunovic@inria.fr> | |
5330 | ||
5331 | * graphite.c: Fix formatting. | |
5332 | ||
5333 | 2008-06-19 Konrad Trifunovic <konrad.trifunovic@inria.fr> | |
5334 | ||
5335 | * graphite.c (new_scop): Memory allocation for SCOP_{NEWIVS, OLDIVS}. | |
5336 | (free_scop): Memory deallocation for SCOP_NEWIVS, SCOP_OLDIVS. | |
5337 | (create_var_name, save_var_name): Newly defined functions. | |
5338 | (initialize_cloog_names): Part of the code factored out to | |
5339 | save_var_name. | |
5340 | (clast_to_gcc_expression): Now handles the case of clast_red_sum | |
5341 | in clast_reduction statement. | |
5342 | (graphite_create_new_loop): Now takes a new parameter | |
5343 | for outer_loop. | |
5344 | (translate_clast): Now also takes the context_loop and bb_exit | |
5345 | parameters. Rewritten the code so that it creates a gimple code | |
5346 | inside the given context. | |
5347 | (outermost_loop_layer, graphite_remove_iv, graphite_rename_ivs, | |
5348 | remove_cond_expr, disconnect_cond_expr, | |
5349 | disconnect_virtual_phi_nodes): Newly defined functions. | |
5350 | * graphite.h (struct scop): added old_ivs vector. | |
5351 | SCOP_OLDIVS: New macro. | |
5352 | ||
5353 | 2008-06-19 Sebastian Pop <sebastian.pop@amd.com> | |
5354 | ||
5355 | * cfgloopmanip.c: Add missing function comments, fix formatting. | |
5356 | ||
5357 | 2008-06-18 Konrad Trifunovic <konrad.trifunovic@inria.fr> | |
5358 | ||
5359 | * cfgloopmanip.c (update_dominators_in_loop): Defined. | |
5360 | (create_empty_loop_on_edge): Defined. | |
5361 | * tree-parloops.c (canonicalize_loop_ivs): Returns tree | |
5362 | instead of void. | |
5363 | * cfgloop.h (create_empty_loop_on_edge): Declared as extern. | |
5364 | (update_dominators_in_loop): Declared as extern | |
5365 | * tree-flow.h (canonicalize_loop_ivs): Declared as extern. | |
5366 | ||
5367 | 2008-06-16 Tobias Grosser <grosser@fim.uni-passau.de> | |
5368 | ||
5369 | * graphite.c (print_graphite_bb): Allow changing number of loops | |
5370 | in SCoP domain. | |
5371 | (initialize_cloog_names): Allow changing number of loops. | |
5372 | (build_cloog_prog): Simplify. | |
5373 | (find_transform): Enable cloog option --strides. | |
5374 | (graphite_swap_loops): New. | |
5375 | (graphite_strip_mine_loop): New. | |
5376 | (graphite_trans_swap_1and2): New. | |
5377 | (graphite_trans_strip): New. | |
5378 | (graphite_transform_loops): Add graphite_trans_strip. | |
5379 | * graphite.h (scop_max_loop_depth): New. | |
5380 | ||
5381 | 2008-06-15 Tobias Grosser <grosser@fim.uni-passau.de> | |
5382 | ||
5383 | * graphite.c (build_scop_iteration_domain): Remove forgotten | |
5384 | line. (Fixes compile) | |
5385 | ||
5386 | 2008-06-15 Tobias Grosser <grosser@fim.uni-passau.de> | |
5387 | ||
5388 | * graphite.c (print_graphite_bb): Add output of GBB_LOOPS. | |
5389 | (build_graphite_bb): Add GBB_LOOPS and GBB_DOMAIN and reorder. | |
5390 | (build_bb_loops): New. | |
5391 | (graphite_transform_loops): Add build_bb_loops. | |
5392 | (schedule_to_scattering): Use gbb_nb_loops to support changing loop | |
5393 | numbers. | |
5394 | * graphite.h (graphite_bb): Add loops. | |
5395 | (gbb_nb_loops): New. | |
5396 | (gbb_loop_at_index): New. | |
5397 | (gbb_loop_index): New. | |
5398 | (nb_params_in_scop): Renamed to scop_nb_params. Updated all functions | |
5399 | using nb_params_in_scop. | |
5400 | ||
5401 | 2008-06-14 Tobias Grosser <grosser@fim.uni-passau.de> | |
5402 | ||
5403 | * graphite.c (print_graphite_bb): Adapt to minimized schedule. | |
5404 | (build_scop_canonical_schedules): Build minimized schedule. | |
5405 | (schedule_to_scattering): Adapt to minimized schedule. | |
5406 | * graphite.h (graphite_bb): Add/Update descriptions. | |
5407 | ||
5408 | 2008-06-14 Adrien Eliche <aeliche@isty.uvsq.fr> | |
5409 | Tobias Grosser <grosser@fim.uni-passau.de> | |
5410 | ||
5411 | * graphite.c (print_graphite_bb): Add condition printing. | |
5412 | (dump_value): New. | |
5413 | (dump_gbb_conditions): New. | |
5414 | (build_scop_conditions_1): New. | |
5415 | (build_scop_conditions): New. | |
5416 | * graphite.h (graphite_bb): Add conditions. | |
5417 | ||
5418 | 2008-06-14 Tobias Grosser <grosser@fim.uni-passau.de> | |
5419 | ||
5420 | * graphite.c (print_graphite_bb): | |
5421 | (free_graphite_bb): New. | |
5422 | (free_scop): Free bbs. | |
5423 | (get_bb_type): Free doms. | |
5424 | (build_scop_context): Free context matrix. | |
5425 | (build_loop_iteration_domains): Remove unused code. | |
5426 | (build_cloog_prog): Free scattering function and blocklist. | |
5427 | (find_transform): Free options. | |
5428 | ||
5429 | 2008-06-13 Tobias Grosser <grosser@fim.uni-passau.de> | |
5430 | ||
5431 | * graphite.c (loop_body_to_cloog_stmts): Rename to add_bb_domains. | |
5432 | Remove unnecessery cloog data structures. Make a copy of the domain | |
5433 | (setup_cloog_loop): Rename to build_loop_iteration_domains. Remove | |
5434 | unnecessary cloog data structures. Fix memory leaks. Remove insert | |
5435 | into SCOP_LOOP2CLOOG_LOOP as the inserted CloogLoops will never be | |
5436 | used. | |
5437 | (build_scop_iteration_domain): Remove unnecessary cloog | |
5438 | data structures. Fix memory leaks. | |
5439 | (graphite_transform_loops): Disable build_scop_dynamic_schedules as it | |
5440 | uses SCOP_LOOP2CLOOG_LOOP, that is at the moment not working. | |
5441 | ||
5442 | 2008-06-12 Tobias Grosser <grosser@fim.uni-passau.de> | |
5443 | ||
5444 | * graphite.c (find_scop_params): Remove initialize_cloog_names. | |
5445 | ||
5446 | 2008-06-12 Tobias Grosser <grosser@fim.uni-passau.de> | |
5447 | ||
5448 | * graphite.c (end_scop): Style fix. | |
5449 | (schedule_to_scattering): Style and comment fix. | |
5450 | ||
5451 | 2008-06-12 Tobias Grosser <grosser@fim.uni-passau.de> | |
5452 | * graphite.c (print_graphite_bb): Fix definiton of | |
5453 | schedule_to_scattering. | |
5454 | (initialize_cloog_names): Change nb_scattdims to max loop | |
5455 | depth in SCoP. | |
5456 | (schedule_to_scattering): Take parameter for number of scattering | |
5457 | dimensions. | |
5458 | (build_cloog_prog): Only build as much scattering dimensions as | |
5459 | necessary. | |
5460 | ||
5461 | 2008-06-12 Tobias Grosser <grosser@fim.uni-passau.de> | |
5462 | ||
5463 | * graphite.c (end_scop): Disable bb splitting. Fixes SIGSEGV | |
5464 | in polyhedron/aermod.f90. | |
5465 | ||
5466 | 2008-06-11 Tobias Grosser <grosser@fim.uni-passau.de> | |
5467 | Dwarak Rajagopal <dwarak.rajagopal@amd.com> | |
5468 | Harsha Jagasia <harsha.jagasia@amd.com> | |
5469 | ||
5470 | * graphite.c (is_bb_addable): Fix segfault. | |
5471 | ||
5472 | 2008-06-10 Tobias Grosser <grosser@fim.uni-passau.de> | |
5473 | ||
5474 | * graphite.c (is_bb_addable): Fix memory leak, handling of loops | |
5475 | with multiple exits and conditional handling in edge cases. | |
5476 | (is_loop_exit): Fix memory leak. (Forgotten in last commit) | |
5477 | ||
5478 | * testsuite/gcc.dg/graphite/scop-14.c: New. | |
5479 | ||
5480 | 2008-06-06 Tobias Grosser <grosser@fim.uni-passau.de> | |
5481 | Adrien Eliche <aeliche@isty.uvsq.fr> | |
5482 | ||
5483 | * graphite.c (is_bb_addable): Add more comments and enhance | |
5484 | readablity of the source code. Fix memory leak. | |
5485 | (is_loop_exit): Fix memory leak. | |
5486 | ||
5487 | 2008-06-05 Tobias Grosser <grosser@fim.uni-passau.de> | |
5488 | ||
5489 | * graphite.c (first_loop_in_scop): Deleted. | |
5490 | (setup_cloog_loop): Only walk the loop chain for inner loops. | |
5491 | (build_scop_iteration_domain): Execute setup_cloog_loop for | |
5492 | all loops in the first layer. | |
5493 | ||
5494 | 2008-06-05 Tobias Grosser <grosser@fim.uni-passau.de> | |
5495 | ||
5496 | * graphite.c (scan_tree_for_params): Change the way params are | |
5497 | added to be indepenent of the number of loops. | |
5498 | (setup_cloog_loop): Revert to short matrix format. Fix parameter | |
5499 | handling. | |
5500 | (build_cloog_prog): Revert to short matrix format. | |
5501 | ||
5502 | 2008-06-05 Sebastian Pop <sebastian.pop@amd.com> | |
5503 | Dwarak Rajagopal <dwarak.rajagopal@amd.com> | |
5504 | ||
5505 | * tree-loop-fusion.c (fuse_loops): Fix uninitialized variable | |
5506 | warning. | |
5507 | ||
5508 | 2008-06-05 Sebastian Pop <sebastian.pop@amd.com> | |
5509 | ||
5510 | * graphite.c (nb_data_refs_in_scop): New. | |
5511 | (graphite_transform_loops): Print more stats: number of | |
5512 | loops, basic blocks and data references per scop. | |
5513 | ||
5514 | 2008-06-04 Sebastian Pop <sebastian.pop@amd.com> | |
5515 | Jan Sjodin <jan.sjodin@amd.com> | |
5516 | ||
5517 | * graphite.c (loop_affine_expr, idx_record_params, | |
5518 | find_scop_parameters, setup_cloog_loop): Use instantiate_scev | |
5519 | instead of instantiate_parameters. | |
5520 | ||
5521 | 2008-06-04 Tobias Grosser <grosser@fim.uni-passau.de> | |
5522 | ||
5523 | * graphite.c (schedule_to_scattering): Fix scattering dimensions, | |
5524 | add support for parameters, add STATIC_SCHEDULE at the right places, | |
5525 | cleanup. | |
5526 | ||
5527 | 2008-06-04 Tobias Grosser <grosser@fim.uni-passau.de> | |
5528 | ||
5529 | * graphite.c (build_scop_loop_nests): Only add the loops, that | |
5530 | are contained completely in the SCoP. | |
5531 | (build_cloog_prog): Disable scattering, until schedule_to_scattering | |
5532 | and the domains are fixed. | |
5533 | (build_scop_canonical_schedules): Add support for bbs not contained | |
5534 | in any SCoP. | |
5535 | ||
5536 | 2008-06-04 Tobias Grosser <grosser@fim.uni-passau.de> | |
5537 | ||
5538 | * graphite.h (scop_contains_loop): Update comments to match | |
5539 | the actual behavior. | |
5540 | (scop_contains_loop): New. | |
5541 | * graphite.c (schedule_to_scattering): Use scop_contains_loop. | |
5542 | ||
5543 | 2008-06-04 Sebastian Pop <sebastian.pop@amd.com> | |
5544 | ||
5545 | * graphite.c (get_bb_type): On function body, i.e. loop_0, | |
5546 | don't mark blocks as GBB_LOOP_SING_EXIT_HEADER, mark them | |
5547 | as GBB_COND_HEADER. | |
5548 | ||
5549 | 2008-06-04 Sebastian Pop <sebastian.pop@amd.com> | |
5550 | Tobias Grosser <grosser@fim.uni-passau.de> | |
5551 | ||
5552 | * graphite.c (graphite_transform_loops): Early return when | |
5553 | there are no loops in the function. | |
5554 | ||
5555 | 2008-05-31 Sebastian Pop <sebastian.pop@amd.com> | |
5556 | Jan Sjodin <jan.sjodin@amd.com> | |
5557 | ||
5558 | * graphite.c (scan_tree_for_params, setup_cloog_loop): Compute the | |
5559 | offset of the last loop. | |
5560 | (setup_cloog_loop): Copy the entire outer constraint matrix. | |
5561 | ||
5562 | 2008-05-31 Sebastian Pop <sebastian.pop@amd.com> | |
5563 | Jan Sjodin <jan.sjodin@amd.com> | |
5564 | ||
5565 | * graphite.c (stmt_in_scop_p, function_parameter_p, | |
5566 | invariant_in_scop_p): Removed. | |
5567 | (scan_tree_for_params): Can be used with no constraint | |
5568 | matrix for gathering parameters. | |
5569 | (idx_record_params): Don't use idx_record_param, instead use | |
5570 | scan_tree_for_params. | |
5571 | (find_scop_parameters): Same. | |
5572 | (setup_cloog_loop, build_scop_iteration_domain, build_cloog_prog): | |
5573 | Fix the size of loop domains. | |
5574 | (schedule_to_scattering): Exit when the outer loop is not in scop. | |
5575 | (find_transform): Enable build_cloog_prog. | |
5576 | ||
5577 | 2008-05-31 Sebastian Pop <sebastian.pop@amd.com> | |
5578 | Jan Sjodin <jan.sjodin@amd.com> | |
5579 | ||
5580 | * graphite.c (schedule_to_scattering): Make scattering domains | |
5581 | uniformly of the same size, as required by CLooG 0.14.0 and before. | |
5582 | ||
5583 | 2008-05-31 Sebastian Pop <sebastian.pop@amd.com> | |
5584 | Jan Sjodin <jan.sjodin@amd.com> | |
5585 | ||
5586 | * graphite.c (schedule_to_scattering): Rewrite, correct the | |
5587 | translation of the scheduling function to scattering. | |
5588 | (build_cloog_prog): Call schedule_to_scattering only once. | |
5589 | * graphite.h (scop_loop_index): Do not fail for loops not | |
5590 | in the scop: return -1. | |
5591 | ||
5592 | 2008-05-30 Tobias Grosser <grosser@fim.uni-passau.de> | |
5593 | ||
5594 | * graphite.c (build_graphite_bb): Initialize GBB_DOMAIN. | |
5595 | (loop_body_to_cloog_stmts): Export GBB_DOMAIN. | |
5596 | (setup_cloog_loop): Export GBB_DOMAIN. | |
5597 | (build_cloog_prog): New. Create new CLOOG_PROG, which should be | |
5598 | able to rebuild the original control flow. | |
5599 | * graphite.h (graphite_bb): Add domain field and access macro. | |
5600 | (GBB_DOMAIN): New. | |
5601 | ||
5602 | 2008-05-30 Sebastian Pop <sebastian.pop@amd.com> | |
5603 | ||
5604 | * graphite.c (debug_gbb): New. | |
5605 | (print_scop, build_graphite_bb): Use SCOP_BBS. | |
5606 | (build_scop_bbs): Reimplemented. | |
5607 | (dfs_bb_in_scop_p): Removed. | |
5608 | (build_scop_loop_nests): Reorder loops inserted in | |
5609 | SCOP_LOOP_NEST: outer loops should come first. | |
5610 | (build_scop_canonical_schedules): Reinitialize at zero | |
5611 | the components of the SCOP_STATIC_SCHEDULE for the loops | |
5612 | that have already been parsed. | |
5613 | ||
5614 | * graphite.h (debug_gbb): Declared. | |
5615 | ||
5616 | 2008-05-30 Sebastian Pop <sebastian.pop@amd.com> | |
5617 | Jan Sjodin <jan.sjodin@amd.com> | |
5618 | ||
5619 | * graphite.c (create_empty_loop): Renamed graphite_create_new_loop. | |
5620 | (graphite_loop_to_gcc_loop): Removed. | |
5621 | (remove_all_edges): New. | |
5622 | (graphite_stmt_to_gcc_stmt): Renamed translate_clast. | |
5623 | (gloog): Remove useless code. | |
5624 | ||
5625 | 2008-05-29 Tobias Grosser <grosser@fim.uni-passau.de> | |
5626 | ||
5627 | * graphite.c (get_bb_type): Reworked. We distinguish between | |
5628 | loops with one or multiple exits. | |
5629 | (is_loop_exit): New. | |
5630 | (is_pred): New. | |
5631 | (is_bb_addable): Rework condition handling, now support for case | |
5632 | case statements and loops with multiple exits. | |
5633 | ||
5634 | * testsuite/gcc.dg/graphite/scop-11.c: New. | |
5635 | * testsuite/gcc.dg/graphite/scop-12.c: New. | |
5636 | * testsuite/gcc.dg/graphite/scop-13.c: New. | |
5637 | ||
5638 | 2008-05-29 Tobias Grosser <grosser@fim.uni-passau.de> | |
5639 | ||
5640 | * graphite.c (dot_all_scops_1): Fix some colors. Reuse colors, if | |
5641 | we have too many colors. | |
5642 | ||
5643 | 2008-05-22 Sandeep Maram <smaram_b04@iiita.ac.in> | |
5644 | ||
5645 | * doc/invoke.texi (-ftree-loop-fusion): Document. | |
5646 | * tree-pass.h (pass_loop_fusion): Declared. | |
5647 | * tree-loop-fusion.c: New. | |
5648 | * timevar.def (TV_TREE_LOOP_FUSION): Declared. | |
5649 | * tree-data-ref.c (find_data_references_in_loop): Make extern. | |
5650 | * tree-data-ref.h (find_data_references_in_loop): Declared. | |
5651 | * common.opt (ftree-loop-fusion): Declared. | |
5652 | * Makefile.in (tree-loop-fusion.o): Added rule and to OBJS-common. | |
5653 | ||
5654 | 2008-05-21 Sebastian Pop <sebastian.pop@amd.com> | |
5655 | ||
5656 | * graphite.c (build_access_matrix): Fix typo from the merge. | |
5657 | ||
5658 | 2008-05-20 Sebastian Pop <sebastian.pop@amd.com> | |
5659 | ||
5660 | * Merge from mainline (130800:135673). | |
5661 | ||
5662 | 2008-05-07 Sebastian Pop <sebastian.pop@amd.com> | |
5663 | ||
5664 | * graphite.c (end_scop): The exit of the scop is not part of the scop. | |
5665 | Update dominators after splitting. | |
5666 | ||
5667 | 2008-05-07 Sebastian Pop <sebastian.pop@amd.com> | |
5668 | ||
5669 | * graphite.c (is_bb_addable): Return the harmful statement. | |
5670 | Factor up some code. | |
5671 | (end_scop): New. Splits end of scope bbs on a harmful statement. | |
5672 | (build_scops_1): Call end_scop. | |
5673 | ||
5674 | 2008-05-07 Sebastian Pop <sebastian.pop@amd.com> | |
5675 | ||
5676 | * graphite.c: (succs_at_same_depth, end_scop, all_preds_visited_p, | |
5677 | all_succs_visited_p, start_new_scop_for_each_succ, start_new_scop, | |
5678 | add_dominators_to_open_scops, stop_last_open_scop, scop_end_loop, | |
5679 | build_scops_1): Removed. | |
5680 | (build_scops_2): Renamed build_scops_1. | |
5681 | ||
5682 | 2008-05-06 Sebastian Pop <sebastian.pop@amd.com> | |
5683 | ||
5684 | * graphite.c: Fix formatting. | |
5685 | ||
5686 | 2008-05-06 Tobias Grosser <grosser@fim.uni-passau.de> | |
5687 | ||
5688 | * graphite.c (get_bb_type): New. | |
5689 | (move_scops): New. | |
5690 | (build_scops_2): New. | |
5691 | (is_bb_addable): New. | |
5692 | (build_scops): Switch the scop detection. | |
5693 | (build_scop_bbs): Add entry bb to scop. | |
5694 | * graphite.h (struct scop): Update comment. | |
5695 | ||
5696 | 2008-05-06 Tobias Grosser <grosser@fim.uni-passau.de> | |
5697 | ||
5698 | * graphite.c (dot_all_scops_1): Fix some incorrect colors and add | |
5699 | more colors. | |
5700 | ||
5701 | 2008-05-06 Tobias Grosser <grosser@fim.uni-passau.de> | |
5702 | ||
5703 | * testsuite/gcc.dg/graphite/scop-1.c: Update. | |
5704 | * testsuite/gcc.dg/graphite/scop-2.c: Update. | |
5705 | * testsuite/gcc.dg/graphite/scop-4.c: Update. | |
5706 | * testsuite/gcc.dg/graphite/scop-5.c: Add. | |
5707 | * testsuite/gcc.dg/graphite/scop-6.c: Add. | |
5708 | ||
5709 | 2008-05-06 Sebastian Pop <sebastian.pop@amd.com> | |
5710 | ||
5711 | * testsuite/gcc.dg/graphite/scop-0.c: Add. | |
5712 | * testsuite/gcc.dg/graphite/scop-7.c: Add. | |
5713 | * testsuite/gcc.dg/graphite/scop-8.c: Add. | |
5714 | * testsuite/gcc.dg/graphite/scop-9.c: Add. | |
5715 | * testsuite/gcc.dg/graphite/scop-10.c: Add. | |
5716 | ||
5717 | 2008-05-06 Tobias Grosser <grosser@fim.uni-passau.de> | |
5718 | ||
5719 | * graphite.c (scop_affine_expr): Renamed to loop_affine_expr. | |
5720 | Check affine expressions depending on the outermost loop | |
5721 | instead of a scop. | |
5722 | (stmt_simple_for_scop_p): Same. | |
5723 | (harmfule_stmt_in_scop): Same. | |
5724 | ||
5725 | 2008-04-28 Tobias Grosser <grosser@fim.uni-passau.de> | |
5726 | ||
5727 | * graphite.c (dot_all_scops): Remove incorrect difficult bb coloring, | |
5728 | mark entry and exit, that are not part of the SCoP and update HTML | |
5729 | formatting. | |
5730 | ||
5731 | 2008-04-25 Sebastian Pop <sebastian.pop@amd.com> | |
5732 | ||
5733 | * graphite.c (basic_block_simple_for_scop_p): Renamed | |
5734 | harmful_stmt_in_bb. | |
5735 | (save_scop, preds_at_same_depth, test_for_scop_bound): Removed. | |
5736 | (add_dominators_to_open_scops, build_scops_1): Reimplemented. | |
5737 | (all_preds_visited_p, all_succs_visited_p, | |
5738 | start_new_scop_for_each_succ, start_new_scop, stop_last_open_scop, | |
5739 | scop_end_loop): New. | |
5740 | (build_scops): Do not use dfs_enumerate_from. | |
5741 | ||
5742 | * testsuite/gcc.dg/graphite/scop-{1,2,4}.c: Updated. | |
5743 | ||
5744 | 2008-04-23 Sebastian Pop <sebastian.pop@amd.com> | |
5745 | ||
5746 | * graphite.c: Add comments to functions that are missing a | |
5747 | description. | |
5748 | (graphite_create_iv): Removed. Merged in graphite_loop_to_gcc_loop. | |
5749 | ||
5750 | 2008-04-23 Sebastian Pop <sebastian.pop@amd.com> | |
5751 | ||
5752 | * graphite.c (nb_params_in_scop): Moved... | |
5753 | (graphite_bb_from_bb, loop_body_to_cloog_stmts): New. | |
5754 | (setup_cloog_loop): Call loop_body_to_cloog_stmts. | |
5755 | (clast_to_gcc_expression): Reduce column size to less than 80. | |
5756 | (graphite_create_iv): Return the new name of the IV. | |
5757 | (find_transform): Set options->esp and options->cpp. | |
5758 | (gloog): Comment out the invalidation of the old loop code. | |
5759 | (initialize_dependence_polyhedron): Replace scop_nb_params with | |
5760 | nb_params_in_scop. | |
5761 | ||
5762 | * graphite.h (nb_params_in_scop): ... here. | |
5763 | (scop_nb_params): Removed. | |
5764 | (loop_domain_dim): Return something even when the loop was not | |
5765 | found in the hash table: avoid ICEing on all the graphite.exp | |
5766 | testcases. | |
5767 | ||
5768 | 2008-04-14 Konrad Trifunovic <konrad.trifunovic@inria.fr> | |
5769 | ||
5770 | * tree-chrec.c (for_each_scev_op): SCEV can have 3 operands. | |
5771 | ||
5772 | * graphite.c (build_scop_dynamic_schedules): Schedule is built | |
5773 | according to nesting level. | |
5774 | (find_scop_parameters): Call instantiate_parameters. | |
5775 | (scan_tree_for_params): Extend it to handle general affine bounds. | |
5776 | Inner loop bound can depend on outer loop induction variable. | |
5777 | (setup_cloog_loop): tmp variable is allocated on stack. Call | |
5778 | instantiate_parameters with respect to outermost_loop_in_scop. | |
5779 | (loop_domain_dim, ref_nb_loops, loop_iteration_vector_dim): moved to | |
5780 | graphite.h. | |
5781 | (create_empty_loop): Function loopify should be given edge | |
5782 | probability, instead of edge frequency. Dominance relation from | |
5783 | switch_bb to loop_header. | |
5784 | (clast_to_gcc_expression): Added handling of clast_reduction node. | |
5785 | (gloog): New functionality for removing old loop. | |
5786 | (test_dependence): Factored out from build_rdg_all_levels. | |
5787 | (build_rdg_all_levels): Dependence testing factored out to | |
5788 | test_dependence function. | |
5789 | ||
5790 | * graphite.h (struct graphite_bb): Extended with dynamic_schedule. | |
5791 | (loop_domain_dim, ref_nb_loops, loop_iteration_vector_dim): Moved | |
5792 | from graphite.c | |
5793 | ||
5794 | 2008-04-07 Sebastian Pop <sebastian.pop@amd.com> | |
5795 | ||
5796 | * graphite.c (free_scop, param_index, initialize_cloog_names, | |
5797 | nb_params_in_scop): Use name_tree map instead of just a tree | |
5798 | for keeping track of the variable name associated to that tree. | |
5799 | (create_empty_loop, gmp_cst_to_tree, clast_name_to_gcc, | |
5800 | clast_to_gcc_expression, graphite_create_iv, | |
5801 | graphite_loop_to_gcc_loop, graphite_cond_to_gcc_cond, | |
5802 | graphite_stmt_to_gcc_stmt): New. | |
5803 | (gloog): Call these. | |
5804 | * graphite.h (struct name_tree): New. | |
5805 | (struct scop): Use name_tree instead of tree for params. | |
5806 | Store a vector of name_tree for new_ivs. | |
5807 | (SCOP_NEWIVS): New. | |
5808 | (scop_nb_params): Use name_tree instead of tree. | |
5809 | ||
5810 | 2008-04-05 Alexander Lamaison <awl03@doc.ic.ac.uk> | |
5811 | Sebastian Pop <sebastian.pop@amd.com> | |
5812 | ||
5813 | * tree-bounds.c: New. | |
5814 | * tree-bounds.h: New. | |
5815 | * tree-pass.h: Declare pass_bounds_early and pass_bounds_late. | |
5816 | * passes.c: Schedule pass_bounds_early, pass_bounds_late. | |
5817 | * builtins.c (expand_builtin_alloca): Add flag_bounds as for | |
5818 | flag_mudflap. | |
5819 | * gcc.c: Same. | |
5820 | * toplev.c: Same. | |
5821 | * c-cppbuiltin.c: Same. | |
5822 | * c-pragma.c: Same. | |
5823 | * common.opt: Same. | |
5824 | * varasm.c: Same. | |
5825 | * tree-outof-ssa.c: Same. | |
5826 | * c-common.c: Same. | |
5827 | * Makefile.in: Same. | |
5828 | ||
5829 | 2008-03-15 Antoniu Pop <antoniu.pop@gmail.com> | |
5830 | Sebastian Pop <sebastian.pop@amd.com> | |
5831 | ||
5832 | * tree-loop-distribution.c (remaining_stmts, | |
5833 | upstream_mem_writes): Removed static variables. | |
5834 | (copy_loop_before, create_bb_after_loop, | |
5835 | mark_nodes_having_upstream_mem_writes, free_rdg_components, | |
5836 | rdg_build_components, rdg_build_partitions, | |
5837 | dump_rdg_partitions): Extern. | |
5838 | (generate_loops_for_partition, generate_code_for_partition): Do not | |
5839 | return a bool. | |
5840 | (already_processed_vertex_p, predecessor_has_mem_write, | |
5841 | mark_nodes_having_upstream_mem_writes, has_upstream_mem_writes, | |
5842 | rdg_flag_all_uses, rdg_flag_uses, rdg_flag_vertex_and_dependent, | |
5843 | rdg_flag_loop_exits, rdg_flag_similar_memory_accesses, | |
5844 | build_rdg_partition_for_component, rdg_build_partitions, ldist_gen): | |
5845 | Pass remaining_stmts and upstream_mem_writes as parameters. | |
5846 | (rdg_component): Moved... | |
5847 | (build_rdg_partition_for_component): Do not aggregate components when | |
5848 | flag_streamize_loops is set. | |
5849 | (gen_sequential_loops): New. | |
5850 | (ldist_gen): Call gen_sequential_loops. | |
5851 | ||
5852 | * tree-pass.h (pass_loop_streamization): Declared. | |
5853 | ||
5854 | * omp-low.c (expand_omp_sections): Call add_bb_to_loop on created | |
5855 | basic blocks when loops structures exist. | |
5856 | ||
5857 | * builtin-types.def (BT_FN_VOID_PTR_PTR_INT): New. | |
5858 | ||
5859 | * tree-ssa-loop-ivopts.c (expr_invariant_in_region_p): New. | |
5860 | ||
5861 | * tree-parloops.c (take_address_of, eliminate_local_variables_1, | |
5862 | eliminate_local_variables_stmt, eliminate_local_variables, | |
5863 | separate_decls_in_loop_name, separate_decls_in_loop_stmt, | |
5864 | separate_decls_in_loop, gen_parallel_loop): Make them work on a region | |
5865 | of code delimited by two edges in the CFG. | |
5866 | (separate_decls_in_loop_name): Renamed separate_decls_in_region_name. | |
5867 | (separate_decls_in_loop_stmt): Renamed separate_decls_in_region_stmt. | |
5868 | (separate_decls_in_loop): Renamed separate_decls_in_region. Isolate | |
5869 | the case of parallelisation of reductions. | |
5870 | (create_loop_fn): Extern. | |
5871 | (create_omp_parallel_region): New. | |
5872 | ||
5873 | * tree-data-ref.c (dump_data_dependence_relation): Don't call | |
5874 | dump_data_reference for printing dra and drb. | |
5875 | (create_rdg_edge_for_ddr, create_rdg_edges_for_scalar): Initialise | |
5876 | RDGE_RELATION. | |
5877 | (build_rdg): Don't call free_dependence_relations for the moment, as | |
5878 | we attach dependence relations on each edge of the RDG. | |
5879 | To be fixed later. | |
5880 | ||
5881 | * tree-data-ref.h (rdg_component): ...here. | |
5882 | (struct rdg_edge): New field ddr_p relation. | |
5883 | (RDGE_RELATION): New. | |
5884 | (create_bb_after_loop, copy_loop_before, | |
5885 | mark_nodes_having_upstream_mem_writes, rdg_build_components, | |
5886 | rdg_build_partitions, dump_rdg_partitions, | |
5887 | free_rdg_components): Declared. | |
5888 | ||
5889 | * omp-builtins.def (BUILT_IN_GOMP_STREAM_ALIGN_PUSH, | |
5890 | BUILT_IN_GOMP_STREAM_ALIGN_POP): New. | |
5891 | ||
5892 | * tree-loop-streamization.c: New. | |
5893 | ||
5894 | * tree-flow.h (gather_blocks_in_sese_region, create_loop_fn, | |
5895 | create_omp_parallel_region, expr_invariant_in_region_p): Declared. | |
5896 | ||
5897 | * Makefile.in (tree-loop-streamization.o): Added to OBJS-common. | |
5898 | ||
5899 | * tree-cfg.c (gather_blocks_in_sese_region): Extern. | |
5900 | ||
5901 | * passes.c: Schedule pass_loop_streamization. | |
5902 | ||
5903 | 2008-03-08 Tobias Grosser <grosser@fmi.uni-passau.de> | |
5904 | ||
5905 | * graphite.c (dot_all_scops_1): Fix formatting for difficult bbs and | |
5906 | update comment. | |
5907 | ||
5908 | 2008-03-07 Tobias Grosser <grosser@fim.uni-passau.de> | |
5909 | ||
5910 | * graphite.c (dot_all_scops): Update formatting. | |
5911 | Bbs can now be part of more than one SCoP. | |
5912 | ||
5913 | 2008-03-04 Sebastian Pop <sebastian.pop@amd.com> | |
5914 | ||
5915 | * graphite.c (new_loop_to_cloog_loop_str, setup_cloog_loop): Fix | |
5916 | malloc problems. | |
5917 | (loop_domain_dim): Check for unregistered toplev SCOP loop. | |
5918 | * graphite.h (loop_to_cloog_loop): New. | |
5919 | ||
5920 | 2008-03-04 Konrad Trifunovic <konrad.trifunovic@inria.fr> | |
5921 | ||
5922 | * graphite.c (loop_domain_dim, ref_nb_loops, | |
5923 | loop_iteration_vector_dim): New. | |
5924 | (build_access_matrix_with_af, build_access_matrix, | |
5925 | initialize_dependence_polyhedron): Fixed for new matrix layout. | |
5926 | No longer assume that all iteration domains are of the same | |
5927 | dimensionality. | |
5928 | ||
5929 | 2008-03-02 Sebastian Pop <sebastian.pop@amd.com> | |
5930 | ||
5931 | * tree-scalar-evolution.c (instantiate_parameters_1): An SSA_NAME | |
5932 | defined in a loop at depth 0 is invariant. | |
5933 | * tree-chrec.c (evolution_function_is_invariant_rec_p): Ditto. | |
5934 | * tree-ssa-loop-ivopts.c (expr_invariant_in_loop_p): Should never | |
5935 | be called at loop depth 0. | |
5936 | ||
5937 | * graphite.c (basic_block_simple_for_scop_p): Take the scop as | |
5938 | a parameter. | |
5939 | (dot_all_scops_1): Update use of basic_block_simple_for_scop_p. | |
5940 | (down_open_scop): Removed. | |
5941 | (loop_in_scop_p): Redefined. | |
5942 | (scop_affine_expr): New argument: scop. | |
5943 | (stmt_simple_for_scop_p): New argument: scop. RETURN_EXPR is not | |
5944 | a harmful statement ending a scop. | |
5945 | (basic_block_simple_for_scop_p): New argument: scop. | |
5946 | (get_loop_start): Removed. | |
5947 | (new_scop): Initialize SCOP_LOOPS. | |
5948 | (free_scop): Free SCOP_LOOPS. | |
5949 | (succs_at_same_depth, preds_at_same_depth): New. | |
5950 | (end_scop): Test the validity of a scop. | |
5951 | (add_dominators_to_open_scops): New. | |
5952 | (test_for_scop_bound): Call add_dominators_to_open_scops. | |
5953 | Add cases for opening and closing multiple scops. | |
5954 | (build_scops, build_scop_bbs): Iterate over basic blocks in | |
5955 | depth first order. | |
5956 | (build_graphite_bb): Pass scop directly. | |
5957 | (dfs_bb_in_scop_p): New. | |
5958 | (scop_record_loop): Use SCOP_LOOPS for not recording the same loop | |
5959 | several times. | |
5960 | (nb_loops_around_gb): Use loop_in_scop_p. | |
5961 | (schedule_to_scattering): Disabled for the moment the code computing | |
5962 | the "textual order for outer loop". | |
5963 | ||
5964 | * graphite.h (struct scop): New field loops. | |
5965 | (SCOP_LOOPS): New. | |
5966 | (scop_loop_index): Test that the given loop belongs to SCOP_LOOPS. | |
5967 | ||
5968 | * testsuite/gcc.dg/graphite/scop-{1,...,7}.c: Updated. | |
5969 | ||
5970 | 2008-02-27 Antoniu Pop <antoniu.pop@gmail.com> | |
5971 | Sebastian Pop <sebastian.pop@amd.com> | |
5972 | ||
5973 | * builtin-types.def (BT_FN_PTR_SIZE_UINT, BT_FN_BOOL_PTR): New. | |
5974 | * common.opt (fstreamize-loops): New. | |
5975 | * omp-builtins.def (BUILT_IN_GOMP_STREAM_CREATE, | |
5976 | BUILT_IN_GOMP_STREAM_PUSH, BUILT_IN_GOMP_STREAM_HEAD, | |
5977 | BUILT_IN_GOMP_STREAM_POP, BUILT_IN_GOMP_STREAM_EOS_P, | |
5978 | BUILT_IN_GOMP_STREAM_SET_EOS, BUILT_IN_GOMP_STREAM_DESTROY): New. | |
5979 | ||
5980 | 2008-02-22 Konrad Trifunovic <konrad.trifunovic@inria.fr> | |
5981 | ||
5982 | * tree-data-ref.c (build_empty_rdg): New. | |
5983 | (build_rdg): Use it. | |
5984 | * tree-data-ref.h (build_empty_rdg): Declared. | |
5985 | * graphite.c (free_scop): Free SCOP_LOOP2CLOOG_LOOP. | |
5986 | (find_vertex_for_stmt): Removed. | |
5987 | (build_rdg_all_levels): Use build_empty_rdg and rdg_vertex_for_stmt. | |
5988 | ||
5989 | 2008-02-21 Sebastian Pop <sebastian.pop@amd.com> | |
5990 | ||
5991 | * tree-loop-distribution.c (generate_builtin): After cancelling the | |
5992 | loop tree, also delete basic blocks. | |
5993 | (rdg_flag_uses): Stop recursion when a vertex has already been | |
5994 | processed. | |
5995 | ||
5996 | 2008-02-15 Konrad Trifunovic <konrad.trifunovic@inria.fr> | |
5997 | ||
5998 | * graphite.c (build_scop_alpha): Removed. | |
5999 | (graphite_transform_loops): Add a dummy call to build_all_rdg_levels | |
6000 | and dump_dependence_graph to avoid compiler warnings. | |
6001 | ||
6002 | 2008-02-14 Konrad Trifunovic <konrad.trifunovic@inria.fr> | |
6003 | ||
6004 | * tree-data-ref.c (dr_may_alias_p, create_rdg_vertices): Extern. | |
6005 | * tree-data-ref.h (dr_may_alias_p, create_rdg_vertices): Declared. | |
6006 | * graphite.c (new_loop_to_cloog_loop_str, hash_loop_to_cloog_loop, | |
6007 | eq_loop_to_cloog_loop, del_loop_to_cloog_loop): New. | |
6008 | (new_scop, setup_cloog_loop): Initialize SCOP_LOOP2CLOOG_LOOP. | |
6009 | (initialize_dependence_polyhedron, find_vertex_for_stmt, | |
6010 | initialize_data_dependence_polyhedron, is_empty_polyhedron, | |
6011 | statement_precedes_p, build_rdg_all_levels, build_scop_alpha, | |
6012 | dump_dependence_graph): New. | |
6013 | * graphite.h (struct graphite_bb): New field compressed_alpha_matrix. | |
6014 | (GBB_ALPHA): New. | |
6015 | (struct scop): New field loop2cloog_loop. | |
6016 | (SCOP_LOOP2CLOOG_LOOP, struct data_dependence_polyhedron, | |
6017 | RDGE_DDP, ddp_p, struct loop_to_cloog_loop_str): New. | |
6018 | ||
6019 | 2008-02-10 Konrad Trifunovic <konrad.trifunovic@inria.fr> | |
6020 | ||
6021 | * graphite.c (build_graphite_bb): Fix initialization | |
6022 | of the graphite basic block. | |
6023 | ||
6024 | 2008-02-05 Sebastian Pop <sebastian.pop@amd.com> | |
6025 | ||
6026 | * graphite.c (scan_tree_for_params): Rewrite for the new layout of | |
6027 | loop domain matrix. Pass in the number of loops contained in the | |
6028 | constraint matrix. | |
6029 | (nb_loops_around_gb): Moved before setup_cloog_loop that uses it. | |
6030 | (setup_cloog_loop): Rewrite for the new layout of loop domain matrix: | |
6031 | loops that are not surrounding the current loop are not represented | |
6032 | in the domain constraint matrix. | |
6033 | (build_scop_iteration_domain): Initial domain constraint matrix | |
6034 | contains only the eq/ineq, cst, and scop parameters columns. | |
6035 | ||
6036 | 2008-01-29 Tobias Grosser <grosser@fim.uni-passau.de> | |
6037 | ||
6038 | * graphite.c (schedule_to_scattering, nb_loops_around_gb): New. | |
6039 | (print_graphite_bb): Print scattering. | |
6040 | ||
6041 | 2008-01-29 Tobias Grosser <grosser@fim.uni-passau.de> | |
6042 | ||
6043 | * graphite.c (initialize_cloog_names): Initialize names of | |
6044 | scattering variables. | |
6045 | ||
6046 | 2009-01-29 Tobias Grosser <grosser@fim.uni-passau.de> | |
6047 | ||
6048 | * graphite.c (dot_all_scops_1): Disable debug output while | |
6049 | printing graph. | |
6050 | ||
6051 | 2008-01-29 Tobias Grosser <grosser@fim.uni-passau.de> | |
6052 | ||
6053 | * graphite.c (find_transform): Change cloog output language to C. | |
6054 | ||
6055 | 2008-01-27 Sebastian Pop <sebastian.pop@amd.com> | |
6056 | ||
6057 | * tree-loop-distribution.c (generate_memset_zero, | |
6058 | generate_builtin, generate_code_for_partition, | |
6059 | rdg_flag_all_uses): New. | |
6060 | (rdg_flag_uses): Gather in the same partition the statements defining | |
6061 | the VUSES of the current statement. | |
6062 | (rdg_flag_similar_stores): Renamed rdg_flag_similar_memory_accesses. | |
6063 | Gather in the same partition not only the stores to the same memory | |
6064 | access, but also the reads. | |
6065 | (ldist_generate_loops): Renamed ldist_gen. | |
6066 | ||
6067 | 2008-01-24 Sebastian Pop <sebastian.pop@amd.com> | |
6068 | Tobias Grosser <grosser@fmi.uni-passau.de> | |
6069 | ||
6070 | * graphite.c (setup_cloog_loop): Chain all cloog loops with the | |
6071 | next pointer, don't use the inner pointer. | |
6072 | ||
6073 | 2008-01-20 Tobias Grosser <grosser@fmi.uni-passau.de> | |
6074 | ||
6075 | * graphite.c (dot_all_scops, dot_all_scops_1): New. | |
6076 | (find_transform): Call dot_all_1. | |
6077 | * graphite.h (dot_all_scops): Declared. | |
6078 | ||
6079 | 2007-12-14 Sebastian Pop <sebastian.pop@amd.com> | |
6080 | ||
6081 | * tree-loop-distribution.c: Fix apsi.f ICE. | |
6082 | (create_bb_after_loop): New. | |
6083 | (generate_loops_for_partition): Use it. | |
6084 | * testsuite/gfortran.dg/ldist-1.f90: New. | |
6085 | ||
6086 | * tree-data-ref.c (dot_rdg): Use /tmp/rdg.dot for dotty format. | |
6087 | * graphite.c (dot_scop): Use /tmp/scop.dot for dotty format. | |
6088 | ||
6089 | 2007-12-13 Tobias Grosser <grosser@fmi.uni-passau.de> | |
6090 | ||
6091 | * graphite.c (find_transform): Dump cloog program sent to cloog. | |
6092 | ||
6093 | 2007-12-13 Tobias Grosser <grosser@fmi.uni-passau.de> | |
6094 | ||
6095 | * graphite.c (initialize_cloog_names): Initialize cloog | |
6096 | iterator names. | |
6097 | ||
6098 | 2007-12-13 Tobias Grosser <grosser@fmi.uni-passau.de> | |
6099 | ||
6100 | * graphite.c (build_scop_context): Fix typo, for the matrix | |
6101 | format: insert '0 >= 0' instead of '-1 >= 0'. | |
6102 | ||
6103 | 2007-12-13 Sebastian Pop <sebastian.pop@amd.com> | |
6104 | ||
6105 | * Fix merge problems. | |
6106 | ||
6107 | 2007-12-13 Sebastian Pop <sebastian.pop@amd.com> | |
6108 | ||
6109 | * graphite.c (setup_cloog_loop): Fix typo. | |
6110 | ||
6111 | 2007-12-12 Sebastian Pop <sebastian.pop@amd.com> | |
6112 | ||
6113 | * doc/invoke.texi (-ftree-loop-distribution): Documented. | |
6114 | * tree-loop-distribution.c: Reimplemented. | |
6115 | * tree-pass.h (pass_loop_distribution): New. | |
6116 | * tree-scalar-evolution.c (number_of_iterations_for_all_loops): Use | |
6117 | print_loops. | |
6118 | * graphds.h (struct graph): New field indexes. | |
6119 | * timevar.def (TV_TREE_LOOP_DISTRIBUTION): New. | |
6120 | ||
6121 | * tree-vect-analyze.c: Remove declaration of static functions when not | |
6122 | needed. | |
6123 | * tree-vectorizer.c: Same. | |
6124 | (rename_variables_in_loop): Now extern. | |
6125 | (slpeel_tree_duplicate_loop_to_edge_cfg): Renamed | |
6126 | tree_duplicate_loop_to_edge_cfg. Reset PENDING_STMT for edges after | |
6127 | calling redirect_edge_and_branch_force. | |
6128 | ||
6129 | * tree-vectorizer.h (tree_duplicate_loop_on_edge): Declared. | |
6130 | ||
6131 | * tree-data-ref.c: Don't include tree-chrec.h. | |
6132 | (debug_data_dependence_relations): New. | |
6133 | (dump_data_dependence_relation): Call dump_data_reference on data refs | |
6134 | in the relation. | |
6135 | (same_access_functions): Moved... | |
6136 | (find_vertex_for_stmt): Renamed rdg_vertex_for_stmt. | |
6137 | (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component, | |
6138 | debug_rdg_component, dump_rdg, debug_rdg, dot_rdg_1, dot_rdg, | |
6139 | struct rdg_vertex_info, ): New. | |
6140 | (create_rdg_edge_for_ddr): Compute the dependence level before looking | |
6141 | at DDR_REVERSED_P. | |
6142 | (create_rdg_vertices): Initialize the htab of graph->indexes. | |
6143 | Initialize RDG_MEM_WRITE_STMT and RDG_MEM_READS_STMT. | |
6144 | (stmts_from_loop): Don't save LABEL_EXPR. | |
6145 | (hash_stmt_vertex_info, eq_stmt_vertex_info, | |
6146 | hash_stmt_vertex_del): New. | |
6147 | (build_rdg): Initialize rdg->indexes. | |
6148 | (free_rdg, stores_from_loop, ref_base_address, | |
6149 | rdg_defs_used_in_other_loops_p, have_similar_memory_accesses, | |
6150 | have_similar_memory_accesses_1, ref_base_address_1, | |
6151 | remove_similar_memory_refs): New. | |
6152 | ||
6153 | * tree-data-ref.h: Include tree-chrec.h. | |
6154 | (debug_data_dependence_relations): Declared. | |
6155 | (same_access_functions): ...here. Now static inline. | |
6156 | (ddr_is_anti_dependent, ddrs_have_anti_deps, | |
6157 | ddr_dependence_level): New. | |
6158 | (struct rdg_vertex): New fields has_mem_write, has_mem_reads. | |
6159 | (RDGV_HAS_MEM_WRITE, RDGV_HAS_MEM_READS, RDG_STMT, RDG_MEM_WRITE_STMT, | |
6160 | RDG_MEM_READS_STMT): New. | |
6161 | (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component, | |
6162 | debug_rdg_component, dump_rdg, debug_rdg, dot_rdg, | |
6163 | rdg_vertex_for_stmt): Declared. | |
6164 | (struct rdg_edge): New field level. | |
6165 | (RDGE_LEVEL, free_rdg): New. | |
6166 | (stores_from_loop, remove_similar_memory_refs, | |
6167 | rdg_defs_used_in_other_loops_p, | |
6168 | have_similar_memory_accesses): Declared. | |
6169 | (rdg_has_similar_memory_accesses): New. | |
6170 | ||
6171 | * lambda.h (dependence_level): New. | |
6172 | * common.opt (ftree-loop-distribution): New. | |
6173 | * tree-flow.h (debug_loop_ir): Renamed debug_loops. | |
6174 | (print_loop_ir): Renamed print_loops. | |
6175 | (debug_loop, debug_loop_num, print_loops_bb, mark_virtual_ops_in_bb, | |
6176 | tree_duplicate_loop_to_edge_cfg, rename_variables_in_loop): Declared. | |
6177 | * Makefile.in (TREE_DATA_REF_H): Depends on tree-chrec.h. | |
6178 | (tree-loop-distribution.o): Added. | |
6179 | * tree-cfg.c (mark_virtual_ops_in_region): Use mark_virtual_ops_in_bb. | |
6180 | (mark_virtual_ops_in_bb): New. | |
6181 | (print_loops_bb, debug_loop_num, debug_loop): New. | |
6182 | * passes.c: Scheduled pass_loop_distribution. | |
6183 | ||
6184 | 2007-12-12 Konrad Trifunovic <konrad.trifunovic@inria.fr> | |
6185 | ||
6186 | * graphite.c (scan_tree_for_params): Correct the number of columns | |
6187 | for polylib format. | |
6188 | (nb_flat_iterator): New. | |
6189 | (setup_cloog_loop): Initialize to 1 the first column for inequalities. | |
6190 | (build_scop_iteration_domain): Correct the number of columns for | |
6191 | polylib format. | |
6192 | ||
6193 | 2007-12-12 Sebastian Pop <sebastian.pop@amd.com> | |
6194 | ||
6195 | * Merge from mainline (129697:130800). | |
6196 | ||
6197 | 2007-10-30 Sebastian Pop <sebastian.pop@amd.com> | |
6198 | ||
6199 | * graphite.c (build_graphite_bb): SCoP's basic blocks are post | |
6200 | dominated by SCoP's exit. | |
6201 | (graphite_transform_loops): Compute post dominators. | |
6202 | ||
6203 | 2007-10-28 Sebastian Pop <sebastian.pop@amd.com> | |
6204 | ||
6205 | * Merge from mainline (127169:129697). | |
6206 | ||
6207 | 2007-10-28 Sebastian Pop <sebastian.pop@amd.com> | |
6208 | ||
6209 | * graphite.c (affine_expr): Renamed scop_affine_expr. Use an extra | |
6210 | parameter for the basic block that contains the expression. Use | |
6211 | outermost_loop_in_scop for evolution_function_is_affine_multivariate_p. | |
6212 | (stmt_simple_for_scop_p): Pass to scop_affine_expr the basic block of | |
6213 | the expression. | |
6214 | * graphite.h (gbb_loop): New. | |
6215 | (GBB_LOOP): Removed. | |
6216 | ||
6217 | 2007-08-03 Sebastian Pop <sebpop@gmail.com> | |
6218 | ||
6219 | * Makefile.in: Fix merge problem. | |
6220 | ||
6221 | 2007-08-03 Sebastian Pop <sebpop@gmail.com> | |
6222 | ||
6223 | * Merge from mainline (125309:127169). | |
6224 | * tree-loop-distribution.c: Disabled. | |
6225 | ||
6226 | 2007-06-05 Sebastian Pop <sebpop@gmail.com> | |
6227 | ||
6228 | * Merge from mainline (r123693:125309). | |
6229 | ||
6230 | 2007-05-30 Sebastian Pop <sebpop@gmail.com> | |
6231 | ||
6232 | * tree-loop-distribution.c (correct_modify_expr_p): Renamed | |
6233 | correct_modify_p | |
6234 | (correct_modify_p, check_statements, number_of_lvalue_uses, | |
6235 | number_of_scalar_dependences, create_edges): Use GIMPLE_MODIFY_STMT | |
6236 | instead of MODIFY_EXPR. | |
6237 | (update_edge_with_ddv): Don't pass index_of_edge. Initialize | |
6238 | and push new edges. | |
6239 | ||
6240 | 2007-05-24 Sebastian Pop <sebpop@gmail.com> | |
6241 | ||
6242 | * tree-loop-distribution.c (struct rdg): Replace arrays by | |
6243 | VECs for edges and vertices. | |
6244 | (RDG_NBV, RDG_NBE, RDG_VERTEX, RDG_EDGE): Removed. | |
6245 | (RDGV_NB_PARTITIONS): New. | |
6246 | (PRDG_NBV, PRDG_NBE): Removed. | |
6247 | (build_scc_graph, correct_partitions_p, mark_partitions, build_prdg, | |
6248 | dump_rdg, find_vertex_with_stmt, create_vertices, free_rdg, | |
6249 | number_of_scalar_dependences, create_edges, build_rdg): Use VECs. | |
6250 | ||
6251 | 2007-05-17 Georges-Andre Silber <silber@cri.ensmp.fr> | |
6252 | Sebastian Pop <sebpop@gmail.com> | |
6253 | ||
6254 | * doc/invoke.texi (-ftree-loop-distribution): Document. | |
6255 | * tree-loop-distribution.c: New file. | |
6256 | * tree-pass.h (pass_loop_distribution): Declared. | |
6257 | * timevar.def (TV_TREE_LOOP_DISTRIBUTION): New. | |
6258 | * tree-data-ref.c (initialize_data_dependence_relation): Initialize | |
6259 | and set reversed_p. | |
6260 | * tree-data-ref.h (data_dependence_relation): Add reversed_p. | |
6261 | (DDR_REVERSED_P): New. | |
6262 | * common.opt (-ftree-loop-distribution): New. | |
6263 | * tree-flow.h (distribute_loops): Declared. | |
6264 | * Makefile.in (OBJS-common): Depend on tree-loop-distribution.o. | |
6265 | * passes.c (init_optimization_passes): Schedule loop distribution. | |
6266 | ||
6267 | 2007-05-12 Sebastian Pop <sebastian.pop@inria.fr> | |
6268 | ||
6269 | * graphite.c (print_graphite_bb): Don't call dump_data_references. | |
6270 | (print_scop): Don't print when scop is NULL. | |
6271 | (build_scop_context, find_transform): Don't output to stderr. | |
6272 | ||
6273 | 2007-05-09 Sebastian Pop <sebastian.pop@inria.fr> | |
6274 | ||
6275 | * tree-data-ref.c: Don't include graphite.h. | |
6276 | Comment out the code for printing data reference's scop. | |
6277 | (build_access_matrix_with_af): Moved... | |
6278 | * tree-data-ref.h (build_access_matrix_with_af): Removed declaration. | |
6279 | * graphite.c (build_access_matrix_with_af): ... here. Now static. | |
6280 | (print_graphite_bb): Print basic block's schedule. | |
6281 | (print_scop): Don't print the schedule, call cloog's pretty printer. | |
6282 | (bb_in_scop_p): A basic block is in a scop only if it is both | |
6283 | dominated and postdominated by the scop's entry and exit basic blocks. | |
6284 | (function_parameter_p): New. | |
6285 | (invariant_in_scop_p): Use function_parameter_p. | |
6286 | (new_scop, save_scop): New. | |
6287 | (end_scop, test_for_scop_bound, build_scops): Use new_scop, and | |
6288 | save_scop. | |
6289 | (scan_tree_for_params): Directly build the constraint as CloogMatrix. | |
6290 | (loop_in_scop_p): New. | |
6291 | (scop_record_loop): Use loop_in_scop_p. | |
6292 | (build_scop_domain): Renamed build_scop_iteration_domain. | |
6293 | (setup_cloog_loop, initialize_cloog_names, find_scop_parameters, | |
6294 | nb_params_in_scop, build_scop_context, first_loop_in_scop, | |
6295 | setup_cloog_loop, dot_scop_1, dot_scop): New. | |
6296 | * graphite.h (GBB_LOOP, SCOP_PROG, dot_scop): New. | |
6297 | (struct scop): Add a pointer to cloog's representation of a program. | |
6298 | ||
6299 | 2007-04-14 Sebastian Pop <sebastian.pop@inria.fr> | |
6300 | ||
6301 | * doc/invoke.texi (-ftree-check-verbose): Renamed | |
6302 | -ftree-checks-verbose. | |
6303 | * common.opt (flag_tree_check_verbose): Renamed | |
6304 | flag_tree_checks_verbose. | |
6305 | * tree-check.c (tree_check_warning): Use flag_tree_checks_verbose. | |
6306 | ||
6307 | 2007-04-14 Sebastian Pop <sebastian.pop@inria.fr> | |
6308 | ||
6309 | * configure: Regenerated. | |
6310 | * config.in: Regenerated. | |
6311 | * tree-ssa-loop.c (graphite_transforms): Execute | |
6312 | graphite_transform_loops only when HAVE_cloog. | |
6313 | * configure.ac (HAVE_polylib, HAVE_cloog, GRAPHITE): Defined. | |
6314 | * graphite.c: Include polylibgmp.h and cloog.h. | |
6315 | (graphite_transform_loops): Removed loops parameter. | |
6316 | * tree-flow.h (graphite_transform_loops): Update declaration. | |
6317 | * Makefile.in (POLYLIBLIBS, POLYLIBINC, CLOOGLIBS, CLOOGINC): New. | |
6318 | (LIBS): Depend on CLOOGLIBS and on POLYLIBLIBS. | |
6319 | (INCLUDES): Depend on POLYLIBINC and on CLOOGINC. | |
6320 | (OBJS-common): Remove dependence on graphite.o. | |
6321 | (BACKEND): Depend on @GRAPHITE@. | |
6322 | ||
6323 | 2007-04-13 Sebastian Pop <sebastian.pop@inria.fr> | |
6324 | ||
6325 | * doc/invoke.texi (-ftree-check-verbose): Documented. | |
6326 | * testsuite/gcc.dg/tree-checker/tree-checks-1.c: New. | |
6327 | * testsuite/gcc.dg/tree-checker/tree-checks-2.c: New. | |
6328 | * testsuite/gcc.dg/tree-checker/tree-checks-3.c: New. | |
6329 | * testsuite/gcc.dg/tree-checker/tree-checks-4.c: New. | |
6330 | * testsuite/gcc.dg/tree-checker/tree-checks.exp: New. | |
6331 | * testsuite/gcc.dg/tree-checker/condates.crp: New. | |
6332 | * common.opt (ftree-checks-verbose): New. | |
6333 | * tree-check.c (tree_check_warning): Move extra stderr output | |
6334 | under control of flag_tree_check_verbose. | |
6335 | ||
6336 | 2007-04-12 Sebastian Pop <sebastian.pop@inria.fr> | |
6337 | ||
6338 | * tree-match.c: Fix comments formatting. | |
6339 | * tree-match.h: Fix comments formatting. | |
6340 | * tree-check.c: Fix comments formatting. | |
6341 | (tree_check_init): Restructure. | |
6342 | ||
6343 | 2007-04-12 Nic Volanschi <nic.volanschi@free.fr> | |
6344 | ||
6345 | * doc/invoke.texi (-ftree-check, -ftree-checks): Documented. | |
6346 | ||
6347 | 2007-04-10 Sebastian Pop <sebastian.pop@inria.fr> | |
6348 | ||
6349 | * Merge from mainline (r120733:123693). | |
6350 | ||
6351 | 2007-03-20 Nic Volanschi <nic.volanschi@free.fr> | |
6352 | ||
6353 | * condate.y: New file. | |
6354 | * tree-match.h (struct patt_info_s): New field sign. | |
6355 | (struct condate_s): New field msg. | |
6356 | (normalize_condate, name_condate, add_condate): New. | |
6357 | (conds[], condate_parse): Made extern. | |
6358 | * tree-check.c (tree_check_warning): First arg changed to cond; | |
6359 | warning reformatted. | |
6360 | (tree_check_init): Reset the TREE_VISITED bit on every CFG node. | |
6361 | (tree_scan): New. | |
6362 | (tree_check): Process trivial condates. | |
6363 | (read_delimited_string): Removed. | |
6364 | (print_cond): Print name and msg. | |
6365 | (conds[]): Made extern. | |
6366 | (parse_tree_check_file_once): Rewritten to use the parser in | |
6367 | condate.y. | |
6368 | Processing of option --tree_check_string moved to tree_scan(). | |
6369 | * Makefile.in: Added condate.y | |
6370 | ||
6371 | 2007-03-12 Sebastian Pop <sebastian.pop@inria.fr> | |
6372 | ||
6373 | * tree-pretty-print.c (dump_generic_bb_buff, lazy_dump_generic_node): | |
6374 | Use VECs instead of varrays. | |
6375 | * diagnostic.h (lazy_dump_generic_node): Update declaration. | |
6376 | * Makefile.in (pretty-print.o): Depend on vec.h. | |
6377 | * pretty-print.c: Include tree.h and vec.h. | |
6378 | (pp_clear_state, pp_write_list_to_stream, pp_base_format, | |
6379 | pp_base_format, pp_construct, pp_base_string, pp_lazy_mode, | |
6380 | new_tree_chunk, pp_add_tree, pp_add_string, pp_add_char, pp_write_list, | |
6381 | pp_free_list): Use VECs instead of varrays. | |
6382 | * pretty-print.h: Do not include varray.h. | |
6383 | (struct tree_chunk_s): Declaration moved before its use. | |
6384 | (output_buffer): Rename varray field to chunks. | |
6385 | * tree-match.c (tree_equal, chunk_1st_char, chunks_lookahead, | |
6386 | tree_1st_char, match_chunks_pattinfo, match_tree_pattinfo, | |
6387 | save_global_holes): Use VECs instead of varrays. | |
6388 | * tree-match.h: Declare VECs of cfg_node, and hole_p. | |
6389 | * tree-check.c (scan_cfg_stmts, push_node, | |
6390 | print_matching_stmt): Removed. | |
6391 | (tree_check_instance, push_global_holes_if_new, tree_check, | |
6392 | execute_tree_check): Use VECs instead of varrays. | |
6393 | (gate_tree_check): Don't execute the CFG check when basic_block_info | |
6394 | is not available. | |
6395 | ||
6396 | 2007-01-12 Sebastian Pop <sebastian.pop@inria.fr> | |
6397 | ||
6398 | * Merge from mainline (r115016:120733). | |
6399 | ||
6400 | 2007-01-12 Sebastian Pop <sebastian.pop@inria.fr> | |
6401 | ||
6402 | * Merge from mainline (r117632:117661). | |
6403 | ||
6404 | 2007-01-12 Sebastian Pop <sebastian.pop@inria.fr> | |
6405 | ||
6406 | * tree-dump.c (dump_option_value_in): Add TDF_DEBUG. | |
6407 | * tree-pass.h (TDF_DEBUG, debug_p): New. | |
6408 | * tree-scalar-evolution.c (set_scalar_evolution, get_scalar_evolution, | |
6409 | get_scalar_evolution, add_to_evolution, set_nb_iterations_in_loop, | |
6410 | get_loop_exit_condition, analyze_evolution_in_loop, | |
6411 | analyze_initial_condition, analyze_scalar_evolution, | |
6412 | instantiate_parameters, number_of_latch_executions): Use debug_p. | |
6413 | * tree-chrec.c (chrec_apply): Use debug_p. | |
6414 | * tree-data-ref.c: Include graphite.h. | |
6415 | (dump_data_reference): Print also the access matrix. | |
6416 | (analyze_array, analyze_indirect_ref, init_data_ref, | |
6417 | analyze_offset_expr, address_analysis, object_analysis, | |
6418 | create_data_ref, finalize_ddr_dependent, | |
6419 | non_affine_dependence_relation, analyze_ziv_subscript, | |
6420 | analyze_siv_subscript_cst_affine, | |
6421 | compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine, | |
6422 | can_use_analyze_subscript_affine_affine, analyze_siv_subscript, | |
6423 | analyze_miv_subscript, analyze_overlapping_iterations, | |
6424 | build_classic_dist_vector, subscript_dependence_tester, | |
6425 | compute_affine_dependence, analyze_all_data_dependences): Use debug_p. | |
6426 | (build_access_matrix_with_af): No longer static. | |
6427 | * tree-data-ref.h (scop_p): ... declaration here. | |
6428 | (data_reference.scop): New field. | |
6429 | (DR_SCOP, DR_ACCESS_MATRIX): New. | |
6430 | (build_access_matrix_with_af, dr_num_subscripts): Declared. | |
6431 | * graphite.c (print_graphite_bb): Call dump_data_references. | |
6432 | (print_scop): Use scop_nb_loops and scop_dim_domain. | |
6433 | (test_for_scop_bound): Use debug_p. | |
6434 | (scan_tree_for_params): Use scop_nb_loops, scop_nb_loops and | |
6435 | scop_nb_params. | |
6436 | (scop_loop_index): Moved... | |
6437 | (scop_record_loop): New. | |
6438 | (build_scop_loop_nests): Use scop_record_loop. | |
6439 | (build_scop_domain): Use scop_dim_domain. | |
6440 | (build_access_matrix): Implemented. | |
6441 | (build_scop_canonical_schedules): Use scop_nb_loops. | |
6442 | (build_graphite_bb): Initialize GBB_SCOP. | |
6443 | * graphite.h (scop_p): Moved... | |
6444 | (graphite_bb.scop): New field. | |
6445 | (graphite_bb.iteration_domain, GBB_DOMAIN, scop.nb_params, | |
6446 | scop.nb_loops, scop.dim_domain, SCOP_NB_LOOPS, SCOP_NB_PARAMS, | |
6447 | SCOP_DIM_DOMAIN, SCOP_STMTS): Removed. | |
6448 | (scop_nb_params, scop_nb_loops, scop_dim_domain, gbb_dim_domain, | |
6449 | scop_loop_index): New. | |
6450 | * Makefile.in (tree-data-ref.o): Depends on graphite.h. | |
6451 | ||
6452 | 2007-01-05 Sebastian Pop <sebastian.pop@inria.fr> | |
6453 | ||
6454 | * Merge from mainline (r117661:120450). | |
6455 | ||
6456 | 2006-10-12 Sebastian Pop <sebastian.pop@inria.fr> | |
6457 | ||
6458 | * tree-scalar-evolution.c (instantiate_parameters_1): Don't stop | |
6459 | at the first declaration outside the varying loop, instantiate as | |
6460 | far as possible. | |
6461 | * tree-chrec.c (for_each_scev_op): New. | |
6462 | * tree-chrec.h (for_each_scev_op): Declared. | |
6463 | * tree-ssa-loop.c (pass_graphite_trans): Don't dump the function. | |
6464 | * tree-data-ref.c (get_references_in_stmt, | |
6465 | find_data_references_in_stmt): New, from trunk. | |
6466 | (find_data_references_in_loop): Use get_references_in_stmt | |
6467 | and find_data_references_in_loop, modified as in trunk. | |
6468 | (build_access_matrix_with_af): New. | |
6469 | * tree-data-ref.h (data_reference): Add a field access_matrix. | |
6470 | (data_ref_loc): New, as in trunk. | |
6471 | * graphite.c (print_graphite_bb, bb_in_scop_p, stmt_in_scop_p, | |
6472 | invariant_in_scop_p, param_index, scan_tree_for_params, | |
6473 | scop_loop_index, build_scop_loop_nests, build_scop_domain, irp_data, | |
6474 | idx_record_param, idx_record_params, build_access_matrix, | |
6475 | build_scop_data_accesses, build_scop_canonical_schedules, | |
6476 | build_graphite_bb, build_scop_bbs, find_params_in_bb, | |
6477 | build_scop_params): New. | |
6478 | * graphite.h (graphite_bb): New. | |
6479 | (scop): Add fields static_schedule, params, loop_nest, | |
6480 | iteration_domain. | |
6481 | * lambda.h: Declare vecs of lambda_matrix. | |
6482 | * tree-flow.h (print_loop_ir_bb): Declared. | |
6483 | * tree-cfg.c (print_loop_ir_bb): New. | |
6484 | (print_loop): Use print_loop_ir_bb. | |
6485 | ||
6486 | 2006-10-12 Sebastian Pop <pop@cri.ensmp.fr> | |
6487 | ||
6488 | * Merge from mainline (r115016:117632). | |
6489 | ||
6490 | 2006-10-11 Sebastian Pop <pop@cri.ensmp.fr> | |
6491 | ||
6492 | * graphite.c (debug_scops): Adjust definition for avoiding a bootstrap | |
6493 | break due to a warning. | |
6494 | ||
6495 | 2006-10-10 Sebastian Pop <pop@cri.ensmp.fr> | |
6496 | ||
6497 | * graphite.c (print_scops, debug_scops): New. | |
6498 | (graphite_transform): Renamed graphite_find_transform. | |
6499 | * graphite.h (debug_scops): Declared. | |
6500 | ||
6501 | 2006-08-17 Sebastian Pop <pop@cri.ensmp.fr> | |
6502 | ||
6503 | * tree-match.c: Reformat following the GNU style. | |
6504 | * tree-match.h: Reformat following the GNU style. | |
6505 | * tree-pattern.h: Removed empty file. | |
6506 | * Makefile.in: Remove references to tree-pattern.h. | |
6507 | * tree-check.c: Reformat following the GNU style. | |
6508 | (execute_tree_check): Move gate condition code to... | |
6509 | (gate_tree_check): ...here. New function. | |
6510 | (pass_check): Use the gate function. | |
6511 | ||
6512 | 2006-07-04 Nic Volanschi <nic.volanschi@free.fr> | |
6513 | ||
6514 | * tree-pattern.h: New. Tree pattern matching and checking using | |
6515 | concrete syntax. | |
6516 | * tree-check.c: New. Tree/CFG checking pass. | |
6517 | * tree-match.c: New. Library for tree pattern matching. | |
6518 | * opts.c, common.opt: Add options --ftree-check & --ftree-checks. | |
6519 | * toplev.c, flags.h: Add globals for tree-check pass. | |
6520 | * Makefile.in: Integrate the files in tree-check pass. | |
6521 | * timevar.def, tree-optimize.c, tree-pass.h: Register tree-check pass. | |
6522 | * pretty-print.c, pretty-print.h, tree-pretty-print.c, diagnostic.h: | |
6523 | Introduce a "lazy" pretty-print mode. | |
6524 | * tree.c, tree.h: Add tree_name. | |
6525 | ||
6526 | 2006-07-04 Sebastian Pop <pop@cri.ensmp.fr> | |
6527 | ||
6528 | * doc/invoke.texi (-fgraphite): Correct typo. | |
6529 | * tree-scalar-evolution.c (number_of_iterations_for_all_loops): Update | |
6530 | use of print_loop_ir. | |
6531 | * testsuite/gcc.dg/graphite/scop-1.c: New. | |
6532 | * testsuite/gcc.dg/graphite/scop-2.c: New. | |
6533 | * testsuite/gcc.dg/graphite/graphite.exp: New. | |
6534 | * graphite.c: Include domwalk.h. | |
6535 | (print_scop): Print only the entry and exit blocks. | |
6536 | (debug_scop): No longer static. | |
6537 | (affine_expr): Fix formating. Return also true when the expression is | |
6538 | constant. | |
6539 | (stmt_simple_for_scop_p): Fix formating. | |
6540 | (build_scops): Use domwalk. | |
6541 | (get_loop_start, end_scop, test_for_scop_bound): New. | |
6542 | (graphite_transform_loops): Avoid printing on stderr. | |
6543 | * graphite.h (debug_scop): Declared. | |
6544 | * tree-flow.h (debug_loop_ir, print_loop_ir): Update declarations. | |
6545 | * Makefile.in (graphite.o): Depend on domwalk.h. | |
6546 | * tree-cfg.c (print_loop, print_pred_bbs, print_succ_bbs): Remove | |
6547 | declarations for static functions. | |
6548 | (print_loop, print_loop_ir, debug_loop_ir): Use an extra parameter for | |
6549 | controlling output verbosity. | |
6550 | ||
6551 | 2006-06-26 Sebastian Pop <pop@cri.ensmp.fr> | |
6552 | Plesco Alexandru <shurikx@gmail.com> | |
6553 | ||
6554 | * doc/invoke.texi (-fgraphite): Document. | |
6555 | * tree-pass.h (pass_graphite_transforms): Declared. | |
6556 | * timevar.def (TV_GRAPHITE_TRANSFORMS): New. | |
6557 | * tree-ssa-loop.c (graphite_transforms, gate_graphite_transforms): New. | |
6558 | (pass_graphite_transforms): Defined. | |
6559 | * tree-data-ref.c (free_data_ref, data_reference): Extern. | |
6560 | * tree-data-ref.h (free_data_ref, data_reference): Declared. | |
6561 | * graphite.c, graphite.h: New. | |
6562 | * common.opt (fgraphite): Declared. | |
6563 | * tree-flow.h (graphite_transform_loops): Declared. | |
6564 | * Makefile.in (OBJS-common): Add graphite.o. | |
6565 | (graphite.o): New rule. | |
6566 | * passes.c (pass_graphite_transforms): Scheduled. | |
6567 |