Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineDebugify.cpp47 unsigned NextLine = SP->getLine(); in applyDebugifyMetadataToMachineFunction()
76 unsigned Line = DVI->getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction()
79 if (!EarliestDVI || Line < EarliestDVI->getDebugLoc().getLine()) in applyDebugifyMetadataToMachineFunction()
89 unsigned Line = DVR.getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction()
92 if (!EarliestDVR || Line < EarliestDVR->getDebugLoc().getLine()) in applyDebugifyMetadataToMachineFunction()
125 unsigned Line = MI.getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction()
128 Line = EarliestDVI ? EarliestDVI->getDebugLoc().getLine() in applyDebugifyMetadataToMachineFunction()
129 : EarliestDVR->getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction()
H A DMIRFSDiscriminator.cpp68 uint64_t Ret = updateHash(std::to_string(DIL->getLine())); in getCallStackHashV0()
72 Ret ^= updateHash(std::to_string(DIL->getLine())); in getCallStackHashV0()
85 Ret = hashCombine(Ret, xxh3_64bits(ArrayRef<uint8_t>(DIL->getLine()))); in getCallStackHash()
151 I.isPseudoProbe() ? I.getOperand(1).getImm() : DIL->getLine(); in runOnMachineFunction()
182 << DIL->getFilename() << ":" << DIL->getLine() << ":" in runOnMachineFunction()
190 LLVM_DEBUG(dbgs() << DIL->getFilename() << ":" << DIL->getLine() << ":" in runOnMachineFunction()
H A DMachineCheckDebugify.cpp65 if (DL && DL.getLine() != 0) { in runOnModule()
66 MissingLines.reset(DL.getLine() - 1); in runOnModule()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAddDiscriminators.cpp178 Location L = std::make_pair(DIL->getFilename(), DIL->getLine()); in addDiscriminators()
191 << DIL->getFilename() << ":" << DIL->getLine() << ":" in addDiscriminators()
196 LLVM_DEBUG(dbgs() << DIL->getFilename() << ":" << DIL->getLine() << ":" in addDiscriminators()
222 std::make_pair(CurrentDIL->getFilename(), CurrentDIL->getLine()); in addDiscriminators()
230 << CurrentDIL->getLine() << ":" << CurrentDIL->getColumn() in addDiscriminators()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugLoc.cpp54 unsigned DebugLoc::getLine() const { in getLine() function in DebugLoc
56 return get()->getLine(); in getLine()
123 UpdatedLoc = DILocation::get(Ctx, LocToUpdate->getLine(), in replaceInlinedAtSubprogram()
132 DILocation::get(Ctx, LocToUpdate->getLine(), LocToUpdate->getColumn(), in replaceInlinedAtSubprogram()
165 Ctx, MD->getLine(), MD->getColumn(), MD->getScope(), Last); in appendInlinedAt()
202 OS << ':' << getLine(); in print()
H A DLLVMContextImpl.h338 Line(L->getLine()), Column(L->getColumn()),
343 return Line == RHS->getLine() && Column == RHS->getColumn() &&
636 Line(N->getLine()), Scope(N->getRawScope()),
645 File == RHS->getRawFile() && Line == RHS->getLine() &&
696 : Name(N->getRawName()), File(N->getRawFile()), Line(N->getLine()),
720 Line == RHS->getLine() && Scope == RHS->getRawScope() &&
829 Line(N->getLine()), Scope(N->getRawScope()),
846 File == RHS->getRawFile() && Line == RHS->getLine() &&
962 Line(N->getLine()), ScopeLine(N->getScopeLine()), Type(N->getRawType()),
978 File == RHS->getRawFile() && Line == RHS->getLine() &&
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceLocation.cpp74 OS << PLoc.getFilename() << ':' << PLoc.getLine() in print()
117 OS << PLoc.getFilename() << ':' << PLoc.getLine() << ':' in PrintDifference()
119 } else if (Previous.isInvalid() || PLoc.getLine() != Previous.getLine()) { in PrintDifference()
120 OS << "line" << ':' << PLoc.getLine() << ':' << PLoc.getColumn(); in PrintDifference()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp57 printFile(O, S->getFilename(), S->getDirectory(), S->getLine()); in printModuleDebugInfo()
66 printFile(O, GV->getFilename(), GV->getDirectory(), GV->getLine()); in printModuleDebugInfo()
76 printFile(O, T->getFilename(), T->getDirectory(), T->getLine()); in printModuleDebugInfo()
H A DInlineAdvisor.cpp484 DIL->getLine() - DIL->getScope()->getSubprogram()->getLine(); in formatCallSiteLocation()
510 unsigned int Offset = DIL->getLine(); in addLocationToRemarks()
511 Offset -= DIL->getScope()->getSubprogram()->getLine(); in addLocationToRemarks()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86DiscriminateMemOps.cpp48 return std::make_pair(Loc->getFilename(), Loc->getLine()); in diToLocation()
99 DILocation::get(FDI->getContext(), FDI->getLine(), 0, FDI); in runOnMachineFunction()
155 << DI->getFilename() << " Line: " << DI->getLine() in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugLoc.h259 return ((bool)*this == (bool)Other) && getLine() == Other.getLine() &&
264 LLVM_ABI unsigned getLine() const;
H A DDebugInfoMetadata.h754 unsigned getLine() const { return Line; } in getLine() function
1329 getContext(), getTag(), getRawName(), getFile(), getLine(), getScope(), in cloneImpl()
1491 return getTemporary(getContext(), getRawName(), getFile(), getLine(), in cloneImpl()
1668 getContext(), getTag(), getRawName(), getFile(), getLine(), getScope(), in cloneImpl()
2303 getFile(), getLine(), getType(), getScopeLine(), in cloneImpl()
2354 unsigned getLine() const { return Line; } in getLine() function
2537 return getTemporary(getContext(), getLine(), getColumn(), getRawScope(), in cloneImpl()
2561 return get(getContext(), getLine(), getColumn(), getScope(), getInlinedAt(), in getWithoutAtom()
2584 unsigned getLine() const { return SubclassData32; } in getLine() function
2861 return getTemporary(getContext(), getScope(), getFile(), getLine(), in cloneImpl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DFileIndexRecord.cpp60 << PLoc.getLine() << ':' << PLoc.getColumn(); in print()
70 << PLoc.getLine() << ':' << PLoc.getColumn(); in print()
/freebsd/contrib/llvm-project/lld/ELF/
H A DScriptLexer.cpp60 StringRef ScriptLexer::getLine() { in getLine() function in ScriptLexer
71 return prevTok.data() - getLine().data(); in getColumnNumber()
86 s += "\n>>> " + getLine().str() + "\n>>> " + in setError()
H A DScriptLexer.h86 StringRef getLine();
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageView.h45 unsigned getLine() const { return Region.LineStart; } in getLine() function
78 unsigned getLine() const { return Line; } in getLine() function
93 unsigned getLine() const { return Line; } in getLine() function
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRawCommentList.cpp419 if (Loc.getLine() != PreviousLine) { in getFormattedLines()
421 PreviousLine = Loc.getLine(); in getFormattedLines()
461 if (End.getLine() != PreviousLine) { in getFormattedLines()
463 PreviousLine = End.getLine(); in getFormattedLines()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp2073 recordSourceLine(DL.getLine(), DL.getCol(), DL.getScope(), Flags, in beginInstruction()
2080 Asm->OutStreamer->getContext().getCurrentDwarfLoc().getLine(); in beginInstruction()
2092 if (ScopeUsesKeyInstructions && DL && DL.getLine()) in beginInstruction()
2119 if ((LastAsmLine == 0 && DL.getLine() != 0) || Flags) { in beginInstruction()
2165 if (DL.getLine() == 0 && LastAsmLine == 0) in beginInstruction()
2178 unsigned OldLine = PrevInstLoc ? PrevInstLoc.getLine() : LastAsmLine; in beginInstruction()
2179 if (DL.getLine() && (DL.getLine() != OldLine || ForceIsStmt)) in beginInstruction()
2186 if (DL.getLine()) in beginInstruction()
2218 if (MI.getDebugLoc().getLine()) in findPrologueEndLoc()
2355 if (!DL || DL->getLine() != 0) in emitInitialLocDirective()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLocalizer.cpp196 if ((!DefDL || DefDL.getLine() == 0) && UserDL && UserDL.getLine() != 0) { in localizeIntraBlock()
H A DLostDebugLocObserver.cpp38 if (MI->getDebugLoc().getLine() == 0) { in analyzeDebugLocations()
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_monitor.cpp68 *OutLine = SL.getLine(); in __ubsan_get_current_report_data()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp341 FNLOS << getFunctionName(SP) << SP->getLine(); in GCOVFunction()
372 write(SP->getLine()); // start_line in writeOut()
588 if (Loc.getLine() == 0) continue; in functionHasLines()
589 EndLine = std::max(EndLine, Loc.getLine()); in functionHasLines()
791 uint32_t Line = SP->getLine(); in emitProfileNotes()
875 if (Loc.getLine() == 0 || Loc.isImplicitCode()) in emitProfileNotes()
878 if (Line == Loc.getLine()) continue; in emitProfileNotes()
879 Line = Loc.getLine(); in emitProfileNotes()
885 Lines.addLine(Loc.getLine()); in emitProfileNotes()
H A DMemProfUse.cpp195 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in extractCallsFromIR()
492 return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) & in readMemprof()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/BTF/
H A DBTFContext.cpp33 Result.Line = LineInfo->getLine(); in getLineInfoForAddress()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCCodeView.cpp287 FilteredLines.back().getLine() != IA.Line || in getFunctionLineEntries()
378 unsigned LineData = J->getLine(); in emitLineTableForFunction()
490 << ' ' << Loc.getLine() << ' ' << Loc.getColumn() in encodeInlineLineTable()
526 CurSourceLoc.Line = Loc.getLine(); in encodeInlineLineTable()

12345