Lines Matching refs:YamlCSI
132 for (const yaml::bolt::CallSiteInfo &YamlCSI : YamlBB.CallSites) { in parseFunctionProfile() local
133 BinaryFunction *Callee = YamlCSI.DestId < YamlProfileToFunction.size() in parseFunctionProfile()
134 ? YamlProfileToFunction[YamlCSI.DestId] in parseFunctionProfile()
139 CalleeSymbol = Callee->getSymbolForEntryID(YamlCSI.EntryDiscriminator); in parseFunctionProfile()
141 BF.getAllCallSites().emplace_back(CalleeSymbol, YamlCSI.Count, in parseFunctionProfile()
142 YamlCSI.Mispreds, YamlCSI.Offset); in parseFunctionProfile()
144 if (YamlCSI.Offset >= BB.getOriginalSize()) { in parseFunctionProfile()
146 errs() << "BOLT-WARNING: offset " << YamlCSI.Offset in parseFunctionProfile()
153 BF.getInstructionAtOffset(BB.getInputOffset() + YamlCSI.Offset); in parseFunctionProfile()
156 errs() << "BOLT-WARNING: no instruction at offset " << YamlCSI.Offset in parseFunctionProfile()
163 errs() << "BOLT-WARNING: expected call at offset " << YamlCSI.Offset in parseFunctionProfile()
173 << " info for offset 0x" << Twine::utohexstr(YamlCSI.Offset) in parseFunctionProfile()
183 CSP.emplace_back(CalleeSymbol, YamlCSI.Count, YamlCSI.Mispreds); in parseFunctionProfile()
185 setAnnotation("CTCTakenCount", YamlCSI.Count); in parseFunctionProfile()
186 setAnnotation("CTCMispredCount", YamlCSI.Mispreds); in parseFunctionProfile()
188 setAnnotation("Count", YamlCSI.Count); in parseFunctionProfile()