tree-ssa-loop-ivopts.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /* Header file for Induction variable optimizations.
  2. Copyright (C) 2013-2015 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC is free software; you can redistribute it and/or modify it under
  5. the terms of the GNU General Public License as published by the Free
  6. Software Foundation; either version 3, or (at your option) any later
  7. version.
  8. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  9. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  11. for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GCC; see the file COPYING3. If not see
  14. <http://www.gnu.org/licenses/>. */
  15. #ifndef GCC_TREE_SSA_LOOP_IVOPTS_H
  16. #define GCC_TREE_SSA_LOOP_IVOPTS_H
  17. extern edge single_dom_exit (struct loop *);
  18. extern void dump_iv (FILE *, struct iv *);
  19. extern void dump_use (FILE *, struct iv_use *);
  20. extern void dump_uses (FILE *, struct ivopts_data *);
  21. extern void dump_cand (FILE *, struct iv_cand *);
  22. extern bool contains_abnormal_ssa_name_p (tree);
  23. extern struct loop *outermost_invariant_loop_for_expr (struct loop *, tree);
  24. extern bool expr_invariant_in_loop_p (struct loop *, tree);
  25. bool may_be_nonaddressable_p (tree expr);
  26. bool multiplier_allowed_in_address_p (HOST_WIDE_INT, machine_mode,
  27. addr_space_t);
  28. void tree_ssa_iv_optimize (void);
  29. #endif /* GCC_TREE_SSA_LOOP_IVOPTS_H */