def METHOD_NAME(self, ipath, opath):
    """
    Optimize a spirv module.
    Args:
        ipath: Input file path of the spirv module.
        opath: Output file path of the optimized spirv module.
    """
    flags = []
    check_call(["spirv-opt", *flags, "-o", opath, ipath])