moved opt_calling_conventions() to mark_private_methods() in ir_memory.c
[libfirm] / ir / opt / scalar_replace.h
index 51df64d..437ef74 100644 (file)
  * PURPOSE.
  */
 
-/*
- * Project:     libFIRM
- * File name:   ir/opt/scalar_replace.h
- * Purpose:     scalar replacement of compounds
- * Author:      Beyhan Veliev
- * Created:
- * CVS-ID:      $Id$
- * Copyright:   (c) 1998-2005 Universität Karlsruhe
+/**
+ * @file
+ * @brief   Scalar replacement of compounds.
+ * @author  Beyhan Veliev, Michael Beck
+ * @version $Id$
  */
+#ifndef FIRM_OPT_SCALAR_REPLACE_H
+#define FIRM_OPT_SCALAR_REPLACE_H
 
-#ifndef _SCALAR_REPLACE_H_
-#define _SCALAR_REPLACE_H_
-
-#include "irgraph.h"
+#include "firm_types.h"
 
 /**
  * Returns non-zero, if the address of an entity
  */
 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);
-
-#endif /* _SCALAR_REPLACE_H_ */
+#endif /* FIRM_OPT_SCALAR_REPLACE_H */