// RUN: %clang_cc1 -triple armv7-apple-ios -target-feature +neon %s -emit-llvm -o - | FileCheck %s
// RUN: %clang_cc1 -triple arm64-apple-ios -target-feature +neon %s -emit-llvm -o - | FileCheck %s
// RUN: %clang_cc1 -triple arm64-linux-gnu -target-feature +neon %s -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-AARCH64
// RUN: %clang_cc1 -triple arm64-linux-gnu -target-feature +neon -target-feature +bf16 %s -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-AARCH64-BF16
typedef float float32_t;
typedef double float64_t;
typedef __fp16 float16_t;
typedef unsigned char poly8_t;
typedef unsigned short poly16_t;
typedef signed char poly8_t;
typedef short poly16_t;
typedef unsigned __INT64_TYPE__ uint64_t;
typedef __bf16 bfloat16_t;
typedef int int32x2_t;
typedef int int32x4_t;
typedef uint64_t uint64x1_t;
typedef uint64_t uint64x2_t;
typedef float32_t float32x2_t;
typedef float32_t float32x4_t;
typedef float16_t float16x4_t;
typedef float16_t float16x8_t;
typedef float64_t float64x2_t;
typedef poly8_t poly8x16_t;
typedef poly16_t poly16x8_t;
typedef __bf16 bfloat16x4_t;
// CHECK: 16__simd64_int32_t
// CHECK-AARCH64: 11__Int32x2_t
void
// CHECK: 17__simd128_int32_t
// CHECK-AARCH64: 11__Int32x4_t
void
// CHECK: 17__simd64_uint64_t
// CHECK-AARCH64: 12__Uint64x1_t
void
// CHECK: 18__simd128_uint64_t
// CHECK-AARCH64: 12__Uint64x2_t
void
// CHECK: 18__simd64_float32_t
// CHECK-AARCH64: 13__Float32x2_t
void
// CHECK: 19__simd128_float32_t
// CHECK-AARCH64: 13__Float32x4_t
void
// CHECK: 18__simd64_float16_t
// CHECK-AARCH64: 13__Float16x4_t
void
// CHECK: 19__simd128_float16_t
// CHECK-AARCH64: 13__Float16x8_t
void
// CHECK: 17__simd128_poly8_t
// CHECK-AARCH64: 12__Poly8x16_t
void
// CHECK: 18__simd128_poly16_t
// CHECK-AARCH64: 12__Poly16x8_t
void
// CHECK-AARCH64: 13__Float64x2_t
void
// CHECK-AARCH64-BF16: 14__Bfloat16x4_t
void