#include "array.h"
-/** Returns the number of pseudo graphs in the program. */
+/* Returns the number of pseudo graphs in the program. */
int get_irp_n_pseudo_irgs(void) {
assert (irp && irp->pseudo_graphs);
return ARR_LEN(irp->pseudo_graphs);
}
-/** 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) {
assert(0 <= pos && pos <= get_irp_n_pseudo_irgs());
return irp->pseudo_graphs[pos];
return res;
}
-/** Returns true ir ir_graph is pseudo graph. */
+/* Returns true ir ir_graph is pseudo graph. */
int is_pseudo_ir_graph(ir_graph *irg)
{
int i, n_pseudo_irgs;
/** 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);