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