1 // RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-cpu pwr10 \ 2 // RUN: -ast-dump -ast-dump-filter __vector %s | FileCheck %s 3 // RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-cpu pwr9 \ 4 // RUN: -ast-dump -ast-dump-filter __vector %s | FileCheck %s 5 // RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-cpu pwr8 \ 6 // RUN: -ast-dump -ast-dump-filter __vector %s | FileCheck %s 7 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump %s | FileCheck %s \ 8 // RUN: --check-prefix=CHECK-X86_64 9 // RUN: %clang_cc1 -triple arm-unknown-unknown -ast-dump %s | FileCheck %s \ 10 // RUN: --check-prefix=CHECK-ARM 11 // RUN: %clang_cc1 -triple riscv64-unknown-unknown -ast-dump %s | FileCheck %s \ 12 // RUN: --check-prefix=CHECK-RISCV64 13 14 // This test case checks that the PowerPC __vector_pair and __vector_quad types 15 // are correctly defined. We also added checks on a couple of other targets to 16 // ensure the types are target-dependent. 17 18 // CHECK: TypedefDecl {{.*}} implicit __vector_quad '__vector_quad' 19 // CHECK-NEXT: -BuiltinType {{.*}} '__vector_quad' 20 // CHECK: TypedefDecl {{.*}} implicit __vector_pair '__vector_pair' 21 // CHECK-NEXT: -BuiltinType {{.*}} '__vector_pair' 22 23 // CHECK-X86_64-NOT: __vector_quad 24 // CHECK-X86_64-NOT: __vector_pair 25 26 // CHECK-ARM-NOT: __vector_quad 27 // CHECK-ARM-NOT: __vector_pair 28 29 // CHECK-RISCV64-NOT: __vector_quad 30 // CHECK-RISCV64-NOT: __vector_pair 31