svn commit: r208963 - in head: lib/clang lib/clang/include
lib/clang/include/clang lib/clang/include/clang/AST
lib/clang/include/clang/Basic lib/clang/include/clang/Driver
lib/clang/include/llvm li...
Roman Divacky
rdivacky at FreeBSD.org
Wed Jun 9 19:32:23 UTC 2010
Author: rdivacky
Date: Wed Jun 9 19:32:20 2010
New Revision: 208963
URL: http://svn.freebsd.org/changeset/base/208963
Log:
Import the build makefiles for clang/LLVM.
Approved by: ed (mentor)
Added:
head/lib/clang/
head/lib/clang/Makefile (contents, props changed)
head/lib/clang/clang.build.mk (contents, props changed)
head/lib/clang/clang.lib.mk (contents, props changed)
head/lib/clang/include/
head/lib/clang/include/ARMGenAsmWriter.inc (contents, props changed)
head/lib/clang/include/ARMGenCallingConv.inc (contents, props changed)
head/lib/clang/include/ARMGenCodeEmitter.inc (contents, props changed)
head/lib/clang/include/ARMGenDAGISel.inc (contents, props changed)
head/lib/clang/include/ARMGenInstrInfo.inc (contents, props changed)
head/lib/clang/include/ARMGenInstrNames.inc (contents, props changed)
head/lib/clang/include/ARMGenRegisterInfo.h.inc (contents, props changed)
head/lib/clang/include/ARMGenRegisterInfo.inc (contents, props changed)
head/lib/clang/include/ARMGenRegisterNames.inc (contents, props changed)
head/lib/clang/include/ARMGenSubtarget.inc (contents, props changed)
head/lib/clang/include/IA64GenAsmWriter.inc (contents, props changed)
head/lib/clang/include/IA64GenDAGISel.inc (contents, props changed)
head/lib/clang/include/IA64GenInstrInfo.inc (contents, props changed)
head/lib/clang/include/IA64GenInstrNames.inc (contents, props changed)
head/lib/clang/include/IA64GenRegisterInfo.h.inc (contents, props changed)
head/lib/clang/include/IA64GenRegisterInfo.inc (contents, props changed)
head/lib/clang/include/IA64GenRegisterNames.inc (contents, props changed)
head/lib/clang/include/Makefile (contents, props changed)
head/lib/clang/include/MipsGenAsmWriter.inc (contents, props changed)
head/lib/clang/include/MipsGenCallingConv.inc (contents, props changed)
head/lib/clang/include/MipsGenDAGISel.inc (contents, props changed)
head/lib/clang/include/MipsGenInstrInfo.inc (contents, props changed)
head/lib/clang/include/MipsGenInstrNames.inc (contents, props changed)
head/lib/clang/include/MipsGenRegisterInfo.h.inc (contents, props changed)
head/lib/clang/include/MipsGenRegisterInfo.inc (contents, props changed)
head/lib/clang/include/MipsGenRegisterNames.inc (contents, props changed)
head/lib/clang/include/MipsGenSubtarget.inc (contents, props changed)
head/lib/clang/include/PPCGenAsmWriter.inc (contents, props changed)
head/lib/clang/include/PPCGenCallingConv.inc (contents, props changed)
head/lib/clang/include/PPCGenCodeEmitter.inc (contents, props changed)
head/lib/clang/include/PPCGenDAGISel.inc (contents, props changed)
head/lib/clang/include/PPCGenInstrInfo.inc (contents, props changed)
head/lib/clang/include/PPCGenInstrNames.inc (contents, props changed)
head/lib/clang/include/PPCGenRegisterInfo.h.inc (contents, props changed)
head/lib/clang/include/PPCGenRegisterInfo.inc (contents, props changed)
head/lib/clang/include/PPCGenRegisterNames.inc (contents, props changed)
head/lib/clang/include/PPCGenSubtarget.inc (contents, props changed)
head/lib/clang/include/X86GenAsmMatcher.inc (contents, props changed)
head/lib/clang/include/X86GenAsmWriter.inc (contents, props changed)
head/lib/clang/include/X86GenAsmWriter1.inc (contents, props changed)
head/lib/clang/include/X86GenCallingConv.inc (contents, props changed)
head/lib/clang/include/X86GenDAGISel.inc (contents, props changed)
head/lib/clang/include/X86GenFastISel.inc (contents, props changed)
head/lib/clang/include/X86GenInstrInfo.inc (contents, props changed)
head/lib/clang/include/X86GenInstrNames.inc (contents, props changed)
head/lib/clang/include/X86GenRegisterInfo.h.inc (contents, props changed)
head/lib/clang/include/X86GenRegisterInfo.inc (contents, props changed)
head/lib/clang/include/X86GenRegisterNames.inc (contents, props changed)
head/lib/clang/include/X86GenSubtarget.inc (contents, props changed)
head/lib/clang/include/clang/
head/lib/clang/include/clang/AST/
head/lib/clang/include/clang/AST/StmtNodes.inc (contents, props changed)
head/lib/clang/include/clang/Basic/
head/lib/clang/include/clang/Basic/DiagnosticASTKinds.inc (contents, props changed)
head/lib/clang/include/clang/Basic/DiagnosticAnalysisKinds.inc (contents, props changed)
head/lib/clang/include/clang/Basic/DiagnosticCommonKinds.inc (contents, props changed)
head/lib/clang/include/clang/Basic/DiagnosticDriverKinds.inc (contents, props changed)
head/lib/clang/include/clang/Basic/DiagnosticFrontendKinds.inc (contents, props changed)
head/lib/clang/include/clang/Basic/DiagnosticGroups.inc (contents, props changed)
head/lib/clang/include/clang/Basic/DiagnosticLexKinds.inc (contents, props changed)
head/lib/clang/include/clang/Basic/DiagnosticParseKinds.inc (contents, props changed)
head/lib/clang/include/clang/Basic/DiagnosticSemaKinds.inc (contents, props changed)
head/lib/clang/include/clang/Driver/
head/lib/clang/include/clang/Driver/CC1AsOptions.inc (contents, props changed)
head/lib/clang/include/clang/Driver/CC1Options.inc (contents, props changed)
head/lib/clang/include/clang/Driver/Options.inc (contents, props changed)
head/lib/clang/include/llvm/
head/lib/clang/include/llvm/ADT/
head/lib/clang/include/llvm/ADT/iterator.h (contents, props changed)
head/lib/clang/include/llvm/Config/
head/lib/clang/include/llvm/Config/AsmParsers.def (contents, props changed)
head/lib/clang/include/llvm/Config/AsmPrinters.def (contents, props changed)
head/lib/clang/include/llvm/Config/Disassemblers.def (contents, props changed)
head/lib/clang/include/llvm/Config/Targets.def (contents, props changed)
head/lib/clang/include/llvm/Config/config.h (contents, props changed)
head/lib/clang/include/llvm/Intrinsics.gen (contents, props changed)
head/lib/clang/include/llvm/System/
head/lib/clang/include/llvm/System/DataTypes.h (contents, props changed)
head/lib/clang/libclanganalysis/
head/lib/clang/libclanganalysis/Makefile (contents, props changed)
head/lib/clang/libclangast/
head/lib/clang/libclangast/Makefile (contents, props changed)
head/lib/clang/libclangbasic/
head/lib/clang/libclangbasic/Makefile (contents, props changed)
head/lib/clang/libclangchecker/
head/lib/clang/libclangchecker/Makefile (contents, props changed)
head/lib/clang/libclangcodegen/
head/lib/clang/libclangcodegen/Makefile (contents, props changed)
head/lib/clang/libclangdriver/
head/lib/clang/libclangdriver/Makefile (contents, props changed)
head/lib/clang/libclangfrontend/
head/lib/clang/libclangfrontend/Makefile (contents, props changed)
head/lib/clang/libclanglex/
head/lib/clang/libclanglex/Makefile (contents, props changed)
head/lib/clang/libclangparse/
head/lib/clang/libclangparse/Makefile (contents, props changed)
head/lib/clang/libclangrewrite/
head/lib/clang/libclangrewrite/Makefile (contents, props changed)
head/lib/clang/libclangsema/
head/lib/clang/libclangsema/Makefile (contents, props changed)
head/lib/clang/libllvmanalysis/
head/lib/clang/libllvmanalysis/Makefile (contents, props changed)
head/lib/clang/libllvmarmasmparser/
head/lib/clang/libllvmarmasmparser/Makefile (contents, props changed)
head/lib/clang/libllvmarmasmprinter/
head/lib/clang/libllvmarmasmprinter/Makefile (contents, props changed)
head/lib/clang/libllvmarmcodegen/
head/lib/clang/libllvmarmcodegen/Makefile (contents, props changed)
head/lib/clang/libllvmarminfo/
head/lib/clang/libllvmarminfo/Makefile (contents, props changed)
head/lib/clang/libllvmasmprinter/
head/lib/clang/libllvmasmprinter/Makefile (contents, props changed)
head/lib/clang/libllvmbitreader/
head/lib/clang/libllvmbitreader/Makefile (contents, props changed)
head/lib/clang/libllvmbitwriter/
head/lib/clang/libllvmbitwriter/Makefile (contents, props changed)
head/lib/clang/libllvmcodegen/
head/lib/clang/libllvmcodegen/Makefile (contents, props changed)
head/lib/clang/libllvmcore/
head/lib/clang/libllvmcore/Makefile (contents, props changed)
head/lib/clang/libllvminstcombine/
head/lib/clang/libllvminstcombine/Makefile (contents, props changed)
head/lib/clang/libllvmipa/
head/lib/clang/libllvmipa/Makefile (contents, props changed)
head/lib/clang/libllvmipo/
head/lib/clang/libllvmipo/Makefile (contents, props changed)
head/lib/clang/libllvmmc/
head/lib/clang/libllvmmc/Makefile (contents, props changed)
head/lib/clang/libllvmmcparser/
head/lib/clang/libllvmmcparser/Makefile (contents, props changed)
head/lib/clang/libllvmmipsasmprinter/
head/lib/clang/libllvmmipsasmprinter/Makefile (contents, props changed)
head/lib/clang/libllvmmipscodegen/
head/lib/clang/libllvmmipscodegen/Makefile (contents, props changed)
head/lib/clang/libllvmmipsinfo/
head/lib/clang/libllvmmipsinfo/Makefile (contents, props changed)
head/lib/clang/libllvmpowerpcasmprinter/
head/lib/clang/libllvmpowerpcasmprinter/Makefile (contents, props changed)
head/lib/clang/libllvmpowerpccodegen/
head/lib/clang/libllvmpowerpccodegen/Makefile (contents, props changed)
head/lib/clang/libllvmpowerpcinfo/
head/lib/clang/libllvmpowerpcinfo/Makefile (contents, props changed)
head/lib/clang/libllvmscalaropts/
head/lib/clang/libllvmscalaropts/Makefile (contents, props changed)
head/lib/clang/libllvmselectiondag/
head/lib/clang/libllvmselectiondag/Makefile (contents, props changed)
head/lib/clang/libllvmsupport/
head/lib/clang/libllvmsupport/Makefile (contents, props changed)
head/lib/clang/libllvmsystem/
head/lib/clang/libllvmsystem/Makefile (contents, props changed)
head/lib/clang/libllvmtarget/
head/lib/clang/libllvmtarget/Makefile (contents, props changed)
head/lib/clang/libllvmtransformutils/
head/lib/clang/libllvmtransformutils/Makefile (contents, props changed)
head/lib/clang/libllvmx86asmparser/
head/lib/clang/libllvmx86asmparser/Makefile (contents, props changed)
head/lib/clang/libllvmx86asmprinter/
head/lib/clang/libllvmx86asmprinter/Makefile (contents, props changed)
head/lib/clang/libllvmx86codegen/
head/lib/clang/libllvmx86codegen/Makefile (contents, props changed)
head/lib/clang/libllvmx86info/
head/lib/clang/libllvmx86info/Makefile (contents, props changed)
head/usr.bin/clang/
head/usr.bin/clang/Makefile (contents, props changed)
head/usr.bin/clang/clang/
head/usr.bin/clang/clang.prog.mk (contents, props changed)
head/usr.bin/clang/clang/Makefile (contents, props changed)
head/usr.bin/clang/tblgen/
head/usr.bin/clang/tblgen/Makefile (contents, props changed)
Added: head/lib/clang/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/Makefile Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,50 @@
+# $FreeBSD$
+
+SUBDIR= libclanganalysis \
+ libclangast \
+ libclangbasic \
+ libclangchecker \
+ libclangcodegen \
+ libclangdriver \
+ libclangfrontend \
+ libclanglex \
+ libclangparse \
+ libclangrewrite \
+ libclangsema \
+ \
+ libllvmanalysis \
+ libllvmasmprinter \
+ libllvmbitreader \
+ libllvmbitwriter \
+ libllvmcodegen \
+ libllvminstcombine \
+ libllvmcore \
+ libllvmipa \
+ libllvmipo \
+ libllvmmc \
+ libllvmmcparser \
+ libllvmscalaropts \
+ libllvmselectiondag \
+ libllvmsupport \
+ libllvmsystem \
+ libllvmtarget \
+ libllvmtransformutils \
+ \
+ libllvmarmasmparser \
+ libllvmarmasmprinter \
+ libllvmarmcodegen \
+ libllvmarminfo \
+ libllvmmipsasmprinter \
+ libllvmmipscodegen \
+ libllvmmipsinfo \
+ libllvmpowerpcasmprinter \
+ libllvmpowerpccodegen \
+ libllvmpowerpcinfo \
+ libllvmx86asmparser \
+ libllvmx86asmprinter \
+ libllvmx86codegen \
+ libllvmx86info \
+ \
+ include
+
+.include <bsd.subdir.mk>
Added: head/lib/clang/clang.build.mk
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/clang.build.mk Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,73 @@
+# $FreeBSD$
+
+CLANG_SRCS=${LLVM_SRCS}/tools/clang
+
+CFLAGS+=-I${LLVM_SRCS}/include -I${CLANG_SRCS}/include \
+ -I${LLVM_SRCS}/${SRCDIR} ${INCDIR:C/^/-I${LLVM_SRCS}\//} -I. \
+ -I${LLVM_SRCS}/../../lib/clang/include \
+ -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD \
+ -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS #-DNDEBUG
+
+TARGET_ARCH?= ${MACHINE_ARCH}
+# XXX: 8.0, to keep __FreeBSD_cc_version happy
+CFLAGS+=-DLLVM_HOSTTRIPLE=\"${TARGET_ARCH}-undermydesk-freebsd9.0\"
+
+.PATH: ${LLVM_SRCS}/${SRCDIR}
+
+TBLGEN=tblgen ${CFLAGS:M-I*}
+
+Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/Intrinsics.td
+ ${TBLGEN} -gen-intrinsic \
+ ${LLVM_SRCS}/include/llvm/Intrinsics.td > ${.TARGET}
+.for arch in \
+ ARM/ARM Mips/Mips PowerPC/PPC X86/X86
+. for hdr in \
+ AsmMatcher/-gen-asm-matcher \
+ AsmWriter1/-gen-asm-writer,-asmwriternum=1 \
+ AsmWriter/-gen-asm-writer \
+ CallingConv/-gen-callingconv \
+ CodeEmitter/-gen-emitter \
+ DAGISel/-gen-dag-isel \
+ FastISel/-gen-fast-isel \
+ InstrInfo/-gen-instr-desc \
+ InstrNames/-gen-instr-enums \
+ RegisterInfo.h/-gen-register-desc-header \
+ RegisterInfo/-gen-register-desc \
+ RegisterNames/-gen-register-enums \
+ Subtarget/-gen-subtarget
+${arch:T}Gen${hdr:H:C/$/.inc.h/}: ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
+ ${TBLGEN} ${hdr:T:C/,/ /g} \
+ ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td > ${.TARGET}
+. endfor
+.endfor
+
+DiagnosticGroups.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
+ ${TBLGEN} -I${CLANG_SRCS}/include/clang/Basic \
+ -gen-clang-diag-groups \
+ ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td > ${.TARGET}
+.for hdr in AST Analysis Common Driver Frontend Lex Parse Sema
+Diagnostic${hdr}Kinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
+ ${TBLGEN} -I${CLANG_SRCS}/include/clang/Basic \
+ -gen-clang-diags-defs -clang-component=${hdr} \
+ ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td > ${.TARGET}
+.endfor
+CC1AsOptions.inc.h: ${CLANG_SRCS}/include/clang/Driver/CC1AsOptions.td
+ ${TBLGEN} -I${CLANG_SRCS}/include/clang/Driver \
+ -gen-opt-parser-defs \
+ ${CLANG_SRCS}/include/clang/Driver/CC1AsOptions.td > ${.TARGET}
+CC1Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/CC1Options.td
+ ${TBLGEN} -I${CLANG_SRCS}/include/clang/Driver \
+ -gen-opt-parser-defs \
+ ${CLANG_SRCS}/include/clang/Driver/CC1Options.td > ${.TARGET}
+Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/Options.td
+ ${TBLGEN} -I${CLANG_SRCS}/include/clang/Driver \
+ -gen-opt-parser-defs \
+ ${CLANG_SRCS}/include/clang/Driver/Options.td > ${.TARGET}
+StmtNodes.inc.h: ${CLANG_SRCS}/include/clang/AST/StmtNodes.td
+ ${TBLGEN} -I${CLANG_SRCS}/include/clang/AST \
+ -gen-clang-stmt-nodes \
+ ${CLANG_SRCS}/include/clang/AST/StmtNodes.td > ${.TARGET}
+
+SRCS+= ${TGHDRS:C/$/.inc.h/}
+DPADD+= ${TGHDRS:C/$/.inc.h/}
+CLEANFILES+= ${TGHDRS:C/$/.inc.h/}
Added: head/lib/clang/clang.lib.mk
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/clang.lib.mk Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+LLVM_SRCS=${.CURDIR}/../../../contrib/llvm
+
+.include "clang.build.mk"
+
+INTERNALLIB=
+
+.include <bsd.lib.mk>
Added: head/lib/clang/include/ARMGenAsmWriter.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/ARMGenAsmWriter.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "ARMGenAsmWriter.inc.h"
Added: head/lib/clang/include/ARMGenCallingConv.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/ARMGenCallingConv.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "ARMGenCallingConv.inc.h"
Added: head/lib/clang/include/ARMGenCodeEmitter.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/ARMGenCodeEmitter.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "ARMGenCodeEmitter.inc.h"
Added: head/lib/clang/include/ARMGenDAGISel.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/ARMGenDAGISel.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "ARMGenDAGISel.inc.h"
Added: head/lib/clang/include/ARMGenInstrInfo.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/ARMGenInstrInfo.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "ARMGenInstrInfo.inc.h"
Added: head/lib/clang/include/ARMGenInstrNames.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/ARMGenInstrNames.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "ARMGenInstrNames.inc.h"
Added: head/lib/clang/include/ARMGenRegisterInfo.h.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/ARMGenRegisterInfo.h.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "ARMGenRegisterInfo.h.inc.h"
Added: head/lib/clang/include/ARMGenRegisterInfo.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/ARMGenRegisterInfo.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "ARMGenRegisterInfo.inc.h"
Added: head/lib/clang/include/ARMGenRegisterNames.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/ARMGenRegisterNames.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "ARMGenRegisterNames.inc.h"
Added: head/lib/clang/include/ARMGenSubtarget.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/ARMGenSubtarget.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "ARMGenSubtarget.inc.h"
Added: head/lib/clang/include/IA64GenAsmWriter.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/IA64GenAsmWriter.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "IA64GenAsmWriter.inc.h"
Added: head/lib/clang/include/IA64GenDAGISel.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/IA64GenDAGISel.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "IA64GenDAGISel.inc.h"
Added: head/lib/clang/include/IA64GenInstrInfo.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/IA64GenInstrInfo.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "IA64GenInstrInfo.inc.h"
Added: head/lib/clang/include/IA64GenInstrNames.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/IA64GenInstrNames.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "IA64GenInstrNames.inc.h"
Added: head/lib/clang/include/IA64GenRegisterInfo.h.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/IA64GenRegisterInfo.h.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "IA64GenRegisterInfo.h.inc.h"
Added: head/lib/clang/include/IA64GenRegisterInfo.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/IA64GenRegisterInfo.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "IA64GenRegisterInfo.inc.h"
Added: head/lib/clang/include/IA64GenRegisterNames.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/IA64GenRegisterNames.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "IA64GenRegisterNames.inc.h"
Added: head/lib/clang/include/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/Makefile Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../contrib/llvm/tools/clang/lib/Headers
+
+INCSDIR=${INCLUDEDIR}/clang/2.0
+
+INCS= emmintrin.h mm_malloc.h mmintrin.h pmmintrin.h tmmintrin.h xmmintrin.h
+
+.include <bsd.init.mk>
+.include <bsd.incs.mk>
+.include <bsd.obj.mk>
Added: head/lib/clang/include/MipsGenAsmWriter.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/MipsGenAsmWriter.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "MipsGenAsmWriter.inc.h"
Added: head/lib/clang/include/MipsGenCallingConv.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/MipsGenCallingConv.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "MipsGenCallingConv.inc.h"
Added: head/lib/clang/include/MipsGenDAGISel.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/MipsGenDAGISel.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "MipsGenDAGISel.inc.h"
Added: head/lib/clang/include/MipsGenInstrInfo.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/MipsGenInstrInfo.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "MipsGenInstrInfo.inc.h"
Added: head/lib/clang/include/MipsGenInstrNames.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/MipsGenInstrNames.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "MipsGenInstrNames.inc.h"
Added: head/lib/clang/include/MipsGenRegisterInfo.h.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/MipsGenRegisterInfo.h.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "MipsGenRegisterInfo.h.inc.h"
Added: head/lib/clang/include/MipsGenRegisterInfo.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/MipsGenRegisterInfo.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "MipsGenRegisterInfo.inc.h"
Added: head/lib/clang/include/MipsGenRegisterNames.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/MipsGenRegisterNames.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "MipsGenRegisterNames.inc.h"
Added: head/lib/clang/include/MipsGenSubtarget.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/MipsGenSubtarget.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "MipsGenSubtarget.inc.h"
Added: head/lib/clang/include/PPCGenAsmWriter.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/PPCGenAsmWriter.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "PPCGenAsmWriter.inc.h"
Added: head/lib/clang/include/PPCGenCallingConv.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/PPCGenCallingConv.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "PPCGenCallingConv.inc.h"
Added: head/lib/clang/include/PPCGenCodeEmitter.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/PPCGenCodeEmitter.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "PPCGenCodeEmitter.inc.h"
Added: head/lib/clang/include/PPCGenDAGISel.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/PPCGenDAGISel.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "PPCGenDAGISel.inc.h"
Added: head/lib/clang/include/PPCGenInstrInfo.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/PPCGenInstrInfo.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "PPCGenInstrInfo.inc.h"
Added: head/lib/clang/include/PPCGenInstrNames.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/PPCGenInstrNames.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "PPCGenInstrNames.inc.h"
Added: head/lib/clang/include/PPCGenRegisterInfo.h.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/PPCGenRegisterInfo.h.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "PPCGenRegisterInfo.h.inc.h"
Added: head/lib/clang/include/PPCGenRegisterInfo.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/PPCGenRegisterInfo.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "PPCGenRegisterInfo.inc.h"
Added: head/lib/clang/include/PPCGenRegisterNames.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/PPCGenRegisterNames.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "PPCGenRegisterNames.inc.h"
Added: head/lib/clang/include/PPCGenSubtarget.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/PPCGenSubtarget.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "PPCGenSubtarget.inc.h"
Added: head/lib/clang/include/X86GenAsmMatcher.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/X86GenAsmMatcher.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "X86GenAsmMatcher.inc.h"
Added: head/lib/clang/include/X86GenAsmWriter.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/X86GenAsmWriter.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "X86GenAsmWriter.inc.h"
Added: head/lib/clang/include/X86GenAsmWriter1.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/X86GenAsmWriter1.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "X86GenAsmWriter1.inc.h"
Added: head/lib/clang/include/X86GenCallingConv.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/X86GenCallingConv.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "X86GenCallingConv.inc.h"
Added: head/lib/clang/include/X86GenDAGISel.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/X86GenDAGISel.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "X86GenDAGISel.inc.h"
Added: head/lib/clang/include/X86GenFastISel.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/X86GenFastISel.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "X86GenFastISel.inc.h"
Added: head/lib/clang/include/X86GenInstrInfo.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/X86GenInstrInfo.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "X86GenInstrInfo.inc.h"
Added: head/lib/clang/include/X86GenInstrNames.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/X86GenInstrNames.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "X86GenInstrNames.inc.h"
Added: head/lib/clang/include/X86GenRegisterInfo.h.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/X86GenRegisterInfo.h.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "X86GenRegisterInfo.h.inc.h"
Added: head/lib/clang/include/X86GenRegisterInfo.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/X86GenRegisterInfo.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "X86GenRegisterInfo.inc.h"
Added: head/lib/clang/include/X86GenRegisterNames.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/X86GenRegisterNames.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "X86GenRegisterNames.inc.h"
Added: head/lib/clang/include/X86GenSubtarget.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/X86GenSubtarget.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "X86GenSubtarget.inc.h"
Added: head/lib/clang/include/clang/AST/StmtNodes.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/clang/AST/StmtNodes.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "StmtNodes.inc.h"
Added: head/lib/clang/include/clang/Basic/DiagnosticASTKinds.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/clang/Basic/DiagnosticASTKinds.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "DiagnosticASTKinds.inc.h"
Added: head/lib/clang/include/clang/Basic/DiagnosticAnalysisKinds.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/clang/Basic/DiagnosticAnalysisKinds.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "DiagnosticAnalysisKinds.inc.h"
Added: head/lib/clang/include/clang/Basic/DiagnosticCommonKinds.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/clang/Basic/DiagnosticCommonKinds.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "DiagnosticCommonKinds.inc.h"
Added: head/lib/clang/include/clang/Basic/DiagnosticDriverKinds.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/clang/Basic/DiagnosticDriverKinds.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "DiagnosticDriverKinds.inc.h"
Added: head/lib/clang/include/clang/Basic/DiagnosticFrontendKinds.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/clang/Basic/DiagnosticFrontendKinds.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "DiagnosticFrontendKinds.inc.h"
Added: head/lib/clang/include/clang/Basic/DiagnosticGroups.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/clang/Basic/DiagnosticGroups.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "DiagnosticGroups.inc.h"
Added: head/lib/clang/include/clang/Basic/DiagnosticLexKinds.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/clang/Basic/DiagnosticLexKinds.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "DiagnosticLexKinds.inc.h"
Added: head/lib/clang/include/clang/Basic/DiagnosticParseKinds.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/clang/Basic/DiagnosticParseKinds.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "DiagnosticParseKinds.inc.h"
Added: head/lib/clang/include/clang/Basic/DiagnosticSemaKinds.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/clang/Basic/DiagnosticSemaKinds.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "DiagnosticSemaKinds.inc.h"
Added: head/lib/clang/include/clang/Driver/CC1AsOptions.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/clang/Driver/CC1AsOptions.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "CC1AsOptions.inc.h"
Added: head/lib/clang/include/clang/Driver/CC1Options.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/clang/Driver/CC1Options.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "CC1Options.inc.h"
Added: head/lib/clang/include/clang/Driver/Options.inc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/clang/Driver/Options.inc Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,2 @@
+/* $FreeBSD$ */
+#include "Options.inc.h"
Added: head/lib/clang/include/llvm/ADT/iterator.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/llvm/ADT/iterator.h Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,78 @@
+/* include/llvm/ADT/iterator.h. Generated from iterator.h.in by configure. */
+//==-- llvm/ADT/iterator.h - Portable wrapper around <iterator> --*- C++ -*-==//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file provides a wrapper around the mysterious <iterator> header file.
+// In GCC 2.95.3, the file defines a bidirectional_iterator class (and other
+// friends), instead of the standard iterator class. In GCC 3.1, the
+// bidirectional_iterator class got moved out and the new, standards compliant,
+// iterator<> class was added. Because there is nothing that we can do to get
+// correct behavior on both compilers, we have this header with #ifdef's. Gross
+// huh?
+//
+// By #includ'ing this file, you get the contents of <iterator> plus the
+// following classes in the global namespace:
+//
+// 1. bidirectional_iterator
+// 2. forward_iterator
+//
+// The #if directives' expressions are filled in by Autoconf.
+//
+// $FreeBSD$
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_ADT_ITERATOR_H
+#define LLVM_ADT_ITERATOR_H
+
+#include <iterator>
+
+#define HAVE_BI_ITERATOR 0
+#define HAVE_STD_ITERATOR 1
+#define HAVE_FWD_ITERATOR 0
+
+#ifdef _MSC_VER
+# define HAVE_BI_ITERATOR 0
+# define HAVE_STD_ITERATOR 1
+# define HAVE_FWD_ITERATOR 0
+#endif
+
+#if !HAVE_BI_ITERATOR
+# if HAVE_STD_ITERATOR
+/// If the bidirectional iterator is not defined, we attempt to define it in
+/// terms of the C++ standard iterator. Otherwise, we import it with a "using"
+/// statement.
+///
+template<class Ty, class PtrDiffTy>
+struct bidirectional_iterator
+ : public std::iterator<std::bidirectional_iterator_tag, Ty, PtrDiffTy> {
+};
+# else
+# error "Need to have standard iterator to define bidirectional iterator!"
+# endif
+#else
+using std::bidirectional_iterator;
+#endif
+
+#if !HAVE_FWD_ITERATOR
+# if HAVE_STD_ITERATOR
+/// If the forward iterator is not defined, attempt to define it in terms of
+/// the C++ standard iterator. Otherwise, we import it with a "using" statement.
+///
+template<class Ty, class PtrDiffTy>
+struct forward_iterator
+ : public std::iterator<std::forward_iterator_tag, Ty, PtrDiffTy> {
+};
+# else
+# error "Need to have standard iterator to define forward iterator!"
+# endif
+#else
+using std::forward_iterator;
+#endif
+
+#endif // LLVM_ADT_ITERATOR_H
Added: head/lib/clang/include/llvm/Config/AsmParsers.def
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/llvm/Config/AsmParsers.def Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,30 @@
+/* $FreeBSD$ */
+//===- llvm/Config/AsmParsers.def - LLVM Assembly Parsers -------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file enumerates all of the assembly-language parsers
+// supported by this build of LLVM. Clients of this file should define
+// the LLVM_ASM_PARSER macro to be a function-like macro with a
+// single parameter (the name of the target whose assembly can be
+// generated); including this file will then enumerate all of the
+// targets with assembly parsers.
+//
+// The set of targets supported by LLVM is generated at configuration
+// time, at which point this header is generated. Do not modify this
+// header directly.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_ASM_PARSER
+# error Please define the macro LLVM_ASM_PARSER(TargetName)
+#endif
+
+LLVM_ASM_PARSER(ARM) LLVM_ASM_PARSER(X86)
+
+#undef LLVM_ASM_PARSER
Added: head/lib/clang/include/llvm/Config/AsmPrinters.def
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/llvm/Config/AsmPrinters.def Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,30 @@
+/* $FreeBSD$ */
+//===- llvm/Config/AsmPrinters.def - LLVM Assembly Printers -----*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file enumerates all of the assembly-language printers
+// supported by this build of LLVM. Clients of this file should define
+// the LLVM_ASM_PRINTER macro to be a function-like macro with a
+// single parameter (the name of the target whose assembly can be
+// generated); including this file will then enumerate all of the
+// targets with assembly printers.
+//
+// The set of targets supported by LLVM is generated at configuration
+// time, at which point this header is generated. Do not modify this
+// header directly.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_ASM_PRINTER
+# error Please define the macro LLVM_ASM_PRINTER(TargetName)
+#endif
+
+LLVM_ASM_PRINTER(Mips) LLVM_ASM_PRINTER(ARM) LLVM_ASM_PRINTER(PowerPC) LLVM_ASM_PRINTER(X86)
+
+#undef LLVM_ASM_PRINTER
Added: head/lib/clang/include/llvm/Config/Disassemblers.def
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/llvm/Config/Disassemblers.def Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,30 @@
+/* $FreeBSD$ */
+//===- llvm/Config/Disassemblers.def - LLVM Assembly Parsers ----*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file enumerates all of the assembly-language parsers
+// supported by this build of LLVM. Clients of this file should define
+// the LLVM_ASM_PARSER macro to be a function-like macro with a
+// single parameter (the name of the target whose assembly can be
+// generated); including this file will then enumerate all of the
+// targets with assembly parsers.
+//
+// The set of targets supported by LLVM is generated at configuration
+// time, at which point this header is generated. Do not modify this
+// header directly.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_DISASSEMBLER
+# error Please define the macro LLVM_DISASSEMBLER(TargetName)
+#endif
+
+LLVM_DISASSEMBLER(X86)
+
+#undef LLVM_DISASSEMBLER
Added: head/lib/clang/include/llvm/Config/Targets.def
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/llvm/Config/Targets.def Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,29 @@
+/* $FreeBSD$ */
+/*===- llvm/Config/Targets.def - LLVM Target Architectures ------*- C++ -*-===*\
+|* *|
+|* The LLVM Compiler Infrastructure *|
+|* *|
+|* This file is distributed under the University of Illinois Open Source *|
+|* License. See LICENSE.TXT for details. *|
+|* *|
+|*===----------------------------------------------------------------------===*|
+|* *|
+|* This file enumerates all of the target architectures supported by *|
+|* this build of LLVM. Clients of this file should define the *|
+|* LLVM_TARGET macro to be a function-like macro with a single *|
+|* parameter (the name of the target); including this file will then *|
+|* enumerate all of the targets. *|
+|* *|
+|* The set of targets supported by LLVM is generated at configuration *|
+|* time, at which point this header is generated. Do not modify this *|
+|* header directly. *|
+|* *|
+\*===----------------------------------------------------------------------===*/
+
+#ifndef LLVM_TARGET
+# error Please define the macro LLVM_TARGET(TargetName)
+#endif
+
+LLVM_TARGET(Mips) LLVM_TARGET(ARM) LLVM_TARGET(PowerPC) LLVM_TARGET(X86)
+
+#undef LLVM_TARGET
Added: head/lib/clang/include/llvm/Config/config.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/clang/include/llvm/Config/config.h Wed Jun 9 19:32:20 2010 (r208963)
@@ -0,0 +1,569 @@
+/* $FreeBSD$ */
+/* include/llvm/Config/config.h. Generated from config.h.in by configure. */
+/* include/llvm/Config/config.h.in. Generated from autoconf/configure.ac by autoheader. */
+
+/* 32 bit multilib directory. */
+#define CXX_INCLUDE_32BIT_DIR ""
+
+/* 64 bit multilib directory. */
+#define CXX_INCLUDE_64BIT_DIR ""
+
+/* Arch the libstdc++ headers. */
+#define CXX_INCLUDE_ARCH ""
+
+/* Directory with the libstdc++ headers. */
+#define CXX_INCLUDE_ROOT ""
+
+/* Directories clang will search for headers */
+#define C_INCLUDE_DIRS ""
+
+/* Define if CBE is enabled for printf %a output */
+#define ENABLE_CBE_PRINTF_A 1
+
+/* Define if position independent code is enabled */
+#define ENABLE_PIC 1
+
+/* Define if threads enabled */
+/* #undef ENABLE_THREADS */
+
+/* Define if timestamp information (e.g., __DATE___) is allowed */
+#define ENABLE_TIMESTAMPS 1
+
+/* Define to 1 if you have the `argz_append' function. */
+/* #undef HAVE_ARGZ_APPEND */
+
+/* Define to 1 if you have the `argz_create_sep' function. */
+/* #undef HAVE_ARGZ_CREATE_SEP */
+
+/* Define to 1 if you have the <argz.h> header file. */
+/* #undef HAVE_ARGZ_H */
+
+/* Define to 1 if you have the `argz_insert' function. */
+/* #undef HAVE_ARGZ_INSERT */
+
+/* Define to 1 if you have the `argz_next' function. */
+/* #undef HAVE_ARGZ_NEXT */
+
+/* Define to 1 if you have the `argz_stringify' function. */
+/* #undef HAVE_ARGZ_STRINGIFY */
+
+/* Define to 1 if you have the <assert.h> header file. */
+#define HAVE_ASSERT_H 1
+
+/* Define to 1 if you have the `backtrace' function. */
+/* #undef HAVE_BACKTRACE */
+
+/* Define to 1 if you have the `bcopy' function. */
+/* #undef HAVE_BCOPY */
+
+/* Define to 1 if you have the `ceilf' function. */
+#define HAVE_CEILF 1
+
+/* Define if the neat program is available */
+/* #undef HAVE_CIRCO */
+
+/* Define to 1 if you have the `closedir' function. */
+#define HAVE_CLOSEDIR 1
+
+/* Define to 1 if you have the <ctype.h> header file. */
+#define HAVE_CTYPE_H 1
+
+/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
+ */
+#define HAVE_DIRENT_H 1
+
+/* Define if you have the GNU dld library. */
+/* #undef HAVE_DLD */
+
+/* Define to 1 if you have the <dld.h> header file. */
+/* #undef HAVE_DLD_H */
+
+/* Define to 1 if you have the `dlerror' function. */
+#define HAVE_DLERROR 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define if dlopen() is available on this platform. */
+#define HAVE_DLOPEN 1
+
+/* Define to 1 if you have the <dl.h> header file. */
+/* #undef HAVE_DL_H */
+
+/* Define if the dot program is available */
+/* #undef HAVE_DOT */
+
+/* Define if the dotty program is available */
+/* #undef HAVE_DOTTY */
+
+/* Define if you have the _dyld_func_lookup function. */
+/* #undef HAVE_DYLD */
+
+/* Define to 1 if you have the <errno.h> header file. */
+#define HAVE_ERRNO_H 1
+
+/* Define to 1 if the system has the type `error_t'. */
+/* #undef HAVE_ERROR_T */
+
+/* Define to 1 if you have the <execinfo.h> header file. */
+/* #undef HAVE_EXECINFO_H */
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define if the neat program is available */
+/* #undef HAVE_FDP */
+
+/* Define if libffi is available on this platform. */
+/* #undef HAVE_FFI_CALL */
+
+/* Define to 1 if you have the <ffi/ffi.h> header file. */
+/* #undef HAVE_FFI_FFI_H */
+
+/* Define to 1 if you have the <ffi.h> header file. */
+/* #undef HAVE_FFI_H */
+
+/* Set to 1 if the finite function is found in <ieeefp.h> */
+/* #undef HAVE_FINITE_IN_IEEEFP_H */
+
+/* Define to 1 if you have the `floorf' function. */
+#define HAVE_FLOORF 1
+
+/* Define to 1 if you have the `fmodf' function. */
+#define HAVE_FMODF 1
+
+/* Define to 1 if you have the `getcwd' function. */
+#define HAVE_GETCWD 1
+
+/* Define to 1 if you have the `getpagesize' function. */
+#define HAVE_GETPAGESIZE 1
+
+/* Define to 1 if you have the `getrlimit' function. */
+#define HAVE_GETRLIMIT 1
+
+/* Define to 1 if you have the `getrusage' function. */
+#define HAVE_GETRUSAGE 1
+
+/* Define to 1 if you have the `gettimeofday' function. */
+#define HAVE_GETTIMEOFDAY 1
+
+/* Define if the Graphviz program is available */
+/* #undef HAVE_GRAPHVIZ */
+
+/* Define if the gv program is available */
+/* #undef HAVE_GV */
+
+/* Define to 1 if you have the `index' function. */
+/* #undef HAVE_INDEX */
+
+/* Define to 1 if the system has the type `int64_t'. */
+#define HAVE_INT64_T 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the `isatty' function. */
+#define HAVE_ISATTY 1
+
+/* Set to 1 if the isinf function is found in <cmath> */
+#define HAVE_ISINF_IN_CMATH 1
+
+/* Set to 1 if the isinf function is found in <math.h> */
+#define HAVE_ISINF_IN_MATH_H 1
+
+/* Set to 1 if the isnan function is found in <cmath> */
+#define HAVE_ISNAN_IN_CMATH 1
+
+/* Set to 1 if the isnan function is found in <math.h> */
+#define HAVE_ISNAN_IN_MATH_H 1
+
+/* Define if you have the libdl library or equivalent. */
+#define HAVE_LIBDL 1
+
+/* Define to 1 if you have the `imagehlp' library (-limagehlp). */
+/* #undef HAVE_LIBIMAGEHLP */
+
+/* Define to 1 if you have the `m' library (-lm). */
+#define HAVE_LIBM 1
+
+/* Define to 1 if you have the `psapi' library (-lpsapi). */
+/* #undef HAVE_LIBPSAPI */
+
+/* Define to 1 if you have the `pthread' library (-lpthread). */
+#define HAVE_LIBPTHREAD 1
+
+/* Define to 1 if you have the `udis86' library (-ludis86). */
+/* #undef HAVE_LIBUDIS86 */
+
+/* Define to 1 if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define if you can use -Wl,-export-dynamic. */
+#define HAVE_LINK_EXPORT_DYNAMIC 1
+
+/* Define to 1 if you have the <link.h> header file. */
+#define HAVE_LINK_H 1
+
+/* Define if you can use -Wl,-R. to pass -R. to the linker, in order to add
+ the current directory to the dynamic linker search path. */
+#define HAVE_LINK_R 1
+
+/* Define to 1 if you have the `longjmp' function. */
+#define HAVE_LONGJMP 1
+
+/* Define to 1 if you have the <mach/mach.h> header file. */
+/* #undef HAVE_MACH_MACH_H */
+
+/* Define to 1 if you have the <mach-o/dyld.h> header file. */
+/* #undef HAVE_MACH_O_DYLD_H */
+
+/* Define if mallinfo() is available on this platform. */
+/* #undef HAVE_MALLINFO */
+
+/* Define to 1 if you have the <malloc.h> header file. */
+/* #undef HAVE_MALLOC_H */
+
+/* Define to 1 if you have the <malloc/malloc.h> header file. */
+/* #undef HAVE_MALLOC_MALLOC_H */
+
+/* Define to 1 if you have the `malloc_zone_statistics' function. */
+/* #undef HAVE_MALLOC_ZONE_STATISTICS */
+
+/* Define to 1 if you have the `memcpy' function. */
+#define HAVE_MEMCPY 1
+
+/* Define to 1 if you have the `memmove' function. */
+#define HAVE_MEMMOVE 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the `mkdtemp' function. */
+#define HAVE_MKDTEMP 1
+
+/* Define to 1 if you have the `mkstemp' function. */
+#define HAVE_MKSTEMP 1
+
+/* Define to 1 if you have the `mktemp' function. */
+#define HAVE_MKTEMP 1
+
+/* Define to 1 if you have a working `mmap' system call. */
+#define HAVE_MMAP 1
+
+/* Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if
+ it uses MAP_ANON */
+/* #undef HAVE_MMAP_ANONYMOUS */
+
+/* Define if mmap() can map files into memory */
+#define HAVE_MMAP_FILE
+
+/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
+/* #undef HAVE_NDIR_H */
+
+/* Define to 1 if you have the `nearbyintf' function. */
+#define HAVE_NEARBYINTF 1
+
+/* Define if the neat program is available */
+/* #undef HAVE_NEATO */
+
+/* Define to 1 if you have the `opendir' function. */
+#define HAVE_OPENDIR 1
+
+/* Define to 1 if you have the `posix_spawn' function. */
+#define HAVE_POSIX_SPAWN 1
+
+/* Define to 1 if you have the `powf' function. */
+#define HAVE_POWF 1
+
+/* Define if libtool can extract symbol lists from object files. */
+#define HAVE_PRELOADED_SYMBOLS 1
+
+/* Define to have the %a format string */
+#define HAVE_PRINTF_A 1
+
+/* Have pthread_getspecific */
+#define HAVE_PTHREAD_GETSPECIFIC 1
+
+/* Define to 1 if you have the <pthread.h> header file. */
+#define HAVE_PTHREAD_H 1
+
+/* Have pthread_mutex_lock */
+#define HAVE_PTHREAD_MUTEX_LOCK 1
+
+/* Have pthread_rwlock_init */
+#define HAVE_PTHREAD_RWLOCK_INIT 1
+
+/* Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h> */
+#define HAVE_RAND48 1
+
+/* Define to 1 if you have the `readdir' function. */
+#define HAVE_READDIR 1
+
+/* Define to 1 if you have the `realpath' function. */
+#define HAVE_REALPATH 1
+
+/* Define to 1 if you have the `rindex' function. */
+/* #undef HAVE_RINDEX */
+
+/* Define to 1 if you have the `rintf' function. */
+#define HAVE_RINTF 1
+
+/* Define to 1 if you have the `round' function. */
+#define HAVE_ROUND 1
+
+/* Define to 1 if you have the `roundf' function. */
+#define HAVE_ROUNDF 1
+
+/* Define to 1 if you have the `sbrk' function. */
+#define HAVE_SBRK 1
+
+/* Define to 1 if you have the `setenv' function. */
+#define HAVE_SETENV 1
+
+/* Define to 1 if you have the `setjmp' function. */
+#define HAVE_SETJMP 1
+
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-src-head
mailing list