| /llvm-project-15.0.7/llvm/unittests/ProfileData/ |
| H A D | InstrProfTest.cpp | 94 Writer.addRecord({"foo", 0x1234, {1, 2}}, Err); in TEST_P() 95 Writer.addRecord({"foo", 0x1235, {3, 4}}, Err); in TEST_P() 148 Writer.addRecord( in TEST_F() 446 Writer.addRecord(std::move(Record1), Err); in TEST_P() 481 Writer.addRecord(std::move(Record), Err); in TEST_P() 629 Writer.addRecord(std::move(Record1), Err); in TEST_P() 708 Writer.addRecord(std::move(Record11), Err); in TEST_P() 710 Writer.addRecord(std::move(Record12), Err); in TEST_P() 783 Writer.addRecord({bar, 0x9012, {8}}, Err); in TEST_P() 791 Writer.addRecord(std::move(Record4), Err); in TEST_P() [all …]
|
| H A D | CoverageMappingTest.cpp | 321 ProfileWriter.addRecord({"func", 0x1234, {0}}, Err); in TEST_P() 342 ProfileWriter.addRecord({"", 0x1234, {10}}, Err); in TEST_P() 349 ProfileWriter.addRecord({"func1", 0x1234, {10}}, Err); in TEST_P() 350 ProfileWriter.addRecord({"func2", 0x2345, {20}}, Err); in TEST_P() 399 ProfileWriter.addRecord({"func1", 0x1234, {1}}, Err); in TEST_P() 418 ProfileWriter.addRecord({"func1", 0x1234, {1, 0}}, Err); in TEST_P() 531 ProfileWriter.addRecord({"func1", 0x1234, {1}}, Err); in TEST_P() 856 ProfileWriter.addRecord({"foo", 0x1234, {10}}, Err); in TEST_P() 857 ProfileWriter.addRecord({"bar", 0x2345, {20}}, Err); in TEST_P() 875 ProfileWriter.addRecord({"func", 0x1234, {10}}, Err); in TEST_P() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfWriter.h | 67 void addRecord(NamedInstrProfRecord &&I, uint64_t Weight, 69 void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> Warn) { in addRecord() function 70 addRecord(std::move(I), 1, Warn); in addRecord() 151 void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|
| H A D | ProfileCommon.h | 84 void addRecord(const InstrProfRecord &); 93 void addRecord(const sampleprof::FunctionSamples &FS,
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | ProfileSummaryBuilder.cpp | 91 void InstrProfSummaryBuilder::addRecord(const InstrProfRecord &R) { in addRecord() function in InstrProfSummaryBuilder 103 void SampleProfileSummaryBuilder::addRecord( in addRecord() function in SampleProfileSummaryBuilder 122 addRecord(CS.second, true); in addRecord() 209 addRecord(Profile); in computeSummaryForProfiles()
|
| H A D | InstrProfWriter.cpp | 152 CSSummaryBuilder->addRecord(ProfRecord); in EmitData() 154 SummaryBuilder->addRecord(ProfRecord); in EmitData() 188 void InstrProfWriter::addRecord(NamedInstrProfRecord &&I, uint64_t Weight, in addRecord() function in InstrProfWriter 192 addRecord(Name, Hash, std::move(I), Weight, Warn); in addRecord() 228 void InstrProfWriter::addRecord(StringRef Name, uint64_t Hash, in addRecord() function in InstrProfWriter 287 addRecord(I.getKey(), Func.first, std::move(Func.second), 1, Warn); in mergeRecordsFromWriter()
|
| /llvm-project-15.0.7/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 318 WC->Writer.addRecord(std::move(I), Input.Weight, [&](Error E) { in loadInput() 547 IPBuilder.addRecord(Record); in adjustInstrProfile() 2200 Builder.addRecord(Func); in showInstrProfile()
|