[mlir][linalg] Add support for masked vectorization of `tensor.insert_slice` (1/N...
[llvm-project.git] / llvm / lib / CMakeLists.txt
blobf6465612d30c0b46bafc14005322742d2efe8414
1 include(LLVM-Build)
3 # `Demangle', `Support' and `TableGen' libraries are added on the top-level
4 # CMakeLists.txt
6 add_subdirectory(IR)
7 add_subdirectory(FuzzMutate)
8 add_subdirectory(FileCheck)
9 add_subdirectory(InterfaceStub)
10 add_subdirectory(IRPrinter)
11 add_subdirectory(IRReader)
12 add_subdirectory(CGData)
13 add_subdirectory(CodeGen)
14 add_subdirectory(CodeGenTypes)
15 add_subdirectory(BinaryFormat)
16 add_subdirectory(Bitcode)
17 add_subdirectory(Bitstream)
18 add_subdirectory(DWARFLinker)
19 add_subdirectory(Extensions)
20 add_subdirectory(Frontend)
21 add_subdirectory(Transforms)
22 add_subdirectory(Linker)
23 add_subdirectory(Analysis)
24 add_subdirectory(LTO)
25 add_subdirectory(MC)
26 add_subdirectory(MCA)
27 add_subdirectory(ObjCopy)
28 add_subdirectory(Object)
29 add_subdirectory(ObjectYAML)
30 add_subdirectory(Option)
31 add_subdirectory(Remarks)
32 add_subdirectory(Debuginfod)
33 add_subdirectory(DebugInfo)
34 add_subdirectory(DWP)
35 add_subdirectory(ExecutionEngine)
36 add_subdirectory(Target)
37 add_subdirectory(SandboxIR)
38 add_subdirectory(AsmParser)
39 add_subdirectory(LineEditor)
40 add_subdirectory(ProfileData)
41 add_subdirectory(Passes)
42 add_subdirectory(TargetParser)
43 add_subdirectory(TextAPI)
44 add_subdirectory(Telemetry)
45 add_subdirectory(ToolDrivers)
46 add_subdirectory(XRay)
47 if (LLVM_INCLUDE_TESTS)
48   add_subdirectory(Testing)
49 endif()
50 add_subdirectory(WindowsDriver)
51 add_subdirectory(WindowsManifest)
53 set(LLVMCONFIGLIBRARYDEPENDENCIESINC "${LLVM_BINARY_DIR}/tools/llvm-config/LibraryDependencies.inc")
55 # Special components which don't have any source attached but aggregate other
56 # components
57 add_llvm_component_group(all-targets LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD})
58 add_llvm_component_group(Engine)
60 # The native target may not be enabled when cross compiling
61 if(TARGET ${LLVM_NATIVE_ARCH})
62   add_llvm_component_group(Native LINK_COMPONENTS ${LLVM_NATIVE_ARCH})
63   add_llvm_component_group(NativeCodeGen LINK_COMPONENTS ${LLVM_NATIVE_ARCH}CodeGen)
64 else()
65   add_llvm_component_group(Native)
66   add_llvm_component_group(NativeCodeGen)
67 endif()
69 # Component post-processing
70 LLVMBuildResolveComponentsLink()
71 LLVMBuildGenerateCFragment(OUTPUT ${LLVMCONFIGLIBRARYDEPENDENCIESINC})