[flang] Fortran IR: staged pull request for the "upper layers" of the IR. The
authorEric Schweitz <eschweitz@nvidia.com>
Wed, 20 Feb 2019 19:46:41 +0000 (11:46 -0800)
committerEric Schweitz <eschweitz@nvidia.com>
Wed, 20 Feb 2019 19:46:41 +0000 (11:46 -0800)
commit52d7de892ec15cda1bbe9e86c96cb01a81203e90
treea70d10076d41af40fc98b6b7be4ec38aa3406bca
parentf425c4064d0b48c58e3ccdfe28d3ff0a91a8d0a0
[flang] Fortran IR: staged pull request for the "upper layers" of the IR.  The
Fortran IR is hierarchical: A Program contains Procedures.  Procedures
contain Basic Blocks. Groups of Basic Blocks can be grouped as Regions.
This structure follows those one finds in SIL and LLVM IR, etc.

Original-commit: flang-compiler/f18@e2291016dffe76728879ba97d0bfadf2fcb557ed
Reviewed-on: https://github.com/flang-compiler/f18/pull/293
Tree-same-pre-rewrite: false
flang/lib/IntermediateRepresentation/basicblock.cc [new file with mode: 0644]
flang/lib/IntermediateRepresentation/basicblock.h [new file with mode: 0644]
flang/lib/IntermediateRepresentation/procedure.cc [new file with mode: 0644]
flang/lib/IntermediateRepresentation/procedure.h [new file with mode: 0644]
flang/lib/IntermediateRepresentation/program.cc [new file with mode: 0644]
flang/lib/IntermediateRepresentation/program.h [new file with mode: 0644]
flang/lib/IntermediateRepresentation/region.cc [new file with mode: 0644]
flang/lib/IntermediateRepresentation/region.h [new file with mode: 0644]