/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; 200 sampleprof_error addBodySamples(uint32_t LineOffset, uint32_t Discriminator, 202 return BodySamples[LineLocation(LineOffset, Discriminator)].addSamples( 205 sampleprof_error addCalledTargetSamples(uint32_t LineOffset, 209 return BodySamples[LineLocation(LineOffset, Discriminator)].addCalledTarget( 216 ErrorOr<uint64_t> findSamplesAt(uint32_t LineOffset, 218 const auto &ret = BodySamples.find(LineLocation(LineOffset, Discriminator));
|
/external/llvm-project/llvm/include/llvm/ProfileData/ |
D | SampleProf.h | 238 LineLocation(uint32_t L, uint32_t D) : LineOffset(L), Discriminator(D) {} 244 return LineOffset < O.LineOffset || 245 (LineOffset == O.LineOffset && Discriminator < O.Discriminator); 249 return LineOffset == O.LineOffset && Discriminator == O.Discriminator; 253 return LineOffset != O.LineOffset || Discriminator != O.Discriminator; 256 uint32_t LineOffset; 408 int LineOffset = 0; 410 LocSplit.first.getAsInteger(10, LineOffset); 411 LineLoc.LineOffset = LineOffset; 513 sampleprof_error addBodySamples(uint32_t LineOffset, uint32_t Discriminator, [all …]
|
/external/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 86 uint64_t &NumSamples, uint32_t &LineOffset, in ParseLine() argument 98 if (Loc.getAsInteger(10, LineOffset) || !isOffsetLegal(LineOffset)) in ParseLine() 102 if (Loc.substr(0, n2).getAsInteger(10, LineOffset)) in ParseLine() 190 uint32_t Depth, LineOffset, Discriminator; in read() local 191 if (!ParseLine(*LineIt, IsCallsite, Depth, NumSamples, LineOffset, in read() 203 LineLocation(LineOffset, Discriminator)); in read() 214 LineOffset, Discriminator, name_count.first, in read() 217 MergeResult(Result, FProfile.addBodySamples(LineOffset, Discriminator, in read() 301 auto LineOffset = readNumber<uint64_t>(); in readProfile() local 302 if (std::error_code EC = LineOffset.getError()) in readProfile() [all …]
|
D | SampleProfWriter.cpp | 53 OS << Loc.LineOffset << ": "; in write() 55 OS << Loc.LineOffset << "." << Loc.Discriminator << ": "; in write() 72 OS << Loc.LineOffset << ": "; in write() 74 OS << Loc.LineOffset << "." << Loc.Discriminator << ": "; in write() 168 encodeULEB128(Loc.LineOffset, OS); in writeBody() 186 encodeULEB128(Loc.LineOffset, OS); in writeBody()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/ |
D | SampleProf.h | 180 LineLocation(uint32_t L, uint32_t D) : LineOffset(L), Discriminator(D) {} 186 return LineOffset < O.LineOffset || 187 (LineOffset == O.LineOffset && Discriminator < O.Discriminator); 190 uint32_t LineOffset; 323 sampleprof_error addBodySamples(uint32_t LineOffset, uint32_t Discriminator, 325 return BodySamples[LineLocation(LineOffset, Discriminator)].addSamples( 329 sampleprof_error addCalledTargetSamples(uint32_t LineOffset, 333 return BodySamples[LineLocation(LineOffset, Discriminator)].addCalledTarget( 340 ErrorOr<uint64_t> findSamplesAt(uint32_t LineOffset, 342 const auto &ret = BodySamples.find(LineLocation(LineOffset, Discriminator)); [all …]
|
/external/llvm/test/MC/COFF/ |
D | cv-inline-linetable.s | 95 # CHECK: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0xA, LineOffset: 1} 96 # CHECK: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x6, LineOffset: 1} 97 # CHECK: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x7, LineOffset: 1} 116 # CHECK: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x6, LineOffset: 1} 117 # CHECK: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x7, LineOffset: 1}
|
/external/llvm-project/llvm/test/MC/COFF/ |
D | cv-inline-linetable.s | 135 # CHECK-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x8, LineOffset: 0} 136 # CHECK-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x7, LineOffset: 1} 153 # CHECK-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0xF, LineOffset: 0} 154 # CHECK-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0xA, LineOffset: 1} 155 # CHECK-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x6, LineOffset: 1} 156 # CHECK-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x7, LineOffset: 1}
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 98 uint64_t &NumSamples, uint32_t &LineOffset, in ParseLine() argument 110 if (Loc.getAsInteger(10, LineOffset) || !isOffsetLegal(LineOffset)) in ParseLine() 114 if (Loc.substr(0, n2).getAsInteger(10, LineOffset)) in ParseLine() 235 uint32_t Depth, LineOffset, Discriminator; in readImpl() local 236 if (!ParseLine(*LineIt, IsCallsite, Depth, NumSamples, LineOffset, in readImpl() 248 LineLocation(LineOffset, Discriminator))[FName]; in readImpl() 259 LineOffset, Discriminator, name_count.first, in readImpl() 262 MergeResult(Result, FProfile.addBodySamples(LineOffset, Discriminator, in readImpl() 378 auto LineOffset = readNumber<uint64_t>(); in readProfile() local 379 if (std::error_code EC = LineOffset.getError()) in readProfile() [all …]
|
D | SampleProfWriter.cpp | 244 OS << Loc.LineOffset << ": "; in writeSample() 246 OS << Loc.LineOffset << "." << Loc.Discriminator << ": "; in writeSample() 264 OS << Loc.LineOffset << ": "; in writeSample() 266 OS << Loc.LineOffset << "." << Loc.Discriminator << ": "; in writeSample() 509 encodeULEB128(Loc.LineOffset, OS); in writeBody() 531 encodeULEB128(Loc.LineOffset, OS); in writeBody()
|
/external/llvm-project/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 98 uint64_t &NumSamples, uint32_t &LineOffset, in ParseLine() argument 110 if (Loc.getAsInteger(10, LineOffset) || !isOffsetLegal(LineOffset)) in ParseLine() 114 if (Loc.substr(0, n2).getAsInteger(10, LineOffset)) in ParseLine() 243 uint32_t Depth, LineOffset, Discriminator; in readImpl() local 244 if (!ParseLine(*LineIt, IsCallsite, Depth, NumSamples, LineOffset, in readImpl() 256 LineLocation(LineOffset, Discriminator))[std::string(FName)]; in readImpl() 267 LineOffset, Discriminator, name_count.first, in readImpl() 270 MergeResult(Result, FProfile.addBodySamples(LineOffset, Discriminator, in readImpl() 419 auto LineOffset = readNumber<uint64_t>(); in readProfile() local 420 if (std::error_code EC = LineOffset.getError()) in readProfile() [all …]
|
D | SampleProfWriter.cpp | 295 OS << Loc.LineOffset << ": "; in writeSample() 297 OS << Loc.LineOffset << "." << Loc.Discriminator << ": "; in writeSample() 315 OS << Loc.LineOffset << ": "; in writeSample() 317 OS << Loc.LineOffset << "." << Loc.Discriminator << ": "; in writeSample() 552 encodeULEB128(Loc.LineOffset, OS); in writeBody() 574 encodeULEB128(Loc.LineOffset, OS); in writeBody()
|
/external/llvm-project/llvm/tools/llvm-profgen/ |
D | ProfileGenerator.cpp | 167 if (LeafLoc.second.LineOffset & 0x80000000) in updateBodySamplesforFunctionProfile() 171 LeafLoc.second.LineOffset, LeafLoc.second.Discriminator); in updateBodySamplesforFunctionProfile() 174 FunctionProfile.addBodySamples(LeafLoc.second.LineOffset, in updateBodySamplesforFunctionProfile() 247 FunctionProfile.addCalledTargetSamples(LeafLoc.second.LineOffset, in populateFunctionBoundarySamples() 320 CallerLeafFrameLoc.second.LineOffset, in populateInferredFunctionSamples()
|
D | CallContext.h | 28 CallsiteStr += Twine(Callsite.second.LineOffset).str(); in getCallSite()
|
/external/clang/lib/Format/ |
D | FormatTokenLexer.cpp | 325 auto LineOffset = Buffer.rfind('\n', FirstInLineOffset); in tryMergeConflictMarkers() local 326 if (LineOffset == StringRef::npos) { in tryMergeConflictMarkers() 327 LineOffset = 0; in tryMergeConflictMarkers() 329 ++LineOffset; in tryMergeConflictMarkers() 332 auto FirstSpace = Buffer.find_first_of(" \n", LineOffset); in tryMergeConflictMarkers() 335 LineStart = Buffer.substr(LineOffset); in tryMergeConflictMarkers() 337 LineStart = Buffer.substr(LineOffset, FirstSpace - LineOffset); in tryMergeConflictMarkers()
|
/external/llvm/test/DebugInfo/COFF/ |
D | inlining.ll | 186 ; OBJ-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x8, LineOffset: 1} 189 ; OBJ-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0xA, LineOffset: 1} 190 ; OBJ-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x6, LineOffset: 1} 191 ; OBJ-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x7, LineOffset: 1} 202 ; OBJ-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0xF, LineOffset: 1} 203 ; OBJ-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0xA, LineOffset: 1} 204 ; OBJ-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x6, LineOffset: 1} 205 ; OBJ-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x7, LineOffset: 1}
|
D | inlining-files.ll | 29 ; OBJ: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x6, LineOffset: 1} 31 ; OBJ: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x6, LineOffset: -2} 32 ; OBJ: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x6, LineOffset: 1} 34 ; OBJ: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x6, LineOffset: 3}
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
D | NativeInlineSiteSymbol.cpp | 96 uint32_t &LineOffset, in getLineOffset() argument 98 LineOffset = 0; in getLineOffset() 114 LineOffset += Annot.S1; in getLineOffset()
|
/external/llvm-project/llvm/test/DebugInfo/COFF/ |
D | inlining-files.ll | 29 ; OBJ: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x6, LineOffset: 1} 31 ; OBJ: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x6, LineOffset: -2} 32 ; OBJ: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x6, LineOffset: 1} 34 ; OBJ: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x6, LineOffset: 3}
|
D | inlining-header.ll | 81 ; OBJ-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x6, LineOffset: 1} 82 ; OBJ-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x7, LineOffset: 1} 83 ; OBJ-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0x7, LineOffset: 1} 91 ; OBJ-NEXT: ChangeCodeOffsetAndLineOffset: {CodeOffset: 0xD, LineOffset: 1}
|
/external/llvm/lib/Transforms/IPO/ |
D | SampleProfile.cpp | 221 bool markSamplesUsed(const FunctionSamples *FS, uint32_t LineOffset, 303 uint32_t LineOffset, in markSamplesUsed() argument 306 LineLocation Loc(LineOffset, Discriminator); in markSamplesUsed() 472 uint32_t LineOffset = getOffset(Lineno, HeaderLineno); in getInstWeight() local 474 ErrorOr<uint64_t> R = FS->findSamplesAt(LineOffset, Discriminator); in getInstWeight() 477 CoverageTracker.markSamplesUsed(FS, LineOffset, Discriminator, R.get()); in getInstWeight() 484 Twine(LineOffset) + in getInstWeight()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | SampleProfile.cpp | 184 bool markSamplesUsed(const FunctionSamples *FS, uint32_t LineOffset, 547 uint32_t LineOffset, in markSamplesUsed() argument 550 LineLocation Loc(LineOffset, Discriminator); in markSamplesUsed() 719 uint32_t LineOffset = FunctionSamples::getOffset(DIL); in getInstWeight() local 721 ErrorOr<uint64_t> R = FS->findSamplesAt(LineOffset, Discriminator); in getInstWeight() 724 CoverageTracker.markSamplesUsed(FS, LineOffset, Discriminator, R.get()); in getInstWeight() 730 Remark << ore::NV("LineOffset", LineOffset); in getInstWeight() 741 << " (line offset: " << LineOffset << "." in getInstWeight() 841 uint32_t LineOffset = FunctionSamples::getOffset(DIL); in findIndirectCallFunctionSamples() local 844 auto T = FS->findCallTargetMapAt(LineOffset, Discriminator); in findIndirectCallFunctionSamples() [all …]
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | SampleProfile.cpp | 196 bool markSamplesUsed(const FunctionSamples *FS, uint32_t LineOffset, 577 uint32_t LineOffset, in markSamplesUsed() argument 580 LineLocation Loc(LineOffset, Discriminator); in markSamplesUsed() 749 uint32_t LineOffset = FunctionSamples::getOffset(DIL); in getInstWeight() local 751 ErrorOr<uint64_t> R = FS->findSamplesAt(LineOffset, Discriminator); in getInstWeight() 754 CoverageTracker.markSamplesUsed(FS, LineOffset, Discriminator, R.get()); in getInstWeight() 760 Remark << ore::NV("LineOffset", LineOffset); in getInstWeight() 771 << " (line offset: " << LineOffset << "." in getInstWeight() 873 uint32_t LineOffset = FunctionSamples::getOffset(DIL); in findIndirectCallFunctionSamples() local 876 auto T = FS->findCallTargetMapAt(LineOffset, Discriminator); in findIndirectCallFunctionSamples() [all …]
|
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | NativeInlineSiteSymbol.h | 39 void getLineOffset(uint32_t OffsetInFunc, uint32_t &LineOffset,
|
/external/llvm-project/clang/lib/Format/ |
D | FormatTokenLexer.cpp | 779 auto LineOffset = Buffer.rfind('\n', FirstInLineOffset); in tryMergeConflictMarkers() local 780 if (LineOffset == StringRef::npos) { in tryMergeConflictMarkers() 781 LineOffset = 0; in tryMergeConflictMarkers() 783 ++LineOffset; in tryMergeConflictMarkers() 786 auto FirstSpace = Buffer.find_first_of(" \n", LineOffset); in tryMergeConflictMarkers() 789 LineStart = Buffer.substr(LineOffset); in tryMergeConflictMarkers() 791 LineStart = Buffer.substr(LineOffset, FirstSpace - LineOffset); in tryMergeConflictMarkers()
|
/external/llvm-project/clang/tools/clang-refactor/ |
D | TestSupport.cpp | 279 unsigned LineOffset = 0; in addEndLineOffsetAndEndColumn() local 285 LineOffset += NewlinePos + 1; in addEndLineOffsetAndEndColumn() 289 size_t LineStart = Source.find_last_of("\r\n", /*From=*/Offset + LineOffset); in addEndLineOffsetAndEndColumn()
|