#include "mlir/IR/SymbolTable.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/Verifier.h"
#include "mlir/Interfaces/CallInterfaces.h"
#include "mlir/Interfaces/FunctionInterfaces.h"
#include "mlir/Parser/Parser.h"
#include "gtest/gtest.h"
usingnamespacemlir;
namespace test {
void registerTestDialect(DialectRegistry &);
}
class ReplaceAllSymbolUsesTest : public ::testing::Test { … };
namespace {
TEST_F(ReplaceAllSymbolUsesTest, OperationInModuleOp) { … }
TEST_F(ReplaceAllSymbolUsesTest, StringAttrInModuleOp) { … }
TEST_F(ReplaceAllSymbolUsesTest, OperationInModuleBody) { … }
TEST_F(ReplaceAllSymbolUsesTest, StringAttrInModuleBody) { … }
TEST_F(ReplaceAllSymbolUsesTest, OperationInFuncOp) { … }
TEST_F(ReplaceAllSymbolUsesTest, StringAttrInFuncOp) { … }
}