]> granicus.if.org Git - llvm/commit
[VPlan] Introduce VPLoopInfo analysis.
authorDiego Caballero <diego.caballero@intel.com>
Tue, 31 Jul 2018 01:57:29 +0000 (01:57 +0000)
committerDiego Caballero <diego.caballero@intel.com>
Tue, 31 Jul 2018 01:57:29 +0000 (01:57 +0000)
commitb2970fad9bfbb6801273b8bec1a971aae6370c6a
treeb5b325e7434a85d306aa487384cccae79f6179cd
parent41daa756aa8ba38cb137eb94ab5535da731079c2
[VPlan] Introduce VPLoopInfo analysis.

The patch introduces loop analysis (VPLoopInfo/VPLoop) for VPBlockBases.
This analysis will be necessary to perform some H-CFG transformations and
detect and introduce regions representing a loop in the H-CFG.

Reviewers: fhahn, rengolin, mkuper, hfinkel, mssimpso

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D48816

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338346 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/VPlan.h
lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
lib/Transforms/Vectorize/VPlanLoopInfo.h [new file with mode: 0644]
unittests/Transforms/Vectorize/CMakeLists.txt
unittests/Transforms/Vectorize/VPlanLoopInfoTest.cpp [new file with mode: 0644]