aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm12/lib/Target/X86/CMakeLists.darwin-x86_64.txt
blob: aaa8d6337dacc02881d8d1737e6490a1d3b37a29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.


add_subdirectory(AsmParser)
add_subdirectory(Disassembler)
add_subdirectory(MCTargetDesc)
add_subdirectory(TargetInfo)

add_library(lib-Target-X86)
target_compile_options(lib-Target-X86 PRIVATE
  $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(lib-Target-X86 PRIVATE
  ${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Target/X86
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86
)
target_link_libraries(lib-Target-X86 PUBLIC
  contrib-libs-cxxsupp
  contrib-libs-llvm12
  libs-llvm12-include
  llvm12-lib-Analysis
  llvm12-lib-CodeGen
  lib-CodeGen-AsmPrinter
  lib-CodeGen-GlobalISel
  lib-CodeGen-SelectionDAG
  llvm12-lib-IR
  llvm12-lib-MC
  llvm12-lib-ProfileData
  llvm12-lib-Support
  llvm12-lib-Target
  Target-X86-MCTargetDesc
  Target-X86-TargetInfo
  lib-Transforms-CFGuard
)
target_sources(lib-Target-X86 PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86AsmPrinter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86AvoidTrailingCall.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86CallFrameOptimization.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86CallLowering.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86CallingConv.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86CmovConversion.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86DiscriminateMemOps.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86DomainReassignment.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86EvexToVex.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86ExpandPseudo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86FastISel.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86FixupBWInsts.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86FixupLEAs.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86FixupSetCC.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86FlagsCopyLowering.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86FloatingPoint.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86FrameLowering.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86ISelDAGToDAG.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86ISelLowering.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86IndirectBranchTracking.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86IndirectThunks.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86InsertPrefetch.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86InsertWait.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86InstCombineIntrinsic.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86InstrFMA3Info.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86InstrFoldTables.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86InstrInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86InstructionSelector.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86InterleavedAccess.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86LegalizerInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86LoadValueInjectionRetHardening.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86LowerAMXType.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86MCInstLower.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86MachineFunctionInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86MacroFusion.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86OptimizeLEAs.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86PadShortFunction.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86PartialReduction.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86PreTileConfig.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86RegisterBankInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86RegisterInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86SelectionDAGInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86ShuffleDecodeConstantPool.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86SpeculativeExecutionSideEffectSuppression.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86SpeculativeLoadHardening.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86Subtarget.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86TargetMachine.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86TargetObjectFile.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86TargetTransformInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86TileConfig.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86VZeroUpper.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86WinAllocaExpander.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/X86WinEHState.cpp
)