[PATCH] D74415: [ADT] Implement the Waymarking as an independent utility

Ehud Katz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 11 07:59:53 PST 2020


ekatz created this revision.
ekatz added reviewers: craig.topper, chandlerc, lattner, hfinkel.
ekatz added a project: LLVM.
Herald added subscribers: llvm-commits, dexonsmith, mgorny.

This is the Waymarking algorithm implemented as an independent utility.
The utility is operating on a range of sequential elements.
First we "tag" the elements, by calling `fillWaymarks`.
Then we can "follow" the tags from every element inside the tagged range, and reach the "head" (the first element), by calling `followWaymarks`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74415

Files:
  llvm/include/llvm/ADT/Waymarking.h
  llvm/unittests/ADT/CMakeLists.txt
  llvm/unittests/ADT/WaymarkingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74415.243880.patch
Type: text/x-patch
Size: 15916 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200211/7d4317f8/attachment.bin>


More information about the llvm-commits mailing list