//===- TestModuleCombiner.cpp - Pass to test SPIR-V module combiner lib ---===// // // 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/Dialect/SPIRV/IR/SPIRVOps.h" #include "mlir/Dialect/SPIRV/IR/SPIRVTypes.h" #include "mlir/Dialect/SPIRV/Linking/ModuleCombiner.h" #include "mlir/IR/Builders.h" #include "mlir/IR/BuiltinOps.h" #include "mlir/Pass/Pass.h" usingnamespacemlir; namespace { class TestModuleCombinerPass : public PassWrapper<TestModuleCombinerPass, OperationPass<mlir::ModuleOp>> { … }; } // namespace void TestModuleCombinerPass::runOnOperation() { … } namespace mlir { void registerTestSpirvModuleCombinerPass() { … } } // namespace mlir