Searched refs:LineOffset (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 89 uint64_t &NumSamples, uint32_t &LineOffset, in ParseLine() argument 101 if (Loc.getAsInteger(10, LineOffset) || !isOffsetLegal(LineOffset)) in ParseLine() 105 if (Loc.substr(0, n2).getAsInteger(10, LineOffset)) in ParseLine() 192 uint32_t Depth, LineOffset, Discriminator; in read() local 193 if (!ParseLine(*LineIt, IsCallsite, Depth, NumSamples, LineOffset, in read() 205 CallsiteLocation(LineOffset, Discriminator, FName)); in read() 215 LineOffset, Discriminator, name_count.first, in read() 218 MergeResult(Result, FProfile.addBodySamples(LineOffset, Discriminator, in read() 300 auto LineOffset = readNumber<uint64_t>(); in readProfile() local 301 if (std::error_code EC = LineOffset.getError()) in readProfile() [all …]
|
D | SampleProfWriter.cpp | 55 OS << Loc.LineOffset << ": "; in write() 57 OS << Loc.LineOffset << "." << Loc.Discriminator << ": "; in write() 74 OS << Loc.LineOffset << ": "; in write() 76 OS << Loc.LineOffset << "." << Loc.Discriminator << ": "; in write() 153 encodeULEB128(Loc.LineOffset, OS); in writeBody() 171 encodeULEB128(Loc.LineOffset, OS); in writeBody()
|
D | SampleProf.cpp | 63 OS << LineOffset; in print()
|
/external/llvm/include/llvm/ProfileData/ |
D | SampleProf.h | 89 LineLocation(uint32_t L, uint32_t D) : LineOffset(L), Discriminator(D) {} 93 return LineOffset < O.LineOffset || 94 (LineOffset == O.LineOffset && Discriminator < O.Discriminator); 97 uint32_t LineOffset; 242 sampleprof_error addBodySamples(uint32_t LineOffset, uint32_t Discriminator, 244 return BodySamples[LineLocation(LineOffset, Discriminator)].addSamples( 247 sampleprof_error addCalledTargetSamples(uint32_t LineOffset, 251 return BodySamples[LineLocation(LineOffset, Discriminator)].addCalledTarget( 258 ErrorOr<uint64_t> findSamplesAt(uint32_t LineOffset, 260 const auto &ret = BodySamples.find(LineLocation(LineOffset, Discriminator));
|
/external/llvm/lib/Transforms/IPO/ |
D | SampleProfile.cpp | 213 bool markSamplesUsed(const FunctionSamples *FS, uint32_t LineOffset, 296 uint32_t LineOffset, in markSamplesUsed() argument 299 LineLocation Loc(LineOffset, Discriminator); in markSamplesUsed() 460 uint32_t LineOffset = getOffset(Lineno, HeaderLineno); in getInstWeight() local 462 ErrorOr<uint64_t> R = FS->findSamplesAt(LineOffset, Discriminator); in getInstWeight() 465 CoverageTracker.markSamplesUsed(FS, LineOffset, Discriminator, R.get()); in getInstWeight() 472 Twine(LineOffset) + in getInstWeight()
|
/external/clang/lib/Format/ |
D | Format.cpp | 1114 auto LineOffset = Buffer.rfind('\n', FirstInLineOffset); in tryMergeConflictMarkers() local 1115 if (LineOffset == StringRef::npos) { in tryMergeConflictMarkers() 1116 LineOffset = 0; in tryMergeConflictMarkers() 1118 ++LineOffset; in tryMergeConflictMarkers() 1121 auto FirstSpace = Buffer.find_first_of(" \n", LineOffset); in tryMergeConflictMarkers() 1124 LineStart = Buffer.substr(LineOffset); in tryMergeConflictMarkers() 1126 LineStart = Buffer.substr(LineOffset, FirstSpace - LineOffset); in tryMergeConflictMarkers()
|