[flang] Define & implement a lowering support API IsContiguous() in runtime
authorPeter Klausler <pklausler@nvidia.com>
Fri, 26 Nov 2021 19:39:31 +0000 (11:39 -0800)
committerPeter Klausler <pklausler@nvidia.com>
Tue, 30 Nov 2021 22:15:56 +0000 (14:15 -0800)
commit77ff6f7df8691a735a2dc979cdb44835dd2d41af
treec3b4c3fb8138255fdf4cbca5ed43078e4d1c2b02
parent63f417ef39963afa9722a7b3c5cf3b28a9d41883
[flang] Define & implement a lowering support API IsContiguous() in runtime

Create a new flang/runtime/support.cpp module to hold miscellaneous
runtime APIs to support lowering, and define an API IsContiguous() to
wrap the member function predicate Descriptor::IsContiguous().
And do a little clean-up of other API headers that don't need to expose
Runtime/descriptor.h.

Differential Revision: https://reviews.llvm.org/D114752
flang/include/flang/Runtime/reduction.h
flang/include/flang/Runtime/support.h [new file with mode: 0644]
flang/include/flang/Runtime/transformational.h
flang/runtime/CMakeLists.txt
flang/runtime/reduction.cpp
flang/runtime/support.cpp [new file with mode: 0644]
flang/runtime/terminator.h
flang/runtime/transformational.cpp