X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firgopt.h;h=f64f7ecca7150cc5615156d9e9b244aecbb61f51;hb=5f8ddee6b08c8040c0a304a347d65045c1141d52;hp=624e6287f7a6f8c1ea3a5dc97039b9473ba4de0f;hpb=2fa17934abe60b32409bf3b797ec3aa675a1b1a0;p=libfirm diff --git a/ir/ir/irgopt.h b/ir/ir/irgopt.h index 624e6287f..f64f7ecca 100644 --- a/ir/ir/irgopt.h +++ b/ir/ir/irgopt.h @@ -1,7 +1,7 @@ -/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe +/* Copyright (C) 1998 - 2001 by Universitaet Karlsruhe ** All rights reserved. ** -** Author: Christian Schaefer +** Author: Christian Schaefer, Goetz Lindenmaier ** ** Optimizations for a whole ir graph, i.e., a procedure. */ @@ -11,10 +11,14 @@ # include "irgraph.h" -/* Applies local optimizations (see iropt) to all nodes in the graph. */ +/* Applies local optimizations (see iropt.h) to all nodes in the graph. */ void local_optimize_graph (ir_graph *irg); -/* Performs dead node elimination by copying the ir graph to a new obstack. */ +/* Performs dead node elimination by copying the ir graph to a new obstack. + Further removes Bad predecesors from Blocks and the corresponding + inputs to Phi nodes. + Attention: the numbers assigned to nodes if the library is compiled for + development/debugging are not conserved by copying. */ void dead_node_elimination(ir_graph *irg); # endif /* _IRGOPT_H_ */