11 #ifndef FIRM_IR_IROPT_H 12 #define FIRM_IR_IROPT_H 14 #include "firm_types.h" int ir_is_negated_value(const ir_node *a, const ir_node *b)
checks whether 1 value is the negated other value
struct ir_tarval ir_tarval
Target Machine Value.
int ir_imprecise_float_transforms_allowed(void)
return 1 if imprecise float transformations are allowed.
ir_relation
Relations for comparing numbers.
ir_node * optimize_in_place(ir_node *n)
Applies all optimizations to n that are expressible as a pattern in Firm, i.e., they need not a walk ...
ir_tarval * computed_value(const ir_node *n)
If the expression referenced can be evaluated statically computed_value returns a tarval representing...
struct ir_node ir_node
Procedure Graph Node.
void ir_allow_imprecise_float_transforms(int enable)
enable/disable imprecise floatingpoint optimizations.
ir_relation ir_get_possible_cmp_relations(const ir_node *left, const ir_node *right)
(conservatively) approximates all possible relations when comparing the value left and right ...