llvm/llvm/unittests/ADT/BitTest.cpp

//===- llvm/unittests/ADT/BitTest.cpp - <bit> tests ---===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "llvm/ADT/bit.h"
#include "gtest/gtest.h"
#include <cstdint>
#include <cstdlib>

usingnamespacellvm;

namespace {

TEST(BitTest, BitCast) {}

// In these first two tests all of the original_uintx values are truncated
// except for 64. We could avoid this, but there's really no point.

TEST(BitTest, ByteSwapUnsignedRoundTrip) {}

TEST(BitTest, ByteSwapSignedRoundTrip) {}

TEST(BitTest, ByteSwap) {}

TEST(BitTest, HasSingleBit) {}

TEST(BitTest, BitFloor) {}

TEST(BitTest, BitCeil) {}

TEST(BitTest, BitWidth) {}

TEST(BitTest, CountlZero) {}

TEST(BitTest, CountrZero) {}

TEST(BitTest, CountlOne) {}

TEST(BitTest, CountrOne) {}

TEST(BitTest, PopCount) {}

TEST(BitTest, Rotl) {}

TEST(BitTest, Rotr) {}

} // anonymous namespace