GCC Middle and Back End API Reference
tree-ssa-loop-ivopts.h
Go to the documentation of this file.
1/* Header file for Induction variable optimizations.
2 Copyright (C) 2013-2024 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_IVOPTS_H
21#define GCC_TREE_SSA_LOOP_IVOPTS_H
22
23extern void dump_iv (FILE *, struct iv *);
24extern void dump_use (FILE *, struct iv_use *);
25extern void dump_uses (FILE *, struct ivopts_data *);
26extern void dump_cand (FILE *, struct iv_cand *);
28extern class loop *outermost_invariant_loop_for_expr (class loop *, tree);
29extern bool expr_invariant_in_loop_p (class loop *, tree);
31void tree_ssa_iv_optimize (void);
32
33void create_canonical_iv (class loop *, edge, tree,
34 tree * = NULL, tree * = NULL);
35#endif /* GCC_TREE_SSA_LOOP_IVOPTS_H */
Definition genmatch.cc:845
Definition cfgloop.h:120
class edge_def * edge
Definition coretypes.h:343
union tree_node * tree
Definition coretypes.h:97
Definition tree-ssa-loop-ivopts.cc:452
Definition tree-ssa-loop-ivopts.cc:403
Definition tree-ssa-loop-ivopts.cc:169
Definition tree-ssa-loop-ivopts.cc:586
#define NULL
Definition system.h:50
void dump_use(FILE *, struct iv_use *)
Definition tree-ssa-loop-ivopts.cc:810
void tree_ssa_iv_optimize(void)
Definition tree-ssa-loop-ivopts.cc:8225
void create_canonical_iv(class loop *, edge, tree, tree *=NULL, tree *=NULL)
Definition tree-ssa-loop-ivcanon.cc:86
class loop * outermost_invariant_loop_for_expr(class loop *, tree)
Definition tree-ssa-loop-ivopts.cc:1800
bool contains_abnormal_ssa_name_p(tree)
Definition tree-ssa-loop-ivopts.cc:1010
void dump_uses(FILE *, struct ivopts_data *)
void dump_iv(FILE *, struct iv *)
void dump_cand(FILE *, struct iv_cand *)
Definition tree-ssa-loop-ivopts.cc:853
bool expr_invariant_in_loop_p(class loop *, tree)
Definition tree-ssa-loop-ivopts.cc:1847
bool may_be_nonaddressable_p(tree expr)
Definition tree-ssa-loop-ivopts.cc:2193