X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Fpseudo_irg.h;h=2e7052b446dedc81b8720fa70f9a943facf1ac3e;hb=0952881a2714f8ec2e87a6f4829bd55f41a0c68d;hp=a57f2b41bb119bef1805bf4508d72ec06cf88363;hpb=c22a0b7a84498ebf4a0857b8be4d8622850e9cb7;p=libfirm diff --git a/ir/ir/pseudo_irg.h b/ir/ir/pseudo_irg.h index a57f2b41b..2e7052b44 100644 --- a/ir/ir/pseudo_irg.h +++ b/ir/ir/pseudo_irg.h @@ -12,21 +12,19 @@ * 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. * * 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(entity *ent, int n_loc); +ir_graph *new_pseudo_ir_graph(ir_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); @@ -43,4 +41,4 @@ ir_graph *get_irp_pseudo_irg(int pos); void set_visit_pseudo_irgs(int x); int get_visit_pseudo_irgs(void); -#endif +#endif /* _FIRM_IR_PSEUDO_IRG_H_ */