[PATCH] D70734: [VPlan] Add basicblocks() and loop_basicblocks iterators.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 26 11:17:18 PST 2019
fhahn created this revision.
fhahn added reviewers: hsaito, Ayal, gilr.
Herald added subscribers: psnobl, rogfer01, rkruppe, tschuett, bollu, hiraditya.
Herald added a project: LLVM.
This patch adds 2 convenience iterator ranges, to iterate over all
VPBasicBlocks in a plan. Traversing VPRegions is not supported at the
moment, but we do not create such plans at the moment as far as I know.
They come with an assertion, to implement the additional functionality
once required.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D70734
Files:
llvm/lib/Transforms/Vectorize/VPlan.h
llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70734.231110.patch
Type: text/x-patch
Size: 4683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191126/6b6a7528/attachment.bin>
More information about the llvm-commits
mailing list