/*
- * 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.
*
* 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"
*/
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 */