/** Creates a new ir_prog, returns it and sets irp with it.
* Automatically called by init_firm() through init_irprog. */
/** Creates a new ir_prog, returns it and sets irp with it.
* Automatically called by init_firm() through init_irprog. */
/** frees all memory used by irp. Types in type list and irgs in irg
* list must be freed by hand before. */
/** frees all memory used by irp. Types in type list and irgs in irg
* list must be freed by hand before. */
/** Removes irg from the list of irgs, deallocates it and
shrinks the list by one. */
/** Removes irg from the list of irgs, deallocates it and
shrinks the list by one. */
/** Returns the ir graph at position pos in the irp. */
ir_graph *get_irp_irg(int pos);
/** Sets the ir graph at position pos. */
/** Returns the ir graph at position pos in the irp. */
ir_graph *get_irp_irg(int pos);
/** Sets the ir graph at position pos. */
/** Returns the ir graph at position pos of all graphs (including
pseudo graphs). Visits first graphs, then pseudo graphs. */
/** Returns the ir graph at position pos of all graphs (including
pseudo graphs). Visits first graphs, then pseudo graphs. */
/** Removes type from the list of types, deallocates it and
shrinks the list by one. */
/** Removes type from the list of types, deallocates it and
shrinks the list by one. */
/** Returns the type at position pos in the irp. */
ir_type *get_irp_type(int pos);
/** Overwrites the type at position pos with another type. */
/** Returns the type at position pos in the irp. */
ir_type *get_irp_type(int pos);
/** Overwrites the type at position pos with another type. */
/** Returns the mode at position pos in the irp. */
ir_mode *get_irp_mode(int pos);
/** Adds opcode to the list of opcodes in irp. */
/** Returns the mode at position pos in the irp. */
ir_mode *get_irp_mode(int pos);
/** Adds opcode to the list of opcodes in irp. */
/** Removes opcode from the list of opcodes, deallocates it and
shrinks the list by one. */
/** Removes opcode from the list of opcodes, deallocates it and
shrinks the list by one. */
/** Returns the opcode at position pos in the irp. */
ir_op *get_irp_opcode(int pos);
/** Sets the generic function pointer of all opcodes to NULL */
/** Returns the opcode at position pos in the irp. */
ir_op *get_irp_opcode(int pos);
/** Sets the generic function pointer of all opcodes to NULL */
/** Returns a new, unique exception region number. */
ir_exc_region_t get_irp_next_region_nr(void);
/** Returns a new, unique exception region number. */
ir_exc_region_t get_irp_next_region_nr(void);