Home
last modified time | relevance | path

Searched refs:FContext (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp365 SampleContext FContext(FName, CSNameTable); in readImpl() local
366 if (FContext.hasContext()) in readImpl()
368 FunctionSamples &FProfile = Profiles.create(FContext); in readImpl()
570 auto FContext(readContextFromTable(&Idx)); in readSampleContextFromTable() local
571 if (std::error_code EC = FContext.getError()) in readSampleContextFromTable()
573 Context = SampleContext(*FContext); in readSampleContextFromTable()
689 auto &[FContext, Hash] = *FContextHash; in readFuncProfile()
691 auto Res = Profiles.try_emplace(Hash, FContext, FunctionSamples()); in readFuncProfile()
693 FProfile.setContext(FContext); in readFuncProfile()
696 if (FContext.hasContext()) in readFuncProfile()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h1206 void setContext(const SampleContext &FContext) { Context = FContext; }
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1198 auto &FContext = PD.second.getContext(); in adjustInstrProfile() local
1199 if (FContext.toString().find(FunctionSamples::UniqSuffix) != in adjustInstrProfile()
1638 SampleContext FContext = Samples.getContext(); in mergeSampleProfile() local
1640 ProfileMap[FContext].merge(Samples, Input.Weight)); in mergeSampleProfile()
1644 FContext.toString()); in mergeSampleProfile()