X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fstat%2Fpattern_dmp.h;h=244eb3ac6d56c2992d8a271b9deef7e33be1a18a;hb=04321ea9f9ac1185bd7092813c34683aa15cd05f;hp=0cd976602cfe99353c8efa77ec9f3b9d6364f697;hpb=eb08138c6b80c169945568e4414f491a9bc20388;p=libfirm diff --git a/ir/stat/pattern_dmp.h b/ir/stat/pattern_dmp.h index 0cd976602..244eb3ac6 100644 --- a/ir/stat/pattern_dmp.h +++ b/ir/stat/pattern_dmp.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -17,8 +17,14 @@ * PURPOSE. */ -#ifndef _PATTERN_DMP_H_ -#define _PATTERN_DMP_H_ +/** + * @file + * @brief Statistics for Firm. Dumping patterns. + * @author Michael Beck + * @version $Id$ + */ +#ifndef FIRM_STAT_PATTERN_DMP_H +#define FIRM_STAT_PATTERN_DMP_H #include "counter.h" @@ -82,4 +88,14 @@ pattern_dumper_t *new_text_dumper(void); */ pattern_dumper_t *new_vcg_dumper(const char *vcg_name, unsigned max_pattern); -#endif /* _PATTERN_DMP_H_ */ +/** + * 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 */