6 /** Create a new ir graph to build a pseudo representation of a procedure.
8 * The pseudo representation can only be used for analyses. It may not be
9 * optimized. Pseudo graphs are kept in a separate graph list in irprog.
11 ir_graph *new_pseudo_ir_graph(entity *ent, int n_loc);
13 /** Returns true ir ir_graph is pseudo graph.
14 * Is irg a pseudo graph for analysis? */
15 int is_pseudo_ir_graph(ir_graph *irg);
17 /** Returns the number of pseudo graphs in the program. */
18 int get_irp_n_pseudo_irgs(void);
20 /** Returns the number of pseudo graphs in the program. */
21 ir_graph *get_irp_pseudo_irg(int pos);
24 /** If set, get_irp_n_irgs and get_irp_irg behave as if all pseudo
25 graphs are in the irg list. If not set, get_entity_irg returns
26 NULL if the entity refers to a pseudo irg. */
27 void set_visit_pseudo_irgs(int x);
28 int get_visit_pseudo_irgs(void);