beloopana: Remove duplicate comments.
[libfirm] / ir / lower / lower_dw.h
index ecf173c..4d36a85 100644 (file)
@@ -1,20 +1,6 @@
 /*
- * Copyright (C) 1995-2011 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.
+ * Copyright (C) 2012 University of Karlsruhe.
  */
 
 /**
@@ -25,6 +11,8 @@
 #ifndef FIRM_LOWER_LOWER_DW_H
 #define FIRM_LOWER_LOWER_DW_H
 
+#include "firm_types.h"
+
 /**
  * Every double word node will be replaced,
  * we need some store to hold the replacement:
@@ -102,6 +90,12 @@ static inline ir_node *get_lowered_high(ir_node *node)
        return get_node_entry(node)->high_word;
 }
 
+/**
+ * Return the unsigned variant of the lowered mode
+ * Note: you must only call this during a dw_lowering (= in a lowering callback)
+ */
+ir_mode *ir_get_low_unsigned_mode(void);
+
 /**
  * Default implementation. Context is unused.
  */