The last remaining operations in the standard dialect all revolve around FuncOp/function related constructs. This patch simply handles the initial renaming (which by itself is already huge), but there are a large number of cleanups unlocked/necessary afterwards: * Removing a bunch of unnecessary dependencies on Func * Cleaning up the From/ToStandard conversion passes * Preparing for the move of FuncOp to the Func dialect See the discussion at https://discourse.llvm.org/t/standard-dialect-the-final-chapter/6061 Differential Revision: https://reviews.llvm.org/D120624
33 lines
859 B
C++
33 lines
859 B
C++
//===- PassDetail.h - Func Pass class details -------------------*- C++ -*-===//
|
|
//
|
|
// 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
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef DIALECT_FUNC_TRANSFORMS_PASSDETAIL_H_
|
|
#define DIALECT_FUNC_TRANSFORMS_PASSDETAIL_H_
|
|
|
|
#include "mlir/Dialect/SCF/SCF.h"
|
|
#include "mlir/Pass/Pass.h"
|
|
|
|
namespace mlir {
|
|
|
|
class AtomicRMWOp;
|
|
|
|
namespace bufferization {
|
|
class BufferizationDialect;
|
|
} // namespace bufferization
|
|
|
|
namespace memref {
|
|
class MemRefDialect;
|
|
} // namespace memref
|
|
|
|
#define GEN_PASS_CLASSES
|
|
#include "mlir/Dialect/Func/Transforms/Passes.h.inc"
|
|
|
|
} // namespace mlir
|
|
|
|
#endif // DIALECT_FUNC_TRANSFORMS_PASSDETAIL_H_
|