1add_custom_target(MLIRUnitTests) 2set_target_properties(MLIRUnitTests PROPERTIES FOLDER "MLIR Tests") 3 4function(add_mlir_unittest test_dirname) 5 add_unittest(MLIRUnitTests ${test_dirname} ${ARGN}) 6endfunction() 7 8add_subdirectory(Analysis) 9add_subdirectory(Dialect) 10add_subdirectory(IR) 11add_subdirectory(Pass) 12add_subdirectory(SDBM) 13add_subdirectory(TableGen) 14