be_abi_put_ignore_regs returns now number of ignore registers as unsigned
[libfirm] / ir / be / beirg_t.h
index 7041542..babc5ae 100644 (file)
  */
 
 /**
- * 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 "irlivechk.h"
 
 /**
  * An ir_graph with additional analysis data about this irg. Also includes some
@@ -43,6 +43,7 @@ struct be_irg_t {
        ir_exec_freq           *exec_freq;
        be_dom_front_info_t    *dom_front;
        be_lv_t                *lv;
+       lv_chk_t               *lv_chk;
 };
 
 static INLINE be_lv_t *
@@ -50,6 +51,11 @@ _be_get_birg_liveness(const be_irg_t *birg) {
        return birg->lv;
 }
 
+static INLINE lv_chk_t *
+_be_get_birg_liveness_chk(const be_irg_t *birg) {
+       return birg->lv_chk;
+}
+
 static INLINE ir_exec_freq *
 _be_get_birg_exec_freq(const be_irg_t *birg) {
        return birg->exec_freq;
@@ -72,7 +78,8 @@ _be_get_birg_arch_env(const be_irg_t *birg) {
 
 #define be_get_birg_exec_freq(birg)        _be_get_birg_exec_freq(birg)
 #define be_get_birg_liveness(birg)         _be_get_birg_liveness(birg)
+#define be_get_birg_liveness_chk(birg)     _be_get_birg_liveness_chk(birg)
 #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 */