Mercurial > hg > CbC > CbC_gcc
comparison gcc/graphite-optimize-isl.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* A scheduling optimizer for Graphite | 1 /* A scheduling optimizer for Graphite |
2 Copyright (C) 2012-2017 Free Software Foundation, Inc. | 2 Copyright (C) 2012-2018 Free Software Foundation, Inc. |
3 Contributed by Tobias Grosser <tobias@grosser.es>. | 3 Contributed by Tobias Grosser <tobias@grosser.es>. |
4 | 4 |
5 This file is part of GCC. | 5 This file is part of GCC. |
6 | 6 |
7 GCC is free software; you can redistribute it and/or modify | 7 GCC is free software; you can redistribute it and/or modify |
158 isl_ctx_reset_operations (scop->isl_context); | 158 isl_ctx_reset_operations (scop->isl_context); |
159 isl_ctx_set_max_operations (scop->isl_context, old_max_operations); | 159 isl_ctx_set_max_operations (scop->isl_context, old_max_operations); |
160 if (!scop->transformed_schedule | 160 if (!scop->transformed_schedule |
161 || isl_ctx_last_error (scop->isl_context) != isl_error_none) | 161 || isl_ctx_last_error (scop->isl_context) != isl_error_none) |
162 { | 162 { |
163 location_t loc = find_loop_location | 163 dump_user_location_t loc = find_loop_location |
164 (scop->scop_info->region.entry->dest->loop_father); | 164 (scop->scop_info->region.entry->dest->loop_father); |
165 if (isl_ctx_last_error (scop->isl_context) == isl_error_quota) | 165 if (isl_ctx_last_error (scop->isl_context) == isl_error_quota) |
166 dump_printf_loc (MSG_MISSED_OPTIMIZATION, loc, | 166 dump_printf_loc (MSG_MISSED_OPTIMIZATION, loc, |
167 "loop nest not optimized, optimization timed out " | 167 "loop nest not optimized, optimization timed out " |
168 "after %d operations [--param max-isl-operations]\n", | 168 "after %d operations [--param max-isl-operations]\n", |
180 isl_union_map_free (original); | 180 isl_union_map_free (original); |
181 isl_union_map_free (transformed); | 181 isl_union_map_free (transformed); |
182 | 182 |
183 if (same_schedule) | 183 if (same_schedule) |
184 { | 184 { |
185 location_t loc = find_loop_location | 185 dump_user_location_t loc = find_loop_location |
186 (scop->scop_info->region.entry->dest->loop_father); | 186 (scop->scop_info->region.entry->dest->loop_father); |
187 dump_printf_loc (MSG_NOTE, loc, | 187 dump_printf_loc (MSG_NOTE, loc, |
188 "loop nest not optimized, optimized schedule is " | 188 "loop nest not optimized, optimized schedule is " |
189 "identical to original schedule\n"); | 189 "identical to original schedule\n"); |
190 if (dump_file) | 190 if (dump_file) |