Home
last modified time | relevance | path

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

123456

/llvm-project-15.0.7/llvm/unittests/Support/
H A Dformatted_raw_ostream_test.cpp38 EXPECT_EQ(0U, C.getLine()); in TEST()
42 EXPECT_EQ(0U, C.getLine()); in TEST()
46 EXPECT_EQ(0U, C.getLine()); in TEST()
51 EXPECT_EQ(1U, C.getLine()); in TEST()
56 EXPECT_EQ(1U, C.getLine()); in TEST()
68 EXPECT_EQ(1U, C.getLine()); in TEST()
83 EXPECT_EQ(1U, C.getLine()); in TEST()
96 EXPECT_EQ(0U, C.getLine()); in TEST()
103 EXPECT_EQ(0U, C.getLine()); in TEST()
110 EXPECT_EQ(0U, C.getLine()); in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMIRFSDiscriminator.cpp55 uint64_t Ret = updateHash(std::to_string(DIL->getLine())); in getCallStackHash()
59 Ret ^= updateHash(std::to_string(DIL->getLine())); in getCallStackHash()
101 unsigned LineNo = DIL->getLine(); in runOnMachineFunction()
120 << DIL->getFilename() << ":" << DIL->getLine() << ":" in runOnMachineFunction()
128 LLVM_DEBUG(dbgs() << DIL->getFilename() << ":" << DIL->getLine() << ":" in runOnMachineFunction()
H A DMachineDebugify.cpp47 unsigned NextLine = SP->getLine(); in applyDebugifyMetadataToMachineFunction()
75 unsigned Line = DVI->getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction()
78 if (!EarliestDVI || Line < EarliestDVI->getDebugLoc().getLine()) in applyDebugifyMetadataToMachineFunction()
110 unsigned Line = MI.getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction()
112 Line = EarliestDVI->getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction()
H A DMachineCheckDebugify.cpp63 if (DL && DL.getLine() != 0) { in runOnModule()
64 MissingLines.reset(DL.getLine() - 1); in runOnModule()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DAddDiscriminators.cpp208 Location L = std::make_pair(DIL->getFilename(), DIL->getLine()); in addDiscriminators()
221 << DIL->getFilename() << ":" << DIL->getLine() << ":" in addDiscriminators()
226 LLVM_DEBUG(dbgs() << DIL->getFilename() << ":" << DIL->getLine() << ":" in addDiscriminators()
252 std::make_pair(CurrentDIL->getFilename(), CurrentDIL->getLine()); in addDiscriminators()
260 << CurrentDIL->getLine() << ":" << CurrentDIL->getColumn() in addDiscriminators()
/llvm-project-15.0.7/llvm/lib/IR/
H A DDebugLoc.cpp24 unsigned DebugLoc::getLine() const { in getLine() function in DebugLoc
26 return get()->getLine(); in getLine()
94 Ctx, MD->getLine(), MD->getColumn(), MD->getScope(), Last); in appendInlinedAt()
110 OS << ':' << getLine(); in print()
H A DLLVMContextImpl.h282 return Line == RHS->getLine() && Column == RHS->getColumn() &&
500 Line(N->getLine()), Scope(N->getRawScope()),
508 File == RHS->getRawFile() && Line == RHS->getLine() &&
607 Line(N->getLine()), Scope(N->getRawScope()),
621 File == RHS->getRawFile() && Line == RHS->getLine() &&
748 File == RHS->getRawFile() && Line == RHS->getLine() &&
836 Line == RHS->getLine() && Column == RHS->getColumn();
1018 Line(N->getLine()), Type(N->getRawType()),
1027 File == RHS->getRawFile() && Line == RHS->getLine() &&
1103 Line(N->getLine()) {}
[all …]
/llvm-project-15.0.7/clang/lib/Basic/
H A DSourceLocation.cpp76 OS << PLoc.getFilename() << ':' << PLoc.getLine() in print()
119 OS << PLoc.getFilename() << ':' << PLoc.getLine() << ':' in PrintDifference()
121 } else if (Previous.isInvalid() || PLoc.getLine() != Previous.getLine()) { in PrintDifference()
122 OS << "line" << ':' << PLoc.getLine() << ':' << PLoc.getColumn(); in PrintDifference()
/llvm-project-15.0.7/clang-tools-extra/clang-doc/
H A DMapper.cpp41 getLine(D, D->getASTContext()), File, in mapDecl()
85 int MapASTVisitor::getLine(const NamedDecl *D, in getLine() function in clang::doc::MapASTVisitor
87 return Context.getSourceManager().getPresumedLoc(D->getBeginLoc()).getLine(); in getLine()
H A DMapper.h46 int getLine(const NamedDecl *D, const ASTContext &Context) const;
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86DiscriminateMemOps.cpp51 return std::make_pair(Loc->getFilename(), Loc->getLine()); in diToLocation()
100 DILocation::get(FDI->getContext(), FDI->getLine(), 0, FDI); in runOnMachineFunction()
156 << DI->getFilename() << " Line: " << DI->getLine() in runOnMachineFunction()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp92 printFile(O, S->getFilename(), S->getDirectory(), S->getLine()); in printModuleDebugInfo()
101 printFile(O, GV->getFilename(), GV->getDirectory(), GV->getLine()); in printModuleDebugInfo()
111 printFile(O, T->getFilename(), T->getDirectory(), T->getLine()); in printModuleDebugInfo()
H A DInlineAdvisor.cpp440 DIL->getLine() - DIL->getScope()->getSubprogram()->getLine(); in formatCallSiteLocation()
466 unsigned int Offset = DIL->getLine(); in addLocationToRemarks()
467 Offset -= DIL->getScope()->getSubprogram()->getLine(); in addLocationToRemarks()
/llvm-project-15.0.7/clang/lib/Index/
H A DFileIndexRecord.cpp64 << PLoc.getLine() << ':' << PLoc.getColumn(); in print()
74 << PLoc.getLine() << ':' << PLoc.getColumn(); in print()
/llvm-project-15.0.7/openmp/tools/analyzer/
H A Danalyzer.py27 def getLine(fn): function
36 info["DebugLoc"] = {"File" : "unknown", "Line": getLine(fn), "Column" : 0}
/llvm-project-15.0.7/openmp/libomptarget/src/
H A Dprivate.h137 Kernel.getFilename(), Kernel.getLine(), Kernel.getColumn()); in dumpTargetPointerMappings()
149 Info.getLine(), Info.getColumn()); in dumpTargetPointerMappings()
162 RegionType, Info.getFilename(), Info.getLine(), Info.getColumn(), in printKernelArguments()
/llvm-project-15.0.7/lld/ELF/
H A DScriptLexer.cpp45 StringRef ScriptLexer::getLine() { in getLine() function in ScriptLexer
85 return tok.data() - getLine().data(); in getColumnNumber()
102 s += "\n>>> " + getLine().str() + "\n>>> " + in setError()
H A DScriptLexer.h50 StringRef getLine();
/llvm-project-15.0.7/clang/lib/AST/
H A DRawCommentList.cpp422 if (Loc.getLine() != PreviousLine) { in getFormattedLines()
424 PreviousLine = Loc.getLine(); in getFormattedLines()
464 if (End.getLine() != PreviousLine) { in getFormattedLines()
466 PreviousLine = End.getLine(); in getFormattedLines()
/llvm-project-15.0.7/clang/tools/arcmt-test/
H A Darcmt-test.cpp314 OS << ":" << PL.getLine() << ":" in printSourceLocation()
326 OS << " [" << PL.getLine() << ":" in printSourceRange()
336 OS << PL.getLine() << ":" << endCol << "]"; in printSourceRange()
/llvm-project-15.0.7/polly/lib/Support/
H A DScopLocation.cpp37 unsigned NewLine = DL.getLine(); in getDebugLocation()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp341 FNLOS << getFunctionName(SP) << SP->getLine(); in GCOVFunction()
377 write(SP->getLine()); in writeOut()
381 write(SP->getLine()); // start_line in writeOut()
609 if (Loc.getLine() == 0) continue; in functionHasLines()
610 EndLine = std::max(EndLine, Loc.getLine()); in functionHasLines()
803 uint32_t Line = SP->getLine(); in emitProfileNotes()
890 if (Loc.getLine() == 0 || Loc.isImplicitCode()) in emitProfileNotes()
893 if (Line == Loc.getLine()) continue; in emitProfileNotes()
894 Line = Loc.getLine(); in emitProfileNotes()
899 Lines.addLine(Loc.getLine()); in emitProfileNotes()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDebugLoc.h79 unsigned getLine() const;
H A DDebugInfoMetadata.h696 unsigned getLine() const { return Line; } in getLine() function
1602 unsigned getLine() const { return SubclassData32; } in getLine() function
1928 unsigned getLine() const { return Line; } in getLine() function
2132 unsigned getLine() const { return Line; } in getLine() function
2502 unsigned getLine() const { return Line; } in getLine() function
3170 getLine());
3191 unsigned getLine() const { return Line; }
3261 unsigned getLine() const { return Line; }
3337 unsigned getLine() const { return Line; }
3486 unsigned getLine() const { return Line; }
[all …]
/llvm-project-15.0.7/compiler-rt/lib/ubsan/
H A Dubsan_monitor.cpp67 *OutLine = SL.getLine(); in __ubsan_get_current_report_data()

123456