Files
swift-mirror/include/swift/SIL/BasicBlockUtils.h
Nate Chandler c8049eef32 [SIL] Added SILCFGBackwardDFS.
The utility provides a standard way for backwards traversing a region of
a function constrained by a predicate (isInRegion) starting from some
root blocks.  It exposes a visit function for post-order and iterable
collections for post-order and reverse post-order.  Adding corresponding
pre-order functionality will be straightforward.
2022-05-21 12:56:50 -07:00

8.5 KiB