X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Fcgana.h;h=0fe65f9d5015800501d42ef4aadd61aa04e752cf;hb=a32d0c48d2bc61a80dfa616eef7d982dde65671b;hp=eba7fbd2eddd14d235e8602f6632dfc0ea55dadd;hpb=93b64cafc0e845edeabb526b304c4cb7b48ea14b;p=libfirm diff --git a/include/libfirm/cgana.h b/include/libfirm/cgana.h index eba7fbd2e..0fe65f9d5 100644 --- a/include/libfirm/cgana.h +++ b/include/libfirm/cgana.h @@ -23,8 +23,7 @@ * @author Hubert Schmid * @date 09.06.2002 * @version $Id$ - * @summary - * @summary + * @brief * Interprocedural analysis to estimate the calling relation. * * This analysis computes all entities representing methods that @@ -36,6 +35,7 @@ #define FIRM_ANA_CGANA_H #include "firm_types.h" +#include "begin.h" /* Methoden sind "frei", wenn ihr Funktionszeiger (potentiell) * "explizit" bekannt ist, d.h.: @@ -76,7 +76,7 @@ * - Replace (Sel-method(Alloc)) by SymConst-entity. * - Replaces Sel-method by SymConst-entity if the method is never overwritten. */ -void cgana(int *len, ir_entity ***free_methods); +FIRM_API size_t cgana(ir_entity ***free_methods); /** Free callee information. * @@ -84,11 +84,13 @@ void cgana(int *len, ir_entity ***free_methods); * in all call nodes to NULL. Else it happens that the field contains * pointers to other than firm arrays. */ -void free_callee_info(ir_graph *irg); -void free_irp_callee_info(void); +FIRM_API void free_callee_info(ir_graph *irg); +FIRM_API void free_irp_callee_info(void); /* Optimize the address expressions passed to call nodes. * Performs only the optimizations done by cgana. */ -void opt_call_addrs(void); +FIRM_API void opt_call_addrs(void); + +#include "end.h" #endif