GCC Middle and Back End API Reference
|
Functions | |
static void | print_global_statistics () |
static void | print_graphite_scop_statistics () |
static void | print_graphite_statistics () |
static bool | graphite_initialize () |
static void | graphite_finalize () |
void | graphite_transform_loops () |
Variables | |
CloogState * | cloog_state |
isl_ctx * | the_isl_ctx |
|
static |
Finalize graphite: perform CFG cleanup when NEED_CFG_CLEANUP_P is true.
References cleanup_tree_cfg(), cloog_state, dump_file, dump_flags, free_original_copy_tables(), print_loops(), PROFILE_ABSENT, release_recorded_exits(), scev_reset(), and tree_estimate_probability().
Referenced by graphite_transform_loops().
|
static |
Initialize graphite: when there are no loops returns false.
References cfun, cloog_state, current_function_decl, dump_file, dump_flags, dump_function_to_file(), initialize_original_copy_tables(), number_of_loops(), print_global_statistics(), recompute_all_dominators(), and scev_reset().
Referenced by graphite_transform_loops().
void graphite_transform_loops | ( | void | ) |
Perform a set of linear transforms on the loops of the current function.
References apply_poly_transforms(), build_poly_scop(), build_scops(), cfun, hash_table< Descriptor, Allocator >::create(), scop::ctx, dbg_cnt(), function::decl, hash_table< Descriptor, Allocator >::dispose(), dump_file, dump_flags, free_scops(), gloog(), graphite_finalize(), graphite_initialize(), parallelized_function_p(), print_global_statistics(), print_graphite_statistics(), the_isl_ctx, and vNULL.
Referenced by graphite_transforms().
|
static |
Print global statistics to FILE.
References basic_block_def::count, gsi_end_p(), gsi_next(), gsi_start_bb(), loop::header, basic_block_def::index, basic_block_def::loop_father, and basic_block_def::succs.
Referenced by graphite_initialize(), and graphite_transform_loops().
|
static |
Print statistics for SCOP to FILE.
References bb_in_sese_p(), basic_block_def::count, gsi_end_p(), gsi_next(), gsi_start_bb(), loop::header, basic_block_def::loop_father, loop_in_sese_p(), and basic_block_def::succs.
Referenced by print_graphite_statistics().
|
static |
Print statistics for SCOPS to FILE.
References print_graphite_scop_statistics().
Referenced by graphite_transform_loops().
CloogState* cloog_state |
@verbatim Gimple Represented as Polyhedra.
Copyright (C) 2006-2013 Free Software Foundation, Inc. Contributed by Sebastian Pop sebas. tian .pop@ inri a.fr
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see http://www.gnu.org/licenses/.
This pass converts GIMPLE to GRAPHITE, performs some loop transformations and then converts the resulting representation back to GIMPLE. An early description of this pass can be found in the GCC Summit'06 paper "GRAPHITE: Polyhedral Analyses and Optimizations for GCC". The wiki page http://gcc.gnu.org/wiki/Graphite contains pointers to the related work. One important document to read is CLooG's internal manual: http://repo.or.cz/w/cloog-ppl.git?a=blob_plain;f=doc/cloog.texi;hb=HEAD that describes the data structure of loops used in this file, and the functions that are used for transforming the code.
Referenced by graphite_finalize(), graphite_initialize(), and set_cloog_options().
isl_ctx* the_isl_ctx |
Referenced by graphite_transform_loops(), print_isl_aff(), print_isl_constraint(), print_isl_map(), and print_isl_set().