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