X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fstat%2Fpattern_dmp.h;h=244eb3ac6d56c2992d8a271b9deef7e33be1a18a;hb=bb5c6d5ce2e35c4074900017f8c8e1a4935054d0;hp=95202512e75b8358a52c41551f8c75f562092022;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/ir/stat/pattern_dmp.h b/ir/stat/pattern_dmp.h index 95202512e..244eb3ac6 100644 --- a/ir/stat/pattern_dmp.h +++ b/ir/stat/pattern_dmp.h @@ -88,4 +88,14 @@ pattern_dumper_t *new_text_dumper(void); */ pattern_dumper_t *new_vcg_dumper(const char *vcg_name, unsigned max_pattern); +/** + * return the mode index, only needed for statistics + */ +int stat_find_mode_index(const ir_mode *m); + +/** + * return the mode for a given index, only needed for statistics + */ +ir_mode *stat_mode_for_index(int idx); + #endif /* FIRM_STAT_PATTERN_DMP_H */