diff options
Diffstat (limited to 'lib/clang')
53 files changed, 269 insertions, 79 deletions
diff --git a/lib/clang/Makefile b/lib/clang/Makefile index e0a6201..d6e9457 100644 --- a/lib/clang/Makefile +++ b/lib/clang/Makefile @@ -9,6 +9,7 @@ SUBDIR= libclanganalysis \ libclangbasic \ libclangcodegen \ libclangdriver \ + libclangedit \ libclangfrontend \ libclangfrontendtool \ libclangindex \ @@ -22,6 +23,7 @@ SUBDIR= libclanganalysis \ libclangstaticanalyzerfrontend \ \ libllvmanalysis \ + libllvmarchive \ libllvmasmparser \ libllvmasmprinter \ libllvmbitreader \ @@ -32,14 +34,17 @@ SUBDIR= libclanganalysis \ libllvminstrumentation \ libllvmipa \ libllvmipo \ + libllvmlinker \ libllvmmc \ libllvmmcparser \ + libllvmobject \ libllvmscalaropts \ libllvmselectiondag \ libllvmsupport \ libllvmtablegen \ libllvmtarget \ libllvmtransformutils \ + libllvmvectorize \ \ libllvmarmasmparser \ libllvmarmcodegen \ @@ -47,6 +52,7 @@ SUBDIR= libclanganalysis \ libllvmarmdisassembler \ libllvmarminfo \ libllvmarminstprinter \ + libllvmmipsasmparser \ libllvmmipscodegen \ libllvmmipsdesc \ libllvmmipsinfo \ diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk index 2c059f5..a14918d 100644 --- a/lib/clang/clang.build.mk +++ b/lib/clang/clang.build.mk @@ -12,7 +12,7 @@ CFLAGS+=-I${LLVM_SRCS}/include -I${CLANG_SRCS}/include \ CFLAGS+= -fno-strict-aliasing TARGET_ARCH?= ${MACHINE_ARCH} -CFLAGS+=-DLLVM_HOSTTRIPLE=\"${TARGET_ARCH:C/amd64/x86_64/}-unknown-freebsd10.0\" +CFLAGS+=-DLLVM_DEFAULT_TARGET_TRIPLE=\"${TARGET_ARCH:C/amd64/x86_64/}-unknown-freebsd10.0\" .ifndef LLVM_REQUIRES_EH CXXFLAGS+=-fno-exceptions @@ -82,6 +82,16 @@ AttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td -gen-clang-attr-list -o ${.TARGET} \ -I ${CLANG_SRCS}/include ${.ALLSRC} +AttrParsedAttrKinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ + -gen-clang-attr-parsed-attr-kinds -o ${.TARGET} \ + -I ${CLANG_SRCS}/include ${.ALLSRC} + +AttrParsedAttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ + -gen-clang-attr-parsed-attr-list -o ${.TARGET} \ + -I ${CLANG_SRCS}/include ${.ALLSRC} + AttrPCHRead.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Serialization \ ${TBLINC} -gen-clang-attr-pch-read -o ${.TARGET} \ @@ -97,6 +107,11 @@ AttrSpellings.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td -gen-clang-attr-spelling-list -o ${.TARGET} \ -I ${CLANG_SRCS}/include ${.ALLSRC} +AttrTemplateInstantiate.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ + -gen-clang-attr-template-instantiate -o ${.TARGET} \ + -I ${CLANG_SRCS}/include ${.ALLSRC} + DeclNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/DeclNodes.td ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ -gen-clang-decl-nodes -o ${.TARGET} ${.ALLSRC} @@ -117,7 +132,7 @@ DiagnosticIndexName.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ -gen-clang-diags-index-name -o ${.TARGET} ${.ALLSRC} -.for hdr in AST Analysis Common Driver Frontend Lex Parse Sema +.for hdr in AST Analysis Common Driver Frontend Lex Parse Sema Serialization Diagnostic${hdr}Kinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ -gen-clang-diags-defs -clang-component=${hdr} \ diff --git a/lib/clang/include/Makefile b/lib/clang/include/Makefile index 6f46e28..73a6120 100644 --- a/lib/clang/include/Makefile +++ b/lib/clang/include/Makefile @@ -2,10 +2,11 @@ .PATH: ${.CURDIR}/../../../contrib/llvm/tools/clang/lib/Headers -INCSDIR=${INCLUDEDIR}/clang/3.0 +INCSDIR=${INCLUDEDIR}/clang/3.1 INCS= altivec.h \ avxintrin.h \ + cpuid.h \ emmintrin.h \ immintrin.h \ mm3dnow.h \ @@ -14,7 +15,9 @@ INCS= altivec.h \ nmmintrin.h \ pmmintrin.h \ smmintrin.h \ + stdalign.h \ tmmintrin.h \ + unwind.h \ wmmintrin.h \ x86intrin.h \ xmmintrin.h diff --git a/lib/clang/include/MipsGenMCCodeEmitter.inc b/lib/clang/include/MipsGenMCCodeEmitter.inc new file mode 100644 index 0000000..82cd418 --- /dev/null +++ b/lib/clang/include/MipsGenMCCodeEmitter.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "MipsGenMCCodeEmitter.inc.h" diff --git a/lib/clang/include/clang/Basic/DiagnosticSerializationKinds.inc b/lib/clang/include/clang/Basic/DiagnosticSerializationKinds.inc new file mode 100644 index 0000000..f0d84f1 --- /dev/null +++ b/lib/clang/include/clang/Basic/DiagnosticSerializationKinds.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "DiagnosticSerializationKinds.inc.h" diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc index 9842584..55d4ea6 100644 --- a/lib/clang/include/clang/Basic/Version.inc +++ b/lib/clang/include/clang/Basic/Version.inc @@ -1,10 +1,10 @@ /* $FreeBSD$ */ -#define CLANG_VERSION 3.0 +#define CLANG_VERSION 3.1 #define CLANG_VERSION_MAJOR 3 -#define CLANG_VERSION_MINOR 0 +#define CLANG_VERSION_MINOR 1 #define CLANG_VENDOR "FreeBSD " -#define CLANG_VENDOR_SUFFIX " 20111210" +#define CLANG_VENDOR_SUFFIX " 20120413" -#define SVN_REVISION "145349" +#define SVN_REVISION "154661" diff --git a/lib/clang/include/clang/Config/config.h b/lib/clang/include/clang/Config/config.h new file mode 100644 index 0000000..7348308 --- /dev/null +++ b/lib/clang/include/clang/Config/config.h @@ -0,0 +1,20 @@ +/* $FreeBSD$ */ +/* tools/clang/include/clang/Config/config.h. Generated from config.h.in by configure. */ +/* include/clang/Config/config.h.in. */ + +#ifndef CONFIG_H +#define CONFIG_H + +/* Bug report URL. */ +#define BUG_REPORT_URL "http://llvm.org/bugs/" + +/* Relative directory for resource files */ +#define CLANG_RESOURCE_DIR "" + +/* Directory where gcc is installed. */ +#define GCC_INSTALL_PREFIX "" + +/* Directories clang will search for headers */ +#define C_INCLUDE_DIRS "" + +#endif diff --git a/lib/clang/include/clang/Sema/AttrParsedAttrKinds.inc b/lib/clang/include/clang/Sema/AttrParsedAttrKinds.inc new file mode 100644 index 0000000..77d0092 --- /dev/null +++ b/lib/clang/include/clang/Sema/AttrParsedAttrKinds.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "AttrParsedAttrKinds.inc.h" diff --git a/lib/clang/include/clang/Sema/AttrParsedAttrList.inc b/lib/clang/include/clang/Sema/AttrParsedAttrList.inc new file mode 100644 index 0000000..b5aeac3 --- /dev/null +++ b/lib/clang/include/clang/Sema/AttrParsedAttrList.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "AttrParsedAttrList.inc.h" diff --git a/lib/clang/include/clang/Sema/AttrTemplateInstantiate.inc b/lib/clang/include/clang/Sema/AttrTemplateInstantiate.inc new file mode 100644 index 0000000..88c3c11 --- /dev/null +++ b/lib/clang/include/clang/Sema/AttrTemplateInstantiate.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "AttrTemplateInstantiate.inc.h" diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index 92c960b..f6001e9 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -11,33 +11,18 @@ /* Relative directory for resource files */ #define CLANG_RESOURCE_DIR "" -/* 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 0 -/* Define if threads enabled */ -#define ENABLE_THREADS 0 - /* Define if timestamp information (e.g., __DATE___) is allowed */ #define ENABLE_TIMESTAMPS 0 +/* Directory where gcc is installed. */ +#define GCC_INSTALL_PREFIX "" + /* Define to 1 if you have the `argz_append' function. */ /* #undef HAVE_ARGZ_APPEND */ @@ -297,6 +282,9 @@ /* Define to 1 if you have the `powf' function. */ #define HAVE_POWF 1 +/* Define to 1 if you have the `pread' function. */ +#define HAVE_PREAD 1 + /* Define if libtool can extract symbol lists from object files. */ #define HAVE_PRELOADED_SYMBOLS 1 @@ -373,7 +361,7 @@ #define HAVE_STDLIB_H 1 /* Set to 1 if the std::isinf function is found in <cmath> */ -/* #undef HAVE_STD_ISINF_IN_CMATH */ +#define HAVE_STD_ISINF_IN_CMATH 1 /* Set to 1 if the std::isnan function is found in <cmath> */ #define HAVE_STD_ISNAN_IN_CMATH 1 @@ -545,18 +533,21 @@ /* Installation directory for data files */ /* #undef LLVM_DATADIR */ +/* Target triple LLVM will generate code for by default */ +/* #undef LLVM_DEFAULT_TARGET_TRIPLE */ + /* Installation directory for documentation */ /* #undef LLVM_DOCSDIR */ +/* Define if threads enabled */ +#define LLVM_ENABLE_THREADS 0 + /* Installation directory for config files */ /* #undef LLVM_ETCDIR */ /* Has gcc/MSVC atomic intrinsics */ #define LLVM_HAS_ATOMICS 0 -/* Host triple we were built on */ -/* #undef LLVM_HOSTTRIPLE */ - /* Installation directory for include files */ /* #undef LLVM_INCLUDEDIR */ @@ -578,6 +569,9 @@ /* LLVM name for the native AsmPrinter init function, if available */ #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter +/* LLVM name for the native Disassembler init function, if available */ +#define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler + /* LLVM name for the native Target init function, if available */ #define LLVM_NATIVE_TARGET LLVMInitializeX86Target @@ -623,6 +617,18 @@ /* Installation prefix directory */ /* #undef LLVM_PREFIX */ +/* Define if we have the Intel JIT API runtime support library */ +#define LLVM_USE_INTEL_JITEVENTS 0 + +/* Define if we have the oprofile JIT-support library */ +#define LLVM_USE_OPROFILE 0 + +/* Major version of the LLVM API */ +#define LLVM_VERSION_MAJOR 3 + +/* Minor version of the LLVM API */ +#define LLVM_VERSION_MINOR 1 + /* Define if the OS needs help to load dependent libraries for dlopen(). */ #define LTDL_DLOPEN_DEPLIBS 1 @@ -648,19 +654,19 @@ /* #undef NEED_USCORE */ /* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "llvmbugs@cs.uiuc.edu" +#define PACKAGE_BUGREPORT "http://llvm.org/bugs/" /* Define to the full name of this package. */ -#define PACKAGE_NAME "llvm" +#define PACKAGE_NAME "LLVM" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "llvm 3.0" +#define PACKAGE_STRING "LLVM 3.1svn" /* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "-llvm-" +#define PACKAGE_TARNAME "llvm" /* Define to the version of this package. */ -#define PACKAGE_VERSION "3.0" +#define PACKAGE_VERSION "3.1svn" /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void @@ -677,9 +683,6 @@ /* Define to 1 if your <sys/time.h> declares `struct tm'. */ /* #undef TM_IN_SYS_TIME */ -/* Define if we have the oprofile JIT-support library */ -#define USE_OPROFILE 0 - /* Define if use udis86 library */ #define USE_UDIS86 0 diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h index 1b50ab8..4a8d460 100644 --- a/lib/clang/include/llvm/Config/llvm-config.h +++ b/lib/clang/include/llvm/Config/llvm-config.h @@ -27,18 +27,21 @@ /* Installation directory for data files */ /* #undef LLVM_DATADIR */ +/* Target triple LLVM will generate code for by default */ +/* #undef LLVM_DEFAULT_TARGET_TRIPLE */ + /* Installation directory for documentation */ /* #undef LLVM_DOCSDIR */ +/* Define if threads enabled */ +#define LLVM_ENABLE_THREADS 0 + /* Installation directory for config files */ /* #undef LLVM_ETCDIR */ /* Has gcc/MSVC atomic intrinsics */ #define LLVM_HAS_ATOMICS 0 -/* Host triple we were built on */ -/* #undef LLVM_HOSTTRIPLE */ - /* Installation directory for include files */ /* #undef LLVM_INCLUDEDIR */ @@ -60,6 +63,9 @@ /* LLVM name for the native AsmPrinter init function, if available */ #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter +/* LLVM name for the native Disassembler init function, if available */ +#define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler + /* LLVM name for the native Target init function, if available */ #define LLVM_NATIVE_TARGET LLVMInitializeX86Target @@ -105,4 +111,10 @@ /* Installation prefix directory */ /* #undef LLVM_PREFIX */ +/* Major version of the LLVM API */ +#define LLVM_VERSION_MAJOR 3 + +/* Minor version of the LLVM API */ +#define LLVM_VERSION_MINOR 1 + #endif diff --git a/lib/clang/libclanganalysis/Makefile b/lib/clang/libclanganalysis/Makefile index f5fbc627..f45ec59 100644 --- a/lib/clang/libclanganalysis/Makefile +++ b/lib/clang/libclanganalysis/Makefile @@ -3,13 +3,16 @@ LIB= clanganalysis SRCDIR= tools/clang/lib/Analysis -SRCS= AnalysisContext.cpp \ +SRCS= AnalysisDeclContext.cpp \ + CallGraph.cpp \ CFG.cpp \ CFGReachabilityAnalysis.cpp \ CFGStmtMap.cpp \ CocoaConventions.cpp \ + Dominators.cpp \ FormatString.cpp \ LiveVariables.cpp \ + PostOrderCFGView.cpp \ PrintfFormatString.cpp \ ProgramPoint.cpp \ PseudoConstantAnalysis.cpp \ diff --git a/lib/clang/libclangarcmigrate/Makefile b/lib/clang/libclangarcmigrate/Makefile index 957c3ba..d097ec4 100644 --- a/lib/clang/libclangarcmigrate/Makefile +++ b/lib/clang/libclangarcmigrate/Makefile @@ -6,6 +6,7 @@ SRCDIR= tools/clang/lib/ARCMigrate SRCS= ARCMT.cpp \ ARCMTActions.cpp \ FileRemapper.cpp \ + ObjCMT.cpp \ PlistReporter.cpp \ TransAPIUses.cpp \ TransARCAssign.cpp \ @@ -14,6 +15,8 @@ SRCS= ARCMT.cpp \ TransEmptyStatementsAndDealloc.cpp \ TransformActions.cpp \ Transforms.cpp \ + TransGCAttrs.cpp \ + TransGCCalls.cpp \ TransProperties.cpp \ TransRetainReleaseDealloc.cpp \ TransUnbridgedCasts.cpp \ @@ -21,6 +24,7 @@ SRCS= ARCMT.cpp \ TransZeroOutPropsInDealloc.cpp TGHDRS= AttrList \ + AttrParsedAttrList \ Attrs \ DeclNodes \ DiagnosticCommonKinds \ diff --git a/lib/clang/libclangast/Makefile b/lib/clang/libclangast/Makefile index 61f6881..81812dc 100644 --- a/lib/clang/libclangast/Makefile +++ b/lib/clang/libclangast/Makefile @@ -28,10 +28,12 @@ SRCS= APValue.cpp \ InheritViz.cpp \ ItaniumCXXABI.cpp \ ItaniumMangle.cpp \ + LambdaMangleContext.cpp \ Mangle.cpp \ MicrosoftCXXABI.cpp \ MicrosoftMangle.cpp \ NestedNameSpecifier.cpp \ + NSAPI.cpp \ ParentMap.cpp \ RecordLayout.cpp \ RecordLayoutBuilder.cpp \ diff --git a/lib/clang/libclangbasic/Makefile b/lib/clang/libclangbasic/Makefile index dec03c5..742cc24 100644 --- a/lib/clang/libclangbasic/Makefile +++ b/lib/clang/libclangbasic/Makefile @@ -11,6 +11,7 @@ SRCS= Builtins.cpp \ FileSystemStatCache.cpp \ IdentifierTable.cpp \ LangOptions.cpp \ + Module.cpp \ SourceLocation.cpp \ SourceManager.cpp \ TargetInfo.cpp \ @@ -29,6 +30,7 @@ TGHDRS= DiagnosticAnalysisKinds \ DiagnosticLexKinds \ DiagnosticParseKinds \ DiagnosticSemaKinds \ + DiagnosticSerializationKinds \ arm_neon .include "../clang.lib.mk" diff --git a/lib/clang/libclangcodegen/Makefile b/lib/clang/libclangcodegen/Makefile index 467b2d2..bd7b171 100644 --- a/lib/clang/libclangcodegen/Makefile +++ b/lib/clang/libclangcodegen/Makefile @@ -31,7 +31,6 @@ SRCS= BackendUtil.cpp \ CGRTTI.cpp \ CGRecordLayoutBuilder.cpp \ CGStmt.cpp \ - CGTemporaries.cpp \ CGVTT.cpp \ CGVTables.cpp \ CodeGenAction.cpp \ diff --git a/lib/clang/libclangdriver/Makefile b/lib/clang/libclangdriver/Makefile index ce9d251..53d49d1 100644 --- a/lib/clang/libclangdriver/Makefile +++ b/lib/clang/libclangdriver/Makefile @@ -11,7 +11,6 @@ SRCS= Action.cpp \ Compilation.cpp \ Driver.cpp \ DriverOptions.cpp \ - HostInfo.cpp \ Job.cpp \ OptTable.cpp \ Option.cpp \ @@ -20,7 +19,8 @@ SRCS= Action.cpp \ ToolChain.cpp \ ToolChains.cpp \ Tools.cpp \ - Types.cpp + Types.cpp \ + WindowsToolChain.cpp TGHDRS= CC1AsOptions \ CC1Options \ diff --git a/lib/clang/libclangedit/Makefile b/lib/clang/libclangedit/Makefile new file mode 100644 index 0000000..147d133 --- /dev/null +++ b/lib/clang/libclangedit/Makefile @@ -0,0 +1,16 @@ +# $FreeBSD$ + +LIB= clangedit + +SRCDIR= tools/clang/lib/Edit +SRCS= Commit.cpp \ + EditedSource.cpp \ + RewriteObjCFoundationAPI.cpp + +TGHDRS= AttrList \ + Attrs \ + DeclNodes \ + StmtNodes \ + DiagnosticCommonKinds + +.include "../clang.lib.mk" diff --git a/lib/clang/libclangfrontend/Makefile b/lib/clang/libclangfrontend/Makefile index d8495a2..0ef026b 100644 --- a/lib/clang/libclangfrontend/Makefile +++ b/lib/clang/libclangfrontend/Makefile @@ -7,10 +7,14 @@ SRCS= ASTConsumers.cpp \ ASTMerge.cpp \ ASTUnit.cpp \ CacheTokens.cpp \ + ChainedDiagnosticConsumer.cpp \ + ChainedIncludesSource.cpp \ CompilerInstance.cpp \ CompilerInvocation.cpp \ CreateInvocationFromCommandLine.cpp \ DependencyFile.cpp \ + DependencyGraph.cpp \ + DiagnosticRenderer.cpp \ FrontendAction.cpp \ FrontendActions.cpp \ FrontendOptions.cpp \ @@ -18,15 +22,19 @@ SRCS= ASTConsumers.cpp \ InitHeaderSearch.cpp \ InitPreprocessor.cpp \ LangStandards.cpp \ + LayoutOverrideSource.cpp \ LogDiagnosticPrinter.cpp \ MultiplexConsumer.cpp \ PrintPreprocessedOutput.cpp \ + SerializedDiagnosticPrinter.cpp \ + TextDiagnostic.cpp \ TextDiagnosticBuffer.cpp \ TextDiagnosticPrinter.cpp \ VerifyDiagnosticConsumer.cpp \ Warnings.cpp TGHDRS= AttrList \ + AttrParsedAttrList \ Attrs \ CC1Options \ DeclNodes \ diff --git a/lib/clang/libclangindex/Makefile b/lib/clang/libclangindex/Makefile index 0980da0..63b532c 100644 --- a/lib/clang/libclangindex/Makefile +++ b/lib/clang/libclangindex/Makefile @@ -5,7 +5,6 @@ LIB= clangindex SRCDIR= tools/clang/lib/Index SRCS= ASTLocation.cpp \ Analyzer.cpp \ - CallGraph.cpp \ DeclReferenceMap.cpp \ Entity.cpp \ GlobalSelector.cpp \ diff --git a/lib/clang/libclanglex/Makefile b/lib/clang/libclanglex/Makefile index 7e659c6..3ad0e3f 100644 --- a/lib/clang/libclanglex/Makefile +++ b/lib/clang/libclanglex/Makefile @@ -9,7 +9,9 @@ SRCS= HeaderMap.cpp \ LiteralSupport.cpp \ MacroArgs.cpp \ MacroInfo.cpp \ + ModuleMap.cpp \ PPCaching.cpp \ + PPCallbacks.cpp \ PPDirectives.cpp \ PPExpressions.cpp \ PPLexerChange.cpp \ diff --git a/lib/clang/libclangparse/Makefile b/lib/clang/libclangparse/Makefile index 6bd0b5b..1bf46a8 100644 --- a/lib/clang/libclangparse/Makefile +++ b/lib/clang/libclangparse/Makefile @@ -19,6 +19,7 @@ SRCS= ParseAST.cpp \ TGHDRS= AttrLateParsed \ AttrList \ + AttrParsedAttrList \ Attrs \ DeclNodes \ DiagnosticCommonKinds \ diff --git a/lib/clang/libclangrewrite/Makefile b/lib/clang/libclangrewrite/Makefile index 496c699..3150b56 100644 --- a/lib/clang/libclangrewrite/Makefile +++ b/lib/clang/libclangrewrite/Makefile @@ -9,6 +9,7 @@ SRCS= DeltaTree.cpp \ HTMLPrint.cpp \ HTMLRewrite.cpp \ RewriteMacros.cpp \ + RewriteModernObjC.cpp \ RewriteObjC.cpp \ RewriteRope.cpp \ RewriteTest.cpp \ @@ -16,6 +17,7 @@ SRCS= DeltaTree.cpp \ TokenRewriter.cpp TGHDRS= AttrList \ + AttrParsedAttrList \ Attrs \ DeclNodes \ DiagnosticCommonKinds \ diff --git a/lib/clang/libclangsema/Makefile b/lib/clang/libclangsema/Makefile index 57f5ccb..e40a756 100644 --- a/lib/clang/libclangsema/Makefile +++ b/lib/clang/libclangsema/Makefile @@ -10,7 +10,6 @@ SRCS= AnalysisBasedWarnings.cpp \ DelayedDiagnostic.cpp \ IdentifierResolver.cpp \ JumpDiagnostics.cpp \ - MultiInitializer.cpp \ Scope.cpp \ Sema.cpp \ SemaAccess.cpp \ @@ -19,20 +18,23 @@ SRCS= AnalysisBasedWarnings.cpp \ SemaCast.cpp \ SemaChecking.cpp \ SemaCodeComplete.cpp \ + SemaConsumer.cpp \ SemaDecl.cpp \ SemaDeclAttr.cpp \ SemaDeclCXX.cpp \ - SemaExprMember.cpp \ SemaDeclObjC.cpp \ SemaExceptionSpec.cpp \ SemaExpr.cpp \ SemaExprCXX.cpp \ + SemaExprMember.cpp \ SemaExprObjC.cpp \ SemaFixItUtils.cpp \ SemaInit.cpp \ + SemaLambda.cpp \ SemaLookup.cpp \ SemaObjCProperty.cpp \ SemaOverload.cpp \ + SemaPseudoObject.cpp \ SemaStmt.cpp \ SemaTemplate.cpp \ SemaTemplateDeduction.cpp \ @@ -43,6 +45,9 @@ SRCS= AnalysisBasedWarnings.cpp \ TargetAttributesSema.cpp TGHDRS= AttrList \ + AttrParsedAttrKinds \ + AttrParsedAttrList \ + AttrTemplateInstantiate \ Attrs \ DeclNodes \ DiagnosticASTKinds \ diff --git a/lib/clang/libclangserialization/Makefile b/lib/clang/libclangserialization/Makefile index a4e0f36..acd97ae 100644 --- a/lib/clang/libclangserialization/Makefile +++ b/lib/clang/libclangserialization/Makefile @@ -10,7 +10,6 @@ SRCS= ASTCommon.cpp \ ASTWriter.cpp \ ASTWriterDecl.cpp \ ASTWriterStmt.cpp \ - ChainedIncludesSource.cpp \ GeneratePCH.cpp \ Module.cpp \ ModuleManager.cpp @@ -18,11 +17,13 @@ SRCS= ASTCommon.cpp \ TGHDRS= AttrList \ AttrPCHRead \ AttrPCHWrite \ + AttrParsedAttrList \ Attrs \ DeclNodes \ DiagnosticCommonKinds \ DiagnosticFrontendKinds \ DiagnosticSemaKinds \ + DiagnosticSerializationKinds \ StmtNodes .include "../clang.lib.mk" diff --git a/lib/clang/libclangstaticanalyzercheckers/Makefile b/lib/clang/libclangstaticanalyzercheckers/Makefile index 44f7d58..d4eb771 100644 --- a/lib/clang/libclangstaticanalyzercheckers/Makefile +++ b/lib/clang/libclangstaticanalyzercheckers/Makefile @@ -9,8 +9,10 @@ SRCS= AdjustedReturnValueChecker.cpp \ ArrayBoundCheckerV2.cpp \ AttrNonNullChecker.cpp \ BasicObjCFoundationChecks.cpp \ + BoolAssignmentChecker.cpp \ BuiltinFunctionChecker.cpp \ CStringChecker.cpp \ + CStringSyntaxChecker.cpp \ CallAndMessageChecker.cpp \ CastSizeChecker.cpp \ CastToStructChecker.cpp \ @@ -18,13 +20,16 @@ SRCS= AdjustedReturnValueChecker.cpp \ CheckObjCInstMethSignature.cpp \ CheckSecuritySyntaxOnly.cpp \ CheckSizeofPointer.cpp \ + CheckerDocumentation.cpp \ ChrootChecker.cpp \ ClangCheckers.cpp \ + CommonBugCategories.cpp \ DeadStoresChecker.cpp \ DebugCheckers.cpp \ DereferenceChecker.cpp \ DivZeroChecker.cpp \ FixedAddressChecker.cpp \ + GenericTaintChecker.cpp \ IdempotentOperationChecker.cpp \ IteratorsChecker.cpp \ LLVMConventionsChecker.cpp \ @@ -32,11 +37,14 @@ SRCS= AdjustedReturnValueChecker.cpp \ MacOSXAPIChecker.cpp \ MallocChecker.cpp \ MallocOverflowSecurityChecker.cpp \ + MallocSizeofChecker.cpp \ NSAutoreleasePoolChecker.cpp \ NSErrorChecker.cpp \ NoReturnFunctionChecker.cpp \ OSAtomicChecker.cpp \ ObjCAtSyncChecker.cpp \ + ObjCContainersASTChecker.cpp \ + ObjCContainersChecker.cpp \ ObjCSelfInitChecker.cpp \ ObjCUnusedIVarsChecker.cpp \ PointerArithChecker.cpp \ @@ -47,6 +55,7 @@ SRCS= AdjustedReturnValueChecker.cpp \ ReturnUndefChecker.cpp \ StackAddrEscapeChecker.cpp \ StreamChecker.cpp \ + TaintTesterChecker.cpp \ UndefBranchChecker.cpp \ UndefCapturedBlockVarChecker.cpp \ UndefResultChecker.cpp \ @@ -54,7 +63,8 @@ SRCS= AdjustedReturnValueChecker.cpp \ UndefinedAssignmentChecker.cpp \ UnixAPIChecker.cpp \ UnreachableCodeChecker.cpp \ - VLASizeChecker.cpp + VLASizeChecker.cpp \ + VirtualCallChecker.cpp TGHDRS= AttrList \ Attrs \ diff --git a/lib/clang/libclangstaticanalyzercore/Makefile b/lib/clang/libclangstaticanalyzercore/Makefile index 9a33751..27cdcc6 100644 --- a/lib/clang/libclangstaticanalyzercore/Makefile +++ b/lib/clang/libclangstaticanalyzercore/Makefile @@ -3,8 +3,7 @@ LIB= clangstaticanalyzercore SRCDIR= tools/clang/lib/StaticAnalyzer/Core -SRCS= AggExprVisitor.cpp \ - AnalysisManager.cpp \ +SRCS= AnalysisManager.cpp \ BasicConstraintManager.cpp \ BasicValueFactory.cpp \ BlockCounter.cpp \ @@ -23,6 +22,7 @@ SRCS= AggExprVisitor.cpp \ ExprEngineCXX.cpp \ ExprEngineCallAndReturn.cpp \ ExprEngineObjC.cpp \ + FunctionSummary.cpp \ HTMLDiagnostics.cpp \ MemRegion.cpp \ ObjCMessage.cpp \ @@ -36,6 +36,7 @@ SRCS= AggExprVisitor.cpp \ SimpleConstraintManager.cpp \ SimpleSValBuilder.cpp \ Store.cpp \ + SubEngine.cpp \ SymbolManager.cpp \ TextPathDiagnostics.cpp diff --git a/lib/clang/libllvmanalysis/Makefile b/lib/clang/libllvmanalysis/Makefile index 301c39b..a05dac5 100644 --- a/lib/clang/libllvmanalysis/Makefile +++ b/lib/clang/libllvmanalysis/Makefile @@ -12,13 +12,15 @@ SRCS= AliasAnalysis.cpp \ AliasSetTracker.cpp \ Analysis.cpp \ BasicAliasAnalysis.cpp \ + BlockFrequencyInfo.cpp \ BranchProbabilityInfo.cpp \ CFGPrinter.cpp \ CaptureTracking.cpp \ + CodeMetrics.cpp \ ConstantFolding.cpp \ + DIBuilder.cpp \ DbgInfoPrinter.cpp \ DebugInfo.cpp \ - DIBuilder.cpp \ DomPrinter.cpp \ DominanceFrontier.cpp \ IVUsers.cpp \ @@ -29,6 +31,7 @@ SRCS= AliasAnalysis.cpp \ IntervalPartition.cpp \ LazyValueInfo.cpp \ LibCallAliasAnalysis.cpp \ + LibCallSemantics.cpp \ Lint.cpp \ Loads.cpp \ LoopDependenceAnalysis.cpp \ @@ -40,6 +43,9 @@ SRCS= AliasAnalysis.cpp \ ModuleDebugInfoPrinter.cpp \ NoAliasAnalysis.cpp \ PHITransAddr.cpp \ + PathNumbering.cpp \ + PathProfileInfo.cpp \ + PathProfileVerifier.cpp \ PostDominators.cpp \ ProfileEstimatorPass.cpp \ ProfileInfo.cpp \ @@ -54,6 +60,7 @@ SRCS= AliasAnalysis.cpp \ ScalarEvolutionExpander.cpp \ ScalarEvolutionNormalization.cpp \ SparsePropagation.cpp \ + Trace.cpp \ TypeBasedAliasAnalysis.cpp \ ValueTracking.cpp diff --git a/lib/clang/libllvmarmcodegen/Makefile b/lib/clang/libllvmarmcodegen/Makefile index 29579bc..b18f12c 100644 --- a/lib/clang/libllvmarmcodegen/Makefile +++ b/lib/clang/libllvmarmcodegen/Makefile @@ -13,7 +13,6 @@ SRCS= ARMAsmPrinter.cpp \ ARMExpandPseudoInsts.cpp \ ARMFastISel.cpp \ ARMFrameLowering.cpp \ - ARMGlobalMerge.cpp \ ARMHazardRecognizer.cpp \ ARMISelDAGToDAG.cpp \ ARMISelLowering.cpp \ @@ -21,6 +20,7 @@ SRCS= ARMAsmPrinter.cpp \ ARMJITInfo.cpp \ ARMLoadStoreOptimizer.cpp \ ARMMCInstLower.cpp \ + ARMMachineFunctionInfo.cpp \ ARMRegisterInfo.cpp \ ARMSelectionDAGInfo.cpp \ ARMSubtarget.cpp \ diff --git a/lib/clang/libllvmarmdesc/Makefile b/lib/clang/libllvmarmdesc/Makefile index e732074..bd2e0cb 100644 --- a/lib/clang/libllvmarmdesc/Makefile +++ b/lib/clang/libllvmarmdesc/Makefile @@ -4,6 +4,7 @@ LIB= llvmarmdesc SRCDIR= lib/Target/ARM/MCTargetDesc SRCS= ARMAsmBackend.cpp \ + ARMELFObjectWriter.cpp \ ARMMachObjectWriter.cpp \ ARMMCAsmInfo.cpp \ ARMMCCodeEmitter.cpp \ diff --git a/lib/clang/libllvmasmprinter/Makefile b/lib/clang/libllvmasmprinter/Makefile index 26f113f..36e626f 100644 --- a/lib/clang/libllvmasmprinter/Makefile +++ b/lib/clang/libllvmasmprinter/Makefile @@ -8,6 +8,7 @@ SRCS= ARMException.cpp \ AsmPrinterDwarf.cpp \ AsmPrinterInlineAsm.cpp \ DIE.cpp \ + DwarfAccelTable.cpp \ DwarfCFIException.cpp \ DwarfCompileUnit.cpp \ DwarfDebug.cpp \ diff --git a/lib/clang/libllvmcodegen/Makefile b/lib/clang/libllvmcodegen/Makefile index 0d593b6..70da7da 100644 --- a/lib/clang/libllvmcodegen/Makefile +++ b/lib/clang/libllvmcodegen/Makefile @@ -13,9 +13,8 @@ SRCS= AggressiveAntiDepBreaker.cpp \ CodePlacementOpt.cpp \ CriticalAntiDepBreaker.cpp \ DeadMachineInstructionElim.cpp \ + DFAPacketizer.cpp \ DwarfEHPrepare.cpp \ - ELFCodeEmitter.cpp \ - ELFWriter.cpp \ EdgeBundles.cpp \ ExecutionDepsFix.cpp \ ExpandISelPseudos.cpp \ @@ -27,6 +26,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \ InlineSpiller.cpp \ InterferenceCache.cpp \ IntrinsicLowering.cpp \ + JITCodeEmitter.cpp \ LLVMTargetMachine.cpp \ LatencyPriorityQueue.cpp \ LexicalScopes.cpp \ @@ -40,7 +40,11 @@ SRCS= AggressiveAntiDepBreaker.cpp \ LiveRangeEdit.cpp \ LocalStackSlotAllocation.cpp \ MachineBasicBlock.cpp \ + MachineBlockFrequencyInfo.cpp \ + MachineBlockPlacement.cpp \ MachineBranchProbabilityInfo.cpp \ + MachineCodeEmitter.cpp \ + MachineCopyPropagation.cpp \ MachineCSE.cpp \ MachineDominators.cpp \ MachineFunction.cpp \ @@ -48,6 +52,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \ MachineFunctionPass.cpp \ MachineFunctionPrinterPass.cpp \ MachineInstr.cpp \ + MachineInstrBundle.cpp \ MachineLICM.cpp \ MachineLoopInfo.cpp \ MachineLoopRanges.cpp \ @@ -56,9 +61,9 @@ SRCS= AggressiveAntiDepBreaker.cpp \ MachinePassRegistry.cpp \ MachineRegisterInfo.cpp \ MachineSSAUpdater.cpp \ + MachineScheduler.cpp \ MachineSink.cpp \ MachineVerifier.cpp \ - ObjectCodeEmitter.cpp \ OcamlGC.cpp \ OptimizePHIs.cpp \ PHIElimination.cpp \ @@ -69,17 +74,16 @@ SRCS= AggressiveAntiDepBreaker.cpp \ ProcessImplicitDefs.cpp \ PrologEpilogInserter.cpp \ PseudoSourceValue.cpp \ + RegAllocBase.cpp \ RegAllocBasic.cpp \ RegAllocFast.cpp \ RegAllocGreedy.cpp \ - RegAllocLinearScan.cpp \ RegAllocPBQP.cpp \ RegisterClassInfo.cpp \ RegisterCoalescer.cpp \ RegisterScavenging.cpp \ RenderMachineFunction.cpp \ ScheduleDAG.cpp \ - ScheduleDAGEmit.cpp \ ScheduleDAGInstrs.cpp \ ScheduleDAGPrinter.cpp \ ScoreboardHazardRecognizer.cpp \ @@ -90,17 +94,17 @@ SRCS= AggressiveAntiDepBreaker.cpp \ Spiller.cpp \ SpillPlacement.cpp \ SplitKit.cpp \ - Splitter.cpp \ StackProtector.cpp \ StackSlotColoring.cpp \ StrongPHIElimination.cpp \ TailDuplication.cpp \ + TargetFrameLoweringImpl.cpp \ TargetInstrInfoImpl.cpp \ TargetLoweringObjectFileImpl.cpp \ + TargetOptionsImpl.cpp \ TwoAddressInstructionPass.cpp \ UnreachableBlockElim.cpp \ - VirtRegMap.cpp \ - VirtRegRewriter.cpp + VirtRegMap.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmcore/Makefile b/lib/clang/libllvmcore/Makefile index c37d45a..2702b66 100644 --- a/lib/clang/libllvmcore/Makefile +++ b/lib/clang/libllvmcore/Makefile @@ -10,7 +10,6 @@ SRCS= AsmWriter.cpp \ ConstantFold.cpp \ Constants.cpp \ Core.cpp \ - DebugInfoProbe.cpp \ DebugLoc.cpp \ Dominators.cpp \ Function.cpp \ diff --git a/lib/clang/libllvminstrumentation/Makefile b/lib/clang/libllvminstrumentation/Makefile index 62d9f97..fbfa198 100644 --- a/lib/clang/libllvminstrumentation/Makefile +++ b/lib/clang/libllvminstrumentation/Makefile @@ -3,13 +3,16 @@ LIB= llvminstrumentation SRCDIR= lib/Transforms/Instrumentation -SRCS= EdgeProfiling.cpp \ +SRCS= AddressSanitizer.cpp \ + EdgeProfiling.cpp \ + FunctionBlackList.cpp \ GCOVProfiling.cpp \ Instrumentation.cpp \ OptimalEdgeProfiling.cpp \ PathProfiling.cpp \ ProfilingUtils.cpp \ + ThreadSanitizer.cpp -#TGHDRS= Intrinsics +TGHDRS= Intrinsics .include "../clang.lib.mk" diff --git a/lib/clang/libllvmjit/Makefile b/lib/clang/libllvmjit/Makefile index fc92fd0..ff852d5 100644 --- a/lib/clang/libllvmjit/Makefile +++ b/lib/clang/libllvmjit/Makefile @@ -3,12 +3,9 @@ LIB= llvmjit SRCDIR= lib/ExecutionEngine/JIT -SRCS= Intercept.cpp \ - JIT.cpp \ - JITDebugRegisterer.cpp \ +SRCS= JIT.cpp \ JITDwarfEmitter.cpp \ JITEmitter.cpp \ - JITMemoryManager.cpp \ - OProfileJITEventListener.cpp + JITMemoryManager.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmmc/Makefile b/lib/clang/libllvmmc/Makefile index 9bb5723..9309e97 100644 --- a/lib/clang/libllvmmc/Makefile +++ b/lib/clang/libllvmmc/Makefile @@ -23,7 +23,6 @@ SRCS= ELFObjectWriter.cpp \ MCInst.cpp \ MCInstPrinter.cpp \ MCInstrAnalysis.cpp \ - MCLoggingStreamer.cpp \ MCMachOStreamer.cpp \ MCMachObjectTargetWriter.cpp \ MCNullStreamer.cpp \ diff --git a/lib/clang/libllvmmcjit/Makefile b/lib/clang/libllvmmcjit/Makefile index 58e2529..553186f 100644 --- a/lib/clang/libllvmmcjit/Makefile +++ b/lib/clang/libllvmmcjit/Makefile @@ -1,9 +1,14 @@ # $FreeBSD$ +.include <bsd.own.mk> + LIB= llvmmcjit SRCDIR= lib/ExecutionEngine/MCJIT -SRCS= Intercept.cpp \ - MCJIT.cpp +SRCS= MCJIT.cpp + +.if ${MK_CLANG_EXTRAS} != "no" +SRCS+= MCJITMemoryManager.cpp +.endif .include "../clang.lib.mk" diff --git a/lib/clang/libllvmmipsasmparser/Makefile b/lib/clang/libllvmmipsasmparser/Makefile new file mode 100644 index 0000000..dd95394 --- /dev/null +++ b/lib/clang/libllvmmipsasmparser/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +LIB= llvmmipsasmparser + +SRCDIR= lib/Target/Mips/AsmParser +INCDIR= lib/Target/Mips +SRCS= MipsAsmParser.cpp + +TGHDRS= MipsGenInstrInfo \ + MipsGenRegisterInfo \ + MipsGenSubtargetInfo + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmmipscodegen/Makefile b/lib/clang/libllvmmipscodegen/Makefile index f0b0180..d550006 100644 --- a/lib/clang/libllvmmipscodegen/Makefile +++ b/lib/clang/libllvmmipscodegen/Makefile @@ -3,7 +3,8 @@ LIB= llvmmipscodegen SRCDIR= lib/Target/Mips -SRCS= MipsAsmPrinter.cpp \ +SRCS= MipsAnalyzeImmediate.cpp \ + MipsAsmPrinter.cpp \ MipsCodeEmitter.cpp \ MipsDelaySlotFiller.cpp \ MipsEmitGPRestore.cpp \ @@ -14,7 +15,7 @@ SRCS= MipsAsmPrinter.cpp \ MipsInstrInfo.cpp \ MipsJITInfo.cpp \ MipsMCInstLower.cpp \ - MipsMCSymbolRefExpr.cpp \ + MipsMachineFunction.cpp \ MipsRegisterInfo.cpp \ MipsSelectionDAGInfo.cpp \ MipsSubtarget.cpp \ diff --git a/lib/clang/libllvmmipsdesc/Makefile b/lib/clang/libllvmmipsdesc/Makefile index 2313603..5c17588 100644 --- a/lib/clang/libllvmmipsdesc/Makefile +++ b/lib/clang/libllvmmipsdesc/Makefile @@ -4,12 +4,14 @@ LIB= llvmmipsdesc SRCDIR= lib/Target/Mips/MCTargetDesc SRCS= MipsAsmBackend.cpp \ + MipsELFObjectWriter.cpp \ MipsMCAsmInfo.cpp \ MipsMCCodeEmitter.cpp \ MipsMCTargetDesc.cpp CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/.. TGHDRS= MipsGenInstrInfo \ + MipsGenMCCodeEmitter \ MipsGenRegisterInfo \ MipsGenSubtargetInfo diff --git a/lib/clang/libllvmpowerpccodegen/Makefile b/lib/clang/libllvmpowerpccodegen/Makefile index aec0e1e..1874095 100644 --- a/lib/clang/libllvmpowerpccodegen/Makefile +++ b/lib/clang/libllvmpowerpccodegen/Makefile @@ -13,6 +13,7 @@ SRCS= PPCAsmPrinter.cpp \ PPCInstrInfo.cpp \ PPCJITInfo.cpp \ PPCMCInstLower.cpp \ + PPCMachineFunctionInfo.cpp \ PPCRegisterInfo.cpp \ PPCSelectionDAGInfo.cpp \ PPCSubtarget.cpp \ diff --git a/lib/clang/libllvmpowerpcdesc/Makefile b/lib/clang/libllvmpowerpcdesc/Makefile index c45abec..2a5ef6e 100644 --- a/lib/clang/libllvmpowerpcdesc/Makefile +++ b/lib/clang/libllvmpowerpcdesc/Makefile @@ -7,7 +7,8 @@ SRCS= PPCAsmBackend.cpp \ PPCMCAsmInfo.cpp \ PPCMCCodeEmitter.cpp \ PPCMCTargetDesc.cpp \ - PPCPredicates.cpp + PPCPredicates.cpp \ + PPCELFObjectWriter.cpp CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/.. TGHDRS= PPCGenInstrInfo \ diff --git a/lib/clang/libllvmruntimedyld/Makefile b/lib/clang/libllvmruntimedyld/Makefile index c17f031..7280e1d 100644 --- a/lib/clang/libllvmruntimedyld/Makefile +++ b/lib/clang/libllvmruntimedyld/Makefile @@ -4,6 +4,7 @@ LIB= llvmruntimedyld SRCDIR= lib/ExecutionEngine/RuntimeDyld SRCS= RuntimeDyld.cpp \ + RuntimeDyldELF.cpp \ RuntimeDyldMachO.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmscalaropts/Makefile b/lib/clang/libllvmscalaropts/Makefile index 2023595..f89b0a2 100644 --- a/lib/clang/libllvmscalaropts/Makefile +++ b/lib/clang/libllvmscalaropts/Makefile @@ -13,6 +13,7 @@ SRCS= ADCE.cpp \ DCE.cpp \ DeadStoreElimination.cpp \ EarlyCSE.cpp \ + GlobalMerge.cpp \ GVN.cpp \ IndVarSimplify.cpp \ JumpThreading.cpp \ @@ -23,9 +24,11 @@ SRCS= ADCE.cpp \ LoopStrengthReduce.cpp \ LoopUnrollPass.cpp \ LoopUnswitch.cpp \ + LowerAtomic.cpp \ MemCpyOptimizer.cpp \ ObjCARC.cpp \ Reassociate.cpp \ + Reg2Mem.cpp \ SCCP.cpp \ ScalarReplAggregates.cpp \ SimplifyCFGPass.cpp \ diff --git a/lib/clang/libllvmselectiondag/Makefile b/lib/clang/libllvmselectiondag/Makefile index 6c508c1..e6950127 100644 --- a/lib/clang/libllvmselectiondag/Makefile +++ b/lib/clang/libllvmselectiondag/Makefile @@ -14,12 +14,14 @@ SRCS= DAGCombiner.cpp \ LegalizeTypesGeneric.cpp \ LegalizeVectorOps.cpp \ LegalizeVectorTypes.cpp \ + ResourcePriorityQueue.cpp \ ScheduleDAGFast.cpp \ - ScheduleDAGList.cpp \ ScheduleDAGRRList.cpp \ ScheduleDAGSDNodes.cpp \ + ScheduleDAGVLIW.cpp \ SelectionDAG.cpp \ SelectionDAGBuilder.cpp \ + SelectionDAGDumper.cpp \ SelectionDAGISel.cpp \ SelectionDAGPrinter.cpp \ TargetLowering.cpp \ diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile index fb9309f..19afb44 100644 --- a/lib/clang/libllvmsupport/Makefile +++ b/lib/clang/libllvmsupport/Makefile @@ -10,6 +10,7 @@ SRCS= APFloat.cpp \ APSInt.cpp \ Allocator.cpp \ Atomic.cpp \ + BlockFrequency.cpp \ BranchProbability.cpp \ CommandLine.cpp \ ConstantRange.cpp \ @@ -24,12 +25,16 @@ SRCS= APFloat.cpp \ FoldingSet.cpp \ FormattedStream.cpp \ GraphWriter.cpp \ + Hashing.cpp \ Host.cpp \ IntervalMap.cpp \ IntEqClasses.cpp \ + IntrusiveRefCntPtr.cpp \ + LockFileManager.cpp \ ManagedStatic.cpp \ Memory.cpp \ MemoryBuffer.cpp \ + MemoryObject.cpp \ Mutex.cpp \ Path.cpp \ PathV2.cpp \ @@ -45,6 +50,7 @@ SRCS= APFloat.cpp \ SmallVector.cpp \ SourceMgr.cpp \ Statistic.cpp \ + StreamableMemoryObject.cpp \ StringExtras.cpp \ StringMap.cpp \ StringPool.cpp \ @@ -73,6 +79,7 @@ LLVM_REQUIRES_RTTI= SRCS+= BlockFrequency.cpp \ BranchProbability.cpp \ DataExtractor.cpp \ + DataStream.cpp \ Disassembler.cpp \ FileUtilities.cpp \ MemoryObject.cpp \ diff --git a/lib/clang/libllvmtablegen/Makefile b/lib/clang/libllvmtablegen/Makefile index 272aa88..0832498 100644 --- a/lib/clang/libllvmtablegen/Makefile +++ b/lib/clang/libllvmtablegen/Makefile @@ -6,6 +6,7 @@ SRCDIR= lib/TableGen SRCS= Error.cpp \ Main.cpp \ Record.cpp \ + TableGenAction.cpp \ TableGenBackend.cpp \ TGLexer.cpp \ TGParser.cpp diff --git a/lib/clang/libllvmtarget/Makefile b/lib/clang/libllvmtarget/Makefile index 8c16f84..eaad17e 100644 --- a/lib/clang/libllvmtarget/Makefile +++ b/lib/clang/libllvmtarget/Makefile @@ -7,8 +7,9 @@ SRCS= Mangler.cpp \ Target.cpp \ TargetData.cpp \ TargetELFWriterInfo.cpp \ - TargetFrameLowering.cpp \ TargetInstrInfo.cpp \ + TargetIntrinsicInfo.cpp \ + TargetJITInfo.cpp \ TargetLibraryInfo.cpp \ TargetLoweringObjectFile.cpp \ TargetMachine.cpp \ diff --git a/lib/clang/libllvmtransformutils/Makefile b/lib/clang/libllvmtransformutils/Makefile index 1969781..f8afaec 100644 --- a/lib/clang/libllvmtransformutils/Makefile +++ b/lib/clang/libllvmtransformutils/Makefile @@ -7,11 +7,11 @@ LIB= llvmtransformutils SRCDIR= lib/Transforms/Utils SRCS= AddrModeMatcher.cpp \ BasicBlockUtils.cpp \ - BasicInliner.cpp \ BreakCriticalEdges.cpp \ BuildLibCalls.cpp \ CloneFunction.cpp \ CloneModule.cpp \ + CmpInstAnalysis.cpp \ CodeExtractor.cpp \ DemoteRegToStack.cpp \ InlineFunction.cpp \ @@ -20,14 +20,17 @@ SRCS= AddrModeMatcher.cpp \ Local.cpp \ LoopSimplify.cpp \ LoopUnroll.cpp \ + LoopUnrollRuntime.cpp \ LowerExpectIntrinsic.cpp \ LowerInvoke.cpp \ LowerSwitch.cpp \ Mem2Reg.cpp \ + ModuleUtils.cpp \ PromoteMemoryToRegister.cpp \ SSAUpdater.cpp \ SimplifyCFG.cpp \ SimplifyIndVar.cpp \ + SimplifyInstructions.cpp \ UnifyFunctionExitNodes.cpp \ ValueMapper.cpp diff --git a/lib/clang/libllvmvectorize/Makefile b/lib/clang/libllvmvectorize/Makefile new file mode 100644 index 0000000..61a37b5 --- /dev/null +++ b/lib/clang/libllvmvectorize/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +LIB= llvmvectorize + +SRCDIR= lib/Transforms/Vectorize +SRCS= BBVectorize.cpp \ + Vectorize.cpp + +TGHDRS= Intrinsics + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmx86codegen/Makefile b/lib/clang/libllvmx86codegen/Makefile index 5dc45ef..a61cad9 100644 --- a/lib/clang/libllvmx86codegen/Makefile +++ b/lib/clang/libllvmx86codegen/Makefile @@ -15,6 +15,7 @@ SRCS= X86AsmPrinter.cpp \ X86InstrInfo.cpp \ X86JITInfo.cpp \ X86MCInstLower.cpp \ + X86MachineFunctionInfo.cpp \ X86RegisterInfo.cpp \ X86SelectionDAGInfo.cpp \ X86Subtarget.cpp \ diff --git a/lib/clang/libllvmx86desc/Makefile b/lib/clang/libllvmx86desc/Makefile index badb0f2..3d2a9dd 100644 --- a/lib/clang/libllvmx86desc/Makefile +++ b/lib/clang/libllvmx86desc/Makefile @@ -4,10 +4,12 @@ LIB= llvmx86desc SRCDIR= lib/Target/X86/MCTargetDesc SRCS= X86AsmBackend.cpp \ + X86ELFObjectWriter.cpp \ X86MachObjectWriter.cpp \ X86MCAsmInfo.cpp \ X86MCCodeEmitter.cpp \ - X86MCTargetDesc.cpp + X86MCTargetDesc.cpp \ + X86WinCOFFObjectWriter.cpp CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/.. TGHDRS= X86GenInstrInfo \ |