/**
* @file
- * @brief Optimisations
+ * @brief Available Optimisations of libFirm.
* @version $Id: cfopt.h 13543 2007-04-29 19:29:02Z beck $
*/
#ifndef FIRM_IROPTIMIZE_H
void optimize_cf(ir_graph *irg);
/**
- * Perform partial conditionla evaluation on the given graph.
+ * Perform partial conditional evaluation on the given graph.
*
* @param irg the graph
*/
/**
* The parameters structure.
*/
-typedef struct _opt_if_conv_info_t {
- int max_depth; /**< The maximum depth up to which expressions
- are examined when it has to be decided if they
- can be placed into another block. */
- arch_allow_ifconv_func allow_ifconv; /**< Evaluator function, if not set all possible Psi
- nodes will be created. */
-} opt_if_conv_info_t;
+struct ir_settings_if_conv_t {
+ int max_depth; /**< The maximum depth up to which expressions
+ are examined when it has to be decided if they
+ can be placed into another block. */
+ arch_allow_ifconv_func allow_ifconv; /**< Evaluator function, if not set all possible Psi
+ nodes will be created. */
+};
/**
* Perform If conversion on a graph.
* Cannot handle blocks with Bad control predecessors, so call it after control
* flow optimization.
*/
-void opt_if_conv(ir_graph *irg, const opt_if_conv_info_t *params);
+void opt_if_conv(ir_graph *irg, const ir_settings_if_conv_t *params);
void opt_ldst2(ir_graph *irg);