X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Fpseudo_irg.h;h=5c6a3fee2b111dbb1c2dbea98fe1058f35bb4618;hb=e1c33a238578342a072e1c95ff12eefe6d0acd37;hp=c2229e3c9e7d4703ccfc9d3cc5c2f13ddfd55bdf;hpb=8f4f876b569fd35d0d9f182f968df5614b866415;p=libfirm diff --git a/ir/ir/pseudo_irg.h b/ir/ir/pseudo_irg.h index c2229e3c9..5c6a3fee2 100644 --- a/ir/ir/pseudo_irg.h +++ b/ir/ir/pseudo_irg.h @@ -12,12 +12,10 @@ * Licence: This file is protected by GPL - GNU GENERAL PUBLIC LICENSE. */ -#ifndef __PSEUDO_IRG_H__ -#define __PSEUDO_IRG_H__ - -#include "entity.h" -#include "irgraph.h" +#ifndef _FIRM_IR_PSEUDO_IRG_H_ +#define _FIRM_IR_PSEUDO_IRG_H_ +#include "firm_types.h" /** Create a new ir graph to build a pseudo representation of a procedure. * @@ -26,21 +24,21 @@ */ ir_graph *new_pseudo_ir_graph(entity *ent, int n_loc); -/** Returns true ir ir_graph is pseudo graph. +/** Returns non-zero ir ir_graph is pseudo graph. * Is irg a pseudo graph for analysis? */ int is_pseudo_ir_graph(ir_graph *irg); /** Returns the number of pseudo graphs in the program. */ int get_irp_n_pseudo_irgs(void); -/** Returns the number of pseudo graphs in the program. */ +/** Returns the pos'th pseudo graph in the program. */ 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 +/** 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); -#endif +#endif /* _FIRM_IR_PSEUDO_IRG_H_ */