/*
- * Project: libFIRM
- * File name: ir/opt/tailrec.h
- * Purpose: Tail-recursion call optimization.
- * Author: Michael Beck
- * Created: 08.06.2004
- * CVS-ID: $Id$
- * Copyright: (c) 1998-2004 Universität Karlsruhe
- * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
- */
-
-/**
- * @file tailrec.h
+ * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ *
+ * This file is part of libFirm.
*
- * Tail-recursion call optimization.
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
*
- * @author Michael Beck
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
+ *
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
*/
-# ifndef _TAILREC_H_
-# define _TAILREC_H_
+/**
+ * @file
+ * @brief Tail-recursion call optimization.
+ * @date 08.06.2004
+ * @author Michael Beck
+ * @version $Id$
+ */
+#ifndef FIRM_OPT_TAILREC_H
+#define FIRM_OPT_TAILREC_H
-# include "irgraph.h"
+#include "firm_types.h"
/**
* Optimizes simple tail-recursion calls by
/*
* Optimize tail-recursion calls for all IR-Graphs.
+ * Depends on the flag opt_tail_recursion.
*/
void opt_tail_recursion(void);
-# endif /* _TAILREC_H_ */
+# endif /* FIRM_OPT_TAILREC_H */