Home
last modified time | relevance | path

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

123456

/external/libcxx/test/libcxx/atomics/atomics.align/
Dalign.pass.sh.cpp69 CHECK_ALIGNMENT(int __attribute__((vector_size(1 * sizeof(int))))); in main()
70 CHECK_ALIGNMENT(int __attribute__((vector_size(2 * sizeof(int))))); in main()
71 CHECK_ALIGNMENT(int __attribute__((vector_size(4 * sizeof(int))))); in main()
72 CHECK_ALIGNMENT(int __attribute__((vector_size(16 * sizeof(int))))); in main()
73 CHECK_ALIGNMENT(int __attribute__((vector_size(32 * sizeof(int))))); in main()
74 CHECK_ALIGNMENT(float __attribute__((vector_size(1 * sizeof(float))))); in main()
75 CHECK_ALIGNMENT(float __attribute__((vector_size(2 * sizeof(float))))); in main()
76 CHECK_ALIGNMENT(float __attribute__((vector_size(4 * sizeof(float))))); in main()
77 CHECK_ALIGNMENT(float __attribute__((vector_size(16 * sizeof(float))))); in main()
78 CHECK_ALIGNMENT(float __attribute__((vector_size(32 * sizeof(float))))); in main()
[all …]
/external/clang/test/Sema/
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 …]
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;
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;
71 typedef short short_sizeof_pointer __attribute__((vector_size(sizeof(void*))));
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()
Dtypes.c56 int __attribute__ ((vector_size (8), vector_size (8))) v; // expected-error {{invalid vector eleme…
72 int __attribute__ ((vector_size(8192))) x1; // expected-error {{vector size too large}}
76 enum { e_2 } x3 __attribute__((vector_size(64))); // expected-error {{invalid vector element type}}
Dvector-ops.c2 typedef unsigned int v2u __attribute__ ((vector_size (8)));
3 typedef int v2s __attribute__ ((vector_size (8)));
4 typedef float v2f __attribute__ ((vector_size(8)));
/external/clang/test/CodeGen/
Dvector-alignment.c17 double __attribute__((vector_size(16))) v1;
21 double __attribute__((vector_size(32))) v2;
28 double __attribute__((vector_size(64))) v3;
32 double __attribute__((vector_size(1024))) v4;
38 double __attribute__((vector_size(16), aligned(16))) v5;
40 double __attribute__((vector_size(16), aligned(64))) v6;
42 double __attribute__((vector_size(32), aligned(16))) v7;
44 double __attribute__((vector_size(32), aligned(64))) v8;
48 double __attribute__((vector_size(24))) v9;
52 double __attribute__((vector_size(40))) v10;
[all …]
Dsystemz-abi-vector.c10 typedef __attribute__((vector_size(1))) char v1i8;
12 typedef __attribute__((vector_size(2))) char v2i8;
13 typedef __attribute__((vector_size(2))) short v1i16;
15 typedef __attribute__((vector_size(4))) char v4i8;
16 typedef __attribute__((vector_size(4))) short v2i16;
17 typedef __attribute__((vector_size(4))) int v1i32;
18 typedef __attribute__((vector_size(4))) float v1f32;
20 typedef __attribute__((vector_size(8))) char v8i8;
21 typedef __attribute__((vector_size(8))) short v4i16;
22 typedef __attribute__((vector_size(8))) int v2i32;
[all …]
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)));
87 typedef long long T15 __attribute__ ((vector_size (16)));
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;
253 typedef double __attribute__((vector_size (8))) t56_v1d;
254 typedef int __attribute__((vector_size (16))) t56_v4i;
[all …]
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)));
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;
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;
Dbuiltins-systemz-vector-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;
Dalignment.c31 typedef float __attribute__((vector_size(16), aligned(4))) packedfloat4;
53 typedef float __attribute__((vector_size(16), aligned(64))) float4align64;
63 typedef float __attribute__((vector_size(16), aligned(16))) float4align16;
64 typedef float __attribute__((vector_size(16), aligned(2))) float4align2;
Dvector.c11 typedef int vty __attribute((vector_size(16)));
15 typedef float vec4 __attribute__((vector_size(16)));
68 typedef int vec_int1 __attribute__((vector_size(4)));
77 typedef int vec_int2 __attribute__((vector_size(8)));
Dbuiltins-x86.c11 typedef char V8c __attribute__((vector_size(8 * sizeof(char))));
12 typedef signed short V4s __attribute__((vector_size(8)));
13 typedef signed int V2i __attribute__((vector_size(8)));
14 typedef signed long long V1LLi __attribute__((vector_size(8)));
16 typedef float V2f __attribute__((vector_size(8)));
19 typedef char V16c __attribute__((vector_size(16)));
20 typedef signed short V8s __attribute__((vector_size(16)));
21 typedef signed int V4i __attribute__((vector_size(16)));
22 typedef signed long long V2LLi __attribute__((vector_size(16)));
24 typedef float V4f __attribute__((vector_size(16)));
[all …]
Dx86_32-inline-asm.c14 typedef float __m128 __attribute__ ((vector_size (16)));
15 typedef float __m256 __attribute__ ((vector_size (32)));
16 typedef float __m512 __attribute__ ((vector_size (64)));
Dbuiltins-systemz-vector.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;
Dx86_32-arguments-nommx.c4 typedef int __attribute__((vector_size (8))) i32v2;
9 typedef int __attribute__((vector_size (16))) i32v4;
/external/libcxx/test/std/atomics/atomics.lockfree/
Disalwayslockfree.pass.cpp92 #if __has_attribute(vector_size) && defined(_LIBCPP_VERSION) in run()
93 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(1 * sizeof(int))))); in run()
94 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(2 * sizeof(int))))); in run()
95 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(4 * sizeof(int))))); in run()
96 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(16 * sizeof(int))))); in run()
97 CHECK_ALWAYS_LOCK_FREE(int __attribute__((vector_size(32 * sizeof(int))))); in run()
98 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(1 * sizeof(float))))); in run()
99 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(2 * sizeof(float))))); in run()
100 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(4 * sizeof(float))))); in run()
101 CHECK_ALWAYS_LOCK_FREE(float __attribute__((vector_size(16 * sizeof(float))))); in run()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dvector_support_library.cc26 int64 vector_size, in VectorSupportLibrary() argument
29 : vector_size_(vector_size), in VectorSupportLibrary()
36 vector_type_ = llvm::VectorType::get(scalar_type_, vector_size); in VectorSupportLibrary()
151 return llvm::VectorType::get(scalar_int_type, vector_size()); in IntegerTypeForFloatSize()
159 return b()->CreateVectorSplat(vector_size(), x, name()); in BroadcastScalar()
250 return b()->CreateVectorSplat(vector_size(), b()->CreateLoad(pointer), in LoadBroadcast()
255 llvm::SmallVector<llvm::Constant*, 32> mask(vector_size(), nullptr); in AddReduce()
256 for (unsigned i = vector_size(); i != 1; i >>= 1) { in AddReduce()
260 for (unsigned j = 0; j < vector_size(); ++j) { in AddReduce()
281 CHECK_EQ(vector_size() % 2, 0); in AvxStyleHorizontalAdd()
[all …]
/external/clang/test/CodeGenCXX/
Dattr-mode-vector-types-tmpl.cpp22 typedef int __attribute__((mode(QI))) __attribute__((vector_size(8))) VT_11; in CheckIntVectorTypes()
24 typedef int __attribute__((mode(SI))) __attribute__((vector_size(16))) VT_21; in CheckIntVectorTypes()
26 typedef int __attribute__((mode(DI))) __attribute__((vector_size(64))) VT_31; in CheckIntVectorTypes()
43 typedef float __attribute__((mode(SF))) __attribute__((vector_size(128))) VT_41; in CheckFloatVectorTypes()
45 typedef float __attribute__((mode(DF))) __attribute__((vector_size(256))) VT_51; in CheckFloatVectorTypes()
/external/elfutils/tests/
Dfuncretval_test.c37 typedef signed char __attribute__ ((vector_size (8))) vec_char_8_t;
43 typedef short __attribute__ ((vector_size (8))) vec_short_8_t;
49 typedef int __attribute__ ((vector_size (8))) vec_int_8_t;
55 typedef long __attribute__ ((vector_size (8))) vec_long_8_t;
61 typedef float __attribute__ ((vector_size (8))) vec_float_8_t;
67 typedef double __attribute__ ((vector_size (8))) vec_double_8_t;
78 typedef signed char __attribute__ ((vector_size (16))) vec_char_16_t;
84 typedef short __attribute__ ((vector_size (16))) vec_short_16_t;
90 typedef int __attribute__ ((vector_size (16))) vec_int_16_t;
96 typedef long __attribute__ ((vector_size (16))) vec_long_16_t;
[all …]
/external/mesa3d/include/CL/
Dcl_platform.h358 typedef float __cl_float4 __attribute__((vector_size(16)));
372 typedef cl_uchar __cl_uchar16 __attribute__((vector_size(16)));
373 typedef cl_char __cl_char16 __attribute__((vector_size(16)));
374 typedef cl_ushort __cl_ushort8 __attribute__((vector_size(16)));
375 typedef cl_short __cl_short8 __attribute__((vector_size(16)));
376 typedef cl_uint __cl_uint4 __attribute__((vector_size(16)));
377 typedef cl_int __cl_int4 __attribute__((vector_size(16)));
378 typedef cl_ulong __cl_ulong2 __attribute__((vector_size(16)));
379 typedef cl_long __cl_long2 __attribute__((vector_size(16)));
380 typedef cl_double __cl_double2 __attribute__((vector_size(16)));
[all …]

123456