llvm/llvm/unittests/CodeGen/GlobalISel/KnownBitsVectorTest.cpp

//===- KnownBitsTest.cpp -------------------------------------------===//
//
// 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 "GISelMITest.h"
#include "llvm/CodeGen/GlobalISel/GISelKnownBits.h"
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"

TEST_F(AArch64GISelMITest, TestKnownBitsBuildVector) {}

// Vector KnownBits track bits that are common for all vector scalar elements.
// For tests below KnownBits analysis is same as for scalar/pointer types, tests
// are mostly copied from KnownBitsTest.cpp using splat vectors and have the
// same result.

TEST_F(AArch64GISelMITest, TestKnownBitsVectorCstPHI) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorCstPHIToNonGenericReg) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorUnknownPHI) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorCstPHIWithLoop) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorDecreasingCstPHIWithLoop) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorAND) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorOR) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorXOR) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorXORConstant) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorASHR) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorLSHR) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorSHL) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorADD) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorSUB) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorMUL) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorSelect) {}

TEST_F(AArch64GISelMITest, TestVectorSignBitIsZero) {}

TEST_F(AArch64GISelMITest, TestVectorNumSignBitsConstant) {}

TEST_F(AArch64GISelMITest, TestVectorNumSignBitsSext) {}

TEST_F(AArch64GISelMITest, TestVectorNumSignBitsSextInReg) {}

TEST_F(AArch64GISelMITest, TestNumSignBitsVectorAssertSext) {}

TEST_F(AArch64GISelMITest, TestVectorNumSignBitsTrunc) {}

TEST_F(AMDGPUGISelMITest, TestVectorIsKnownToBeAPowerOfTwo) {}

TEST_F(AArch64GISelMITest, TestVectorMetadata) {}

TEST_F(AArch64GISelMITest, TestVectorKnownBitsExt) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorSextInReg) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorAssertSext) {}

TEST_F(AArch64GISelMITest, TestVectorKnownBitsBSwapBitReverse) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorUMAX) {}

TEST_F(AArch64GISelMITest, TestVectorKnownBitsUMax) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorUMIN) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorSMAX) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorSMIN) {}

TEST_F(AArch64GISelMITest, TestVectorInvalidQueries) {}

TEST_F(AArch64GISelMITest, TestKnownBitsVectorAssertZext) {}

TEST_F(AArch64GISelMITest, TestNumSignBitsUAddoOverflow) {}