X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Ffirmstat.h;h=94953d90bfa58a11f7356d3e78998b942be018c4;hb=544b8de70c3b5961b5ba6e0d9781306e0123502c;hp=57126895c27a8a94f4e8d82b404302a4534e5d6f;hpb=a6843eac460ff486a0e7831598a769a6b91be93f;p=libfirm diff --git a/include/libfirm/firmstat.h b/include/libfirm/firmstat.h index 57126895c..94953d90b 100644 --- a/include/libfirm/firmstat.h +++ b/include/libfirm/firmstat.h @@ -54,6 +54,7 @@ enum firmstat_optimizations_t { FS_OPT_ADD_SUB, /**< (a + x) - x = (a - x) + x */ FS_OPT_ADD_MUL_A_X_A, /**< a * x + a = a * (x + 1) */ FS_OPT_SUB_0_A, /**< 0 - a = -a */ + FS_OPT_MINUS_SUB, /**< - (a - b) = b - a */ FS_OPT_SUB_MUL_A_X_A, /**< a * x - a = a * (x - 1) */ FS_OPT_SUB_SUB_X_Y_Z, /**< (x - y) - z = x - (y + z) */ FS_OPT_MUL_MINUS_1, /**< a * -1 = -a */ @@ -80,7 +81,9 @@ enum firmstat_optimizations_t { FS_OPT_MUX_TO_SHR, /**< Mux(a > b, a, b) = a >> b */ FS_OPT_IDEM_UNARY, /**< Idempotent unary operation */ FS_OPT_MINUS_NOT, /**< -(~x) = x + 1 */ - FS_OPT_NOT_MINUS_1, /**< ~(x-1) = -x */ + FS_OPT_NOT_MINUS_1, /**< ~(x - 1) = -x */ + FS_OPT_NOT_PLUS_1, /**< ~x + 1 = -x */ + FS_OPT_FP_INV_MUL, /**< x / y = x * (1.0/y) */ FS_OPT_CONST_PHI, /**< Constant evaluation on Phi */ FS_BE_IA32_LEA, /**< Lea was created */ FS_BE_IA32_LOAD_LEA, /**< Load merged with a Lea */