[llvm] [MemProf] Refactor and clean up edge removal (PR #109188)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 15:46:51 PDT 2024
================
@@ -417,6 +417,29 @@ class CallsiteContextGraph {
DenseSet<uint32_t> &getContextIds() { return ContextIds; }
+ // Helper to clear the fields of this edge when we are removing it from the
+ // graph.
+ void clear() {
----------------
snehasish wrote:
Mark these small functions as inline?
https://github.com/llvm/llvm-project/pull/109188
More information about the llvm-commits
mailing list