3 Commits

Author SHA1 Message Date
Kazu Hirata
f8e2e709f0
[CGData] Return ArrayRef<std::string> in getNames (NFC) (#140675)
All uses of getNames is read access to the list of names, so we can
just return ArrayRef<std::string>.  There is no need to make a copy as
we prepare a return value.

---------

Co-authored-by: Matt Arsenault <arsenm2@gmail.com>
2025-05-20 00:03:48 -07:00
Kazu Hirata
18ecff4f65
[llvm] Use llvm::stable_sort (NFC) (#140067) 2025-05-15 12:18:18 -07:00
Kyungwoo Lee
7ec26b23f2
[CGData] Stable Function Map (#112662)
These define the main data structures to represent stable functions and
group similar functions in a function map.
Serialization is supported in a binary or yaml form.

Depends on #112638.
This is a patch for
https://discourse.llvm.org/t/rfc-global-function-merging/82608.
2024-10-31 22:23:55 -07:00