[llvm] [ctx_prof] Profile flatterner (PR #104539)
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 08:16:22 PDT 2024
================
@@ -193,3 +201,35 @@ InstrProfCallsite *CtxProfAnalysis::getCallsiteInstrumentation(CallBase &CB) {
return IPC;
return nullptr;
}
+
+static void
+preorderVisit(const PGOCtxProfContext::CallTargetMapTy &Profiles,
+ function_ref<void(const PGOCtxProfContext &)> Visitor) {
+ std::function<void(const PGOCtxProfContext &)> Traverser =
----------------
mtrofin wrote:
See the "Add support for ICP" further up the graphite review stack. We expand more on these taversers.
https://github.com/llvm/llvm-project/pull/104539
More information about the llvm-commits
mailing list