1PROG_CXX= llvm-tblgen 2MAN= 3 4SRCDIR= llvm/utils/TableGen 5SRCS+= ARMTargetDefEmitter.cpp 6SRCS+= AsmMatcherEmitter.cpp 7SRCS+= AsmWriterEmitter.cpp 8SRCS+= Attributes.cpp 9SRCS+= Basic/CodeGenIntrinsics.cpp 10SRCS+= Basic/SDNodeProperties.cpp 11SRCS+= CTagsEmitter.cpp 12SRCS+= CallingConvEmitter.cpp 13SRCS+= CodeEmitterGen.cpp 14SRCS+= CodeGenMapTable.cpp 15SRCS+= Common/AsmWriterInst.cpp 16SRCS+= Common/CodeGenDAGPatterns.cpp 17SRCS+= Common/CodeGenHwModes.cpp 18SRCS+= Common/CodeGenInstAlias.cpp 19SRCS+= Common/CodeGenInstruction.cpp 20SRCS+= Common/CodeGenRegisters.cpp 21SRCS+= Common/CodeGenSchedule.cpp 22SRCS+= Common/CodeGenTarget.cpp 23SRCS+= Common/DAGISelMatcher.cpp 24SRCS+= Common/GlobalISel/CodeExpander.cpp 25SRCS+= Common/GlobalISel/CombinerUtils.cpp 26SRCS+= Common/GlobalISel/CXXPredicates.cpp 27SRCS+= Common/GlobalISel/GlobalISelMatchTable.cpp 28SRCS+= Common/GlobalISel/GlobalISelMatchTableExecutorEmitter.cpp 29SRCS+= Common/GlobalISel/PatternParser.cpp 30SRCS+= Common/GlobalISel/Patterns.cpp 31SRCS+= Common/InfoByHwMode.cpp 32SRCS+= Common/OptEmitter.cpp 33SRCS+= Common/PredicateExpander.cpp 34SRCS+= Common/SubtargetFeatureInfo.cpp 35SRCS+= Common/Types.cpp 36SRCS+= Common/VarLenCodeEmitterGen.cpp 37SRCS+= CompressInstEmitter.cpp 38SRCS+= DAGISelEmitter.cpp 39SRCS+= DAGISelMatcherEmitter.cpp 40SRCS+= DAGISelMatcherGen.cpp 41SRCS+= DAGISelMatcherOpt.cpp 42SRCS+= DFAEmitter.cpp 43SRCS+= DFAPacketizerEmitter.cpp 44SRCS+= DXILEmitter.cpp 45SRCS+= DecoderEmitter.cpp 46SRCS+= DirectiveEmitter.cpp 47SRCS+= DisassemblerEmitter.cpp 48SRCS+= ExegesisEmitter.cpp 49SRCS+= FastISelEmitter.cpp 50SRCS+= GlobalISelCombinerEmitter.cpp 51SRCS+= GlobalISelEmitter.cpp 52SRCS+= InstrDocsEmitter.cpp 53SRCS+= InstrInfoEmitter.cpp 54SRCS+= IntrinsicEmitter.cpp 55SRCS+= MacroFusionPredicatorEmitter.cpp 56SRCS+= OptParserEmitter.cpp 57SRCS+= OptRSTEmitter.cpp 58SRCS+= PseudoLoweringEmitter.cpp 59SRCS+= RISCVTargetDefEmitter.cpp 60SRCS+= RegisterBankEmitter.cpp 61SRCS+= RegisterInfoEmitter.cpp 62SRCS+= SearchableTableEmitter.cpp 63SRCS+= SubtargetEmitter.cpp 64SRCS+= TableGen.cpp 65SRCS+= VTEmitter.cpp 66SRCS+= WebAssemblyDisassemblerEmitter.cpp 67SRCS+= X86DisassemblerTables.cpp 68SRCS+= X86FoldTablesEmitter.cpp 69SRCS+= X86InstrMappingEmitter.cpp 70SRCS+= X86MnemonicTables.cpp 71SRCS+= X86ModRMFilters.cpp 72SRCS+= X86RecognizableInstr.cpp 73 74CFLAGS+= -I${LLVM_BASE}/${SRCDIR} 75CFLAGS+= -I${.OBJDIR} 76 77.include "${SRCTOP}/lib/clang/llvm.pre.mk" 78 79llvm/CodeGen/GenVT.inc: ${LLVM_SRCS}/include/llvm/CodeGen/ValueTypes.td 80 ${LLVM_MIN_TBLGEN} -gen-vt \ 81 -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \ 82 ${LLVM_SRCS}/include/llvm/CodeGen/ValueTypes.td 83TGHDRS+= llvm/CodeGen/GenVT.inc 84 85DEPENDFILES+= ${TGHDRS:C/$/.d/} 86DPSRCS+= ${TGHDRS} 87CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/} 88CLEANFILES+= ${GENSRCS} ${GENSRCS:C/$/.d/} 89 90.include "../llvm.prog.mk" 91