llvm/mlir/unittests/IR/AttrTypeReplacerTest.cpp

//===- AttrTypeReplacerTest.cpp - Sub-element replacer unit 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 "mlir/IR/AttrTypeSubElements.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/BuiltinTypes.h"
#include "gtest/gtest.h"

usingnamespacemlir;

//===----------------------------------------------------------------------===//
// CyclicAttrTypeReplacer
//===----------------------------------------------------------------------===//

TEST(CyclicAttrTypeReplacerTest, testNoRecursion) {}

TEST(CyclicAttrTypeReplacerTest, testInPlaceRecursionPruneAnywhere) {}

//===----------------------------------------------------------------------===//
// CyclicAttrTypeReplacerTest: ChainRecursion
//===----------------------------------------------------------------------===//

class CyclicAttrTypeReplacerChainRecursionPruningTest : public ::testing::Test {};

TEST_F(CyclicAttrTypeReplacerChainRecursionPruningTest, testPruneAnywhere0) {}

TEST_F(CyclicAttrTypeReplacerChainRecursionPruningTest, testPruneAnywhere1) {}

TEST_F(CyclicAttrTypeReplacerChainRecursionPruningTest, testPruneSpecific0) {}

TEST_F(CyclicAttrTypeReplacerChainRecursionPruningTest, testPruneSpecific1) {}

//===----------------------------------------------------------------------===//
// CyclicAttrTypeReplacerTest: BranchingRecusion
//===----------------------------------------------------------------------===//

class CyclicAttrTypeReplacerBranchingRecusionPruningTest
    : public ::testing::Test {};

TEST_F(CyclicAttrTypeReplacerBranchingRecusionPruningTest, testPruneAnywhere0) {}

TEST_F(CyclicAttrTypeReplacerBranchingRecusionPruningTest, testPruneAnywhere1) {}

TEST_F(CyclicAttrTypeReplacerBranchingRecusionPruningTest, testPruneSpecific0) {}

TEST_F(CyclicAttrTypeReplacerBranchingRecusionPruningTest, testPruneSpecific1) {}