Update LLVM/Clang snapshot to r153935. This brings in the new inline
cost analysis.
This commit is contained in:
parent
3c1c42ed5f
commit
103b308da9
6
external/bsd/llvm/Makefile.inc
vendored
6
external/bsd/llvm/Makefile.inc
vendored
@ -1,12 +1,12 @@
|
||||
# $NetBSD: Makefile.inc,v 1.31 2012/03/01 01:12:48 joerg Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.32 2012/04/04 10:42:00 joerg Exp $
|
||||
|
||||
.if !defined(LLVM_TOPLEVEL_MK)
|
||||
LLVM_TOPLEVEL_MK=
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LLVM_REVISION= 151769
|
||||
CLANG_REVISION= 151769
|
||||
LLVM_REVISION= 153935
|
||||
CLANG_REVISION= 153935
|
||||
|
||||
LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm
|
||||
CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang
|
||||
|
3
external/bsd/llvm/bin/Makefile
vendored
3
external/bsd/llvm/bin/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2011/10/11 13:53:57 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2012/04/04 10:42:00 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -25,6 +25,7 @@ SUBDIR+= \
|
||||
llvm-nm \
|
||||
llvm-prof \
|
||||
llvm-ranlib \
|
||||
llvm-readobj \
|
||||
llvm-size \
|
||||
llvm-stub \
|
||||
macho-dumpx \
|
||||
|
3
external/bsd/llvm/bin/bugpoint/Makefile
vendored
3
external/bsd/llvm/bin/bugpoint/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2012/04/04 10:42:00 joerg Exp $
|
||||
|
||||
PROG_CXX= bugpoint
|
||||
NOMAN= yes
|
||||
@ -27,6 +27,7 @@ LLVM_LIBS+= \
|
||||
ScalarOpts \
|
||||
Target \
|
||||
ipo \
|
||||
Vectorize \
|
||||
TransformsUtils \
|
||||
Analysis \
|
||||
ipa \
|
||||
|
3
external/bsd/llvm/bin/clang/Makefile
vendored
3
external/bsd/llvm/bin/clang/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.18 2012/02/28 17:09:29 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.19 2012/04/04 10:42:00 joerg Exp $
|
||||
|
||||
PROG_CXX= clang
|
||||
NOMAN= yes
|
||||
@ -20,6 +20,7 @@ CLANG_LIBS+= \
|
||||
clangFrontendTool \
|
||||
clangFrontend \
|
||||
clangARCMigrate \
|
||||
clangEdit \
|
||||
clangStaticAnalyzerFrontend \
|
||||
clangStaticAnalyzerCheckers \
|
||||
clangStaticAnalyzerCore \
|
||||
|
3
external/bsd/llvm/bin/llc/Makefile
vendored
3
external/bsd/llvm/bin/llc/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.10 2011/10/11 13:53:57 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2012/04/04 10:42:00 joerg Exp $
|
||||
|
||||
PROG_CXX= llc
|
||||
NOMAN= yes
|
||||
@ -20,6 +20,7 @@ LLVM_LIBS+= \
|
||||
ARMAsmPrinter \
|
||||
MipsCodeGen \
|
||||
MipsTargetInfo \
|
||||
MipsAsmParser \
|
||||
MipsMCTargetDesc \
|
||||
MipsAsmPrinter \
|
||||
PowerPCCodeGen \
|
||||
|
3
external/bsd/llvm/bin/llvm-ld/Makefile
vendored
3
external/bsd/llvm/bin/llvm-ld/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2012/04/04 10:42:01 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-ld
|
||||
NOMAN= yes
|
||||
@ -18,6 +18,7 @@ LLVM_LIBS+= \
|
||||
BitWriter \
|
||||
InstCombine \
|
||||
ipo \
|
||||
Vectorize \
|
||||
ScalarOpts \
|
||||
TransformsUtils \
|
||||
Analysis \
|
||||
|
3
external/bsd/llvm/bin/llvm-mc/Makefile
vendored
3
external/bsd/llvm/bin/llvm-mc/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.10 2011/10/11 13:53:58 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2012/04/04 10:42:01 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-mc
|
||||
NOMAN= yes
|
||||
@ -20,6 +20,7 @@ LLVM_LIBS+= \
|
||||
ARMDisassembler \
|
||||
MipsCodeGen \
|
||||
MipsTargetInfo \
|
||||
MipsAsmParser \
|
||||
MipsMCTargetDesc \
|
||||
MipsAsmPrinter \
|
||||
PowerPCCodeGen \
|
||||
|
3
external/bsd/llvm/bin/opt/Makefile
vendored
3
external/bsd/llvm/bin/opt/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2011/03/18 23:32:02 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2012/04/04 10:42:01 joerg Exp $
|
||||
|
||||
PROG_CXX= opt
|
||||
NOMAN= yes
|
||||
@ -19,6 +19,7 @@ LLVM_LIBS+= \
|
||||
InstCombine \
|
||||
Instrumentation \
|
||||
ipo \
|
||||
Vectorize \
|
||||
ScalarOpts \
|
||||
TransformsUtils \
|
||||
Analysis \
|
||||
|
4
external/bsd/llvm/include/Makefile
vendored
4
external/bsd/llvm/include/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.7 2012/02/28 17:09:30 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2012/04/04 10:42:01 joerg Exp $
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
@ -59,6 +59,8 @@ CLANG_TABLEGEN_OUTPUT.Attr.td= \
|
||||
clang/Lex/AttrSpellings.inc|-gen-clang-attr-spelling-list \
|
||||
clang/Parse/AttrLateParsed.inc|-gen-clang-attr-late-parsed-list \
|
||||
clang/Sema/AttrTemplateInstantiate.inc|-gen-clang-attr-template-instantiate \
|
||||
clang/Sema/AttrParsedAttrKinds.inc|-gen-clang-attr-parsed-attr-kinds \
|
||||
clang/Sema/AttrParsedAttrList.inc|-gen-clang-attr-parsed-attr-list \
|
||||
clang/Serialization/AttrPCHRead.inc|-gen-clang-attr-pch-read \
|
||||
clang/Serialization/AttrPCHWrite.inc|-gen-clang-attr-pch-write
|
||||
|
||||
|
5
external/bsd/llvm/lib/Makefile
vendored
5
external/bsd/llvm/lib/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.19 2012/02/28 17:09:30 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.20 2012/04/04 10:42:01 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -69,8 +69,6 @@ SUBDIR+= \
|
||||
SUBDIR+= \
|
||||
libLLVMArchive \
|
||||
libLLVMDebugInfo \
|
||||
libLLVMCBackend \
|
||||
libLLVMCBackendInfo \
|
||||
libLLVMCppBackend \
|
||||
libLLVMCppBackendInfo \
|
||||
libLLVMExecutionEngine \
|
||||
@ -89,6 +87,7 @@ SUBDIR+= \
|
||||
libclangBasic \
|
||||
libclangCodeGen \
|
||||
libclangDriver \
|
||||
libclangEdit \
|
||||
libclangFrontend \
|
||||
libclangFrontendTool \
|
||||
libclangIndex \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.5 2011/08/02 17:12:38 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2012/04/04 10:42:01 joerg Exp $
|
||||
|
||||
LIB= LLVMAnalysis
|
||||
|
||||
@ -17,6 +17,7 @@ SRCS+= AliasAnalysis.cpp \
|
||||
BranchProbabilityInfo.cpp \
|
||||
CFGPrinter.cpp \
|
||||
CaptureTracking.cpp \
|
||||
CodeMetrics.cpp \
|
||||
ConstantFolding.cpp \
|
||||
DbgInfoPrinter.cpp \
|
||||
DebugInfo.cpp \
|
||||
|
11
external/bsd/llvm/lib/libLLVMCBackend/Makefile
vendored
11
external/bsd/llvm/lib/libLLVMCBackend/Makefile
vendored
@ -1,11 +0,0 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:55 joerg Exp $
|
||||
|
||||
LIB= LLVMCBackend
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Target/CBackend
|
||||
|
||||
SRCS+= CBackend.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
@ -1,13 +0,0 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:55 joerg Exp $
|
||||
|
||||
LIB= LLVMCBackendInfo
|
||||
|
||||
CPPFLAGS+= -I${LLVM_SRCDIR}/lib/Target/CBackend
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Target/CBackend/TargetInfo
|
||||
|
||||
SRCS+= CBackendTargetInfo.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.15 2012/02/28 17:09:30 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.16 2012/04/04 10:42:02 joerg Exp $
|
||||
|
||||
LIB= LLVMCodeGen
|
||||
|
||||
@ -88,7 +88,6 @@ SRCS+= AggressiveAntiDepBreaker.cpp \
|
||||
RegisterScavenging.cpp \
|
||||
RenderMachineFunction.cpp \
|
||||
ScheduleDAG.cpp \
|
||||
ScheduleDAGEmit.cpp \
|
||||
ScheduleDAGInstrs.cpp \
|
||||
ScheduleDAGPrinter.cpp \
|
||||
ShadowStackGC.cpp \
|
||||
|
3
external/bsd/llvm/lib/libLLVMCore/Makefile
vendored
3
external/bsd/llvm/lib/libLLVMCore/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.6 2011/10/11 13:53:59 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2012/04/04 10:42:02 joerg Exp $
|
||||
|
||||
LIB= LLVMCore
|
||||
|
||||
@ -13,7 +13,6 @@ SRCS+= AsmWriter.cpp \
|
||||
ConstantFold.cpp \
|
||||
Constants.cpp \
|
||||
Core.cpp \
|
||||
DebugInfoProbe.cpp \
|
||||
DebugLoc.cpp \
|
||||
Dominators.cpp \
|
||||
Function.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2012/02/28 17:09:30 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2012/04/04 10:42:02 joerg Exp $
|
||||
|
||||
LIB= LLVMInstrumentation
|
||||
|
||||
@ -8,6 +8,7 @@ LIB= LLVMInstrumentation
|
||||
|
||||
SRCS+= AddressSanitizer.cpp \
|
||||
EdgeProfiling.cpp \
|
||||
FunctionBlackList.cpp \
|
||||
GCOVProfiling.cpp \
|
||||
Instrumentation.cpp \
|
||||
OptimalEdgeProfiling.cpp \
|
||||
|
8
external/bsd/llvm/lib/libLLVMJIT/Makefile
vendored
8
external/bsd/llvm/lib/libLLVMJIT/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2012/01/11 23:24:47 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2012/04/04 10:42:03 joerg Exp $
|
||||
|
||||
LIB= LLVMJIT
|
||||
|
||||
@ -8,11 +8,9 @@ CPPFLAGS+= -DENABLE_X86_JIT
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/ExecutionEngine/JIT
|
||||
|
||||
SRCS+= Intercept.cpp \
|
||||
JIT.cpp \
|
||||
SRCS+= JIT.cpp \
|
||||
JITDwarfEmitter.cpp \
|
||||
JITEmitter.cpp \
|
||||
JITMemoryManager.cpp \
|
||||
OProfileJITEventListener.cpp
|
||||
JITMemoryManager.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
5
external/bsd/llvm/lib/libLLVMMCJIT/Makefile
vendored
5
external/bsd/llvm/lib/libLLVMMCJIT/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2012/01/11 23:24:47 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2012/04/04 10:42:03 joerg Exp $
|
||||
|
||||
LIB= LLVMMCJIT
|
||||
|
||||
@ -6,8 +6,7 @@ LIB= LLVMMCJIT
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/ExecutionEngine/MCJIT
|
||||
|
||||
SRCS+= Intercept.cpp \
|
||||
MCJIT.cpp \
|
||||
SRCS+= MCJIT.cpp \
|
||||
MCJITMemoryManager.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2012/02/28 17:09:30 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2012/04/04 10:42:03 joerg Exp $
|
||||
|
||||
LIB= LLVMSelectionDAG
|
||||
|
||||
@ -24,6 +24,7 @@ SRCS+= DAGCombiner.cpp \
|
||||
ScheduleDAGVLIW.cpp \
|
||||
SelectionDAG.cpp \
|
||||
SelectionDAGBuilder.cpp \
|
||||
SelectionDAGDumper.cpp \
|
||||
SelectionDAGISel.cpp \
|
||||
SelectionDAGPrinter.cpp \
|
||||
TargetLowering.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.9 2012/02/28 17:09:31 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2012/04/04 10:42:03 joerg Exp $
|
||||
|
||||
LIB= LLVMSupport
|
||||
|
||||
@ -29,6 +29,7 @@ SRCS+= APFloat.cpp \
|
||||
FoldingSet.cpp \
|
||||
FormattedStream.cpp \
|
||||
GraphWriter.cpp \
|
||||
Hashing.cpp \
|
||||
IntEqClasses.cpp \
|
||||
IntervalMap.cpp \
|
||||
IntrusiveRefCntPtr.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.7 2011/12/19 14:07:40 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2012/04/04 10:42:03 joerg Exp $
|
||||
|
||||
LIB= LLVMTransformsUtils
|
||||
|
||||
@ -8,7 +8,6 @@ LIB= LLVMTransformsUtils
|
||||
|
||||
SRCS+= AddrModeMatcher.cpp \
|
||||
BasicBlockUtils.cpp \
|
||||
BasicInliner.cpp \
|
||||
BreakCriticalEdges.cpp \
|
||||
BuildLibCalls.cpp \
|
||||
CloneFunction.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.1 2012/02/28 17:09:31 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2012/04/04 10:42:03 joerg Exp $
|
||||
|
||||
LIB= LLVMVectorize
|
||||
|
||||
@ -6,7 +6,8 @@ LIB= LLVMVectorize
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Transforms/Vectorize
|
||||
|
||||
SRCS+= BBVectorize.cpp
|
||||
SRCS+= BBVectorize.cpp \
|
||||
Vectorize.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2011/11/18 15:56:54 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2012/04/04 10:42:04 joerg Exp $
|
||||
|
||||
LIB= clangARCMigrate
|
||||
|
||||
@ -8,6 +8,7 @@ LIB= clangARCMigrate
|
||||
|
||||
SRCS+= ARCMT.cpp \
|
||||
ARCMTActions.cpp \
|
||||
ObjCMT.cpp \
|
||||
FileRemapper.cpp \
|
||||
PlistReporter.cpp \
|
||||
TransAPIUses.cpp \
|
||||
|
3
external/bsd/llvm/lib/libclangAST/Makefile
vendored
3
external/bsd/llvm/lib/libclangAST/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2012/02/28 17:09:31 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2012/04/04 10:42:04 joerg Exp $
|
||||
|
||||
LIB= clangAST
|
||||
|
||||
@ -35,6 +35,7 @@ SRCS+= APValue.cpp \
|
||||
Mangle.cpp \
|
||||
MicrosoftCXXABI.cpp \
|
||||
MicrosoftMangle.cpp \
|
||||
NSAPI.cpp \
|
||||
NestedNameSpecifier.cpp \
|
||||
ParentMap.cpp \
|
||||
RecordLayout.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.7 2012/01/11 23:24:48 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2012/04/04 10:42:04 joerg Exp $
|
||||
|
||||
LIB= clangAnalysis
|
||||
|
||||
@ -10,6 +10,7 @@ SRCS+= AnalysisDeclContext.cpp \
|
||||
CFG.cpp \
|
||||
CFGReachabilityAnalysis.cpp \
|
||||
CFGStmtMap.cpp \
|
||||
CallGraph.cpp \
|
||||
CocoaConventions.cpp \
|
||||
Dominators.cpp \
|
||||
FormatString.cpp \
|
||||
|
17
external/bsd/llvm/lib/libclangEdit/Makefile
vendored
Normal file
17
external/bsd/llvm/lib/libclangEdit/Makefile
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
# $NetBSD: Makefile,v 1.1 2012/04/04 10:42:04 joerg Exp $
|
||||
|
||||
LIB= clangEdit
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/Edit
|
||||
|
||||
SRCS+= Commit.cpp \
|
||||
EditedSource.cpp \
|
||||
RewriteObjCFoundationAPI.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
4
external/bsd/llvm/lib/libclangIndex/Makefile
vendored
4
external/bsd/llvm/lib/libclangIndex/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:08 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2012/04/04 10:42:04 joerg Exp $
|
||||
|
||||
LIB= clangIndex
|
||||
|
||||
@ -8,9 +8,9 @@ LIB= clangIndex
|
||||
|
||||
SRCS+= ASTLocation.cpp \
|
||||
Analyzer.cpp \
|
||||
CallGraph.cpp \
|
||||
DeclReferenceMap.cpp \
|
||||
Entity.cpp \
|
||||
GlobalCallGraph.cpp \
|
||||
GlobalSelector.cpp \
|
||||
Handlers.cpp \
|
||||
IndexProvider.cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.8 2012/01/11 23:24:49 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2012/04/04 10:42:05 joerg Exp $
|
||||
|
||||
LIB= clangStaticAnalyzerCore
|
||||
|
||||
@ -6,8 +6,7 @@ LIB= clangStaticAnalyzerCore
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer/Core
|
||||
|
||||
SRCS+= AggExprVisitor.cpp \
|
||||
AnalysisManager.cpp \
|
||||
SRCS+= AnalysisManager.cpp \
|
||||
BasicConstraintManager.cpp \
|
||||
BasicValueFactory.cpp \
|
||||
BlockCounter.cpp \
|
||||
@ -26,6 +25,7 @@ SRCS+= AggExprVisitor.cpp \
|
||||
ExprEngineCXX.cpp \
|
||||
ExprEngineCallAndReturn.cpp \
|
||||
ExprEngineObjC.cpp \
|
||||
FunctionSummary.cpp \
|
||||
HTMLDiagnostics.cpp \
|
||||
MemRegion.cpp \
|
||||
ObjCMessage.cpp \
|
||||
|
3
tools/llvm-lib/libclangEdit/Makefile
Normal file
3
tools/llvm-lib/libclangEdit/Makefile
Normal file
@ -0,0 +1,3 @@
|
||||
# $NetBSD: Makefile,v 1.1 2012/04/04 10:42:05 joerg Exp $
|
||||
|
||||
.include <bsd.init.mk>
|
Loading…
Reference in New Issue
Block a user