1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/unittests/Transforms/Vectorize
Florian Hahn 155179dd39 [VPlan] Add getPlan() to VPBlockBase.
This patch adds a getPlan accessor to VPBlockBase, which finds the entry
block of the plan containing the block and returns the plan set for this
block.

VPBlockBase contains a VPlan pointer, but it should only be set for
the entry block of a plan. This allows moving blocks without updating
the pointer for each moved block and in the future we might introduce a
parent relationship between plans and blocks, similar to the one in LLVM IR.

Reviewers: rengolin, hsaito, fhahn, Ayal, dorit, gilr

Reviewed By: gilr

Differential Revision: https://reviews.llvm.org/D74445
2020-03-03 13:20:13 +00:00
..
CMakeLists.txt [LV][VPlan] Change to implement VPlan based predication for 2019-01-23 22:43:12 +00:00
VPlanDominatorTreeTest.cpp
VPlanHCFGTest.cpp [VPlan] Add getPlan() to VPBlockBase. 2020-03-03 13:20:13 +00:00
VPlanLoopInfoTest.cpp
VPlanPredicatorTest.cpp [VPlan] Add getPlan() to VPBlockBase. 2020-03-03 13:20:13 +00:00
VPlanSlpTest.cpp [VPlan] Rename VPlanHCFGTransforms to VPlanTransforms (NFC). 2019-12-07 08:56:35 +00:00
VPlanTest.cpp [VPlan] Add getPlan() to VPBlockBase. 2020-03-03 13:20:13 +00:00
VPlanTestBase.h [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00