New mode option that allows for either running the default fusion kind that happens today or doing either of producer-consumer or sibling fusion. This will also be helpful to minimize the compile-time of the fusion tests. Reviewed By: bondhugula, dcaballe Differential Revision: https://reviews.llvm.org/D110102
32 lines
858 B
C++
32 lines
858 B
C++
//===- PassDetail.h - Transforms 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 TRANSFORMS_PASSDETAIL_H_
|
|
#define TRANSFORMS_PASSDETAIL_H_
|
|
|
|
#include "mlir/Pass/Pass.h"
|
|
#include "mlir/Transforms/Passes.h"
|
|
|
|
namespace mlir {
|
|
class AffineDialect;
|
|
|
|
// Forward declaration from Dialect.h
|
|
template <typename ConcreteDialect>
|
|
void registerDialect(DialectRegistry ®istry);
|
|
|
|
namespace memref {
|
|
class MemRefDialect;
|
|
} // end namespace memref
|
|
|
|
#define GEN_PASS_CLASSES
|
|
#include "mlir/Transforms/Passes.h.inc"
|
|
|
|
} // end namespace mlir
|
|
|
|
#endif // TRANSFORMS_PASSDETAIL_H_
|