/external/clang/test/CodeGen/ |
H A D | 2009-06-14-HighlyAligned.c | 4 static int highly_aligned __attribute__((aligned(4096)));
|
H A D | func-aligned.c | 4 void foo() __attribute__((aligned (64)));
|
H A D | pragma-pack-2.c | 13 long long a __attribute__((aligned(8))); 14 long long b __attribute__((aligned(8))); 15 unsigned int c __attribute__((aligned(8)));
|
H A D | PR5060-align.c | 5 static char p __attribute__((aligned(32))); 11 char p[n] __attribute__((aligned(32)));
|
H A D | align-global-large.c | 7 volatile char x[4000] __attribute__((aligned(0x100000))); 14 volatile char y[4000] __attribute__((aligned(0x100000)));
|
H A D | align-local.c | 3 typedef struct __attribute((aligned(16))) {int x[4];} ff; 9 struct {int x[4];} b __attribute((aligned(16)));
|
H A D | 2007-09-26-Alignment.c | 5 int x __attribute__ ((aligned (16)));
|
H A D | 2008-10-30-ZeroPlacement.c | 7 union __attribute__ ((aligned (4))) { } c[0];
|
H A D | vector-alignment.c | 15 // 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 D | alignment.c | 3 __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 D | 2010-07-14-overconservative-align.c | 6 int filler __attribute__ ((aligned (8)));
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
H A D | odr_c_test.c | 11 // 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 D | attr.cpp | 6 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 D | pragma-pack-4.c | 9 long long a __attribute__((aligned(8))); 10 long long b __attribute__((aligned(8))); 11 unsigned int c __attribute__((aligned(8)));
|
H A D | attr-declspec-ignored.c | 3 __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 D | attr-aligned.c | 3 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 D | attr-declspec-ignored.cpp | 4 __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 D | alignment-of-derived-class.cpp | 8 } __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 D | attr-aligned.cpp | 4 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 D | siginfo.h | 7 typedef long long __kernel_si_clock_t __attribute__((aligned(4))); 9 # define __ARCH_SI_ATTRIBUTES __attribute__((aligned(8)))
|
H A D | statfs.h | 10 #define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
|
/external/iptables/include/linux/netfilter/ |
H A D | xt_TEE.h | 9 struct xt_tee_priv *priv __attribute__((aligned(8)));
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
H A D | statfs.h | 10 #define ARCH_PACK_STATFS64 __attribute__((packed,aligned(4)))
|
/external/kernel-headers/original/uapi/asm-arm64/asm/ |
H A D | statfs.h | 20 #define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
|
/external/clang/test/OpenMP/ |
H A D | for_simd_aligned_messages.cpp | 18 #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...] |