Go to the documentation of this file. 24 #ifndef PXR_BASE_ARCH_HINTS_H 25 #define PXR_BASE_ARCH_HINTS_H 27 #include "pxr/base/arch/defines.h" 39 #if defined(ARCH_COMPILER_GCC) || defined(ARCH_COMPILER_CLANG) 41 #define ARCH_LIKELY(x) (__builtin_expect((bool)(x), true)) 42 #define ARCH_UNLIKELY(x) (__builtin_expect((bool)(x), false)) 46 #define ARCH_LIKELY(x) (x) 47 #define ARCH_UNLIKELY(x) (x) 51 #endif // PXR_BASE_ARCH_HINTS_H