void set_opt_if_conversion(int value);
/**
- * Enable/Disable real function call optimization.
+ * Enable/Disable function call optimization.
*
- * Real function call optimization detects "real functions" and
- * allows the floating of Call nodes. A "real function" is one that
+ * Function call optimization detects const and pure functions and
+ * allows the CSE of Call nodes. A const function is one that
* do only evaluate it's parameters and did not read or write memory
- * to compute its results.
+ * to compute its results. Pure functions are allowed to read global memory.
*/
-void set_opt_real_function_call(int value);
+void set_opt_function_call(int value);
/**
* Enable/Disable Confirm node removal during local optimization.
/** If conversion. */
I_FLAG(if_conversion , 20, OFF)
-/** Optimize real function calls. */
-I_FLAG(real_function_call , 21, ON)
+/** Optimize function calls. */
+I_FLAG(function_call , 21, ON)
/** Optimize cast nodes. */
E_FLAG(optimize_class_casts , 22, ON)