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.cpp355 SampleContext FContext(FName, CSNameTable); in readImpl() local
356 if (FContext.hasContext()) in readImpl()
358 FunctionSamples &FProfile = Profiles.create(FContext); in readImpl()
548 auto FContext(readContextFromTable(&Idx)); in readSampleContextFromTable() local
549 if (std::error_code EC = FContext.getError()) in readSampleContextFromTable()
551 Context = SampleContext(*FContext); in readSampleContextFromTable()
666 auto &[FContext, Hash] = *FContextHash; in readFuncProfile()
668 auto Res = Profiles.try_emplace(Hash, FContext, FunctionSamples()); in readFuncProfile()
670 FProfile.setContext(FContext); in readFuncProfile()
673 if (FContext.hasContext()) in readFuncProfile()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1110 auto &FContext = PD.second.getContext(); in adjustInstrProfile() local
1111 if (FContext.toString().find(FunctionSamples::UniqSuffix) != in adjustInstrProfile()
1545 SampleContext FContext = Samples.getContext(); in mergeSampleProfile() local
1547 ProfileMap[FContext].merge(Samples, Input.Weight)); in mergeSampleProfile()
1551 FContext.toString()); in mergeSampleProfile()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h1194 void setContext(const SampleContext &FContext) { Context = FContext; }