[AMDGPU] prevent shrinking udiv/urem if either operand is in (SignedMax,UnsignedMax...
[llvm-project.git] / llvm / lib / ExecutionEngine / Orc / CMakeLists.txt
blobebfbeb990180fd36db03c9c9a9a931a159e52340
1 if (NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB)
2   set (atomic_lib atomic)
3 endif()
5 if( CMAKE_HOST_UNIX AND HAVE_LIBRT )
6   set(rt_lib rt)
7 endif()
9 add_llvm_component_library(LLVMOrcJIT
10   AbsoluteSymbols.cpp
11   COFFVCRuntimeSupport.cpp
12   COFFPlatform.cpp
13   CompileOnDemandLayer.cpp
14   CompileUtils.cpp
15   Core.cpp
16   DebugObjectManagerPlugin.cpp
17   DebugUtils.cpp
18   EPCDynamicLibrarySearchGenerator.cpp
19   EPCDebugObjectRegistrar.cpp
20   EPCEHFrameRegistrar.cpp
21   EPCGenericDylibManager.cpp
22   EPCGenericJITLinkMemoryManager.cpp
23   EPCGenericRTDyldMemoryManager.cpp
24   EPCIndirectionUtils.cpp
25   ExecutionUtils.cpp
26   ObjectFileInterface.cpp
27   IndirectionUtils.cpp
28   IRCompileLayer.cpp
29   IRTransformLayer.cpp
30   IRPartitionLayer.cpp
31   JITTargetMachineBuilder.cpp
32   LazyObjectLinkingLayer.cpp
33   LazyReexports.cpp
34   Layer.cpp
35   LoadLinkableFile.cpp
36   LookupAndRecordAddrs.cpp
37   LLJIT.cpp
38   MachO.cpp
39   MachOPlatform.cpp
40   MapperJITLinkMemoryManager.cpp
41   MemoryMapper.cpp
42   ELFNixPlatform.cpp
43   Mangling.cpp
44   ObjectLinkingLayer.cpp
45   ObjectTransformLayer.cpp
46   OrcABISupport.cpp
47   OrcV2CBindings.cpp
48   RTDyldObjectLinkingLayer.cpp
49   SectCreate.cpp
50   SimpleRemoteEPC.cpp
51   Speculation.cpp
52   SpeculateAnalyses.cpp
53   ExecutorProcessControl.cpp
54   TaskDispatch.cpp
55   ThreadSafeModule.cpp
56   RedirectionManager.cpp
57   JITLinkRedirectableSymbolManager.cpp
58   ReOptimizeLayer.cpp
59   ADDITIONAL_HEADER_DIRS
60   ${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine/Orc
62   DEPENDS
63   intrinsics_gen
65   LINK_LIBS
66   ${LLVM_PTHREAD_LIB}
67   ${rt_lib}
68   ${atomic_lib}
70   LINK_COMPONENTS
71   BinaryFormat
72   Core
73   ExecutionEngine
74   JITLink
75   Object
76   OrcShared
77   OrcTargetProcess
78   WindowsDriver
79   MC
80   Passes
81   RuntimeDyld
82   Support
83   Target
84   TargetParser
85   TransformUtils
86   )
88 add_subdirectory(Debugging)
89 add_subdirectory(Shared)
90 add_subdirectory(TargetProcess)
92 target_link_libraries(LLVMOrcJIT
93   PRIVATE
94   LLVMAnalysis
95   LLVMBitReader
96   LLVMBitWriter
97   LLVMPasses
98   )