be_abi_put_ignore_regs returns now number of ignore registers as unsigned
[libfirm] / ir / be / beprofile.h
index 1d26ec1..ca2c930 100644 (file)
@@ -1,17 +1,34 @@
-/** vim: set sw=4 ts=4:
- * @file   beprofile.h
- * @date   2006-04-06
- * @author Adam M. Szalkowski
- * @cvs-id $Id$
+/*
+ * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
  *
- * Code instrumentation and execution count profiling
+ * This file is part of libFirm.
  *
- * Copyright (C) 2006 Universitaet Karlsruhe
- * Released under the GPL
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
+ *
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
+ *
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ */
+
+/**
+ * @file
+ * @brief       Code instrumentation and execution count profiling.
+ * @author      Adam M. Szalkowski
+ * @date        06.04.2006
+ * @version     $Id$
  */
+#ifndef FIRM_BE_BEPROFILE_H
+#define FIRM_BE_BEPROFILE_H
 
-#ifndef _BEPROFILE_H_
-#define _BEPROFILE_H_
+#include "irgraph.h"
+#include "irnode.h"
 
 /** Additional flags for profiling */
 enum profile_flags {
@@ -49,11 +66,11 @@ unsigned int be_profile_get_block_execcount(const ir_node * block);
 /**
  * Initializes exec_freq structure for an irg based on profile data
  */
-exec_freq_t *be_create_execfreqs_from_profile(ir_graph *irg);
+ir_exec_freq *be_create_execfreqs_from_profile(ir_graph *irg);
 
 /**
  * Tells whether profile module has acquired data
  */
 int be_profile_has_data(void);
 
-#endif /* _BEPROFILE_H_ */
+#endif /* FIRM_BE_BEPROFILE_H */