summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TailDuplication.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2018-01-07 16:02:58 +0000
committerHal Finkel <hfinkel@anl.gov>2018-01-07 16:02:58 +0000
commit0f1314c5eeefd2b49a0bef9f7db796e4e6a90710 (patch)
tree43e8c323caa2b16a66bf247a1cacbd0eb53fa672 /llvm/lib/CodeGen/TailDuplication.cpp
parent55be37e7d4f5af14b7cc5108a5181109b73b0a9a (diff)
downloadbcm5719-llvm-0f1314c5eeefd2b49a0bef9f7db796e4e6a90710.tar.gz
bcm5719-llvm-0f1314c5eeefd2b49a0bef9f7db796e4e6a90710.zip
[LV][VPlan] NFC patch to move LoopVectorizationPlanner class out of LoopVectorize.cpp
Another small step forward to move VPlan stuff outside of LoopVectorize.cpp. VPlanBuilder.h is renamed to LoopVectorizationPlanner.h LoopVectorizationPlanner class is moved from LoopVectorize.cpp to LoopVectorizationPlanner.h LoopVectorizationCostModel::VectorizationFactor class is moved to LoopVectorizationPlanner.h (used by the planner class) --- this needs further streamlining work in later patches and thus all I did was take it out of the CostModel class and moved to the header file. The callback function had to stay inside LoopVectorize.cpp since it calls an InnerLoopVectorizer member function declared in it. Next Steps: Make InnerLoopVectorizer, LoopVectorizationCostModel, and other classes more modular and more aligned with VPlan direction, in small increments. Previous step was: r320900 (https://reviews.llvm.org/D41045) Patch by Hideki Saito, thanks! Differential Revision: https://reviews.llvm.org/D41420 llvm-svn: 321962
Diffstat (limited to 'llvm/lib/CodeGen/TailDuplication.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud