* @author Sebastian Hack
* @date 13.1.2005
*/
-
#ifndef _BERA_H
#define _BERA_H
#include "firm_config.h"
-#ifdef WITH_LIBCORE
#include <libcore/lc_timing.h>
-#endif
#include "firm_types.h"
#include "beirg.h"
#include "bemodule.h"
-#ifdef WITH_LIBCORE
-
typedef struct {
lc_timer_t *t_prolog; /**< timer for prolog */
lc_timer_t *t_epilog; /**< timer for epilog */
} be_ra_timer_t;
extern be_ra_timer_t *global_ra_timer;
-#else
-typedef void *be_ra_timer_t;
-typedef void *lc_opt_entry_t;
-#endif /* WITH_LIBCORE */
typedef struct be_ra_t {
void (*allocate)(be_irg_t *bi); /**< allocate registers on a graph */
*/
int value_dominates(const ir_node *a, const ir_node *b);
+/**
+ * Like value_dominates(), but the nodes have to be in the same block
+ */
+int value_dominates_intrablock(const ir_node *a, const ir_node *b);
+
#endif /* _BERA_H */