beifg: Collect ifg statistics in one pass instead of two.
[libfirm] / ir / be / beinsn_t.h
index 35c3bf7..507900b 100644 (file)
@@ -1,20 +1,6 @@
 /*
- * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
- *
  * This file is part of libFirm.
- *
- * This file may be distributed and/or modified under the terms of the
- * GNU General Public License version 2 as published by the Free Software
- * Foundation and appearing in the file LICENSE.GPL included in the
- * packaging of this file.
- *
- * Licensees holding valid libFirm Professional Edition licenses may use
- * this file in accordance with the libFirm Commercial License.
- * Agreement provided with the Software.
- *
- * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
- * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE.
+ * Copyright (C) 2012 University of Karlsruhe.
  */
 
 /**
@@ -27,7 +13,6 @@
 
 #include "firm_types.h"
 #include "bitset.h"
-#include "obst.h"
 
 #include "bearch.h"
 #include "bechordal.h"
@@ -36,10 +21,9 @@ typedef struct be_operand_t  be_operand_t;
 typedef struct be_insn_t     be_insn_t;
 
 struct be_operand_t {
-       ir_node *carrier;               /**< node representing the operand value (Proj or the node itself for defs, the used value for uses) */
-       be_operand_t *partner;          /**< used in bechordal later... (TODO what does it do?) */
-       unsigned const *regs;           /**< admissible register bitset */
-       const arch_register_req_t *req; /**< register constraints for the carrier node */
+       ir_node        *carrier; /**< node representing the operand value (Proj or the node itself for defs, the used value for uses) */
+       be_operand_t   *partner; /**< used in bechordal later... (TODO what does it do?) */
+       unsigned const *regs;    /**< admissible register bitset */
 };
 
 struct be_insn_t {
@@ -58,6 +42,6 @@ struct be_insn_t {
  *
  * @return the be_insn for the IR node
  */
-be_insn_t *be_scan_insn(be_chordal_env_t const *env, ir_node *irn);
+be_insn_t *be_scan_insn(be_chordal_env_t *env, ir_node *irn);
 
 #endif /* FIRM_BE_BEINSN_T_H */