* tree-flow-inline.h (loop_containing_stmt): Move to tree-ssa-loop.h.
* tree-scalar-evolution.h (simple_iv): Don't use affive_iv typedef.
* tree-ssa-loop.h: Move includes to top of file.
(loop_containing_stmt): Relocate from tree-flow-inline.h.
*************** may_be_aliased (const_tree var)
|| TREE_ADDRESSABLE (var)));
}
-
- /* Returns the loop of the statement STMT. */
-
- static inline struct loop *
- loop_containing_stmt (gimple stmt)
- {
- basic_block bb = gimple_bb (stmt);
- if (!bb)
- return NULL;
-
- return bb->loop_father;
- }
-
-
-
/* Return true if VAR cannot be modified by the program. */
static inline bool
*************** extern tree resolve_mixers (struct loop
extern void gather_stats_on_scev_database (void);
extern unsigned int scev_const_prop (void);
extern bool expression_expensive_p (tree);
! extern bool simple_iv (struct loop *, struct loop *, tree, affine_iv *, bool);
extern tree compute_overall_effect_of_inner_loop (struct loop *, tree);
/* Returns the basic block preceding LOOP or ENTRY_BLOCK_PTR when the
extern void gather_stats_on_scev_database (void);
extern unsigned int scev_const_prop (void);
extern bool expression_expensive_p (tree);
! extern bool simple_iv (struct loop *, struct loop *, tree, struct affine_iv_d *,
! bool);
extern tree compute_overall_effect_of_inner_loop (struct loop *, tree);
/* Returns the basic block preceding LOOP or ENTRY_BLOCK_PTR when the
*************** along with GCC; see the file COPYING3.
#ifndef GCC_TREE_SSA_LOOP_H
#define GCC_TREE_SSA_LOOP_H
/* Affine iv. */
! typedef struct
{
/* Iv = BASE + STEP * i. */
tree base, step;
#ifndef GCC_TREE_SSA_LOOP_H
#define GCC_TREE_SSA_LOOP_H
+ #include "tree-ssa-loop-im.h"
+ #include "tree-ssa-loop-ivcanon.h"
+ #include "tree-ssa-loop-ivopts.h"
+ #include "tree-ssa-loop-manip.h"
+ #include "tree-ssa-loop-niter.h"
+
/* Affine iv. */
! typedef struct affine_iv_d
{
/* Iv = BASE + STEP * i. */
tree base, step;
*************** struct tree_niter_desc
enum tree_code cmp;
};
! #include "tree-ssa-loop-im.h"
! #include "tree-ssa-loop-ivcanon.h"
! #include "tree-ssa-loop-ivopts.h"
! #include "tree-ssa-loop-manip.h"
! #include "tree-ssa-loop-niter.h"
#endif /* GCC_TREE_SSA_LOOP_H */
enum tree_code cmp;
};
! /* Returns the loop of the statement STMT. */
!
! static inline struct loop *
! loop_containing_stmt (gimple stmt)
! {
! basic_block bb = gimple_bb (stmt);
! if (!bb)
! return NULL;
!
! return bb->loop_father;
! }
#endif /* GCC_TREE_SSA_LOOP_H */