 |
Peano
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
25#define SWIFT_STRUCT_ALIGNMENT 32
30#define SWIFT_STRUCT_ALIGN __attribute__((aligned(SWIFT_STRUCT_ALIGNMENT)))
35#define SWIFT_CACHE_ALIGNMENT 64
40#define SWIFT_CACHE_ALIGN __attribute__((aligned(SWIFT_CACHE_ALIGNMENT)))
55#define swift_align_information(type, array, alignment) \
56 __assume_aligned(array, alignment);
57#elif (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ > 6)
58#define swift_align_information(type, array, alignment) \
59 array = (type *)__builtin_assume_aligned(array, alignment);
61#define swift_align_information(type, array, alignment) ;
76#define swift_declare_aligned_ptr(type, array, ptr, alignment) \
77 type *restrict array = ptr; \
78 swift_align_information(type, array, alignment);
91#define swift_assume_size(var, size) __assume(var % size == 0);
93#define swift_assume_size(var, size) ;