def METHOD_NAME(self) -> None:
    HOST_MACHINE = builder.identifier('host_machine', '')
    cases = [
        ('target_os = "windows"',
         builder.equal(builder.method('system', HOST_MACHINE),
                       builder.string('windows', ''))),
        ('target_arch = "x86"',
         builder.equal(builder.method('cpu_family', HOST_MACHINE),
                       builder.string('x86', ''))),
        ('target_family = "unix"',
         builder.equal(builder.method('system', HOST_MACHINE),
                       builder.string('unix', ''))),
        ('not(target_arch = "x86")',
         builder.not_(builder.equal(
            builder.method('cpu_family', HOST_MACHINE),
            builder.string('x86', '')), '')),
        ('any(target_arch = "x86", target_arch = "x86_64")',
         builder.or_(
            builder.equal(builder.method('cpu_family', HOST_MACHINE),
                          builder.string('x86', '')),
            builder.equal(builder.method('cpu_family', HOST_MACHINE),
                          builder.string('x86_64', '')))),
        ('any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64")',
         builder.or_(
            builder.equal(builder.method('cpu_family', HOST_MACHINE),
                          builder.string('x86', '')),
            builder.or_(
                builder.equal(builder.method('cpu_family', HOST_MACHINE),
                              builder.string('x86_64', '')),
                builder.equal(builder.method('cpu_family', HOST_MACHINE),
                              builder.string('aarch64', ''))))),
        ('all(target_arch = "x86", target_arch = "x86_64")',
         builder.and_(
            builder.equal(builder.method('cpu_family', HOST_MACHINE),
                          builder.string('x86', '')),
            builder.equal(builder.method('cpu_family', HOST_MACHINE),
                          builder.string('x86_64', '')))),
        ('all(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64")',
         builder.and_(
            builder.equal(builder.method('cpu_family', HOST_MACHINE),
                          builder.string('x86', '')),
            builder.and_(
                builder.equal(builder.method('cpu_family', HOST_MACHINE),
                              builder.string('x86_64', '')),
                builder.equal(builder.method('cpu_family', HOST_MACHINE),
                              builder.string('aarch64', ''))))),
    ]
    for data, expected in cases:
        with self.subTest():
            value = cfg.ir_to_meson(cfg.parse(iter(cfg.lexer(data)), ''))
            self.assertEqual(value, expected)