* basic-block.h (struct edge_prediction): Remove forward
declaration.
* tree-flow.h (struct edge_prediction): Move from here...
* predict.c (struct edge_prediction): ...to here.
* cselib.h (struct elt_list): Move from here...
* cselib.c (struct elt_list): ...to here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167409
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-12-03 Laurynas Biveinis <laurynas.biveinis@gmail.com>
+
+ * basic-block.h (struct edge_prediction): Remove forward
+ declaration.
+ * tree-flow.h (struct edge_prediction): Move from here...
+ * predict.c (struct edge_prediction): ...to here.
+ * cselib.h (struct elt_list): Move from here...
+ * cselib.c (struct elt_list): ...to here.
+
2010-12-02 Ian Lance Taylor <iant@google.com>
* gcc.c (default_compilers): Add entry for ".go".
struct loop;
/* Declared in tree-flow.h. */
-struct edge_prediction;
struct rtl_bb_info;
/* A basic block is a sequence of instructions with only entry and
#include "target.h"
#include "bitmap.h"
+/* A list of cselib_val structures. */
+struct elt_list {
+ struct elt_list *next;
+ cselib_val *elt;
+};
+
static bool cselib_record_memory;
static bool cselib_preserve_constants;
static int entry_and_rtx_equal_p (const void *, const void *);
rtx setting_insn;
};
-/* A list of cselib_val structures. */
-struct elt_list {
- struct elt_list *next;
- cselib_val *elt;
-};
-
/* Describe a single set that is part of an insn. */
struct cselib_set
{
static struct pointer_map_t *bb_predictions;
+/* Structure representing predictions in tree level. */
+
+struct edge_prediction {
+ struct edge_prediction *ep_next;
+ edge ep_edge;
+ enum br_predictor ep_predictor;
+ int ep_probability;
+};
+
/* Return true if the one of outgoing edges is already predicted by
PREDICTOR. */
static inline void update_stmt (gimple);
static inline int get_lineno (const_gimple);
-/*---------------------------------------------------------------------------
- Structure representing predictions in tree level.
----------------------------------------------------------------------------*/
-struct edge_prediction {
- struct edge_prediction *ep_next;
- edge ep_edge;
- enum br_predictor ep_predictor;
- int ep_probability;
-};
-
/* Accessors for basic block annotations. */
static inline gimple_seq phi_nodes (const_basic_block);
static inline void set_phi_nodes (basic_block, gimple_seq);