| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | formatted_raw_ostream_test.cpp | 38 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 D | MIRFSDiscriminator.cpp | 55 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 D | MachineDebugify.cpp | 47 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 D | MachineCheckDebugify.cpp | 63 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 D | AddDiscriminators.cpp | 208 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 D | DebugLoc.cpp | 24 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 D | LLVMContextImpl.h | 282 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 D | SourceLocation.cpp | 76 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 D | Mapper.cpp | 41 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 D | Mapper.h | 46 int getLine(const NamedDecl *D, const ASTContext &Context) const;
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86DiscriminateMemOps.cpp | 51 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 D | ModuleDebugInfoPrinter.cpp | 92 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 D | InlineAdvisor.cpp | 440 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 D | FileIndexRecord.cpp | 64 << PLoc.getLine() << ':' << PLoc.getColumn(); in print() 74 << PLoc.getLine() << ':' << PLoc.getColumn(); in print()
|
| /llvm-project-15.0.7/openmp/tools/analyzer/ |
| H A D | analyzer.py | 27 def getLine(fn): function 36 info["DebugLoc"] = {"File" : "unknown", "Line": getLine(fn), "Column" : 0}
|
| /llvm-project-15.0.7/openmp/libomptarget/src/ |
| H A D | private.h | 137 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 D | ScriptLexer.cpp | 45 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 D | ScriptLexer.h | 50 StringRef getLine();
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | RawCommentList.cpp | 422 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 D | arcmt-test.cpp | 314 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 D | ScopLocation.cpp | 37 unsigned NewLine = DL.getLine(); in getDebugLocation()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | GCOVProfiling.cpp | 341 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 D | DebugLoc.h | 79 unsigned getLine() const;
|
| H A D | DebugInfoMetadata.h | 696 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 D | ubsan_monitor.cpp | 67 *OutLine = SL.getLine(); in __ubsan_get_current_report_data()
|