/*
- * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*/
/**
- * Author: Matthias Braun
- * Date: 05.05.2006
- * Copyright: (c) Universitaet Karlsruhe
- * License: This file is protected by GPL - GNU GENERAL PUBLIC LICENSE.
- *
- * Backend irg - a ir_graph with additional analysis information
+ * @file
+ * @brief Backend irg - a ir_graph with additional analysis information.
+ * @author Matthias Braun
+ * @date 05.05.2006
+ * @version $Id$
*/
-#ifndef BEIRG_T_H
-#define BEIRG_T_H
+#ifndef FIRM_BE_BEIRG_T_H
+#define FIRM_BE_BEIRG_T_H
#include "beirg.h"
#include "be_t.h"
+#include "beabi.h"
+#include "irlivechk.h"
/**
* An ir_graph with additional analysis data about this irg. Also includes some
be_lv_t *lv;
};
-static INLINE be_lv_t *
+static inline be_lv_t *
_be_get_birg_liveness(const be_irg_t *birg) {
return birg->lv;
}
-static INLINE ir_exec_freq *
+static inline ir_exec_freq *
_be_get_birg_exec_freq(const be_irg_t *birg) {
return birg->exec_freq;
}
-static INLINE be_dom_front_info_t *
+static inline be_dom_front_info_t *
_be_get_birg_dom_front(const be_irg_t *birg) {
return birg->dom_front;
}
-static INLINE ir_graph *
+static inline ir_graph *
_be_get_birg_irg(const be_irg_t *birg) {
return birg->irg;
}
-static INLINE const arch_env_t *
+static inline const arch_env_t *
_be_get_birg_arch_env(const be_irg_t *birg) {
return birg->main_env->arch_env;
}
#define be_get_birg_dom_front(birg) _be_get_birg_dom_front(birg)
#define be_get_birg_irg(birg) _be_get_birg_irg(birg)
-#endif
+#endif /* FIRM_BE_BEIRG_T_H */