Files
clang-p2996/llvm/lib/Analysis/CtxProfAnalysis.cpp
Mircea Trofin c4952e513f [nfc][ctx_prof] Efficient profile traversal and update (#110052)
This optimizes profile updates and visits, where we want to access contexts for a specific function. These are all the current update cases. We do so by maintaining a list of contexts for each function, preserving preorder traversal. The list is updated whenever contexts are `std::move`-d or deleted.
2024-09-27 08:09:10 -07:00

13 KiB