X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firopt.h;h=941d8836c0279505a01938bda3eae39da6554b0b;hb=cb91bddc9cacdab7c28e4336847bd3dc248aa549;hp=835e1dbe554e9ea7beab6bae12cf39b34349e6ae;hpb=c2b4a9f3d77fda7989e9cbd6293b9f9f58f4221c;p=libfirm diff --git a/ir/ir/iropt.h b/ir/ir/iropt.h index 835e1dbe5..941d8836c 100644 --- a/ir/ir/iropt.h +++ b/ir/ir/iropt.h @@ -29,7 +29,7 @@ /** If the expression referenced can be evaluated statically * computed_value returns a tarval representing the result. * Else returns tarval_bad. */ -tarval *computed_value (ir_node *n); +tarval *computed_value (ir_node *n); /** Applies all optimizations to n that are expressible as a pattern * in Firm, i.e., they need not a walk of the graph. @@ -41,4 +41,9 @@ tarval *computed_value (ir_node *n); */ ir_node *optimize_in_place (ir_node *n); +/** + * set the default ir op operations + */ +ir_op *firm_set_default_operations(ir_op *op); + # endif /* _IROPT_H_ */