Home | History | Annotate | Download | only in ProfileData

Lines Matching refs:Record

98   if (auto E = Reader->readNextRecord(Record)) {
139 TextInstrProfReader::readValueProfileData(InstrProfRecord &Record) {
173 Record.reserveSites(VK, NumValueSites);
192 Record.addValueData(VK, S, CurrentValues.data(), NumValueData, nullptr);
202 Error TextInstrProfReader::readNextRecord(InstrProfRecord &Record) {
213 Record.Name = *Line++;
214 Symtab->addFuncName(Record.Name);
219 if ((Line++)->getAsInteger(0, Record.Hash))
232 Record.Counts.clear();
233 Record.Counts.reserve(NumCounters);
240 Record.Counts.push_back(Count);
244 if (Error E = readValueProfileData(Record))
357 Error RawInstrProfReader<IntPtrT>::readName(InstrProfRecord &Record) {
358 Record.Name = getName(Data->NameRef);
363 Error RawInstrProfReader<IntPtrT>::readFuncHash(InstrProfRecord &Record) {
364 Record.Hash = swap(Data->FuncHash);
370 InstrProfRecord &Record) {
385 Record.Counts.clear();
386 Record.Counts.reserve(RawCounts.size());
388 Record.Counts.push_back(swap(Count));
390 Record.Counts = RawCounts;
397 InstrProfRecord &Record) {
399 Record.clearValueData();
420 VDataPtrOrErr.get()->deserializeTo(Record, &Symtab->getAddrHashMap());
426 Error RawInstrProfReader<IntPtrT>::readNextRecord(InstrProfRecord &Record) {
432 // Read name ad set it in Record.
433 if (Error E = readName(Record))
436 // Read FuncHash and set it in Record.
437 if (Error E = readFuncHash(Record))
440 // Read raw counts and set Record.
441 if (Error E = readRawCounts(Record))
444 // Read value data and set Record.
445 if (Error E = readValueProfilingData(Record))
697 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash);
698 if (Error E = Record.takeError())
701 Counts = Record.get().Counts;
705 Error IndexedInstrProfReader::readNextRecord(InstrProfRecord &Record) {
714 Record = Data[RecordIndex++];