//===- DemandedBitsTest.cpp - DemandedBits 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/Analysis/DemandedBits.h" #include "../Support/KnownBitsTest.h" #include "llvm/Support/KnownBits.h" #include "gtest/gtest.h" usingnamespacellvm; namespace { template <typename Fn1, typename Fn2> static void TestBinOpExhaustive(Fn1 PropagateFn, Fn2 EvalFn) { … } TEST(DemandedBitsTest, Add) { … } TEST(DemandedBitsTest, Sub) { … } } // anonymous namespace