[llvm-commits] [dragonegg] r120427 - in /dragonegg/trunk: darwin/llvm-os.h linux/llvm-os.h llvm-abi-default.cpp llvm-abi.h llvm-backend.cpp llvm-cache.h llvm-convert.cpp llvm-debug.cpp llvm-debug.h llvm-internal.h llvm-types.cpp utils/target.cpp x86/llvm-target.cpp x86/llvm-target.h

Duncan Sands baldrick at free.fr
Tue Nov 30 06:14:56 PST 2010


Author: baldrick
Date: Tue Nov 30 08:14:56 2010
New Revision: 120427

URL: http://llvm.org/viewvc/llvm-project?rev=120427&view=rev
Log:
Correct copyright notices: (1) These files are no longer part of GCC,
so refer to DragonEgg rather than GCC; (2) Copyright was never assigned
to the Free Software Foundation according to Chris (and he should know),
so change the copyright lines to refer to the people who contributed to
the file (to make life simpler for myself I mentioned the person noted
as having added the file, myself and "et al" if others were involved;
if you feel someone else should have been mentioned please let me know)
rather than to the Free Software Foundation; (3) Update the list of years
in the copyright statement; (4) Correct the address of the Free Software
Foundation.  While there, uniformize the style along the lines of what
is done in LLVM itself.  Needless to say the licence is not changed in
any way: still GPL, v2 or later.

Modified:
    dragonegg/trunk/darwin/llvm-os.h
    dragonegg/trunk/linux/llvm-os.h
    dragonegg/trunk/llvm-abi-default.cpp
    dragonegg/trunk/llvm-abi.h
    dragonegg/trunk/llvm-backend.cpp
    dragonegg/trunk/llvm-cache.h
    dragonegg/trunk/llvm-convert.cpp
    dragonegg/trunk/llvm-debug.cpp
    dragonegg/trunk/llvm-debug.h
    dragonegg/trunk/llvm-internal.h
    dragonegg/trunk/llvm-types.cpp
    dragonegg/trunk/utils/target.cpp
    dragonegg/trunk/x86/llvm-target.cpp
    dragonegg/trunk/x86/llvm-target.h

