Home
last modified time | relevance | path

Searched refs:getLine (Results 1 – 25 of 75) sorted by relevance

123

/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DAddDiscriminators.cpp202 Location L = std::make_pair(DIL->getFilename(), DIL->getLine()); in addDiscriminators()
215 << DIL->getFilename() << ":" << DIL->getLine() << ":" in addDiscriminators()
220 LLVM_DEBUG(dbgs() << DIL->getFilename() << ":" << DIL->getLine() << ":" in addDiscriminators()
246 std::make_pair(CurrentDIL->getFilename(), CurrentDIL->getLine()); in addDiscriminators()
254 << CurrentDIL->getLine() << ":" << CurrentDIL->getColumn() in addDiscriminators()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DDebugLoc.cpp26 unsigned DebugLoc::getLine() const { in getLine() function in DebugLoc
28 return get()->getLine(); in getLine()
110 Ctx, MD->getLine(), MD->getColumn(), MD->getScope(), Last); in appendInlinedAt()
126 OS << ':' << getLine(); in print()
H A DLLVMContextImpl.h294 return Line == RHS->getLine() && Column == RHS->getColumn() &&
430 Line(N->getLine()), Scope(N->getRawScope()),
438 File == RHS->getRawFile() && Line == RHS->getLine() &&
527 Line(N->getLine()), Scope(N->getRawScope()),
538 File == RHS->getRawFile() && Line == RHS->getLine() &&
656 File == RHS->getRawFile() && Line == RHS->getLine() &&
742 Line == RHS->getLine() && Column == RHS->getColumn();
882 Line(N->getLine()), Type(N->getRawType()),
963 Line(N->getLine()) {}
967 File == RHS->getRawFile() && Line == RHS->getLine();
[all …]
H A DDiagnosticInfo.cpp116 Line = DL->getLine(); in DiagnosticLocation()
151 Line = Loc.getLine(); in getLocation()
219 Val = (Loc->getFilename() + ":" + Twine(Loc.getLine()) + ":" + in Argument()
431 unsigned Line = DL.getLine(); in mapping()
H A DDebugInfo.cpp441 FileAndScope, MDS->getLine(), Type, MDS->getScopeLine(), in getReplacementSubprogram()
452 FileAndScope, MDS->getLine(), Type, MDS->getScopeLine(), ContainingType, in getReplacementSubprogram()
499 return DILocation::getDistinct(MLD->getContext(), MLD->getLine(), in getReplacementMDLocation()
501 return DILocation::get(MLD->getContext(), MLD->getLine(), MLD->getColumn(), in getReplacementMDLocation()
645 return DebugLoc::get(DL.getLine(), DL.getCol(), Scope, InlinedAt); in stripNonLineTableDebugInfo()
892 return unwrapDI<DILocation>(Location)->getLine(); in LLVMDILocationGetLine()
1190 return unwrapDI<DIType>(DType)->getLine(); in LLVMDITypeGetLine()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DSourceLocation.cpp58 OS << PLoc.getFilename() << ':' << PLoc.getLine() in print()
101 OS << PLoc.getFilename() << ':' << PLoc.getLine() << ':' in PrintDifference()
103 } else if (Previous.isInvalid() || PLoc.getLine() != Previous.getLine()) { in PrintDifference()
104 OS << "line" << ':' << PLoc.getLine() << ':' << PLoc.getColumn(); in PrintDifference()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp87 printFile(O, S->getFilename(), S->getDirectory(), S->getLine()); in print()
96 printFile(O, GV->getFilename(), GV->getDirectory(), GV->getLine()); in print()
106 printFile(O, T->getFilename(), T->getDirectory(), T->getLine()); in print()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86DiscriminateMemOps.cpp43 return std::make_pair(Loc->getFilename(), Loc->getLine()); in diToLocation()
88 DILocation::get(FDI->getContext(), FDI->getLine(), 0, FDI); in runOnMachineFunction()
139 << DI->getFilename() << " Line: " << DI->getLine() in runOnMachineFunction()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DSIDebuggerInsertNops.cpp88 if (NopInserted.find(DL.getLine()) == NopInserted.end()) { in runOnMachineFunction()
91 NopInserted.insert(DL.getLine()); in runOnMachineFunction()
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DScriptLexer.cpp44 StringRef ScriptLexer::getLine() { in getLine() function in ScriptLexer
64 return Tok.data() - getLine().data(); in getColumnNumber()
81 S += "\n>>> " + getLine().str() + "\n>>> " + in setError()
H A DScriptLexer.h46 StringRef getLine();
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h668 unsigned getLine() const { return Line; }
1780 unsigned getLine() const { return Line; }
1947 unsigned getLine() const { return Line; }
1997 unsigned getLine() const = delete;
2287 unsigned getLine() const { return Line; }
2774 getLine());
2795 unsigned getLine() const { return Line; }
2868 unsigned getLine() const { return Line; }
2948 unsigned getLine() const { return Line; }
3091 unsigned getLine() const { return Line; }
[all …]
H A DDebugLoc.h94 unsigned getLine() const;
/freebsd-12.1/contrib/llvm/lib/ProfileData/
H A DSampleProf.cpp166 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in getOffset()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp360 FNLOS << getFunctionName(SP) << SP->getLine(); in GCOVFunction()
407 write(SP->getLine()); in writeOut()
600 if (Loc.getLine() == 0) continue; in functionHasLines()
706 uint32_t Line = SP->getLine(); in emitProfileNotes()
731 if (Loc.getLine() == 0 || Loc.isImplicitCode()) in emitProfileNotes()
734 if (Line == Loc.getLine()) continue; in emitProfileNotes()
735 Line = Loc.getLine(); in emitProfileNotes()
740 Lines.addLine(Loc.getLine()); in emitProfileNotes()
/freebsd-12.1/contrib/llvm/tools/opt/
H A DDebugify.cpp139 auto LocalVar = DIB.createAutoVariable(SP, Name, File, Loc->getLine(), in applyDebugifyMetadata()
248 if (DL && DL.getLine() != 0) { in checkDebugifyMetadata()
249 MissingLines.reset(DL.getLine() - 1); in checkDebugifyMetadata()
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBPFMIChecking.cpp76 report_fatal_error("line " + std::to_string(DL.getLine()) + in checkingIllegalXADD()
/freebsd-12.1/contrib/compiler-rt/lib/ubsan/
H A Dubsan_monitor.cc68 *OutLine = SL.getLine(); in __ubsan_get_current_report_data()
/freebsd-12.1/contrib/llvm/tools/llvm-cov/
H A DCoverageSummaryInfo.cpp58 OS << "Definition at line " << Group.getLine() << ", column " in get()
H A DSourceCoverageView.cpp227 if (NextESV != EndESV && NextESV->getLine() == LI.line_number() && in print()
240 for (; NextESV != EndESV && NextESV->getLine() == LI.line_number(); in print()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCCodeView.cpp298 FilteredLines.back().getLine() != IA.Line || in getFunctionLineEntries()
372 unsigned LineData = J->getLine(); in emitLineTableForFunction()
489 << ' ' << Loc.getLine() << ' ' << Loc.getColumn() in encodeInlineLineTable()
524 CurSourceLoc.Line = Loc.getLine(); in encodeInlineLineTable()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DFormattedStream.h113 unsigned getLine() { return Position.second; } in getLine() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DTextNodeDumper.cpp327 OS << PLoc.getFilename() << ':' << PLoc.getLine() << ':' in dumpLocation()
330 LastLocLine = PLoc.getLine(); in dumpLocation()
331 } else if (PLoc.getLine() != LastLocLine) { in dumpLocation()
332 OS << "line" << ':' << PLoc.getLine() << ':' << PLoc.getColumn(); in dumpLocation()
333 LastLocLine = PLoc.getLine(); in dumpLocation()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp404 addSourceLine(Die, V->getLine(), V->getFile()); in addSourceLine()
410 addSourceLine(Die, G->getLine(), G->getFile()); in addSourceLine()
416 addSourceLine(Die, SP->getLine(), SP->getFile()); in addSourceLine()
422 addSourceLine(Die, L->getLine(), L->getFile()); in addSourceLine()
428 addSourceLine(Die, Ty->getLine(), Ty->getFile()); in addSourceLine()
434 addSourceLine(Die, Ty->getLine(), Ty->getFile()); in addSourceLine()
1131 if (SP->getLine() != SPDecl->getLine()) in applySubprogramDefinitionAttributes()
1132 addUInt(SPDie, dwarf::DW_AT_decl_line, None, SP->getLine()); in applySubprogramDefinitionAttributes()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp599 << PLoc.getLine() << ":"; in emitIncludeLocation()
612 << PLoc.getLine(); in emitImportLocation()
625 << PLoc.getFilename() << ':' << PLoc.getLine() << ":"; in emitBuildingModuleLocation()

123