[flang][cuda] Adapt ExternalNameConversion to work in gpu module (#117039)
[llvm-project.git] / clang / test / AST / ast-dump-aarch64-sve-types.c
blob386133e05b1d13da967ba840ee0a792109934aaf
1 // Test without serialization:
2 // RUN: %clang_cc1 -triple aarch64-linux-gnu -ast-dump \
3 // RUN: -ast-dump-filter __SV %s | FileCheck %s
4 //
5 // Test with serialization:
6 // RUN: %clang_cc1 -triple aarch64-linux-gnu -emit-pch -o %t %s
7 // RUN: %clang_cc1 -x c -triple aarch64-linux-gnu -include-pch %t \
8 // RUN: -ast-dump-all -ast-dump-filter __SV /dev/null \
9 // RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
10 // RUN: | FileCheck %s
12 // CHECK: TypedefDecl {{.*}} implicit __SVInt8_t '__SVInt8_t'
13 // CHECK-NEXT: -BuiltinType {{.*}} '__SVInt8_t'
15 // CHECK: TypedefDecl {{.*}} implicit __SVInt16_t '__SVInt16_t'
16 // CHECK-NEXT: -BuiltinType {{.*}} '__SVInt16_t'
18 // CHECK: TypedefDecl {{.*}} implicit __SVInt32_t '__SVInt32_t'
19 // CHECK-NEXT: -BuiltinType {{.*}} '__SVInt32_t'
21 // CHECK: TypedefDecl {{.*}} implicit __SVInt64_t '__SVInt64_t'
22 // CHECK-NEXT: -BuiltinType {{.*}} '__SVInt64_t'
24 // CHECK: TypedefDecl {{.*}} implicit __SVUint8_t '__SVUint8_t'
25 // CHECK-NEXT: -BuiltinType {{.*}} '__SVUint8_t'
27 // CHECK: TypedefDecl {{.*}} implicit __SVUint16_t '__SVUint16_t'
28 // CHECK-NEXT: -BuiltinType {{.*}} '__SVUint16_t'
30 // CHECK: TypedefDecl {{.*}} implicit __SVUint32_t '__SVUint32_t'
31 // CHECK-NEXT: -BuiltinType {{.*}} '__SVUint32_t'
33 // CHECK: TypedefDecl {{.*}} implicit __SVUint64_t '__SVUint64_t'
34 // CHECK-NEXT: -BuiltinType {{.*}} '__SVUint64_t'
36 // CHECK: TypedefDecl {{.*}} implicit __SVFloat16_t '__SVFloat16_t'
37 // CHECK-NEXT: -BuiltinType {{.*}} '__SVFloat16_t'
39 // CHECK: TypedefDecl {{.*}} implicit __SVFloat32_t '__SVFloat32_t'
40 // CHECK-NEXT: -BuiltinType {{.*}} '__SVFloat32_t'
42 // CHECK: TypedefDecl {{.*}} implicit __SVFloat64_t '__SVFloat64_t'
43 // CHECK-NEXT: -BuiltinType {{.*}} '__SVFloat64_t'
45 // CHECK: TypedefDecl {{.*}} implicit __SVBfloat16_t '__SVBfloat16_t'
46 // CHECK-NEXT: -BuiltinType {{.*}} '__SVBfloat16_t'
48 // CHECK: TypedefDecl {{.*}} implicit __SVMfloat8_t '__SVMfloat8_t'
49 // CHECK-NEXT: -BuiltinType {{.*}} '__SVMfloat8_t'
51 // CHECK: TypedefDecl {{.*}} implicit __SVBool_t '__SVBool_t'
52 // CHECK-NEXT: -BuiltinType {{.*}} '__SVBool_t'
54 // CHECK: TypedefDecl {{.*}} implicit __SVCount_t '__SVCount_t'
55 // CHECK-NEXT: -BuiltinType {{.*}} '__SVCount_t'