libfoedus-core
FOEDUS Core Library
compiler.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LIKELY(x)    __builtin_expect(!!(x), 1)
 Hints that x is highly likely true. More...
 
#define UNLIKELY(x)    __builtin_expect(!!(x), 0)
 Hints that x is highly likely false. More...
 
#define NO_INLINE   __attribute__((noinline))
 A function suffix to hint that the function should never be inlined. More...
 
#define ALWAYS_INLINE   __attribute__((always_inline))
 A function suffix to hint that the function should always be inlined. More...
 
#define MAY_ALIAS   __attribute__((__may_alias__))
 Wraps GCC's attribute((may_alias)). More...
 
#define RESTRICT_ALIAS   __restrict
 Wraps GCC's __restrict. More...
 
#define ASSUME_ALIGNED(x, y)   __builtin_assume_aligned(x, y)
 Wraps GCC's __builtin_assume_aligned. More...