diff options
Diffstat (limited to 'lib')
55 files changed, 973 insertions, 408 deletions
diff --git a/lib/clang/Makefile b/lib/clang/Makefile index 5cead23..cced6c1 100644 --- a/lib/clang/Makefile +++ b/lib/clang/Makefile @@ -13,6 +13,7 @@ SUBDIR= libclanganalysis \ libclangsema \ \ libllvmanalysis \ + libllvmasmparser \ libllvmasmprinter \ libllvmbitreader \ libllvmbitwriter \ diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk index a42e011..fad4317 100644 --- a/lib/clang/clang.build.mk +++ b/lib/clang/clang.build.mk @@ -15,9 +15,7 @@ CFLAGS+= -O1 TARGET_ARCH?= ${MACHINE_ARCH} # XXX: 8.0, to keep __FreeBSD_cc_version happy -CFLAGS+=-DLLVM_HOSTTRIPLE=\"${TARGET_ARCH}-undermydesk-freebsd9.0\" \ - -DCLANG_VENDOR=\"FreeBSD\ \" -DSVN_REVISION=\"104832\" \ - -DCLANG_VENDOR_SUFFIX=\"\ 20100615\" +CFLAGS+=-DLLVM_HOSTTRIPLE=\"${TARGET_ARCH}-undermydesk-freebsd9.0\" .PATH: ${LLVM_SRCS}/${SRCDIR} @@ -48,6 +46,26 @@ ${arch:T}Gen${hdr:H:C/$/.inc.h/}: ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td . endfor .endfor +Attrs.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td + ${TBLGEN} -I${CLANG_SRCS}/include/clang/Basic \ + -gen-clang-attr-classes ${.ALLSRC} > ${.TARGET} + +AttrList.inc.h: ${CLANG_SRCS}/include/clang/Basic/Attr.td + ${TBLGEN} -I${CLANG_SRCS}/include/clang/Basic \ + -gen-clang-attr-list ${.ALLSRC} > ${.TARGET} + +DeclNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/DeclNodes.td + ${TBLGEN} -I${CLANG_SRCS}/include/clang/Basic \ + -gen-clang-decl-nodes ${.ALLSRC} > ${.TARGET} + +StmtNodes.inc.h: ${CLANG_SRCS}/include/clang/Basic/StmtNodes.td + ${TBLGEN} -I${CLANG_SRCS}/include/clang/AST \ + -gen-clang-stmt-nodes ${.ALLSRC} > ${.TARGET} + +arm_neon.inc.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td + ${TBLGEN} -I${CLANG_SRCS}/include/clang/Basic \ + -gen-arm-neon-sema ${.ALLSRC} > ${.TARGET} + DiagnosticGroups.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td ${TBLGEN} -I${CLANG_SRCS}/include/clang/Basic \ -gen-clang-diag-groups \ @@ -58,22 +76,20 @@ Diagnostic${hdr}Kinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td -gen-clang-diags-defs -clang-component=${hdr} \ ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td > ${.TARGET} .endfor -CC1AsOptions.inc.h: ${CLANG_SRCS}/include/clang/Driver/CC1AsOptions.td +Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/Options.td ${TBLGEN} -I${CLANG_SRCS}/include/clang/Driver \ -gen-opt-parser-defs \ - ${CLANG_SRCS}/include/clang/Driver/CC1AsOptions.td > ${.TARGET} + ${CLANG_SRCS}/include/clang/Driver/Options.td > ${.TARGET} + CC1Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/CC1Options.td ${TBLGEN} -I${CLANG_SRCS}/include/clang/Driver \ -gen-opt-parser-defs \ ${CLANG_SRCS}/include/clang/Driver/CC1Options.td > ${.TARGET} -Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/Options.td + +CC1AsOptions.inc.h: ${CLANG_SRCS}/include/clang/Driver/CC1AsOptions.td ${TBLGEN} -I${CLANG_SRCS}/include/clang/Driver \ -gen-opt-parser-defs \ - ${CLANG_SRCS}/include/clang/Driver/Options.td > ${.TARGET} -StmtNodes.inc.h: ${CLANG_SRCS}/include/clang/AST/StmtNodes.td - ${TBLGEN} -I${CLANG_SRCS}/include/clang/AST \ - -gen-clang-stmt-nodes \ - ${CLANG_SRCS}/include/clang/AST/StmtNodes.td > ${.TARGET} + ${CLANG_SRCS}/include/clang/Driver/CC1AsOptions.td > ${.TARGET} SRCS+= ${TGHDRS:C/$/.inc.h/} DPADD+= ${TGHDRS:C/$/.inc.h/} diff --git a/lib/clang/include/Makefile b/lib/clang/include/Makefile index db85f80..e8319f8 100644 --- a/lib/clang/include/Makefile +++ b/lib/clang/include/Makefile @@ -2,9 +2,14 @@ .PATH: ${.CURDIR}/../../../contrib/llvm/tools/clang/lib/Headers -INCSDIR=${INCLUDEDIR}/clang/2.0 +INCSDIR=${INCLUDEDIR}/clang/2.8 -INCS= emmintrin.h mm_malloc.h mmintrin.h pmmintrin.h tmmintrin.h xmmintrin.h +INCS= emmintrin.h \ + mm_malloc.h \ + mmintrin.h \ + pmmintrin.h \ + tmmintrin.h \ + xmmintrin.h .include <bsd.init.mk> .include <bsd.incs.mk> diff --git a/lib/clang/include/clang/AST/Attrs.inc b/lib/clang/include/clang/AST/Attrs.inc new file mode 100644 index 0000000..0eee102 --- /dev/null +++ b/lib/clang/include/clang/AST/Attrs.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "Attrs.inc.h" diff --git a/lib/clang/include/clang/AST/DeclNodes.inc b/lib/clang/include/clang/AST/DeclNodes.inc new file mode 100644 index 0000000..d5b9a90 --- /dev/null +++ b/lib/clang/include/clang/AST/DeclNodes.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "DeclNodes.inc.h" diff --git a/lib/clang/include/clang/Basic/AttrList.inc b/lib/clang/include/clang/Basic/AttrList.inc new file mode 100644 index 0000000..319eb5a --- /dev/null +++ b/lib/clang/include/clang/Basic/AttrList.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "AttrList.inc.h" diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc new file mode 100644 index 0000000..f8515b7 --- /dev/null +++ b/lib/clang/include/clang/Basic/Version.inc @@ -0,0 +1,10 @@ +/* $FreeBSD$ */ + +#define CLANG_VERSION 2.8 +#define CLANG_VERSION_MAJOR 2 +#define CLANG_VERSION_MINOR 8 + +#define CLANG_VENDOR "FreeBSD " +#define CLANG_VENDOR_SUFFIX " 20100720" + +#define SVN_REVISION "108428" diff --git a/lib/clang/include/clang/Basic/arm_neon.inc b/lib/clang/include/clang/Basic/arm_neon.inc new file mode 100644 index 0000000..7b4c875 --- /dev/null +++ b/lib/clang/include/clang/Basic/arm_neon.inc @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +#include "arm_neon.inc.h" diff --git a/lib/clang/include/llvm/Config/AsmParsers.def b/lib/clang/include/llvm/Config/AsmParsers.def index c6e1ffd..0fdc4ff 100644 --- a/lib/clang/include/llvm/Config/AsmParsers.def +++ b/lib/clang/include/llvm/Config/AsmParsers.def @@ -1,30 +1,6 @@ /* $FreeBSD$ */ -//===- llvm/Config/AsmParsers.def - LLVM Assembly Parsers -------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file enumerates all of the assembly-language parsers -// supported by this build of LLVM. Clients of this file should define -// the LLVM_ASM_PARSER macro to be a function-like macro with a -// single parameter (the name of the target whose assembly can be -// generated); including this file will then enumerate all of the -// targets with assembly parsers. -// -// The set of targets supported by LLVM is generated at configuration -// time, at which point this header is generated. Do not modify this -// header directly. -// -//===----------------------------------------------------------------------===// -#ifndef LLVM_ASM_PARSER -# error Please define the macro LLVM_ASM_PARSER(TargetName) -#endif - -LLVM_ASM_PARSER(ARM) LLVM_ASM_PARSER(X86) +LLVM_ASM_PARSER(ARM) +LLVM_ASM_PARSER(X86) #undef LLVM_ASM_PARSER diff --git a/lib/clang/include/llvm/Config/AsmPrinters.def b/lib/clang/include/llvm/Config/AsmPrinters.def index 76e2377..ab48b4a 100644 --- a/lib/clang/include/llvm/Config/AsmPrinters.def +++ b/lib/clang/include/llvm/Config/AsmPrinters.def @@ -1,30 +1,8 @@ /* $FreeBSD$ */ -//===- llvm/Config/AsmPrinters.def - LLVM Assembly Printers -----*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file enumerates all of the assembly-language printers -// supported by this build of LLVM. Clients of this file should define -// the LLVM_ASM_PRINTER macro to be a function-like macro with a -// single parameter (the name of the target whose assembly can be -// generated); including this file will then enumerate all of the -// targets with assembly printers. -// -// The set of targets supported by LLVM is generated at configuration -// time, at which point this header is generated. Do not modify this -// header directly. -// -//===----------------------------------------------------------------------===// -#ifndef LLVM_ASM_PRINTER -# error Please define the macro LLVM_ASM_PRINTER(TargetName) -#endif - -LLVM_ASM_PRINTER(Mips) LLVM_ASM_PRINTER(ARM) LLVM_ASM_PRINTER(PowerPC) LLVM_ASM_PRINTER(X86) +LLVM_ASM_PRINTER(Mips) +LLVM_ASM_PRINTER(ARM) +LLVM_ASM_PRINTER(PowerPC) +LLVM_ASM_PRINTER(X86) #undef LLVM_ASM_PRINTER diff --git a/lib/clang/include/llvm/Config/Disassemblers.def b/lib/clang/include/llvm/Config/Disassemblers.def index bc79e01..9d9093a 100644 --- a/lib/clang/include/llvm/Config/Disassemblers.def +++ b/lib/clang/include/llvm/Config/Disassemblers.def @@ -1,30 +1,5 @@ /* $FreeBSD$ */ -//===- llvm/Config/Disassemblers.def - LLVM Assembly Parsers ----*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file enumerates all of the assembly-language parsers -// supported by this build of LLVM. Clients of this file should define -// the LLVM_ASM_PARSER macro to be a function-like macro with a -// single parameter (the name of the target whose assembly can be -// generated); including this file will then enumerate all of the -// targets with assembly parsers. -// -// The set of targets supported by LLVM is generated at configuration -// time, at which point this header is generated. Do not modify this -// header directly. -// -//===----------------------------------------------------------------------===// -#ifndef LLVM_DISASSEMBLER -# error Please define the macro LLVM_DISASSEMBLER(TargetName) -#endif - -LLVM_DISASSEMBLER(X86) +LLVM_DISASSEMBLER(X86) #undef LLVM_DISASSEMBLER diff --git a/lib/clang/include/llvm/Config/Targets.def b/lib/clang/include/llvm/Config/Targets.def index 47ae809..e33b41e 100644 --- a/lib/clang/include/llvm/Config/Targets.def +++ b/lib/clang/include/llvm/Config/Targets.def @@ -1,29 +1,8 @@ /* $FreeBSD$ */ -/*===- llvm/Config/Targets.def - LLVM Target Architectures ------*- C++ -*-===*\ -|* *| -|* The LLVM Compiler Infrastructure *| -|* *| -|* This file is distributed under the University of Illinois Open Source *| -|* License. See LICENSE.TXT for details. *| -|* *| -|*===----------------------------------------------------------------------===*| -|* *| -|* This file enumerates all of the target architectures supported by *| -|* this build of LLVM. Clients of this file should define the *| -|* LLVM_TARGET macro to be a function-like macro with a single *| -|* parameter (the name of the target); including this file will then *| -|* enumerate all of the targets. *| -|* *| -|* The set of targets supported by LLVM is generated at configuration *| -|* time, at which point this header is generated. Do not modify this *| -|* header directly. *| -|* *| -\*===----------------------------------------------------------------------===*/ -#ifndef LLVM_TARGET -# error Please define the macro LLVM_TARGET(TargetName) -#endif - -LLVM_TARGET(Mips) LLVM_TARGET(ARM) LLVM_TARGET(PowerPC) LLVM_TARGET(X86) +LLVM_TARGET(Mips) +LLVM_TARGET(ARM) +LLVM_TARGET(PowerPC) +LLVM_TARGET(X86) #undef LLVM_TARGET diff --git a/lib/clang/libclanganalysis/Makefile b/lib/clang/libclanganalysis/Makefile index c88d2b9..ad64529 100644 --- a/lib/clang/libclanganalysis/Makefile +++ b/lib/clang/libclanganalysis/Makefile @@ -3,10 +3,18 @@ LIB= clanganalysis SRCDIR= tools/clang/lib/Analysis -SRCS= AnalysisContext.cpp CFG.cpp LiveVariables.cpp \ - PrintfFormatString.cpp ReachableCode.cpp \ +SRCS= AnalysisContext.cpp \ + CFG.cpp \ + LiveVariables.cpp \ + PrintfFormatString.cpp \ + ReachableCode.cpp \ UninitializedValues.cpp -TGHDRS= DiagnosticAnalysisKinds DiagnosticCommonKinds StmtNodes +TGHDRS= AttrList \ + Attrs \ + DeclNodes \ + DiagnosticAnalysisKinds \ + DiagnosticCommonKinds \ + StmtNodes .include "../clang.lib.mk" diff --git a/lib/clang/libclangast/Makefile b/lib/clang/libclangast/Makefile index 2061939..06cb000 100644 --- a/lib/clang/libclangast/Makefile +++ b/lib/clang/libclangast/Makefile @@ -3,17 +3,49 @@ LIB= clangast SRCDIR= tools/clang/lib/AST -SRCS= APValue.cpp ASTConsumer.cpp ASTContext.cpp ASTDiagnostic.cpp \ - ASTImporter.cpp AttrImpl.cpp CXXInheritance.cpp Decl.cpp \ - DeclBase.cpp DeclCXX.cpp DeclFriend.cpp DeclGroup.cpp \ - DeclObjC.cpp DeclPrinter.cpp DeclTemplate.cpp \ - DeclarationName.cpp Expr.cpp ExprCXX.cpp ExprConstant.cpp \ - FullExpr.cpp InheritViz.cpp NestedNameSpecifier.cpp \ - ParentMap.cpp RecordLayout.cpp RecordLayoutBuilder.cpp \ - Stmt.cpp StmtDumper.cpp StmtIterator.cpp StmtPrinter.cpp \ - StmtProfile.cpp StmtViz.cpp TemplateBase.cpp TemplateName.cpp \ - Type.cpp TypeLoc.cpp TypePrinter.cpp +SRCS= APValue.cpp \ + ASTConsumer.cpp \ + ASTContext.cpp \ + ASTDiagnostic.cpp \ + ASTImporter.cpp \ + AttrImpl.cpp \ + CXXInheritance.cpp \ + Decl.cpp \ + DeclBase.cpp \ + DeclCXX.cpp \ + DeclFriend.cpp \ + DeclGroup.cpp \ + DeclObjC.cpp \ + DeclPrinter.cpp \ + DeclTemplate.cpp \ + DeclarationName.cpp \ + Expr.cpp \ + ExprCXX.cpp \ + ExprClassification.cpp \ + ExprConstant.cpp \ + FullExpr.cpp \ + InheritViz.cpp \ + NestedNameSpecifier.cpp \ + ParentMap.cpp \ + RecordLayout.cpp \ + RecordLayoutBuilder.cpp \ + Stmt.cpp \ + StmtDumper.cpp \ + StmtIterator.cpp \ + StmtPrinter.cpp \ + StmtProfile.cpp \ + StmtViz.cpp \ + TemplateBase.cpp \ + TemplateName.cpp \ + Type.cpp \ + TypeLoc.cpp \ + TypePrinter.cpp -TGHDRS= DiagnosticASTKinds DiagnosticCommonKinds StmtNodes +TGHDRS= AttrList \ + Attrs \ + DeclNodes \ + DiagnosticASTKinds \ + DiagnosticCommonKinds \ + StmtNodes .include "../clang.lib.mk" diff --git a/lib/clang/libclangbasic/Makefile b/lib/clang/libclangbasic/Makefile index 48e90a2..cd57855 100644 --- a/lib/clang/libclangbasic/Makefile +++ b/lib/clang/libclangbasic/Makefile @@ -3,13 +3,29 @@ LIB= clangbasic SRCDIR= tools/clang/lib/Basic -SRCS= Builtins.cpp ConvertUTF.c Diagnostic.cpp FileManager.cpp \ - IdentifierTable.cpp SourceLocation.cpp SourceManager.cpp \ - TargetInfo.cpp Targets.cpp TokenKinds.cpp Version.cpp - -TGHDRS= DiagnosticASTKinds DiagnosticAnalysisKinds \ - DiagnosticCommonKinds DiagnosticDriverKinds \ - DiagnosticFrontendKinds DiagnosticGroups DiagnosticLexKinds \ - DiagnosticParseKinds DiagnosticSemaKinds +SRCS= Builtins.cpp \ + ConvertUTF.c \ + Diagnostic.cpp \ + FileManager.cpp \ + IdentifierTable.cpp \ + SourceLocation.cpp \ + SourceManager.cpp \ + TargetInfo.cpp \ + Targets.cpp \ + TokenKinds.cpp \ + Version.cpp + +TGHDRS= AttrList \ + Attrs \ + DiagnosticASTKinds \ + DiagnosticAnalysisKinds \ + DiagnosticCommonKinds \ + DiagnosticDriverKinds \ + DiagnosticFrontendKinds \ + DiagnosticGroups \ + DiagnosticLexKinds \ + DiagnosticParseKinds \ + DiagnosticSemaKinds \ + arm_neon .include "../clang.lib.mk" diff --git a/lib/clang/libclangchecker/Makefile b/lib/clang/libclangchecker/Makefile index e052768..0bcecef 100644 --- a/lib/clang/libclangchecker/Makefile +++ b/lib/clang/libclangchecker/Makefile @@ -3,36 +3,87 @@ LIB= clangchecker SRCDIR= tools/clang/lib/Checker -SRCS= AdjustedReturnValueChecker.cpp AggExprVisitor.cpp \ - ArrayBoundChecker.cpp AttrNonNullChecker.cpp \ - BasicConstraintManager.cpp BasicObjCFoundationChecks.cpp \ - BasicStore.cpp BasicValueFactory.cpp BugReporter.cpp \ - BugReporterVisitors.cpp BuiltinFunctionChecker.cpp \ - CFRefCount.cpp CallAndMessageChecker.cpp CallInliner.cpp \ - CastSizeChecker.cpp CastToStructChecker.cpp \ - CheckDeadStores.cpp CheckObjCDealloc.cpp \ - CheckObjCInstMethSignature.cpp CheckSecuritySyntaxOnly.cpp \ - CheckSizeofPointer.cpp Checker.cpp CocoaConventions.cpp \ - DereferenceChecker.cpp DivZeroChecker.cpp Environment.cpp \ - ExplodedGraph.cpp FixedAddressChecker.cpp FlatStore.cpp \ - GRBlockCounter.cpp GRCXXExprEngine.cpp GRCoreEngine.cpp \ - GRExprEngine.cpp GRExprEngineExperimentalChecks.cpp \ - GRState.cpp LLVMConventionsChecker.cpp MacOSXAPIChecker.cpp \ - MallocChecker.cpp ManagerRegistry.cpp MemRegion.cpp \ - NSAutoreleasePoolChecker.cpp NSErrorChecker.cpp \ - NoReturnFunctionChecker.cpp OSAtomicChecker.cpp \ - ObjCUnusedIVarsChecker.cpp PathDiagnostic.cpp \ - PointerArithChecker.cpp PointerSubChecker.cpp \ - PthreadLockChecker.cpp RangeConstraintManager.cpp \ - RegionStore.cpp ReturnPointerRangeChecker.cpp \ - ReturnStackAddressChecker.cpp ReturnUndefChecker.cpp SVals.cpp \ - SValuator.cpp SimpleConstraintManager.cpp SimpleSValuator.cpp \ - Store.cpp SymbolManager.cpp UndefBranchChecker.cpp \ - UndefCapturedBlockVarChecker.cpp UndefResultChecker.cpp \ +SRCS= AdjustedReturnValueChecker.cpp \ + AggExprVisitor.cpp \ + AnalysisConsumer.cpp \ + ArrayBoundChecker.cpp \ + AttrNonNullChecker.cpp \ + BasicConstraintManager.cpp \ + BasicObjCFoundationChecks.cpp \ + BasicStore.cpp \ + BasicValueFactory.cpp \ + BugReporter.cpp \ + BugReporterVisitors.cpp \ + BuiltinFunctionChecker.cpp \ + CFRefCount.cpp \ + CStringChecker.cpp \ + CallAndMessageChecker.cpp \ + CallInliner.cpp \ + CastSizeChecker.cpp \ + CastToStructChecker.cpp \ + CheckDeadStores.cpp \ + CheckObjCDealloc.cpp \ + CheckObjCInstMethSignature.cpp \ + CheckSecuritySyntaxOnly.cpp \ + CheckSizeofPointer.cpp \ + Checker.cpp \ + CocoaConventions.cpp \ + DereferenceChecker.cpp \ + DivZeroChecker.cpp \ + Environment.cpp \ + ExplodedGraph.cpp \ + FixedAddressChecker.cpp \ + FlatStore.cpp \ + FrontendActions.cpp \ + GRBlockCounter.cpp \ + GRCXXExprEngine.cpp \ + GRCoreEngine.cpp \ + GRExprEngine.cpp \ + GRExprEngineExperimentalChecks.cpp \ + GRState.cpp \ + HTMLDiagnostics.cpp \ + IdempotentOperationChecker.cpp \ + LLVMConventionsChecker.cpp \ + MacOSXAPIChecker.cpp \ + MallocChecker.cpp \ + ManagerRegistry.cpp \ + MemRegion.cpp \ + NSAutoreleasePoolChecker.cpp \ + NSErrorChecker.cpp \ + NoReturnFunctionChecker.cpp \ + OSAtomicChecker.cpp \ + ObjCUnusedIVarsChecker.cpp \ + PathDiagnostic.cpp \ + PlistDiagnostics.cpp \ + PointerArithChecker.cpp \ + PointerSubChecker.cpp \ + PthreadLockChecker.cpp \ + RangeConstraintManager.cpp \ + RegionStore.cpp \ + ReturnPointerRangeChecker.cpp \ + ReturnUndefChecker.cpp \ + SVals.cpp \ + SValuator.cpp \ + SimpleConstraintManager.cpp \ + SimpleSValuator.cpp \ + StackAddrLeakChecker.cpp \ + StreamChecker.cpp \ + Store.cpp \ + SymbolManager.cpp \ + UndefBranchChecker.cpp \ + UndefCapturedBlockVarChecker.cpp \ + UndefResultChecker.cpp \ UndefinedArraySubscriptChecker.cpp \ UndefinedAssignmentChecker.cpp \ - UnixAPIChecker.cpp VLASizeChecker.cpp ValueManager.cpp + UnixAPIChecker.cpp \ + VLASizeChecker.cpp \ + ValueManager.cpp -TGHDRS= DiagnosticAnalysisKinds DiagnosticCommonKinds StmtNodes +TGHDRS= Attrs \ + AttrList \ + DeclNodes \ + DiagnosticAnalysisKinds \ + DiagnosticCommonKinds \ + StmtNodes .include "../clang.lib.mk" diff --git a/lib/clang/libclangcodegen/Makefile b/lib/clang/libclangcodegen/Makefile index 0b9e2f5..82e423b 100644 --- a/lib/clang/libclangcodegen/Makefile +++ b/lib/clang/libclangcodegen/Makefile @@ -3,15 +3,48 @@ LIB= clangcodegen SRCDIR= tools/clang/lib/CodeGen -SRCS= CGBlocks.cpp CGBuiltin.cpp CGCXX.cpp CGCall.cpp CGClass.cpp \ - CGDebugInfo.cpp CGDecl.cpp CGDeclCXX.cpp CGException.cpp \ - CGExpr.cpp CGExprAgg.cpp CGExprCXX.cpp CGExprComplex.cpp \ - CGExprConstant.cpp CGExprScalar.cpp CGObjC.cpp CGObjCGNU.cpp \ - CGObjCMac.cpp CGRTTI.cpp CGRecordLayoutBuilder.cpp CGStmt.cpp \ - CGTemporaries.cpp CGVTT.cpp CGVTables.cpp CodeGenFunction.cpp \ - CodeGenModule.cpp CodeGenTypes.cpp ItaniumCXXABI.cpp \ - Mangle.cpp ModuleBuilder.cpp TargetInfo.cpp +SRCS= BackendUtil.cpp \ + CGBlocks.cpp \ + CGBuiltin.cpp \ + CGCXX.cpp \ + CGCall.cpp \ + CGClass.cpp \ + CGDebugInfo.cpp \ + CGDecl.cpp \ + CGDeclCXX.cpp \ + CGException.cpp \ + CGExpr.cpp \ + CGExprAgg.cpp \ + CGExprCXX.cpp \ + CGExprComplex.cpp \ + CGExprConstant.cpp \ + CGExprScalar.cpp \ + CGObjC.cpp \ + CGObjCGNU.cpp \ + CGObjCMac.cpp \ + CGRTTI.cpp \ + CGRecordLayoutBuilder.cpp \ + CGStmt.cpp \ + CGTemporaries.cpp \ + CGVTT.cpp \ + CGVTables.cpp \ + CodeGenAction.cpp \ + CodeGenFunction.cpp \ + CodeGenModule.cpp \ + CodeGenTypes.cpp \ + ItaniumCXXABI.cpp \ + Mangle.cpp \ + MicrosoftCXXABI.cpp \ + ModuleBuilder.cpp \ + TargetInfo.cpp -TGHDRS= DiagnosticCommonKinds Intrinsics StmtNodes +TGHDRS= Attrs \ + AttrList \ + DeclNodes \ + DiagnosticCommonKinds \ + DiagnosticFrontendKinds \ + Intrinsics \ + StmtNodes \ + arm_neon .include "../clang.lib.mk" diff --git a/lib/clang/libclangdriver/Makefile b/lib/clang/libclangdriver/Makefile index 7f05334..ce9d251 100644 --- a/lib/clang/libclangdriver/Makefile +++ b/lib/clang/libclangdriver/Makefile @@ -3,12 +3,29 @@ LIB= clangdriver SRCDIR= tools/clang/lib/Driver -SRCS= Action.cpp Arg.cpp ArgList.cpp CC1AsOptions.cpp CC1Options.cpp \ - Compilation.cpp Driver.cpp DriverOptions.cpp HostInfo.cpp \ - Job.cpp OptTable.cpp Option.cpp Phases.cpp Tool.cpp \ - ToolChain.cpp ToolChains.cpp Tools.cpp Types.cpp +SRCS= Action.cpp \ + Arg.cpp \ + ArgList.cpp \ + CC1AsOptions.cpp \ + CC1Options.cpp \ + Compilation.cpp \ + Driver.cpp \ + DriverOptions.cpp \ + HostInfo.cpp \ + Job.cpp \ + OptTable.cpp \ + Option.cpp \ + Phases.cpp \ + Tool.cpp \ + ToolChain.cpp \ + ToolChains.cpp \ + Tools.cpp \ + Types.cpp -TGHDRS= CC1AsOptions CC1Options DiagnosticCommonKinds \ - DiagnosticDriverKinds Options +TGHDRS= CC1AsOptions \ + CC1Options \ + DiagnosticCommonKinds \ + DiagnosticDriverKinds \ + Options .include "../clang.lib.mk" diff --git a/lib/clang/libclangfrontend/Makefile b/lib/clang/libclangfrontend/Makefile index 68c4620..7024a60 100644 --- a/lib/clang/libclangfrontend/Makefile +++ b/lib/clang/libclangfrontend/Makefile @@ -3,23 +3,49 @@ LIB= clangfrontend SRCDIR= tools/clang/lib/Frontend -SRCS= ASTConsumers.cpp ASTMerge.cpp ASTUnit.cpp AnalysisConsumer.cpp \ - BoostConAction.cpp CacheTokens.cpp CodeGenAction.cpp \ - CompilerInstance.cpp CompilerInvocation.cpp DeclXML.cpp \ - DependencyFile.cpp DiagChecker.cpp DocumentXML.cpp \ - FixItRewriter.cpp FrontendAction.cpp FrontendActions.cpp \ - FrontendOptions.cpp GeneratePCH.cpp HTMLDiagnostics.cpp \ - HTMLPrint.cpp InitHeaderSearch.cpp InitPreprocessor.cpp \ - LangStandards.cpp PCHReader.cpp PCHReaderDecl.cpp \ - PCHReaderStmt.cpp PCHWriter.cpp PCHWriterDecl.cpp \ - PCHWriterStmt.cpp PlistDiagnostics.cpp \ - PrintParserCallbacks.cpp PrintPreprocessedOutput.cpp \ - RewriteMacros.cpp RewriteObjC.cpp RewriteTest.cpp StmtXML.cpp \ - TextDiagnosticBuffer.cpp TextDiagnosticPrinter.cpp TypeXML.cpp \ - VerifyDiagnosticsClient.cpp Warnings.cpp +SRCS= ASTConsumers.cpp \ + ASTMerge.cpp \ + ASTUnit.cpp \ + BoostConAction.cpp \ + CacheTokens.cpp \ + CompilerInstance.cpp \ + CompilerInvocation.cpp \ + DeclXML.cpp \ + DependencyFile.cpp \ + DiagChecker.cpp \ + DocumentXML.cpp \ + FrontendAction.cpp \ + FrontendActions.cpp \ + FrontendOptions.cpp \ + GeneratePCH.cpp \ + InitHeaderSearch.cpp \ + InitPreprocessor.cpp \ + LangStandards.cpp \ + PCHReader.cpp \ + PCHReaderDecl.cpp \ + PCHReaderStmt.cpp \ + PCHWriter.cpp \ + PCHWriterDecl.cpp \ + PCHWriterStmt.cpp \ + PrintParserCallbacks.cpp \ + PrintPreprocessedOutput.cpp \ + StmtXML.cpp \ + TextDiagnosticBuffer.cpp \ + TextDiagnosticPrinter.cpp \ + TypeXML.cpp \ + VerifyDiagnosticsClient.cpp \ + Warnings.cpp -TGHDRS= CC1Options DiagnosticASTKinds DiagnosticCommonKinds \ - DiagnosticDriverKinds DiagnosticFrontendKinds \ - DiagnosticLexKinds DiagnosticSemaKinds StmtNodes +TGHDRS= AttrList \ + Attrs \ + CC1Options \ + DeclNodes \ + DiagnosticASTKinds \ + DiagnosticCommonKinds \ + DiagnosticDriverKinds \ + DiagnosticFrontendKinds \ + DiagnosticLexKinds \ + DiagnosticSemaKinds \ + StmtNodes .include "../clang.lib.mk" diff --git a/lib/clang/libclanglex/Makefile b/lib/clang/libclanglex/Makefile index fc9f9b2..989be0d 100644 --- a/lib/clang/libclanglex/Makefile +++ b/lib/clang/libclanglex/Makefile @@ -3,13 +3,27 @@ LIB= clanglex SRCDIR= tools/clang/lib/Lex -SRCS= HeaderMap.cpp HeaderSearch.cpp Lexer.cpp LiteralSupport.cpp \ - MacroArgs.cpp MacroInfo.cpp PPCaching.cpp PPDirectives.cpp \ - PPExpressions.cpp PPLexerChange.cpp PPMacroExpansion.cpp \ - PTHLexer.cpp Pragma.cpp PreprocessingRecord.cpp \ - Preprocessor.cpp PreprocessorLexer.cpp ScratchBuffer.cpp \ - TokenConcatenation.cpp TokenLexer.cpp - -TGHDRS= DiagnosticCommonKinds DiagnosticLexKinds +SRCS= HeaderMap.cpp \ + HeaderSearch.cpp \ + Lexer.cpp \ + LiteralSupport.cpp \ + MacroArgs.cpp \ + MacroInfo.cpp \ + PPCaching.cpp \ + PPDirectives.cpp \ + PPExpressions.cpp \ + PPLexerChange.cpp \ + PPMacroExpansion.cpp \ + PTHLexer.cpp \ + Pragma.cpp \ + PreprocessingRecord.cpp \ + Preprocessor.cpp \ + PreprocessorLexer.cpp \ + ScratchBuffer.cpp \ + TokenConcatenation.cpp \ + TokenLexer.cpp + +TGHDRS= DiagnosticCommonKinds \ + DiagnosticLexKinds .include "../clang.lib.mk" diff --git a/lib/clang/libclangparse/Makefile b/lib/clang/libclangparse/Makefile index a755c65..0877749 100644 --- a/lib/clang/libclangparse/Makefile +++ b/lib/clang/libclangparse/Makefile @@ -3,12 +3,23 @@ LIB= clangparse SRCDIR= tools/clang/lib/Parse -SRCS= AttributeList.cpp DeclSpec.cpp MinimalAction.cpp \ - ParseCXXInlineMethods.cpp ParseDecl.cpp ParseDeclCXX.cpp \ - ParseExpr.cpp ParseExprCXX.cpp ParseInit.cpp ParseObjc.cpp \ - ParsePragma.cpp ParseStmt.cpp ParseTemplate.cpp \ - ParseTentative.cpp Parser.cpp +SRCS= AttributeList.cpp \ + DeclSpec.cpp \ + MinimalAction.cpp \ + ParseCXXInlineMethods.cpp \ + ParseDecl.cpp \ + ParseDeclCXX.cpp \ + ParseExpr.cpp \ + ParseExprCXX.cpp \ + ParseInit.cpp \ + ParseObjc.cpp \ + ParsePragma.cpp \ + ParseStmt.cpp \ + ParseTemplate.cpp \ + ParseTentative.cpp \ + Parser.cpp -TGHDRS= DiagnosticCommonKinds DiagnosticParseKinds +TGHDRS= DiagnosticCommonKinds \ + DiagnosticParseKinds .include "../clang.lib.mk" diff --git a/lib/clang/libclangrewrite/Makefile b/lib/clang/libclangrewrite/Makefile index c564283..496c699 100644 --- a/lib/clang/libclangrewrite/Makefile +++ b/lib/clang/libclangrewrite/Makefile @@ -3,9 +3,23 @@ LIB= clangrewrite SRCDIR= tools/clang/lib/Rewrite -SRCS= DeltaTree.cpp HTMLRewrite.cpp RewriteRope.cpp Rewriter.cpp \ +SRCS= DeltaTree.cpp \ + FixItRewriter.cpp \ + FrontendActions.cpp \ + HTMLPrint.cpp \ + HTMLRewrite.cpp \ + RewriteMacros.cpp \ + RewriteObjC.cpp \ + RewriteRope.cpp \ + RewriteTest.cpp \ + Rewriter.cpp \ TokenRewriter.cpp -TGHDRS= DiagnosticCommonKinds StmtNodes +TGHDRS= AttrList \ + Attrs \ + DeclNodes \ + DiagnosticCommonKinds \ + DiagnosticFrontendKinds \ + StmtNodes .include "../clang.lib.mk" diff --git a/lib/clang/libclangsema/Makefile b/lib/clang/libclangsema/Makefile index 9f69dc1..865c7e7 100644 --- a/lib/clang/libclangsema/Makefile +++ b/lib/clang/libclangsema/Makefile @@ -3,21 +3,48 @@ LIB= clangsema SRCDIR= tools/clang/lib/Sema -SRCS= AnalysisBasedWarnings.cpp CodeCompleteConsumer.cpp \ - IdentifierResolver.cpp IdentifierResolver.cpp \ - JumpDiagnostics.cpp ParseAST.cpp Sema.cpp SemaAccess.cpp \ - SemaAttr.cpp SemaCXXCast.cpp SemaCXXScopeSpec.cpp \ - SemaChecking.cpp SemaCodeComplete.cpp SemaDecl.cpp \ - SemaDeclAttr.cpp SemaDeclCXX.cpp SemaDeclObjC.cpp \ - SemaExceptionSpec.cpp SemaExpr.cpp SemaExprCXX.cpp \ - SemaExprObjC.cpp SemaInit.cpp SemaLookup.cpp \ - SemaObjCProperty.cpp SemaOverload.cpp SemaStmt.cpp \ - SemaTemplate.cpp SemaTemplateDeduction.cpp \ - SemaTemplateInstantiate.cpp SemaTemplateInstantiate.cpp \ - SemaTemplateInstantiateDecl.cpp SemaType.cpp \ +SRCS= AnalysisBasedWarnings.cpp \ + CodeCompleteConsumer.cpp \ + IdentifierResolver.cpp \ + IdentifierResolver.cpp \ + JumpDiagnostics.cpp \ + ParseAST.cpp \ + Sema.cpp \ + SemaAccess.cpp \ + SemaAttr.cpp \ + SemaCXXCast.cpp \ + SemaCXXScopeSpec.cpp \ + SemaChecking.cpp \ + SemaCodeComplete.cpp \ + SemaDecl.cpp \ + SemaDeclAttr.cpp \ + SemaDeclCXX.cpp \ + SemaDeclObjC.cpp \ + SemaExceptionSpec.cpp \ + SemaExpr.cpp \ + SemaExprCXX.cpp \ + SemaExprObjC.cpp \ + SemaInit.cpp \ + SemaLookup.cpp \ + SemaObjCProperty.cpp \ + SemaOverload.cpp \ + SemaStmt.cpp \ + SemaTemplate.cpp \ + SemaTemplateDeduction.cpp \ + SemaTemplateInstantiate.cpp \ + SemaTemplateInstantiate.cpp \ + SemaTemplateInstantiateDecl.cpp \ + SemaType.cpp \ TargetAttributesSema.cpp -TGHDRS= DiagnosticASTKinds DiagnosticCommonKinds DiagnosticParseKinds \ - DiagnosticSemaKinds StmtNodes +TGHDRS= AttrList \ + Attrs \ + DeclNodes \ + DiagnosticASTKinds \ + DiagnosticCommonKinds \ + DiagnosticParseKinds \ + DiagnosticSemaKinds \ + StmtNodes \ + arm_neon .include "../clang.lib.mk" diff --git a/lib/clang/libllvmanalysis/Makefile b/lib/clang/libllvmanalysis/Makefile index 1297cb8..0edabfd 100644 --- a/lib/clang/libllvmanalysis/Makefile +++ b/lib/clang/libllvmanalysis/Makefile @@ -3,22 +3,51 @@ LIB= llvmanalysis SRCDIR= lib/Analysis -SRCS= AliasAnalysis.cpp AliasAnalysisCounter.cpp \ - AliasAnalysisEvaluator.cpp AliasDebugger.cpp \ - AliasSetTracker.cpp Analysis.cpp BasicAliasAnalysis.cpp \ - CFGPrinter.cpp CaptureTracking.cpp ConstantFolding.cpp \ - DbgInfoPrinter.cpp DebugInfo.cpp IVUsers.cpp InlineCost.cpp \ - InstCount.cpp InstructionSimplify.cpp Interval.cpp \ - IntervalPartition.cpp LazyValueInfo.cpp \ - LibCallAliasAnalysis.cpp Lint.cpp LiveValues.cpp \ - LoopDependenceAnalysis.cpp LoopInfo.cpp LoopPass.cpp \ - MemoryBuiltins.cpp MemoryDependenceAnalysis.cpp \ - PHITransAddr.cpp PointerTracking.cpp PostDominators.cpp \ - ProfileEstimatorPass.cpp ProfileInfo.cpp ProfileInfoLoader.cpp \ - ProfileInfoLoaderPass.cpp ProfileVerifierPass.cpp \ - ScalarEvolution.cpp ScalarEvolutionAliasAnalysis.cpp \ - ScalarEvolutionExpander.cpp ScalarEvolutionNormalization.cpp \ - SparsePropagation.cpp ValueTracking.cpp +SRCS= AliasAnalysis.cpp \ + AliasAnalysisCounter.cpp \ + AliasAnalysisEvaluator.cpp \ + AliasDebugger.cpp \ + AliasSetTracker.cpp \ + Analysis.cpp \ + BasicAliasAnalysis.cpp \ + CFGPrinter.cpp \ + CaptureTracking.cpp \ + ConstantFolding.cpp \ + DbgInfoPrinter.cpp \ + DebugInfo.cpp \ + IVUsers.cpp \ + InlineCost.cpp \ + InstCount.cpp \ + InstructionSimplify.cpp \ + Interval.cpp \ + IntervalPartition.cpp \ + LazyValueInfo.cpp \ + LibCallAliasAnalysis.cpp \ + LibCallSemantics.cpp \ + Lint.cpp \ + LiveValues.cpp \ + Loads.cpp \ + LoopDependenceAnalysis.cpp \ + LoopInfo.cpp \ + LoopPass.cpp \ + MemoryBuiltins.cpp \ + MemoryDependenceAnalysis.cpp \ + ModuleDebugInfoPrinter.cpp \ + PHITransAddr.cpp \ + PointerTracking.cpp \ + PostDominators.cpp \ + ProfileEstimatorPass.cpp \ + ProfileInfo.cpp \ + ProfileInfoLoader.cpp \ + ProfileInfoLoaderPass.cpp \ + ProfileVerifierPass.cpp \ + ScalarEvolution.cpp \ + ScalarEvolutionAliasAnalysis.cpp \ + ScalarEvolutionExpander.cpp \ + ScalarEvolutionNormalization.cpp \ + SparsePropagation.cpp \ + Trace.cpp \ + ValueTracking.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmarmasmparser/Makefile b/lib/clang/libllvmarmasmparser/Makefile index 205ff38..272d955 100644 --- a/lib/clang/libllvmarmasmparser/Makefile +++ b/lib/clang/libllvmarmasmparser/Makefile @@ -4,8 +4,11 @@ LIB= llvmarmasmparser SRCDIR= lib/Target/ARM/AsmParser INCDIR= lib/Target/ARM -SRCS= ARMAsmParser.cpp ARMAsmLexer.cpp +SRCS= ARMAsmParser.cpp \ + ARMAsmLexer.cpp -TGHDRS= ARMGenRegisterInfo.h ARMGenRegisterNames ARMGenInstrNames +TGHDRS= ARMGenInstrNames \ + ARMGenRegisterInfo.h \ + ARMGenRegisterNames .include "../clang.lib.mk" diff --git a/lib/clang/libllvmarmasmprinter/Makefile b/lib/clang/libllvmarmasmprinter/Makefile index b986b88..1566ea5 100644 --- a/lib/clang/libllvmarmasmprinter/Makefile +++ b/lib/clang/libllvmarmasmprinter/Makefile @@ -4,9 +4,13 @@ LIB= llvmarmasmprinter SRCDIR= lib/Target/ARM/AsmPrinter INCDIR= lib/Target/ARM -SRCS= ARMAsmPrinter.cpp ARMInstPrinter.cpp ARMMCInstLower.cpp +SRCS= ARMAsmPrinter.cpp \ + ARMInstPrinter.cpp \ + ARMMCInstLower.cpp -TGHDRS= ARMGenAsmWriter ARMGenInstrNames ARMGenRegisterInfo.h \ +TGHDRS= ARMGenAsmWriter \ + ARMGenInstrNames \ + ARMGenRegisterInfo.h \ ARMGenRegisterNames .include "../clang.lib.mk" diff --git a/lib/clang/libllvmarmcodegen/Makefile b/lib/clang/libllvmarmcodegen/Makefile index 2e09d4b..de34461 100644 --- a/lib/clang/libllvmarmcodegen/Makefile +++ b/lib/clang/libllvmarmcodegen/Makefile @@ -3,21 +3,43 @@ LIB= llvmarmcodegen SRCDIR= lib/Target/ARM -SRCS= ARMBaseInstrInfo.cpp ARMBaseRegisterInfo.cpp \ - ARMCodeEmitter.cpp ARMConstantIslandPass.cpp \ - ARMConstantPoolValue.cpp ARMExpandPseudoInsts.cpp \ - ARMISelDAGToDAG.cpp ARMISelLowering.cpp ARMInstrInfo.cpp \ - ARMJITInfo.cpp ARMLoadStoreOptimizer.cpp \ - ARMLoadStoreOptimizer.cpp ARMMCAsmInfo.cpp ARMRegisterInfo.cpp \ - ARMSelectionDAGInfo.cpp ARMSubtarget.cpp ARMTargetMachine.cpp \ - ARMTargetObjectFile.cpp NEONMoveFix.cpp NEONPreAllocPass.cpp \ - Thumb1InstrInfo.cpp Thumb1RegisterInfo.cpp \ - Thumb2ITBlockPass.cpp Thumb2InstrInfo.cpp \ - Thumb2RegisterInfo.cpp Thumb2SizeReduction.cpp +SRCS= ARMBaseInstrInfo.cpp \ + ARMBaseRegisterInfo.cpp \ + ARMCodeEmitter.cpp \ + ARMConstantIslandPass.cpp \ + ARMConstantPoolValue.cpp \ + ARMExpandPseudoInsts.cpp \ + ARMISelDAGToDAG.cpp \ + ARMISelLowering.cpp \ + ARMInstrInfo.cpp \ + ARMJITInfo.cpp \ + ARMLoadStoreOptimizer.cpp \ + ARMLoadStoreOptimizer.cpp \ + ARMMCAsmInfo.cpp \ + ARMRegisterInfo.cpp \ + ARMSelectionDAGInfo.cpp \ + ARMSubtarget.cpp \ + ARMTargetMachine.cpp \ + ARMTargetObjectFile.cpp \ + NEONMoveFix.cpp \ + NEONPreAllocPass.cpp \ + Thumb1InstrInfo.cpp \ + Thumb1RegisterInfo.cpp \ + Thumb2HazardRecognizer.cpp \ + Thumb2ITBlockPass.cpp \ + Thumb2InstrInfo.cpp \ + Thumb2RegisterInfo.cpp \ + Thumb2SizeReduction.cpp -TGHDRS= ARMGenCallingConv ARMGenCodeEmitter ARMGenDAGISel \ - ARMGenInstrInfo ARMGenInstrNames ARMGenRegisterInfo.h \ - ARMGenRegisterInfo ARMGenRegisterNames ARMGenSubtarget \ +TGHDRS= ARMGenCallingConv \ + ARMGenCodeEmitter \ + ARMGenDAGISel \ + ARMGenInstrInfo \ + ARMGenInstrNames \ + ARMGenRegisterInfo.h \ + ARMGenRegisterInfo \ + ARMGenRegisterNames \ + ARMGenSubtarget \ Intrinsics .include "../clang.lib.mk" diff --git a/lib/clang/libllvmarminfo/Makefile b/lib/clang/libllvmarminfo/Makefile index d087bbb..440b244 100644 --- a/lib/clang/libllvmarminfo/Makefile +++ b/lib/clang/libllvmarminfo/Makefile @@ -6,6 +6,7 @@ SRCDIR= lib/Target/ARM/TargetInfo/ INCDIR= lib/Target/ARM SRCS= ARMTargetInfo.cpp -TGHDRS= ARMGenRegisterNames ARMGenInstrNames +TGHDRS= ARMGenInstrNames \ + ARMGenRegisterNames .include "../clang.lib.mk" diff --git a/lib/clang/libllvmasmparser/Makefile b/lib/clang/libllvmasmparser/Makefile new file mode 100644 index 0000000..8ceba69 --- /dev/null +++ b/lib/clang/libllvmasmparser/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +LIB= llvmasmparser + +SRCDIR= lib/AsmParser +SRCS= LLLexer.cpp \ + LLParser.cpp \ + Parser.cpp + +.include "../clang.lib.mk" diff --git a/lib/clang/libllvmasmprinter/Makefile b/lib/clang/libllvmasmprinter/Makefile index 70f13f6..37cceec 100644 --- a/lib/clang/libllvmasmprinter/Makefile +++ b/lib/clang/libllvmasmprinter/Makefile @@ -3,7 +3,12 @@ LIB= llvmasmprinter SRCDIR= lib/CodeGen/AsmPrinter -SRCS= AsmPrinter.cpp AsmPrinterDwarf.cpp AsmPrinterInlineAsm.cpp \ - DIE.cpp DwarfDebug.cpp DwarfException.cpp OcamlGCPrinter.cpp +SRCS= AsmPrinter.cpp \ + AsmPrinterDwarf.cpp \ + AsmPrinterInlineAsm.cpp \ + DIE.cpp \ + DwarfDebug.cpp \ + DwarfException.cpp \ + OcamlGCPrinter.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmbitreader/Makefile b/lib/clang/libllvmbitreader/Makefile index b955f0c..6162801 100644 --- a/lib/clang/libllvmbitreader/Makefile +++ b/lib/clang/libllvmbitreader/Makefile @@ -3,7 +3,8 @@ LIB= llvmbitreader SRCDIR= lib/Bitcode/Reader -SRCS= BitcodeReader.cpp +SRCS= BitReader.cpp \ + BitcodeReader.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmbitwriter/Makefile b/lib/clang/libllvmbitwriter/Makefile index fbfa453..5e64bdb 100644 --- a/lib/clang/libllvmbitwriter/Makefile +++ b/lib/clang/libllvmbitwriter/Makefile @@ -3,7 +3,9 @@ LIB= llvmbitwriter SRCDIR= lib/Bitcode/Writer -SRCS= BitcodeWriter.cpp BitcodeWriterPass.cpp \ +SRCS= BitWriter.cpp \ + BitcodeWriter.cpp \ + BitcodeWriterPass.cpp \ ValueEnumerator.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmcodegen/Makefile b/lib/clang/libllvmcodegen/Makefile index e233226..caed836 100644 --- a/lib/clang/libllvmcodegen/Makefile +++ b/lib/clang/libllvmcodegen/Makefile @@ -3,36 +3,84 @@ LIB= llvmcodegen SRCDIR= lib/CodeGen -SRCS= AggressiveAntiDepBreaker.cpp Analysis.cpp BranchFolding.cpp \ - CalcSpillWeights.cpp CodePlacementOpt.cpp \ - CriticalAntiDepBreaker.cpp DeadMachineInstructionElim.cpp \ - DwarfEHPrepare.cpp ELFCodeEmitter.cpp ELFWriter.cpp \ - ExactHazardRecognizer.cpp GCMetadata.cpp GCStrategy.cpp \ - IfConversion.cpp IntrinsicLowering.cpp LLVMTargetMachine.cpp \ - LatencyPriorityQueue.cpp LiveInterval.cpp \ - LiveIntervalAnalysis.cpp LiveStackAnalysis.cpp \ - LiveVariables.cpp LowerSubregs.cpp MachineBasicBlock.cpp \ - MachineCSE.cpp MachineDominators.cpp MachineFunction.cpp \ - MachineFunctionAnalysis.cpp MachineFunctionPass.cpp \ - MachineFunctionPrinterPass.cpp MachineInstr.cpp \ - MachineLICM.cpp MachineLoopInfo.cpp MachineModuleInfo.cpp \ - MachineModuleInfoImpls.cpp MachinePassRegistry.cpp \ - MachineRegisterInfo.cpp MachineSSAUpdater.cpp MachineSink.cpp \ - MachineVerifier.cpp ObjectCodeEmitter.cpp OcamlGC.cpp \ - OptimizeExts.cpp OptimizePHIs.cpp PHIElimination.cpp \ - Passes.cpp PostRASchedulerList.cpp PreAllocSplitting.cpp \ - ProcessImplicitDefs.cpp PrologEpilogInserter.cpp \ - PseudoSourceValue.cpp RegAllocFast.cpp RegAllocLinearScan.cpp \ - RegAllocLocal.cpp RegAllocPBQP.cpp RegisterCoalescer.cpp \ - RegisterScavenging.cpp ScheduleDAG.cpp ScheduleDAGEmit.cpp \ - ScheduleDAGInstrs.cpp ScheduleDAGPrinter.cpp ShadowStackGC.cpp \ - ShrinkWrapping.cpp SimpleRegisterCoalescing.cpp \ - SjLjEHPrepare.cpp SlotIndexes.cpp Spiller.cpp \ - StackProtector.cpp StackSlotColoring.cpp \ - StrongPHIElimination.cpp TailDuplication.cpp \ - TargetInstrInfoImpl.cpp TargetLoweringObjectFileImpl.cpp \ - TwoAddressInstructionPass.cpp UnreachableBlockElim.cpp \ - VirtRegMap.cpp VirtRegRewriter.cpp +SRCS= AggressiveAntiDepBreaker.cpp \ + Analysis.cpp \ + BranchFolding.cpp \ + CalcSpillWeights.cpp \ + CallingConvLower.cpp \ + CodePlacementOpt.cpp \ + CriticalAntiDepBreaker.cpp \ + DeadMachineInstructionElim.cpp \ + DwarfEHPrepare.cpp \ + ELFCodeEmitter.cpp \ + ELFWriter.cpp \ + GCMetadata.cpp \ + GCMetadataPrinter.cpp \ + GCStrategy.cpp \ + IfConversion.cpp \ + InlineSpiller.cpp \ + IntrinsicLowering.cpp \ + LLVMTargetMachine.cpp \ + LatencyPriorityQueue.cpp \ + LiveInterval.cpp \ + LiveIntervalAnalysis.cpp \ + LiveStackAnalysis.cpp \ + LiveVariables.cpp \ + LowerSubregs.cpp \ + MachineBasicBlock.cpp \ + MachineCSE.cpp \ + MachineDominators.cpp \ + MachineFunction.cpp \ + MachineFunctionAnalysis.cpp \ + MachineFunctionPass.cpp \ + MachineFunctionPrinterPass.cpp \ + MachineInstr.cpp \ + MachineLICM.cpp \ + MachineLoopInfo.cpp \ + MachineModuleInfo.cpp \ + MachineModuleInfoImpls.cpp \ + MachinePassRegistry.cpp \ + MachineRegisterInfo.cpp \ + MachineSSAUpdater.cpp \ + MachineSink.cpp \ + MachineVerifier.cpp \ + ObjectCodeEmitter.cpp \ + OcamlGC.cpp \ + OptimizeExts.cpp \ + OptimizePHIs.cpp \ + PHIElimination.cpp \ + Passes.cpp \ + PostRAHazardRecognizer.cpp \ + PostRASchedulerList.cpp \ + PreAllocSplitting.cpp \ + ProcessImplicitDefs.cpp \ + PrologEpilogInserter.cpp \ + PseudoSourceValue.cpp \ + RegAllocFast.cpp \ + RegAllocLinearScan.cpp \ + RegAllocPBQP.cpp \ + RegisterCoalescer.cpp \ + RegisterScavenging.cpp \ + ScheduleDAG.cpp \ + ScheduleDAGEmit.cpp \ + ScheduleDAGInstrs.cpp \ + ScheduleDAGPrinter.cpp \ + ShadowStackGC.cpp \ + ShrinkWrapping.cpp \ + SimpleRegisterCoalescing.cpp \ + SjLjEHPrepare.cpp \ + SlotIndexes.cpp \ + Spiller.cpp \ + StackProtector.cpp \ + StackSlotColoring.cpp \ + StrongPHIElimination.cpp \ + TailDuplication.cpp \ + TargetInstrInfoImpl.cpp \ + TargetLoweringObjectFileImpl.cpp \ + TwoAddressInstructionPass.cpp \ + UnreachableBlockElim.cpp \ + VirtRegMap.cpp \ + VirtRegRewriter.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmcore/Makefile b/lib/clang/libllvmcore/Makefile index c8de7bb..1215f4e 100644 --- a/lib/clang/libllvmcore/Makefile +++ b/lib/clang/libllvmcore/Makefile @@ -3,15 +3,38 @@ LIB= llvmcore SRCDIR= lib/VMCore -SRCS= AsmWriter.cpp Attributes.cpp AutoUpgrade.cpp BasicBlock.cpp \ - ConstantFold.cpp Constants.cpp Core.cpp DebugLoc.cpp \ - Dominators.cpp Function.cpp Globals.cpp IRBuilder.cpp \ - InlineAsm.cpp Instruction.cpp Instructions.cpp \ - IntrinsicInst.cpp LLVMContext.cpp LLVMContextImpl.cpp \ - LeakDetector.cpp Metadata.cpp Module.cpp Pass.cpp \ - PassManager.cpp PrintModulePass.cpp Type.cpp \ - TypeSymbolTable.cpp Use.cpp Value.cpp ValueSymbolTable.cpp \ - ValueTypes.cpp Verifier.cpp +SRCS= AsmWriter.cpp \ + Attributes.cpp \ + AutoUpgrade.cpp \ + BasicBlock.cpp \ + ConstantFold.cpp \ + Constants.cpp \ + Core.cpp \ + DebugLoc.cpp \ + Dominators.cpp \ + Function.cpp \ + GVMaterializer.cpp \ + Globals.cpp \ + IRBuilder.cpp \ + InlineAsm.cpp \ + Instruction.cpp \ + Instructions.cpp \ + IntrinsicInst.cpp \ + LLVMContext.cpp \ + LLVMContextImpl.cpp \ + LeakDetector.cpp \ + Metadata.cpp \ + Module.cpp \ + Pass.cpp \ + PassManager.cpp \ + PrintModulePass.cpp \ + Type.cpp \ + TypeSymbolTable.cpp \ + Use.cpp \ + Value.cpp \ + ValueSymbolTable.cpp \ + ValueTypes.cpp \ + Verifier.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvminstcombine/Makefile b/lib/clang/libllvminstcombine/Makefile index 48ccc05..9f3a602 100644 --- a/lib/clang/libllvminstcombine/Makefile +++ b/lib/clang/libllvminstcombine/Makefile @@ -3,12 +3,18 @@ LIB= llvminstcombine SRCDIR= lib/Transforms/InstCombine -SRCS= InstCombineAddSub.cpp InstCombineAndOrXor.cpp \ - InstCombineCalls.cpp InstCombineCasts.cpp \ - InstCombineCompares.cpp InstCombineLoadStoreAlloca.cpp \ - InstCombineMulDivRem.cpp InstCombinePHI.cpp \ - InstCombineSelect.cpp InstCombineShifts.cpp \ - InstCombineSimplifyDemanded.cpp InstCombineVectorOps.cpp \ +SRCS= InstCombineAddSub.cpp \ + InstCombineAndOrXor.cpp \ + InstCombineCalls.cpp \ + InstCombineCasts.cpp \ + InstCombineCompares.cpp \ + InstCombineLoadStoreAlloca.cpp \ + InstCombineMulDivRem.cpp \ + InstCombinePHI.cpp \ + InstCombineSelect.cpp \ + InstCombineShifts.cpp \ + InstCombineSimplifyDemanded.cpp \ + InstCombineVectorOps.cpp \ InstructionCombining.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmipa/Makefile b/lib/clang/libllvmipa/Makefile index fa2a1f4..fc241df 100644 --- a/lib/clang/libllvmipa/Makefile +++ b/lib/clang/libllvmipa/Makefile @@ -3,7 +3,9 @@ LIB= llvmipa SRCDIR= lib/Analysis/IPA -SRCS= CallGraph.cpp CallGraphSCCPass.cpp FindUsedTypes.cpp \ +SRCS= CallGraph.cpp \ + CallGraphSCCPass.cpp \ + FindUsedTypes.cpp \ GlobalsModRef.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmipo/Makefile b/lib/clang/libllvmipo/Makefile index defcec8..24dc9ba 100644 --- a/lib/clang/libllvmipo/Makefile +++ b/lib/clang/libllvmipo/Makefile @@ -3,13 +3,28 @@ LIB= llvmipo SRCDIR= lib/Transforms/IPO -SRCS= ArgumentPromotion.cpp ConstantMerge.cpp \ - DeadArgumentElimination.cpp DeadTypeElimination.cpp \ - ExtractGV.cpp FunctionAttrs.cpp GlobalDCE.cpp GlobalOpt.cpp \ - IPConstantPropagation.cpp InlineAlways.cpp InlineSimple.cpp \ - Inliner.cpp Internalize.cpp LoopExtractor.cpp LowerSetJmp.cpp \ - MergeFunctions.cpp PartialSpecialization.cpp PruneEH.cpp \ - StripDeadPrototypes.cpp StripSymbols.cpp StructRetPromotion.cpp +SRCS= ArgumentPromotion.cpp \ + ConstantMerge.cpp \ + DeadArgumentElimination.cpp \ + DeadTypeElimination.cpp \ + ExtractGV.cpp \ + FunctionAttrs.cpp \ + GlobalDCE.cpp \ + GlobalOpt.cpp \ + IPConstantPropagation.cpp \ + IPO.cpp \ + InlineAlways.cpp \ + InlineSimple.cpp \ + Inliner.cpp \ + Internalize.cpp \ + LoopExtractor.cpp \ + LowerSetJmp.cpp \ + MergeFunctions.cpp \ + PartialSpecialization.cpp \ + PruneEH.cpp \ + StripDeadPrototypes.cpp \ + StripSymbols.cpp \ + StructRetPromotion.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmmc/Makefile b/lib/clang/libllvmmc/Makefile index 84d29c8..92ce186 100644 --- a/lib/clang/libllvmmc/Makefile +++ b/lib/clang/libllvmmc/Makefile @@ -3,12 +3,33 @@ LIB= llvmmc SRCDIR= lib/MC -SRCS= MCAsmInfo.cpp MCAsmInfoCOFF.cpp MCAsmInfoDarwin.cpp \ - MCAsmStreamer.cpp MCAssembler.cpp MCCodeEmitter.cpp \ - MCContext.cpp MCExpr.cpp MCInst.cpp MCInstPrinter.cpp \ - MCLoggingStreamer.cpp MCMachOStreamer.cpp MCNullStreamer.cpp \ - MCObjectWriter.cpp MCSection.cpp MCSectionCOFF.cpp \ - MCSectionELF.cpp MCSectionMachO.cpp MCStreamer.cpp \ - MCSymbol.cpp MachObjectWriter.cpp TargetAsmBackend.cpp +SRCS= MCAsmInfo.cpp \ + MCAsmInfoCOFF.cpp \ + MCAsmInfoDarwin.cpp \ + MCAsmStreamer.cpp \ + MCAssembler.cpp \ + MCCodeEmitter.cpp \ + MCContext.cpp \ + MCDisassembler.cpp \ + MCExpr.cpp \ + MCInst.cpp \ + MCInstPrinter.cpp \ + MCLabel.cpp \ + MCLoggingStreamer.cpp \ + MCMachOStreamer.cpp \ + MCNullStreamer.cpp \ + MCObjectStreamer.cpp \ + MCObjectWriter.cpp \ + MCSection.cpp \ + MCSectionCOFF.cpp \ + MCSectionELF.cpp \ + MCSectionMachO.cpp \ + MCStreamer.cpp \ + MCSymbol.cpp \ + MCValue.cpp \ + MachObjectWriter.cpp \ + TargetAsmBackend.cpp \ + WinCOFFObjectWriter.cpp \ + WinCOFFStreamer.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmmcparser/Makefile b/lib/clang/libllvmmcparser/Makefile index df93925..9354af5 100644 --- a/lib/clang/libllvmmcparser/Makefile +++ b/lib/clang/libllvmmcparser/Makefile @@ -3,7 +3,13 @@ LIB= llvmmcparser SRCDIR= lib/MC/MCParser -SRCS= AsmLexer.cpp AsmParser.cpp MCAsmLexer.cpp MCAsmParser.cpp \ +SRCS= AsmLexer.cpp \ + AsmParser.cpp \ + DarwinAsmParser.cpp \ + ELFAsmParser.cpp \ + MCAsmLexer.cpp \ + MCAsmParser.cpp \ + MCAsmParserExtension.cpp \ TargetAsmParser.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmmipsasmprinter/Makefile b/lib/clang/libllvmmipsasmprinter/Makefile index 2ee9c8e..6c21785 100644 --- a/lib/clang/libllvmmipsasmprinter/Makefile +++ b/lib/clang/libllvmmipsasmprinter/Makefile @@ -6,7 +6,9 @@ SRCDIR= lib/Target/Mips/AsmPrinter INCDIR= lib/Target/Mips SRCS= MipsAsmPrinter.cpp -TGHDRS= MipsGenAsmWriter MipsGenInstrNames MipsGenRegisterInfo.h \ +TGHDRS= MipsGenAsmWriter \ + MipsGenInstrNames \ + MipsGenRegisterInfo.h \ MipsGenRegisterNames .include "../clang.lib.mk" diff --git a/lib/clang/libllvmmipscodegen/Makefile b/lib/clang/libllvmmipscodegen/Makefile index 8d16aa9..d9b280f 100644 --- a/lib/clang/libllvmmipscodegen/Makefile +++ b/lib/clang/libllvmmipscodegen/Makefile @@ -3,13 +3,26 @@ LIB= llvmmipscodegen SRCDIR= lib/Target/Mips -SRCS= MipsDelaySlotFiller.cpp MipsISelDAGToDAG.cpp \ - MipsISelLowering.cpp MipsInstrInfo.cpp MipsMCAsmInfo.cpp \ - MipsRegisterInfo.cpp MipsSelectionDAGInfo.cpp MipsSubtarget.cpp \ - MipsTargetMachine.cpp MipsTargetObjectFile.cpp - -TGHDRS= Intrinsics MipsGenAsmWriter MipsGenCallingConv MipsGenDAGISel \ - MipsGenInstrInfo MipsGenInstrNames MipsGenRegisterInfo.h \ - MipsGenRegisterInfo MipsGenRegisterNames MipsGenSubtarget +SRCS= MipsDelaySlotFiller.cpp \ + MipsISelDAGToDAG.cpp \ + MipsISelLowering.cpp \ + MipsInstrInfo.cpp \ + MipsMCAsmInfo.cpp \ + MipsRegisterInfo.cpp \ + MipsSelectionDAGInfo.cpp \ + MipsSubtarget.cpp \ + MipsTargetMachine.cpp \ + MipsTargetObjectFile.cpp + +TGHDRS= Intrinsics \ + MipsGenAsmWriter \ + MipsGenCallingConv \ + MipsGenDAGISel \ + MipsGenInstrInfo \ + MipsGenInstrNames \ + MipsGenRegisterInfo.h \ + MipsGenRegisterInfo \ + MipsGenRegisterNames \ + MipsGenSubtarget .include "../clang.lib.mk" diff --git a/lib/clang/libllvmmipsinfo/Makefile b/lib/clang/libllvmmipsinfo/Makefile index 7a8a5eb..127c30c 100644 --- a/lib/clang/libllvmmipsinfo/Makefile +++ b/lib/clang/libllvmmipsinfo/Makefile @@ -6,6 +6,7 @@ SRCDIR= lib/Target/Mips/TargetInfo/ INCDIR= lib/Target/Mips SRCS= MipsTargetInfo.cpp -TGHDRS= MipsGenRegisterNames MipsGenInstrNames +TGHDRS= MipsGenRegisterNames \ + MipsGenInstrNames .include "../clang.lib.mk" diff --git a/lib/clang/libllvmpowerpcasmprinter/Makefile b/lib/clang/libllvmpowerpcasmprinter/Makefile index 8b8eb2a..15559b3 100644 --- a/lib/clang/libllvmpowerpcasmprinter/Makefile +++ b/lib/clang/libllvmpowerpcasmprinter/Makefile @@ -6,7 +6,9 @@ SRCDIR= lib/Target/PowerPC/AsmPrinter INCDIR= lib/Target/PowerPC SRCS= PPCAsmPrinter.cpp -TGHDRS= PPCGenAsmWriter PPCGenInstrNames PPCGenRegisterInfo.h \ +TGHDRS= PPCGenAsmWriter \ + PPCGenInstrNames \ + PPCGenRegisterInfo.h \ PPCGenRegisterNames .include "../clang.lib.mk" diff --git a/lib/clang/libllvmpowerpccodegen/Makefile b/lib/clang/libllvmpowerpccodegen/Makefile index 5248681..4c66f82 100644 --- a/lib/clang/libllvmpowerpccodegen/Makefile +++ b/lib/clang/libllvmpowerpccodegen/Makefile @@ -3,14 +3,29 @@ LIB= llvmpowerpccodegen SRCDIR= lib/Target/PowerPC -SRCS= PPCBranchSelector.cpp PPCCodeEmitter.cpp \ - PPCHazardRecognizers.cpp PPCISelDAGToDAG.cpp \ - PPCISelLowering.cpp PPCInstrInfo.cpp PPCJITInfo.cpp \ - PPCMCAsmInfo.cpp PPCPredicates.cpp PPCRegisterInfo.cpp \ - PPCSelectionDAGInfo.cpp PPCSubtarget.cpp PPCTargetMachine.cpp +SRCS= PPCBranchSelector.cpp \ + PPCCodeEmitter.cpp \ + PPCHazardRecognizers.cpp \ + PPCISelDAGToDAG.cpp \ + PPCISelLowering.cpp \ + PPCInstrInfo.cpp \ + PPCJITInfo.cpp \ + PPCMCAsmInfo.cpp \ + PPCPredicates.cpp \ + PPCRegisterInfo.cpp \ + PPCSelectionDAGInfo.cpp \ + PPCSubtarget.cpp \ + PPCTargetMachine.cpp -TGHDRS= Intrinsics PPCGenCallingConv PPCGenCodeEmitter PPCGenDAGISel \ - PPCGenInstrInfo PPCGenInstrNames PPCGenRegisterInfo.h \ - PPCGenRegisterInfo PPCGenRegisterNames PPCGenSubtarget +TGHDRS= Intrinsics \ + PPCGenCallingConv \ + PPCGenCodeEmitter \ + PPCGenDAGISel \ + PPCGenInstrInfo \ + PPCGenInstrNames \ + PPCGenRegisterInfo.h \ + PPCGenRegisterInfo \ + PPCGenRegisterNames \ + PPCGenSubtarget .include "../clang.lib.mk" diff --git a/lib/clang/libllvmpowerpcinfo/Makefile b/lib/clang/libllvmpowerpcinfo/Makefile index 19ceb45..08c91e0 100644 --- a/lib/clang/libllvmpowerpcinfo/Makefile +++ b/lib/clang/libllvmpowerpcinfo/Makefile @@ -6,6 +6,7 @@ SRCDIR= lib/Target/PowerPC/TargetInfo/ INCDIR= lib/Target/PowerPC SRCS= PowerPCTargetInfo.cpp -TGHDRS= PPCGenRegisterNames PPCGenInstrNames +TGHDRS= PPCGenRegisterNames \ + PPCGenInstrNames .include "../clang.lib.mk" diff --git a/lib/clang/libllvmscalaropts/Makefile b/lib/clang/libllvmscalaropts/Makefile index 5d181cb..aee5d3e 100644 --- a/lib/clang/libllvmscalaropts/Makefile +++ b/lib/clang/libllvmscalaropts/Makefile @@ -3,15 +3,35 @@ LIB= llvmscalaropts SRCDIR= lib/Transforms/Scalar -SRCS= ADCE.cpp BasicBlockPlacement.cpp CodeGenPrepare.cpp \ - ConstantProp.cpp DCE.cpp DeadStoreElimination.cpp \ - GEPSplitter.cpp GVN.cpp IndVarSimplify.cpp JumpThreading.cpp \ - LICM.cpp LoopDeletion.cpp LoopIndexSplit.cpp LoopRotation.cpp \ - LoopStrengthReduce.cpp LoopUnrollPass.cpp LoopUnswitch.cpp \ - MemCpyOptimizer.cpp Reassociate.cpp Reg2Mem.cpp SCCP.cpp \ - ScalarReplAggregates.cpp SimplifyCFGPass.cpp \ - SimplifyHalfPowrLibCalls.cpp SimplifyLibCalls.cpp \ - TailDuplication.cpp TailRecursionElimination.cpp +SRCS= ADCE.cpp \ + BasicBlockPlacement.cpp \ + CodeGenPrepare.cpp \ + ConstantProp.cpp \ + DCE.cpp \ + DeadStoreElimination.cpp \ + GEPSplitter.cpp \ + GVN.cpp \ + IndVarSimplify.cpp \ + JumpThreading.cpp \ + LICM.cpp \ + LoopDeletion.cpp \ + LoopIndexSplit.cpp \ + LoopRotation.cpp \ + LoopStrengthReduce.cpp \ + LoopUnrollPass.cpp \ + LoopUnswitch.cpp \ + MemCpyOptimizer.cpp \ + Reassociate.cpp \ + Reg2Mem.cpp \ + SCCP.cpp \ + Scalar.cpp \ + ScalarReplAggregates.cpp \ + SimplifyCFGPass.cpp \ + Sink.cpp \ + SimplifyHalfPowrLibCalls.cpp \ + SimplifyLibCalls.cpp \ + TailDuplication.cpp \ + TailRecursionElimination.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmselectiondag/Makefile b/lib/clang/libllvmselectiondag/Makefile index ad9e5dc..6c508c1 100644 --- a/lib/clang/libllvmselectiondag/Makefile +++ b/lib/clang/libllvmselectiondag/Makefile @@ -3,13 +3,26 @@ LIB= llvmselectiondag SRCDIR= lib/CodeGen/SelectionDAG -SRCS= CallingConvLower.cpp DAGCombiner.cpp FastISel.cpp \ - FunctionLoweringInfo.cpp InstrEmitter.cpp LegalizeDAG.cpp \ - LegalizeFloatTypes.cpp LegalizeIntegerTypes.cpp LegalizeTypes.cpp \ - LegalizeTypesGeneric.cpp LegalizeVectorOps.cpp LegalizeVectorTypes.cpp \ - ScheduleDAGFast.cpp ScheduleDAGList.cpp ScheduleDAGRRList.cpp \ - ScheduleDAGSDNodes.cpp SelectionDAG.cpp SelectionDAGBuilder.cpp \ - SelectionDAGISel.cpp SelectionDAGPrinter.cpp TargetLowering.cpp \ +SRCS= DAGCombiner.cpp \ + FastISel.cpp \ + FunctionLoweringInfo.cpp \ + InstrEmitter.cpp \ + LegalizeDAG.cpp \ + LegalizeFloatTypes.cpp \ + LegalizeIntegerTypes.cpp \ + LegalizeTypes.cpp \ + LegalizeTypesGeneric.cpp \ + LegalizeVectorOps.cpp \ + LegalizeVectorTypes.cpp \ + ScheduleDAGFast.cpp \ + ScheduleDAGList.cpp \ + ScheduleDAGRRList.cpp \ + ScheduleDAGSDNodes.cpp \ + SelectionDAG.cpp \ + SelectionDAGBuilder.cpp \ + SelectionDAGISel.cpp \ + SelectionDAGPrinter.cpp \ + TargetLowering.cpp \ TargetSelectionDAGInfo.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile index ee3ec76..3a96db2 100644 --- a/lib/clang/libllvmsupport/Makefile +++ b/lib/clang/libllvmsupport/Makefile @@ -3,16 +3,50 @@ LIB= llvmsupport SRCDIR= lib/Support -SRCS= APFloat.cpp APInt.cpp APSInt.cpp Allocator.cpp CommandLine.cpp \ - ConstantRange.cpp Debug.cpp DeltaAlgorithm.cpp Dwarf.cpp \ - ErrorHandling.cpp FileUtilities.cpp FoldingSet.cpp \ - FormattedStream.cpp GraphWriter.cpp ManagedStatic.cpp \ - MemoryBuffer.cpp PluginLoader.cpp PrettyStackTrace.cpp \ - Regex.cpp SlowOperationInformer.cpp SmallPtrSet.cpp \ - SmallVector.cpp SourceMgr.cpp Statistic.cpp StringExtras.cpp \ - StringMap.cpp StringPool.cpp StringRef.cpp TargetRegistry.cpp \ - Timer.cpp Triple.cpp Twine.cpp circular_raw_ostream.cpp \ - raw_os_ostream.cpp raw_ostream.cpp regcomp.c regerror.c \ - regexec.c regfree.c regstrlcpy.c +SRCS= APFloat.cpp \ + APInt.cpp \ + APSInt.cpp \ + Allocator.cpp \ + CommandLine.cpp \ + ConstantRange.cpp \ + DAGDeltaAlgorithm.cpp \ + Debug.cpp \ + DeltaAlgorithm.cpp \ + Dwarf.cpp \ + ErrorHandling.cpp \ + FileUtilities.cpp \ + FoldingSet.cpp \ + FormattedStream.cpp \ + GraphWriter.cpp \ + IsInf.cpp \ + IsNAN.cpp \ + ManagedStatic.cpp \ + MemoryBuffer.cpp \ + MemoryObject.cpp \ + PluginLoader.cpp \ + PrettyStackTrace.cpp \ + Regex.cpp \ + SlowOperationInformer.cpp \ + SmallPtrSet.cpp \ + SmallVector.cpp \ + SourceMgr.cpp \ + Statistic.cpp \ + StringExtras.cpp \ + StringMap.cpp \ + StringPool.cpp \ + StringRef.cpp \ + SystemUtils.cpp \ + TargetRegistry.cpp \ + Timer.cpp \ + Triple.cpp \ + Twine.cpp \ + circular_raw_ostream.cpp \ + raw_os_ostream.cpp \ + raw_ostream.cpp \ + regcomp.c \ + regerror.c \ + regexec.c \ + regfree.c \ + regstrlcpy.c .include "../clang.lib.mk" diff --git a/lib/clang/libllvmsystem/Makefile b/lib/clang/libllvmsystem/Makefile index 6274a4d..ae8cdc9 100644 --- a/lib/clang/libllvmsystem/Makefile +++ b/lib/clang/libllvmsystem/Makefile @@ -3,9 +3,24 @@ LIB= llvmsystem SRCDIR= lib/System -SRCS= Atomic.cpp DynamicLibrary.cpp Errno.cpp Host.cpp Memory.cpp \ - Mutex.cpp Path.cpp Process.cpp Program.cpp RWMutex.cpp \ - SearchForAddressOfSpecialSymbol.cpp Signals.cpp \ - ThreadLocal.cpp Threading.cpp TimeValue.cpp Valgrind.cpp +SRCS= Alarm.cpp \ + Atomic.cpp \ + Disassembler.cpp \ + DynamicLibrary.cpp \ + Errno.cpp \ + Host.cpp \ + IncludeFile.cpp \ + Memory.cpp \ + Mutex.cpp \ + Path.cpp \ + Process.cpp \ + Program.cpp \ + RWMutex.cpp \ + SearchForAddressOfSpecialSymbol.cpp \ + Signals.cpp \ + ThreadLocal.cpp \ + Threading.cpp \ + TimeValue.cpp \ + Valgrind.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmtarget/Makefile b/lib/clang/libllvmtarget/Makefile index d468331..de00bc6 100644 --- a/lib/clang/libllvmtarget/Makefile +++ b/lib/clang/libllvmtarget/Makefile @@ -3,9 +3,18 @@ LIB= llvmtarget SRCDIR= lib/Target -SRCS= Mangler.cpp SubtargetFeature.cpp Target.cpp TargetAsmLexer.cpp \ - TargetData.cpp TargetELFWriterInfo.cpp TargetFrameInfo.cpp \ - TargetInstrInfo.cpp TargetLoweringObjectFile.cpp \ - TargetMachine.cpp TargetRegisterInfo.cpp TargetSubtarget.cpp +SRCS= Mangler.cpp \ + SubtargetFeature.cpp \ + Target.cpp \ + TargetAsmLexer.cpp \ + TargetData.cpp \ + TargetELFWriterInfo.cpp \ + TargetFrameInfo.cpp \ + TargetInstrInfo.cpp \ + TargetIntrinsicInfo.cpp \ + TargetLoweringObjectFile.cpp \ + TargetMachine.cpp \ + TargetRegisterInfo.cpp \ + TargetSubtarget.cpp .include "../clang.lib.mk" diff --git a/lib/clang/libllvmtransformutils/Makefile b/lib/clang/libllvmtransformutils/Makefile index 7e5e052..b4bdbec 100644 --- a/lib/clang/libllvmtransformutils/Makefile +++ b/lib/clang/libllvmtransformutils/Makefile @@ -3,14 +3,31 @@ LIB= llvmtransformutils SRCDIR= lib/Transforms/Utils -SRCS= AddrModeMatcher.cpp BasicBlockUtils.cpp BasicInliner.cpp \ - BreakCriticalEdges.cpp BuildLibCalls.cpp CloneFunction.cpp \ - CloneLoop.cpp CloneModule.cpp CodeExtractor.cpp \ - DemoteRegToStack.cpp InlineFunction.cpp InstructionNamer.cpp \ - LCSSA.cpp Local.cpp LoopSimplify.cpp LoopUnroll.cpp \ - LowerInvoke.cpp LowerSwitch.cpp Mem2Reg.cpp \ - PromoteMemoryToRegister.cpp SSAUpdater.cpp SSI.cpp \ - SimplifyCFG.cpp UnifyFunctionExitNodes.cpp ValueMapper.cpp +SRCS= AddrModeMatcher.cpp \ + BasicBlockUtils.cpp \ + BasicInliner.cpp \ + BreakCriticalEdges.cpp \ + BuildLibCalls.cpp \ + CloneFunction.cpp \ + CloneLoop.cpp \ + CloneModule.cpp \ + CodeExtractor.cpp \ + DemoteRegToStack.cpp \ + InlineFunction.cpp \ + InstructionNamer.cpp \ + LCSSA.cpp \ + Local.cpp \ + LoopSimplify.cpp \ + LoopUnroll.cpp \ + LowerInvoke.cpp \ + LowerSwitch.cpp \ + Mem2Reg.cpp \ + PromoteMemoryToRegister.cpp \ + SSAUpdater.cpp \ + SSI.cpp \ + SimplifyCFG.cpp \ + UnifyFunctionExitNodes.cpp \ + ValueMapper.cpp TGHDRS= Intrinsics diff --git a/lib/clang/libllvmx86asmparser/Makefile b/lib/clang/libllvmx86asmparser/Makefile index 717e75f..49f4b79 100644 --- a/lib/clang/libllvmx86asmparser/Makefile +++ b/lib/clang/libllvmx86asmparser/Makefile @@ -4,8 +4,11 @@ LIB= llvmx86asmparser SRCDIR= lib/Target/X86/AsmParser INCDIR= lib/Target/X86 -SRCS= X86AsmParser.cpp X86AsmLexer.cpp +SRCS= X86AsmLexer.cpp \ + X86AsmParser.cpp -TGHDRS= X86GenRegisterNames X86GenInstrNames X86GenAsmMatcher +TGHDRS= X86GenAsmMatcher \ + X86GenInstrNames \ + X86GenRegisterNames .include "../clang.lib.mk" diff --git a/lib/clang/libllvmx86asmprinter/Makefile b/lib/clang/libllvmx86asmprinter/Makefile index ba4e23f..9a21b5e 100644 --- a/lib/clang/libllvmx86asmprinter/Makefile +++ b/lib/clang/libllvmx86asmprinter/Makefile @@ -4,10 +4,16 @@ LIB= llvmx86asmprinter SRCDIR= lib/Target/X86/AsmPrinter INCDIR= lib/Target/X86 -SRCS= X86ATTInstPrinter.cpp X86AsmPrinter.cpp \ - X86IntelInstPrinter.cpp X86MCInstLower.cpp +SRCS= X86ATTInstPrinter.cpp \ + X86AsmPrinter.cpp \ + X86IntelInstPrinter.cpp \ + X86MCInstLower.cpp -TGHDRS= X86GenAsmWriter1 X86GenAsmWriter X86GenInstrInfo \ - X86GenInstrNames X86GenRegisterInfo.h X86GenRegisterNames +TGHDRS= X86GenAsmWriter1 \ + X86GenAsmWriter \ + X86GenInstrInfo \ + X86GenInstrNames \ + X86GenRegisterInfo.h \ + X86GenRegisterNames .include "../clang.lib.mk" diff --git a/lib/clang/libllvmx86codegen/Makefile b/lib/clang/libllvmx86codegen/Makefile index 1c77bb8..df44a2d 100644 --- a/lib/clang/libllvmx86codegen/Makefile +++ b/lib/clang/libllvmx86codegen/Makefile @@ -3,17 +3,35 @@ LIB= llvmx86codegen SRCDIR= lib/Target/X86 -SRCS= SSEDomainFix.cpp X86AsmBackend.cpp \ - X86COFFMachineModuleInfo.cpp X86CodeEmitter.cpp \ - X86ELFWriterInfo.cpp X86FastISel.cpp X86FloatingPoint.cpp \ - X86FloatingPointRegKill.cpp X86ISelDAGToDAG.cpp \ - X86ISelLowering.cpp X86InstrInfo.cpp X86JITInfo.cpp \ - X86MCAsmInfo.cpp X86MCCodeEmitter.cpp X86RegisterInfo.cpp \ - X86SelectionDAGInfo.cpp X86Subtarget.cpp X86TargetMachine.cpp \ +SRCS= SSEDomainFix.cpp \ + X86AsmBackend.cpp \ + X86COFFMachineModuleInfo.cpp \ + X86CodeEmitter.cpp \ + X86ELFWriterInfo.cpp \ + X86FastISel.cpp \ + X86FloatingPoint.cpp \ + X86FloatingPointRegKill.cpp \ + X86ISelDAGToDAG.cpp \ + X86ISelLowering.cpp \ + X86InstrInfo.cpp \ + X86JITInfo.cpp \ + X86MCAsmInfo.cpp \ + X86MCCodeEmitter.cpp \ + X86RegisterInfo.cpp \ + X86SelectionDAGInfo.cpp \ + X86Subtarget.cpp \ + X86TargetMachine.cpp \ X86TargetObjectFile.cpp -TGHDRS= Intrinsics X86GenCallingConv X86GenDAGISel X86GenFastISel \ - X86GenInstrInfo X86GenInstrNames X86GenRegisterInfo.h \ - X86GenRegisterInfo X86GenRegisterNames X86GenSubtarget +TGHDRS= Intrinsics \ + X86GenCallingConv \ + X86GenDAGISel \ + X86GenFastISel \ + X86GenInstrInfo \ + X86GenInstrNames \ + X86GenRegisterInfo.h \ + X86GenRegisterInfo \ + X86GenRegisterNames \ + X86GenSubtarget .include "../clang.lib.mk" diff --git a/lib/clang/libllvmx86info/Makefile b/lib/clang/libllvmx86info/Makefile index b7aa9ab..6670a24 100644 --- a/lib/clang/libllvmx86info/Makefile +++ b/lib/clang/libllvmx86info/Makefile @@ -6,6 +6,7 @@ SRCDIR= lib/Target/X86/TargetInfo/ INCDIR= lib/Target/X86 SRCS= X86TargetInfo.cpp -TGHDRS= X86GenRegisterNames X86GenInstrNames +TGHDRS= X86GenInstrNames \ + X86GenRegisterNames .include "../clang.lib.mk" |