[llvm-branch-commits] [llvm] [BOLT] Add pseudo probe inline tree to YAML profile (PR #107137)
Lei Wang via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Sep 11 17:35:44 PDT 2024
================
@@ -158,15 +164,35 @@ template <> struct MappingTraits<bolt::BinaryBasicBlockProfile> {
std::vector<bolt::CallSiteInfo>());
YamlIO.mapOptional("succ", BBP.Successors,
std::vector<bolt::SuccessorInfo>());
- YamlIO.mapOptional("pseudo_probes", BBP.PseudoProbes,
+ YamlIO.mapOptional("probes", BBP.PseudoProbes,
std::vector<bolt::PseudoProbeInfo>());
}
};
+namespace bolt {
+struct InlineTreeInfo {
----------------
wlei-llvm wrote:
Is this to represent only a node or the whole tree? if it's a node, maybe rename it `InlineTreeNode`? (Or is it because there is a name conflict, then maybe rename this to `YamlInlineTreeNode`?)
https://github.com/llvm/llvm-project/pull/107137
More information about the llvm-branch-commits
mailing list