Modified: dragonegg/trunk/darwin/llvm-os.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/darwin/llvm-os.h?rev=120427&r1=120426&r2=120427&view=diff
==============================================================================
--- dragonegg/trunk/darwin/llvm-os.h (original)
+++ dragonegg/trunk/darwin/llvm-os.h Tue Nov 30 08:14:56 2010
@@ -1,22 +1,24 @@
-/* Darwin specific definitions
-Copyright (C) 2009 Free Software Foundation, Inc.
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version.
-
-GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
+//===--------- llvm-os.h - Darwin specific definitions ----------*- C++ -*-===//
+//
+// Copyright (C) 2009, 2010  Duncan Sands et al.
+//
+// This file is part of DragonEgg.
+//
+// DragonEgg is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free Software
+// Foundation; either version 2, or (at your option) any later version.
+//
+// DragonEgg is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+// A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along with
+// DragonEgg; see the file COPYING.  If not, write to the Free Software
+// Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
+//
+//===----------------------------------------------------------------------===//
+// This file provides Darwin specific declarations.
+//===----------------------------------------------------------------------===//
 
 #ifndef LLVM_OS_H
 #define LLVM_OS_H

Modified: dragonegg/trunk/linux/llvm-os.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/linux/llvm-os.h?rev=120427&r1=120426&r2=120427&view=diff
==============================================================================
--- dragonegg/trunk/linux/llvm-os.h (original)
+++ dragonegg/trunk/linux/llvm-os.h Tue Nov 30 08:14:56 2010
@@ -1,22 +1,24 @@
-/* Linux specific definitions
-Copyright (C) 2009 Free Software Foundation, Inc.
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version.
-
-GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
+//===---------- llvm-os.h - Linux specific definitions ----------*- C++ -*-===//
+//
+// Copyright (C) 2009, 2010  Duncan Sands et al.
+//
+// This file is part of DragonEgg.
+//
+// DragonEgg is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free Software
+// Foundation; either version 2, or (at your option) any later version.
+//
+// DragonEgg is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+// A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along with
+// DragonEgg; see the file COPYING.  If not, write to the Free Software
+// Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
+//
+//===----------------------------------------------------------------------===//
+// This file provides Linux specific declarations.
+//===----------------------------------------------------------------------===//
 
 #ifndef LLVM_OS_H
 #define LLVM_OS_H

Modified: dragonegg/trunk/llvm-abi-default.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-abi-default.cpp?rev=120427&r1=120426&r2=120427&view=diff
==============================================================================
--- dragonegg/trunk/llvm-abi-default.cpp (original)
+++ dragonegg/trunk/llvm-abi-default.cpp Tue Nov 30 08:14:56 2010
@@ -1,3 +1,25 @@
+//===--------- llvm-abi-default.cpp - Default ABI implementation ----------===//
+//
+// Copyright (C) 2010  Rafael Espindola, Duncan Sands et al.
+//
+// This file is part of DragonEgg.
+//
+// DragonEgg is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free Software
+// Foundation; either version 2, or (at your option) any later version.
+//
+// DragonEgg is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+// A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along with
+// DragonEgg; see the file COPYING.  If not, write to the Free Software
+// Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
+//
+//===----------------------------------------------------------------------===//
+// This file implements the default ABI.
+//===----------------------------------------------------------------------===//
+
 // Plugin headers
 #include "llvm-abi.h"
 

Modified: dragonegg/trunk/llvm-abi.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-abi.h?rev=120427&r1=120426&r2=120427&view=diff
==============================================================================
--- dragonegg/trunk/llvm-abi.h (original)
+++ dragonegg/trunk/llvm-abi.h Tue Nov 30 08:14:56 2010
@@ -1,28 +1,26 @@
-/* Processor ABI customization hooks
-Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
-Contributed by Chris Lattner (sabre at nondot.org)
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version.
-
-GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
-
+//===------ llvm-abi.h - Processor ABI customization hooks ------*- C++ -*-===//
+//
+// Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010  Chris Lattner, Duncan Sands
+// et al.
+//
+// This file is part of DragonEgg.
+//
+// DragonEgg is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free Software
+// Foundation; either version 2, or (at your option) any later version.
+//
+// DragonEgg is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+// A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along with
+// DragonEgg; see the file COPYING.  If not, write to the Free Software
+// Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
+//
 //===----------------------------------------------------------------------===//
-// This is a C++ header file that specifies how argument values are passed and
-// returned from function calls.  This allows the target to specialize handling
-// of things like how structures are passed by-value.
+// This file specifies how argument values are passed and returned from function
+// calls.  This allows the target to specialize handling of things like how
+// structures are passed by-value.
 //===----------------------------------------------------------------------===//
 
 #ifndef LLVM_ABI_H

Modified: dragonegg/trunk/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-backend.cpp?rev=120427&r1=120426&r2=120427&view=diff
==============================================================================
--- dragonegg/trunk/llvm-backend.cpp (original)
+++ dragonegg/trunk/llvm-backend.cpp Tue Nov 30 08:14:56 2010
@@ -1,23 +1,25 @@
-/* High-level LLVM backend interface
-Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
-Contributed by Chris Lattner (sabre at nondot.org)
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version.
-
-GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
+//===-------- llvm-backend.cpp - High-level LLVM backend interface --------===//
+//
+// Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010  Chris Lattner, Duncan Sands
+// et al.
+//
+// This file is part of DragonEgg.
+//
+// DragonEgg is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free Software
+// Foundation; either version 2, or (at your option) any later version.
+//
+// DragonEgg is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+// A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along with
+// DragonEgg; see the file COPYING.  If not, write to the Free Software
+// Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
+//
+//===----------------------------------------------------------------------===//
+// This file defines the high-level LLVM backend interface.
+//===----------------------------------------------------------------------===//
 
 // Plugin headers
 extern "C" {

Modified: dragonegg/trunk/llvm-cache.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-cache.h?rev=120427&r1=120426&r2=120427&view=diff
==============================================================================
--- dragonegg/trunk/llvm-cache.h (original)
+++ dragonegg/trunk/llvm-cache.h Tue Nov 30 08:14:56 2010
@@ -1,29 +1,27 @@
-/* Caching values "in" trees
-Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
-Contributed by Chris Lattner (sabre at nondot.org)
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version.
-
-GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
-
-/*===----------------------------------------------------------------------===
-   This code lets you to associate a void* with a tree, as if it were cached
-   inside the tree: if the tree is garbage collected and reallocated, then the
-   cached value will have been cleared.
-  ===----------------------------------------------------------------------===*/
+/*===-------- llvm-cache.h - Caching values "in" GCC trees --------*- C -*-===*\
+|*                                                                            *|
+|* Copyright (C) 2009, 2010  Duncan Sands.                                    *|
+|*                                                                            *|
+|* This file is part of DragonEgg.                                            *|
+|*                                                                            *|
+|* DragonEgg is free software; you can redistribute it and/or modify it under *|
+|* the terms of the GNU General Public License as published by the Free       *|
+|* Software Foundation; either version 2, or (at your option) any later       *|
+|* version.                                                                   *|
+|*                                                                            *|
+|* DragonEgg is distributed in the hope that it will be useful, but WITHOUT   *|
+|* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or      *|
+|* FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for  *|
+|* more details.                                                              *|
+|* You should have received a copy of the GNU General Public License along    *|
+|* with DragonEgg; see the file COPYING.  If not, write to the Free Software  *|
+|* Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.     *|
+|*                                                                            *|
+|*===----------------------------------------------------------------------===*|
+|* This code lets you to associate a void* with a tree, as if it were cached  *|
+|* inside the tree: if the tree is garbage collected and reallocated, then    *|
+|* the cached value will have been cleared.                                   *|
+\*===----------------------------------------------------------------------===*/
 
 #ifndef LLVM_CACHE_H
 #define LLVM_CACHE_H

