#ifndef LLVM_LIBC_SRC___SUPPORT_MACROS_OPTIMIZATION_H
#define LLVM_LIBC_SRC___SUPPORT_MACROS_OPTIMIZATION_H
#include "src/__support/macros/attributes.h"
#include "src/__support/macros/config.h"
#include "src/__support/macros/properties/compiler.h"
namespace LIBC_NAMESPACE_DECL {
namespace details {
template <typename T>
LIBC_INLINE constexpr bool expects_bool_condition(T value, T expected) { … }
}
}
#define LIBC_LIKELY(x) …
#define LIBC_UNLIKELY(x) …
#if defined(LIBC_COMPILER_IS_CLANG)
#define LIBC_LOOP_NOUNROLL …
#elif defined(LIBC_COMPILER_IS_GCC)
#define LIBC_LOOP_NOUNROLL …
#else
#error "Unhandled compiler"
#endif
#define LIBC_MATH_SKIP_ACCURATE_PASS …
#define LIBC_MATH_SMALL_TABLES …
#define LIBC_MATH_NO_ERRNO …
#define LIBC_MATH_NO_EXCEPT …
#define LIBC_MATH_FAST …
#ifndef LIBC_MATH
#define LIBC_MATH …
#endif
#endif