2026-09-24 14:08:32 -06:00
|
|
|
/// @file grotto/gadgets/binary/clrsb.hpp
|
|
|
|
|
/// @author Ryan Henry <ryan.henry@ucalgary.ca>
|
|
|
|
|
/// @brief gadgetized form of `__builtin_clzll`
|
|
|
|
|
/// @copyright Copyright (c) 2019-2023 Ryan Henry and others
|
|
|
|
|
/// @license Released under a GNU General Public v2.0 (GPLv2) license;
|
2026-09-24 23:27:47 -06:00
|
|
|
/// see [LICENSE.md](@ref license) for details.
|
2026-09-24 14:08:32 -06:00
|
|
|
|
|
|
|
|
#ifndef LIBDPF_INCLUDE_GROTTO_GADGETS_BINARY_CLRSB_HPP__
|
|
|
|
|
#define LIBDPF_INCLUDE_GROTTO_GADGETS_BINARY_CLRSB_HPP__
|
|
|
|
|
|
|
|
|
|
namespace grotto
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
namespace gadgets
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-09-28 05:59:19 -06:00
|
|
|
/// @note This header declares no callable.
|
|
|
|
|
/// Complexity is stated on the sibling that evaluates the map, when one exists.
|
|
|
|
|
/// @see grotto::exact_constant
|
2026-09-24 14:08:32 -06:00
|
|
|
} // namespace gadgets
|
|
|
|
|
|
|
|
|
|
} // namespace grotto
|
|
|
|
|
|
|
|
|
|
#endif // LIBDPF_INCLUDE_GROTTO_GADGETS_BINARY_CLRSB_HPP__
|