Home
last modified time | relevance | path

Searched refs:vector_size (Results 1 – 25 of 181) sorted by relevance

12345678

/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-mode-vector-types.c4 typedef int __attribute__((mode(byte))) __attribute__((vector_size(256))) vec_t1;
5 typedef int __attribute__((mode(QI))) __attribute__((vector_size(256))) vec_t2;
6 typedef int __attribute__((mode(SI))) __attribute__((vector_size(256))) vec_t3;
7 typedef int __attribute__((mode(DI))) __attribute__((vector_size(256)))vec_t4;
8 typedef float __attribute__((mode(SF))) __attribute__((vector_size(256))) vec_t5;
9 typedef float __attribute__((mode(DF))) __attribute__((vector_size(256))) vec_t6;
10 typedef float __attribute__((mode(XF))) __attribute__((vector_size(256))) vec_t7;
12 typedef int v8qi __attribute__ ((mode(QI))) __attribute__ ((vector_size(8)));
18 typedef float v4sf __attribute__((mode(SF))) __attribute__ ((vector_size(16)));
21 typedef float __attribute__((mode(QC))) __attribute__((vector_size(256))) vec_t8;
[all …]
H A Dvector-init.c4 typedef float float4 __attribute__((vector_size(16)));
20 __attribute__((vector_size(16))) float f1(void) { in f1()
21 __attribute__((vector_size(16))) float vec = {0.0f, 0.0f, 0.0f}; in f1()
25 __attribute__((vector_size(16))) float f2( in f2()
26 __attribute__((vector_size(16))) float a1) { in f2()
37 typedef long long __attribute__((vector_size(16))) longlong2;
38 typedef short __attribute__((vector_size(16))) short8;
39 typedef short __attribute__((vector_size(8))) short4;
48 typedef double float64x1_t __attribute__((vector_size(8)));
51 typedef float float32x1_t __attribute__((vector_size(4)));
H A Dvecshift.c20 typedef __attribute__((vector_size(8))) char vector_char8;
21 typedef __attribute__((vector_size(16))) short vector_short8;
22 typedef __attribute__((vector_size(32))) int vector_int8;
23 typedef __attribute__((vector_size(8))) unsigned char vector_uchar8;
25 typedef __attribute__((vector_size(32))) unsigned int vector_uint8;
26 typedef __attribute__((vector_size(4))) char vector_char4;
27 typedef __attribute__((vector_size(4))) short vector_short4;
28 typedef __attribute__((vector_size(16))) int vector_int4;
29 typedef __attribute__((vector_size(4))) unsigned char vector_uchar4;
30 typedef __attribute__((vector_size(8))) unsigned short vector_ushort4;
[all …]
H A Dtypes.c58 int __attribute__ ((vector_size (8), vector_size (8))) v; // expected-error {{invalid vector eleme…
74 int __attribute__((vector_size(123456))) v1;
75 int __attribute__((vector_size(0x1000000000))) v2; // expected-error {{vector size too larg…
76 int __attribute__((vector_size((__int128_t)1 << 100))) v3; // expected-error {{vector size too larg…
77 int __attribute__((vector_size(0))) v4; // expected-error {{zero vector size}}
80 typedef int __attribute__((vector_size((__int128_t)1 << 100))) e3; // expected-error {{vector size …
84 enum { e_2 } x3 __attribute__((vector_size(64))); // expected-error {{invalid vector element type}}
H A Dvector-gcc-compat.c5 typedef long long v2i64 __attribute__((vector_size(16)));
6 typedef int v2i32 __attribute__((vector_size(8)));
7 typedef short v2i16 __attribute__((vector_size(4)));
8 typedef char v2i8 __attribute__((vector_size(2)));
11 typedef unsigned int v2u32 __attribute__((vector_size(8)));
13 typedef unsigned char v2u8 __attribute__((vector_size(2)));
15 typedef float v4f32 __attribute__((vector_size(16)));
16 typedef double v2f64 __attribute__((vector_size(16)));
17 typedef double v4f64 __attribute__((vector_size(32)));
18 typedef int v4i32 __attribute((vector_size(16)));
[all …]
H A Dvector-cast.c3 typedef long long t1 __attribute__ ((vector_size (8)));
4 typedef char t2 __attribute__ ((vector_size (16)));
5 typedef float t3 __attribute__ ((vector_size (16)));
6 typedef short s2 __attribute__ ((vector_size(4)));
47 typedef float float2 __attribute__ ((vector_size (8)));
48 typedef __attribute__((vector_size(8))) double float64x1_t;
49 typedef __attribute__((vector_size(16))) double float64x2_t;
72 typedef short short_sizeof_pointer __attribute__((vector_size(sizeof(void*))));
H A Dvector-assign.c2 typedef unsigned int v2u __attribute__ ((vector_size (8)));
3 typedef signed int v2s __attribute__ ((vector_size (8)));
4 typedef signed int v1s __attribute__ ((vector_size (4)));
5 typedef float v2f __attribute__ ((vector_size(8)));
6 typedef signed short v4ss __attribute__ ((vector_size (8)));
42 float test2(__attribute__((vector_size(16))) float a, int b) { in test2()
/llvm-project-15.0.7/libcxx/test/libcxx/atomics/atomics.align/
H A Dalign.pass.cpp84 CHECK_ALIGNMENT(int __attribute__((vector_size(1 * sizeof(int))))); in main()
85 CHECK_ALIGNMENT(int __attribute__((vector_size(2 * sizeof(int))))); in main()
86 CHECK_ALIGNMENT(int __attribute__((vector_size(4 * sizeof(int))))); in main()
87 CHECK_ALIGNMENT(int __attribute__((vector_size(16 * sizeof(int))))); in main()
88 CHECK_ALIGNMENT(int __attribute__((vector_size(32 * sizeof(int))))); in main()
89 CHECK_ALIGNMENT(float __attribute__((vector_size(1 * sizeof(float))))); in main()
90 CHECK_ALIGNMENT(float __attribute__((vector_size(2 * sizeof(float))))); in main()
91 CHECK_ALIGNMENT(float __attribute__((vector_size(4 * sizeof(float))))); in main()
92 CHECK_ALIGNMENT(float __attribute__((vector_size(16 * sizeof(float))))); in main()
93 CHECK_ALIGNMENT(float __attribute__((vector_size(32 * sizeof(float))))); in main()
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dvector-alignment.c17 double __attribute__((vector_size(16))) v1;
21 double __attribute__((vector_size(32))) v2;
31 double __attribute__((vector_size(64))) v3;
35 double __attribute__((vector_size(1024))) v4;
46 double __attribute__((vector_size(16), aligned(16))) v5;
48 double __attribute__((vector_size(16), aligned(64))) v6;
50 double __attribute__((vector_size(32), aligned(16))) v7;
52 double __attribute__((vector_size(32), aligned(64))) v8;
59 double __attribute__((vector_size(24))) v9;
63 double __attribute__((vector_size(40))) v10;
[all …]
H A Dvecshift.c18 typedef __attribute__((vector_size(8))) char vector_char8;
19 typedef __attribute__((vector_size(16))) short vector_short8;
20 typedef __attribute__((vector_size(32))) int vector_int8;
21 typedef __attribute__((vector_size(8))) unsigned char vector_uchar8;
23 typedef __attribute__((vector_size(32))) unsigned int vector_uint8;
24 typedef __attribute__((vector_size(4))) char vector_char4;
25 typedef __attribute__((vector_size(4))) short vector_short4;
26 typedef __attribute__((vector_size(16))) int vector_int4;
27 typedef __attribute__((vector_size(4))) unsigned char vector_uchar4;
28 typedef __attribute__((vector_size(8))) unsigned short vector_ushort4;
[all …]
H A Dattr-mode-vector-types.c3 typedef int __attribute__((mode(byte))) __attribute__((vector_size(4))) vec_t1;
4 typedef int __attribute__((mode(QI))) __attribute__((vector_size(8))) vec_t2;
5 typedef int __attribute__((mode(SI))) __attribute__((vector_size(16))) vec_t3;
6 typedef int __attribute__((mode(DI))) __attribute__((vector_size(64)))vec_t4;
7 typedef float __attribute__((mode(SF))) __attribute__((vector_size(128))) vec_t5;
8 typedef float __attribute__((mode(DF))) __attribute__((vector_size(256))) vec_t6;
/llvm-project-15.0.7/clang/test/Modules/
H A Dodr_hash-vector.cpp39 __attribute((vector_size(8))) int x;
42 __attribute((vector_size(8))) int x;
45 __attribute((vector_size(16))) int x;
48 __attribute((vector_size(8))) int x1;
49 __attribute((vector_size(16))) int x2;
51 __attribute((vector_size(16))) long x4;
57 __attribute((vector_size(16))) int x;
60 __attribute((vector_size(8))) unsigned x;
66 __attribute((vector_size(8))) int x1;
67 __attribute((vector_size(16))) int x2;
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/SystemZ/
H A Dsystemz-abi-vector.c24 typedef __attribute__((vector_size(1))) char v1i8;
26 typedef __attribute__((vector_size(2))) char v2i8;
27 typedef __attribute__((vector_size(2))) short v1i16;
29 typedef __attribute__((vector_size(4))) char v4i8;
30 typedef __attribute__((vector_size(4))) short v2i16;
31 typedef __attribute__((vector_size(4))) int v1i32;
32 typedef __attribute__((vector_size(4))) float v1f32;
34 typedef __attribute__((vector_size(8))) char v8i8;
35 typedef __attribute__((vector_size(8))) short v4i16;
36 typedef __attribute__((vector_size(8))) int v2i32;
[all …]
H A Dbuiltins-systemz-vector3-error.c5 typedef __attribute__((vector_size(16))) signed char vec_schar;
6 typedef __attribute__((vector_size(16))) signed short vec_sshort;
7 typedef __attribute__((vector_size(16))) signed int vec_sint;
8 typedef __attribute__((vector_size(16))) signed long long vec_slong;
9 typedef __attribute__((vector_size(16))) unsigned char vec_uchar;
10 typedef __attribute__((vector_size(16))) unsigned short vec_ushort;
11 typedef __attribute__((vector_size(16))) unsigned int vec_uint;
12 typedef __attribute__((vector_size(16))) unsigned long long vec_ulong;
13 typedef __attribute__((vector_size(16))) double vec_double;
14 typedef __attribute__((vector_size(16))) float vec_float;
H A Dbuiltins-systemz-vector4.c5 typedef __attribute__((vector_size(16))) signed char vec_schar;
6 typedef __attribute__((vector_size(16))) signed short vec_sshort;
7 typedef __attribute__((vector_size(16))) signed int vec_sint;
8 typedef __attribute__((vector_size(16))) signed long long vec_slong;
9 typedef __attribute__((vector_size(16))) unsigned char vec_uchar;
10 typedef __attribute__((vector_size(16))) unsigned short vec_ushort;
11 typedef __attribute__((vector_size(16))) unsigned int vec_uint;
12 typedef __attribute__((vector_size(16))) unsigned long long vec_ulong;
13 typedef __attribute__((vector_size(16))) double vec_double;
14 typedef __attribute__((vector_size(16))) float vec_float;
H A Dbuiltins-systemz-vector4-error.c5 typedef __attribute__((vector_size(16))) signed char vec_schar;
6 typedef __attribute__((vector_size(16))) signed short vec_sshort;
7 typedef __attribute__((vector_size(16))) signed int vec_sint;
8 typedef __attribute__((vector_size(16))) signed long long vec_slong;
9 typedef __attribute__((vector_size(16))) unsigned char vec_uchar;
10 typedef __attribute__((vector_size(16))) unsigned short vec_ushort;
11 typedef __attribute__((vector_size(16))) unsigned int vec_uint;
12 typedef __attribute__((vector_size(16))) unsigned long long vec_ulong;
13 typedef __attribute__((vector_size(16))) double vec_double;
14 typedef __attribute__((vector_size(16))) float vec_float;
H A Dbuiltins-systemz-vector3.c5 typedef __attribute__((vector_size(16))) signed char vec_schar;
6 typedef __attribute__((vector_size(16))) signed short vec_sshort;
7 typedef __attribute__((vector_size(16))) signed int vec_sint;
8 typedef __attribute__((vector_size(16))) signed long long vec_slong;
9 typedef __attribute__((vector_size(16))) unsigned char vec_uchar;
10 typedef __attribute__((vector_size(16))) unsigned short vec_ushort;
11 typedef __attribute__((vector_size(16))) unsigned int vec_uint;
12 typedef __attribute__((vector_size(16))) unsigned long long vec_ulong;
13 typedef __attribute__((vector_size(16))) double vec_double;
14 typedef __attribute__((vector_size(16))) float vec_float;
H A Dbuiltins-systemz-vector2-error.c5 typedef __attribute__((vector_size(16))) signed char vec_schar;
6 typedef __attribute__((vector_size(16))) signed short vec_sshort;
7 typedef __attribute__((vector_size(16))) signed int vec_sint;
8 typedef __attribute__((vector_size(16))) signed long long vec_slong;
9 typedef __attribute__((vector_size(16))) unsigned char vec_uchar;
10 typedef __attribute__((vector_size(16))) unsigned short vec_ushort;
11 typedef __attribute__((vector_size(16))) unsigned int vec_uint;
12 typedef __attribute__((vector_size(16))) unsigned long long vec_ulong;
13 typedef __attribute__((vector_size(16))) double vec_double;
14 typedef __attribute__((vector_size(16))) float vec_float;
H A Dbuiltins-systemz-vector2.c5 typedef __attribute__((vector_size(16))) signed char vec_schar;
6 typedef __attribute__((vector_size(16))) signed short vec_sshort;
7 typedef __attribute__((vector_size(16))) signed int vec_sint;
8 typedef __attribute__((vector_size(16))) signed long long vec_slong;
9 typedef __attribute__((vector_size(16))) unsigned char vec_uchar;
10 typedef __attribute__((vector_size(16))) unsigned short vec_ushort;
11 typedef __attribute__((vector_size(16))) unsigned int vec_uint;
12 typedef __attribute__((vector_size(16))) unsigned long long vec_ulong;
13 typedef __attribute__((vector_size(16))) double vec_double;
14 typedef __attribute__((vector_size(16))) float vec_float;
/llvm-project-15.0.7/libcxx/test/std/atomics/atomics.lockfree/
H A Disalwayslockfree.pass.cpp61 #if __has_attribute(vector_size) && defined(_LIBCPP_VERSION) in run()
62 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(1 * sizeof(int))))); in run()
63 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(2 * sizeof(int))))); in run()
64 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(4 * sizeof(int))))); in run()
65 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(16 * sizeof(int))))); in run()
66 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(32 * sizeof(int))))); in run()
67 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(1 * sizeof(float))))); in run()
68 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(2 * sizeof(float))))); in run()
69 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(4 * sizeof(float))))); in run()
70 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(16 * sizeof(float))))); in run()
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/X86/
H A Dx86_32-arguments-darwin.c79 typedef short T11 __attribute__ ((vector_size (4)));
81 typedef int T12 __attribute__ ((vector_size (8)));
83 typedef long long T13 __attribute__ ((vector_size (8)));
85 typedef double T14 __attribute__ ((vector_size (8)));
89 typedef double T16 __attribute__ ((vector_size (16)));
157 typedef int v39 __attribute((vector_size(16)));
252 typedef int __attribute__((vector_size (8))) t56_v2i;
297 typedef int T61 __attribute((vector_size(16)));
302 typedef int T62 __attribute((vector_size(16)));
310 typedef int T63 __attribute((vector_size(16)));
[all …]
H A Dx86-vec-i128.c22 typedef unsigned long long v16u64 __attribute__((vector_size(16)));
23 typedef unsigned __int128 v16u128 __attribute__((vector_size(16)));
31 typedef unsigned long long v32u64 __attribute__((vector_size(32)));
32 typedef unsigned __int128 v32u128 __attribute__((vector_size(32)));
42 typedef unsigned long long v64u64 __attribute__((vector_size(64)));
43 typedef unsigned __int128 v64u128 __attribute__((vector_size(64)));
H A Dx86_32-arguments-linux.c26 typedef int __attribute__((vector_size (8))) t56_v2i;
27 typedef double __attribute__((vector_size (8))) t56_v1d;
28 typedef int __attribute__((vector_size (16))) t56_v4i;
29 typedef double __attribute__((vector_size (16))) t56_v2d;
30 typedef int __attribute__((vector_size (32))) t56_v8i;
31 typedef double __attribute__((vector_size (32))) t56_v4d;
/llvm-project-15.0.7/clang/test/CodeGen/PowerPC/
H A Dppc64-vector.c3 typedef short v2i16 __attribute__((vector_size (4)));
4 typedef short v3i16 __attribute__((vector_size (6)));
5 typedef short v4i16 __attribute__((vector_size (8)));
6 typedef short v6i16 __attribute__((vector_size (12)));
7 typedef short v8i16 __attribute__((vector_size (16)));
8 typedef short v16i16 __attribute__((vector_size (32)));
/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-APValue-vector.cpp14 constexpr int __attribute__((vector_size(sizeof(int) * 1))) v1i = {1}; in Test()
20 constexpr int __attribute__((vector_size(sizeof(int) * 4))) v4i = {1, 2, 3, 4}; in Test()
25 constexpr int __attribute__((vector_size(sizeof(int) * 5))) v5i = {1, 2, 3, 4}; in Test()
31 constexpr int __attribute__((vector_size(sizeof(int) * 8))) v8i = {1, 2, 3, 4}; in Test()
37 constexpr int __attribute__((vector_size(sizeof(int) * 9))) v9i = {1, 2, 3, 4}; in Test()

12345678