[mlir][int-range] Limit xor int range inference to i1 (#116968)
[llvm-project.git] / llvm / utils / llvm-locstats / CMakeLists.txt
blobc0e0d43a7bd78ea4c322f6449a10775451e733e2
1 if (LLVM_INCLUDE_UTILS AND LLVM_INCLUDE_TOOLS)
2   add_custom_command(
3     OUTPUT ${LLVM_TOOLS_BINARY_DIR}/llvm-locstats
4     DEPENDS ${LLVM_MAIN_SRC_DIR}/utils/llvm-locstats/llvm-locstats.py
5     DEPENDS llvm-dwarfdump
6     COMMAND ${CMAKE_COMMAND} -E copy ${LLVM_MAIN_SRC_DIR}/utils/llvm-locstats/llvm-locstats.py ${LLVM_TOOLS_BINARY_DIR}/llvm-locstats
7     COMMENT "Copying llvm-locstats into ${LLVM_TOOLS_BINARY_DIR}"
8     )
9   add_custom_target(llvm-locstats ALL
10     DEPENDS ${LLVM_TOOLS_BINARY_DIR}/llvm-locstats
11     )
12   if (NOT LLVM_BUILD_TOOLS)
13     set_target_properties(llvm-locstats PROPERTIES EXCLUDE_FROM_ALL ON)
14   endif()
15   set_target_properties(llvm-locstats PROPERTIES FOLDER "LLVM/Tools")
16 endif()