X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Flower%2Flower_dw.c;h=753eb9d0df0158a54df07cd25c10fabcb427f88a;hb=1611fc0693009409b9345414fb7e4636c0ddf998;hp=777e24fb16a85c110869eba6f3127284d919601e;hpb=f667113899d26608e395458858dd22ad780d8beb;p=libfirm diff --git a/ir/lower/lower_dw.c b/ir/lower/lower_dw.c index 777e24fb1..753eb9d0d 100644 --- a/ir/lower/lower_dw.c +++ b/ir/lower/lower_dw.c @@ -1,23 +1,33 @@ /* - * Project: libFIRM - * File name: ir/lower/lower_dw.c - * Purpose: Lower Double word operations, ie Mode L -> I. - * Author: Michael Beck - * Created: 8.10.2004 - * CVS-ID: $Id$ - * Copyright: (c) 1998-2006 Universität Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + * 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. + * + * 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. + */ + +/** + * @file + * @brief Lower Double word operations, ie 64bit -> 32bit, 32bit -> 16bit etc. + * @date 8.10.2004 + * @author Michael Beck + * @version $Id$ */ #ifdef HAVE_CONFIG_H # include "config.h" #endif -#ifdef HAVE_MALLOC_H -# include -#endif -#ifdef HAVE_ALLOCA_H -# include -#endif #ifdef HAVE_STRING_H # include #endif @@ -27,6 +37,7 @@ #include +#include "lowering.h" #include "irnode_t.h" #include "irgraph_t.h" #include "irmode_t.h" @@ -39,7 +50,6 @@ #include "firmstat.h" #include "irgwalk.h" #include "ircons.h" -#include "lower_dw.h" #include "irflag.h" #include "irtools.h" #include "debug.h" @@ -47,6 +57,7 @@ #include "pmap.h" #include "pdeq.h" #include "irdump.h" +#include "xmalloc.h" /** A map from mode to a primitive type. */ static pmap *prim_types;