used new verify_node operation
[libfirm] / ir / ir / irflag_t.h
index 7e14ac9..4341c39 100644 (file)
@@ -92,6 +92,12 @@ typedef enum {
   /** Optimize Fragile OPs */
   OPT_FRAGILE_OPS                        = 0x00080000,
 
+  /** If conversion. */
+  OPT_IF_CONVERSION                      = 0x00100000,
+
+  /** Optimize real function calls. */
+  OPT_REAL_FUNC_CALL                     = 0x00200000,
+
   /** Turn off all optimizations. */
   OPT_OPTIMIZED                          = 0x40000000,
 
@@ -219,7 +225,7 @@ static INLINE int get_opt_inline(void)
   return libFIRM_opt & OPT_INLINE;
 }
 
-static INLINE int get_opt_dyn_meth_dispatch(void)
+static INLINE int _get_opt_dyn_meth_dispatch(void)
 {
   return libFIRM_opt & OPT_DYN_METH_DISPATCH;
 }
@@ -253,8 +259,20 @@ static INLINE int get_opt_fragile_ops(void)
   return libFIRM_opt & OPT_FRAGILE_OPS;
 }
 
+/** Returns if conversion setting. */
+static INLINE int get_opt_if_conversion(void)
+{
+  return libFIRM_opt & OPT_IF_CONVERSION;
+}
+
+/** Returns real function call optimization setting. */
+static INLINE int get_opt_real_func_call(void)
+{
+  return libFIRM_opt & OPT_REAL_FUNC_CALL;
+}
 
-#define get_opt_cse()          _get_opt_cse()
-#define get_firm_verbosity()   _get_firm_verbosity()
+#define get_opt_cse()                 _get_opt_cse()
+#define get_firm_verbosity()          _get_firm_verbosity()
+#define get_opt_dyn_meth_dispatch()   _get_opt_dyn_meth_dispatch()
 
 #endif /* _IRFLAG_T_H_ */