fix
[libfirm] / ir / lower / lower_dw.h
index f805456..10bd5d7 100644 (file)
@@ -1,14 +1,31 @@
-/**
- * @file irlwrdw.h
- * @date 8.10.2004
- * @author Michael Beck
- * @brief Lower Double word operations, ie Mode L -> I
+/*
+ * Copyright (C) 1995-2007 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.
  *
- * $Id$
+ * 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 _FIRM_LOWER_DW_H
-#define _FIRM_LOWER_DW_H
+/**
+ * @file
+ * @brief   Lower Double word operations, ie 64bit -> 32bit, 32bit -> 16bit etc.
+ * @date    8.10.2004
+ * @author  Michael Beck
+ * @version $Id$
+ */
+#ifndef FIRM_LOWER_LOWER_DW_H
+#define FIRM_LOWER_LOWER_DW_H
 
 #include "firm_types.h"
 
@@ -21,9 +38,9 @@
  * @param omode    the output mode of the emulated opcode
  * @param context  the context parameter
  */
-typedef entity *(create_intrinsic_fkt)(ir_type *method, const ir_op *op,
-                                       const ir_mode *imode, const ir_mode *omode,
-                                       void *context);
+typedef ir_entity *(create_intrinsic_fkt)(ir_type *method, const ir_op *op,
+                                          const ir_mode *imode, const ir_mode *omode,
+                                          void *context);
 
 /**
  * The lowering parameter description.
@@ -49,8 +66,8 @@ void lower_dw_ops(const lwrdw_param_t *param);
 /**
  * Default implementation. Context is unused.
  */
-entity *def_create_intrinsic_fkt(ir_type *method, const ir_op *op,
-                                 const ir_mode *imode, const ir_mode *omode,
-                                 void *context);
+ir_entity *def_create_intrinsic_fkt(ir_type *method, const ir_op *op,
+                                    const ir_mode *imode, const ir_mode *omode,
+                                    void *context);
 
-#endif /* _FIRM_LOWER_DW_H */
+#endif /* FIRM_LOWER_LOWER_DW_H */