[PATCH] D142314: [ORC] Add a NonOwningSymbolStringPtr utility.
Lang Hames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 22 10:46:10 PST 2023
lhames created this revision.
lhames added a reviewer: dblaikie.
Herald added a project: All.
lhames requested review of this revision.
Herald added a project: LLVM.
Introduces a non-owning SymbolStringPool entry pointer. Instances of the new
type can be compared with SymbolStringPtr instances, but do not participate in
ref-counting and are therefore cheaper to copy. This makes it efficient to use
in algorithms that use symbol-strings as ids, e.g. ORC's waiting-on graph. A
future commit will rewrite ORC's waiting-on graph.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142314
Files:
llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
llvm/unittests/ExecutionEngine/Orc/SymbolStringPoolTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142314.491190.patch
Type: text/x-patch
Size: 9913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230122/4638cf86/attachment.bin>
More information about the llvm-commits
mailing list