Bläddra i källkod

+ unit that uses all required llvm code generation units

git-svn-id: branches/hlcgllvm@26057 -
Jonas Maebe 11 år sedan
förälder
incheckning
1acd563d86
2 ändrade filer med 45 tillägg och 0 borttagningar
  1. 1 0
      .gitattributes
  2. 44 0
      compiler/llvm/llvmnode.pas

+ 1 - 0
.gitattributes

@@ -322,6 +322,7 @@ compiler/llvm/itllvm.pas svneol=native#text/plain
 compiler/llvm/llvmbase.pas svneol=native#text/plain
 compiler/llvm/llvmdef.pas svneol=native#text/plain
 compiler/llvm/llvminfo.pas svneol=native#text/plain
+compiler/llvm/llvmnode.pas svneol=native#text/plain
 compiler/llvm/llvmpara.pas svneol=native#text/plain
 compiler/llvm/llvmsym.pas svneol=native#text/plain
 compiler/llvm/llvmtarg.pas svneol=native#text/plain

+ 44 - 0
compiler/llvm/llvmnode.pas

@@ -0,0 +1,44 @@
+{******************************************************************************
+    Copyright (c) 2000-2010 by Florian Klaempfl and Jonas Maebe
+
+    Includes the LLVM code generator
+
+    This program 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 of the License, or
+    (at your option) any later version.
+
+    This program 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 this program; if not, write to the Free Software
+    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+ *****************************************************************************}
+unit llvmnode;
+
+{$I fpcdefs.inc}
+
+interface
+{ This unit is used to define the specific CPU implementations. All needed
+actions are included in the INITALIZATION part of these units. This explains
+the behaviour of such a unit having just a USES clause! }
+
+implementation
+
+    { always first include the target-specific unit, then the llvm one
+      to ensure that the llvm one is initialized later (-> overrides
+      settings)
+    }
+  uses
+    ncgbas,ncgflw,ncgcnv,ncgld,ncgmem,ncgcon,ncgset,
+    ncgadd, ncgcal,ncgmat,ncginl,
+    tgllvm,hlcgllvm,
+    nllvmadd,nllvmcon,nllvmld,nllvmmem,
+    nllvmutil,
+    llvmpara;
+
+end.