[all-commits] [llvm/llvm-project] 33508a: [ORC] Make ElementSet, ContainerElementsMap inner ...

Lang Hames via All-commits all-commits at lists.llvm.org
Fri Mar 6 00:17:39 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33508a222e32d9c361f18f34d19209dc0af94127
      https://github.com/llvm/llvm-project/commit/33508a222e32d9c361f18f34d19209dc0af94127
  Author: Lang Hames <lhames at gmail.com>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/WaitingOnGraph.h
    M llvm/unittests/ExecutionEngine/Orc/WaitingOnGraphTest.cpp

  Log Message:
  -----------
  [ORC] Make ElementSet, ContainerElementsMap inner classes. (#184955)

ElementSet and ContainerElementsMap were type aliases inside
WaitingOnGraph.

This commit replaces the aliases with classes deriving from DenseSet and
DenseMap, with convenience operations added for WaitingOnGraph (merge,
remove, remove_if, and visit). These convenience functions are used to
simplify the implementation of various parts of WaitingOnGraph.

Unit tests are added for the convenience operations to improve test
coverage.

In addition to improving readability of the main WaitingOnGraph
operations, this will make it easier to experiment with other underlying
representations for these types (e.g. sorted vectors).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list