Home
last modified time | relevance | path

Searched refs:ProfRecord (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp128 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitKeyDataLength() local
131 M += ProfRecord.Counts.size() * sizeof(uint64_t); in EmitKeyDataLength()
150 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitData() local
152 CSSummaryBuilder->addRecord(ProfRecord); in EmitData()
154 SummaryBuilder->addRecord(ProfRecord); in EmitData()
157 LE.write<uint64_t>(ProfRecord.Counts.size()); in EmitData()
158 for (uint64_t I : ProfRecord.Counts) in EmitData()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenPGO.h38 std::unique_ptr<llvm::InstrProfRecord> ProfRecord; variable
H A DCodeGenPGO.cpp1018 if (NumValueSites[ValueKind] >= ProfRecord->getNumValueSites(ValueKind)) in valueProfile()
1021 llvm::annotateValueSite(CGM.getModule(), *ValueSite, *ProfRecord, in valueProfile()
1046 ProfRecord = in loadRegionCounts()
1048 RegionCounts = ProfRecord->Counts; in loadRegionCounts()
/llvm-project-15.0.7/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp465 InstrProfRecord *ProfRecord; member
471 ProfRecord = Record; in InstrProfileEntry()
489 InstrProfRecord *ProfRecord = IFE.ProfRecord; in updateInstrProfileEntry() local
497 for (size_t I = 0; I < ProfRecord->Counts.size(); ++I) in updateInstrProfileEntry()
498 ProfRecord->Counts[I] = -1; in updateInstrProfileEntry()
506 ProfRecord->scale(Numerator, Denominator, [&](instrprof_error E) { in updateInstrProfileEntry()