[Flang] Move several definitions to IntrinsicCall header for code cleanliness and...
authorPaul Scoropan <1paulscoropan@gmail.com>
Tue, 30 May 2023 15:07:44 +0000 (15:07 +0000)
committerPaul Scoropan <1paulscoropan@gmail.com>
Wed, 31 May 2023 15:03:53 +0000 (15:03 +0000)
commite0df106818ccb90dc46c5296ed5ef2eda75564ff
treee1ad996c8b131476c6f6f36d91ba9345b466915a
parent572cfa3fde5433c889b339e9cfa6dfaa23e5f2ee
[Flang] Move several definitions to IntrinsicCall header for code cleanliness and reusability

In the future we intend to add support for many PowerPC-specific intrinsics that ideally will exist in a separate new PPCIntrinsicCall file. But first we need to move definitions to the IntrinsicCall header file to increase code cleanliness and readability and to make code reusable for when we add PPCIntrinsicCall.

Reviewed By: vzakhari

Differential Revision: https://reviews.llvm.org/D151715
flang/include/flang/Optimizer/Builder/IntrinsicCall.h
flang/lib/Optimizer/Builder/IntrinsicCall.cpp