[PATCH] D93829: [clangd] Support outgoing calls in call hierarchy

Nathan Ridge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 18 00:18:07 PDT 2023


nridge planned changes to this revision.
nridge added a comment.

The updated patch implements one of the optimizations discussed during review, namely filtering the Refs stored in the RevRefs data structure to just those that could be calls.

To this end, the patch introduces a new `RefKind`, `RefKind::Call`, as discussed.

With the updated patch, memory usage on the same workload is: background_index 579MB (index 392MB, slabs 187MB).

This is an increase of (579 - 560) / 560 = 3.4% over baseline (down from 8.2% with the original patch!)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93829/new/

https://reviews.llvm.org/D93829



More information about the cfe-commits mailing list