/llvm-project/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/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 299 const char *LineEnd = Loc.getPointer(); in GetMessage() local 301 while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r') in GetMessage() 302 ++LineEnd; in GetMessage() 303 LineStr = StringRef(LineStart, LineEnd - LineStart); in GetMessage() 312 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage() 318 if (R.End.getPointer() > LineEnd) in GetMessage() 319 R.End = SMLoc::getFromPointer(LineEnd); in GetMessage() 396 const char *LineEnd in buildFixItLine() local [all...] |
/llvm-project/llvm/include/llvm/ProfileData/Coverage/ |
H A D | CoverageMapping.h | 281 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; 291 unsigned LineEnd, unsigned ColumnEnd, RegionKind Kind) 293 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), in CounterMappingRegion() 298 unsigned ColumnStart, unsigned LineEnd, in CounterMappingRegion() 303 ColumnStart(ColumnStart), LineEnd(LineEnd), ColumnEnd(ColumnEnd), in makeRegion() 308 unsigned ColumnStart, unsigned LineEnd, in makeExpansion() 311 ColumnStart(ColumnStart), LineEnd(LineEnd), ColumnEn in makeExpansion() 271 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; global() member [all...] |
/llvm-project/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/clang/tools/clang-import-test/ |
H A D | clang-import-test.cpp | 119 const char *LineEnd = nullptr; in PrintSourceForLocation() 121 for (LineEnd = LineBegin; *LineEnd != '\n' && *LineEnd != '\r' && in PrintSourceForLocation() 122 LineEnd < Buffer.getBufferEnd(); in PrintSourceForLocation() 123 ++LineEnd) in PrintSourceForLocation() 126 llvm::StringRef LineString(LineBegin, LineEnd - LineBegin); in PrintSourceForLocation() 118 const char *LineEnd = nullptr; PrintSourceForLocation() local
|
/llvm-project/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/llvm/tools/llvm-pdbutil/ |
H A D | PrettyCompilandDumper.cpp | 78 uint32_t LineEnd = Line->getLineNumberEnd(); in start() local 85 if (LineStart != LineEnd) in start() 86 WithColor(Printer, StatementColor).get() << " - " << LineEnd; in start()
|
/llvm-project/llvm/lib/Analysis/ |
H A D | ImportedFunctionsInliningStatistics.cpp | 85 bool LineEnd = true) { in getStatString() 93 if (LineEnd) in getStatString() 160 /*LineEnd=*/false) in dump() 86 getStatString(const char * Msg,int32_t Fraction,int32_t All,const char * PercentageOfMsg,bool LineEnd=true) getStatString() argument
|
/llvm-project/polly/include/polly/Support/ |
H A D | ScopLocation.h | 31 unsigned &LineEnd, std::string &FileName);
|
/llvm-project/clang/lib/CodeGen/ |
H A D | CoverageMappingGen.cpp | 223 unsigned LineEnd; 232 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion() 242 return (LineStart < LineEnd) || in isInSourceOrder() 243 (LineStart == LineEnd && ColumnStart <= ColumnEnd); in isInSourceOrder() 451 SR.LineEnd == SM.getSpellingLineNumber(NextTokLoc)) { in adjustSkippedRange() 452 SR.LineEnd--; in adjustSkippedRange() 473 std::max(FileLineRanges[R.FileID].second, R.LineEnd); in gatherSkippedRegions() 497 *CovFileID, SR->LineStart, SR->ColumnStart, SR->LineEnd, in gatherSkippedRegions() 502 Region.LineEnd <= FileLineRanges[*CovFileID].second) in gatherSkippedRegions() 554 SR.LineEnd, S in emitSourceRegions() 224 unsigned LineEnd; global() member [all...] |
/llvm-project/llvm/tools/llvm-cov/ |
H A D | CoverageExporterJson.cpp | 90 return json::Array({Region.LineStart, Region.ColumnStart, Region.LineEnd, in renderRegion() 98 {Region.LineStart, Region.ColumnStart, Region.LineEnd, Region.ColumnEnd, in renderBranch() 113 return json::Array({CMR.LineStart, CMR.ColumnStart, CMR.LineEnd, in renderMCDCRecord()
|
H A D | CodeCoverage.cpp | 360 unsigned CurrentLine = NextRecord->getDecisionRegion().LineEnd; in attachMCDCSubViews() 362 CurrentLine == NextRecord->getDecisionRegion().LineEnd) in attachMCDCSubViews() 439 Line = std::max(CR.LineEnd, Line); in createSourceFileView()
|
H A D | SourceCoverageViewText.cpp | 347 OS << DecisionRegion.LineEnd << ":"; in renderMCDCView()
|
/llvm-project/clang/lib/Format/ |
H A D | SortJavaScriptImports.cpp | 219 FormatToken *LineEnd = nullptr; member in clang::format::JavaScriptImportSorter 236 if (!Current || Current == LineEnd->Next) { in nextToken() 373 LineEnd = Line->Last; in parseModuleReferences() 418 Reference.Range.setEnd(LineEnd->Tok.getEndLoc()); in parseModuleReferences()
|
/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldChecker.cpp | 858 const char *LineEnd = LineStart; in checkAllRulesInBuffer() 859 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer() local 860 *LineEnd != '\n') in checkAllRulesInBuffer() 861 ++LineEnd; in checkAllRulesInBuffer() 863 StringRef Line(LineStart, LineEnd - LineStart); in checkAllRulesInBuffer() 879 LineStart = LineEnd; in checkAllRulesInBuffer()
|
/llvm-project/bolt/lib/Profile/ |
H A D | DataAggregator.cpp | 1049 size_t LineEnd = ParsingBuf.find_first_of('\n'); in parseLBREntry() 1050 if (LineEnd == StringRef::npos) { in parseLBREntry() 1056 ParsingBuf = ParsingBuf.drop_front(LineEnd + 1); in checkAndConsumeFS() 1802 size_t LineEnd = ParsingBuf.find_first_of("\n"); in processPreAggregated() 1803 if (LineEnd == StringRef::npos) { in processPreAggregated() 1808 StringRef Line = ParsingBuf.substr(0, LineEnd); in processPreAggregated() 1845 size_t LineEnd = ParsingBuf.find_first_of("\n"); in parseCommExecEvent() 1846 if (LineEnd == StringRef::npos) { in parseCommExecEvent() 1851 StringRef Line = ParsingBuf.substr(0, LineEnd); 1897 size_t LineEnd in parseForkEvent() 1064 size_t LineEnd = ParsingBuf.find_first_of('\n'); consumeRestOfLine() local 1826 size_t LineEnd = ParsingBuf.find_first_of("\n"); parseCommExecEvent() local 1869 size_t LineEnd = ParsingBuf.find_first_of("\n"); parseForkEvent() local 1921 size_t LineEnd = ParsingBuf.find_first_of("\n"); parseMMapEvent() local [all...] |
/llvm-project/clang/lib/Frontend/ |
H A D | TextDiagnostic.cpp | 1368 const char *LineEnd = LineStart; in emitSnippetAndCaret() local 1369 while (*LineEnd != '\n' && *LineEnd != '\r' && LineEnd != BufEnd) in emitSnippetAndCaret() 1370 ++LineEnd; in emitSnippetAndCaret() 1374 if (size_t(LineEnd - LineStart) > MaxLineLengthToPrint) in emitSnippetAndCaret() 1378 std::string SourceLine(LineStart, LineEnd); in emitSnippetAndCaret()
|
/llvm-project/llvm/lib/ProfileData/Coverage/ |
H A D | CoverageMappingWriter.cpp | 281 assert(I->LineEnd >= I->LineStart); in write() 282 encodeULEB128(I->LineEnd - I->LineStart, OS); in write()
|
/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | HTMLDiagnostics.cpp | 916 // Compute LineEnd. in HandlePiece() 917 const char *LineEnd = TokInstantiationPtr; in HandlePiece() 919 while (*LineEnd != '\n' && LineEnd != FileEnd) in HandlePiece() 920 ++LineEnd; in HandlePiece() 1096 unsigned DisplayPos = LineEnd - FileStart; in HandlePiece() 915 const char *LineEnd = TokInstantiationPtr; HandlePiece() local
|
/llvm-project/llvm/lib/MC/ |
H A D | MCCodeView.cpp | 341 *LineEnd = Ctx.createTempSymbol("linetable_end", false); in getLinesForExtent() 344 OS.emitAbsoluteSymbolDiff(LineEnd, LineBegin, 4); in getLinesForExtent() 391 OS.emitLabel(LineEnd); in emitLineTableForFunction() 353 *LineEnd = Ctx.createTempSymbol("linetable_end", false); emitLineTableForFunction() local
|
/llvm-project/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/llvm/tools/obj2yaml/ |
H A D | dwarf2yaml.cpp | 413 const uint64_t LineEnd = in dumpDebugLines() local 415 while (Offset < LineEnd) { in dumpDebugLines()
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | SemanticHighlighting.cpp | 1403 auto LineEnd = Code.find('\n', TokStartOffset); in toSemanticTokens() 1404 assert(LineEnd != Code.npos); in toSemanticTokens() 1405 Out->length = LineEnd - TokStartOffset; in toSemanticTokens() 1407 TokStartOffset = LineEnd + 1; in toSemanticTokens() 1402 auto LineEnd = Code.find('\n', TokStartOffset); toSemanticTokens() local
|
/llvm-project/clang/lib/Basic/ |
H A D | SourceManager.cpp | 1174 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber() 1175 if (FilePos >= LineStart && FilePos < LineEnd) { in getColumnNumber() 1176 // LineEnd is the LineStart of the next line. in getColumnNumber() 1180 if (FilePos + 1 == LineEnd && FilePos > LineStart) { 1159 unsigned LineEnd = SourceLineCache[LastLineNoResult]; getColumnNumber() local
|
/llvm-project/llvm/docs/TableGen/ |
H A D | ProgRef.rst | 1584 LineEnd: newline | return | EOF 1587 BCPLComment: "//" ... `LineEnd` 1593 : (`WhiteSpaceOrAnyComment`)* `LineEnd` 1596 : (`WhiteSpaceOrAnyComment`)* `LineEnd` 1598 : "#else" (`WhiteSpaceOrAnyComment`)* `LineEnd` 1600 : "#endif" (`WhiteSpaceOrAnyComment`)* `LineEnd`
|