source: arduino-1-6-7/trunk/fuentes/arduino-ide-amd64/hardware/tools/avr/lib/gcc/avr/4.9.2/plugin/include/tree-ssa-loop-niter.h @ 4837

Last change on this file since 4837 was 4837, checked in by daduve, 2 years ago

Adding new version

File size: 2.2 KB
Line 
1/* Header file for loop interation estimates.
2   Copyright (C) 2013-2014 Free Software Foundation, Inc.
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify it under
7the terms of the GNU General Public License as published by the Free
8Software Foundation; either version 3, or (at your option) any later
9version.
10
11GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12WARRANTY; without even the implied warranty of MERCHANTABILITY or
13FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 for more details.
15
16You should have received a copy of the GNU General Public License
17along with GCC; see the file COPYING3.  If not see
18<http://www.gnu.org/licenses/>.  */
19
20#ifndef GCC_TREE_SSA_LOOP_NITER_H
21#define GCC_TREE_SSA_LOOP_NITER_H
22
23extern tree expand_simple_operations (tree);
24extern bool loop_only_exit_p (const struct loop *, const_edge);
25extern bool number_of_iterations_exit (struct loop *, edge,
26                                       struct tree_niter_desc *niter, bool,
27                                       bool every_iteration = true);
28extern tree find_loop_niter (struct loop *, edge *);
29extern bool finite_loop_p (struct loop *);
30extern tree loop_niter_by_eval (struct loop *, edge);
31extern tree find_loop_niter_by_eval (struct loop *, edge *);
32extern bool estimated_loop_iterations (struct loop *, double_int *);
33extern HOST_WIDE_INT estimated_loop_iterations_int (struct loop *);
34extern bool max_loop_iterations (struct loop *, double_int *);
35extern HOST_WIDE_INT max_loop_iterations_int (struct loop *);
36extern HOST_WIDE_INT max_stmt_executions_int (struct loop *);
37extern HOST_WIDE_INT estimated_stmt_executions_int (struct loop *);
38extern bool max_stmt_executions (struct loop *, double_int *);
39extern bool estimated_stmt_executions (struct loop *, double_int *);
40extern void estimate_numbers_of_iterations (void);
41extern bool stmt_dominates_stmt_p (gimple, gimple);
42extern bool nowrap_type_p (tree);
43extern bool scev_probably_wraps_p (tree, tree, gimple, struct loop *, bool);
44extern void free_numbers_of_iterations_estimates_loop (struct loop *);
45extern void free_numbers_of_iterations_estimates (void);
46extern void substitute_in_loop_info (struct loop *, tree, tree);
47
48#endif /* GCC_TREE_SSA_LOOP_NITER_H */
Note: See TracBrowser for help on using the repository browser.