[MemorySSA] Report unoptimized as None, not MayAlias.
[llvm-project.git] / llvm / cmake / modules / LLVMConfig.cmake.in
blob4453020cf4da4e798ea0c502848c8a647c2ad6cd
1 # This file provides information and services to the final user.
3 @LLVM_CONFIG_CODE@
5 set(LLVM_VERSION_MAJOR @LLVM_VERSION_MAJOR@)
6 set(LLVM_VERSION_MINOR @LLVM_VERSION_MINOR@)
7 set(LLVM_VERSION_PATCH @LLVM_VERSION_PATCH@)
8 set(LLVM_VERSION_SUFFIX @LLVM_VERSION_SUFFIX@)
9 set(LLVM_PACKAGE_VERSION @PACKAGE_VERSION@)
10 set(LLVM_PACKAGE_BUGREPORT @PACKAGE_BUGREPORT@)
12 set(LLVM_BUILD_TYPE @CMAKE_BUILD_TYPE@)
14 set(LLVM_USE_CRT_DEBUG @LLVM_USE_CRT_DEBUG@)
15 set(LLVM_USE_CRT_MINSIZEREL @LLVM_USE_CRT_MINSIZEREL@)
16 set(LLVM_USE_CRT_RELEASE @LLVM_USE_CRT_RELEASE@)
17 set(LLVM_USE_CRT_RELWITHDEBINFO @LLVM_USE_CRT_RELWITHDEBINFO@)
19 set(LLVM_COMMON_DEPENDS @LLVM_COMMON_DEPENDS@)
21 set(LLVM_AVAILABLE_LIBS @LLVM_AVAILABLE_LIBS@)
23 @LLVM_CONFIG_LINK_LLVM_DYLIB@
25 set(LLVM_DYLIB_COMPONENTS @LLVM_DYLIB_COMPONENTS@)
27 set(LLVM_ALL_TARGETS @LLVM_ALL_TARGETS@)
29 set(LLVM_TARGETS_TO_BUILD @LLVM_TARGETS_TO_BUILD@)
31 set(LLVM_TARGETS_WITH_JIT @LLVM_TARGETS_WITH_JIT@)
33 @all_llvm_lib_deps@
35 set(TARGET_TRIPLE "@TARGET_TRIPLE@")
37 set(LLVM_ABI_BREAKING_CHECKS @LLVM_ABI_BREAKING_CHECKS@)
39 set(LLVM_ENABLE_EXPENSIVE_CHECKS @LLVM_ENABLE_EXPENSIVE_CHECKS@)
41 set(LLVM_ENABLE_ASSERTIONS @LLVM_ENABLE_ASSERTIONS@)
43 set(LLVM_ENABLE_EH @LLVM_ENABLE_EH@)
45 set(LLVM_ENABLE_RTTI @LLVM_ENABLE_RTTI@)
47 set(LLVM_ENABLE_TERMINFO @LLVM_ENABLE_TERMINFO@)
49 set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@)
51 set(LLVM_ENABLE_UNWIND_TABLES @LLVM_ENABLE_UNWIND_TABLES@)
53 set(LLVM_ENABLE_ZLIB @LLVM_ENABLE_ZLIB@)
54 if(LLVM_ENABLE_ZLIB)
55   find_package(ZLIB)
56 endif()
58 set(LLVM_ENABLE_LIBXML2 @LLVM_ENABLE_LIBXML2@)
59 if(LLVM_ENABLE_LIBXML2)
60   find_package(LibXml2)
61 endif()
63 set(LLVM_WITH_Z3 @LLVM_WITH_Z3@)
65 set(LLVM_ENABLE_DIA_SDK @LLVM_ENABLE_DIA_SDK@)
67 set(LLVM_NATIVE_ARCH @LLVM_NATIVE_ARCH@)
69 set(LLVM_ENABLE_PIC @LLVM_ENABLE_PIC@)
71 set(LLVM_BUILD_32_BITS @LLVM_BUILD_32_BITS@)
73 if (NOT "@LLVM_PTHREAD_LIB@" STREQUAL "")
74   set(LLVM_PTHREAD_LIB "@LLVM_PTHREAD_LIB@")
75 endif()
77 set(LLVM_ENABLE_PLUGINS @LLVM_ENABLE_PLUGINS@)
78 set(LLVM_EXPORT_SYMBOLS_FOR_PLUGINS @LLVM_EXPORT_SYMBOLS_FOR_PLUGINS@)
79 set(LLVM_PLUGIN_EXT @LLVM_PLUGIN_EXT@)
81 set(LLVM_ON_UNIX @LLVM_ON_UNIX@)
83 set(LLVM_LIBDIR_SUFFIX @LLVM_LIBDIR_SUFFIX@)
85 set(LLVM_INCLUDE_DIRS "@LLVM_CONFIG_INCLUDE_DIRS@")
86 set(LLVM_LIBRARY_DIRS "@LLVM_CONFIG_LIBRARY_DIRS@")
88 set(LLVM_APPEND_VC_REV "@LLVM_APPEND_VC_REV@")
90 # These variables are duplicated for install tree but they have different
91 # values for build tree.  LLVM_INCLUDE_DIRS contains both source
92 # and generated include directories while the following variables have
93 # them split.
94 set(LLVM_INCLUDE_DIR "@LLVM_CONFIG_INCLUDE_DIR@")
95 set(LLVM_MAIN_INCLUDE_DIR "@LLVM_CONFIG_MAIN_INCLUDE_DIR@")
96 set(LLVM_LIBRARY_DIR "@LLVM_CONFIG_LIBRARY_DIRS@")
98 set(LLVM_DEFINITIONS "@LLVM_DEFINITIONS@")
99 set(LLVM_CMAKE_DIR "@LLVM_CONFIG_CMAKE_DIR@")
100 set(LLVM_BINARY_DIR "@LLVM_CONFIG_BINARY_DIR@")
101 set(LLVM_TOOLS_BINARY_DIR "@LLVM_CONFIG_TOOLS_BINARY_DIR@")
102 set(LLVM_TOOLS_INSTALL_DIR "@LLVM_TOOLS_INSTALL_DIR@")
103 set(LLVM_DEFAULT_EXTERNAL_LIT "@LLVM_CONFIG_DEFAULT_EXTERNAL_LIT@")
104 set(LLVM_HAVE_OPT_VIEWER_MODULES @LLVM_HAVE_OPT_VIEWER_MODULES@)
105 set(LLVM_CONFIGURATION_TYPES @CMAKE_CONFIGURATION_TYPES@)
106 set(LLVM_ENABLE_SHARED_LIBS @BUILD_SHARED_LIBS@)
108 if(NOT TARGET LLVMSupport)
109   set(LLVM_EXPORTED_TARGETS "@LLVM_CONFIG_EXPORTS@")
110   include("@LLVM_CONFIG_EXPORTS_FILE@")
111   @llvm_config_include_buildtree_only_exports@
112 endif()
114 # By creating intrinsics_gen, omp_gen and acc_gen here, subprojects that depend
115 # on LLVM's tablegen-generated headers can always depend on this target whether
116 # building in-tree with LLVM or not.
117 if(NOT TARGET intrinsics_gen)
118   add_custom_target(intrinsics_gen)
119 endif()
120 if(NOT TARGET omp_gen)
121   add_custom_target(omp_gen)
122 endif()
123 if(NOT TARGET acc_gen)
124   add_custom_target(acc_gen)
125 endif()
127 set_property(GLOBAL PROPERTY LLVM_TARGETS_CONFIGURED On)
128 include(${LLVM_CMAKE_DIR}/LLVM-Config.cmake)