struct ir_node *cstore; /**< constant store -- no more needed!! */
struct ir_node *frame; /**< method's frame */
struct ir_node *globals; /**< pointer to the data segment containing all
- globals as well as global procedures. */
+ globals as well as global procedures. */
struct ir_node *initial_mem; /**< initial memory of this graph */
struct ir_node *args; /**< methods arguments */
struct ir_node **proj_args; /**< projs of the methods arguments */
struct ir_node *bad; /**< bad node of this ir_graph, the one and
only in this graph */
struct ir_node *no_mem; /**< NoMem node of this ir_graph, the one and
- only in this graph */
+ only in this graph */
/* GL removed: we need unknown with mode for analyses. */
/* struct ir_node *unknown;*/ /**< unknown node of this ir_graph */
struct obstack *obst; /**< obstack where all of the ir_nodes live */
- struct ir_node *current_block; /**< block for newly gen_*()-erated
- ir_nodes */
+ struct ir_node *current_block; /**< block for newly gen_*()-erated ir_nodes */
+ struct obstack *extbb_obst; /**< obstack for extended basic block info */
/* -- Fields indicating different states of irgraph -- */
irg_phase_state phase_state; /**< compiler phase */
irg_callee_info_state callee_info_state; /**< Validity of callee information */
irg_inline_property inline_property; /**< How to handle inlineing. */
irg_loopinfo_state loopinfo_state; /**< state of loop information */
- exec_freq_state execfreq_state; /**< state of execution freqency information */
+ exec_freq_state execfreq_state; /**< state of execution frequency information */
ir_class_cast_state class_cast_state; /**< kind of cast operations in code. */
+ irg_extblk_info_state extblk_state; /**< state of extended basic block info */
/* -- Fields for construction -- */
#if USE_EXPLICIT_PHI_IN_STACK
struct ir_node **outs; /**< Space for the out arrays. */
#ifdef DEBUG_libfirm
- int n_outs; /* < Size wasted for outs */
+ int n_outs; /**< Size wasted for outs */
#endif /* defined DEBUG_libfirm */
struct ir_loop *loop; /**< The outermost loop */
void *link; /**< A void* field to link any information to
irg->loopinfo_state = s;
}
+static INLINE void
+_set_irg_loopinfo_inconsistent(ir_graph *irg) {
+ irg->loopinfo_state &= ~loopinfo_valid;
+}
+
static INLINE void
_set_irg_pinned(ir_graph *irg, op_pin_state p) {
irg->op_pin_state_pinned = p;
#define set_irg_dom_inconsistent(irg) _set_irg_dom_inconsistent(irg)
#define get_irg_loopinfo_state(irg) _get_irg_loopinfo_state(irg)
#define set_irg_loopinfo_state(irg, s) _set_irg_loopinfo_state(irg, s)
+#define set_irg_loopinfo_inconsistent(irg) _set_irg_loopinfo_inconsistent(irg)
#define set_irg_pinned(irg, p) _set_irg_pinned(irg, p)
#define get_irg_callee_info_state(irg) _get_irg_callee_info_state(irg)
#define set_irg_callee_info_state(irg, s) _set_irg_callee_info_state(irg, s)