Update LLVM and Clang snapshot

This commit is contained in:
joerg 2011-05-12 14:56:22 +00:00
parent 6b36a33563
commit 46f5119e40
23 changed files with 94 additions and 33 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: md.amd64,v 1.113 2011/05/09 17:13:20 manu Exp $ # $NetBSD: md.amd64,v 1.114 2011/05/12 14:56:22 joerg Exp $
./usr/include/amd64 comp-c-include ./usr/include/amd64 comp-c-include
./usr/include/amd64/ansi.h comp-c-include ./usr/include/amd64/ansi.h comp-c-include
./usr/include/amd64/aout_machdep.h comp-c-include ./usr/include/amd64/aout_machdep.h comp-c-include
@ -70,8 +70,9 @@
./usr/include/clang-3.0/avxintrin.h comp-c-include llvm ./usr/include/clang-3.0/avxintrin.h comp-c-include llvm
./usr/include/clang-3.0/emmintrin.h comp-c-include llvm ./usr/include/clang-3.0/emmintrin.h comp-c-include llvm
./usr/include/clang-3.0/immintrin.h comp-c-include llvm ./usr/include/clang-3.0/immintrin.h comp-c-include llvm
./usr/include/clang-3.0/mm_malloc.h comp-c-include llvm ./usr/include/clang-3.0/mm3dnow.h comp-c-include llvm
./usr/include/clang-3.0/mmintrin.h comp-c-include llvm ./usr/include/clang-3.0/mmintrin.h comp-c-include llvm
./usr/include/clang-3.0/mm_malloc.h comp-c-include llvm
./usr/include/clang-3.0/pmmintrin.h comp-c-include llvm ./usr/include/clang-3.0/pmmintrin.h comp-c-include llvm
./usr/include/clang-3.0/smmintrin.h comp-c-include llvm ./usr/include/clang-3.0/smmintrin.h comp-c-include llvm
./usr/include/clang-3.0/tmmintrin.h comp-c-include llvm ./usr/include/clang-3.0/tmmintrin.h comp-c-include llvm

View File

@ -1,9 +1,10 @@
# $NetBSD: md.i386,v 1.117 2011/04/15 19:31:06 joerg Exp $ # $NetBSD: md.i386,v 1.118 2011/05/12 14:56:22 joerg Exp $
./usr/include/clang-3.0/avxintrin.h comp-c-include llvm ./usr/include/clang-3.0/avxintrin.h comp-c-include llvm
./usr/include/clang-3.0/emmintrin.h comp-c-include llvm ./usr/include/clang-3.0/emmintrin.h comp-c-include llvm
./usr/include/clang-3.0/immintrin.h comp-c-include llvm ./usr/include/clang-3.0/immintrin.h comp-c-include llvm
./usr/include/clang-3.0/mm_malloc.h comp-c-include llvm ./usr/include/clang-3.0/mm3dnow.h comp-c-include llvm
./usr/include/clang-3.0/mmintrin.h comp-c-include llvm ./usr/include/clang-3.0/mmintrin.h comp-c-include llvm
./usr/include/clang-3.0/mm_malloc.h comp-c-include llvm
./usr/include/clang-3.0/pmmintrin.h comp-c-include llvm ./usr/include/clang-3.0/pmmintrin.h comp-c-include llvm
./usr/include/clang-3.0/smmintrin.h comp-c-include llvm ./usr/include/clang-3.0/smmintrin.h comp-c-include llvm
./usr/include/clang-3.0/tmmintrin.h comp-c-include llvm ./usr/include/clang-3.0/tmmintrin.h comp-c-include llvm

View File

