3 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 # See https://llvm.org/LICENSE.txt for license information.
5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 # Script for reporting current level of SPIR-V spec instruction coverage in spv
8 # Dialect. It dumps to standard output a YAML string of current coverage.
11 # ./report_coverage.sh
15 current_file
="$(readlink -f "$0")"
16 current_dir
="$(dirname "$current_file")"
18 python3
${current_dir}/gen_spirv_dialect.py \
19 --base-td-path ${current_dir}/..
/..
/include
/mlir
/Dialect
/SPIRV
/IR
/SPIRVBase.td \