forked from OSchip/llvm-project
[mlir][NFC] Drop a few unnecessary includes from Pass.h
This commit is contained in:
parent
3d4ca8a8c3
commit
36d3efea15
|
@ -16,6 +16,7 @@
|
|||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
class ModuleOp;
|
||||
|
||||
/// Creates a pass to convert ControlFlow ops to SPIR-V ops.
|
||||
std::unique_ptr<OperationPass<ModuleOp>> createConvertControlFlowToSPIRVPass();
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
class ModuleOp;
|
||||
|
||||
/// Creates a pass to convert Func ops to SPIR-V ops.
|
||||
std::unique_ptr<OperationPass<ModuleOp>> createConvertFuncToSPIRVPass();
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
class ModuleOp;
|
||||
|
||||
/// Creates and returns a pass to convert Linalg ops to SPIR-V ops.
|
||||
std::unique_ptr<OperationPass<ModuleOp>> createLinalgToSPIRVPass();
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
class ModuleOp;
|
||||
|
||||
/// Creates a pass to convert Math ops to SPIR-V ops.
|
||||
std::unique_ptr<OperationPass<ModuleOp>> createConvertMathToSPIRVPass();
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
class ModuleOp;
|
||||
|
||||
/// Creates a pass to convert MemRef ops to SPIR-V ops.
|
||||
std::unique_ptr<OperationPass<ModuleOp>> createConvertMemRefToSPIRVPass();
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
class ModuleOp;
|
||||
|
||||
/// Creates a pass to convert SCF ops into SPIR-V ops.
|
||||
std::unique_ptr<OperationPass<ModuleOp>> createConvertSCFToSPIRVPass();
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
class ModuleOp;
|
||||
|
||||
/// Creates a pass to convert Tensor ops to SPIR-V ops.
|
||||
std::unique_ptr<OperationPass<ModuleOp>> createConvertTensorToSPIRVPass();
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
class ModuleOp;
|
||||
|
||||
/// Creates a pass to convert Vector Ops to SPIR-V ops.
|
||||
std::unique_ptr<OperationPass<ModuleOp>> createConvertVectorToSPIRVPass();
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
class ModuleOp;
|
||||
|
||||
std::unique_ptr<Pass> createAsyncParallelForPass();
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#ifndef MLIR_DIALECT_FUNC_TRANSFORMS_PASSES_H
|
||||
#define MLIR_DIALECT_FUNC_TRANSFORMS_PASSES_H
|
||||
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
namespace mlir {
|
||||
|
||||
class AffineDialect;
|
||||
class ModuleOp;
|
||||
|
||||
namespace func {
|
||||
class FuncDialect;
|
||||
} // namespace func
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
#ifndef MLIR_PASS_PASS_H
|
||||
#define MLIR_PASS_PASS_H
|
||||
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/IR/Dialect.h"
|
||||
#include "mlir/Pass/AnalysisManager.h"
|
||||
#include "mlir/Pass/PassRegistry.h"
|
||||
#include "mlir/Support/LogicalResult.h"
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#ifndef MLIR_REDUCER_PASSDETAIL_H
|
||||
#define MLIR_REDUCER_PASSDETAIL_H
|
||||
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
#include "mlir/Conversion/GPUToROCDL/Runtimes.h"
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/IR/FunctionInterfaces.h"
|
||||
|
||||
namespace mlir {
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#ifndef DIALECT_ARITHMETIC_TRANSFORMS_PASSDETAIL_H_
|
||||
#define DIALECT_ARITHMETIC_TRANSFORMS_PASSDETAIL_H_
|
||||
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#ifndef DIALECT_ASYNC_TRANSFORMS_PASSDETAIL_H_
|
||||
#define DIALECT_ASYNC_TRANSFORMS_PASSDETAIL_H_
|
||||
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/IR/Dialect.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#define DIALECT_BUFFERIZATION_TRANSFORMS_PASSDETAIL_H_
|
||||
|
||||
#include "mlir/Dialect/Func/IR/FuncOps.h"
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#define DIALECT_FUNC_TRANSFORMS_PASSDETAIL_H_
|
||||
|
||||
#include "mlir/Dialect/SCF/SCF.h"
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include "mlir/Dialect/Affine/IR/AffineOps.h"
|
||||
#include "mlir/Dialect/Func/IR/FuncOps.h"
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/IR/Dialect.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
#ifndef DIALECT_MEMREF_TRANSFORMS_PASSDETAIL_H_
|
||||
#define DIALECT_MEMREF_TRANSFORMS_PASSDETAIL_H_
|
||||
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/IR/DialectRegistry.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#ifndef DIALECT_SPIRV_TRANSFORMS_PASSDETAIL_H_
|
||||
#define DIALECT_SPIRV_TRANSFORMS_PASSDETAIL_H_
|
||||
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
namespace mlir {
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "PassDetail.h"
|
||||
#include "mlir/IR/SymbolTable.h"
|
||||
#include "mlir/Pass/PassManager.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/FormatVariadic.h"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "PassDetail.h"
|
||||
#include "mlir/IR/Diagnostics.h"
|
||||
#include "mlir/IR/Dialect.h"
|
||||
#include "mlir/IR/OpDefinition.h"
|
||||
#include "mlir/IR/Threading.h"
|
||||
#include "mlir/IR/Verifier.h"
|
||||
#include "mlir/Support/FileUtilities.h"
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "PassDetail.h"
|
||||
#include "mlir/IR/Diagnostics.h"
|
||||
#include "mlir/IR/Dialect.h"
|
||||
#include "mlir/IR/SymbolTable.h"
|
||||
#include "mlir/IR/Verifier.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
#include "mlir/Support/FileUtilities.h"
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
|
||||
#include "PassDetail.h"
|
||||
#include "mlir/IR/Dominance.h"
|
||||
#include "mlir/Interfaces/SideEffectInterfaces.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
#include "mlir/Transforms/Passes.h"
|
||||
#include "llvm/ADT/DenseMapInfo.h"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "PassDetail.h"
|
||||
#include "mlir/IR/Dominance.h"
|
||||
#include "mlir/Interfaces/ControlFlowInterfaces.h"
|
||||
#include "mlir/Interfaces/SideEffectInterfaces.h"
|
||||
#include "mlir/Transforms/ControlFlowSinkUtils.h"
|
||||
#include "mlir/Transforms/Passes.h"
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "PassDetail.h"
|
||||
#include "mlir/IR/SymbolTable.h"
|
||||
#include "mlir/Transforms/Passes.h"
|
||||
|
||||
using namespace mlir;
|
||||
|
|
|
@ -6,15 +6,15 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "mlir/Transforms/ViewOpGraph.h"
|
||||
#include "PassDetail.h"
|
||||
#include "mlir/IR/Block.h"
|
||||
#include "mlir/IR/BuiltinTypes.h"
|
||||
#include "mlir/IR/Operation.h"
|
||||
#include "mlir/Support/IndentedOstream.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/GraphWriter.h"
|
||||
#include <utility>
|
||||
|
||||
using namespace mlir;
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "mlir/Analysis/CallGraph.h"
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
using namespace mlir;
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "mlir/Analysis/Liveness.h"
|
||||
#include "mlir/IR/SymbolTable.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
using namespace mlir;
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "mlir/Analysis/SliceAnalysis.h"
|
||||
#include "mlir/IR/SymbolTable.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
using namespace mlir;
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "TestAttributes.h"
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
#include "llvm/Support/FormatVariadic.h"
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "mlir/IR/SymbolTable.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
#include "llvm/Support/SourceMgr.h"
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "mlir/IR/Dominance.h"
|
||||
#include "mlir/IR/SymbolTable.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
using namespace mlir;
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "TestTypes.h"
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
using namespace mlir;
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "mlir/IR/Builders.h"
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
using namespace mlir;
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "mlir/Dialect/Func/IR/FuncOps.h"
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
|
||||
using namespace mlir;
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#include "mlir/Pass/Pass.h"
|
||||
#include "mlir/Pass/PassManager.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue