always remove critical edges before doing code placement
[libfirm] / ir / opt / scalar_replace.h
index 9313ca7..0e256f6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
  */
 int is_address_taken(ir_node *sel);
 
-/**
- * Do the scalar replacement optimization.
- * Replace local compound entities (like structures and arrays)
- * with atomic values if possible. Does not handle classes yet.
- *
- * @param irg  the graph which should be optimized
- */
-void scalar_replacement_opt(ir_graph *irg);
+void firm_init_scalar_replace(void);
 
 #endif /* FIRM_OPT_SCALAR_REPLACE_H */