X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbecopypbqp.h;h=f1d850c27c973358d67572e437689f3490813e00;hb=a8029325c2313fe536c3b23c59cf92fa145840a4;hp=87c994f4c90c22f771ea8a23fa3eebffe3bcb334;hpb=04a44481131aeef9e6c67b26a9e76557e6873082;p=libfirm diff --git a/ir/be/becopypbqp.h b/ir/be/becopypbqp.h index 87c994f4c..f1d850c27 100644 --- a/ir/be/becopypbqp.h +++ b/ir/be/becopypbqp.h @@ -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_ */