[VPlan] Add vp_depth_first_deep (NFC)
authorFlorian Hahn <flo@fhahn.com>
Thu, 19 Jan 2023 20:34:22 +0000 (20:34 +0000)
committerFlorian Hahn <flo@fhahn.com>
Thu, 19 Jan 2023 20:34:23 +0000 (20:34 +0000)
commite2c43a547b311725067e7b56ae935e940e6fc1c3
tree31921dd8b218614145674ba038361535ab40c9ed
parent3a362a9f38b95978160377ee408dbc7d14af9aad
[VPlan] Add vp_depth_first_deep (NFC)

Similar to vp_depth_first_shallow (D140512) add vp_depth_first_deep to
make existing code clearer and more compact.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D142055
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlan.cpp
llvm/lib/Transforms/Vectorize/VPlanCFG.h
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
llvm/unittests/Transforms/Vectorize/VPlanTest.cpp