X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Fanalyze_irg_args.h;h=1323b34ba5cde56379c835aa5239b57c1f708e53;hb=95afc5aaefb484a67fb89f02b5e96cc302fe02ef;hp=6819221799d5b060c87a356e24e6bd963ba0c936;hpb=3ae131caac6408de9b9ad404f1fc33a897c84a0e;p=libfirm diff --git a/ir/ana/analyze_irg_args.h b/ir/ana/analyze_irg_args.h index 681922179..1323b34ba 100644 --- a/ir/ana/analyze_irg_args.h +++ b/ir/ana/analyze_irg_args.h @@ -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