FLANG
Main.h
1//===-- Main.h - generate main runtime API calls ----------------*- 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_BUILDER_RUNTIME_MAIN_H
10#define FORTRAN_OPTIMIZER_BUILDER_RUNTIME_MAIN_H
11
12#include "flang/Lower/EnvironmentDefault.h"
13#include <vector>
14
15namespace mlir {
16class Location;
17} // namespace mlir
18
19namespace fir {
20class FirOpBuilder;
21class GlobalOp;
22} // namespace fir
23
24namespace fir::runtime {
25
26void genMain(fir::FirOpBuilder &builder, mlir::Location loc,
27 const std::vector<Fortran::lower::EnvironmentDefault> &defs);
28}
29
30#endif // FORTRAN_OPTIMIZER_BUILDER_RUNTIME_MAIN_H
Definition: FIRBuilder.h:55
Definition: AbstractConverter.h:31
Definition: AbstractConverter.h:27