bescripts: Copy all common node attributes into the constructor variants.
[libfirm] / ir / be / TEMPLATE / TEMPLATE_transform.h
index 6e380ae..6aad977 100644 (file)
@@ -1,6 +1,31 @@
-#ifndef _TEMPLATE_TRANSFORM_H_
-#define _TEMPLATE_TRANSFORM_H_
+/*
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * 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.
+ *
+ * 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.
+ */
 
-void TEMPLATE_transform_node(ir_node *node, void *env);
+/**
+ * @file
+ * @brief   declaration for the transform function (code selection)
+ */
+#ifndef FIRM_BE_TEMPLATE_TEMPLATE_TRANSFORM_H
+#define FIRM_BE_TEMPLATE_TEMPLATE_TRANSFORM_H
 
-#endif /* _TEMPLATE_TRANSFORM_H_ */
+void TEMPLATE_init_transform(void);
+
+void TEMPLATE_transform_graph(ir_graph *irg);
+
+#endif