/*
- * 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.
*
#define FIRM_OPT_SCALAR_REPLACE_H
#include "firm_types.h"
+#include <stdbool.h>
/**
* Returns non-zero, if the address of an entity
- * represented by a Sel node (or it's successor Sels) is taken.
+ * represented by a Sel node (or its successor Sels) is taken.
*
* @param sel the Sel node
*/
-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);
+bool is_address_taken(ir_node *sel);
#endif /* FIRM_OPT_SCALAR_REPLACE_H */