X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Fanalyze_irg_args.h;h=7e82d179e2701f112912e587896567d1268f109e;hb=2624fd65233bcb621cfbbf7dae1a1502a3d8bc75;hp=84019ebb0322072b326c6517ae25489cc937ce62;hpb=824ddb408c01392ae1c6bc4e09d841e3279382ca;p=libfirm diff --git a/include/libfirm/analyze_irg_args.h b/include/libfirm/analyze_irg_args.h index 84019ebb0..7e82d179e 100644 --- a/include/libfirm/analyze_irg_args.h +++ b/include/libfirm/analyze_irg_args.h @@ -21,7 +21,6 @@ * @file * @brief read/write analyze of graph argument, which have mode reference * @author Beyhan Veliev - * @version $Id$ */ #ifndef FIRM_ANA_ANALYZE_IRG_ARGS_H #define FIRM_ANA_ANALYZE_IRG_ARGS_H @@ -29,6 +28,7 @@ #include "irgraph.h" #include "firm_types.h" #include "typerep.h" +#include "begin.h" /** * Returns for a method with pointer parameter @@ -41,7 +41,7 @@ * If the pos'th parameter is NOT of a pointer type, ptr_access_none * is returned; */ -ptr_access_kind get_method_param_access(ir_entity *ent, int pos); +FIRM_API ptr_access_kind get_method_param_access(ir_entity *ent, size_t pos); /** * Analyze how pointer arguments of a given @@ -49,7 +49,7 @@ ptr_access_kind get_method_param_access(ir_entity *ent, int pos); * * @param irg The ir graph to analyze. */ -void analyze_irg_args(ir_graph *irg); +FIRM_API void analyze_irg_args(ir_graph *irg); /** * Returns for a method the 'weight' that every parameter @@ -58,13 +58,15 @@ void analyze_irg_args(ir_graph *irg); * * The values are calculation on demand only. */ -unsigned get_method_param_weight(ir_entity *ent, int pos); +FIRM_API unsigned get_method_param_weight(ir_entity *ent, size_t pos); /** * Analyze the parameters of a given ir graph. * * @param irg The ir graph to analyze. */ -void analyze_irg_args_weight(ir_graph *irg); +FIRM_API void analyze_irg_args_weight(ir_graph *irg); + +#include "end.h" #endif