Taints the non-acquire RMW's store address with the load part
[oota-llvm.git] / lib / IR / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS AttributesCompatFunc.td)
2 tablegen(LLVM AttributesCompatFunc.inc -gen-attrs)
3 add_public_tablegen_target(AttributeCompatFuncTableGen)
4
5 add_llvm_library(LLVMCore
6   AsmWriter.cpp
7   Attributes.cpp
8   AutoUpgrade.cpp
9   BasicBlock.cpp
10   Comdat.cpp
11   ConstantFold.cpp
12   ConstantRange.cpp
13   Constants.cpp
14   Core.cpp
15   DIBuilder.cpp
16   DataLayout.cpp
17   DebugInfo.cpp
18   DebugInfoMetadata.cpp
19   DebugLoc.cpp
20   DiagnosticInfo.cpp
21   DiagnosticPrinter.cpp
22   Dominators.cpp
23   Function.cpp
24   GCOV.cpp
25   GVMaterializer.cpp
26   Globals.cpp
27   IRBuilder.cpp
28   IRPrintingPasses.cpp
29   InlineAsm.cpp
30   Instruction.cpp
31   Instructions.cpp
32   IntrinsicInst.cpp
33   LLVMContext.cpp
34   LLVMContextImpl.cpp
35   LegacyPassManager.cpp
36   MDBuilder.cpp
37   Mangler.cpp
38   Metadata.cpp
39   Module.cpp
40   Operator.cpp
41   Pass.cpp
42   PassManager.cpp
43   PassRegistry.cpp
44   Statepoint.cpp
45   FunctionInfo.cpp
46   Type.cpp
47   TypeFinder.cpp
48   Use.cpp
49   User.cpp
50   Value.cpp
51   ValueSymbolTable.cpp
52   ValueTypes.cpp
53   Verifier.cpp
54
55   ADDITIONAL_HEADER_DIRS
56   ${LLVM_MAIN_INCLUDE_DIR}/llvm/IR
57   )
58
59 # PR24785: Workaround for hanging compilation.
60 if( MSVC_VERSION EQUAL 1800)
61   set_property(
62     SOURCE Function.cpp
63     PROPERTY COMPILE_FLAGS "/Og-"
64     )
65 endif()
66
67 add_dependencies(LLVMCore intrinsics_gen)