//===- TestTypes.cpp - Test passes for MLIR types -------------------------===// // // 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 "TestTypes.h" #include "TestDialect.h" #include "mlir/Dialect/Func/IR/FuncOps.h" #include "mlir/Pass/Pass.h" usingnamespacemlir; usingnamespacetest; namespace { struct TestRecursiveTypesPass : public PassWrapper<TestRecursiveTypesPass, OperationPass<func::FuncOp>> { … }; } // namespace LogicalResult TestRecursiveTypesPass::createIRWithTypes() { … } namespace mlir { namespace test { void registerTestRecursiveTypesPass() { … } } // namespace test } // namespace mlir