Convert fir operations which satisfy affine constraints to the affine dialect. This patch is part of the upstreaming effort from fir-dev branch. Co-authored-by: V Donaldson <vdonaldson@nvidia.com> Co-authored-by: Rajan Walia <walrajan@gmail.com> Co-authored-by: Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com> Co-authored-by: Eric Schweitz <eschweitz@nvidia.com> Co-authored-by: Valentin Clement <clementval@gmail.com> Reviewed By: schweitz, awarzynski Differential Revision: https://reviews.llvm.org/D111155
28 lines
971 B
C++
28 lines
971 B
C++
//===- PassDetail.h - Optimizer 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 FORTRAN_OPTMIZER_TRANSFORMS_PASSDETAIL_H
|
|
#define FORTRAN_OPTMIZER_TRANSFORMS_PASSDETAIL_H
|
|
|
|
#include "flang/Optimizer/Dialect/FIRDialect.h"
|
|
#include "mlir/Dialect/Affine/IR/AffineOps.h"
|
|
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
|
|
#include "mlir/Dialect/OpenACC/OpenACC.h"
|
|
#include "mlir/Dialect/OpenMP/OpenMPDialect.h"
|
|
#include "mlir/Dialect/StandardOps/IR/Ops.h"
|
|
#include "mlir/Pass/Pass.h"
|
|
#include "mlir/Pass/PassRegistry.h"
|
|
|
|
namespace fir {
|
|
|
|
#define GEN_PASS_CLASSES
|
|
#include "flang/Optimizer/Transforms/Passes.h.inc"
|
|
|
|
} // namespace fir
|
|
|
|
#endif // FORTRAN_OPTMIZER_TRANSFORMS_PASSDETAIL_H
|