Home
last modified time | relevance | path

Searched refs:LineEnd (Results 1 – 19 of 19) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h276 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; member
284 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), in CounterMappingRegion()
290 unsigned ColumnStart, unsigned LineEnd, in CounterMappingRegion()
294 ColumnStart(ColumnStart), LineEnd(LineEnd), ColumnEnd(ColumnEnd), in CounterMappingRegion()
301 ColumnStart(ColumnStart), LineEnd(LineEnd), ColumnEnd(ColumnEnd), in CounterMappingRegion()
308 LineEnd, ColumnEnd, CodeRegion); in makeRegion()
315 ColumnStart, LineEnd, ColumnEnd, in makeExpansion()
321 unsigned LineEnd, unsigned ColumnEnd) { in makeSkipped()
323 LineEnd, ColumnEnd, SkippedRegion); in makeSkipped()
345 unsigned LineEnd, unsigned ColumnEnd) { in makeBranchRegion()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp299 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 = SourceLine.end(); in buildFixItLine() local
408 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in buildFixItLine()
449 if (R.End.getPointer() >= LineEnd) in buildFixItLine()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIALineNumber.cpp23 DWORD LineEnd = 0; in getLineNumberEnd() local
24 return (S_OK == LineNumber->get_lineNumberEnd(&LineEnd)) ? LineEnd : 0; in getLineNumberEnd()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyCompilandDumper.cpp78 uint32_t LineEnd = Line->getLineNumberEnd(); in start() local
85 if (LineStart != LineEnd) in start()
86 WithColor(Printer, StatementColor).get() << " - " << LineEnd; in start()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp202 unsigned LineEnd; member
211 LineEnd = SM.getSpellingLineNumber(LocEnd); in SpellingRegion()
221 return (LineStart < LineEnd) || in isInSourceOrder()
222 (LineStart == LineEnd && ColumnStart <= ColumnEnd); in isInSourceOrder()
385 SR.LineEnd == SM.getSpellingLineNumber(NextTokLoc)) { in adjustSkippedRange()
386 SR.LineEnd--; in adjustSkippedRange()
479 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
488 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
492 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
496 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DImportedFunctionsInliningStatistics.cpp86 bool LineEnd = true) { in getStatString() argument
94 if (LineEnd) in getStatString()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp90 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 DCodeCoverage.cpp375 unsigned CurrentLine = NextRecord->getDecisionRegion().LineEnd; in attachMCDCSubViews()
378 CurrentLine == NextRecord->getDecisionRegion().LineEnd) { in attachMCDCSubViews()
467 Line = std::max(CR.LineEnd, Line); in createSourceFileView()
H A DSourceCoverageViewText.cpp349 OS << DecisionRegion.LineEnd << ":"; in renderMCDCView()
H A DSourceCoverageViewHTML.cpp999 LineNoStr = utostr(uint64_t(DecisionRegion.LineEnd)); in renderMCDCView()
/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DSortJavaScriptImports.cpp221 FormatToken *LineEnd = nullptr; member in clang::format::JavaScriptImportSorter
238 if (!Current || Current == LineEnd->Next) { in nextToken()
375 LineEnd = Line->Last; in parseModuleReferences()
420 Reference.Range.setEnd(LineEnd->Tok.getEndLoc()); in parseModuleReferences()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp853 const char *LineEnd = LineStart; in checkAllRulesInBuffer() local
854 while (LineEnd != MemBuf->getBufferEnd() && *LineEnd != '\r' && in checkAllRulesInBuffer()
855 *LineEnd != '\n') in checkAllRulesInBuffer()
856 ++LineEnd; in checkAllRulesInBuffer()
858 StringRef Line(LineStart, LineEnd - LineStart); in checkAllRulesInBuffer()
874 LineStart = LineEnd; in checkAllRulesInBuffer()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp1197 const char *LineEnd = LineStart; in emitSnippetAndCaret() local
1198 while (*LineEnd != '\n' && *LineEnd != '\r' && LineEnd != BufEnd) in emitSnippetAndCaret()
1199 ++LineEnd; in emitSnippetAndCaret()
1203 if (size_t(LineEnd - LineStart) > MaxLineLengthToPrint) in emitSnippetAndCaret()
1207 std::string SourceLine(LineStart, LineEnd); in emitSnippetAndCaret()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp269 assert(I->LineEnd >= I->LineStart); in write()
270 encodeULEB128(I->LineEnd - I->LineStart, OS); in write()
H A DCoverageMapping.cpp1270 << CR.LineEnd << ":" << CR.ColumnEnd in buildSegments()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp917 const char *LineEnd = TokInstantiationPtr; in HandlePiece() local
919 while (*LineEnd != '\n' && LineEnd != FileEnd) in HandlePiece()
920 ++LineEnd; in HandlePiece()
1096 unsigned DisplayPos = LineEnd - FileStart; in HandlePiece()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp356 *LineEnd = Ctx.createTempSymbol("linetable_end", false); in emitLineTableForFunction() local
359 OS.emitAbsoluteSymbolDiff(LineEnd, LineBegin, 4); in emitLineTableForFunction()
408 OS.emitLabel(LineEnd); in emitLineTableForFunction()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp1144 unsigned LineEnd = SourceLineCache[LastLineNoResult]; in getColumnNumber() local
1145 if (FilePos >= LineStart && FilePos < LineEnd) { in getColumnNumber()
1150 if (FilePos + 1 == LineEnd && FilePos > LineStart) { in getColumnNumber()
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp1590 size_t LineEnd = Data.find_first_of("\n", ParentProcPos); in getCrashDiagnosticFile() local
1591 if (LineEnd == StringRef::npos) in getCrashDiagnosticFile()
1593 StringRef ParentProcess = Data.slice(ParentProcPos+15, LineEnd).trim(); in getCrashDiagnosticFile()