Lines Matching refs:FunctionProfile
363 FunctionSamples &FunctionProfile, const SampleContextFrame &LeafLoc, in updateBodySamplesforFunctionProfile() argument
374 FunctionProfile.findSamplesAt(LeafLoc.Location.LineOffset, Discriminator); in updateBodySamplesforFunctionProfile()
378 FunctionProfile.addBodySamples(LeafLoc.Location.LineOffset, Discriminator, in updateBodySamplesforFunctionProfile()
385 FunctionSamples &FunctionProfile = Item.second; in updateTotalSamples() local
386 FunctionProfile.updateTotalSamples(); in updateTotalSamples()
392 FunctionSamples &FunctionProfile = Item.second; in updateCallsiteSamples() local
393 FunctionProfile.updateCallsiteSamples(); in updateCallsiteSamples()
557 FunctionSamples &FunctionProfile = in populateBodySamplesWithProbesForAllFunctions() local
559 FunctionProfile.addBodySamplesForProbe(Probe->getIndex(), Count); in populateBodySamplesWithProbesForAllFunctions()
561 FunctionProfile.addHeadSamples(Count); in populateBodySamplesWithProbesForAllFunctions()
588 FunctionSamples &FunctionProfile = in populateBoundarySamplesWithProbesForAllFunctions() local
590 FunctionProfile.addCalledTargetSamples( in populateBoundarySamplesWithProbesForAllFunctions()
599 FunctionSamples *FunctionProfile = in getLeafProfileAndAddTotalSamples() local
601 FunctionProfile->addTotalSamples(Count); in getLeafProfileAndAddTotalSamples()
604 Function::getGUID(FunctionProfile->getName())); in getLeafProfileAndAddTotalSamples()
605 FunctionProfile->setFunctionHash(FuncDesc->FuncHash); in getLeafProfileAndAddTotalSamples()
613 FunctionProfile->functionSamplesAt(Callsite); in getLeafProfileAndAddTotalSamples()
620 FunctionProfile = &Ret.first->second; in getLeafProfileAndAddTotalSamples()
621 FunctionProfile->addTotalSamples(Count); in getLeafProfileAndAddTotalSamples()
624 Function::getGUID(FunctionProfile->getName())); in getLeafProfileAndAddTotalSamples()
625 FunctionProfile->setFunctionHash(FuncDesc->FuncHash); in getLeafProfileAndAddTotalSamples()
629 return *FunctionProfile; in getLeafProfileAndAddTotalSamples()
680 FunctionSamples &FunctionProfile = getLeafProfileAndAddTotalSamples( in populateBodySamplesForAllFunctions() local
682 updateBodySamplesforFunctionProfile(FunctionProfile, FrameVec.back(), in populateBodySamplesForAllFunctions()
716 FunctionSamples &FunctionProfile = in populateBoundarySamplesForAllFunctions() local
718 FunctionProfile.addCalledTargetSamples( in populateBoundarySamplesForAllFunctions()
839 FunctionSamples &FunctionProfile, const RangeSample &RangeCounter) { in populateBodySamplesForFunction() argument
865 updateBodySamplesforFunctionProfile(FunctionProfile, *LeafLoc, Count); in populateBodySamplesForFunction()
866 FunctionProfile.addTotalSamples(Count); in populateBodySamplesForFunction()
1145 FunctionSamples &FunctionProfile = *ContextNode->getFunctionSamples(); in populateBodySamplesWithProbes() local
1149 FrameSamples[Probe->getInlineTreeNode()].insert(&FunctionProfile); in populateBodySamplesWithProbes()
1150 FunctionProfile.addBodySamplesForProbe(Probe->getIndex(), Count); in populateBodySamplesWithProbes()
1151 FunctionProfile.addTotalSamples(Count); in populateBodySamplesWithProbes()
1153 FunctionProfile.addHeadSamples(Count); in populateBodySamplesWithProbes()
1179 for (auto *FunctionProfile : I.second) { in populateBodySamplesWithProbes() local
1181 FunctionProfile->addBodySamplesForProbe(Probe->getIndex(), 0); in populateBodySamplesWithProbes()
1198 FunctionSamples &FunctionProfile = in populateBoundarySamplesWithProbes() local
1200 FunctionProfile.addBodySamples(CallProbe->getIndex(), 0, Count); in populateBoundarySamplesWithProbes()
1201 FunctionProfile.addTotalSamples(Count); in populateBoundarySamplesWithProbes()
1205 FunctionProfile.addCalledTargetSamples(CallProbe->getIndex(), 0, CalleeName, in populateBoundarySamplesWithProbes()