Modified: dragonegg/trunk/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-convert.cpp?rev=120427&r1=120426&r2=120427&view=diff
==============================================================================
--- dragonegg/trunk/llvm-convert.cpp (original)
+++ dragonegg/trunk/llvm-convert.cpp Tue Nov 30 08:14:56 2010
@@ -1,24 +1,22 @@
-/* High-level LLVM backend interface
-Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
-Contributed by Chris Lattner (sabre at nondot.org)
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version.
-
-GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
-
+//===---------- llvm-convert.cpp - Converting gimple to LLVM IR -----------===//
+//
+// Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010  Chris Lattner, Duncan Sands
+// et al.
+//
+// This file is part of DragonEgg.
+//
+// DragonEgg is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free Software
+// Foundation; either version 2, or (at your option) any later version.
+//
+// DragonEgg is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+// A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along with
+// DragonEgg; see the file COPYING.  If not, write to the Free Software
+// Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
+//
 //===----------------------------------------------------------------------===//
 // This is the code that converts GCC AST nodes into LLVM code.
 //===----------------------------------------------------------------------===//

Modified: dragonegg/trunk/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-debug.cpp?rev=120427&r1=120426&r2=120427&view=diff
==============================================================================
--- dragonegg/trunk/llvm-debug.cpp (original)
+++ dragonegg/trunk/llvm-debug.cpp Tue Nov 30 08:14:56 2010
@@ -1,26 +1,24 @@
-/* High-level LLVM backend interface
-Copyright (C) 2005 Free Software Foundation, Inc.
-Contributed by Jim Laskey (jlaskey at apple.com)
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version.
-
-GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
-
+//===------------ llvm-debug.cpp - Debug information gathering ------------===//
+//
+// Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010  Jim Laskey, Duncan Sands
+// et al.
+//
+// This file is part of DragonEgg.
+//
+// DragonEgg is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free Software
+// Foundation; either version 2, or (at your option) any later version.
+//
+// DragonEgg is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+// A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along with
+// DragonEgg; see the file COPYING.  If not, write to the Free Software
+// Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
+//
 //===----------------------------------------------------------------------===//
-// This is a C++ source file that implements the debug information gathering.
+// This file implements debug information gathering.
 //===----------------------------------------------------------------------===//
 
 // Plugin headers

Modified: dragonegg/trunk/llvm-debug.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-debug.h?rev=120427&r1=120426&r2=120427&view=diff
==============================================================================
--- dragonegg/trunk/llvm-debug.h (original)
+++ dragonegg/trunk/llvm-debug.h Tue Nov 30 08:14:56 2010
@@ -1,27 +1,23 @@
-/* Internal interfaces between the LLVM backend components
-Copyright (C) 2006 Free Software Foundation, Inc.
-Contributed by Jim Laskey  (jlaskey at apple.com)
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version.
-
-GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
-
+//===---- llvm-debug.h - Interface for generating debug info ----*- C++ -*-===//
+//
+// Copyright (C) 2006, 2007, 2008, 2009, 2010  Jim Laskey, Duncan Sands et al.
+//
+// This file is part of DragonEgg.
+//
+// DragonEgg is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free Software
+// Foundation; either version 2, or (at your option) any later version.
+//
+// DragonEgg is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+// A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along with
+// DragonEgg; see the file COPYING.  If not, write to the Free Software
+// Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
+//
 //===----------------------------------------------------------------------===//
-// This is a C++ header file that defines the debug interfaces shared among
-// the llvm-*.cpp files.
+// This file declares the debug interfaces shared among the dragonegg files.
 //===----------------------------------------------------------------------===//
 
 #ifndef LLVM_DEBUG_H

Modified: dragonegg/trunk/llvm-internal.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-internal.h?rev=120427&r1=120426&r2=120427&view=diff
==============================================================================
--- dragonegg/trunk/llvm-internal.h (original)
+++ dragonegg/trunk/llvm-internal.h Tue Nov 30 08:14:56 2010
@@ -1,27 +1,24 @@
-/* Internal interfaces between the LLVM backend components
-Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
-Contributed by Chris Lattner  (sabre at nondot.org)
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version.
-
-GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
-
+//=-- llvm-internal.h - Interface between the backend components --*- C++ -*-=//
+//
+// Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010  Chris Lattner, Duncan Sands
+// et al.
+//
+// This file is part of DragonEgg.
+//
+// DragonEgg is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free Software
+// Foundation; either version 2, or (at your option) any later version.
+//
+// DragonEgg is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+// A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along with
+// DragonEgg; see the file COPYING.  If not, write to the Free Software
+// Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
+//
 //===----------------------------------------------------------------------===//
-// This is a C++ header file that defines the internal interfaces shared among
-// the llvm-*.cpp files.
+// This file declares the internal interfaces shared among the dragonegg files.
 //===----------------------------------------------------------------------===//
 
 #ifndef LLVM_INTERNAL_H

Modified: dragonegg/trunk/llvm-types.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-types.cpp?rev=120427&r1=120426&r2=120427&view=diff
==============================================================================
--- dragonegg/trunk/llvm-types.cpp (original)
+++ dragonegg/trunk/llvm-types.cpp Tue Nov 30 08:14:56 2010
@@ -1,24 +1,22 @@
-/* Tree type to LLVM type converter
-Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
-Contributed by Chris Lattner (sabre at nondot.org)
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version.
-
-GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
-
+//===--------- llvm-type.cpp - Converting GCC types to LLVM types ---------===//
+//
+// Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010  Chris Lattner, Duncan Sands
+// et al.
+//
+// This file is part of DragonEgg.
+//
+// DragonEgg is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free Software
+// Foundation; either version 2, or (at your option) any later version.
+//
+// DragonEgg is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+// A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along with
+// DragonEgg; see the file COPYING.  If not, write to the Free Software
+// Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
+//
 //===----------------------------------------------------------------------===//
 // This is the code that converts GCC tree types into LLVM types.
 //===----------------------------------------------------------------------===//

Modified: dragonegg/trunk/utils/target.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/utils/target.cpp?rev=120427&r1=120426&r2=120427&view=diff
==============================================================================
--- dragonegg/trunk/utils/target.cpp (original)
+++ dragonegg/trunk/utils/target.cpp Tue Nov 30 08:14:56 2010
@@ -1,6 +1,27 @@
-#include <iostream>
+//===---- llvm-target.cpp - Utility for getting info about the target -----===//
+//
+// Copyright (C) 2009, 2010  Duncan Sands.
+//
+// This file is part of DragonEgg.
+//
+// DragonEgg is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free Software
+// Foundation; either version 2, or (at your option) any later version.
+//
+// DragonEgg is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+// A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along with
+// DragonEgg; see the file COPYING.  If not, write to the Free Software
+// Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
+//
+//===----------------------------------------------------------------------===//
+// Utility program for getting information about the system that GCC targets.
+//===----------------------------------------------------------------------===//
 
 #include <llvm/ADT/Triple.h>
+#include <iostream>
 
 using namespace llvm;
 

Modified: dragonegg/trunk/x86/llvm-target.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/x86/llvm-target.cpp?rev=120427&r1=120426&r2=120427&view=diff
==============================================================================
--- dragonegg/trunk/x86/llvm-target.cpp (original)
+++ dragonegg/trunk/x86/llvm-target.cpp Tue Nov 30 08:14:56 2010
@@ -1,26 +1,24 @@
-/* High-level LLVM backend interface
-Copyright (C) 2005 Free Software Foundation, Inc.
-Contributed by Evan Cheng (evan.cheng at apple.com)
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version.
-
-GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
-
+//===------------ llvm-target.cpp - Implements the IA-32 ABI. -------------===//
+//
+// Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010  Evan Cheng, Duncan Sands
+// et al.
+//
+// This file is part of DragonEgg.
+//
+// DragonEgg is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free Software
+// Foundation; either version 2, or (at your option) any later version.
+//
+// DragonEgg is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+// A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along with
+// DragonEgg; see the file COPYING.  If not, write to the Free Software
+// Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
+//
 //===----------------------------------------------------------------------===//
-// This is a C++ source file that implements specific llvm IA-32 ABI.
+// This file implements specific LLVM IA-32 ABI.
 //===----------------------------------------------------------------------===//
 
 // Plugin headers

Modified: dragonegg/trunk/x86/llvm-target.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/x86/llvm-target.h?rev=120427&r1=120426&r2=120427&view=diff
==============================================================================
--- dragonegg/trunk/x86/llvm-target.h (original)
+++ dragonegg/trunk/x86/llvm-target.h Tue Nov 30 08:14:56 2010
@@ -1,23 +1,24 @@
-/* Some target-specific hooks for gcc->llvm conversion
-Copyright (C) 2007 Free Software Foundation, Inc.
-Contributed by Anton Korobeynikov (asl at math.spbu.ru)
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version.
-
-GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
+//==-- llvm-target.h - Target hooks for GCC to LLVM conversion ---*- C++ -*-==//
+//
+// Copyright (C) 2007, 2008, 2009, 2010  Anton Korobeynikov, Duncan Sands et al.
+//
+// This file is part of DragonEgg.
+//
+// DragonEgg is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free Software
+// Foundation; either version 2, or (at your option) any later version.
+//
+// DragonEgg is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+// A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along with
+// DragonEgg; see the file COPYING.  If not, write to the Free Software
+// Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
+//
+//===----------------------------------------------------------------------===//
+// This file declares some target-specific hooks for GCC to LLVM conversion.
+//===----------------------------------------------------------------------===//
 
 #ifndef LLVM_TARGET_H
 #define LLVM_TARGET_H





More information about the llvm-commits mailing list