workaround
[libfirm] / ir / ana / analyze_irg_args.h
index 6819221..1323b34 100644 (file)
@@ -1,15 +1,30 @@
 /*
- * Project:     libFIRM
- * File name:   ir/ana/analyze_irg_args.h
- * Purpose:     rea/write analyze of graph argument, which have mode reference.
- * Author:      Beyhan Veliev
- * Created:
- * CVS-ID:      $Id$
- * Copyright:   (c) 1998-2005 Universität Karlsruhe
- * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
+ * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * 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     read/write analyze of graph argument, which have mode reference
+ * @author    Beyhan Veliev
+ * @version   $Id$
  */
-#ifndef _ANALYZE_IRG_ARGS_H_
-#define _ANALYZE_IRG_ARGS_H_
+#ifndef FIRM_ANA_ANALYZE_IRG_ARGS_H
+#define FIRM_ANA_ANALYZE_IRG_ARGS_H
 
 #include "irgraph.h"
 #include "entity.h"
@@ -25,7 +40,7 @@
  * If the pos'th parameter is NOT of a pointer type, ptr_access_none
  * is returned;
  */
-ptr_access_kind get_method_param_access(entity *ent, int pos);
+ptr_access_kind get_method_param_access(ir_entity *ent, int pos);
 
 /**
  * Analyze how pointer arguments of a given
@@ -42,7 +57,7 @@ void analyze_irg_args(ir_graph *irg);
  *
  * The values are calculation on demand only.
  */
-float get_method_param_weight(entity *ent, int pos);
+float get_method_param_weight(ir_entity *ent, int pos);
 
 /**
  * Analyze the parameters of a given ir graph.
@@ -51,4 +66,4 @@ float get_method_param_weight(entity *ent, int pos);
  */
 void analyze_irg_args_weight(ir_graph *irg);
 
-#endif /*_ANALYZE_IRG_ARGS_H_ */
+#endif