//===- TestSlice.cpp - Test slice related analisis ------------------------===// // // 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/Analysis/TopologicalSortUtils.h" #include "mlir/IR/BuiltinTypes.h" #include "mlir/IR/SymbolTable.h" #include "mlir/Pass/Pass.h" usingnamespacemlir; static const StringLiteral kToSortMark = …; static const StringLiteral kOrderIndex = …; namespace { struct TestTopologicalSortPass : public PassWrapper<TestTopologicalSortPass, InterfacePass<SymbolOpInterface>> { … }; } // namespace namespace mlir { namespace test { void registerTestSliceAnalysisPass() { … } } // namespace test } // namespace mlir