pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git] / lib / Target / X86 / CMakeLists.txt
bloba6c97437a66bcdb135a51f0d1d356d79b368692b
1 set(LLVM_TARGET_DEFINITIONS X86.td)
3 tablegen(X86GenRegisterInfo.h.inc -gen-register-desc-header)
4 tablegen(X86GenRegisterNames.inc -gen-register-enums)
5 tablegen(X86GenRegisterInfo.inc -gen-register-desc)
6 tablegen(X86GenInstrNames.inc -gen-instr-enums)
7 tablegen(X86GenInstrInfo.inc -gen-instr-desc)
8 tablegen(X86GenAsmWriter.inc -gen-asm-writer)
9 tablegen(X86GenAsmWriter1.inc -gen-asm-writer -asmwriternum=1)
10 tablegen(X86GenAsmMatcher.inc -gen-asm-matcher)
11 tablegen(X86GenDAGISel.inc -gen-dag-isel)
12 tablegen(X86GenFastISel.inc -gen-fast-isel)
13 tablegen(X86GenCallingConv.inc -gen-callingconv)
14 tablegen(X86GenSubtarget.inc -gen-subtarget)
16 set(sources
17   X86CodeEmitter.cpp
18   X86ELFWriterInfo.cpp
19   X86FloatingPoint.cpp
20   X86FloatingPointRegKill.cpp
21   X86ISelDAGToDAG.cpp
22   X86ISelLowering.cpp
23   X86InstrInfo.cpp
24   X86JITInfo.cpp
25   X86MCAsmInfo.cpp
26   X86RegisterInfo.cpp
27   X86Subtarget.cpp
28   X86TargetMachine.cpp
29   X86TargetObjectFile.cpp
30   X86FastISel.cpp
31   )
33 if( CMAKE_CL_64 )
34   enable_language(ASM_MASM)
35   set(sources ${sources} X86CompilationCallback_Win64.asm)
36 endif()
38 add_llvm_target(X86CodeGen ${sources})
40 target_link_libraries (LLVMX86CodeGen LLVMSelectionDAG)