Home
last modified time | relevance | path

Searched refs:aligned (Results 1 – 25 of 891) sorted by relevance

12345678910>>...36

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dattr-declspec-ignored.cpp39 __attribute__((visibility("hidden"))) __attribute__((aligned)) class A {} a;
40 __attribute__((visibility("hidden"))) __attribute__((aligned)) struct B {} b;
41 __attribute__((visibility("hidden"))) __attribute__((aligned)) union C {} c;
42 __attribute__((visibility("hidden"))) __attribute__((aligned)) enum D {D} d;
45 __attribute__((visibility("hidden"))) __attribute__((aligned)) class A {} a;
47 __attribute__((visibility("hidden"))) __attribute__((aligned)) union C {} c;
48 __attribute__((visibility("hidden"))) __attribute__((aligned)) enum D {D} d;
50 [[gnu::visibility("hidden")]] [[gnu::aligned]] class E {} e;
51 [[gnu::visibility("hidden")]] [[gnu::aligned]] struct F {} f;
52 [[gnu::visibility("hidden")]] [[gnu::aligned]] union G {} g;
[all …]
/llvm-project-15.0.7/clang/test/OpenMP/
H A Dfor_simd_aligned_messages.cpp20 #pragma omp for simd aligned(B:bfoo()) in test_aligned_colons()
39 #pragma omp for simd aligned(::z) in test_aligned_colons()
56 #pragma omp for simd aligned(arr:L) in test_template()
63 #pragma omp for simd aligned(num:4) in test_template()
134 #pragma omp for simd aligned(e, g) in foomain()
137 #pragma omp for simd aligned(h) in foomain()
140 #pragma omp for simd aligned(i) in foomain()
150 #pragma omp for simd aligned(f) in foomain()
155 #pragma omp for simd aligned(f:j) in foomain()
157 #pragma omp for simd aligned(f) in foomain()
[all …]
H A Dsimd_aligned_messages.cpp22 #pragma omp simd aligned(B:bfoo()) in test_aligned_colons()
41 #pragma omp simd aligned(::z) in test_aligned_colons()
58 #pragma omp simd aligned(arr:L) in test_template()
65 #pragma omp simd aligned(num:4) in test_template()
136 #pragma omp simd aligned(e, g) in foomain()
139 #pragma omp simd aligned(h) in foomain()
142 #pragma omp simd aligned(i) in foomain()
152 #pragma omp simd aligned(f) in foomain()
157 #pragma omp simd aligned(f:j) in foomain()
159 #pragma omp simd aligned(f) in foomain()
[all …]
H A Dtarget_simd_aligned_messages.cpp20 #pragma omp target simd aligned(B:bfoo()) in test_aligned_colons()
39 #pragma omp target simd aligned(::z) in test_aligned_colons()
56 #pragma omp target simd aligned(arr:L) in test_template()
63 #pragma omp target simd aligned(num:4) in test_template()
134 #pragma omp target simd aligned(e, g) in foomain()
137 #pragma omp target simd aligned(h) in foomain()
140 #pragma omp target simd aligned(i) in foomain()
150 #pragma omp target simd aligned(f) in foomain()
155 #pragma omp target simd aligned(f:j) in foomain()
157 #pragma omp target simd aligned(f) in foomain()
[all …]
H A Dtarget_parallel_for_simd_aligned_messages.cpp20 #pragma omp target parallel for simd aligned(B:bfoo()) in test_aligned_colons()
39 #pragma omp target parallel for simd aligned(::z) in test_aligned_colons()
56 #pragma omp target parallel for simd aligned(arr:L) in test_template()
63 #pragma omp target parallel for simd aligned(num:4) in test_template()
134 #pragma omp target parallel for simd aligned(e, g) in foomain()
137 #pragma omp target parallel for simd aligned(h) in foomain()
140 #pragma omp target parallel for simd aligned(i) in foomain()
150 #pragma omp target parallel for simd aligned(f) in foomain()
155 #pragma omp target parallel for simd aligned(f:j) in foomain()
157 #pragma omp target parallel for simd aligned(f) in foomain()
[all …]
H A Dparallel_for_simd_aligned_messages.cpp20 #pragma omp parallel for simd aligned(B:bfoo()) in test_aligned_colons()
39 #pragma omp parallel for simd aligned(::z) in test_aligned_colons()
56 #pragma omp parallel for simd aligned(arr:L) in test_template()
63 #pragma omp parallel for simd aligned(num:4) in test_template()
134 #pragma omp parallel for simd aligned(e, g) in foomain()
137 #pragma omp parallel for simd aligned(h) in foomain()
140 #pragma omp parallel for simd aligned(i) in foomain()
150 #pragma omp parallel for simd aligned(f) in foomain()
155 #pragma omp parallel for simd aligned(f:j) in foomain()
157 #pragma omp parallel for simd aligned(f) in foomain()
[all …]
H A Dmaster_taskloop_simd_aligned_messages.cpp20 #pragma omp master taskloop simd aligned(B:bfoo()) in test_aligned_colons()
39 #pragma omp master taskloop simd aligned(::z) in test_aligned_colons()
56 #pragma omp master taskloop simd aligned(arr:L) in test_template()
63 #pragma omp master taskloop simd aligned(num:4) in test_template()
137 #pragma omp master taskloop simd aligned(h) in foomain()
140 #pragma omp master taskloop simd aligned(i) in foomain()
150 #pragma omp master taskloop simd aligned(f) in foomain()
155 #pragma omp master taskloop simd aligned(f:j) in foomain()
157 #pragma omp master taskloop simd aligned(f) in foomain()
193 #pragma omp master taskloop simd aligned(a, b) in main()
[all …]
H A Dmasked_taskloop_simd_aligned_messages.cpp20 #pragma omp masked taskloop simd aligned(B:bfoo()) in test_aligned_colons()
39 #pragma omp masked taskloop simd aligned(::z) in test_aligned_colons()
56 #pragma omp masked taskloop simd aligned(arr:L) in test_template()
63 #pragma omp masked taskloop simd aligned(num:4) in test_template()
137 #pragma omp masked taskloop simd aligned(h) in foomain()
140 #pragma omp masked taskloop simd aligned(i) in foomain()
150 #pragma omp masked taskloop simd aligned(f) in foomain()
155 #pragma omp masked taskloop simd aligned(f:j) in foomain()
157 #pragma omp masked taskloop simd aligned(f) in foomain()
194 #pragma omp masked taskloop simd aligned(a, b) in main()
[all …]
H A Dtaskloop_simd_aligned_messages.cpp20 #pragma omp taskloop simd aligned(B:bfoo()) in test_aligned_colons()
39 #pragma omp taskloop simd aligned(::z) in test_aligned_colons()
56 #pragma omp taskloop simd aligned(arr:L) in test_template()
63 #pragma omp taskloop simd aligned(num:4) in test_template()
134 #pragma omp taskloop simd aligned(e, g) in foomain()
137 #pragma omp taskloop simd aligned(h) in foomain()
140 #pragma omp taskloop simd aligned(i) in foomain()
150 #pragma omp taskloop simd aligned(f) in foomain()
155 #pragma omp taskloop simd aligned(f:j) in foomain()
157 #pragma omp taskloop simd aligned(f) in foomain()
[all …]
H A Dparallel_master_taskloop_simd_aligned_messages.cpp20 #pragma omp parallel master taskloop simd aligned(B:bfoo()) in test_aligned_colons()
39 #pragma omp parallel master taskloop simd aligned(::z) in test_aligned_colons()
56 #pragma omp parallel master taskloop simd aligned(arr:L) in test_template()
63 #pragma omp parallel master taskloop simd aligned(num:4) in test_template()
137 #pragma omp parallel master taskloop simd aligned(h) in foomain()
140 #pragma omp parallel master taskloop simd aligned(i) in foomain()
150 #pragma omp parallel master taskloop simd aligned(f) in foomain()
155 #pragma omp parallel master taskloop simd aligned(f:j) in foomain()
157 #pragma omp parallel master taskloop simd aligned(f) in foomain()
193 #pragma omp parallel master taskloop simd aligned(a, b) in main()
[all …]
H A Dparallel_masked_taskloop_simd_aligned_messages.cpp20 #pragma omp parallel masked taskloop simd aligned(B:bfoo()) in test_aligned_colons()
39 #pragma omp parallel masked taskloop simd aligned(::z) in test_aligned_colons()
56 #pragma omp parallel masked taskloop simd aligned(arr:L) in test_template()
63 #pragma omp parallel masked taskloop simd aligned(num:4) in test_template()
137 #pragma omp parallel masked taskloop simd aligned(h) in foomain()
140 #pragma omp parallel masked taskloop simd aligned(i) in foomain()
150 #pragma omp parallel masked taskloop simd aligned(f) in foomain()
155 #pragma omp parallel masked taskloop simd aligned(f:j) in foomain()
157 #pragma omp parallel masked taskloop simd aligned(f) in foomain()
193 #pragma omp parallel masked taskloop simd aligned(a, b) in main()
[all …]
H A Dtarget_teams_distribute_parallel_for_simd_aligned_messages.cpp21 #pragma omp target teams distribute parallel for simd aligned(B:bfoo()) in test_aligned_colons()
27 #pragma omp target teams distribute parallel for simd aligned(B:B::bfoo()) in test_aligned_colons()
33 #pragma omp target teams distribute parallel for simd aligned(B:B::bfoo()) in test_aligned_colons()
42 #pragma omp target teams distribute parallel for simd aligned(::z) in test_aligned_colons()
119 #pragma omp target teams distribute parallel for simd aligned // expected-error {{expected '(' afte… in foomain()
125 #pragma omp target teams distribute parallel for simd aligned () // expected-error {{expected expre… in foomain()
147 #pragma omp target teams distribute parallel for simd aligned(e, g) in foomain()
160 #pragma omp target teams distribute parallel for simd aligned(v:16) in foomain()
165 #pragma omp target teams distribute parallel for simd aligned(f) in foomain()
174 #pragma omp target teams distribute parallel for simd aligned(f) in foomain()
[all …]
H A Dtarget_teams_distribute_simd_aligned_messages.cpp21 #pragma omp target teams distribute simd aligned(B:bfoo()) in test_aligned_colons()
27 #pragma omp target teams distribute simd aligned(B:B::bfoo()) in test_aligned_colons()
33 #pragma omp target teams distribute simd aligned(B:B::bfoo()) in test_aligned_colons()
42 #pragma omp target teams distribute simd aligned(::z) in test_aligned_colons()
119 #pragma omp target teams distribute simd aligned // expected-error {{expected '(' after 'aligned'}} in foomain()
125 #pragma omp target teams distribute simd aligned () // expected-error {{expected expression}} in foomain()
147 #pragma omp target teams distribute simd aligned(e, g) in foomain()
160 #pragma omp target teams distribute simd aligned(v:16) in foomain()
165 #pragma omp target teams distribute simd aligned(f) in foomain()
174 #pragma omp target teams distribute simd aligned(f) in foomain()
[all …]
H A Ddistribute_simd_aligned_messages.cpp23 #pragma omp distribute simd aligned(B:bfoo()) in test_aligned_colons()
33 #pragma omp distribute simd aligned(B:B::bfoo()) in test_aligned_colons()
43 #pragma omp distribute simd aligned(B:B::bfoo()) in test_aligned_colons()
58 #pragma omp distribute simd aligned(::z) in test_aligned_colons()
145 #pragma omp distribute simd aligned // expected-error {{expected '(' after 'aligned'}} in foomain()
155 #pragma omp distribute simd aligned () // expected-error {{expected expression}} in foomain()
191 #pragma omp distribute simd aligned(e, g) in foomain()
210 #pragma omp distribute simd aligned(v:16) in foomain()
217 #pragma omp distribute simd aligned(f) in foomain()
230 #pragma omp distribute simd aligned(f) in foomain()
[all …]
H A Dteams_distribute_simd_aligned_messages.cpp23 #pragma omp teams distribute simd aligned(B:bfoo()) in test_aligned_colons()
31 #pragma omp teams distribute simd aligned(B:B::bfoo()) in test_aligned_colons()
39 #pragma omp teams distribute simd aligned(B:B::bfoo()) in test_aligned_colons()
51 #pragma omp teams distribute simd aligned(::z) in test_aligned_colons()
134 #pragma omp teams distribute simd aligned // expected-error {{expected '(' after 'aligned'}} in foomain()
142 #pragma omp teams distribute simd aligned () // expected-error {{expected expression}} in foomain()
171 #pragma omp teams distribute simd aligned(e, g) in foomain()
187 #pragma omp teams distribute simd aligned(v:16) in foomain()
193 #pragma omp teams distribute simd aligned(f) in foomain()
204 #pragma omp teams distribute simd aligned(f) in foomain()
[all …]
H A Dteams_distribute_parallel_for_simd_aligned_messages.cpp22 #pragma omp teams distribute parallel for simd aligned(B:bfoo()) in test_aligned_colons()
30 #pragma omp teams distribute parallel for simd aligned(B:B::bfoo()) in test_aligned_colons()
38 #pragma omp teams distribute parallel for simd aligned(B:B::bfoo()) in test_aligned_colons()
50 #pragma omp teams distribute parallel for simd aligned(::z) in test_aligned_colons()
133 #pragma omp teams distribute parallel for simd aligned // expected-error {{expected '(' after 'alig… in foomain()
141 #pragma omp teams distribute parallel for simd aligned () // expected-error {{expected expression}} in foomain()
170 #pragma omp teams distribute parallel for simd aligned(e, g) in foomain()
186 #pragma omp teams distribute parallel for simd aligned(v:16) in foomain()
192 #pragma omp teams distribute parallel for simd aligned(f) in foomain()
203 #pragma omp teams distribute parallel for simd aligned(f) in foomain()
[all …]
H A Ddistribute_parallel_for_simd_aligned_messages.cpp23 #pragma omp distribute parallel for simd aligned(B:bfoo()) in test_aligned_colons()
33 #pragma omp distribute parallel for simd aligned(B:B::bfoo()) in test_aligned_colons()
43 #pragma omp distribute parallel for simd aligned(B:B::bfoo()) in test_aligned_colons()
58 #pragma omp distribute parallel for simd aligned(::z) in test_aligned_colons()
145 #pragma omp distribute parallel for simd aligned // expected-error {{expected '(' after 'aligned'}} in foomain()
155 #pragma omp distribute parallel for simd aligned () // expected-error {{expected expression}} in foomain()
191 #pragma omp distribute parallel for simd aligned(e, g) in foomain()
210 #pragma omp distribute parallel for simd aligned(v:16) in foomain()
217 #pragma omp distribute parallel for simd aligned(f) in foomain()
230 #pragma omp distribute parallel for simd aligned(f) in foomain()
[all …]
H A Ddeclare_simd_messages.cpp118 #pragma omp declare simd aligned
122 #pragma omp declare simd aligned(
124 #pragma omp declare simd aligned()
128 #pragma omp declare simd aligned(a:
130 #pragma omp declare simd aligned(a:)
133 #pragma omp declare simd aligned :)
137 #pragma omp declare simd aligned(this
143 #pragma omp declare simd aligned(, b)
148 #pragma omp declare simd aligned(b) aligned(b ; 64)
151 #pragma omp declare simd aligned(b) aligned(b: 64)
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dtypedef_alignment_mismatch_warning.cpp9 typedef __attribute__((aligned(2))) int Aligned2Int;
10 typedef __attribute__((aligned(8))) int Aligned8Int;
47 int __attribute__((aligned(8))) Aligned8Member; in test1_byvalue()
63 int __attribute__((aligned(8))) Aligned8Member; in test2()
82 int __attribute__((aligned(8))) Aligned8Member; in test2_byvalue()
110 struct __attribute__((aligned(8))) StructAligned8 { in test5()
125 struct __attribute__((aligned(8))) StructAligned8 { in test6()
156 struct __attribute__((aligned(8))) StructAligned8 { in test7()
185 struct __attribute__((aligned(8))) StructAligned8 { in test8()
238 struct __attribute__((aligned(8))) test9Struct {
[all …]
H A Daarch64-varargs.c472 typedef struct __attribute__((packed,aligned(2))) {
506 typedef struct __attribute__((aligned(16))) {
539 typedef struct __attribute__((packed,aligned(2))) {
572 typedef struct __attribute__((aligned(16))) {
605 typedef struct __attribute__((packed,aligned(2))) {
639 typedef struct __attribute__((aligned(32))) {
676 int val __attribute__((packed,aligned(2)));
710 int val __attribute__((aligned(16)));
782 long long val __attribute__((aligned(16)));
821 __int128 val __attribute__((packed,aligned(2)));
[all …]
H A Darm-varargs.c97 typedef int underaligned_int __attribute__((packed,aligned(2)));
109 typedef int overaligned_int __attribute__((aligned(32)));
137 typedef long long overaligned_long_long __attribute__((aligned(32)));
165 typedef struct __attribute__((packed,aligned(2))) {
184 typedef struct __attribute__((aligned(16))) {
200 typedef struct __attribute__((packed,aligned(2))) {
216 typedef struct __attribute__((aligned(16))) {
240 int val __attribute__((packed,aligned(2)));
259 int val __attribute__((aligned(16)));
279 long long val __attribute__((packed,aligned(2)));
[all …]
H A Dvector-alignment.c46 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;
54 typedef __attribute__((ext_vector_type(256), aligned(128))) _Bool v8b_type;
74 double __attribute__((vector_size(24), aligned(64))) v11;
76 double __attribute__((vector_size(80), aligned(16))) v12;
78 typedef __attribute__((ext_vector_type(248), aligned(4))) _Bool v12b_type;
/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-aligned.c5 int y __attribute__((aligned(1ull << 32)));
8 int y __attribute__((aligned(1 << 29)));
9 int y __attribute__((aligned(1 << 28)));
12 short g0[3] __attribute__((aligned));
16 typedef char ueber_aligned_char __attribute__((aligned(8)));
29 typedef long long __attribute__((aligned(1))) underaligned_longlong;
32 typedef long long __attribute__((aligned(1))) underaligned_complex_longlong;
36 int b __attribute__((aligned(2)));
39 struct C { int member __attribute__((aligned(2))); } c;
52 typedef char overaligned_char __attribute__((aligned(16)));
[all …]
H A Dattr-declspec-ignored.c3 __attribute__((visibility("hidden"))) __attribute__((aligned)) struct A; // expected-warning{{attr…
5 __attribute__((visibility("hidden"))) __attribute__((aligned)) union B; // expected-warning{{attri…
7 __attribute__((visibility("hidden"))) __attribute__((aligned)) enum C {C}; // expected-warning{{at…
12 …__attribute__((visibility("hidden"))) __attribute__((aligned)) struct A; // expected-warning{{att… in func()
14 …__attribute__((visibility("hidden"))) __attribute__((aligned)) union B; // expected-warning{{attr… in func()
16 …__attribute__((visibility("hidden"))) __attribute__((aligned)) enum C {C}; // expected-warning{{a… in func()
20 __attribute__((visibility("hidden"))) __attribute__((aligned)) struct D {} d;
21 __attribute__((visibility("hidden"))) __attribute__((aligned)) union E {} e;
22 __attribute__((visibility("hidden"))) __attribute__((aligned)) enum F {F} f;
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dverify-gfx90a-aligned-vgprs.mir40 # Well-aligned subregister indexes are OK
64 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
65 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
66 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
72 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
73 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
74 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
75 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
82 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
83 ; CHECK: *** Bad machine code: Subtarget requires even aligned vector registers ***
[all …]

12345678910>>...36