FLANG
FIRBoxUtils.h
1//===-- Optimizer/Dialect/FIRBoxUtils.h -- FIR box utilities --*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef FORTRAN_OPTIMIZER_DIALECT_FIRBOXUTILS_H
10#define FORTRAN_OPTIMIZER_DIALECT_FIRBOXUTILS_H
11
12#include "mlir/IR/Builders.h"
13#include "mlir/IR/Value.h"
14#include "llvm/ADT/SmallVector.h"
15
16namespace fir {
17
21void genDimInfoFromBox(mlir::OpBuilder &builder, mlir::Location loc,
22 mlir::Value box,
23 llvm::SmallVectorImpl<mlir::Value> *lbounds,
24 llvm::SmallVectorImpl<mlir::Value> *extents,
25 llvm::SmallVectorImpl<mlir::Value> *strides);
26
27} // namespace fir
28
29#endif // FORTRAN_OPTIMIZER_DIALECT_FIRBOXUTILS_H
Definition AbstractConverter.h:37
void genDimInfoFromBox(mlir::OpBuilder &builder, mlir::Location loc, mlir::Value box, llvm::SmallVectorImpl< mlir::Value > *lbounds, llvm::SmallVectorImpl< mlir::Value > *extents, llvm::SmallVectorImpl< mlir::Value > *strides)
Definition FIRBoxUtils.cpp:16