Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
macros.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VULPES_ALWAYS_INLINE   __attribute__((always_inline))
 Force the compiler to inline the annotated function.
#define VULPES_LIKELY(x)
 Branch hint: x is expected to evaluate to true.
#define VULPES_UNLIKELY(x)
 Branch hint: x is expected to evaluate to false.

Macro Definition Documentation

◆ VULPES_ALWAYS_INLINE

#define VULPES_ALWAYS_INLINE   __attribute__((always_inline))

Force the compiler to inline the annotated function.

◆ VULPES_LIKELY

#define VULPES_LIKELY ( x)
Value:
(__builtin_expect(!!(x), 1))

Branch hint: x is expected to evaluate to true.

◆ VULPES_UNLIKELY

#define VULPES_UNLIKELY ( x)
Value:
(__builtin_expect(!!(x), 0))

Branch hint: x is expected to evaluate to false.