[flang] Add the complex expression helper class.
authorEric Schweitz <eschweitz@nvidia.com>
Fri, 5 Jun 2020 18:23:22 +0000 (11:23 -0700)
committerEric Schweitz <eschweitz@nvidia.com>
Wed, 10 Jun 2020 16:05:20 +0000 (09:05 -0700)
commit8bba0bca721d66a63709d427ff1e3b48cf7c2cad
treed1aae7958fd4f55e952045c4ffe412bf2a2816e5
parent83d920c72a96b6ce839cebad7b2196395ba06933
[flang] Add the complex expression helper class.

The complex expression helper class can be used to generate small,
short-lived instances of a "helper" that can be used to aid the
construction of complex expressions in FIR. The helper class bundles
together these functionally related operations.

Included in this diff is the header for the FIR builder. The
implementation has other dependences and will follow.

Differential Revision: https://reviews.llvm.org/D81287
flang/include/flang/Lower/ComplexExpr.h [new file with mode: 0644]
flang/include/flang/Lower/FIRBuilder.h [new file with mode: 0644]
flang/lib/Lower/CMakeLists.txt
flang/lib/Lower/ComplexExpr.cpp [new file with mode: 0644]