[mlir] Make header standalone (NFC)
authorAdrian Kuegel <akuegel@google.com>
Thu, 17 Mar 2022 08:20:18 +0000 (09:20 +0100)
committerAdrian Kuegel <akuegel@google.com>
Thu, 17 Mar 2022 08:20:18 +0000 (09:20 +0100)
mlir/include/mlir/Dialect/Shape/Transforms/Passes.h

index 157e1e2fcc3442167d7c7aabac443589c3d03c7d..a489ba342ed5fe5b478d4fc58e55c5cd483a250e 100644 (file)
@@ -19,6 +19,9 @@
 namespace mlir {
 class ConversionTarget;
 class TypeConverter;
+namespace func {
+class FuncOp;
+} // namespace func
 } // namespace mlir
 
 namespace mlir {
@@ -38,14 +41,14 @@ void populateShapeRewritePatterns(RewritePatternSet &patterns);
 //
 // After this pass, no cstr_ operations exist.
 void populateRemoveShapeConstraintsPatterns(RewritePatternSet &patterns);
-std::unique_ptr<OperationPass<FuncOp>> createRemoveShapeConstraintsPass();
+std::unique_ptr<OperationPass<func::FuncOp>> createRemoveShapeConstraintsPass();
 
 // Bufferizes shape dialect ops.
 //
 // Note that most shape dialect ops must be converted to std before
 // bufferization happens, as they are intended to be bufferized at the std
 // level.
-std::unique_ptr<OperationPass<FuncOp>> createShapeBufferizePass();
+std::unique_ptr<OperationPass<func::FuncOp>> createShapeBufferizePass();
 
 //===----------------------------------------------------------------------===//
 // Registration