Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp123 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitKeyDataLength() local
126 M += ProfRecord.Counts.size() * sizeof(uint64_t); in EmitKeyDataLength()
145 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitData() local
147 CSSummaryBuilder->addRecord(ProfRecord); in EmitData()
149 SummaryBuilder->addRecord(ProfRecord); in EmitData()
152 LE.write<uint64_t>(ProfRecord.Counts.size()); in EmitData()
153 for (uint64_t I : ProfRecord.Counts) in EmitData()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenPGO.h38 std::unique_ptr<llvm::InstrProfRecord> ProfRecord; variable
H A DCodeGenPGO.cpp1010 if (NumValueSites[ValueKind] >= ProfRecord->getNumValueSites(ValueKind)) in valueProfile()
1013 llvm::annotateValueSite(CGM.getModule(), *ValueSite, *ProfRecord, in valueProfile()
1038 ProfRecord = in loadRegionCounts()
1040 RegionCounts = ProfRecord->Counts; in loadRegionCounts()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp405 InstrProfRecord *ProfRecord; member
411 ProfRecord = Record; in InstrProfileEntry()
429 InstrProfRecord *ProfRecord = IFE.ProfRecord; in updateInstrProfileEntry() local
437 for (size_t I = 0; I < ProfRecord->Counts.size(); ++I) in updateInstrProfileEntry()
438 ProfRecord->Counts[I] = -1; in updateInstrProfileEntry()
446 ProfRecord->scale(Numerator, Denominator, [&](instrprof_error E) { in updateInstrProfileEntry()