diff options
Diffstat (limited to 'lib/clang')
60 files changed, 247 insertions, 139 deletions
diff --git a/lib/clang/Makefile b/lib/clang/Makefile index a77d241..6bc9552 100644 --- a/lib/clang/Makefile +++ b/lib/clang/Makefile @@ -43,9 +43,11 @@ SUBDIR= libclanganalysis \ libllvminstrumentation \ libllvmipa \ libllvmipo \ + libllvmirreader \ libllvmlinker \ libllvmmc \ libllvmmcparser \ + libllvmobjcarcopts \ libllvmobject \ libllvmscalaropts \ libllvmselectiondag \ diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk index 6de044a..9106f03 100644 --- a/lib/clang/clang.build.mk +++ b/lib/clang/clang.build.mk @@ -38,11 +38,19 @@ CXXFLAGS+= -fno-exceptions -fno-rtti TBLGEN?= tblgen CLANG_TBLGEN?= clang-tblgen -TBLINC+= -I ${LLVM_SRCS}/include -I ${LLVM_SRCS}/lib/Target -Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/Intrinsics.td - ${TBLGEN} -I ${LLVM_SRCS}/lib/VMCore ${TBLINC} -gen-intrinsic \ - -o ${.TARGET} ${LLVM_SRCS}/include/llvm/Intrinsics.td +Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td \ + ${LLVM_SRCS}/include/llvm/IR/IntrinsicsARM.td \ + ${LLVM_SRCS}/include/llvm/IR/IntrinsicsHexagon.td \ + ${LLVM_SRCS}/include/llvm/IR/IntrinsicsMips.td \ + ${LLVM_SRCS}/include/llvm/IR/IntrinsicsNVVM.td \ + ${LLVM_SRCS}/include/llvm/IR/IntrinsicsPowerPC.td \ + ${LLVM_SRCS}/include/llvm/IR/IntrinsicsR600.td \ + ${LLVM_SRCS}/include/llvm/IR/IntrinsicsX86.td \ + ${LLVM_SRCS}/include/llvm/IR/IntrinsicsXCore.td + ${TBLGEN} -I ${LLVM_SRCS}/include \ + -gen-intrinsic -o ${.TARGET} \ + ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td .for arch in \ ARM/ARM Mips/Mips PowerPC/PPC X86/X86 . for hdr in \ @@ -53,7 +61,6 @@ Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/Intrinsics.td CodeEmitter/-gen-emitter \ DAGISel/-gen-dag-isel \ DisassemblerTables/-gen-disassembler \ - EDInfo/-gen-enhanced-disassembly-info \ FastISel/-gen-fast-isel \ InstrInfo/-gen-instr-info \ MCCodeEmitter/-gen-emitter,-mc-emitter \ @@ -61,118 +68,125 @@ Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/Intrinsics.td RegisterInfo/-gen-register-info \ SubtargetInfo/-gen-subtarget ${arch:T}Gen${hdr:H:C/$/.inc.h/}: ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td - ${TBLGEN} -I ${LLVM_SRCS}/lib/Target/${arch:H} ${TBLINC} \ + ${TBLGEN} -I ${LLVM_SRCS}/include -I ${LLVM_SRCS}/lib/Target/${arch:H} \ ${hdr:T:C/,/ /g} -o ${.TARGET} \ ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td . endfor .endfor Attrs.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ - -gen-clang-attr-classes -o ${.TARGET} \ - -I ${CLANG_SRCS}/include ${.ALLSRC} + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ + -gen-clang-attr-classes -o ${.TARGET} ${.ALLSRC} -AttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ - -gen-clang-attr-impl -o ${.TARGET} \ - -I ${CLANG_SRCS}/include ${.ALLSRC} +AttrDump.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ + -gen-clang-attr-dump -o ${.TARGET} ${.ALLSRC} +AttrImpl.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ + -gen-clang-attr-impl -o ${.TARGET} ${.ALLSRC} AttrLateParsed.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ - -gen-clang-attr-late-parsed-list -o ${.TARGET} \ - -I ${CLANG_SRCS}/include ${.ALLSRC} + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ + -gen-clang-attr-late-parsed-list -o ${.TARGET} ${.ALLSRC} AttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ - -gen-clang-attr-list -o ${.TARGET} \ - -I ${CLANG_SRCS}/include ${.ALLSRC} + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ + -gen-clang-attr-list -o ${.TARGET} ${.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} + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ + -gen-clang-attr-parsed-attr-kinds -o ${.TARGET} ${.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} + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ + -gen-clang-attr-parsed-attr-list -o ${.TARGET} ${.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} \ - -I ${CLANG_SRCS}/include ${.ALLSRC} + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ + -gen-clang-attr-pch-read -o ${.TARGET} ${.ALLSRC} AttrPCHWrite.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Serialization \ - ${TBLINC} -gen-clang-attr-pch-write -o ${.TARGET} \ - -I ${CLANG_SRCS}/include ${.ALLSRC} + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ + -gen-clang-attr-pch-write -o ${.TARGET} ${.ALLSRC} AttrSpellings.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Lex ${TBLINC} \ - -gen-clang-attr-spelling-list -o ${.TARGET} \ - -I ${CLANG_SRCS}/include ${.ALLSRC} + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ + -gen-clang-attr-spelling-list -o ${.TARGET} ${.ALLSRC} + +AttrSpellingListIndex.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ + -gen-clang-attr-spelling-index -o ${.TARGET} ${.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} + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ + -gen-clang-attr-template-instantiate -o ${.TARGET} ${.ALLSRC} CommentCommandInfo.inc.h: ${CLANG_SRCS}/include/clang/AST/CommentCommands.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ + ${CLANG_TBLGEN} \ -gen-clang-comment-command-info -o ${.TARGET} ${.ALLSRC} +CommentCommandList.inc.h: ${CLANG_SRCS}/include/clang/AST/CommentCommands.td + ${CLANG_TBLGEN} \ + -gen-clang-comment-command-list -o ${.TARGET} ${.ALLSRC} + +CommentHTMLNamedCharacterReferences.inc.h: \ + ${CLANG_SRCS}/include/clang/AST/CommentHTMLNamedCharacterReferences.td + ${CLANG_TBLGEN} \ + -gen-clang-comment-html-named-character-references -o ${.TARGET} \ + ${.ALLSRC} + CommentHTMLTags.inc.h: ${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ + ${CLANG_TBLGEN} \ -gen-clang-comment-html-tags -o ${.TARGET} ${.ALLSRC} -CommentHTMLTagsProperties.inc.h: ${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ +CommentHTMLTagsProperties.inc.h: \ + ${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td + ${CLANG_TBLGEN} \ -gen-clang-comment-html-tags-properties -o ${.TARGET} ${.ALLSRC} CommentNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/CommentNodes.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ + ${CLANG_TBLGEN} \ -gen-clang-comment-nodes -o ${.TARGET} ${.ALLSRC} DeclNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/DeclNodes.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ + ${CLANG_TBLGEN} \ -gen-clang-decl-nodes -o ${.TARGET} ${.ALLSRC} StmtNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/StmtNodes.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/AST ${TBLINC} \ + ${CLANG_TBLGEN} \ -gen-clang-stmt-nodes -o ${.TARGET} ${.ALLSRC} arm_neon.inc.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ + ${CLANG_TBLGEN} \ -gen-arm-neon-sema -o ${.TARGET} ${.ALLSRC} DiagnosticGroups.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic \ -gen-clang-diag-groups -o ${.TARGET} ${.ALLSRC} DiagnosticIndexName.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic \ -gen-clang-diags-index-name -o ${.TARGET} ${.ALLSRC} .for hdr in AST Analysis Comment 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} \ - -o ${.TARGET} ${.ALLSRC} + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Basic \ + -gen-clang-diags-defs -clang-component=${hdr} -o ${.TARGET} \ + ${.ALLSRC} .endfor Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/Options.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Driver ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Driver \ -gen-opt-parser-defs -o ${.TARGET} ${.ALLSRC} CC1AsOptions.inc.h: ${CLANG_SRCS}/include/clang/Driver/CC1AsOptions.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Driver ${TBLINC} \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include/clang/Driver \ -gen-opt-parser-defs -o ${.TARGET} ${.ALLSRC} Checkers.inc.h: ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td \ ${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers/CheckerBase.td - ${CLANG_TBLGEN} -I ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers \ - ${TBLINC} -gen-clang-sa-checkers -o ${.TARGET} \ - -I ${CLANG_SRCS}/include \ + ${CLANG_TBLGEN} -I ${CLANG_SRCS}/include \ + -gen-clang-sa-checkers -o ${.TARGET} \ ${CLANG_SRCS}/lib/StaticAnalyzer/Checkers/Checkers.td SRCS+= ${TGHDRS:C/$/.inc.h/} diff --git a/lib/clang/include/ARMGenEDInfo.inc b/lib/clang/include/ARMGenEDInfo.inc deleted file mode 100644 index c2b7a09..0000000 --- a/lib/clang/include/ARMGenEDInfo.inc +++ /dev/null @@ -1,2 +0,0 @@ -/* $FreeBSD$ */ -#include "ARMGenEDInfo.inc.h" diff --git a/lib/clang/include/Makefile b/lib/clang/include/Makefile index 918c6df..1c6bd5c 100644 --- a/lib/clang/include/Makefile +++ b/lib/clang/include/Makefile @@ -2,7 +2,7 @@ .PATH: ${.CURDIR}/../../../contrib/llvm/tools/clang/lib/Headers -INCSDIR=${INCLUDEDIR}/clang/3.2 +INCSDIR=${INCLUDEDIR}/clang/3.3 INCS= __wmmintrin_aes.h \ __wmmintrin_pclmul.h \ @@ -26,6 +26,8 @@ INCS= __wmmintrin_aes.h \ nmmintrin.h \ pmmintrin.h \ popcntintrin.h \ + prfchwintrin.h \ + rdseedintrin.h \ rtmintrin.h \ smmintrin.h \ tmmintrin.h \ diff --git a/lib/clang/include/MipsGenEDInfo.inc b/lib/clang/include/MipsGenEDInfo.inc deleted file mode 100644 index 5b8099f..0000000 --- a/lib/clang/include/MipsGenEDInfo.inc +++ /dev/null @@ -1,2 +0,0 @@ -/* $FreeBSD$ */ -#include "MipsGenEDInfo.inc.h" diff --git a/lib/clang/include/X86GenEDInfo.inc b/lib/clang/include/X86GenEDInfo.inc deleted file mode 100644 index 7b4cd8f..0000000 --- a/lib/clang/include/X86GenEDInfo.inc +++ /dev/null @@ -1,2 +0,0 @@ -/* $FreeBSD$ */ -#include "X86GenEDInfo.inc.h" diff --git a/lib/clang/include/clang/AST/AttrDump.inc b/lib/clang/include/clang/AST/AttrDump.inc new file mode 100644 index 0000000..ca3c42f --- /dev/null +++ b/lib/clang/include/clang/AST/AttrDump.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "AttrDump.inc.h" diff --git a/lib/clang/include/clang/AST/CommentCommandList.inc b/lib/clang/include/clang/AST/CommentCommandList.inc new file mode 100644 index 0000000..bc36905 --- /dev/null +++ b/lib/clang/include/clang/AST/CommentCommandList.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "CommentCommandList.inc.h" diff --git a/lib/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.inc b/lib/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.inc new file mode 100644 index 0000000..b4f11ca --- /dev/null +++ b/lib/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "CommentHTMLNamedCharacterReferences.inc.h" diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc index 84a96a6..2f816b7 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.2 +#define CLANG_VERSION 3.3 #define CLANG_VERSION_MAJOR 3 -#define CLANG_VERSION_MINOR 2 +#define CLANG_VERSION_MINOR 3 #define CLANG_VENDOR "FreeBSD " -#define CLANG_VENDOR_SUFFIX " 20121221" +#define CLANG_VENDOR_SUFFIX " 20130405" -#define SVN_REVISION "170710" +#define SVN_REVISION "178860" diff --git a/lib/clang/include/clang/Sema/AttrSpellingListIndex.inc b/lib/clang/include/clang/Sema/AttrSpellingListIndex.inc new file mode 100644 index 0000000..229273c --- /dev/null +++ b/lib/clang/include/clang/Sema/AttrSpellingListIndex.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "AttrSpellingListIndex.inc.h" diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index 1894727..e9dd43c 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -74,12 +74,20 @@ /* Define to 1 if you have the <CrashReporterClient.h> header file. */ /* #undef HAVE_CRASHREPORTERCLIENT_H */ -/* Define if __crashreporter_info__ exists. */ +/* can use __crashreporter_info__ */ #define HAVE_CRASHREPORTER_INFO 0 /* Define to 1 if you have the <ctype.h> header file. */ #define HAVE_CTYPE_H 1 +/* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you + don't. */ +#define HAVE_DECL_FE_ALL_EXCEPT 1 + +/* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you + don't. */ +#define HAVE_DECL_FE_INEXACT 1 + /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_S 0 @@ -124,6 +132,12 @@ /* Define to 1 if you have the <execinfo.h> header file. */ /* #undef HAVE_EXECINFO_H */ +/* Define to 1 if you have the `exp' function. */ +#define HAVE_EXP 1 + +/* Define to 1 if you have the `exp2' function. */ +#define HAVE_EXP2 1 + /* Define to 1 if you have the <fcntl.h> header file. */ #define HAVE_FCNTL_H 1 @@ -227,6 +241,15 @@ the current directory to the dynamic linker search path. */ #define HAVE_LINK_R 1 +/* Define to 1 if you have the `log' function. */ +#define HAVE_LOG 1 + +/* Define to 1 if you have the `log10' function. */ +#define HAVE_LOG10 1 + +/* Define to 1 if you have the `log2' function. */ +#define HAVE_LOG2 1 + /* Define to 1 if you have the `longjmp' function. */ #define HAVE_LONGJMP 1 @@ -630,7 +653,7 @@ /* #undef LLVM_PATH_XDOT_PY */ /* Installation prefix directory */ -/* #undef LLVM_PREFIX */ +#define LLVM_PREFIX "" /* Define if we have the Intel JIT API runtime support library */ #define LLVM_USE_INTEL_JITEVENTS 0 @@ -642,7 +665,7 @@ #define LLVM_VERSION_MAJOR 3 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 2 +#define LLVM_VERSION_MINOR 3 /* Define if the OS needs help to load dependent libraries for dlopen(). */ #define LTDL_DLOPEN_DEPLIBS 1 @@ -675,13 +698,13 @@ #define PACKAGE_NAME "LLVM" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "LLVM 3.2svn" +#define PACKAGE_STRING "LLVM 3.3svn" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "llvm" /* Define to the version of this package. */ -#define PACKAGE_VERSION "3.2svn" +#define PACKAGE_VERSION "3.3svn" /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h index ff4355c..4349e38 100644 --- a/lib/clang/include/llvm/Config/llvm-config.h +++ b/lib/clang/include/llvm/Config/llvm-config.h @@ -112,12 +112,18 @@ /* #undef LLVM_PATH_XDOT_PY */ /* Installation prefix directory */ -/* #undef LLVM_PREFIX */ +#define 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 2 +#define LLVM_VERSION_MINOR 3 #endif diff --git a/lib/clang/include/llvm/Intrinsics.gen b/lib/clang/include/llvm/IR/Intrinsics.gen index a3dbd63..a3dbd63 100644 --- a/lib/clang/include/llvm/Intrinsics.gen +++ b/lib/clang/include/llvm/IR/Intrinsics.gen diff --git a/lib/clang/libclanganalysis/Makefile b/lib/clang/libclanganalysis/Makefile index 76bf1e5..40deb80 100644 --- a/lib/clang/libclanganalysis/Makefile +++ b/lib/clang/libclanganalysis/Makefile @@ -27,6 +27,7 @@ SRCS= AnalysisDeclContext.cpp \ TGHDRS= AttrList \ Attrs \ + CommentCommandList \ CommentNodes \ DeclNodes \ DiagnosticAnalysisKinds \ diff --git a/lib/clang/libclangarcmigrate/Makefile b/lib/clang/libclangarcmigrate/Makefile index 7597e9c..1604a50 100644 --- a/lib/clang/libclangarcmigrate/Makefile +++ b/lib/clang/libclangarcmigrate/Makefile @@ -15,19 +15,21 @@ SRCS= ARCMT.cpp \ TransAutoreleasePool.cpp \ TransBlockObjCVariable.cpp \ TransEmptyStatementsAndDealloc.cpp \ - TransformActions.cpp \ - Transforms.cpp \ TransGCAttrs.cpp \ TransGCCalls.cpp \ TransProperties.cpp \ + TransProtectedScope.cpp \ TransRetainReleaseDealloc.cpp \ TransUnbridgedCasts.cpp \ TransUnusedInitDelegate.cpp \ - TransZeroOutPropsInDealloc.cpp + TransZeroOutPropsInDealloc.cpp \ + TransformActions.cpp \ + Transforms.cpp TGHDRS= AttrList \ AttrParsedAttrList \ Attrs \ + CommentCommandList \ CommentNodes \ DeclNodes \ DiagnosticCommonKinds \ diff --git a/lib/clang/libclangast/Makefile b/lib/clang/libclangast/Makefile index 0ddeb53..a867725 100644 --- a/lib/clang/libclangast/Makefile +++ b/lib/clang/libclangast/Makefile @@ -9,13 +9,13 @@ SRCS= APValue.cpp \ ASTConsumer.cpp \ ASTContext.cpp \ ASTDiagnostic.cpp \ + ASTDumper.cpp \ ASTImporter.cpp \ AttrImpl.cpp \ CXXInheritance.cpp \ Comment.cpp \ CommentBriefParser.cpp \ CommentCommandTraits.cpp \ - CommentDumper.cpp \ CommentLexer.cpp \ CommentParser.cpp \ CommentSema.cpp \ @@ -25,6 +25,7 @@ SRCS= APValue.cpp \ DeclFriend.cpp \ DeclGroup.cpp \ DeclObjC.cpp \ + DeclOpenMP.cpp \ DeclPrinter.cpp \ DeclTemplate.cpp \ DeclarationName.cpp \ @@ -41,15 +42,14 @@ SRCS= APValue.cpp \ Mangle.cpp \ MicrosoftCXXABI.cpp \ MicrosoftMangle.cpp \ - NestedNameSpecifier.cpp \ NSAPI.cpp \ + NestedNameSpecifier.cpp \ ParentMap.cpp \ RawCommentList.cpp \ RecordLayout.cpp \ RecordLayoutBuilder.cpp \ SelectorLocationsKind.cpp \ Stmt.cpp \ - StmtDumper.cpp \ StmtIterator.cpp \ StmtPrinter.cpp \ StmtProfile.cpp \ @@ -62,10 +62,13 @@ SRCS= APValue.cpp \ VTTBuilder.cpp \ VTableBuilder.cpp -TGHDRS= AttrImpl \ +TGHDRS= AttrDump \ + AttrImpl \ AttrList \ Attrs \ CommentCommandInfo \ + CommentCommandList \ + CommentHTMLNamedCharacterReferences \ CommentHTMLTags \ CommentHTMLTagsProperties \ CommentNodes \ diff --git a/lib/clang/libclangbasic/Makefile b/lib/clang/libclangbasic/Makefile index eec941a..16bae4c 100644 --- a/lib/clang/libclangbasic/Makefile +++ b/lib/clang/libclangbasic/Makefile @@ -6,8 +6,7 @@ LIB= clangbasic SRCDIR= tools/clang/lib/Basic SRCS= Builtins.cpp \ - ConvertUTF.c \ - ConvertUTFWrapper.cpp \ + CharInfo.cpp \ Diagnostic.cpp \ DiagnosticIDs.cpp \ FileManager.cpp \ @@ -16,13 +15,15 @@ SRCS= Builtins.cpp \ LangOptions.cpp \ Module.cpp \ ObjCRuntime.cpp \ + OpenMPKinds.cpp \ + OperatorPrecedence.cpp \ SourceLocation.cpp \ SourceManager.cpp \ TargetInfo.cpp \ Targets.cpp \ TokenKinds.cpp \ - VersionTuple.cpp \ - Version.cpp + Version.cpp \ + VersionTuple.cpp TGHDRS= DiagnosticAnalysisKinds \ DiagnosticASTKinds \ diff --git a/lib/clang/libclangcodegen/Makefile b/lib/clang/libclangcodegen/Makefile index 7aefa7c..cf58049 100644 --- a/lib/clang/libclangcodegen/Makefile +++ b/lib/clang/libclangcodegen/Makefile @@ -6,6 +6,7 @@ LIB= clangcodegen SRCDIR= tools/clang/lib/CodeGen SRCS= BackendUtil.cpp \ + CGAtomic.cpp \ CGBlocks.cpp \ CGBuiltin.cpp \ CGCUDANV.cpp \ @@ -47,6 +48,7 @@ SRCS= BackendUtil.cpp \ TGHDRS= AttrList \ Attrs \ + CommentCommandList \ CommentNodes \ DeclNodes \ DiagnosticCommonKinds \ diff --git a/lib/clang/libclangedit/Makefile b/lib/clang/libclangedit/Makefile index 59b0b54..f403b00 100644 --- a/lib/clang/libclangedit/Makefile +++ b/lib/clang/libclangedit/Makefile @@ -11,6 +11,7 @@ SRCS= Commit.cpp \ TGHDRS= AttrList \ Attrs \ + CommentCommandList \ CommentNodes \ DeclNodes \ StmtNodes \ diff --git a/lib/clang/libclangfrontend/Makefile b/lib/clang/libclangfrontend/Makefile index 44ba2fb..4ea3556 100644 --- a/lib/clang/libclangfrontend/Makefile +++ b/lib/clang/libclangfrontend/Makefile @@ -38,6 +38,7 @@ SRCS= ASTConsumers.cpp \ TGHDRS= AttrList \ AttrParsedAttrList \ Attrs \ + CommentCommandList \ CommentNodes \ DeclNodes \ DiagnosticASTKinds \ diff --git a/lib/clang/libclanglex/Makefile b/lib/clang/libclanglex/Makefile index 768d43c..3a2873f 100644 --- a/lib/clang/libclanglex/Makefile +++ b/lib/clang/libclanglex/Makefile @@ -14,6 +14,7 @@ SRCS= HeaderMap.cpp \ ModuleMap.cpp \ PPCaching.cpp \ PPCallbacks.cpp \ + PPConditionalDirectiveRecord.cpp \ PPDirectives.cpp \ PPExpressions.cpp \ PPLexerChange.cpp \ diff --git a/lib/clang/libclangparse/Makefile b/lib/clang/libclangparse/Makefile index dbe9adb..2029693 100644 --- a/lib/clang/libclangparse/Makefile +++ b/lib/clang/libclangparse/Makefile @@ -13,6 +13,7 @@ SRCS= ParseAST.cpp \ ParseExprCXX.cpp \ ParseInit.cpp \ ParseObjc.cpp \ + ParseOpenMP.cpp \ ParsePragma.cpp \ ParseStmt.cpp \ ParseTemplate.cpp \ @@ -23,6 +24,7 @@ TGHDRS= AttrLateParsed \ AttrList \ AttrParsedAttrList \ Attrs \ + CommentCommandList \ CommentNodes \ DeclNodes \ DiagnosticCommonKinds \ diff --git a/lib/clang/libclangrewritefrontend/Makefile b/lib/clang/libclangrewritefrontend/Makefile index ffa11b4..8c41669 100644 --- a/lib/clang/libclangrewritefrontend/Makefile +++ b/lib/clang/libclangrewritefrontend/Makefile @@ -17,6 +17,7 @@ SRCS= FixItRewriter.cpp \ TGHDRS= AttrList \ AttrParsedAttrList \ Attrs \ + CommentCommandList \ DeclNodes \ DiagnosticCommonKinds \ DiagnosticFrontendKinds \ diff --git a/lib/clang/libclangsema/Makefile b/lib/clang/libclangsema/Makefile index 9ced8b4..c9f56d4 100644 --- a/lib/clang/libclangsema/Makefile +++ b/lib/clang/libclangsema/Makefile @@ -37,6 +37,7 @@ SRCS= AnalysisBasedWarnings.cpp \ SemaLambda.cpp \ SemaLookup.cpp \ SemaObjCProperty.cpp \ + SemaOpenMP.cpp \ SemaOverload.cpp \ SemaPseudoObject.cpp \ SemaStmt.cpp \ @@ -53,8 +54,10 @@ SRCS= AnalysisBasedWarnings.cpp \ TGHDRS= AttrList \ AttrParsedAttrKinds \ AttrParsedAttrList \ + AttrSpellingListIndex \ AttrTemplateInstantiate \ Attrs \ + CommentCommandList \ CommentNodes \ DeclNodes \ DiagnosticASTKinds \ diff --git a/lib/clang/libclangserialization/Makefile b/lib/clang/libclangserialization/Makefile index 962bbf0..3a6a65e 100644 --- a/lib/clang/libclangserialization/Makefile +++ b/lib/clang/libclangserialization/Makefile @@ -13,6 +13,7 @@ SRCS= ASTCommon.cpp \ ASTWriterDecl.cpp \ ASTWriterStmt.cpp \ GeneratePCH.cpp \ + GlobalModuleIndex.cpp \ Module.cpp \ ModuleManager.cpp @@ -21,6 +22,7 @@ TGHDRS= AttrList \ AttrPCHWrite \ AttrParsedAttrList \ Attrs \ + CommentCommandList \ CommentNodes \ DeclNodes \ DiagnosticCommonKinds \ diff --git a/lib/clang/libclangstaticanalyzercheckers/Makefile b/lib/clang/libclangstaticanalyzercheckers/Makefile index 9536151..d3b6a77 100644 --- a/lib/clang/libclangstaticanalyzercheckers/Makefile +++ b/lib/clang/libclangstaticanalyzercheckers/Makefile @@ -8,7 +8,6 @@ SRCDIR= tools/clang/lib/StaticAnalyzer/Checkers SRCS= AnalyzerStatsChecker.cpp \ ArrayBoundChecker.cpp \ ArrayBoundCheckerV2.cpp \ - AttrNonNullChecker.cpp \ BasicObjCFoundationChecks.cpp \ BoolAssignmentChecker.cpp \ BuiltinFunctionChecker.cpp \ @@ -44,6 +43,7 @@ SRCS= AnalyzerStatsChecker.cpp \ MallocSizeofChecker.cpp \ NSAutoreleasePoolChecker.cpp \ NSErrorChecker.cpp \ + NonNullParamChecker.cpp \ NoReturnFunctionChecker.cpp \ ObjCAtSyncChecker.cpp \ ObjCContainersASTChecker.cpp \ @@ -75,6 +75,7 @@ SRCS= AnalyzerStatsChecker.cpp \ TGHDRS= AttrList \ Attrs \ Checkers \ + CommentCommandList \ CommentNodes \ DeclNodes \ DiagnosticCommonKinds \ diff --git a/lib/clang/libclangstaticanalyzercore/Makefile b/lib/clang/libclangstaticanalyzercore/Makefile index 9c263f0..eda991e 100644 --- a/lib/clang/libclangstaticanalyzercore/Makefile +++ b/lib/clang/libclangstaticanalyzercore/Makefile @@ -46,6 +46,7 @@ SRCS= APSIntType.cpp \ TGHDRS= AttrList \ Attrs \ + CommentCommandList \ CommentNodes \ DeclNodes \ DiagnosticCommonKinds \ diff --git a/lib/clang/libclangstaticanalyzerfrontend/Makefile b/lib/clang/libclangstaticanalyzerfrontend/Makefile index 9e19f92..de7b326 100644 --- a/lib/clang/libclangstaticanalyzerfrontend/Makefile +++ b/lib/clang/libclangstaticanalyzerfrontend/Makefile @@ -12,6 +12,7 @@ SRCS= AnalysisConsumer.cpp \ TGHDRS= AttrList \ Attrs \ Checkers \ + CommentCommandList \ CommentNodes \ DeclNodes \ DiagnosticCommonKinds \ diff --git a/lib/clang/libllvmanalysis/Makefile b/lib/clang/libllvmanalysis/Makefile index 3c01352..1bd8e9e 100644 --- a/lib/clang/libllvmanalysis/Makefile +++ b/lib/clang/libllvmanalysis/Makefile @@ -12,19 +12,16 @@ SRCS= AliasAnalysis.cpp \ AliasSetTracker.cpp \ Analysis.cpp \ BasicAliasAnalysis.cpp \ - BlockFrequencyInfo.cpp \ BranchProbabilityInfo.cpp \ CFGPrinter.cpp \ CaptureTracking.cpp \ CodeMetrics.cpp \ ConstantFolding.cpp \ CostModel.cpp \ - DbgInfoPrinter.cpp \ DependenceAnalysis.cpp \ DomPrinter.cpp \ DominanceFrontier.cpp \ IVUsers.cpp \ - InlineCost.cpp \ InstCount.cpp \ InstructionSimplify.cpp \ Interval.cpp \ @@ -46,13 +43,14 @@ SRCS= AliasAnalysis.cpp \ PathProfileInfo.cpp \ PathProfileVerifier.cpp \ PostDominators.cpp \ + ProfileDataLoader.cpp \ + ProfileDataLoaderPass.cpp \ ProfileEstimatorPass.cpp \ ProfileInfo.cpp \ ProfileInfoLoader.cpp \ ProfileInfoLoaderPass.cpp \ ProfileVerifierPass.cpp \ - ProfileDataLoader.cpp \ - ProfileDataLoaderPass.cpp \ + PtrUseVisitor.cpp \ RegionInfo.cpp \ RegionPass.cpp \ RegionPrinter.cpp \ @@ -61,16 +59,13 @@ SRCS= AliasAnalysis.cpp \ ScalarEvolutionExpander.cpp \ ScalarEvolutionNormalization.cpp \ SparsePropagation.cpp \ + TargetTransformInfo.cpp \ Trace.cpp \ TypeBasedAliasAnalysis.cpp \ ValueTracking.cpp .if ${MK_CLANG_EXTRAS} != "no" -SRCS+= BlockFrequencyInfo.cpp \ - LibCallSemantics.cpp \ - PathNumbering.cpp \ - PathProfileInfo.cpp \ - PathProfileVerifier.cpp +SRCS+= BlockFrequencyInfo.cpp .endif TGHDRS= Intrinsics diff --git a/lib/clang/libllvmarmasmparser/Makefile b/lib/clang/libllvmarmasmparser/Makefile index 05e6263..134d8a2 100644 --- a/lib/clang/libllvmarmasmparser/Makefile +++ b/lib/clang/libllvmarmasmparser/Makefile @@ -6,8 +6,7 @@ LIB= llvmarmasmparser SRCDIR= lib/Target/ARM/AsmParser INCDIR= lib/Target/ARM -SRCS= ARMAsmLexer.cpp \ - ARMAsmParser.cpp +SRCS= ARMAsmParser.cpp TGHDRS= ARMGenAsmMatcher \ ARMGenInstrInfo \ diff --git a/lib/clang/libllvmarmcodegen/Makefile b/lib/clang/libllvmarmcodegen/Makefile index 6a10eaf..db57418 100644 --- a/lib/clang/libllvmarmcodegen/Makefile +++ b/lib/clang/libllvmarmcodegen/Makefile @@ -5,7 +5,8 @@ LIB= llvmarmcodegen SRCDIR= lib/Target/ARM -SRCS= ARMAsmPrinter.cpp \ +SRCS= A15SDOptimizer.cpp \ + ARMAsmPrinter.cpp \ ARMBaseInstrInfo.cpp \ ARMBaseRegisterInfo.cpp \ ARMCodeEmitter.cpp \ @@ -27,6 +28,7 @@ SRCS= ARMAsmPrinter.cpp \ ARMSubtarget.cpp \ ARMTargetMachine.cpp \ ARMTargetObjectFile.cpp \ + ARMTargetTransformInfo.cpp \ MLxExpansionPass.cpp \ Thumb1FrameLowering.cpp \ Thumb1InstrInfo.cpp \ diff --git a/lib/clang/libllvmarmdesc/Makefile b/lib/clang/libllvmarmdesc/Makefile index 61679a6..369031b 100644 --- a/lib/clang/libllvmarmdesc/Makefile +++ b/lib/clang/libllvmarmdesc/Makefile @@ -7,6 +7,7 @@ LIB= llvmarmdesc SRCDIR= lib/Target/ARM/MCTargetDesc SRCS= ARMAsmBackend.cpp \ ARMELFObjectWriter.cpp \ + ARMELFStreamer.cpp \ ARMMachObjectWriter.cpp \ ARMMCAsmInfo.cpp \ ARMMCCodeEmitter.cpp \ diff --git a/lib/clang/libllvmarmdisassembler/Makefile b/lib/clang/libllvmarmdisassembler/Makefile index eb46736..6af7265 100644 --- a/lib/clang/libllvmarmdisassembler/Makefile +++ b/lib/clang/libllvmarmdisassembler/Makefile @@ -9,7 +9,6 @@ INCDIR= lib/Target/ARM SRCS= ARMDisassembler.cpp TGHDRS= ARMGenDisassemblerTables \ - ARMGenEDInfo \ ARMGenInstrInfo \ ARMGenRegisterInfo \ ARMGenSubtargetInfo diff --git a/lib/clang/libllvmasmprinter/Makefile b/lib/clang/libllvmasmprinter/Makefile index 97bc73d3..5df0898 100644 --- a/lib/clang/libllvmasmprinter/Makefile +++ b/lib/clang/libllvmasmprinter/Makefile @@ -15,7 +15,10 @@ SRCS= ARMException.cpp \ DwarfCompileUnit.cpp \ DwarfDebug.cpp \ DwarfException.cpp \ + ErlangGCPrinter.cpp \ OcamlGCPrinter.cpp \ Win64Exception.cpp +TGHDRS= Intrinsics + .include "../clang.lib.mk" diff --git a/lib/clang/libllvmbitreader/Makefile b/lib/clang/libllvmbitreader/Makefile index 094e0e7..6add8a3 100644 --- a/lib/clang/libllvmbitreader/Makefile +++ b/lib/clang/libllvmbitreader/Makefile @@ -5,7 +5,9 @@ LIB= llvmbitreader SRCDIR= lib/Bitcode/Reader -SRCS= BitcodeReader.cpp +SRCS= BitReader.cpp \ + BitcodeReader.cpp \ + BitstreamReader.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmbitwriter/Makefile b/lib/clang/libllvmbitwriter/Makefile index 1cb9d41..a99d1ac 100644 --- a/lib/clang/libllvmbitwriter/Makefile +++ b/lib/clang/libllvmbitwriter/Makefile @@ -5,7 +5,8 @@ LIB= llvmbitwriter SRCDIR= lib/Bitcode/Writer -SRCS= BitcodeWriter.cpp \ +SRCS= BitWriter.cpp \ + BitcodeWriter.cpp \ BitcodeWriterPass.cpp \ ValueEnumerator.cpp diff --git a/lib/clang/libllvmcodegen/Makefile b/lib/clang/libllvmcodegen/Makefile index e65d19c..1d41a6a 100644 --- a/lib/clang/libllvmcodegen/Makefile +++ b/lib/clang/libllvmcodegen/Makefile @@ -8,17 +8,18 @@ SRCDIR= lib/CodeGen SRCS= AggressiveAntiDepBreaker.cpp \ AllocationOrder.cpp \ Analysis.cpp \ + BasicTargetTransformInfo.cpp \ BranchFolding.cpp \ CalcSpillWeights.cpp \ CallingConvLower.cpp \ CodeGen.cpp \ - CodePlacementOpt.cpp \ CriticalAntiDepBreaker.cpp \ DFAPacketizer.cpp \ DeadMachineInstructionElim.cpp \ DwarfEHPrepare.cpp \ EarlyIfConversion.cpp \ EdgeBundles.cpp \ + ErlangGC.cpp \ ExecutionDepsFix.cpp \ ExpandISelPseudos.cpp \ ExpandPostRAPseudos.cpp \ @@ -59,7 +60,6 @@ SRCS= AggressiveAntiDepBreaker.cpp \ MachineInstrBundle.cpp \ MachineLICM.cpp \ MachineLoopInfo.cpp \ - MachineLoopRanges.cpp \ MachineModuleInfo.cpp \ MachineModuleInfoImpls.cpp \ MachinePassRegistry.cpp \ @@ -106,9 +106,11 @@ SRCS= AggressiveAntiDepBreaker.cpp \ StrongPHIElimination.cpp \ TailDuplication.cpp \ TargetFrameLoweringImpl.cpp \ - TargetInstrInfoImpl.cpp \ + TargetInstrInfo.cpp \ + TargetLoweringBase.cpp \ TargetLoweringObjectFileImpl.cpp \ TargetOptionsImpl.cpp \ + TargetRegisterInfo.cpp \ TargetSchedule.cpp \ TwoAddressInstructionPass.cpp \ UnreachableBlockElim.cpp \ diff --git a/lib/clang/libllvmcore/Makefile b/lib/clang/libllvmcore/Makefile index d2010c0..4cbf3d6 100644 --- a/lib/clang/libllvmcore/Makefile +++ b/lib/clang/libllvmcore/Makefile @@ -4,7 +4,7 @@ LIB= llvmcore -SRCDIR= lib/VMCore +SRCDIR= lib/IR SRCS= AsmWriter.cpp \ Attributes.cpp \ AutoUpgrade.cpp \ @@ -37,14 +37,12 @@ SRCS= AsmWriter.cpp \ PrintModulePass.cpp \ Type.cpp \ TypeFinder.cpp \ - TargetTransformInfo.cpp \ Use.cpp \ User.cpp \ Value.cpp \ ValueSymbolTable.cpp \ ValueTypes.cpp \ Verifier.cpp -LLVM_REQUIRES_RTTI= TGHDRS= Intrinsics diff --git a/lib/clang/libllvmdebuginfo/Makefile b/lib/clang/libllvmdebuginfo/Makefile index 757b909..72218ad 100644 --- a/lib/clang/libllvmdebuginfo/Makefile +++ b/lib/clang/libllvmdebuginfo/Makefile @@ -12,6 +12,7 @@ SRCS= DIContext.cpp \ DWARFDebugAbbrev.cpp \ DWARFDebugArangeSet.cpp \ DWARFDebugAranges.cpp \ + DWARFDebugFrame.cpp \ DWARFDebugInfoEntry.cpp \ DWARFDebugLine.cpp \ DWARFDebugRangeList.cpp \ diff --git a/lib/clang/libllvminstrumentation/Makefile b/lib/clang/libllvminstrumentation/Makefile index 6d666e5..e5e8b59 100644 --- a/lib/clang/libllvminstrumentation/Makefile +++ b/lib/clang/libllvminstrumentation/Makefile @@ -10,6 +10,7 @@ SRCS= AddressSanitizer.cpp \ BoundsChecking.cpp \ EdgeProfiling.cpp \ GCOVProfiling.cpp \ + MemorySanitizer.cpp \ Instrumentation.cpp \ OptimalEdgeProfiling.cpp \ PathProfiling.cpp \ diff --git a/lib/clang/libllvmipa/Makefile b/lib/clang/libllvmipa/Makefile index 4caa0e5..85b75af 100644 --- a/lib/clang/libllvmipa/Makefile +++ b/lib/clang/libllvmipa/Makefile @@ -7,8 +7,10 @@ LIB= llvmipa SRCDIR= lib/Analysis/IPA SRCS= CallGraph.cpp \ CallGraphSCCPass.cpp \ + CallPrinter.cpp \ FindUsedTypes.cpp \ - GlobalsModRef.cpp + GlobalsModRef.cpp \ + InlineCost.cpp .if ${MK_CLANG_EXTRAS} != "no" SRCS+= IPA.cpp diff --git a/lib/clang/libllvmirreader/Makefile b/lib/clang/libllvmirreader/Makefile new file mode 100644 index 0000000..d9f7e69 --- /dev/null +++ b/lib/clang/libllvmirreader/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= llvmirreader + +SRCDIR= lib/IRReader +SRCS= IRReader.cpp + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmlinker/Makefile b/lib/clang/libllvmlinker/Makefile index 7275131..51590ed 100644 --- a/lib/clang/libllvmlinker/Makefile +++ b/lib/clang/libllvmlinker/Makefile @@ -5,9 +5,7 @@ LIB= llvmlinker SRCDIR= lib/Linker -SRCS= LinkArchives.cpp \ - LinkItems.cpp \ - LinkModules.cpp \ +SRCS= LinkModules.cpp \ Linker.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmmc/Makefile b/lib/clang/libllvmmc/Makefile index 61b8c37..3986ba6 100644 --- a/lib/clang/libllvmmc/Makefile +++ b/lib/clang/libllvmmc/Makefile @@ -41,7 +41,6 @@ SRCS= ELFObjectWriter.cpp \ MCStreamer.cpp \ MCSubtargetInfo.cpp \ MCSymbol.cpp \ - MCTargetAsmLexer.cpp \ MCValue.cpp \ MCWin64EH.cpp \ MachObjectWriter.cpp \ diff --git a/lib/clang/libllvmmcdisassembler/Makefile b/lib/clang/libllvmmcdisassembler/Makefile index 94aff3e..cfcf919 100644 --- a/lib/clang/libllvmmcdisassembler/Makefile +++ b/lib/clang/libllvmmcdisassembler/Makefile @@ -5,10 +5,6 @@ LIB= llvmmcdisassembler SRCDIR= lib/MC/MCDisassembler -SRCS= Disassembler.cpp \ - EDDisassembler.cpp \ - EDInst.cpp \ - EDOperand.cpp \ - EDToken.cpp +SRCS= Disassembler.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmmcjit/Makefile b/lib/clang/libllvmmcjit/Makefile index 207fd81..ea3cf07 100644 --- a/lib/clang/libllvmmcjit/Makefile +++ b/lib/clang/libllvmmcjit/Makefile @@ -5,6 +5,7 @@ LIB= llvmmcjit SRCDIR= lib/ExecutionEngine/MCJIT -SRCS= MCJIT.cpp +SRCS= MCJIT.cpp \ + SectionMemoryManager.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmmipscodegen/Makefile b/lib/clang/libllvmmipscodegen/Makefile index 7675a01..fdb7287 100644 --- a/lib/clang/libllvmmipscodegen/Makefile +++ b/lib/clang/libllvmmipscodegen/Makefile @@ -6,11 +6,14 @@ LIB= llvmmipscodegen SRCDIR= lib/Target/Mips SRCS= Mips16FrameLowering.cpp \ + Mips16ISelDAGToDAG.cpp \ + Mips16ISelLowering.cpp \ Mips16InstrInfo.cpp \ Mips16RegisterInfo.cpp \ MipsAnalyzeImmediate.cpp \ MipsAsmPrinter.cpp \ MipsCodeEmitter.cpp \ + MipsConstantIslandPass.cpp \ MipsDelaySlotFiller.cpp \ MipsFrameLowering.cpp \ MipsISelDAGToDAG.cpp \ @@ -22,6 +25,8 @@ SRCS= Mips16FrameLowering.cpp \ MipsMachineFunction.cpp \ MipsRegisterInfo.cpp \ MipsSEFrameLowering.cpp \ + MipsSEISelDAGToDAG.cpp \ + MipsSEISelLowering.cpp \ MipsSEInstrInfo.cpp \ MipsSERegisterInfo.cpp \ MipsSelectionDAGInfo.cpp \ diff --git a/lib/clang/libllvmmipsdesc/Makefile b/lib/clang/libllvmmipsdesc/Makefile index 4ddb646..c5e60c6 100644 --- a/lib/clang/libllvmmipsdesc/Makefile +++ b/lib/clang/libllvmmipsdesc/Makefile @@ -8,9 +8,11 @@ SRCDIR= lib/Target/Mips/MCTargetDesc SRCS= MipsAsmBackend.cpp \ MipsDirectObjLower.cpp \ MipsELFObjectWriter.cpp \ + MipsELFStreamer.cpp \ MipsMCAsmInfo.cpp \ MipsMCCodeEmitter.cpp \ - MipsMCTargetDesc.cpp + MipsMCTargetDesc.cpp \ + MipsReginfo.cpp CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/.. TGHDRS= MipsGenInstrInfo \ diff --git a/lib/clang/libllvmmipsdisassembler/Makefile b/lib/clang/libllvmmipsdisassembler/Makefile index 1c0a4b6..41d2062 100644 --- a/lib/clang/libllvmmipsdisassembler/Makefile +++ b/lib/clang/libllvmmipsdisassembler/Makefile @@ -9,7 +9,6 @@ INCDIR= lib/Target/Mips SRCS= MipsDisassembler.cpp TGHDRS= MipsGenDisassemblerTables \ - MipsGenEDInfo \ MipsGenInstrInfo \ MipsGenRegisterInfo \ MipsGenSubtargetInfo diff --git a/lib/clang/libllvmobjcarcopts/Makefile b/lib/clang/libllvmobjcarcopts/Makefile new file mode 100644 index 0000000..5c47aa8 --- /dev/null +++ b/lib/clang/libllvmobjcarcopts/Makefile @@ -0,0 +1,20 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +LIB= llvmobjcarcopts + +SRCDIR= lib/Transforms/ObjCARC +SRCS= ObjCARC.cpp \ + ObjCARCOpts.cpp \ + ObjCARCExpand.cpp \ + ObjCARCAPElim.cpp \ + ObjCARCAliasAnalysis.cpp \ + ObjCARCUtil.cpp \ + ObjCARCContract.cpp \ + DependencyAnalysis.cpp \ + ProvenanceAnalysis.cpp + +TGHDRS= Intrinsics + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmpowerpccodegen/Makefile b/lib/clang/libllvmpowerpccodegen/Makefile index a09da59..0c77b5c 100644 --- a/lib/clang/libllvmpowerpccodegen/Makefile +++ b/lib/clang/libllvmpowerpccodegen/Makefile @@ -20,7 +20,8 @@ SRCS= PPCAsmPrinter.cpp \ PPCRegisterInfo.cpp \ PPCSelectionDAGInfo.cpp \ PPCSubtarget.cpp \ - PPCTargetMachine.cpp + PPCTargetMachine.cpp \ + PPCTargetTransformInfo.cpp TGHDRS= Intrinsics \ PPCGenCallingConv \ diff --git a/lib/clang/libllvmscalaropts/Makefile b/lib/clang/libllvmscalaropts/Makefile index 87eaf23..38d945c 100644 --- a/lib/clang/libllvmscalaropts/Makefile +++ b/lib/clang/libllvmscalaropts/Makefile @@ -27,7 +27,6 @@ SRCS= ADCE.cpp \ LoopUnswitch.cpp \ LowerAtomic.cpp \ MemCpyOptimizer.cpp \ - ObjCARC.cpp \ Reassociate.cpp \ Reg2Mem.cpp \ SCCP.cpp \ diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile index 5fcff88..1a2dd20 100644 --- a/lib/clang/libllvmsupport/Makefile +++ b/lib/clang/libllvmsupport/Makefile @@ -14,6 +14,8 @@ SRCS= APFloat.cpp \ BranchProbability.cpp \ CommandLine.cpp \ ConstantRange.cpp \ + ConvertUTF.c \ + ConvertUTFWrapper.cpp \ CrashRecoveryContext.cpp \ DAGDeltaAlgorithm.cpp \ Debug.cpp \ @@ -22,14 +24,18 @@ SRCS= APFloat.cpp \ DynamicLibrary.cpp \ Errno.cpp \ ErrorHandling.cpp \ + FileOutputBuffer.cpp \ FoldingSet.cpp \ FormattedStream.cpp \ GraphWriter.cpp \ Hashing.cpp \ Host.cpp \ - IntervalMap.cpp \ + IncludeFile.cpp \ IntEqClasses.cpp \ + IntervalMap.cpp \ IntrusiveRefCntPtr.cpp \ + IsInf.cpp \ + IsNAN.cpp \ Locale.cpp \ LockFileManager.cpp \ ManagedStatic.cpp \ @@ -65,6 +71,9 @@ SRCS= APFloat.cpp \ Triple.cpp \ Twine.cpp \ Valgrind.cpp \ + Watchdog.cpp \ + YAMLParser.cpp \ + YAMLTraits.cpp \ circular_raw_ostream.cpp \ raw_os_ostream.cpp \ raw_ostream.cpp \ @@ -74,16 +83,12 @@ SRCS= APFloat.cpp \ regfree.c \ regstrlcpy.c \ system_error.cpp -LLVM_REQUIRES_RTTI= .if ${MK_CLANG_EXTRAS} != "no" -SRCS+= BlockFrequency.cpp \ - BranchProbability.cpp \ - DataExtractor.cpp \ +SRCS+= DataExtractor.cpp \ DataStream.cpp \ Disassembler.cpp \ FileUtilities.cpp \ - MemoryObject.cpp \ SystemUtils.cpp .endif diff --git a/lib/clang/libllvmtablegen/Makefile b/lib/clang/libllvmtablegen/Makefile index 069cec0..9a764b3 100644 --- a/lib/clang/libllvmtablegen/Makefile +++ b/lib/clang/libllvmtablegen/Makefile @@ -12,6 +12,5 @@ SRCS= Error.cpp \ TableGenBackend.cpp \ TGLexer.cpp \ TGParser.cpp -LLVM_REQUIRES_EH= .include "../clang.lib.mk" diff --git a/lib/clang/libllvmtarget/Makefile b/lib/clang/libllvmtarget/Makefile index 595d2cc..b85fbec 100644 --- a/lib/clang/libllvmtarget/Makefile +++ b/lib/clang/libllvmtarget/Makefile @@ -7,15 +7,12 @@ LIB= llvmtarget SRCDIR= lib/Target SRCS= Mangler.cpp \ Target.cpp \ - TargetInstrInfo.cpp \ TargetIntrinsicInfo.cpp \ TargetJITInfo.cpp \ TargetLibraryInfo.cpp \ TargetLoweringObjectFile.cpp \ TargetMachine.cpp \ TargetMachineC.cpp \ - TargetRegisterInfo.cpp \ - TargetSubtargetInfo.cpp \ - TargetTransformImpl.cpp + TargetSubtargetInfo.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmtransformutils/Makefile b/lib/clang/libllvmtransformutils/Makefile index 0ed2624..cfdc85f 100644 --- a/lib/clang/libllvmtransformutils/Makefile +++ b/lib/clang/libllvmtransformutils/Makefile @@ -5,8 +5,7 @@ LIB= llvmtransformutils SRCDIR= lib/Transforms/Utils -SRCS= AddrModeMatcher.cpp \ - BasicBlockUtils.cpp \ +SRCS= BasicBlockUtils.cpp \ BreakCriticalEdges.cpp \ BuildLibCalls.cpp \ BypassSlowDivision.cpp \ diff --git a/lib/clang/libllvmx86asmparser/Makefile b/lib/clang/libllvmx86asmparser/Makefile index 252b2d0..0d32f9c 100644 --- a/lib/clang/libllvmx86asmparser/Makefile +++ b/lib/clang/libllvmx86asmparser/Makefile @@ -6,8 +6,7 @@ LIB= llvmx86asmparser SRCDIR= lib/Target/X86/AsmParser INCDIR= lib/Target/X86 -SRCS= X86AsmLexer.cpp \ - X86AsmParser.cpp +SRCS= X86AsmParser.cpp TGHDRS= X86GenAsmMatcher \ X86GenInstrInfo \ diff --git a/lib/clang/libllvmx86codegen/Makefile b/lib/clang/libllvmx86codegen/Makefile index 939b257..88620f2 100644 --- a/lib/clang/libllvmx86codegen/Makefile +++ b/lib/clang/libllvmx86codegen/Makefile @@ -17,12 +17,14 @@ SRCS= X86AsmPrinter.cpp \ X86JITInfo.cpp \ X86MCInstLower.cpp \ X86MachineFunctionInfo.cpp \ + X86PadShortFunction.cpp \ X86RegisterInfo.cpp \ X86SelectionDAGInfo.cpp \ X86Subtarget.cpp \ X86TargetMachine.cpp \ X86TargetObjectFile.cpp \ - X86VZeroUpper.cpp \ + X86TargetTransformInfo.cpp \ + X86VZeroUpper.cpp TGHDRS= Intrinsics \ X86GenCallingConv \ diff --git a/lib/clang/libllvmx86disassembler/Makefile b/lib/clang/libllvmx86disassembler/Makefile index 9b73800..fbaa5c6 100644 --- a/lib/clang/libllvmx86disassembler/Makefile +++ b/lib/clang/libllvmx86disassembler/Makefile @@ -13,7 +13,6 @@ SRCS+= X86DisassemblerDecoder.c .endif TGHDRS= X86GenDisassemblerTables \ - X86GenEDInfo \ X86GenInstrInfo \ X86GenRegisterInfo |