aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm12/lib/IR/CMakeLists.txt
blob: f688a039634056c639066a4195a85f4e598fa49d (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
# This file was gererated 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_library(llvm12-lib-IR)
target_compile_options(llvm12-lib-IR PRIVATE
  -Wno-everything
)
target_include_directories(llvm12-lib-IR PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR
)
target_link_libraries(llvm12-lib-IR PUBLIC
  contrib-libs-cxxsupp
  contrib-libs-llvm12
  libs-llvm12-include
  llvm12-lib-BinaryFormat
  llvm12-lib-Remarks
  llvm12-lib-Support
)
target_sources(llvm12-lib-IR PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/AbstractCallSite.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/AsmWriter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Assumptions.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Attributes.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/AutoUpgrade.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/BasicBlock.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Comdat.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/ConstantFold.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/ConstantRange.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Constants.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Core.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/DIBuilder.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/DataLayout.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/DebugInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/DebugInfoMetadata.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/DebugLoc.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/DiagnosticHandler.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/DiagnosticInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/DiagnosticPrinter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Dominators.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/FPEnv.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Function.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/GVMaterializer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Globals.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/IRBuilder.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/IRPrintingPasses.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/InlineAsm.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Instruction.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Instructions.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/IntrinsicInst.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/LLVMContext.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/LLVMContextImpl.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/LLVMRemarkStreamer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/LegacyPassManager.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/MDBuilder.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Mangler.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Metadata.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Module.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/ModuleSummaryIndex.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Operator.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/OptBisect.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Pass.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/PassInstrumentation.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/PassManager.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/PassRegistry.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/PassTimingInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/PrintPasses.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/ProfileSummary.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/PseudoProbe.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/ReplaceConstant.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/SafepointIRVerifier.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Statepoint.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/StructuralHash.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Type.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/TypeFinder.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Use.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/User.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Value.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/ValueSymbolTable.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/IR/Verifier.cpp
)