X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbecopypbqp.h;h=d152dc41bd03c0326a2f703312b0429c2ba2cba7;hb=9e9c84725fd3fcfbcb819d6d6b88f8da91f121a9;hp=87c994f4c90c22f771ea8a23fa3eebffe3bcb334;hpb=04a44481131aeef9e6c67b26a9e76557e6873082;p=libfirm diff --git a/ir/be/becopypbqp.h b/ir/be/becopypbqp.h index 87c994f4c..d152dc41b 100644 --- a/ir/be/becopypbqp.h +++ b/ir/be/becopypbqp.h @@ -8,5 +8,25 @@ #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" +#include "pqueue.h" +#include "beifg.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 + pbqp *pbqp; + bitset_t *ignore_reg; + bitset_t *restricted_nodes; + be_ifg_t *ifg; +}; #endif /* BECOPYPBQP_H_ */