@ -1,12 +1,12 @@
# $NetBSD: Makefile.inc,v 1.5 2011/03/21 16:50:12 joerg Exp $ # $NetBSD: Makefile.inc,v 1.6 2011/05/12 14:56:22 joerg Exp $
.if !defined(LLVM_TOPLEVEL_MK) .if !defined(LLVM_TOPLEVEL_MK)
LLVM_TOPLEVEL_MK= LLVM_TOPLEVEL_MK=
.include <bsd.own.mk> .include <bsd.own.mk>
LLVM_REVISION= 127996 LLVM_REVISION= 130695
CLANG_REVISION= 127996 CLANG_REVISION= 130695
LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm
CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2011/02/23 03:09:03 joerg Exp $ # $NetBSD: Makefile,v 1.4 2011/05/12 14:56:22 joerg Exp $
PROG_CXX= clang PROG_CXX= clang
NOMAN= yes NOMAN= yes
@ -48,6 +48,7 @@ LLVM_LIBS+= \
CodeGen \ CodeGen \
Target \ Target \
InstCombine \ InstCombine \
Instrumentation \
ScalarOpts \ ScalarOpts \
Analysis \ Analysis \
MCDisassembler \ MCDisassembler \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2011/03/28 11:41:48 joerg Exp $ # $NetBSD: Makefile,v 1.4 2011/05/12 14:56:23 joerg Exp $
PROG_CXX= lli PROG_CXX= lli
NOMAN= yes NOMAN= yes
@ -20,8 +20,10 @@ LLVM_LIBS+= \
BitReader \ BitReader \
JIT \ JIT \
MCJIT \ MCJIT \
RuntimeDyld \
Interpreter \ Interpreter \
ExecutionEngine \ ExecutionEngine \
Object \
SelectionDAG \ SelectionDAG \
CodeGen \ CodeGen \
Target \ Target \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2011/04/15 19:31:07 joerg Exp $ # $NetBSD: Makefile,v 1.3 2011/05/12 14:56:23 joerg Exp $
.include <bsd.init.mk> .include <bsd.init.mk>
@ -8,8 +8,9 @@
INCS= avxintrin.h \ INCS= avxintrin.h \
emmintrin.h \ emmintrin.h \
immintrin.h \ immintrin.h \
mm_malloc.h \ mm3dnow.h \
mmintrin.h \ mmintrin.h \
mm_malloc.h \
pmmintrin.h \ pmmintrin.h \
smmintrin.h \ smmintrin.h \
tmmintrin.h \ tmmintrin.h \
@ -64,7 +65,8 @@ TABLEGEN_OUTPUT.Diagnostic.td= \
clang/Basic/DiagnosticLexKinds.inc|-gen-clang-diags-defs^-clang-component=Lex \ clang/Basic/DiagnosticLexKinds.inc|-gen-clang-diags-defs^-clang-component=Lex \
clang/Basic/DiagnosticParseKinds.inc|-gen-clang-diags-defs^-clang-component=Parse \ clang/Basic/DiagnosticParseKinds.inc|-gen-clang-diags-defs^-clang-component=Parse \
clang/Basic/DiagnosticSemaKinds.inc|-gen-clang-diags-defs^-clang-component=Sema \ clang/Basic/DiagnosticSemaKinds.inc|-gen-clang-diags-defs^-clang-component=Sema \
clang/Basic/DiagnosticGroups.inc|-gen-clang-diag-groups clang/Basic/DiagnosticGroups.inc|-gen-clang-diag-groups \
clang/Basic/DiagnosticIndexName.inc|-gen-clang-diags-index-name
TABLEGEN_OUTPUT.arm_neon.td= \ TABLEGEN_OUTPUT.arm_neon.td= \
clang/Basic/arm_neon.inc|-gen-arm-neon-sema \ clang/Basic/arm_neon.inc|-gen-arm-neon-sema \

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.4 2011/03/28 11:41:48 joerg Exp $ # $NetBSD: Makefile,v 1.5 2011/05/12 14:56:23 joerg Exp $
.include <bsd.own.mk>
.include <bsd.own.mk> .include <bsd.own.mk>
@ -11,6 +13,7 @@ SUBDIR= \
libLLVMCodeGen \ libLLVMCodeGen \
libLLVMCore \ libLLVMCore \
libLLVMInstCombine \ libLLVMInstCombine \
libLLVMInstrumentation \
libLLVMipa \ libLLVMipa \
libLLVMipo \ libLLVMipo \
libLLVMMC \ libLLVMMC \
@ -41,12 +44,12 @@ SUBDIR+= \
libLLVMCppBackendInfo \ libLLVMCppBackendInfo \
libLLVMExecutionEngine \ libLLVMExecutionEngine \
libLLVMHello \ libLLVMHello \
libLLVMInstrumentation \
libLLVMInterpreter \ libLLVMInterpreter \
libLLVMJIT \ libLLVMJIT \
libLLVMLinker \ libLLVMLinker \
libLLVMMCJIT \ libLLVMMCJIT \
libLLVMObject libLLVMObject \
libLLVMRuntimeDyld
.endif .endif
SUBDIR+= \ SUBDIR+= \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $ # $NetBSD: Makefile,v 1.3 2011/05/12 14:56:23 joerg Exp $
LIB= LLVMAsmPrinter LIB= LLVMAsmPrinter
@ -12,6 +12,7 @@ SRCS+= ARMException.cpp \
AsmPrinterInlineAsm.cpp \ AsmPrinterInlineAsm.cpp \
DIE.cpp \ DIE.cpp \
DwarfCFIException.cpp \ DwarfCFIException.cpp \
DwarfCompileUnit.cpp \
DwarfDebug.cpp \ DwarfDebug.cpp \
DwarfException.cpp \ DwarfException.cpp \
DwarfTableException.cpp \ DwarfTableException.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:55 joerg Exp $ # $NetBSD: Makefile,v 1.2 2011/05/12 14:56:23 joerg Exp $
LIB= LLVMCodeGen LIB= LLVMCodeGen
@ -26,6 +26,7 @@ SRCS+= AggressiveAntiDepBreaker.cpp \
GCStrategy.cpp \ GCStrategy.cpp \
IfConversion.cpp \ IfConversion.cpp \
InlineSpiller.cpp \ InlineSpiller.cpp \
InterferenceCache.cpp \
IntrinsicLowering.cpp \ IntrinsicLowering.cpp \
LLVMTargetMachine.cpp \ LLVMTargetMachine.cpp \
LatencyPriorityQueue.cpp \ LatencyPriorityQueue.cpp \
@ -103,6 +104,8 @@ SRCS+= AggressiveAntiDepBreaker.cpp \
.if defined(HOSTLIB) .if defined(HOSTLIB)
.include <bsd.hostlib.mk> .include <bsd.hostlib.mk>
# Crashes some versions of GCC
CPPFLAGS.RenderMachineFunction.cpp+= -O0
.else .else
.include <bsd.lib.mk> .include <bsd.lib.mk>
.endif .endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:57 joerg Exp $ # $NetBSD: Makefile,v 1.2 2011/05/12 14:56:23 joerg Exp $
LIB= LLVMInstrumentation LIB= LLVMInstrumentation
@ -7,9 +7,14 @@ LIB= LLVMInstrumentation
.PATH: ${LLVM_SRCDIR}/lib/Transforms/Instrumentation .PATH: ${LLVM_SRCDIR}/lib/Transforms/Instrumentation
SRCS+= EdgeProfiling.cpp \ SRCS+= EdgeProfiling.cpp \
GCOVProfiling.cpp \
Instrumentation.cpp \ Instrumentation.cpp \
OptimalEdgeProfiling.cpp \ OptimalEdgeProfiling.cpp \
PathProfiling.cpp \ PathProfiling.cpp \
ProfilingUtils.cpp ProfilingUtils.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk> .include <bsd.lib.mk>
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:59 joerg Exp $ # $NetBSD: Makefile,v 1.2 2011/05/12 14:56:23 joerg Exp $
LIB= LLVMMCDisassembler LIB= LLVMMCDisassembler
@ -6,7 +6,8 @@ LIB= LLVMMCDisassembler
.PATH: ${LLVM_SRCDIR}/lib/MC/MCDisassembler .PATH: ${LLVM_SRCDIR}/lib/MC/MCDisassembler
SRCS+= EDDisassembler.cpp \ SRCS+= Disassembler.cpp \
EDDisassembler.cpp \
EDOperand.cpp \ EDOperand.cpp \
EDInst.cpp \ EDInst.cpp \
EDToken.cpp EDToken.cpp

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:00 joerg Exp $ # $NetBSD: Makefile,v 1.2 2011/05/12 14:56:23 joerg Exp $
LIB= LLVMMCJIT LIB= LLVMMCJIT
@ -6,7 +6,8 @@ LIB= LLVMMCJIT
.PATH: ${LLVM_SRCDIR}/lib/ExecutionEngine/MCJIT .PATH: ${LLVM_SRCDIR}/lib/ExecutionEngine/MCJIT
SRCS+= MCJIT.cpp \ SRCS+= Intercept.cpp \
MCJIT.cpp \
TargetSelect.cpp TargetSelect.cpp
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:00 joerg Exp $ # $NetBSD: Makefile,v 1.2 2011/05/12 14:56:23 joerg Exp $
LIB= LLVMObject LIB= LLVMObject
NOGCCERROR= yes NOGCCERROR= yes
@ -10,6 +10,8 @@ NOGCCERROR= yes
SRCS+= COFFObjectFile.cpp \ SRCS+= COFFObjectFile.cpp \
ELFObjectFile.cpp \ ELFObjectFile.cpp \
MachOObject.cpp \ MachOObject.cpp \
MachOObjectFile.cpp \
Object.cpp \
ObjectFile.cpp ObjectFile.cpp
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -0,0 +1,11 @@
# $NetBSD: Makefile,v 1.1 2011/05/12 14:56:24 joerg Exp $
LIB= LLVMRuntimeDyld
.include <bsd.init.mk>
.PATH: ${LLVM_SRCDIR}/lib/ExecutionEngine/RuntimeDyld
SRCS+= RuntimeDyld.cpp
.include <bsd.lib.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:02 joerg Exp $ # $NetBSD: Makefile,v 1.2 2011/05/12 14:56:24 joerg Exp $
LIB= LLVMX86AsmPrinter LIB= LLVMX86AsmPrinter
NOGCCERROR= yes NOGCCERROR= yes
@ -6,7 +6,7 @@ NOGCCERROR= yes
.include <bsd.init.mk> .include <bsd.init.mk>
X86_OBJDIR!= cd ${.CURDIR}/../libLLVMX86CodeGen && ${PRINTOBJDIR} X86_OBJDIR!= cd ${.CURDIR}/../libLLVMX86CodeGen && ${PRINTOBJDIR}
CPPFLAGS+= -I${X86_OBJDIR} CPPFLAGS+= -I${X86_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/X86
.PATH: ${LLVM_SRCDIR}/lib/Target/X86/InstPrinter .PATH: ${LLVM_SRCDIR}/lib/Target/X86/InstPrinter

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:05 joerg Exp $ # $NetBSD: Makefile,v 1.2 2011/05/12 14:56:24 joerg Exp $
LIB= LLVMipo LIB= LLVMipo
@ -26,8 +26,7 @@ SRCS+= ArgumentPromotion.cpp \
PartialInlining.cpp \ PartialInlining.cpp \
PruneEH.cpp \ PruneEH.cpp \
StripDeadPrototypes.cpp \ StripDeadPrototypes.cpp \
StripSymbols.cpp \ StripSymbols.cpp
StructRetPromotion.cpp
.if defined(HOSTLIB) .if defined(HOSTLIB)
.include <bsd.hostlib.mk> .include <bsd.hostlib.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:06 joerg Exp $ # $NetBSD: Makefile,v 1.2 2011/05/12 14:56:24 joerg Exp $
LIB= clangBasic LIB= clangBasic
@ -18,7 +18,8 @@ SRCS+= Builtins.cpp \
TargetInfo.cpp \ TargetInfo.cpp \
Targets.cpp \ Targets.cpp \
TokenKinds.cpp \ TokenKinds.cpp \
Version.cpp Version.cpp \
VersionTuple.cpp
CPPFLAGS.version.cpp= -DSVN_REVISON=\"${CLANG_REVISION}\" CPPFLAGS.version.cpp= -DSVN_REVISON=\"${CLANG_REVISION}\"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:06 joerg Exp $ # $NetBSD: Makefile,v 1.2 2011/05/12 14:56:24 joerg Exp $
LIB= clangCodeGen LIB= clangCodeGen
@ -27,6 +27,7 @@ SRCS+= BackendUtil.cpp \
CGObjC.cpp \ CGObjC.cpp \
CGObjCGNU.cpp \ CGObjCGNU.cpp \
CGObjCMac.cpp \ CGObjCMac.cpp \
CGObjCRuntime.cpp \
CGRecordLayoutBuilder.cpp \ CGRecordLayoutBuilder.cpp \
CGRTTI.cpp \ CGRTTI.cpp \
CGStmt.cpp \ CGStmt.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:04 joerg Exp $ # $NetBSD: Makefile,v 1.3 2011/05/12 14:56:24 joerg Exp $
LIB= clangFrontend LIB= clangFrontend
@ -13,6 +13,7 @@ SRCS+= ASTConsumers.cpp \
CacheTokens.cpp \ CacheTokens.cpp \
CompilerInstance.cpp \ CompilerInstance.cpp \
CompilerInvocation.cpp \ CompilerInvocation.cpp \
CreateInvocationFromCommandLine.cpp \
DependencyFile.cpp \ DependencyFile.cpp \
DiagChecker.cpp \ DiagChecker.cpp \
FrontendAction.cpp \ FrontendAction.cpp \
@ -22,6 +23,7 @@ SRCS+= ASTConsumers.cpp \
InitHeaderSearch.cpp \ InitHeaderSearch.cpp \
InitPreprocessor.cpp \ InitPreprocessor.cpp \
LangStandards.cpp \ LangStandards.cpp \
LogDiagnosticPrinter.cpp \
MultiplexConsumer.cpp \ MultiplexConsumer.cpp \
PrintPreprocessedOutput.cpp \ PrintPreprocessedOutput.cpp \
TextDiagnosticBuffer.cpp \ TextDiagnosticBuffer.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:09 joerg Exp $ # $NetBSD: Makefile,v 1.2 2011/05/12 14:56:24 joerg Exp $
LIB= clangSema LIB= clangSema
@ -10,8 +10,10 @@ SRCS+= AnalysisBasedWarnings.cpp \
AttributeList.cpp \ AttributeList.cpp \
CodeCompleteConsumer.cpp \ CodeCompleteConsumer.cpp \
DeclSpec.cpp \ DeclSpec.cpp \
DelayedDiagnostic.cpp \
IdentifierResolver.cpp \ IdentifierResolver.cpp \
JumpDiagnostics.cpp \ JumpDiagnostics.cpp \
Scope.cpp \
Sema.cpp \ Sema.cpp \
SemaAccess.cpp \ SemaAccess.cpp \
SemaAttr.cpp \ SemaAttr.cpp \

View File

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2011/05/12 14:56:24 joerg Exp $
LIB= clangTooling
.include <bsd.init.mk>
.PATH: ${CLANG_SRCDIR}/lib/Tooling
SRCS+= JsonCompileCommandLineDatabase.cpp \
Tooling.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile,v 1.1 2011/05/12 14:56:24 joerg Exp $
.include <bsd.init.mk>

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile,v 1.1 2011/05/12 14:56:25 joerg Exp $
.include <bsd.init.mk>