From 2eac1656f9f2a371127b9a5fac43cbf0648002c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Tue, 19 Aug 2003 11:36:56 +0000 Subject: [PATCH] Added copyright headers [r1707] --- firmjni/Dbginfo.c | 4 ++-- ir/Makefile.in | 13 +++++++++---- ir/adt/Makefile.in | 13 +++++++++---- ir/adt/array.c | 18 ++++++++++++------ ir/adt/array.h | 16 +++++++++++----- ir/adt/cookies.h | 15 +++++++++++---- ir/adt/debug.c | 16 +++++++++++----- ir/adt/debug.h | 15 +++++++++++---- ir/adt/eset.c | 22 ++++++++++++---------- ir/adt/eset.h | 21 ++++++++++++--------- ir/adt/host.h | 16 +++++++++++----- ir/adt/obst.h | 18 +++++++++++------- ir/adt/pdeq.c | 14 +++++++++++--- ir/adt/pdeq.h | 20 ++++++++++++++------ ir/adt/pmap.c | 21 ++++++++++++--------- ir/adt/pmap.h | 21 ++++++++++++--------- ir/adt/pset.h | 19 ++++++++++--------- ir/adt/set.c | 13 +++++++++++-- ir/adt/set.h | 15 +++++++++++---- ir/adt/xmalloc.c | 15 +++++++++++---- ir/ana/Makefile.in | 13 +++++++++---- ir/ana/cgana.c | 21 +++++++++++++++------ ir/ana/cgana.h | 28 ++++++++++++++++------------ ir/ana/irbackedge.c | 23 ++++++++++++----------- ir/ana/irbackedge_t.h | 14 +++++++++++++- ir/ana/irdom.c | 21 +++++++++++---------- ir/ana/irdom.h | 16 +++++++++++----- ir/ana/irdom_t.h | 18 +++++++++++++----- ir/ana/irloop.h | 16 +++++++++++----- ir/ana/irloop_t.h | 14 +++++++++++--- ir/ana/irouts.c | 14 ++++++++++++++ ir/ana/irouts.h | 14 +++++++++++--- ir/ana/irscc.c | 23 ++++++++++++----------- ir/common/Makefile.in | 13 +++++++++---- ir/common/firm.c | 20 +++++++++++--------- ir/common/firm.h | 18 +++++++++++++----- ir/common/firm_common.c | 20 +++++++++++--------- ir/common/firm_common.h | 16 +++++++++++----- ir/common/firm_common_t.h | 18 ++++++++++++------ ir/common/firmwalk.c | 11 +++++++++++ ir/common/firmwalk.h | 12 ++++++++++++ ir/common/misc.h | 15 +++++++++++---- ir/common/panic.c | 18 +++++++++++------- ir/common/panic.h | 15 +++++++++++---- ir/common/tune.h | 15 +++++++++++---- ir/common/xfprintf.c | 14 +++++++++++--- ir/common/xgprintf.c | 15 +++++++++++---- ir/common/xoprintf.c | 15 +++++++++++---- ir/common/xp_help.h | 14 +++++++++++--- ir/common/xprintf.h | 14 +++++++++++--- 50 files changed, 562 insertions(+), 261 deletions(-) diff --git a/firmjni/Dbginfo.c b/firmjni/Dbginfo.c index c27cb0541..a0bfe8cf4 100644 --- a/firmjni/Dbginfo.c +++ b/firmjni/Dbginfo.c @@ -10,9 +10,9 @@ * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. */ -#include "Dbginfo.h" +#include "Dbginfo.h" /* Generated. */ -#include +#include "firm.h" #include "dbginfo.h" #include diff --git a/ir/Makefile.in b/ir/Makefile.in index f955596c8..71db962f3 100644 --- a/ir/Makefile.in +++ b/ir/Makefile.in @@ -1,8 +1,13 @@ -# Hey Emacs, this is a -*- makefile -*- # -# libFIRM Project -# -# $Id$ +# Project: libFIRM +# File name: ir/Makefile.in +# Purpose: +# Author: Boris Boesler, Till Riedel +# Modified by: +# Created: +# CVS-ID: $Id$ +# Copyright: (c) 1999-2003 Universität Karlsruhe +# Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. # top_srcdir := @top_srcdir@ diff --git a/ir/adt/Makefile.in b/ir/adt/Makefile.in index 951a25435..58ee1676e 100644 --- a/ir/adt/Makefile.in +++ b/ir/adt/Makefile.in @@ -1,8 +1,13 @@ -# Hey Emacs, this is a -*- makefile -*- # -# libFIRM Project -# -# $Id$ +# Project: libFIRM +# File name: ir/adt/Makefile.in +# Purpose: +# Author: Boris Boesler, Till Riedel +# Modified by: +# Created: +# CVS-ID: $Id$ +# Copyright: (c) 1999-2003 Universität Karlsruhe +# Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. # top_srcdir := @top_srcdir@ diff --git a/ir/adt/array.c b/ir/adt/array.c index 53984b96e..1c4ab0ac9 100644 --- a/ir/adt/array.c +++ b/ir/adt/array.c @@ -1,8 +1,14 @@ -/* Array --- dynamic & flexible arrays. - Copyright (C) 1995, 1996 Markus Armbruster - All rights reserved. */ - -/* $Id$ */ +/* + * Project: libFIRM + * File name: ir/adt/array.c + * Purpose: Array --- dynamic & flexible arrays. + * Author: Markus Armbruster + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Markus Armbruster + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ #ifdef HAVE_CONFIG_H # include @@ -82,7 +88,7 @@ _arr_setlen (void *elts, int nelts, size_t elts_size) return dp->v.elts; } - +\ void * _arr_resize (void *elts, int nelts, size_t eltsize) { diff --git a/ir/adt/array.h b/ir/adt/array.h index 3954d459d..d4b41738b 100644 --- a/ir/adt/array.h +++ b/ir/adt/array.h @@ -1,8 +1,14 @@ -/* Declarations for Array. - Copyright (C) 1995, 1996 Markus Armbruster - All rights reserved. */ - -/* $Id$ */ +/* + * Project: libFIRM + * File name: ir/adt/array.h + * Purpose: Declarations for Array. + * Author: Markus Armbruster + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Markus Armbruster + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ /* @@@ growing a dynamic on an obstack */ diff --git a/ir/adt/cookies.h b/ir/adt/cookies.h index 7a641a52f..ad264cae8 100644 --- a/ir/adt/cookies.h +++ b/ir/adt/cookies.h @@ -1,8 +1,15 @@ -/* Magic cookies for dynamic data structures - Copyright (C) 1995, 1996 Christian von Roques & Markus Armbruster - All rights reserved. */ +/* + * Project: libFIRM + * File name: ir/adt/cookies.h + * Purpose: Magic cookies for dynamic data structures. + * Author: Christian von Roques & Markus Armbruster + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Markus Armbruster + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ -/* $Id$ */ #ifndef _COOKIES_H #define _COOKIES_H diff --git a/ir/adt/debug.c b/ir/adt/debug.c index 026a1e0d9..edb6876d3 100644 --- a/ir/adt/debug.c +++ b/ir/adt/debug.c @@ -1,8 +1,14 @@ -/* Debug --- run time debug level management - Copyright (C) 1995, 1996 Christian von Roques - All rights reserved. */ - -/* $Id$ */ +/* + * Project: libFIRM + * File name: ir/adt/debug.c + * Purpose: Debug --- run time debug level management + * Author: Christian von Roques + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Markus Armbruster + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ #ifdef HAVE_CONFIG_H # include diff --git a/ir/adt/debug.h b/ir/adt/debug.h index 60439c0e0..e225a99de 100644 --- a/ir/adt/debug.h +++ b/ir/adt/debug.h @@ -1,8 +1,15 @@ -/* Declarations for debug - Copyright (C) 1995, 1996 Christian von Roques - All rights reserved. */ +/* + * Project: libFIRM + * File name: ir/adt/debug.h + * Purpose: Declarations for debug + * Author: Christian von Roques + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Markus Armbruster + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ -/* $Id$ */ #ifndef _DEBUG_H_ #define _DEBUG_H_ diff --git a/ir/adt/eset.c b/ir/adt/eset.c index 33ddd385c..0538884b5 100644 --- a/ir/adt/eset.c +++ b/ir/adt/eset.c @@ -1,15 +1,17 @@ -/* ------------------------------------------------------------------- - * $Id$ - * ------------------------------------------------------------------- - * Datentyp: Vereinfachte Menge (hash-set) zum Speichern von - * Zeigern/Adressen. - * - * Erstellt: Hubert Schmid, 09.06.2002 - * ---------------------------------------------------------------- */ - +/* + * Project: libFIRM + * File name: ir/adt/eset.c + * Purpose: Datentyp: Vereinfachte Menge (hash-set) zum Speichern von + * Zeigern/Adressen. + * Author: Hubert Schmid + * Modified by: + * Created: 09.06.2002 + * CVS-ID: $Id$ + * Copyright: (c) 2002 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ #include "eset.h" - #include "set.h" diff --git a/ir/adt/eset.h b/ir/adt/eset.h index 8cc569646..be85ff6d7 100644 --- a/ir/adt/eset.h +++ b/ir/adt/eset.h @@ -1,17 +1,20 @@ -/* ------------------------------------------------------------------- - * $Id$ - * ------------------------------------------------------------------- - * Datentyp: Vereinfachte Menge (hash-set) zum Speichern von - * Zeigern/Adressen. - * - * Erstellt: Hubert Schmid, 09.06.2002 - * ---------------------------------------------------------------- */ +/* + * Project: libFIRM + * File name: ir/adt/eset.h + * Purpose: Datentyp: Vereinfachte Menge (hash-set) zum Speichern von + * Zeigern/Adressen. + * Author: Hubert Schmid + * Modified by: + * Created: 09.06.2002 + * CVS-ID: $Id$ + * Copyright: (c) 2002 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ #ifndef _ESET_H_ #define _ESET_H_ - #include diff --git a/ir/adt/host.h b/ir/adt/host.h index 30cf15f42..42dac6127 100644 --- a/ir/adt/host.h +++ b/ir/adt/host.h @@ -1,8 +1,14 @@ -/* Declarations describing the host machine and C compiler. - Copyright (C) 1995, 1996 Markus Armbruster - All rights reserved.*/ - -/* $Id$ */ +/* + * Project: libFIRM + * File name: ir/adt/host.h + * Purpose: Declarations describing the host machine and C compiler. + * Author: Markus Armbruster + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Markus Armbruster + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ #ifndef _HOST_H #define _HOST_H diff --git a/ir/adt/obst.h b/ir/adt/obst.h index f5e066532..a25482aaf 100644 --- a/ir/adt/obst.h +++ b/ir/adt/obst.h @@ -1,11 +1,15 @@ -/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe -* All rights reserved. -* -* Authors: Martin Trapp, Christian Schaefer -* -*/ +/* + * Project: libFIRM + * File name: ir/adt/obst.h + * Purpose: + * Author: Martin Trapp, Christian Schaefer + * Modified by: + * Created: + * CVS-ID: $Id$ + * Copyright: (c) 1998-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ -/* $Id$ */ # include # include diff --git a/ir/adt/pdeq.c b/ir/adt/pdeq.c index 24d18baa6..d0f919d2b 100644 --- a/ir/adt/pdeq.c +++ b/ir/adt/pdeq.c @@ -1,7 +1,15 @@ -/* Pdeq --- double ended queue of generic pointers. - Copyright (C) 1995, 1996 Christian von Roques */ +/* + * Project: libFIRM + * File name: ir/adt/pdeq.c + * Purpose: Pdeq --- double ended queue of generic pointers. + * Author: Christian von Roques + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Markus Armbruster + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ -/* $Id$ */ #ifdef HAVE_CONFIG_H # include diff --git a/ir/adt/pdeq.h b/ir/adt/pdeq.h index b4a934f9d..a8043dcd6 100644 --- a/ir/adt/pdeq.h +++ b/ir/adt/pdeq.h @@ -1,10 +1,18 @@ -/* Declarations for pdeq. - Copyright (C) 1995, 1996 Christian von Roques */ +/* + * Project: libFIRM + * File name: ir/adt/pdeq.h + * Purpose: Declarations for pdeq. + * Author: Christian von Roques + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Markus Armbruster + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ -/* $Id$ */ -#ifndef _PDEQ_H -#define _PDEQ_H +#ifndef _PDEQ_H_ +#define _PDEQ_H_ #include #include "misc.h" @@ -32,4 +40,4 @@ void *pdeq_getr (pdeq *); void _pdeq_vrfy(pdeq *dq); #endif -#endif +#endif /* _PDEQ_H_ */ diff --git a/ir/adt/pmap.c b/ir/adt/pmap.c index 961a2c795..89bbda932 100644 --- a/ir/adt/pmap.c +++ b/ir/adt/pmap.c @@ -1,12 +1,15 @@ -/* ------------------------------------------------------------------- - * $Id$ - * ------------------------------------------------------------------- - * Datentyp: Vereinfachte Map (hash-map) zum Speichern von - * Zeigern/Adressen -> Zeigern/Adressen. - * - * Erstellt: Hubert Schmid, 09.06.2002 - * ---------------------------------------------------------------- */ - +/* + * Project: libFIRM + * File name: ir/adt/eset.c + * Purpose: Datentyp: Vereinfachte Map (hash-map) zum Speichern von + * Zeigern/Adressen -> Zeigern/Adressen. + * Author: Hubert Schmid + * Modified by: + * Created: 09.06.2002 + * CVS-ID: $Id$ + * Copyright: (c) 2002 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ #include "pmap.h" diff --git a/ir/adt/pmap.h b/ir/adt/pmap.h index 5cac4d7e3..b7723e299 100644 --- a/ir/adt/pmap.h +++ b/ir/adt/pmap.h @@ -1,12 +1,15 @@ -/* ------------------------------------------------------------------- - * $Id$ - * ------------------------------------------------------------------- - * Datentyp: Vereinfachte Map (hash-map) zum Speichern von - * Zeigern/Adressen -> Zeigern/Adressen. - * - * Erstellt: Hubert Schmid, 09.06.2002 - * ---------------------------------------------------------------- */ - +/* + * Project: libFIRM + * File name: ir/adt/eset.c + * Purpose: Datentyp: Vereinfachte Map (hash-map) zum Speichern von + * Zeigern/Adressen -> Zeigern/Adressen. + * Author: Hubert Schmid + * Modified by: + * Created: 09.06.2002 + * CVS-ID: $Id$ + * Copyright: (c) 2002 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ #ifndef _PMAP_H_ #define _PMAP_H_ diff --git a/ir/adt/pset.h b/ir/adt/pset.h index 3661d653d..8f7d59f22 100644 --- a/ir/adt/pset.h +++ b/ir/adt/pset.h @@ -1,12 +1,13 @@ -/* Declarations for pset. - Copyright (C) 1995, 1996 Markus Armbruster */ - -/* $Id$ */ - -/** - * @file pset.h - * - * Declarations for pset. +/* + * Project: libFIRM + * File name: ir/adt/pset.h + * Purpose: Declarations for pset. + * Author: Markus Armbruster + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Markus Armbruster + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. */ #ifndef _PSET_H diff --git a/ir/adt/set.c b/ir/adt/set.c index 2db9ffa9a..9a30bd5ba 100644 --- a/ir/adt/set.c +++ b/ir/adt/set.c @@ -1,5 +1,14 @@ -/* Set --- collection of entries that are unique wrt to a key. - Copyright (C) 1995, 1996 Markus Armbruster */ +/* + * Project: libFIRM + * File name: ir/adt/set.c + * Purpose: Set --- collection of entries that are unique wrt to a key. + * Author: Markus Armbruster + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Markus Armbruster + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ /* This code is derived from: diff --git a/ir/adt/set.h b/ir/adt/set.h index af119f791..4b74819a7 100644 --- a/ir/adt/set.h +++ b/ir/adt/set.h @@ -1,7 +1,14 @@ -/* Declarations for set. - Copyright (C) 1995, 1996 Markus Armbruster */ - -/* $Id$ */ +/* + * Project: libFIRM + * File name: ir/adt/set.h + * Purpose: Declarations for set. + * Author: Markus Armbruster + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Markus Armbruster + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ /** * @file set.h diff --git a/ir/adt/xmalloc.c b/ir/adt/xmalloc.c index 9511978ba..087a0db7a 100644 --- a/ir/adt/xmalloc.c +++ b/ir/adt/xmalloc.c @@ -1,7 +1,14 @@ -/* Xmalloc --- never failing wrappers for malloc() & friends. - Copyright (C) 1995, 1996 Markus Armbruster */ - -/* $Id$ */ +/* + * Project: libFIRM + * File name: ir/adt/xmalloc.c + * Purpose: Xmalloc --- never failing wrappers for malloc() & friends. + * Author: Markus Armbruster + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Markus Armbruster + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ /* @@@ ToDo: replace this file with the one from liberty. [reimplement xstrdup, ... ] */ diff --git a/ir/ana/Makefile.in b/ir/ana/Makefile.in index a8e53dfc6..0f7c419c4 100644 --- a/ir/ana/Makefile.in +++ b/ir/ana/Makefile.in @@ -1,8 +1,13 @@ -# Hey Emacs, this is a -*- makefile -*- # -# libFIRM Project -# -# $Id$ +# Project: libFIRM +# File name: ir/ana/Makefile.in +# Purpose: +# Author: Boris Boesler, Till Riedel +# Modified by: +# Created: +# CVS-ID: $Id$ +# Copyright: (c) 1999-2003 Universität Karlsruhe +# Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. # top_srcdir := @top_srcdir@ diff --git a/ir/ana/cgana.c b/ir/ana/cgana.c index 471c4e7e8..710885cc2 100644 --- a/ir/ana/cgana.c +++ b/ir/ana/cgana.c @@ -1,14 +1,23 @@ -/* ------------------------------------------------------------------- - * $Id$ - * ------------------------------------------------------------------- +/* + * Project: libFIRM + * File name: ir/ana/cgana.c + * Purpose: Intraprozedural analyses to estimate the call graph. + * Author: Hubert Schmid + * Modified by: + * Created: 09.06.2002 + * CVS-ID: $Id$ + * Copyright: (c) 1999-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ + +/** * Intraprozedurale Analyse zur Abschätzung der Aufrulrelation. Es * wird eine Menge von freien Methoden und anschließend die an den * Call-Operationen aufrufbaren Methoden bestimmt. * - * Erstellt: Hubert Schmid, 09.06.2002 - * ---------------------------------------------------------------- */ + */ -#include "stdlib.h" +#include #include "cgana.h" diff --git a/ir/ana/cgana.h b/ir/ana/cgana.h index 8eadc3562..7efbe0e84 100644 --- a/ir/ana/cgana.h +++ b/ir/ana/cgana.h @@ -1,21 +1,27 @@ -/* ------------------------------------------------------------------- - * $Id$ - * ------------------------------------------------------------------- - * Intraprozedurale Analyse zur Abschaetzung der Aufrulrelation. Es - * wird eine Menge von freien Methoden und anschliessend die an den +/* + * Project: libFIRM + * File name: ir/ana/cgana.h + * Purpose: Intraprozedural analyses to estimate the call graph. + * Author: Hubert Schmid + * Modified by: + * Created: 09.06.2002 + * CVS-ID: $Id$ + * Copyright: (c) 1999-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ + +/** + * Intraprozedurale Analyse zur Abschätzung der Aufrulrelation. Es + * wird eine Menge von freien Methoden und anschließend die an den * Call-Operationen aufrufbaren Methoden bestimmt. * - * Erstellt: Hubert Schmid, 09.06.2002 - * ---------------------------------------------------------------- */ - + */ #ifndef _CGANA_H_ #define _CGANA_H_ - #include "entity.h" - /* Methoden sind "frei", wenn ihr Funktionszeiger (potentiell) *"explizit" bekannt ist, d.h.: * @@ -30,8 +36,6 @@ * * Die Links an den "ir_node"s werden geloescht. */ - - /** Analyses a rough estimation of the possible call graph. * * Bestimmt fuer jede Call-Operation die Menge der aufrufbaren Methode diff --git a/ir/ana/irbackedge.c b/ir/ana/irbackedge.c index f11c9b32e..c93eac188 100644 --- a/ir/ana/irbackedge.c +++ b/ir/ana/irbackedge.c @@ -1,20 +1,21 @@ -/* Copyright (C) 2002 by Universitaet Karlsruhe -* All rights reserved. -* -* Authors: Goetz Lindenmaier -* -* irbackedges.c Access function for backedges. -* -*/ - -/* $Id$ */ +/* + * Project: libFIRM + * File name: ir/ana/irbackedge.c + * Purpose: Access function for backedges. + * Author: Goetz Lindenmaier + * Modified by: + * Created: 7.2002 + * CVS-ID: $Id$ + * Copyright: (c) 2002-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ #include "irnode_t.h" #include "array.h" #include "irbackedge_t.h" /*--------------------------------------------------------------------*/ -/* Backedge information. * */ +/* Backedge information. */ /*--------------------------------------------------------------------*/ diff --git a/ir/ana/irbackedge_t.h b/ir/ana/irbackedge_t.h index 2478d0206..592f3b5b8 100644 --- a/ir/ana/irbackedge_t.h +++ b/ir/ana/irbackedge_t.h @@ -1,7 +1,19 @@ +/* + * Project: libFIRM + * File name: ir/ana/irbackedge_t.h + * Purpose: Access function for backedges -- private header. + * Author: Goetz Lindenmaier + * Modified by: + * Created: 7.2002 + * CVS-ID: $Id$ + * Copyright: (c) 2002-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ + #ifndef _IRBACKEDGE_T_H_ #define _IRBACKEDGE_T_H_ -# include "string.h" +# include static INLINE int * new_backedge_arr(struct obstack *obst, int size) { int *res = NEW_ARR_D (int, obst, size); diff --git a/ir/ana/irdom.c b/ir/ana/irdom.c index fefdc7910..e25e392bb 100644 --- a/ir/ana/irdom.c +++ b/ir/ana/irdom.c @@ -1,13 +1,14 @@ -/* Copyright (C) 2002 by Universitaet Karlsruhe -* All rights reserved. -* -* Authors: Goetz Lindenmaier -* -* irdom.c --- Dominator tree. -* -*/ - -/* $Id$ */ +/* + * Project: libFIRM + * File name: ir/ana/irdom.c + * Purpose: Construct and access dominator tree. + * Author: Goetz Lindenmaier + * Modified by: + * Created: 2.2002 + * CVS-ID: $Id$ + * Copyright: (c) 2002-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ #include "irouts.h" diff --git a/ir/ana/irdom.h b/ir/ana/irdom.h index 047913cda..975f75967 100644 --- a/ir/ana/irdom.h +++ b/ir/ana/irdom.h @@ -1,7 +1,14 @@ -/* Copyright (C) 2002 by Universitaet Karlsruhe -* All rights reserved. -* -*/ +/* + * Project: libFIRM + * File name: ir/ana/irdom.h + * Purpose: Construct and access dominator tree. + * Author: Goetz Lindenmaier + * Modified by: + * Created: 2.2002 + * CVS-ID: $Id$ + * Copyright: (c) 2002-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ /** * @file irdom.h @@ -18,7 +25,6 @@ * @author Goetz Lindenmaier */ -/* $Id$ */ # ifndef _IRDOM_H_ # define _IRDOM_H_ diff --git a/ir/ana/irdom_t.h b/ir/ana/irdom_t.h index c5abd0306..5a5857c6e 100644 --- a/ir/ana/irdom_t.h +++ b/ir/ana/irdom_t.h @@ -1,17 +1,25 @@ -/* Copyright (C) 2002 by Universitaet Karlsruhe -* All rights reserved. -*/ +/* + * Project: libFIRM + * File name: ir/ana/irdom_t.h + * Purpose: Construct and access dominator tree -- private datastructures. + * Author: Goetz Lindenmaier + * Modified by: + * Created: 2.2002 + * CVS-ID: $Id$ + * Copyright: (c) 2002-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ + /** * @file irdom_t.h * - * dDominator information private datastructures. + * Dominator information private datastructures. * * @author Goetz Lindenmaier * */ -/* $Id$ */ # ifndef _IRDOM_T_H_ # define _IRDOM_T_H_ diff --git a/ir/ana/irloop.h b/ir/ana/irloop.h index 66997bfa8..3d203e3f5 100644 --- a/ir/ana/irloop.h +++ b/ir/ana/irloop.h @@ -1,6 +1,14 @@ -/* Copyright (C) 2002 by Universitaet Karlsruhe -* All rights reserved. -*/ +/* + * Project: libFIRM + * File name: ir/ana/irloop_t.h + * Purpose: Loop datastructure and access functions. + * Author: Goetz Lindenmaier + * Modified by: + * Created: 7.2002 + * CVS-ID: $Id$ + * Copyright: (c) 2002-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ /** * @file irloop.h @@ -13,8 +21,6 @@ * Constructs loops data structure: indicates loop nesting. */ -/* $Id$ */ - # ifndef _IRLOOP_H_ # define _IRLOOP_H_ diff --git a/ir/ana/irloop_t.h b/ir/ana/irloop_t.h index aaccfc870..3c29dfd57 100644 --- a/ir/ana/irloop_t.h +++ b/ir/ana/irloop_t.h @@ -1,6 +1,14 @@ -/* Copyright (C) 2002 by Universitaet Karlsruhe -* All rights reserved. -*/ +/* + * Project: libFIRM + * File name: ir/ana/irloop_t.h + * Purpose: Loop datastructure and access functions -- private stuff. + * Author: Goetz Lindenmaier + * Modified by: + * Created: 7.2002 + * CVS-ID: $Id$ + * Copyright: (c) 2002-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ /** * @file irloop_t.h diff --git a/ir/ana/irouts.c b/ir/ana/irouts.c index 29c7c14d9..df5a3332d 100644 --- a/ir/ana/irouts.c +++ b/ir/ana/irouts.c @@ -1,3 +1,17 @@ +/* + * Project: libFIRM + * File name: ir/ana/irouts.c + * Purpose: Compute and access out edges. + * Author: Goetz Lindenmaier + * Modified by: + * Created: 1.2002 + * CVS-ID: $Id$ + * Copyright: (c) 2002-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ + + + /* Copyright (C) 2002 by Universitaet Karlsruhe * All rights reserved. * diff --git a/ir/ana/irouts.h b/ir/ana/irouts.h index b5032349f..04c066282 100644 --- a/ir/ana/irouts.h +++ b/ir/ana/irouts.h @@ -1,6 +1,14 @@ -/* Copyright (C) 2002 by Universitaet Karlsruhe -* All rights reserved. -*/ +/* + * Project: libFIRM + * File name: ir/ana/irouts.h + * Purpose: Compute and access out edges. + * Author: Goetz Lindenmaier + * Modified by: + * Created: 1.2002 + * CVS-ID: $Id$ + * Copyright: (c) 2002-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ /** * @file irouts.h diff --git a/ir/ana/irscc.c b/ir/ana/irscc.c index 39423a477..5bd56b2ff 100644 --- a/ir/ana/irscc.c +++ b/ir/ana/irscc.c @@ -1,14 +1,15 @@ -/* Copyright (C) 2002 by Universitaet Karlsruhe -* All rights reserved. -* -* Authors: Goetz Lindenmaier -* -* irscc.c Computing the strongly connected regions and building -* backedge/loop datastructures. -* -*/ - -/* $Id$ */ +/* + * Project: libFIRM + * File name: ir/ana/irscc.c + * Purpose: Compute the strongly connected regions and build + * backedge/loop datastructures. + * Author: Goetz Lindenmaier + * Modified by: + * Created: 7.2002 + * CVS-ID: $Id$ + * Copyright: (c) 2002-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ #include diff --git a/ir/common/Makefile.in b/ir/common/Makefile.in index f85b334e1..928d78559 100644 --- a/ir/common/Makefile.in +++ b/ir/common/Makefile.in @@ -1,8 +1,13 @@ -# Hey Emacs, this is a -*- makefile -*- # -# libFIRM Project -# -# $Id$ +# Project: libFIRM +# File name: ir/common/Makefile.in +# Purpose: +# Author: Boris Boesler, Till Riedel +# Modified by: +# Created: +# CVS-ID: $Id$ +# Copyright: (c) 1999-2003 Universität Karlsruhe +# Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. # top_srcdir := @top_srcdir@ diff --git a/ir/common/firm.c b/ir/common/firm.c index fc6db5dcf..d3a153e51 100644 --- a/ir/common/firm.c +++ b/ir/common/firm.c @@ -1,12 +1,14 @@ - -/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe -* All rights reserved. -* -* Authors: Martin Trapp, Christian Schaefer, Goetz Lindenmaier -* -*/ - -/* $Id$ */ +/* + * Project: libFIRM + * File name: ir/common/firm.c + * Purpose: Central firm functionality. + * Author: Martin Trapp, Christian Schaefer + * Modified by: Goetz Lindenmaier + * Created: + * CVS-ID: $Id$ + * Copyright: (c) 1998-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ #ifdef HAVE_CONFIG_H # include diff --git a/ir/common/firm.h b/ir/common/firm.h index ddfc44ed9..7da17dd7b 100644 --- a/ir/common/firm.h +++ b/ir/common/firm.h @@ -1,12 +1,20 @@ -/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe -* All rights reserved. -* -* Authors: Martin Trapp, Christian Schaefer, Goetz Lindenmaier. -*/ +/* + * Project: libFIRM + * File name: ir/common/firm.h + * Purpose: Central firm header. + * Author: Martin Trapp, Christian Schaefer + * Modified by: Goetz Lindenmaier + * Created: + * CVS-ID: $Id$ + * Copyright: (c) 1998-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ /** @file firm.h + This documentation no more maintained since 2001!!! + Central FIRM header. FIRM is a full graph based intermediate representation in SSA Form diff --git a/ir/common/firm_common.c b/ir/common/firm_common.c index bf19450ed..ddb17c1fb 100644 --- a/ir/common/firm_common.c +++ b/ir/common/firm_common.c @@ -1,13 +1,15 @@ -/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe -* All rights reserved. -* -* Authors: Martin Trapp, Christian Schaefer & -* Goetz Lindenmaier -* -* firm_common.c: -*/ +/* + * Project: libFIRM + * File name: ir/common/firm_common.c + * Purpose: + * Author: Martin Trapp, Christian Schaefer + * Modified by: Goetz Lindenmaier + * Created: + * CVS-ID: $Id$ + * Copyright: (c) 1998-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ -/* $Id$ */ #ifdef HAVE_CONFIG_H # include diff --git a/ir/common/firm_common.h b/ir/common/firm_common.h index 80bfd3415..a459aa14b 100644 --- a/ir/common/firm_common.h +++ b/ir/common/firm_common.h @@ -1,6 +1,14 @@ -/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe -* All rights reserved. -*/ +/* + * Project: libFIRM + * File name: ir/common/firm_common.c + * Purpose: Stuff common to all firm modules. + * Author: Martin Trapp, Christian Schaefer + * Modified by: Goetz Lindenmaier + * Created: + * CVS-ID: $Id$ + * Copyright: (c) 1998-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ /** * @file firm_common.h @@ -10,8 +18,6 @@ * @author Martin Trapp, Christian Schaefer & Goetz Lindenmaier */ -/* $Id$ */ - # ifndef _FIRM_COMMON_H_ # define _FIRM_COMMON_H_ diff --git a/ir/common/firm_common_t.h b/ir/common/firm_common_t.h index 2510450fa..d59b4730b 100644 --- a/ir/common/firm_common_t.h +++ b/ir/common/firm_common_t.h @@ -1,17 +1,23 @@ -/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe -* All rights reserved. -*/ +/* + * Project: libFIRM + * File name: ir/common/firm_common.c + * Purpose: Internal preprocessor directives. + * Author: Goetz Lindenmaier + * Modified by: + * Created: + * CVS-ID: $Id$ + * Copyright: (c) 1999-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ /** * @file firm_common_t.h * * preprocessor flags * - * @author Martin Trapp, Christian Schaefer & Goetz Lindenmaier + * @author Goetz Lindenmaier */ -/* $Id$ */ - # ifndef _COMMON_T_H_ # define _COMMON_T_H_ diff --git a/ir/common/firmwalk.c b/ir/common/firmwalk.c index db6f3957e..d702e846b 100644 --- a/ir/common/firmwalk.c +++ b/ir/common/firmwalk.c @@ -1,3 +1,14 @@ +/* + * Project: libFIRM + * File name: ir/common/firmwalk.c + * Purpose: Walker that touches all Firm data structures + * Author: Sebastian Felis + * Modified by: + * Created: 7.2003 + * CVS-ID: $Id$ + * Copyright: (c) 2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ #ifdef HAVE_CONFIG_H # include diff --git a/ir/common/firmwalk.h b/ir/common/firmwalk.h index c4384b0e1..d6a13c48a 100644 --- a/ir/common/firmwalk.h +++ b/ir/common/firmwalk.h @@ -1,3 +1,15 @@ +/* + * Project: libFIRM + * File name: ir/common/firmwalk.h + * Purpose: Walker that touches all Firm data structures + * Author: Sebastian Felis + * Modified by: + * Created: 7.2003 + * CVS-ID: $Id$ + * Copyright: (c) 2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ + /** * @file firmwalk.h * diff --git a/ir/common/misc.h b/ir/common/misc.h index 55e5f6165..f362a1229 100644 --- a/ir/common/misc.h +++ b/ir/common/misc.h @@ -1,8 +1,15 @@ -/* Misc. declarations. - Copyright (C) 1995, 1996 Markus Armbruster - All rights reserved. */ +/* + * Project: libFIRM + * File name: ir/common/misc.h + * Purpose: Misc. declarations. + * Author: Markus Armbruster + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Markus Armbruster + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ -/* $Id$ */ #ifndef _MISC_H_ #define _MISC_H_ diff --git a/ir/common/panic.c b/ir/common/panic.c index 564b996c7..b73e2346f 100644 --- a/ir/common/panic.c +++ b/ir/common/panic.c @@ -1,11 +1,15 @@ -/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe -* All rights reserved. -* -* Authors: Martin Trapp, Christian Schaefer -* -*/ +/* + * Project: libFIRM + * File name: ir/common/panic.c + * Purpose: + * Author: Martin Trapp, Christian Schaefer + * Modified by: + * Created: + * CVS-ID: $Id$ + * Copyright: (c) 1998-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ -/* $Id$ */ #ifdef HAVE_CONFIG_H # include diff --git a/ir/common/panic.h b/ir/common/panic.h index b9f57cf5e..63b68d35a 100644 --- a/ir/common/panic.h +++ b/ir/common/panic.h @@ -1,6 +1,14 @@ -/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe -* All rights reserved. -*/ +/* + * Project: libFIRM + * File name: ir/common/panic.h + * Purpose: + * Author: Martin Trapp, Christian Schaefer + * Modified by: + * Created: + * CVS-ID: $Id$ + * Copyright: (c) 1998-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ /** * @file panic.h @@ -8,7 +16,6 @@ * @author Martin Trapp, Christian Schaefer */ -/* $Id$ */ # ifndef _PANIC_H_ # define _PANIC_H_ diff --git a/ir/common/tune.h b/ir/common/tune.h index 7af5698c6..7016b91b3 100644 --- a/ir/common/tune.h +++ b/ir/common/tune.h @@ -1,7 +1,14 @@ -/* Tune --- tunable parameters. - Copyright (C) 1995, 1996 Markus Armbruster & Christian von Roques */ - -/* $Id$ */ +/* + * Project: libFIRM + * File name: ir/common/tune.h + * Purpose: Tune --- tunable parameters. + * Author: Markus Armbruster & Christian von Roques + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Markus Armbruster & Christian von Roques + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ #ifndef _TUNE_H #define _TUNE_H diff --git a/ir/common/xfprintf.c b/ir/common/xfprintf.c index 99c7ca5fc..27c30d5b6 100644 --- a/ir/common/xfprintf.c +++ b/ir/common/xfprintf.c @@ -1,7 +1,15 @@ -/* Xfprintf --- extended formatted output to files. - Copyright (C) 1995, 1996 Christian von Roques */ +/* + * Project: libFIRM + * File name: ir/common/xfprintf.c + * Purpose: Xfprintf --- extended formatted output to files. + * Author: Christian von Roques + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Christian von Roques + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ -/* $Id$ */ #ifdef HAVE_CONFIG_H # include diff --git a/ir/common/xgprintf.c b/ir/common/xgprintf.c index b82e8b89d..8fff35109 100644 --- a/ir/common/xgprintf.c +++ b/ir/common/xgprintf.c @@ -1,7 +1,14 @@ -/* Xgprintf --- extended formatted output via generic printer functions. - Copyright (C) 1995, 1996 Christian von Roques */ - -/* $Id$ */ +/* + * Project: libFIRM + * File name: ir/common/xgprintf.c + * Purpose: Xgprintf --- extended formatted output via generic printer functions. + * Author: Christian von Roques + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Christian von Roques + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ /* Implements ANSI-C printf formats minus locale plus extensions, noteably GNU Libc-like registering of specifier-handlers. */ diff --git a/ir/common/xoprintf.c b/ir/common/xoprintf.c index cefd4242d..67b4c27e3 100644 --- a/ir/common/xoprintf.c +++ b/ir/common/xoprintf.c @@ -1,7 +1,14 @@ -/* Xfprintf --- extended formatted output to obstacks. - Copyright (C) 1995, 1996 Christian von Roques */ - -/* $Id$ */ +/* + * Project: libFIRM + * File name: ir/common/xoprintf.c + * Purpose: Xoprintf --- extended formatted output to obstacks. + * Author: Christian von Roques + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Christian von Roques + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ #ifdef HAVE_CONFIG_H # include diff --git a/ir/common/xp_help.h b/ir/common/xp_help.h index ef0c5ed95..9b3694061 100644 --- a/ir/common/xp_help.h +++ b/ir/common/xp_help.h @@ -1,7 +1,15 @@ -/* Macros to help writing output handlers. - Copyright (C) 1996 Markus Armbruster */ +/* + * Project: libFIRM + * File name: ir/common/xp_help.h + * Purpose: Macros to help writing output handlers. + * Author: Markus Armbruster + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1996 Markus Armbruster + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ -/* $Id$ */ #ifndef _XP_HELP_H #define _XP_HELP_H diff --git a/ir/common/xprintf.h b/ir/common/xprintf.h index 11546bc4a..4043b856c 100644 --- a/ir/common/xprintf.h +++ b/ir/common/xprintf.h @@ -1,7 +1,15 @@ -/* Declarations for xprintf & friends. - Copyright (C) 1995, 1996 Christian von Roques */ +/* + * Project: libFIRM + * File name: ir/common/xprintf.h + * Purpose: Declarations for xprintf & friends. + * Author: Christian von Roques + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Christian von Roques + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ -/* $Id$ */ /* Parts of this file are adapted from the GNU C Library. Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. -- 2.20.1