Searched refs:aligned (Results 1 - 25 of 563) sorted by relevance

1234567891011>>

/external/clang/test/CodeGen/
H A D2009-06-14-HighlyAligned.c4 static int highly_aligned __attribute__((aligned(4096)));
H A Dfunc-aligned.c4 void foo() __attribute__((aligned (64)));
H A Dpragma-pack-2.c13 long long a __attribute__((aligned(8)));
14 long long b __attribute__((aligned(8)));
15 unsigned int c __attribute__((aligned(8)));
H A DPR5060-align.c5 static char p __attribute__((aligned(32)));
11 char p[n] __attribute__((aligned(32)));
H A Dalign-global-large.c7 volatile char x[4000] __attribute__((aligned(0x100000)));
14 volatile char y[4000] __attribute__((aligned(0x100000)));
H A Dalign-local.c3 typedef struct __attribute((aligned(16))) {int x[4];} ff;
9 struct {int x[4];} b __attribute((aligned(16)));
H A D2007-09-26-Alignment.c5 int x __attribute__ ((aligned (16)));
H A D2008-10-30-ZeroPlacement.c7 union __attribute__ ((aligned (4))) { } c[0];
H A Dvector-alignment.c15 // At or below target max alignment with no aligned attribute should align based
26 // Alignment above target max alignment with no aligned attribute should align
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;
57 // Check non-power of 2 widths with aligned attribute.
58 double __attribute__((vector_size(24), aligned(64))) v11;
60 double __attribute__((vector_size(80), aligned(16))) v12;
H A Dalignment.c3 __attribute((aligned(16))) float a[128];
4 union {int a[4]; __attribute((aligned(16))) float b[4];} b;
13 typedef int myint __attribute__((aligned(1)));
31 typedef float __attribute__((vector_size(16), aligned(4))) packedfloat4;
42 typedef float __attribute__((ext_vector_type(3), aligned(4))) packedfloat3;
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;
H A D2010-07-14-overconservative-align.c6 int filler __attribute__ ((aligned (8)));
/external/compiler-rt/test/asan/TestCases/Linux/
H A Dodr_c_test.c11 // CHECK: The following global variable is not properly aligned.
14 __attribute__((aligned(8))) int x;
15 __attribute__((aligned(1))) char y;
16 // The gold linker puts ZZZ at the start of bss (where it is aligned)
18 __attribute__((aligned(1))) char Displace[105];
19 __attribute__((aligned(1))) char ZZZ[100];
/external/clang/test/CodeGenCXX/
H A Dattr.cpp6 int foo() __attribute__((aligned(1024)));
10 virtual void bar1() __attribute__((aligned(1)));
11 virtual void bar2() __attribute__((aligned(2)));
12 virtual void bar3() __attribute__((aligned(1024)));
13 void bar4() __attribute__((aligned(1024)));
/external/clang/test/Sema/
H A Dpragma-pack-4.c9 long long a __attribute__((aligned(8)));
10 long long b __attribute__((aligned(8)));
11 unsigned int c __attribute__((aligned(8)));
H A Dattr-declspec-ignored.c3 __attribute__((visibility("hidden"))) __attribute__((aligned)) struct A; // expected-warning{{attribute 'visibility' is ignored, place it after "struct" to apply attribute to type declaration}} \
4 // expected-warning{{attribute 'aligned' is ignored, place it after "struct" to apply attribute to type declaration}}
5 __attribute__((visibility("hidden"))) __attribute__((aligned)) union B; // expected-warning{{attribute 'visibility' is ignored, place it after "union" to apply attribute to type declaration}} \
6 // expected-warning{{attribute 'aligned' is ignored, place it after "union" to apply attribute to type declaration}}
7 __attribute__((visibility("hidden"))) __attribute__((aligned)) enum C {C}; // expected-warning{{attribute 'visibility' is ignored, place it after "enum" to apply attribute to type declaration}} \
8 // expected-warning{{attribute 'aligned' is ignored, place it after "enum" to apply attribute to type declaration}}
10 __attribute__((visibility("hidden"))) __attribute__((aligned)) struct D {} d;
11 __attribute__((visibility("hidden"))) __attribute__((aligned)) union E {} e;
12 __attribute__((visibility("hidden"))) __attribute__((aligned)) enum F {F} f;
H A Dattr-aligned.c3 int x __attribute__((aligned(3))); // expected-error {{requested alignment is not a power of 2}}
4 int y __attribute__((aligned(1 << 29))); // expected-error {{requested alignment must be 268435456 bytes or smaller}}
7 int y __attribute__((aligned(1 << 28)));
10 short g0[3] __attribute__((aligned));
14 typedef char ueber_aligned_char __attribute__((aligned(8)));
27 typedef long long __attribute__((aligned(1))) underaligned_longlong;
30 typedef long long __attribute__((aligned(1))) underaligned_complex_longlong;
34 int b __attribute__((aligned(2)));
37 struct C { int member __attribute__((aligned(2))); } c;
41 struct D { int member __attribute__((aligned(
[all...]
/external/clang/test/SemaCXX/
H A Dattr-declspec-ignored.cpp4 __attribute__((visibility("hidden"))) __attribute__((aligned)) class A; // expected-warning{{attribute 'visibility' is ignored, place it after "class" to apply attribute to type declaration}} \
5 // expected-warning{{attribute 'aligned' is ignored, place it after "class" to apply attribute to type declaration}}
6 __attribute__((visibility("hidden"))) __attribute__((aligned)) struct B; // expected-warning{{attribute 'visibility' is ignored, place it after "struct" to apply attribute to type declaration}} \
7 // expected-warning{{attribute 'aligned' is ignored, place it after "struct" to apply attribute to type declaration}}
8 __attribute__((visibility("hidden"))) __attribute__((aligned)) union C; // expected-warning{{attribute 'visibility' is ignored, place it after "union" to apply attribute to type declaration}} \
9 // expected-warning{{attribute 'aligned' is ignored, place it after "union" to apply attribute to type declaration}}
10 __attribute__((visibility("hidden"))) __attribute__((aligned)) enum D {D}; // expected-warning{{attribute 'visibility' is ignored, place it after "enum" to apply attribute to type declaration}} \
11 // expected-warning{{attribute 'aligned' is ignored, place it after "enum" to apply attribute to type declaration}}
15 __attribute__((visibility("hidden"))) __attribute__((aligned)) class A {} a;
16 __attribute__((visibility("hidden"))) __attribute__((aligned)) struc
[all...]
H A Dalignment-of-derived-class.cpp8 } __attribute__ ((aligned(16)));
10 static_assert(__alignof(A) == 16, "A should be aligned to 16 bytes");
15 static_assert(__alignof(B1) == 16, "B1 should be aligned to 16 bytes");
18 } __attribute__ ((aligned(2)));
20 static_assert(__alignof(B2) == 16, "B2 should be aligned to 16 bytes");
23 } __attribute__ ((aligned(4)));
25 static_assert(__alignof(B3) == 16, "B3 should be aligned to 16 bytes");
28 } __attribute__ ((aligned(8)));
30 static_assert(__alignof(B4) == 16, "B4 should be aligned to 16 bytes");
33 } __attribute__ ((aligned(1
[all...]
H A Dattr-aligned.cpp4 typedef struct S1 { char c; } S1 __attribute__((aligned(8)));
8 typedef struct __attribute__((aligned(8))) S2 { char c; } AS;
12 typedef struct __attribute__((aligned(4))) S3 {
14 } S3 __attribute__((aligned(8)));
/external/kernel-headers/original/uapi/asm-x86/asm/
H A Dsiginfo.h7 typedef long long __kernel_si_clock_t __attribute__((aligned(4)));
9 # define __ARCH_SI_ATTRIBUTES __attribute__((aligned(8)))
H A Dstatfs.h10 #define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
/external/iptables/include/linux/netfilter/
H A Dxt_TEE.h9 struct xt_tee_priv *priv __attribute__((aligned(8)));
/external/kernel-headers/original/uapi/asm-arm/asm/
H A Dstatfs.h10 #define ARCH_PACK_STATFS64 __attribute__((packed,aligned(4)))
/external/kernel-headers/original/uapi/asm-arm64/asm/
H A Dstatfs.h20 #define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
/external/clang/test/OpenMP/
H A Dfor_simd_aligned_messages.cpp18 #pragma omp for simd aligned(B:bfoo())
21 #pragma omp for simd aligned(B::ib:B:bfoo())
23 #pragma omp for simd aligned(B:B::bfoo())
26 #pragma omp for simd aligned(z:B:bfoo())
28 #pragma omp for simd aligned(B:B::bfoo())
31 // expected-error@+1 {{argument of aligned clause should be array, pointer, reference to array or reference to pointer, not 'B'}}
32 #pragma omp for simd aligned(X::x : ::z)
35 #pragma omp for simd aligned(B,rp,::z: X::x)
37 #pragma omp for simd aligned(::z)
40 #pragma omp for simd aligned(
[all...]

Completed in 435 milliseconds

1234567891011>>