2008-09-22 09:08:49 +08:00
|
|
|
add_executable(tblgen
|
2010-04-03 12:36:43 +08:00
|
|
|
ARMDecoderEmitter.cpp
|
2009-07-12 05:53:14 +08:00
|
|
|
AsmMatcherEmitter.cpp
|
2008-09-22 09:08:49 +08:00
|
|
|
AsmWriterEmitter.cpp
|
2010-02-10 06:29:16 +08:00
|
|
|
AsmWriterInst.cpp
|
2008-09-22 09:08:49 +08:00
|
|
|
CallingConvEmitter.cpp
|
2010-05-05 12:13:08 +08:00
|
|
|
ClangASTNodesEmitter.cpp
|
2010-06-17 08:10:16 +08:00
|
|
|
ClangAttrEmitter.cpp
|
2009-03-17 01:04:14 +08:00
|
|
|
ClangDiagnosticsEmitter.cpp
|
2008-09-22 09:08:49 +08:00
|
|
|
CodeEmitterGen.cpp
|
|
|
|
CodeGenDAGPatterns.cpp
|
|
|
|
CodeGenInstruction.cpp
|
|
|
|
CodeGenTarget.cpp
|
|
|
|
DAGISelEmitter.cpp
|
2010-02-15 16:04:42 +08:00
|
|
|
DAGISelMatcherEmitter.cpp
|
|
|
|
DAGISelMatcherGen.cpp
|
2010-02-24 15:06:50 +08:00
|
|
|
DAGISelMatcherOpt.cpp
|
2010-02-15 16:04:42 +08:00
|
|
|
DAGISelMatcher.cpp
|
2009-11-25 10:13:23 +08:00
|
|
|
DisassemblerEmitter.cpp
|
2010-01-29 09:10:25 +08:00
|
|
|
EDEmitter.cpp
|
2009-03-17 01:04:14 +08:00
|
|
|
FastISelEmitter.cpp
|
2008-09-22 09:08:49 +08:00
|
|
|
InstrEnumEmitter.cpp
|
|
|
|
InstrInfoEmitter.cpp
|
|
|
|
IntrinsicEmitter.cpp
|
|
|
|
LLVMCConfigurationEmitter.cpp
|
2010-05-28 09:08:32 +08:00
|
|
|
NeonEmitter.cpp
|
2009-11-19 07:20:09 +08:00
|
|
|
OptParserEmitter.cpp
|
2008-09-22 09:08:49 +08:00
|
|
|
Record.cpp
|
|
|
|
RegisterInfoEmitter.cpp
|
|
|
|
SubtargetEmitter.cpp
|
|
|
|
TGLexer.cpp
|
|
|
|
TGParser.cpp
|
2008-11-04 01:56:27 +08:00
|
|
|
TGValueTypes.cpp
|
2008-09-22 09:08:49 +08:00
|
|
|
TableGen.cpp
|
|
|
|
TableGenBackend.cpp
|
2009-12-19 10:59:52 +08:00
|
|
|
X86DisassemblerTables.cpp
|
|
|
|
X86RecognizableInstr.cpp
|
2008-09-22 09:08:49 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(tblgen LLVMSupport LLVMSystem)
|
|
|
|
if( MINGW )
|
|
|
|
target_link_libraries(tblgen imagehlp psapi)
|
|
|
|
endif( MINGW )
|
2010-06-23 14:48:34 +08:00
|
|
|
if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD AND NOT BEOS )
|
2009-05-23 04:55:15 +08:00
|
|
|
target_link_libraries(tblgen pthread)
|
|
|
|
endif()
|