[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / utils / llvm-locstats / CMakeLists.txt
bloba919023e141e97add098de39ab172e52bf41aa51
1 if (LLVM_BUILD_UTILS AND LLVM_BUILD_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     COMMAND ${CMAKE_COMMAND} -E copy ${LLVM_MAIN_SRC_DIR}/utils/llvm-locstats/llvm-locstats.py ${LLVM_TOOLS_BINARY_DIR}/llvm-locstats
6     COMMENT "Copying llvm-locstats into ${LLVM_TOOLS_BINARY_DIR}"
7     )
8   add_custom_target(llvm-locstats ALL
9     DEPENDS ${LLVM_TOOLS_BINARY_DIR}/llvm-locstats
10     )
11   set_target_properties(llvm-locstats PROPERTIES FOLDER "Tools")
12 endif()