| /llvm-project-15.0.7/polly/lib/Support/ |
| H A D | ScopLocation.cpp | 21 void getDebugLocation(const Region *R, unsigned &LineBegin, unsigned &LineEnd, in getDebugLocation() argument 24 LineEnd = 0; in getDebugLocation() 40 LineEnd = std::max(LineEnd, NewLine); in getDebugLocation()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | SourceMgr.cpp | 295 const char *LineEnd = Loc.getPointer(); in GetMessage() local 297 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage() 298 ++LineEnd; in GetMessage() 299 LineStr = StringRef(LineStart, LineEnd - LineStart); in GetMessage() 308 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage() 314 if (R.End.getPointer() > LineEnd) in GetMessage() 315 R.End = SMLoc::getFromPointer(LineEnd); in GetMessage() 392 const char *LineEnd = SourceLine.end(); in buildFixItLine() local 404 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in buildFixItLine() 445 if (R.End.getPointer() >= LineEnd) in buildFixItLine() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/Coverage/ |
| H A D | CoverageMapping.h | 239 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; member 244 unsigned LineEnd, unsigned ColumnEnd, RegionKind Kind) in CounterMappingRegion() 246 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), in CounterMappingRegion() 251 unsigned ColumnStart, unsigned LineEnd, in CounterMappingRegion() 255 ColumnStart(ColumnStart), LineEnd(LineEnd), ColumnEnd(ColumnEnd), in CounterMappingRegion() 260 unsigned ColumnStart, unsigned LineEnd, unsigned ColumnEnd) { in makeRegion() 262 LineEnd, ColumnEnd, CodeRegion); in makeRegion() 269 ColumnStart, LineEnd, ColumnEnd, in makeExpansion() 275 unsigned LineEnd, unsigned ColumnEnd) { in makeSkipped() 277 LineEnd, ColumnEnd, SkippedRegion); in makeSkipped() [all …]
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/DIA/ |
| H A D | DIALineNumber.cpp | 23 DWORD LineEnd = 0; in getLineNumberEnd() local 24 return (S_OK == LineNumber->get_lineNumberEnd(&LineEnd)) ? LineEnd : 0; in getLineNumberEnd()
|
| /llvm-project-15.0.7/clang/tools/clang-import-test/ |
| H A D | clang-import-test.cpp | 118 const char *LineEnd = nullptr; in PrintSourceForLocation() local 120 for (LineEnd = LineBegin; *LineEnd != '\n' && *LineEnd != '\r' && in PrintSourceForLocation() 121 LineEnd < Buffer.getBufferEnd(); in PrintSourceForLocation() 122 ++LineEnd) in PrintSourceForLocation() 125 llvm::StringRef LineString(LineBegin, LineEnd - LineBegin); in PrintSourceForLocation()
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopGraphPrinter.cpp | 80 unsigned LineBegin, LineEnd; in printRegionCluster() local 83 getDebugLocation(R, LineBegin, LineEnd, FileName); in printRegionCluster() 88 std::to_string(LineEnd) + "\n"); in printRegionCluster()
|
| /llvm-project-15.0.7/llvm/tools/llvm-pdbutil/ |
| H A D | PrettyCompilandDumper.cpp | 77 uint32_t LineEnd = Line->getLineNumberEnd(); in start() local 84 if (LineStart != LineEnd) in start() 85 WithColor(Printer, StatementColor).get() << " - " << LineEnd; in start()
|
| /llvm-project-15.0.7/polly/include/polly/Support/ |
| H A D | ScopLocation.h | 31 unsigned &LineEnd, std::string &FileName);
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.cpp | 170 unsigned LineEnd; member 179 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion() 189 return (LineStart < LineEnd) || in isInSourceOrder() 190 (LineStart == LineEnd && ColumnStart <= ColumnEnd); in isInSourceOrder() 352 SR.LineEnd == SM.getSpellingLineNumber(NextTokLoc)) { in adjustSkippedRange() 353 SR.LineEnd--; in adjustSkippedRange() 374 std::max(FileLineRanges[R.FileID].second, R.LineEnd); in gatherSkippedRegions() 403 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions() 444 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions() 452 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions() [all …]
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldChecker.cpp | 741 const char *LineEnd = LineStart; in checkAllRulesInBuffer() local 742 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer() 743 *LineEnd != '\n') in checkAllRulesInBuffer() 744 ++LineEnd; in checkAllRulesInBuffer() 746 StringRef Line(LineStart, LineEnd - LineStart); in checkAllRulesInBuffer() 762 LineStart = LineEnd; in checkAllRulesInBuffer()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ImportedFunctionsInliningStatistics.cpp | 84 bool LineEnd = true) { in getStatString() argument 92 if (LineEnd) in getStatString()
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | SortJavaScriptImports.cpp | 221 FormatToken *LineEnd; member in clang::format::JavaScriptImportSorter 238 if (!Current || Current == LineEnd->Next) { in nextToken() 374 LineEnd = Line->Last; in parseModuleReferences() 419 Reference.Range.setEnd(LineEnd->Tok.getEndLoc()); in parseModuleReferences()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 1188 const char *LineEnd = LineStart; in emitSnippetAndCaret() local 1189 while (*LineEnd != '\n' && *LineEnd != '\r' && LineEnd != BufEnd) in emitSnippetAndCaret() 1190 ++LineEnd; in emitSnippetAndCaret() 1194 if (size_t(LineEnd - LineStart) > MaxLineLengthToPrint) in emitSnippetAndCaret() 1198 StringRef Line(LineStart, LineEnd - LineStart); in emitSnippetAndCaret()
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingWriter.cpp | 243 assert(I->LineEnd >= I->LineStart); in write() 244 encodeULEB128(I->LineEnd - I->LineStart, OS); in write()
|
| H A D | CoverageMapping.cpp | 633 << CR.LineEnd << ":" << CR.ColumnEnd in buildSegments()
|
| /llvm-project-15.0.7/bolt/lib/Profile/ |
| H A D | DataAggregator.cpp | 1043 size_t LineEnd = ParsingBuf.find_first_of('\n'); in consumeRestOfLine() local 1044 if (LineEnd == StringRef::npos) { in consumeRestOfLine() 1050 ParsingBuf = ParsingBuf.drop_front(LineEnd + 1); in consumeRestOfLine() 1811 size_t LineEnd = ParsingBuf.find_first_of("\n"); in parseCommExecEvent() local 1812 if (LineEnd == StringRef::npos) { in parseCommExecEvent() 1817 StringRef Line = ParsingBuf.substr(0, LineEnd); in parseCommExecEvent() 1854 size_t LineEnd = ParsingBuf.find_first_of("\n"); in parseForkEvent() local 1855 if (LineEnd == StringRef::npos) { in parseForkEvent() 1860 StringRef Line = ParsingBuf.substr(0, LineEnd); in parseForkEvent() 1907 if (LineEnd == StringRef::npos) { in parseMMapEvent() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | CoverageExporterJson.cpp | 87 return json::Array({Region.LineStart, Region.ColumnStart, Region.LineEnd, in renderRegion() 95 {Region.LineStart, Region.ColumnStart, Region.LineEnd, Region.ColumnEnd, in renderBranch()
|
| H A D | CodeCoverage.cpp | 412 Line = std::max(CR.LineEnd, Line); in createSourceFileView()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | HTMLDiagnostics.cpp | 904 const char *LineEnd = TokInstantiationPtr; in HandlePiece() local 906 while (*LineEnd != '\n' && LineEnd != FileEnd) in HandlePiece() 907 ++LineEnd; in HandlePiece() 1083 unsigned DisplayPos = LineEnd - FileStart; in HandlePiece()
|
| /llvm-project-15.0.7/polly/lib/Exchange/ |
| H A D | JSONExporter.cpp | 133 unsigned LineBegin, LineEnd; in getJSON() local 136 getDebugLocation(&S.getRegion(), LineBegin, LineEnd, FileName); in getJSON() 140 std::to_string(LineEnd); in getJSON()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCCodeView.cpp | 333 *LineEnd = Ctx.createTempSymbol("linetable_end", false); in emitLineTableForFunction() local 336 OS.emitAbsoluteSymbolDiff(LineEnd, LineBegin, 4); in emitLineTableForFunction() 385 OS.emitLabel(LineEnd); in emitLineTableForFunction()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | SemanticHighlighting.cpp | 986 auto LineEnd = Code.find('\n', TokStartOffset); in toSemanticTokens() local 987 assert(LineEnd != Code.npos); in toSemanticTokens() 988 Out->length = LineEnd - TokStartOffset; in toSemanticTokens() 990 TokStartOffset = LineEnd + 1; in toSemanticTokens()
|
| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | dwarf2yaml.cpp | 402 const uint64_t LineEnd = in dumpDebugLines() local 404 while (Offset < LineEnd) { in dumpDebugLines()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1202 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber() local 1203 if (FilePos >= LineStart && FilePos < LineEnd) { in getColumnNumber() 1208 if (FilePos + 1 == LineEnd && FilePos > LineStart) { in getColumnNumber()
|
| /llvm-project-15.0.7/llvm/docs/TableGen/ |
| H A D | ProgRef.rst | 1501 LineEnd: newline | return | EOF 1504 BCPLComment: "//" ... `LineEnd` 1510 : (`WhiteSpaceOrAnyComment`)* `LineEnd` 1513 : (`WhiteSpaceOrAnyComment`)* `LineEnd` 1515 : "#else" (`WhiteSpaceOrAnyComment`)* `LineEnd` 1517 : "#endif" (`WhiteSpaceOrAnyComment`)* `LineEnd`
|