projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignore generated files.
[libfirm]
/
ir
/
ir
/
iropt_t.h
diff --git
a/ir/ir/iropt_t.h
b/ir/ir/iropt_t.h
index
0345b73
..
cc54521
100644
(file)
--- 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
#ifndef FIRM_IR_IROPT_T_H
#define FIRM_IR_IROPT_T_H
+#include <stdbool.h>
#include "irop_t.h"
#include "iropt.h"
#include "irnode_t.h"
#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);
*/
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
#endif