forked from OSchip/llvm-project
[fir] Move Factory.h to flang/Optimizer/Builder
Move the Factory.h header file to flang/Optimizer/Builder. This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D115801
This commit is contained in:
parent
1a376bc285
commit
3ab67c3d62
|
@ -1,4 +1,4 @@
|
|||
//===-- Optimizer/Transforms/Factory.h --------------------------*- C++ -*-===//
|
||||
//===-- Optimizer/Builder/Factory.h -----------------------------*- C++ -*-===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
|
@ -12,8 +12,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef FORTRAN_OPTIMIZER_TRANSFORMS_FACTORY_H
|
||||
#define FORTRAN_OPTIMIZER_TRANSFORMS_FACTORY_H
|
||||
#ifndef FORTRAN_OPTIMIZER_BUILDER_FACTORY_H
|
||||
#define FORTRAN_OPTIMIZER_BUILDER_FACTORY_H
|
||||
|
||||
#include "flang/Optimizer/Dialect/FIROps.h"
|
||||
#include "flang/Optimizer/Dialect/FIRType.h"
|
||||
|
@ -93,4 +93,4 @@ originateIndices(mlir::Location loc, B &builder, mlir::Type memTy,
|
|||
|
||||
} // namespace fir::factory
|
||||
|
||||
#endif // FORTRAN_OPTIMIZER_TRANSFORMS_FACTORY_H
|
||||
#endif // FORTRAN_OPTIMIZER_BUILDER_FACTORY_H
|
|
@ -9,9 +9,9 @@
|
|||
#include "PassDetail.h"
|
||||
#include "flang/Optimizer/Builder/BoxValue.h"
|
||||
#include "flang/Optimizer/Builder/FIRBuilder.h"
|
||||
#include "flang/Optimizer/Builder/Factory.h"
|
||||
#include "flang/Optimizer/Dialect/FIRDialect.h"
|
||||
#include "flang/Optimizer/Support/FIRContext.h"
|
||||
#include "flang/Optimizer/Transforms/Factory.h"
|
||||
#include "flang/Optimizer/Transforms/Passes.h"
|
||||
#include "mlir/Dialect/SCF/SCF.h"
|
||||
#include "mlir/Transforms/DialectConversion.h"
|
||||
|
|
Loading…
Reference in New Issue