1 set(LLVM_TARGET_DEFINITIONS X86.td)
3 tablegen(X86GenRegisterInfo.inc -gen-register-info)
4 tablegen(X86GenDisassemblerTables.inc -gen-disassembler)
5 tablegen(X86GenInstrInfo.inc -gen-instr-info)
6 tablegen(X86GenAsmWriter.inc -gen-asm-writer)
7 tablegen(X86GenAsmWriter1.inc -gen-asm-writer -asmwriternum=1)
8 tablegen(X86GenAsmMatcher.inc -gen-asm-matcher)
9 tablegen(X86GenDAGISel.inc -gen-dag-isel)
10 tablegen(X86GenFastISel.inc -gen-fast-isel)
11 tablegen(X86GenCallingConv.inc -gen-callingconv)
12 tablegen(X86GenSubtargetInfo.inc -gen-subtarget)
13 tablegen(X86GenEDInfo.inc -gen-enhanced-disassembly-info)
19 X86COFFMachineModuleInfo.cpp
29 X86MachObjectWriter.cpp
34 X86SelectionDAGInfo.cpp
37 X86TargetObjectFile.cpp
41 # A workaround for a bug in cmake 2.8.3. See PR 8885.
42 if( CMAKE_VERSION STREQUAL "2.8.3" )
43 include(CMakeDetermineCompilerId)
46 enable_language(ASM_MASM)
48 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj
49 MAIN_DEPENDENCY X86CompilationCallback_Win64.asm
50 COMMAND ${CMAKE_ASM_MASM_COMPILER} /Fo ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj /c ${CMAKE_CURRENT_SOURCE_DIR}/X86CompilationCallback_Win64.asm
52 set(sources ${sources} ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj)
55 add_llvm_target(X86CodeGen ${sources})
57 add_subdirectory(AsmParser)
58 add_subdirectory(Disassembler)
59 add_subdirectory(InstPrinter)
60 add_subdirectory(MCTargetDesc)
61 add_subdirectory(TargetInfo)
62 add_subdirectory(Utils)