Lines Matching refs:ProfileSummary
578 void Module::setProfileSummary(Metadata *M, ProfileSummary::Kind Kind) { in setProfileSummary()
579 if (Kind == ProfileSummary::PSK_CSInstr) in setProfileSummary()
680 std::unique_ptr<ProfileSummary> ProfileSummary( in setPartialSampleProfileRatio() local
681 ProfileSummary::getFromMD(SummaryMD)); in setPartialSampleProfileRatio()
682 if (ProfileSummary) { in setPartialSampleProfileRatio()
683 if (ProfileSummary->getKind() != ProfileSummary::PSK_Sample || in setPartialSampleProfileRatio()
684 !ProfileSummary->isPartialProfile()) in setPartialSampleProfileRatio()
687 uint32_t NumCounts = ProfileSummary->getNumCounts(); in setPartialSampleProfileRatio()
691 ProfileSummary->setPartialProfileRatio(Ratio); in setPartialSampleProfileRatio()
692 setProfileSummary(ProfileSummary->getMD(getContext()), in setPartialSampleProfileRatio()
693 ProfileSummary::PSK_Sample); in setPartialSampleProfileRatio()