#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;
TEST(CyclicAttrTypeReplacerTest, testNoRecursion) { … }
TEST(CyclicAttrTypeReplacerTest, testInPlaceRecursionPruneAnywhere) { … }
class CyclicAttrTypeReplacerChainRecursionPruningTest : public ::testing::Test { … };
TEST_F(CyclicAttrTypeReplacerChainRecursionPruningTest, testPruneAnywhere0) { … }
TEST_F(CyclicAttrTypeReplacerChainRecursionPruningTest, testPruneAnywhere1) { … }
TEST_F(CyclicAttrTypeReplacerChainRecursionPruningTest, testPruneSpecific0) { … }
TEST_F(CyclicAttrTypeReplacerChainRecursionPruningTest, testPruneSpecific1) { … }
class CyclicAttrTypeReplacerBranchingRecusionPruningTest
: public ::testing::Test { … };
TEST_F(CyclicAttrTypeReplacerBranchingRecusionPruningTest, testPruneAnywhere0) { … }
TEST_F(CyclicAttrTypeReplacerBranchingRecusionPruningTest, testPruneAnywhere1) { … }
TEST_F(CyclicAttrTypeReplacerBranchingRecusionPruningTest, testPruneSpecific0) { … }
TEST_F(CyclicAttrTypeReplacerBranchingRecusionPruningTest, testPruneSpecific1) { … }