2019-12-21 04:52:07 +08:00
|
|
|
//===-- runtime/transformational.h ------------------------------*- C++ -*-===//
|
2018-08-03 02:45:11 +08:00
|
|
|
//
|
2019-12-21 04:52:07 +08:00
|
|
|
// 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
|
2018-08-03 02:45:11 +08:00
|
|
|
//
|
2020-01-11 04:12:03 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
2018-08-03 02:45:11 +08:00
|
|
|
|
|
|
|
#ifndef FORTRAN_RUNTIME_TRANSFORMATIONAL_H_
|
|
|
|
#define FORTRAN_RUNTIME_TRANSFORMATIONAL_H_
|
|
|
|
|
|
|
|
#include "descriptor.h"
|
2018-08-03 08:04:31 +08:00
|
|
|
#include <memory>
|
2018-08-03 02:45:11 +08:00
|
|
|
|
|
|
|
namespace Fortran::runtime {
|
|
|
|
|
2018-08-03 08:04:31 +08:00
|
|
|
std::unique_ptr<Descriptor> RESHAPE(const Descriptor &source,
|
|
|
|
const Descriptor &shape, const Descriptor *pad = nullptr,
|
|
|
|
const Descriptor *order = nullptr);
|
2018-10-25 20:55:23 +08:00
|
|
|
}
|
2018-08-03 02:45:11 +08:00
|
|
|
#endif // FORTRAN_RUNTIME_TRANSFORMATIONAL_H_
|