Fix the binary emitter for Set: The pnc must be massaged a bit, before it can be...
[libfirm] / ir / be / becopypbqp.h
index 87c994f..f1d850c 100644 (file)
@@ -8,5 +8,22 @@
 #ifndef BECOPYPBQP_H_
 #define BECOPYPBQP_H_
 
+#include "plist.h"
+#include "pmap.h"
+#include "be_types.h"
+#include "pbqp_t.h"
+#include "bitset.h"
+#include "bechordal.h"
+
+typedef struct _pbqp_co_t pbqp_co_t;
+
+/* struct for pbqp based copy min. optimization */
+struct _pbqp_co_t {
+       const arch_register_class_t *cls;       // current register class
+       plist_t *rpeo;                                          // reverse perfect elimination order
+       pmap *map;                                                      // contains relation between irn and pbqp node
+       pbqp *pbqp;
+       bitset_t *ignore_reg;
+};
 
 #endif /* BECOPYPBQP_H_ */