[libc-commits] [flang] [libcxxabi] [clang-tools-extra] [lld] [compiler-rt] [llvm] [libcxx] [libc] [clang] [CSSPGO] Compute and report post-match profile staleness (PR #79090)

via libc-commits libc-commits at lists.llvm.org
Wed Jan 24 14:28:21 PST 2024


================
@@ -433,12 +433,19 @@ using CandidateQueue =
     PriorityQueue<InlineCandidate, std::vector<InlineCandidate>,
                   CandidateComparer>;
 
+using IRAnchorMap = std::map<LineLocation, StringRef>;
+using ProfileAnchorMap = std::map<LineLocation, std::unordered_set<FunctionId>>;
----------------
WenleiHe wrote:

Also move this inside class `SampleProfileMatcher` since these types are internal to the matcher. 

https://github.com/llvm/llvm-project/pull/79090


More information about the libc-commits mailing list