X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firopt_t.h;h=cc54521a07dc64a58915572a9f3f3bacefad15f7;hb=6b124543aff56817fcfe6d5b5ff181ac5c790e73;hp=0345b738d1d80a4d96d14887da1ef4997baccb02;hpb=00ac040bae07059a0dc7ed804c424702a1fcaa36;p=libfirm diff --git a/ir/ir/iropt_t.h b/ir/ir/iropt_t.h index 0345b738d..cc54521a0 100644 --- a/ir/ir/iropt_t.h +++ b/ir/ir/iropt_t.h @@ -26,6 +26,7 @@ #ifndef FIRM_IR_IROPT_T_H #define FIRM_IR_IROPT_T_H +#include #include "irop_t.h" #include "iropt.h" #include "irnode_t.h" @@ -131,4 +132,9 @@ value_of(const ir_node *n) { */ ir_op_ops *firm_set_default_operations(ir_opcode code, ir_op_ops *ops); +/** + * Returns true if a == -b + */ +bool is_negated_value(ir_node *a, ir_node *b); + #endif