// NOTE: File has been autogenerated by utils/aarch64_builtins_test_generator.py
// RUN: %clang_cc1 %s -fsyntax-only -triple aarch64-none-linux-gnu -target-feature +faminmax -target-feature +sme -target-feature +sve -target-feature +sve2 -verify=guard
// RUN: %clang_cc1 %s -fsyntax-only -triple aarch64-none-linux-gnu -target-feature +faminmax -target-feature +sme -target-feature +sme2 -target-feature +sve -verify
// expected-no-diagnostics

// REQUIRES: aarch64-registered-target

#include <arm_sve.h>

// Properties: guard="sve,(sve2|sme2),faminmax" streaming_guard="sme,sme2,faminmax" flags="feature-dependent"

void test(void) {
  float16_t float16_t_val;
  float32_t float32_t_val;
  float64_t float64_t_val;
  svbool_t svbool_t_val;
  svfloat16_t svfloat16_t_val;
  svfloat32_t svfloat32_t_val;
  svfloat64_t svfloat64_t_val;

  svamax_f16_m(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  svamax_f16_x(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  svamax_f16_z(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  svamax_f32_m(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  svamax_f32_x(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  svamax_f32_z(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  svamax_f64_m(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  svamax_f64_x(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  svamax_f64_z(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  svamax_m(svbool_t_val, svfloat16_t_val, float16_t_val);
  svamax_m(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  svamax_m(svbool_t_val, svfloat32_t_val, float32_t_val);
  svamax_m(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  svamax_m(svbool_t_val, svfloat64_t_val, float64_t_val);
  svamax_m(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  svamax_n_f16_m(svbool_t_val, svfloat16_t_val, float16_t_val);
  svamax_n_f16_x(svbool_t_val, svfloat16_t_val, float16_t_val);
  svamax_n_f16_z(svbool_t_val, svfloat16_t_val, float16_t_val);
  svamax_n_f32_m(svbool_t_val, svfloat32_t_val, float32_t_val);
  svamax_n_f32_x(svbool_t_val, svfloat32_t_val, float32_t_val);
  svamax_n_f32_z(svbool_t_val, svfloat32_t_val, float32_t_val);
  svamax_n_f64_m(svbool_t_val, svfloat64_t_val, float64_t_val);
  svamax_n_f64_x(svbool_t_val, svfloat64_t_val, float64_t_val);
  svamax_n_f64_z(svbool_t_val, svfloat64_t_val, float64_t_val);
  svamax_x(svbool_t_val, svfloat16_t_val, float16_t_val);
  svamax_x(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  svamax_x(svbool_t_val, svfloat32_t_val, float32_t_val);
  svamax_x(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  svamax_x(svbool_t_val, svfloat64_t_val, float64_t_val);
  svamax_x(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  svamax_z(svbool_t_val, svfloat16_t_val, float16_t_val);
  svamax_z(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  svamax_z(svbool_t_val, svfloat32_t_val, float32_t_val);
  svamax_z(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  svamax_z(svbool_t_val, svfloat64_t_val, float64_t_val);
  svamax_z(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  svamin_f16_m(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  svamin_f16_x(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  svamin_f16_z(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  svamin_f32_m(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  svamin_f32_x(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  svamin_f32_z(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  svamin_f64_m(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  svamin_f64_x(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  svamin_f64_z(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  svamin_m(svbool_t_val, svfloat16_t_val, float16_t_val);
  svamin_m(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  svamin_m(svbool_t_val, svfloat32_t_val, float32_t_val);
  svamin_m(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  svamin_m(svbool_t_val, svfloat64_t_val, float64_t_val);
  svamin_m(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  svamin_n_f16_m(svbool_t_val, svfloat16_t_val, float16_t_val);
  svamin_n_f16_x(svbool_t_val, svfloat16_t_val, float16_t_val);
  svamin_n_f16_z(svbool_t_val, svfloat16_t_val, float16_t_val);
  svamin_n_f32_m(svbool_t_val, svfloat32_t_val, float32_t_val);
  svamin_n_f32_x(svbool_t_val, svfloat32_t_val, float32_t_val);
  svamin_n_f32_z(svbool_t_val, svfloat32_t_val, float32_t_val);
  svamin_n_f64_m(svbool_t_val, svfloat64_t_val, float64_t_val);
  svamin_n_f64_x(svbool_t_val, svfloat64_t_val, float64_t_val);
  svamin_n_f64_z(svbool_t_val, svfloat64_t_val, float64_t_val);
  svamin_x(svbool_t_val, svfloat16_t_val, float16_t_val);
  svamin_x(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  svamin_x(svbool_t_val, svfloat32_t_val, float32_t_val);
  svamin_x(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  svamin_x(svbool_t_val, svfloat64_t_val, float64_t_val);
  svamin_x(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  svamin_z(svbool_t_val, svfloat16_t_val, float16_t_val);
  svamin_z(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  svamin_z(svbool_t_val, svfloat32_t_val, float32_t_val);
  svamin_z(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  svamin_z(svbool_t_val, svfloat64_t_val, float64_t_val);
  svamin_z(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
}

void test_streaming(void) __arm_streaming{
  float16_t float16_t_val;
  float32_t float32_t_val;
  float64_t float64_t_val;
  svbool_t svbool_t_val;
  svfloat16_t svfloat16_t_val;
  svfloat32_t svfloat32_t_val;
  svfloat64_t svfloat64_t_val;

  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f16_m(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f16_x(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f16_z(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f32_m(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f32_x(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f32_z(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f64_m(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f64_x(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f64_z(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_m(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_m(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_m(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_m(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_m(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_m(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f16_m(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f16_x(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f16_z(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f32_m(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f32_x(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f32_z(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f64_m(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f64_x(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f64_z(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_x(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_x(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_x(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_x(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_x(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_x(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_z(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_z(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_z(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_z(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_z(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_z(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f16_m(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f16_x(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f16_z(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f32_m(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f32_x(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f32_z(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f64_m(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f64_x(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f64_z(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_m(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_m(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_m(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_m(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_m(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_m(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f16_m(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f16_x(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f16_z(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f32_m(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f32_x(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f32_z(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f64_m(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f64_x(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f64_z(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_x(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_x(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_x(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_x(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_x(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_x(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_z(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_z(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_z(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_z(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_z(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_z(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
}

void test_streaming_compatible(void) __arm_streaming_compatible{
  float16_t float16_t_val;
  float32_t float32_t_val;
  float64_t float64_t_val;
  svbool_t svbool_t_val;
  svfloat16_t svfloat16_t_val;
  svfloat32_t svfloat32_t_val;
  svfloat64_t svfloat64_t_val;

  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f16_m(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f16_x(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f16_z(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f32_m(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f32_x(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f32_z(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f64_m(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f64_x(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_f64_z(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_m(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_m(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_m(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_m(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_m(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_m(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f16_m(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f16_x(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f16_z(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f32_m(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f32_x(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f32_z(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f64_m(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f64_x(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_n_f64_z(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_x(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_x(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_x(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_x(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_x(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_x(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_z(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_z(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_z(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_z(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_z(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamax_z(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f16_m(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f16_x(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f16_z(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f32_m(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f32_x(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f32_z(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f64_m(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f64_x(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_f64_z(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_m(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_m(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_m(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_m(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_m(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_m(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f16_m(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f16_x(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f16_z(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f32_m(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f32_x(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f32_z(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f64_m(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f64_x(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_n_f64_z(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_x(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_x(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_x(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_x(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_x(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_x(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_z(svbool_t_val, svfloat16_t_val, float16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_z(svbool_t_val, svfloat16_t_val, svfloat16_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_z(svbool_t_val, svfloat32_t_val, float32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_z(svbool_t_val, svfloat32_t_val, svfloat32_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_z(svbool_t_val, svfloat64_t_val, float64_t_val);
  // guard-error@+1 {{builtin can only be called from a non-streaming function}}
  svamin_z(svbool_t_val, svfloat64_t_val, svfloat64_t_val);
}
