First part of updating llvm/clang build glue: getting llvm-tblgen,
clang-tblgen and clang itself built.
This commit is contained in:
parent
802df53c82
commit
34cdd77646
@ -1459,11 +1459,11 @@ _gensnmptree= usr.sbin/bsnmpd/gensnmptree
|
||||
_clang_tblgen= \
|
||||
lib/clang/libllvmsupport \
|
||||
lib/clang/libllvmtablegen \
|
||||
usr.bin/clang/tblgen \
|
||||
usr.bin/clang/llvm-tblgen \
|
||||
usr.bin/clang/clang-tblgen
|
||||
|
||||
${_bt}-usr.bin/clang/clang-tblgen: ${_bt}-lib/clang/libllvmtablegen ${_bt}-lib/clang/libllvmsupport
|
||||
${_bt}-usr.bin/clang/tblgen: ${_bt}-lib/clang/libllvmtablegen ${_bt}-lib/clang/libllvmsupport
|
||||
${_bt}-usr.bin/clang/llvm-tblgen: ${_bt}-lib/clang/libllvmtablegen ${_bt}-lib/clang/libllvmsupport
|
||||
.endif
|
||||
|
||||
# Default to building the GPL DTC, but build the BSDL one if users explicitly
|
||||
@ -1668,7 +1668,7 @@ NXBENV= MAKEOBJDIRPREFIX=${OBJTREE}/nxb \
|
||||
INSTALL="sh ${.CURDIR}/tools/install.sh" \
|
||||
PATH=${PATH}:${OBJTREE}/gperf_for_gcc/usr/bin
|
||||
NXBMAKE= ${NXBENV} ${MAKE} \
|
||||
TBLGEN=${NXBDESTDIR}/usr/bin/tblgen \
|
||||
LLVM_TBLGEN=${NXBDESTDIR}/usr/bin/llvm-tblgen \
|
||||
CLANG_TBLGEN=${NXBDESTDIR}/usr/bin/clang-tblgen \
|
||||
MACHINE=${TARGET} MACHINE_ARCH=${TARGET_ARCH} \
|
||||
MK_GDB=no MK_TESTS=no \
|
||||
|
@ -38,7 +38,6 @@ SUBDIR= libclanganalysis \
|
||||
libllvmcore \
|
||||
libllvminstcombine \
|
||||
libllvminstrumentation \
|
||||
libllvmipa \
|
||||
libllvmipo \
|
||||
libllvmirreader \
|
||||
libllvmlinker \
|
||||
@ -58,38 +57,38 @@ SUBDIR= libclanganalysis \
|
||||
libllvmvectorize \
|
||||
\
|
||||
libllvmaarch64asmparser \
|
||||
libllvmaarch64asmprinter \
|
||||
libllvmaarch64codegen \
|
||||
libllvmaarch64desc \
|
||||
libllvmaarch64info \
|
||||
libllvmaarch64instprinter \
|
||||
libllvmaarch64utils \
|
||||
libllvmarmasmparser \
|
||||
libllvmarmasmprinter \
|
||||
libllvmarmcodegen \
|
||||
libllvmarmdesc \
|
||||
libllvmarmdisassembler \
|
||||
libllvmarminfo \
|
||||
libllvmarminstprinter \
|
||||
libllvmmipsasmparser \
|
||||
libllvmmipsasmprinter \
|
||||
libllvmmipscodegen \
|
||||
libllvmmipsdesc \
|
||||
libllvmmipsinfo \
|
||||
libllvmmipsinstprinter \
|
||||
libllvmpowerpcasmparser \
|
||||
libllvmpowerpcasmprinter \
|
||||
libllvmpowerpccodegen \
|
||||
libllvmpowerpcdesc \
|
||||
libllvmpowerpcdisassembler \
|
||||
libllvmpowerpcinfo \
|
||||
libllvmpowerpcinstprinter \
|
||||
libllvmsparcasmparser \
|
||||
libllvmsparcasmprinter \
|
||||
libllvmsparccodegen \
|
||||
libllvmsparcdesc \
|
||||
libllvmsparcinfo \
|
||||
libllvmsparcinstprinter \
|
||||
libllvmx86asmparser \
|
||||
libllvmx86asmprinter \
|
||||
libllvmx86codegen \
|
||||
libllvmx86desc \
|
||||
libllvmx86info \
|
||||
libllvmx86instprinter \
|
||||
libllvmx86utils
|
||||
|
||||
.if ${MK_CLANG_EXTRAS} != "no"
|
||||
@ -99,11 +98,13 @@ SUBDIR+=libllvmdebuginfodwarf \
|
||||
libllvmlto \
|
||||
libllvmmirparser \
|
||||
libllvmorcjit \
|
||||
libllvmpasses
|
||||
libllvmpasses \
|
||||
libllvmsymbolize
|
||||
.endif # MK_CLANG_EXTRAS
|
||||
|
||||
.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
|
||||
SUBDIR+=libllvmaarch64disassembler \
|
||||
libllvmexecutionengine \
|
||||
SUBDIR+=libllvmexecutionengine \
|
||||
libllvmaarch64disassembler \
|
||||
libllvminterpreter \
|
||||
libllvmmcjit \
|
||||
libllvmmipsdisassembler \
|
||||
|
@ -39,13 +39,24 @@ CXXFLAGS.clang+= -stdlib=libc++
|
||||
|
||||
.PATH: ${LLVM_SRCS}/${SRCDIR}
|
||||
|
||||
TBLGEN?= tblgen
|
||||
LLVM_TBLGEN?= llvm-tblgen
|
||||
CLANG_TBLGEN?= clang-tblgen
|
||||
|
||||
Attributes.inc.h: ${LLVM_SRCS}/include/llvm/IR/Attributes.td
|
||||
${LLVM_TBLGEN} -gen-attrs \
|
||||
-I ${LLVM_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||
${LLVM_SRCS}/include/llvm/IR/Attributes.td
|
||||
|
||||
AttributesCompatFunc.inc.h: ${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
|
||||
${LLVM_TBLGEN} -gen-attrs \
|
||||
-I ${LLVM_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||
${LLVM_SRCS}/lib/IR/AttributesCompatFunc.td
|
||||
|
||||
Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
|
||||
${TBLGEN} -gen-intrinsic \
|
||||
${LLVM_TBLGEN} -gen-intrinsic \
|
||||
-I ${LLVM_SRCS}/include -d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||
${LLVM_SRCS}/include/llvm/IR/Intrinsics.td
|
||||
|
||||
.for arch in \
|
||||
AArch64/AArch64 ARM/ARM Mips/Mips PowerPC/PPC Sparc/Sparc X86/X86
|
||||
. for hdr in \
|
||||
@ -63,7 +74,7 @@ Intrinsics.inc.h: ${LLVM_SRCS}/include/llvm/IR/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} ${hdr:T:C/,/ /g} \
|
||||
${LLVM_TBLGEN} ${hdr:T:C/,/ /g} \
|
||||
-I ${LLVM_SRCS}/include -I ${LLVM_SRCS}/lib/Target/${arch:H} \
|
||||
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||
${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td
|
||||
@ -212,13 +223,13 @@ Diagnostic${hdr}Kinds.inc.h: ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
|
||||
# XXX: Atrocious hack, need to clean this up later
|
||||
.if defined(LIB) && ${LIB} == "llvmlibdriver"
|
||||
Options.inc.h: ${LLVM_SRCS}/lib/LibDriver/Options.td
|
||||
${TBLGEN} -gen-opt-parser-defs \
|
||||
${LLVM_TBLGEN} -gen-opt-parser-defs \
|
||||
-I ${LLVM_SRCS}/include \
|
||||
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||
${LLVM_SRCS}/lib/LibDriver/Options.td
|
||||
.else
|
||||
Options.inc.h: ${CLANG_SRCS}/include/clang/Driver/Options.td
|
||||
${TBLGEN} -gen-opt-parser-defs \
|
||||
${LLVM_TBLGEN} -gen-opt-parser-defs \
|
||||
-I ${LLVM_SRCS}/include -I ${CLANG_SRCS}/include/clang/Driver \
|
||||
-d ${.TARGET:C/\.h$/.d/} -o ${.TARGET} \
|
||||
${CLANG_SRCS}/include/clang/Driver/Options.td
|
||||
|
2
lib/clang/include/AttributesCompatFunc.inc
Normal file
2
lib/clang/include/AttributesCompatFunc.inc
Normal file
@ -0,0 +1,2 @@
|
||||
/* $FreeBSD$ */
|
||||
#include "AttributesCompatFunc.inc.h"
|
2
lib/clang/include/llvm/IR/Attributes.inc
Normal file
2
lib/clang/include/llvm/IR/Attributes.inc
Normal file
@ -0,0 +1,2 @@
|
||||
/* $FreeBSD$ */
|
||||
#include "Attributes.inc.h"
|
@ -34,6 +34,7 @@ SRCS= APValue.cpp \
|
||||
ExprCXX.cpp \
|
||||
ExprClassification.cpp \
|
||||
ExprConstant.cpp \
|
||||
ExprObjC.cpp \
|
||||
ExternalASTSource.cpp \
|
||||
InheritViz.cpp \
|
||||
ItaniumCXXABI.cpp \
|
||||
@ -43,13 +44,17 @@ SRCS= APValue.cpp \
|
||||
MicrosoftMangle.cpp \
|
||||
NSAPI.cpp \
|
||||
NestedNameSpecifier.cpp \
|
||||
OpenMPClause.cpp \
|
||||
ParentMap.cpp \
|
||||
RawCommentList.cpp \
|
||||
RecordLayout.cpp \
|
||||
RecordLayoutBuilder.cpp \
|
||||
SelectorLocationsKind.cpp \
|
||||
Stmt.cpp \
|
||||
StmtCXX.cpp \
|
||||
StmtIterator.cpp \
|
||||
StmtObjC.cpp \
|
||||
StmtOpenMP.cpp \
|
||||
StmtPrinter.cpp \
|
||||
StmtProfile.cpp \
|
||||
StmtViz.cpp \
|
||||
|
@ -56,6 +56,7 @@ SRCS= BackendUtil.cpp \
|
||||
TGHDRS= AttrList \
|
||||
AttrParsedAttrList \
|
||||
AttrVisitor \
|
||||
Attributes \
|
||||
Attrs \
|
||||
CommentCommandList \
|
||||
CommentNodes \
|
||||
|
@ -33,6 +33,7 @@ SRCS= ASTConsumers.cpp \
|
||||
PrintPreprocessedOutput.cpp \
|
||||
SerializedDiagnosticPrinter.cpp \
|
||||
SerializedDiagnosticReader.cpp \
|
||||
TestModuleFileExtension.cpp \
|
||||
TextDiagnostic.cpp \
|
||||
TextDiagnosticBuffer.cpp \
|
||||
TextDiagnosticPrinter.cpp \
|
||||
@ -41,6 +42,7 @@ SRCS= ASTConsumers.cpp \
|
||||
TGHDRS= AttrList \
|
||||
AttrParsedAttrList \
|
||||
AttrVisitor \
|
||||
Attributes \
|
||||
Attrs \
|
||||
CommentCommandList \
|
||||
CommentNodes \
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include <src.opts.mk>
|
||||
|
||||
LIB= clangrewritefrontend
|
||||
|
||||
@ -12,6 +12,11 @@ SRCS= FixItRewriter.cpp \
|
||||
RewriteMacros.cpp \
|
||||
RewriteTest.cpp
|
||||
|
||||
.if ${MK_CLANG_EXTRAS} != "no"
|
||||
SRCS+= RewriteModernObjC.cpp \
|
||||
RewriteObjC.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= AttrList \
|
||||
AttrParsedAttrList \
|
||||
Attrs \
|
||||
|
@ -24,6 +24,7 @@ SRCS= AnalysisBasedWarnings.cpp \
|
||||
SemaChecking.cpp \
|
||||
SemaCodeComplete.cpp \
|
||||
SemaConsumer.cpp \
|
||||
SemaCoroutine.cpp \
|
||||
SemaDecl.cpp \
|
||||
SemaDeclAttr.cpp \
|
||||
SemaDeclCXX.cpp \
|
||||
|
@ -15,6 +15,7 @@ SRCS= ASTCommon.cpp \
|
||||
GeneratePCH.cpp \
|
||||
GlobalModuleIndex.cpp \
|
||||
Module.cpp \
|
||||
ModuleFileExtension.cpp \
|
||||
ModuleManager.cpp
|
||||
|
||||
TGHDRS= AttrList \
|
||||
|
@ -28,6 +28,7 @@ SRCS= AllocationDiagnostics.cpp \
|
||||
DereferenceChecker.cpp \
|
||||
DirectIvarAssignment.cpp \
|
||||
DivZeroChecker.cpp \
|
||||
DynamicTypeChecker.cpp \
|
||||
DynamicTypePropagation.cpp \
|
||||
ExprInspectionChecker.cpp \
|
||||
FixedAddressChecker.cpp \
|
||||
@ -35,6 +36,7 @@ SRCS= AllocationDiagnostics.cpp \
|
||||
IdenticalExprChecker.cpp \
|
||||
IvarInvalidationChecker.cpp \
|
||||
LLVMConventionsChecker.cpp \
|
||||
LocalizationChecker.cpp \
|
||||
MacOSKeychainAPIChecker.cpp \
|
||||
MacOSXAPIChecker.cpp \
|
||||
MallocChecker.cpp \
|
||||
@ -44,12 +46,14 @@ SRCS= AllocationDiagnostics.cpp \
|
||||
NSErrorChecker.cpp \
|
||||
NoReturnFunctionChecker.cpp \
|
||||
NonNullParamChecker.cpp \
|
||||
NullabilityChecker.cpp \
|
||||
ObjCAtSyncChecker.cpp \
|
||||
ObjCContainersASTChecker.cpp \
|
||||
ObjCContainersChecker.cpp \
|
||||
ObjCMissingSuperCallChecker.cpp \
|
||||
ObjCSelfInitChecker.cpp \
|
||||
ObjCUnusedIVarsChecker.cpp \
|
||||
PaddingChecker.cpp \
|
||||
PointerArithChecker.cpp \
|
||||
PointerSubChecker.cpp \
|
||||
PthreadLockChecker.cpp \
|
||||
@ -70,6 +74,7 @@ SRCS= AllocationDiagnostics.cpp \
|
||||
UnixAPIChecker.cpp \
|
||||
UnreachableCodeChecker.cpp \
|
||||
VLASizeChecker.cpp \
|
||||
VforkChecker.cpp \
|
||||
VirtualCallChecker.cpp
|
||||
|
||||
.if ${MK_CLANG_EXTRAS} != "no"
|
||||
|
@ -21,6 +21,7 @@ SRCS= APSIntType.cpp \
|
||||
CommonBugCategories.cpp \
|
||||
ConstraintManager.cpp \
|
||||
CoreEngine.cpp \
|
||||
DynamicTypeMap.cpp \
|
||||
Environment.cpp \
|
||||
ExplodedGraph.cpp \
|
||||
ExprEngine.cpp \
|
||||
@ -30,6 +31,8 @@ SRCS= APSIntType.cpp \
|
||||
ExprEngineObjC.cpp \
|
||||
FunctionSummary.cpp \
|
||||
HTMLDiagnostics.cpp \
|
||||
IssueHash.cpp \
|
||||
LoopWidening.cpp \
|
||||
MemRegion.cpp \
|
||||
PathDiagnostic.cpp \
|
||||
PlistDiagnostics.cpp \
|
||||
|
@ -7,8 +7,8 @@ LIB= clangstaticanalyzerfrontend
|
||||
SRCDIR= tools/clang/lib/StaticAnalyzer/Frontend
|
||||
SRCS= AnalysisConsumer.cpp \
|
||||
CheckerRegistration.cpp \
|
||||
ModelConsumer.cpp \
|
||||
FrontendActions.cpp \
|
||||
ModelConsumer.cpp \
|
||||
ModelInjector.cpp
|
||||
|
||||
TGHDRS= AttrList \
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LIB= llvmaarch64instprinter
|
||||
LIB= llvmaarch64asmprinter
|
||||
|
||||
SRCDIR= lib/Target/AArch64/InstPrinter
|
||||
INCDIR= lib/Target/AArch64
|
@ -41,6 +41,7 @@ TGHDRS= AArch64GenCallingConv \
|
||||
AArch64GenMCPseudoLowering \
|
||||
AArch64GenRegisterInfo \
|
||||
AArch64GenSubtargetInfo \
|
||||
Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -19,6 +19,7 @@ CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/..
|
||||
TGHDRS= AArch64GenInstrInfo \
|
||||
AArch64GenMCCodeEmitter \
|
||||
AArch64GenRegisterInfo \
|
||||
AArch64GenSubtargetInfo
|
||||
AArch64GenSubtargetInfo \
|
||||
Attributes
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -12,7 +12,9 @@ SRCS= AArch64Disassembler.cpp
|
||||
SRCS+= AArch64ExternalSymbolizer.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= AArch64GenDisassemblerTables \
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics \
|
||||
AArch64GenDisassemblerTables \
|
||||
AArch64GenInstrInfo \
|
||||
AArch64GenRegisterInfo \
|
||||
AArch64GenSubtargetInfo
|
||||
|
@ -6,9 +6,7 @@ LIB= llvmanalysis
|
||||
|
||||
SRCDIR= lib/Analysis
|
||||
SRCS= AliasAnalysis.cpp \
|
||||
AliasAnalysisCounter.cpp \
|
||||
AliasAnalysisEvaluator.cpp \
|
||||
AliasDebugger.cpp \
|
||||
AliasSetTracker.cpp \
|
||||
AssumptionCache.cpp \
|
||||
BasicAliasAnalysis.cpp \
|
||||
@ -18,16 +16,23 @@ SRCS= AliasAnalysis.cpp \
|
||||
CFG.cpp \
|
||||
CFGPrinter.cpp \
|
||||
CFLAliasAnalysis.cpp \
|
||||
CallGraph.cpp \
|
||||
CallGraphSCCPass.cpp \
|
||||
CallPrinter.cpp \
|
||||
CaptureTracking.cpp \
|
||||
CodeMetrics.cpp \
|
||||
ConstantFolding.cpp \
|
||||
CostModel.cpp \
|
||||
Delinearization.cpp \
|
||||
DemandedBits.cpp \
|
||||
DependenceAnalysis.cpp \
|
||||
DivergenceAnalysis.cpp \
|
||||
DomPrinter.cpp \
|
||||
DominanceFrontier.cpp \
|
||||
EHPersonalities.cpp \
|
||||
GlobalsModRef.cpp \
|
||||
IVUsers.cpp \
|
||||
InlineCost.cpp \
|
||||
InstCount.cpp \
|
||||
InstructionSimplify.cpp \
|
||||
Interval.cpp \
|
||||
@ -35,8 +40,6 @@ SRCS= AliasAnalysis.cpp \
|
||||
IteratedDominanceFrontier.cpp \
|
||||
LazyCallGraph.cpp \
|
||||
LazyValueInfo.cpp \
|
||||
LibCallAliasAnalysis.cpp \
|
||||
LibCallSemantics.cpp \
|
||||
Lint.cpp \
|
||||
Loads.cpp \
|
||||
LoopAccessAnalysis.cpp \
|
||||
@ -48,7 +51,10 @@ SRCS= AliasAnalysis.cpp \
|
||||
MemoryDependenceAnalysis.cpp \
|
||||
MemoryLocation.cpp \
|
||||
ModuleDebugInfoPrinter.cpp \
|
||||
NoAliasAnalysis.cpp \
|
||||
ObjCARCAliasAnalysis.cpp \
|
||||
ObjCARCAnalysisUtils.cpp \
|
||||
ObjCARCInstKind.cpp \
|
||||
OrderedBasicBlock.cpp \
|
||||
PHITransAddr.cpp \
|
||||
PostDominators.cpp \
|
||||
PtrUseVisitor.cpp \
|
||||
@ -73,6 +79,7 @@ SRCS+= Analysis.cpp \
|
||||
Trace.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= Intrinsics
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LIB= llvmarminstprinter
|
||||
LIB= llvmarmasmprinter
|
||||
|
||||
SRCDIR= lib/Target/ARM/InstPrinter
|
||||
INCDIR= lib/Target/ARM
|
@ -46,6 +46,7 @@ TGHDRS= ARMGenAsmWriter \
|
||||
ARMGenMCPseudoLowering \
|
||||
ARMGenRegisterInfo \
|
||||
ARMGenSubtargetInfo \
|
||||
Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -6,7 +6,6 @@ LIB= llvmarmdesc
|
||||
|
||||
SRCDIR= lib/Target/ARM/MCTargetDesc
|
||||
SRCS= ARMAsmBackend.cpp \
|
||||
ARMELFObjectWriter.cpp \
|
||||
ARMELFObjectWriter.cpp \
|
||||
ARMELFStreamer.cpp \
|
||||
ARMMCAsmInfo.cpp \
|
||||
@ -24,6 +23,7 @@ CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/..
|
||||
TGHDRS= ARMGenInstrInfo \
|
||||
ARMGenMCCodeEmitter \
|
||||
ARMGenRegisterInfo \
|
||||
ARMGenSubtargetInfo
|
||||
ARMGenSubtargetInfo \
|
||||
Attributes
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -10,6 +10,7 @@ SRCS= ARMTargetInfo.cpp
|
||||
|
||||
TGHDRS= ARMGenInstrInfo \
|
||||
ARMGenRegisterInfo \
|
||||
ARMGenSubtargetInfo
|
||||
ARMGenSubtargetInfo \
|
||||
Attributes
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -9,4 +9,6 @@ SRCS= LLLexer.cpp \
|
||||
LLParser.cpp \
|
||||
Parser.cpp
|
||||
|
||||
TGHDRS= Attributes
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -12,8 +12,8 @@ SRCS= ARMException.cpp \
|
||||
AsmPrinterInlineAsm.cpp \
|
||||
DIE.cpp \
|
||||
DIEHash.cpp \
|
||||
DebugLocStream.cpp \
|
||||
DbgValueHistoryCalculator.cpp \
|
||||
DebugLocStream.cpp \
|
||||
DwarfAccelTable.cpp \
|
||||
DwarfCFIException.cpp \
|
||||
DwarfCompileUnit.cpp \
|
||||
@ -28,6 +28,7 @@ SRCS= ARMException.cpp \
|
||||
WinCodeViewLineTables.cpp \
|
||||
WinException.cpp
|
||||
|
||||
TGHDRS= Intrinsics
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -1,14 +1,18 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include <src.opts.mk>
|
||||
|
||||
LIB= llvmbitreader
|
||||
|
||||
SRCDIR= lib/Bitcode/Reader
|
||||
SRCS= BitReader.cpp \
|
||||
BitcodeReader.cpp \
|
||||
SRCS= BitcodeReader.cpp \
|
||||
BitstreamReader.cpp
|
||||
|
||||
TGHDRS= Intrinsics
|
||||
.if ${MK_CLANG_EXTRAS} != "no"
|
||||
SRCS+= BitReader.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -13,4 +13,7 @@ SRCS= BitcodeWriter.cpp \
|
||||
SRCS+= BitWriter.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -27,6 +27,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \
|
||||
ExpandISelPseudos.cpp \
|
||||
ExpandPostRAPseudos.cpp \
|
||||
FaultMaps.cpp \
|
||||
FuncletLayout.cpp \
|
||||
GCMetadata.cpp \
|
||||
GCRootLowering.cpp \
|
||||
GlobalMerge.cpp \
|
||||
@ -39,6 +40,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \
|
||||
LLVMTargetMachine.cpp \
|
||||
LatencyPriorityQueue.cpp \
|
||||
LexicalScopes.cpp \
|
||||
LiveDebugValues.cpp \
|
||||
LiveDebugVariables.cpp \
|
||||
LiveInterval.cpp \
|
||||
LiveIntervalAnalysis.cpp \
|
||||
@ -84,6 +86,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \
|
||||
OptimizePHIs.cpp \
|
||||
PHIElimination.cpp \
|
||||
PHIEliminationUtils.cpp \
|
||||
ParallelCG.cpp \
|
||||
Passes.cpp \
|
||||
PeepholeOptimizer.cpp \
|
||||
PostRASchedulerList.cpp \
|
||||
@ -134,6 +137,7 @@ SRCS+= GCMetadataPrinter.cpp \
|
||||
GCStrategy.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= Intrinsics
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -23,6 +23,7 @@ SRCS= AsmWriter.cpp \
|
||||
DiagnosticPrinter.cpp \
|
||||
Dominators.cpp \
|
||||
Function.cpp \
|
||||
FunctionInfo.cpp \
|
||||
GCOV.cpp \
|
||||
GVMaterializer.cpp \
|
||||
Globals.cpp \
|
||||
@ -38,7 +39,6 @@ SRCS= AsmWriter.cpp \
|
||||
MDBuilder.cpp \
|
||||
Mangler.cpp \
|
||||
Metadata.cpp \
|
||||
MetadataTracking.cpp \
|
||||
Module.cpp \
|
||||
Operator.cpp \
|
||||
Pass.cpp \
|
||||
@ -57,6 +57,8 @@ SRCS= AsmWriter.cpp \
|
||||
SRCS+= PassManager.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= Intrinsics
|
||||
TGHDRS= Attributes \
|
||||
AttributesCompatFunc \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -16,10 +16,12 @@ SRCS= DWARFAbbreviationDeclaration.cpp \
|
||||
DWARFDebugInfoEntry.cpp \
|
||||
DWARFDebugLine.cpp \
|
||||
DWARFDebugLoc.cpp \
|
||||
DWARFDebugMacro.cpp \
|
||||
DWARFDebugRangeList.cpp \
|
||||
DWARFFormValue.cpp \
|
||||
DWARFTypeUnit.cpp \
|
||||
DWARFUnit.cpp \
|
||||
DWARFUnitIndex.cpp \
|
||||
SyntaxHighlighting.cpp
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -19,6 +19,7 @@ SRCS= InstCombineAddSub.cpp \
|
||||
InstCombineVectorOps.cpp \
|
||||
InstructionCombining.cpp
|
||||
|
||||
TGHDRS= Intrinsics
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -9,16 +9,15 @@ SRCS= AddressSanitizer.cpp \
|
||||
BoundsChecking.cpp \
|
||||
DataFlowSanitizer.cpp \
|
||||
GCOVProfiling.cpp \
|
||||
MemorySanitizer.cpp \
|
||||
InstrProfiling.cpp \
|
||||
Instrumentation.cpp \
|
||||
MemorySanitizer.cpp \
|
||||
PGOInstrumentation.cpp \
|
||||
SafeStack.cpp \
|
||||
SanitizerCoverage.cpp \
|
||||
ThreadSanitizer.cpp
|
||||
|
||||
.if ${MK_CLANG_EXTRAS} != "no"
|
||||
SRCS+= Instrumentation.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= Intrinsics
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -1,20 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
LIB= llvmipa
|
||||
|
||||
SRCDIR= lib/Analysis/IPA
|
||||
SRCS= CallGraph.cpp \
|
||||
CallGraphSCCPass.cpp \
|
||||
CallPrinter.cpp \
|
||||
GlobalsModRef.cpp \
|
||||
InlineCost.cpp
|
||||
|
||||
.if ${MK_CLANG_EXTRAS} != "no"
|
||||
SRCS+= IPA.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
@ -1,26 +0,0 @@
|
||||
# $FreeBSD$
|
||||
# Autogenerated - do NOT edit!
|
||||
|
||||
DIRDEPS = \
|
||||
include \
|
||||
include/xlocale \
|
||||
lib/libc++ \
|
||||
lib/msun \
|
||||
usr.bin/clang/tblgen.host \
|
||||
|
||||
|
||||
.include <dirdeps.mk>
|
||||
|
||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
||||
# local dependencies - needed for -jN in clean tree
|
||||
CallGraph.o: Intrinsics.inc.h
|
||||
CallGraph.po: Intrinsics.inc.h
|
||||
CallGraphSCCPass.o: Intrinsics.inc.h
|
||||
CallGraphSCCPass.po: Intrinsics.inc.h
|
||||
CallPrinter.o: Intrinsics.inc.h
|
||||
CallPrinter.po: Intrinsics.inc.h
|
||||
GlobalsModRef.o: Intrinsics.inc.h
|
||||
GlobalsModRef.po: Intrinsics.inc.h
|
||||
InlineCost.o: Intrinsics.inc.h
|
||||
InlineCost.po: Intrinsics.inc.h
|
||||
.endif
|
@ -8,13 +8,17 @@ SRCDIR= lib/Transforms/IPO
|
||||
SRCS= ArgumentPromotion.cpp \
|
||||
BarrierNoopPass.cpp \
|
||||
ConstantMerge.cpp \
|
||||
CrossDSOCFI.cpp \
|
||||
DeadArgumentElimination.cpp \
|
||||
ElimAvailExtern.cpp \
|
||||
ExtractGV.cpp \
|
||||
ForceFunctionAttrs.cpp \
|
||||
FunctionAttrs.cpp \
|
||||
FunctionImport.cpp \
|
||||
GlobalDCE.cpp \
|
||||
GlobalOpt.cpp \
|
||||
IPConstantPropagation.cpp \
|
||||
InferFunctionAttrs.cpp \
|
||||
InlineAlways.cpp \
|
||||
InlineSimple.cpp \
|
||||
Inliner.cpp \
|
||||
@ -25,6 +29,7 @@ SRCS= ArgumentPromotion.cpp \
|
||||
PartialInlining.cpp \
|
||||
PassManagerBuilder.cpp \
|
||||
PruneEH.cpp \
|
||||
SampleProfile.cpp \
|
||||
StripDeadPrototypes.cpp \
|
||||
StripSymbols.cpp
|
||||
|
||||
@ -32,6 +37,7 @@ SRCS= ArgumentPromotion.cpp \
|
||||
SRCS+= IPO.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= Intrinsics
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -7,4 +7,6 @@ LIB= llvmirreader
|
||||
SRCDIR= lib/IRReader
|
||||
SRCS= IRReader.cpp
|
||||
|
||||
TGHDRS= Attributes
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -5,6 +5,9 @@
|
||||
LIB= llvmlinker
|
||||
|
||||
SRCDIR= lib/Linker
|
||||
SRCS= LinkModules.cpp
|
||||
SRCS= IRMover.cpp \
|
||||
LinkModules.cpp
|
||||
|
||||
TGHDRS= Attributes
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -21,6 +21,7 @@ SRCS= ConstantPools.cpp \
|
||||
MCELFObjectTargetWriter.cpp \
|
||||
MCELFStreamer.cpp \
|
||||
MCExpr.cpp \
|
||||
MCFragment.cpp \
|
||||
MCInst.cpp \
|
||||
MCInstPrinter.cpp \
|
||||
MCInstrAnalysis.cpp \
|
||||
|
@ -8,7 +8,8 @@ SRCDIR= lib/Target/Mips/AsmParser
|
||||
INCDIR= lib/Target/Mips
|
||||
SRCS= MipsAsmParser.cpp
|
||||
|
||||
TGHDRS= MipsGenAsmMatcher \
|
||||
TGHDRS= Attributes \
|
||||
MipsGenAsmMatcher \
|
||||
MipsGenInstrInfo \
|
||||
MipsGenRegisterInfo \
|
||||
MipsGenSubtargetInfo
|
||||
|
@ -2,13 +2,14 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LIB= llvmmipsinstprinter
|
||||
LIB= llvmmipsasmprinter
|
||||
|
||||
SRCDIR= lib/Target/Mips/InstPrinter
|
||||
INCDIR= lib/Target/Mips
|
||||
SRCS= MipsInstPrinter.cpp
|
||||
|
||||
TGHDRS= MipsGenAsmWriter \
|
||||
TGHDRS= Attributes \
|
||||
MipsGenAsmWriter \
|
||||
MipsGenInstrInfo \
|
||||
MipsGenRegisterInfo \
|
||||
MipsGenSubtargetInfo
|
@ -38,7 +38,8 @@ SRCS= Mips16FrameLowering.cpp \
|
||||
MipsTargetMachine.cpp \
|
||||
MipsTargetObjectFile.cpp
|
||||
|
||||
TGHDRS= Intrinsics \
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics \
|
||||
MipsGenAsmWriter \
|
||||
MipsGenCallingConv \
|
||||
MipsGenCodeEmitter \
|
||||
|
@ -19,7 +19,8 @@ SRCS= MipsABIFlagsSection.cpp \
|
||||
MipsTargetStreamer.cpp
|
||||
CFLAGS+= -I${LLVM_SRCS}/${SRCDIR}/..
|
||||
|
||||
TGHDRS= MipsGenInstrInfo \
|
||||
TGHDRS= Attributes \
|
||||
MipsGenInstrInfo \
|
||||
MipsGenMCCodeEmitter \
|
||||
MipsGenRegisterInfo \
|
||||
MipsGenSubtargetInfo
|
||||
|
@ -8,7 +8,9 @@ SRCDIR= lib/Target/Mips/Disassembler
|
||||
INCDIR= lib/Target/Mips
|
||||
SRCS= MipsDisassembler.cpp
|
||||
|
||||
TGHDRS= MipsGenDisassemblerTables \
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics \
|
||||
MipsGenDisassemblerTables \
|
||||
MipsGenInstrInfo \
|
||||
MipsGenRegisterInfo \
|
||||
MipsGenSubtargetInfo
|
||||
|
@ -8,7 +8,8 @@ SRCDIR= lib/Target/Mips/TargetInfo
|
||||
INCDIR= lib/Target/Mips
|
||||
SRCS= MipsTargetInfo.cpp
|
||||
|
||||
TGHDRS= MipsGenInstrInfo \
|
||||
TGHDRS= Attributes \
|
||||
MipsGenInstrInfo \
|
||||
MipsGenRegisterInfo \
|
||||
MipsGenSubtargetInfo
|
||||
|
||||
|
@ -1,15 +1,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include <src.opts.mk>
|
||||
|
||||
LIB= llvmobjcarcopts
|
||||
|
||||
SRCDIR= lib/Transforms/ObjCARC
|
||||
SRCS= ARCInstKind.cpp \
|
||||
DependencyAnalysis.cpp \
|
||||
ObjCARC.cpp \
|
||||
SRCS= DependencyAnalysis.cpp \
|
||||
ObjCARCAPElim.cpp \
|
||||
ObjCARCAliasAnalysis.cpp \
|
||||
ObjCARCContract.cpp \
|
||||
ObjCARCExpand.cpp \
|
||||
ObjCARCOpts.cpp \
|
||||
@ -17,6 +14,11 @@ SRCS= ARCInstKind.cpp \
|
||||
ProvenanceAnalysisEvaluator.cpp \
|
||||
PtrState.cpp
|
||||
|
||||
TGHDRS= Intrinsics
|
||||
.if ${MK_CLANG_EXTRAS} != "no"
|
||||
SRCS+= ObjCARC.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -14,6 +14,7 @@ SRCS= Archive.cpp \
|
||||
ELFObjectFile.cpp \
|
||||
ELFYAML.cpp \
|
||||
Error.cpp \
|
||||
FunctionIndexObjectFile.cpp \
|
||||
IRObjectFile.cpp \
|
||||
MachOObjectFile.cpp \
|
||||
MachOUniversal.cpp \
|
||||
@ -26,4 +27,6 @@ SRCS+= Object.cpp \
|
||||
SymbolSize.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= Attributes
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -7,6 +7,9 @@ LIB= llvmorcjit
|
||||
SRCDIR= lib/ExecutionEngine/Orc
|
||||
SRCS= ExecutionUtils.cpp \
|
||||
IndirectionUtils.cpp \
|
||||
NullResolver.cpp \
|
||||
OrcCBindings.cpp \
|
||||
OrcCBindingsStack.cpp \
|
||||
OrcMCJITReplacement.cpp \
|
||||
OrcTargetSupport.cpp
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LIB= llvmpowerpcinstprinter
|
||||
LIB= llvmpowerpcasmprinter
|
||||
|
||||
SRCDIR= lib/Target/PowerPC/InstPrinter
|
||||
INCDIR= lib/Target/PowerPC
|
@ -6,6 +6,7 @@ LIB= llvmpowerpccodegen
|
||||
|
||||
SRCDIR= lib/Target/PowerPC
|
||||
SRCS= PPCAsmPrinter.cpp \
|
||||
PPCBoolRetToInt.cpp \
|
||||
PPCBranchSelector.cpp \
|
||||
PPCCTRLoops.cpp \
|
||||
PPCEarlyReturn.cpp \
|
||||
@ -18,6 +19,7 @@ SRCS= PPCAsmPrinter.cpp \
|
||||
PPCLoopDataPrefetch.cpp \
|
||||
PPCLoopPreIncPrep.cpp \
|
||||
PPCMCInstLower.cpp \
|
||||
PPCMIPeephole.cpp \
|
||||
PPCMachineFunctionInfo.cpp \
|
||||
PPCRegisterInfo.cpp \
|
||||
PPCSubtarget.cpp \
|
||||
@ -30,7 +32,8 @@ SRCS= PPCAsmPrinter.cpp \
|
||||
PPCVSXFMAMutate.cpp \
|
||||
PPCVSXSwapRemoval.cpp
|
||||
|
||||
TGHDRS= Intrinsics \
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics \
|
||||
PPCGenCallingConv \
|
||||
PPCGenCodeEmitter \
|
||||
PPCGenDAGISel \
|
||||
|
@ -8,7 +8,8 @@ SRCDIR= lib/Target/PowerPC/TargetInfo
|
||||
INCDIR= lib/Target/PowerPC
|
||||
SRCS= PowerPCTargetInfo.cpp
|
||||
|
||||
TGHDRS= PPCGenInstrInfo \
|
||||
TGHDRS= Attributes \
|
||||
PPCGenInstrInfo \
|
||||
PPCGenRegisterInfo \
|
||||
PPCGenSubtargetInfo
|
||||
|
||||
|
@ -18,4 +18,6 @@ SRCS= CoverageMapping.cpp \
|
||||
SRCS+= SampleProfWriter.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= Attributes
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -26,6 +26,7 @@ SRCS= ADCE.cpp \
|
||||
LoopDistribute.cpp \
|
||||
LoopIdiomRecognize.cpp \
|
||||
LoopInterchange.cpp \
|
||||
LoopLoadElimination.cpp \
|
||||
LoopRerollPass.cpp \
|
||||
LoopRotation.cpp \
|
||||
LoopStrengthReduce.cpp \
|
||||
@ -43,7 +44,6 @@ SRCS= ADCE.cpp \
|
||||
RewriteStatepointsForGC.cpp \
|
||||
SCCP.cpp \
|
||||
SROA.cpp \
|
||||
SampleProfile.cpp \
|
||||
ScalarReplAggregates.cpp \
|
||||
Scalarizer.cpp \
|
||||
SeparateConstOffsetFromGEP.cpp \
|
||||
@ -59,6 +59,7 @@ SRCS+= LoopInstSimplify.cpp \
|
||||
Scalar.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= Intrinsics
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -30,6 +30,7 @@ SRCS= DAGCombiner.cpp \
|
||||
TargetLowering.cpp \
|
||||
TargetSelectionDAGInfo.cpp
|
||||
|
||||
TGHDRS= Intrinsics
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LIB= llvmsparcinstprinter
|
||||
LIB= llvmsparcasmprinter
|
||||
|
||||
SRCDIR= lib/Target/Sparc/InstPrinter
|
||||
INCDIR= lib/Target/Sparc
|
@ -18,7 +18,8 @@ SRCS= DelaySlotFiller.cpp \
|
||||
SparcTargetMachine.cpp \
|
||||
SparcTargetObjectFile.cpp
|
||||
|
||||
TGHDRS= Intrinsics \
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics \
|
||||
SparcGenAsmWriter \
|
||||
SparcGenCallingConv \
|
||||
SparcGenCodeEmitter \
|
||||
|
@ -8,7 +8,9 @@ SRCDIR= lib/Target/Sparc/Disassembler
|
||||
INCDIR= lib/Target/Sparc
|
||||
SRCS= SparcDisassembler.cpp
|
||||
|
||||
TGHDRS= SparcGenDisassemblerTables \
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics \
|
||||
SparcGenDisassemblerTables \
|
||||
SparcGenInstrInfo \
|
||||
SparcGenRegisterInfo \
|
||||
SparcGenSubtargetInfo
|
||||
|
@ -8,7 +8,8 @@ SRCDIR= lib/Target/Sparc/TargetInfo
|
||||
INCDIR= lib/Target/Sparc
|
||||
SRCS= SparcTargetInfo.cpp
|
||||
|
||||
TGHDRS= SparcGenInstrInfo \
|
||||
TGHDRS= Attributes \
|
||||
SparcGenInstrInfo \
|
||||
SparcGenRegisterInfo \
|
||||
SparcGenSubtargetInfo
|
||||
|
||||
|
@ -34,6 +34,7 @@ SRCS= APFloat.cpp \
|
||||
IntEqClasses.cpp \
|
||||
IntervalMap.cpp \
|
||||
IntrusiveRefCntPtr.cpp \
|
||||
JamCRC.cpp \
|
||||
LEB128.cpp \
|
||||
LineIterator.cpp \
|
||||
Locale.cpp \
|
||||
@ -77,7 +78,6 @@ SRCS= APFloat.cpp \
|
||||
Triple.cpp \
|
||||
Twine.cpp \
|
||||
Unicode.cpp \
|
||||
Valgrind.cpp \
|
||||
YAMLParser.cpp \
|
||||
YAMLTraits.cpp \
|
||||
circular_raw_ostream.cpp \
|
||||
@ -96,6 +96,8 @@ SRCS+= ARMWinEH.cpp \
|
||||
FileOutputBuffer.cpp \
|
||||
FileUtilities.cpp \
|
||||
SystemUtils.cpp \
|
||||
ThreadPool.cpp \
|
||||
Valgrind.cpp \
|
||||
Watchdog.cpp
|
||||
.endif
|
||||
|
||||
|
@ -16,6 +16,7 @@ SRCS= Target.cpp \
|
||||
SRCS+= TargetIntrinsicInfo.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= Intrinsics
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -40,6 +40,7 @@ SRCS= ASanStackFrameLayout.cpp \
|
||||
SimplifyIndVar.cpp \
|
||||
SimplifyInstructions.cpp \
|
||||
SimplifyLibCalls.cpp \
|
||||
SplitModule.cpp \
|
||||
SymbolRewriter.cpp \
|
||||
UnifyFunctionExitNodes.cpp \
|
||||
ValueMapper.cpp
|
||||
@ -48,6 +49,7 @@ SRCS= ASanStackFrameLayout.cpp \
|
||||
SRCS+= Utils.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= Intrinsics
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -13,6 +13,7 @@ SRCS= BBVectorize.cpp \
|
||||
SRCS+= Vectorize.cpp
|
||||
.endif
|
||||
|
||||
TGHDRS= Intrinsics
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics
|
||||
|
||||
.include "../clang.lib.mk"
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LIB= llvmx86instprinter
|
||||
LIB= llvmx86asmprinter
|
||||
|
||||
SRCDIR= lib/Target/X86/InstPrinter
|
||||
INCDIR= lib/Target/X86
|
@ -17,6 +17,7 @@ SRCS= X86AsmPrinter.cpp \
|
||||
X86InstrInfo.cpp \
|
||||
X86MCInstLower.cpp \
|
||||
X86MachineFunctionInfo.cpp \
|
||||
X86OptimizeLEAs.cpp \
|
||||
X86PadShortFunction.cpp \
|
||||
X86RegisterInfo.cpp \
|
||||
X86SelectionDAGInfo.cpp \
|
||||
@ -27,7 +28,8 @@ SRCS= X86AsmPrinter.cpp \
|
||||
X86VZeroUpper.cpp \
|
||||
X86WinEHState.cpp
|
||||
|
||||
TGHDRS= Intrinsics \
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics \
|
||||
X86GenCallingConv \
|
||||
X86GenDAGISel \
|
||||
X86GenFastISel \
|
||||
|
@ -210,8 +210,9 @@ TRACER= ${TIME_STAMP} ${:U}
|
||||
MK_SHARED_TOOLCHAIN= no
|
||||
.endif
|
||||
TOOLCHAIN_VARS= AS AR CC CLANG_TBLGEN CXX CPP LD NM OBJDUMP OBJCOPY RANLIB \
|
||||
STRINGS SIZE TBLGEN
|
||||
STRINGS SIZE LLVM_TBLGEN
|
||||
_toolchain_bin_CLANG_TBLGEN= /usr/bin/clang-tblgen
|
||||
_toolchain_bin_LLVM_TBLGEN= /usr/bin/llvm-tblgen
|
||||
_toolchain_bin_CXX= /usr/bin/c++
|
||||
.ifdef WITH_TOOLSDIR
|
||||
TOOLSDIR?= ${HOST_OBJTOP}/tools
|
||||
|
@ -1052,7 +1052,7 @@ OLD_FILES+=usr/bin/clang
|
||||
OLD_FILES+=usr/bin/clang++
|
||||
OLD_FILES+=usr/bin/clang-cpp
|
||||
OLD_FILES+=usr/bin/clang-tblgen
|
||||
OLD_FILES+=usr/bin/tblgen
|
||||
OLD_FILES+=usr/bin/llvm-tblgen
|
||||
OLD_FILES+=usr/lib/clang/3.8.0/include/sanitizer/allocator_interface.h
|
||||
OLD_FILES+=usr/lib/clang/3.8.0/include/sanitizer/asan_interface.h
|
||||
OLD_FILES+=usr/lib/clang/3.8.0/include/sanitizer/common_interface_defs.h
|
||||
@ -1143,7 +1143,7 @@ OLD_DIRS+=usr/share/doc/llvm
|
||||
OLD_FILES+=usr/share/man/man1/clang.1.gz
|
||||
OLD_FILES+=usr/share/man/man1/clang++.1.gz
|
||||
OLD_FILES+=usr/share/man/man1/clang-cpp.1.gz
|
||||
OLD_FILES+=usr/share/man/man1/tblgen.1.gz
|
||||
OLD_FILES+=usr/share/man/man1/llvm-tblgen.1.gz
|
||||
.endif
|
||||
|
||||
.if ${MK_CLANG_EXTRAS} == no
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
SUBDIR= clang clang-tblgen tblgen
|
||||
SUBDIR= clang clang-tblgen llvm-tblgen
|
||||
|
||||
.if !defined(TOOLS_PREFIX)
|
||||
.if ${MK_CLANG_EXTRAS} != "no"
|
||||
|
@ -30,7 +30,9 @@ MLINKS+= clang.1 cc.1 \
|
||||
clang.1 cpp.1
|
||||
.endif
|
||||
|
||||
TGHDRS= DiagnosticCommonKinds \
|
||||
TGHDRS= Attributes \
|
||||
Intrinsics \
|
||||
DiagnosticCommonKinds \
|
||||
DiagnosticDriverKinds \
|
||||
DiagnosticFrontendKinds \
|
||||
DiagnosticLexKinds \
|
||||
@ -64,40 +66,39 @@ LIBDEPS=clangfrontendtool \
|
||||
clangbasic \
|
||||
llvmoption \
|
||||
llvmobjcarcopts \
|
||||
llvmlinker \
|
||||
llvmirreader \
|
||||
llvmipo \
|
||||
llvmvectorize \
|
||||
llvmbitwriter \
|
||||
llvmlinker \
|
||||
llvmirreader \
|
||||
llvmasmparser \
|
||||
llvmaarch64codegen \
|
||||
llvmaarch64asmparser \
|
||||
llvmaarch64desc \
|
||||
llvmaarch64info \
|
||||
llvmaarch64instprinter \
|
||||
llvmaarch64asmprinter \
|
||||
llvmaarch64utils \
|
||||
llvmarmdisassembler \
|
||||
llvmarmcodegen \
|
||||
llvmarmasmparser \
|
||||
llvmarmdesc \
|
||||
llvmarminfo \
|
||||
llvmarminstprinter \
|
||||
llvmarmasmprinter \
|
||||
llvmmipscodegen \
|
||||
llvmmipsasmparser \
|
||||
llvmmipsdesc \
|
||||
llvmmipsinfo \
|
||||
llvmmipsinstprinter \
|
||||
llvmmipsasmprinter \
|
||||
llvmpowerpcdisassembler \
|
||||
llvmpowerpccodegen \
|
||||
llvmpowerpcasmparser \
|
||||
llvmpowerpcdesc \
|
||||
llvmpowerpcinfo \
|
||||
llvmpowerpcinstprinter \
|
||||
llvmpowerpcasmprinter \
|
||||
llvmsparccodegen \
|
||||
llvmsparcasmparser \
|
||||
llvmsparcdesc \
|
||||
llvmsparcinfo \
|
||||
llvmsparcinstprinter \
|
||||
llvmsparcasmprinter \
|
||||
llvmx86asmparser \
|
||||
llvmx86codegen \
|
||||
llvmselectiondag \
|
||||
@ -105,11 +106,11 @@ LIBDEPS=clangfrontendtool \
|
||||
llvmcodegen \
|
||||
llvmtarget \
|
||||
llvmscalaropts \
|
||||
llvmprofiledata \
|
||||
llvminstcombine \
|
||||
llvminstrumentation \
|
||||
llvmprofiledata \
|
||||
llvmtransformutils \
|
||||
llvmipa \
|
||||
llvmbitwriter \
|
||||
llvmanalysis \
|
||||
llvmx86desc \
|
||||
llvmobject \
|
||||
@ -117,7 +118,7 @@ LIBDEPS=clangfrontendtool \
|
||||
llvmbitreader \
|
||||
llvmmcdisassembler \
|
||||
llvmx86info \
|
||||
llvmx86instprinter \
|
||||
llvmx86asmprinter \
|
||||
llvmmc \
|
||||
llvmx86utils \
|
||||
llvmcore \
|
||||
|
@ -2,12 +2,13 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PROG_CXX=tblgen
|
||||
PROG_CXX=llvm-tblgen
|
||||
|
||||
SRCDIR= utils/TableGen
|
||||
SRCS= AsmMatcherEmitter.cpp \
|
||||
AsmWriterEmitter.cpp \
|
||||
AsmWriterInst.cpp \
|
||||
Attributes.cpp \
|
||||
CTagsEmitter.cpp \
|
||||
CallingConvEmitter.cpp \
|
||||
CodeEmitterGen.cpp \
|
Loading…
Reference in New Issue
Block a user