aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-ivopts.c
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2010-04-26 18:21:17 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2010-04-26 18:21:17 +0000
commit448f65dba370077858a46c17c869c33a12f158a4 (patch)
treeb29bb045ba52e3ce9f6781d3569951a8bdc1e19b /gcc/tree-ssa-loop-ivopts.c
parenta1cbd45d53cf329cef12c2adccba5001a9d399c9 (diff)
downloadgcc-448f65dba370077858a46c17c869c33a12f158a4.zip
gcc-448f65dba370077858a46c17c869c33a12f158a4.tar.gz
gcc-448f65dba370077858a46c17c869c33a12f158a4.tar.bz2
cfgloop.h (struct loop): Move can_be_parallel field up.
* cfgloop.h (struct loop): Move can_be_parallel field up. * ipa-prop.h (struct ip_node_params): Move bitfields up. * tree-ssa-loop-ivopts.c (struct version_info): Move inv_id field down. (struct iv_cand): Convert pos field into a bitfield. * tree-vectorizer.h (struct _loop_vec_info): Move loop_line_number field up. (struct _stmt_vec_info): Shuffle fields for better packing. From-SVN: r158743
Diffstat (limited to 'gcc/tree-ssa-loop-ivopts.c')
-rw-r--r--gcc/tree-ssa-loop-ivopts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c
index a7a9e25..a64950e 100644
--- a/gcc/tree-ssa-loop-ivopts.c
+++ b/gcc/tree-ssa-loop-ivopts.c
@@ -120,8 +120,8 @@ struct version_info
struct iv *iv; /* Induction variable description. */
bool has_nonlin_use; /* For a loop-level invariant, whether it is used in
an expression that is not an induction variable. */
- unsigned inv_id; /* Id of an invariant. */
bool preserve_biv; /* For the original biv, whether to preserve it. */
+ unsigned inv_id; /* Id of an invariant. */
};
/* Types of uses. */
@@ -192,7 +192,7 @@ struct iv_cand
unsigned id; /* The number of the candidate. */
bool important; /* Whether this is an "important" candidate, i.e. such
that it should be considered by all uses. */
- enum iv_position pos; /* Where it is computed. */
+ ENUM_BITFIELD(iv_position) pos : 8; /* Where it is computed. */
gimple incremented_at;/* For original biv, the statement where it is
incremented. */
tree var_before; /* The variable used for it before increment. */