X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Fpseudo_irg.h;h=59c7277e4970de7dcd2834b5e8a4cd025b7f5a41;hb=c021732d2f0c04113e6afd153a7a9be38e40ca6f;hp=1ac87562d18d5801b012df46b6463b5b2011c2a6;hpb=ea75e9d38674b468f602a0699fb64b9c01254797;p=libfirm diff --git a/include/libfirm/pseudo_irg.h b/include/libfirm/pseudo_irg.h index 1ac87562d..59c7277e4 100644 --- a/include/libfirm/pseudo_irg.h +++ b/include/libfirm/pseudo_irg.h @@ -29,30 +29,34 @@ #include "firm_types.h" +#include "begin.h" + /** Create a new ir graph to build a pseudo representation of a procedure. * * The pseudo representation can only be used for analyses. It may not be * optimized. Pseudo graphs are kept in a separate graph list in irprog. */ -ir_graph *new_pseudo_ir_graph(ir_entity *ent, int n_loc); +FIRM_DLL ir_graph *new_pseudo_ir_graph(ir_entity *ent, int n_loc); /** Returns non-zero ir ir_graph is pseudo graph. * Is irg a pseudo graph for analysis? */ -int is_pseudo_ir_graph(ir_graph *irg); +FIRM_DLL int is_pseudo_ir_graph(ir_graph *irg); /** Returns the number of pseudo graphs in the program. */ -int get_irp_n_pseudo_irgs(void); +FIRM_DLL int get_irp_n_pseudo_irgs(void); /** Add a graph as pseudo irg */ -void add_irp_pseudo_irg(ir_graph *irg); +FIRM_DLL void add_irp_pseudo_irg(ir_graph *irg); /** Returns the pos'th pseudo graph in the program. */ -ir_graph *get_irp_pseudo_irg(int pos); +FIRM_DLL ir_graph *get_irp_pseudo_irg(int pos); /** If set, get_irp_n_irgs() and get_irp_irg() behave as if all pseudo graphs are in the irg list. If not set, get_entity_irg() returns NULL if the entity refers to a pseudo irg. */ -void set_visit_pseudo_irgs(int x); -int get_visit_pseudo_irgs(void); +FIRM_DLL void set_visit_pseudo_irgs(int x); +FIRM_DLL int get_visit_pseudo_irgs(void); + +#include "end.h" #endif