/external/llvm/include/llvm/ProfileData/ |
D | InstrProfReader.h | 35 InstrProfRecord> { 37 InstrProfRecord Record; 47 InstrProfRecord &operator*() { return Record; } 48 InstrProfRecord *operator->() { return &Record; } 63 virtual std::error_code readNextRecord(InstrProfRecord &Record) = 0; 124 std::error_code readValueProfileData(InstrProfRecord &Record); 136 std::error_code readNextRecord(InstrProfRecord &Record) override; 168 InstrProfRecord::ValueMapType FunctionPtrToNameMap; 178 std::error_code readNextRecord(InstrProfRecord &Record) override; 205 std::error_code readName(InstrProfRecord &Record); [all …]
|
D | InstrProf.h | 324 struct InstrProfRecord { struct 325 InstrProfRecord() {} in InstrProfRecord() argument 326 InstrProfRecord(StringRef Name, uint64_t Hash, std::vector<uint64_t> Counts) in InstrProfRecord() argument 361 instrprof_error merge(InstrProfRecord &Other, uint64_t Weight = 1); 385 const_cast<const InstrProfRecord *>(this) in getValueSitesForKind() argument 395 instrprof_error mergeValueProfData(uint32_t ValueKind, InstrProfRecord &Src, 399 uint32_t InstrProfRecord::getNumValueKinds() const { in getNumValueKinds() 406 uint32_t InstrProfRecord::getNumValueData(uint32_t ValueKind) const { in getNumValueData() 416 uint32_t InstrProfRecord::getNumValueSites(uint32_t ValueKind) const { in getNumValueSites() 420 uint32_t InstrProfRecord::getNumValueDataForSite(uint32_t ValueKind, in getNumValueDataForSite() [all …]
|
D | InstrProfWriter.h | 29 typedef SmallDenseMap<uint64_t, InstrProfRecord, 1> ProfilingData; 41 std::error_code addRecord(InstrProfRecord &&I, uint64_t Weight = 1); 47 static void writeRecordInText(const InstrProfRecord &Record,
|
D | InstrProfData.inc | 213 void deserializeTo(InstrProfRecord &Record, 214 InstrProfRecord::ValueMapType *VMap); 257 static uint32_t getSize(const InstrProfRecord &Record); 262 serializeFrom(const InstrProfRecord &Record); 292 void deserializeTo(InstrProfRecord &Record, 293 InstrProfRecord::ValueMapType *VMap); 300 * - InstrProfRecord which is the primary data structure used to 310 * in class InstrProfRecord. 332 * Like InstrProfRecord class which is used by profiling host tools,
|
/external/llvm/unittests/ProfileData/ |
D | InstrProfTest.cpp | 53 InstrProfRecord Record("foo", 0x1234, {1, 2, 3, 4}); in TEST_F() 71 InstrProfRecord Record1("foo", 0x1234, {1, 2}); in TEST_F() 72 InstrProfRecord Record2("foo", 0x1235, {3, 4}); in TEST_F() 78 ErrorOr<InstrProfRecord> R = Reader->getInstrProfRecord("foo", 0x1234); in TEST_F() 98 InstrProfRecord Record1("foo", 0x1234, {1, 2}); in TEST_F() 99 InstrProfRecord Record2("foo", 0x1235, {3, 4}); in TEST_F() 125 InstrProfRecord Record1("caller", 0x1234, {1, 2}); in TEST_F() 126 InstrProfRecord Record2("callee1", 0x1235, {3, 4}); in TEST_F() 127 InstrProfRecord Record3("callee2", 0x1235, {3, 4}); in TEST_F() 128 InstrProfRecord Record4("callee3", 0x1235, {3, 4}); in TEST_F() [all …]
|
D | CoverageMappingTest.cpp | 191 InstrProfRecord Record("func", 0x1234, {30, 20, 10, 0}); in TEST_F() 242 InstrProfRecord Record("func", 0x1234, {10, 20, 30}); in TEST_F() 261 InstrProfRecord Record("func", 0x1234, {10, 20}); in TEST_F() 281 InstrProfRecord Record("file1:func", 0x1234, {10}); in TEST_F()
|
/external/llvm/lib/ProfileData/ |
D | InstrProf.cpp | 198 instrprof_error InstrProfRecord::mergeValueProfData(uint32_t ValueKind, in mergeValueProfData() 199 InstrProfRecord &Src, in mergeValueProfData() 216 instrprof_error InstrProfRecord::merge(InstrProfRecord &Other, in merge() 245 uint64_t InstrProfRecord::remapValue(uint64_t Value, uint32_t ValueKind, in remapValue() 263 void InstrProfRecord::addValueData(uint32_t ValueKind, uint32_t Site, in addValueData() 286 return reinterpret_cast<const InstrProfRecord *>(Record)->getNumValueKinds(); in getNumValueKindsInstrProf() 290 return reinterpret_cast<const InstrProfRecord *>(Record) in getNumValueSitesInstrProf() 295 return reinterpret_cast<const InstrProfRecord *>(Record) in getNumValueDataInstrProf() 301 return reinterpret_cast<const InstrProfRecord *>(R) in getNumValueDataForSiteInstrProf() 308 return reinterpret_cast<const InstrProfRecord *>(R)->getValueForSite( in getValueForSiteInstrProf() [all …]
|
D | InstrProfReader.cpp | 118 TextInstrProfReader::readValueProfileData(InstrProfRecord &Record) { in readValueProfileData() 181 std::error_code TextInstrProfReader::readNextRecord(InstrProfRecord &Record) { in readNextRecord() 336 std::error_code RawInstrProfReader<IntPtrT>::readName(InstrProfRecord &Record) { in readName() 347 InstrProfRecord &Record) { in readFuncHash() 354 InstrProfRecord &Record) { in readRawCounts() 381 RawInstrProfReader<IntPtrT>::readValueProfilingData(InstrProfRecord &Record) { in readValueProfilingData() 408 RawInstrProfReader<IntPtrT>::readNextRecord(InstrProfRecord &Record) { in readNextRecord() 508 StringRef FuncName, ArrayRef<InstrProfRecord> &Data) { in getRecords() 522 ArrayRef<InstrProfRecord> &Data) { in getRecords() 609 ErrorOr<InstrProfRecord> [all …]
|
D | InstrProfWriter.cpp | 51 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitKeyDataLength() 73 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitData() 97 std::error_code InstrProfWriter::addRecord(InstrProfRecord &&I, in addRecord() 104 ProfileDataMap.insert(std::make_pair(I.Hash, InstrProfRecord())); in addRecord() 105 InstrProfRecord &Dest = Where->second; in addRecord() 187 void InstrProfWriter::writeRecordInText(const InstrProfRecord &Func, in writeRecordInText()
|
/external/compiler-rt/lib/profile/ |
D | InstrProfData.inc | 213 void deserializeTo(InstrProfRecord &Record, 214 InstrProfRecord::ValueMapType *VMap); 257 static uint32_t getSize(const InstrProfRecord &Record); 262 serializeFrom(const InstrProfRecord &Record); 292 void deserializeTo(InstrProfRecord &Record, 293 InstrProfRecord::ValueMapType *VMap); 300 * - InstrProfRecord which is the primary data structure used to 310 * in class InstrProfRecord. 332 * Like InstrProfRecord class which is used by profiling host tools,
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 514 ErrorOr<InstrProfRecord> Result = in readCounters()
|