X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firprog.h;h=9da39be90089bf971fdd6a04c8e2074644379609;hb=cb2216c4f25f3999bf5718e7a2cb4523263fa474;hp=144465bc344da9a6919455361a01defa0873dd16;hpb=d217f68a9e53ec6e800ae31ca3af8ed8b6f9ece9;p=libfirm diff --git a/include/libfirm/irprog.h b/include/libfirm/irprog.h index 144465bc3..9da39be90 100644 --- a/include/libfirm/irprog.h +++ b/include/libfirm/irprog.h @@ -163,16 +163,6 @@ FIRM_API ir_graph *get_irp_main_irg(void); /** Sets the main routine of the compiled program. */ FIRM_API void set_irp_main_irg(ir_graph *main_irg); -/** Adds irg to the list of ir graphs in the current irp. */ -FIRM_API void add_irp_irg(ir_graph *irg); - -/** Removes irg from the list of irgs and - shrinks the list by one. */ -FIRM_API void remove_irp_irg_from_list(ir_graph *irg); -/** Removes irg from the list of irgs, deallocates it and - shrinks the list by one. */ -FIRM_API void remove_irp_irg(ir_graph *irg); - /** returns the biggest not used irg index number */ FIRM_API size_t get_irp_last_idx(void); @@ -230,28 +220,6 @@ FIRM_API ir_type *get_irp_type(size_t pos); */ FIRM_API void set_irp_type(size_t pos, ir_type *typ); -/** Returns the number of all modes in the irp. */ -FIRM_API size_t get_irp_n_modes(void); - -/** Returns the mode at position pos in the irp. */ -FIRM_API ir_mode *get_irp_mode(size_t pos); - -/** Adds opcode to the list of opcodes in irp. */ -FIRM_API void add_irp_opcode(ir_op *opcode); - -/** Removes opcode from the list of opcodes, deallocates it and - shrinks the list by one. */ -FIRM_API void remove_irp_opcode(ir_op *opcode); - -/** Returns the number of all opcodes in the irp. */ -FIRM_API size_t get_irp_n_opcodes(void); - -/** Returns the opcode at position pos in the irp. */ -FIRM_API ir_op *get_irp_opcode(size_t pos); - -/** Sets the generic function pointer of all opcodes to NULL */ -FIRM_API void clear_irp_opcodes_generic_func(void); - /** Returns the graph for global constants of the current irp. * * Returns an irgraph that only contains constant expressions for @@ -265,29 +233,6 @@ FIRM_API void clear_irp_opcodes_generic_func(void); */ FIRM_API ir_graph *get_const_code_irg(void); -/** The phase state for the program. - * - * The phase state of the whole program is - * building: if at least one graph is state_building - * or one type is incomplete. - * high: all graphs are in state high or low, all types are constructed. - * low: all graphs are in state low, all types are in state layout fixed. - */ -FIRM_API irg_phase_state get_irp_phase_state(void); -/** Sets the phase state of the program */ -FIRM_API void set_irp_phase_state(irg_phase_state s); - -/** - * Creates an ir_prog pass for set_irp_phase_state(). - * - * @param name the name of this pass or NULL - * @param state the state to set - * - * @return the newly created ir_prog pass - */ -FIRM_API ir_prog_pass_t *set_irp_phase_state_pass(const char *name, - irg_phase_state state); - /** Returns callee info state for the whole program. * @see get_irg_callee_info_state() */ FIRM_API irg_callee_info_state get_irp_callee_info_state(void); @@ -307,12 +252,6 @@ FIRM_API size_t get_irp_n_asms(void); /** Returns the global asm include at position pos. */ FIRM_API ident *get_irp_asm(size_t pos); -/** Returns whether optimization dump vcg graphs */ -FIRM_API int get_irp_optimization_dumps(void); - -/** Enable vcg dumping of optimization */ -FIRM_API void enable_irp_optimization_dumps(void); - /** @} */ #include "end.h"