[llvm] [ctx_prof] Add Inlining support (PR #106154)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 30 13:42:57 PDT 2024


================
@@ -74,6 +74,11 @@ class PGOCtxProfContext final {
     Iter->second.emplace(Other.guid(), std::move(Other));
   }
 
+  void ingestAllContexts(uint32_t CSId, CallTargetMapTy &&Other) {
+    auto [_, Inserted] = callsites().try_emplace(CSId, std::move(Other));
+    assert(Inserted);
----------------
mtrofin wrote:

done

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


More information about the llvm-commits mailing list