/external/llvm/include/llvm/ProfileData/ |
InstrProfWriter.h | 32 typedef SmallDenseMap<uint64_t, InstrProfRecord, 1> ProfilingData; 49 Error addRecord(InstrProfRecord &&I, uint64_t Weight = 1); 55 static void writeRecordInText(const InstrProfRecord &Record,
|
InstrProfReader.h | 34 InstrProfRecord> { 36 InstrProfRecord Record; 46 InstrProfRecord &operator*() { return Record; } 47 InstrProfRecord *operator->() { return &Record; } 62 virtual Error readNextRecord(InstrProfRecord &Record) = 0; 132 Error readValueProfileData(InstrProfRecord &Record); 147 Error readNextRecord(InstrProfRecord &Record) override; 185 InstrProfRecord::ValueMapType FunctionPtrToNameMap; 195 Error readNextRecord(InstrProfRecord &Record) override; 225 Error readName(InstrProfRecord &Record) [all...] |
ProfileCommon.h | 36 struct InstrProfRecord; 78 void addRecord(const InstrProfRecord &);
|
InstrProf.h | 243 struct InstrProfRecord; 249 const InstrProfRecord &InstrProfR, 572 struct InstrProfRecord { 573 InstrProfRecord() : SIPE() {} 574 InstrProfRecord(StringRef Name, uint64_t Hash, std::vector<uint64_t> Counts) 614 void merge(InstrProfRecord &Other, uint64_t Weight = 1); 654 const_cast<const InstrProfRecord *>(this) 664 void mergeValueProfData(uint32_t ValueKind, InstrProfRecord &Src, 670 uint32_t InstrProfRecord::getNumValueKinds() const { 677 uint32_t InstrProfRecord::getNumValueData(uint32_t ValueKind) const [all...] |
InstrProfData.inc | 280 void deserializeTo(InstrProfRecord &Record, 281 InstrProfRecord::ValueMapType *VMap); 324 static uint32_t getSize(const InstrProfRecord &Record); 329 serializeFrom(const InstrProfRecord &Record); 358 void deserializeTo(InstrProfRecord &Record, 359 InstrProfRecord::ValueMapType *VMap); 366 * - InstrProfRecord which is the primary data structure used to 376 * in class InstrProfRecord.
|
/external/llvm/unittests/ProfileData/ |
InstrProfTest.cpp | 73 InstrProfRecord Record("foo", 0x1234, {1, 2, 3, 4}); 91 InstrProfRecord Record1("foo", 0x1234, {1, 2}); 92 InstrProfRecord Record2("foo", 0x1235, {3, 4}); 98 Expected<InstrProfRecord> R = Reader->getInstrProfRecord("foo", 0x1234); 118 InstrProfRecord Record1("foo", 0x1234, {1, 2}); 119 InstrProfRecord Record2("foo", 0x1235, {3, 4}); 145 InstrProfRecord Record1("func1", 0x1234, {97531}); 146 InstrProfRecord Record2("func2", 0x1234, {0, 0}); 147 InstrProfRecord Record3("func3", 0x1234, 151 InstrProfRecord Record4("func4", 0x1234, {0}) [all...] |
CoverageMappingTest.cpp | 269 InstrProfRecord Record("func", 0x1234, {0}); 291 InstrProfRecord RecordFunc1("func1", 0x1234, {10}); 293 InstrProfRecord RecordFunc2("func2", 0x2345, {20}); 338 InstrProfRecord Record("func", 0x1234, {30, 20, 10, 0}); 387 InstrProfRecord Record("func", 0x1234, {10, 20, 30}); 407 InstrProfRecord Record("func", 0x1234, {10, 20, 40}); 428 InstrProfRecord Record1("func", 0x1234, {10, 20}); 429 InstrProfRecord Record2("func", 0x1234, {0, 0}); 451 InstrProfRecord Record("func", 0x1234, {2, 3, 7}); 473 InstrProfRecord Record("file1:func", 0x1234, {0}) [all...] |
/external/llvm/lib/ProfileData/ |
InstrProf.cpp | 371 void InstrProfRecord::mergeValueProfData(uint32_t ValueKind, 372 InstrProfRecord &Src, 388 void InstrProfRecord::merge(InstrProfRecord &Other, uint64_t Weight) { 408 void InstrProfRecord::scaleValueProfData(uint32_t ValueKind, uint64_t Weight) { 416 void InstrProfRecord::scale(uint64_t Weight) { 428 uint64_t InstrProfRecord::remapValue(uint64_t Value, uint32_t ValueKind, 452 void InstrProfRecord::addValueData(uint32_t ValueKind, uint32_t Site, 470 * \brief ValueProfRecordClosure Interface implementation for InstrProfRecord 475 return reinterpret_cast<const InstrProfRecord *>(Record)->getNumValueKinds() [all...] |
InstrProfWriter.cpp | 104 const InstrProfRecord &ProfRecord = ProfileData.second; 125 const InstrProfRecord &ProfRecord = ProfileData.second; 159 Error InstrProfWriter::addRecord(InstrProfRecord &&I, uint64_t Weight) { 165 ProfileDataMap.insert(std::make_pair(I.Hash, InstrProfRecord())); 166 InstrProfRecord &Dest = Where->second; 189 const InstrProfRecord &IPR = Func.second; 297 void InstrProfWriter::writeRecordInText(const InstrProfRecord &Func,
|
InstrProfReader.cpp | 139 TextInstrProfReader::readValueProfileData(InstrProfRecord &Record) { 202 Error TextInstrProfReader::readNextRecord(InstrProfRecord &Record) { 357 Error RawInstrProfReader<IntPtrT>::readName(InstrProfRecord &Record) { 363 Error RawInstrProfReader<IntPtrT>::readFuncHash(InstrProfRecord &Record) { 370 InstrProfRecord &Record) { 397 InstrProfRecord &Record) { 426 Error RawInstrProfReader<IntPtrT>::readNextRecord(InstrProfRecord &Record) { 528 StringRef FuncName, ArrayRef<InstrProfRecord> &Data) { 542 ArrayRef<InstrProfRecord> &Data) { 677 Expected<InstrProfRecord> [all...] |
ProfileSummaryBuilder.cpp | 36 void InstrProfSummaryBuilder::addRecord(const InstrProfRecord &R) {
|
/external/compiler-rt/lib/profile/ |
InstrProfData.inc | 280 void deserializeTo(InstrProfRecord &Record, 281 InstrProfRecord::ValueMapType *VMap); 324 static uint32_t getSize(const InstrProfRecord &Record); 329 serializeFrom(const InstrProfRecord &Record); 358 void deserializeTo(InstrProfRecord &Record, 359 InstrProfRecord::ValueMapType *VMap); 366 * - InstrProfRecord which is the primary data structure used to 376 * in class InstrProfRecord.
|
/external/clang/lib/CodeGen/ |
CodeGenPGO.h | 42 std::unique_ptr<llvm::InstrProfRecord> ProfRecord;
|
CodeGenPGO.cpp | 805 llvm::Expected<llvm::InstrProfRecord> RecordExpected = 819 llvm::make_unique<llvm::InstrProfRecord>(std::move(RecordExpected.get()));
|
/external/llvm/lib/Transforms/Instrumentation/ |
PGOInstrumentation.cpp | 483 InstrProfRecord &getProfileRecord() { return ProfileRecord; } 501 InstrProfRecord ProfileRecord; 589 Expected<InstrProfRecord> Result = [all...] |