| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SpecialCaseList.cpp | 59 Glob->LineNo = LineNumber; in insert() 72 return Glob->LineNo; in match() 134 unsigned LineNo, bool UseGlobs) { in addSection() argument 138 if (auto Err = Section.SectionMatcher->insert(SectionStr, LineNo, UseGlobs)) { in addSection() 140 "malformed section at line " + Twine(LineNo) + in addSection() 165 unsigned LineNo = LineIt.line_number(); in parse() local 174 ("malformed section header on line " + Twine(LineNo) + ": " + Line) in parse() 179 if (auto Err = addSection(Line.drop_front().drop_back(), FileIdx, LineNo, in parse() 192 Error = ("malformed line " + Twine(LineNo) + ": '" + Line + "'").str(); in parse() 198 if (auto Err = Entry.insert(Pattern, LineNo, UseGlobs)) { in parse() [all …]
|
| H A D | SourceMgr.cpp | 136 unsigned LineNo) const { in getPointerForLineNumberSpecialized() 141 if (LineNo != 0) in getPointerForLineNumberSpecialized() 142 --LineNo; in getPointerForLineNumberSpecialized() 148 if (LineNo == 0) in getPointerForLineNumberSpecialized() 150 if (LineNo > Offsets.size()) in getPointerForLineNumberSpecialized() 152 return BufStart + Offsets[LineNo - 1] + 1; in getPointerForLineNumberSpecialized() 158 SourceMgr::SrcBuffer::getPointerForLineNumber(unsigned LineNo) const { in getPointerForLineNumber() 161 return getPointerForLineNumberSpecialized<uint8_t>(LineNo); in getPointerForLineNumber() 163 return getPointerForLineNumberSpecialized<uint16_t>(LineNo); in getPointerForLineNumber() 165 return getPointerForLineNumberSpecialized<uint32_t>(LineNo); in getPointerForLineNumber() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DIBuilder.h | 331 createTypedef(DIType *Ty, StringRef Name, DIFile *File, unsigned LineNo, 349 unsigned LineNo, DIScope *Context, DINodeArray TParams, 382 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo, 399 unsigned LineNo, uint64_t SizeInBits, uint32_t AlignInBits, 419 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo, 450 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo, 467 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo, 485 unsigned LineNo, DIType *Ty, 502 unsigned LineNo, uint64_t SizeInBits, 763 DIFile *File, unsigned LineNo, [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMP.cpp | 202 unsigned LineNo = 0; in prettifyFunctionName() local 203 auto ParentName = deconstructOpenMPKernelName(FunctionName, LineNo); in prettifyFunctionName() 204 if (LineNo == 0) in prettifyFunctionName() 206 return ("omp target in " + ParentName + " @ " + std::to_string(LineNo) + in prettifyFunctionName() 212 unsigned &LineNo) { in deconstructOpenMPKernelName() argument 230 if (PrettyName.drop_front(LineIdx + 2).consumeInteger(10, LineNo)) in deconstructOpenMPKernelName()
|
| /freebsd/lib/libc/gen/ |
| H A D | fstab.c | 49 static int LineNo = 0; variable 120 ++LineNo; in fstabscan() 255 LineNo = 0; in setfsent() 261 LineNo = 0; in setfsent() 289 sprintf(num, "%d: ", LineNo); in error()
|
| /freebsd/contrib/llvm-project/clang/include/clang/CrossTU/ |
| H A D | CrossTranslationUnit.h | 64 IndexError(index_error_code C) : Code(C), LineNo(0) {} in IndexError() 65 IndexError(index_error_code C, std::string FileName, int LineNo = 0) 66 : Code(C), FileName(std::move(FileName)), LineNo(LineNo) {} in Code() 75 int getLineNum() const { return LineNo; } in getLineNum() 83 int LineNo; variable
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | SourceMgr.h | 71 LLVM_ABI const char *getPointerForLineNumber(unsigned LineNo) const; 73 const char *getPointerForLineNumberSpecialized(unsigned LineNo) const; 213 LLVM_ABI SMLoc FindLocForLineAndColumn(unsigned BufferID, unsigned LineNo, 286 int LineNo = 0; variable 298 : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} in SMDiagnostic() 310 int getLineNo() const { return LineNo; } in getLineNo()
|
| H A D | SpecialCaseList.h | 132 unsigned LineNo; member 159 unsigned FileIdx, unsigned LineNo,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | DebugInfo.h | 383 LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, 727 size_t NameLen, unsigned LineNo, LLVMMetadataRef File, uint64_t SizeInBits, 748 size_t NameLen, unsigned LineNo, LLVMMetadataRef File, uint64_t Size, 856 size_t NameLen, LLVMMetadataRef File, unsigned LineNo, uint64_t SizeInBits, 909 LLVMMetadataRef File, unsigned LineNo, uint64_t SizeInBits, 929 LLVMMetadataRef File, unsigned LineNo, const char *GetterName, 983 size_t NameLen, LLVMMetadataRef File, unsigned LineNo, 1213 unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit, 1313 unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit, 1411 size_t NameLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | SourceManagerInternals.h | 37 unsigned LineNo; member 57 E.LineNo = Line; in get() 111 unsigned LineNo, int FilenameID,
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DIBuilder.cpp | 380 DIFile *File, unsigned LineNo, in createTypedef() argument 385 LineNo, getNonCompileUnitScope(Context), Ty, in createTypedef() 392 unsigned LineNo, DIScope *Context, in createTemplateAlias() argument 396 LineNo, getNonCompileUnitScope(Context), Ty, in createTemplateAlias() 674 DIFile *File, unsigned LineNo, in createSetType() argument 678 LineNo, getNonCompileUnitScope(Scope), Ty, in createSetType() 853 StringRef Name, DIFile *File, unsigned LineNo, DIScope *Scope, in createSubrangeType() argument 857 return DISubrangeType::get(VMContext, Name, File, LineNo, Scope, SizeInBits, in createSubrangeType() 908 unsigned LineNo, DIType *Ty, bool AlwaysPreserve, DINode::DIFlags Flags, in createLocalVariable() argument 913 auto *Node = DILocalVariable::get(VMContext, Scope, Name, File, LineNo, Ty, in createLocalVariable() [all …]
|
| H A D | DebugInfo.cpp | 1149 LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, in LLVMDIBuilderCreateFunction() argument 1154 unwrapDI<DIFile>(File), LineNo, unwrapDI<DISubroutineType>(Ty), ScopeLine, in LLVMDIBuilderCreateFunction() 1339 size_t NameLen, unsigned LineNo, LLVMMetadataRef File, uint64_t SizeInBits, in LLVMDIBuilderCreateSubrangeType() argument 1344 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateSubrangeType() 1363 size_t NameLen, unsigned LineNo, LLVMMetadataRef File, uint64_t Size, in LLVMDIBuilderCreateDynamicArrayType() argument 1371 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateDynamicArrayType() 1459 size_t NameLen, LLVMMetadataRef File, unsigned LineNo, uint64_t SizeInBits, in LLVMDIBuilderCreateMemberType() argument 1463 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, SizeInBits, AlignInBits, in LLVMDIBuilderCreateMemberType() 1487 LLVMMetadataRef File, unsigned LineNo, in LLVMDIBuilderCreateObjCIVar() argument 1492 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCIVar() [all …]
|
| H A D | LLVMContextImpl.h | 1127 unsigned LineNo; 1130 unsigned LineNo) 1131 : Scope(Scope), Decl(Decl), Name(Name), File(File), LineNo(LineNo) {} 1134 File(N->getRawFile()), LineNo(N->getLineNo()) {} 1139 LineNo == RHS->getLineNo(); 1143 return hash_combine(Scope, Decl, Name, File, LineNo); 1154 unsigned LineNo; 1159 MDString *APINotesFile, unsigned LineNo, bool IsDecl) 1162 APINotesFile(APINotesFile), LineNo(LineNo), IsDecl(IsDecl) {} 1167 APINotesFile(N->getRawAPINotesFile()), LineNo(N->getLineNo()), [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 795 unsigned LineNo = PLoc.getLine(); in emitDiagnosticLoc() local 808 OS << ':' << LineNo; in emitDiagnosticLoc() 810 case DiagnosticOptions::MSVC: OS << '(' << LineNo; break; in emitDiagnosticLoc() 811 case DiagnosticOptions::Vi: OS << " +" << LineNo; break; in emitDiagnosticLoc() 961 unsigned LineNo; member 999 static std::string buildFixItInsertionLine(FileID FID, unsigned LineNo, in buildFixItInsertionLine() argument 1018 LineNo == SM.getLineNumber(HintLocInfo.first, HintLocInfo.second) && in buildFixItInsertionLine() 1355 for (unsigned LineNo = Lines.first; LineNo != Lines.second + 1; in emitSnippetAndCaret() local 1356 ++LineNo, ++DisplayLineNo) { in emitSnippetAndCaret() 1360 SM.getDecomposedLoc(SM.translateLineCol(FID, LineNo, 1)).second; in emitSnippetAndCaret() [all …]
|
| H A D | PrintPreprocessedOutput.cpp | 223 bool MoveToLine(unsigned LineNo, bool RequireStartOfLine); 229 void WriteLineInfo(unsigned LineNo, const char *Extra=nullptr, 251 void PrintPPOutputPPCallbacks::WriteLineInfo(unsigned LineNo, in WriteLineInfo() argument 258 *OS << "#line" << ' ' << LineNo << ' ' << '"'; in WriteLineInfo() 262 *OS << '#' << ' ' << LineNo << ' ' << '"'; in WriteLineInfo() 281 bool PrintPPOutputPPCallbacks::MoveToLine(unsigned LineNo, in MoveToLine() argument 298 if (CurLine == LineNo) { in MoveToLine() 302 } else if (!StartedNewLine && LineNo - CurLine == 1) { in MoveToLine() 309 if (LineNo - CurLine <= 8) { in MoveToLine() 311 OS->write(NewLines, LineNo - CurLine); in MoveToLine() [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-cov/ |
| H A D | SourceCoverageView.h | 191 int64_t LineNo; member 193 LineRef(StringRef Line, int64_t LineNo) : Line(Line), LineNo(LineNo) {} in LineRef() 229 virtual void renderLineNumberColumn(raw_ostream &OS, unsigned LineNo) = 0;
|
| H A D | SourceCoverageViewText.cpp | 166 unsigned LineNumber = L.LineNo; in renderLine() 228 unsigned LineNo) { in renderLineNumberColumn() argument 231 BufferOS << LineNo; in renderLineNumberColumn()
|
| H A D | SourceCoverageViewHTML.cpp | 930 unsigned LineNo = L.LineNo; in renderLine() local 1006 errs() << "Highlighted line " << LineNo << ", " << Range.first << " -> "; in renderLine() 1066 unsigned LineNo) { in renderLineNumberColumn() argument 1067 std::string LineNoStr = utostr(uint64_t(LineNo)); in renderLineNumberColumn()
|
| /freebsd/contrib/llvm-project/clang/lib/Rewrite/ |
| H A D | HTMLRewrite.cpp | 236 static void AddLineNumber(RewriteBuffer &RB, unsigned LineNo, in AddLineNumber() argument 241 OS << "<tr class=\"codeline\" data-linenumber=\"" << LineNo << "\">" in AddLineNumber() 242 << "<td class=\"num\" id=\"LN" << LineNo << "\">" << LineNo in AddLineNumber() 264 unsigned LineNo = 0; in AddLineNumbers() local 269 ++LineNo; in AddLineNumbers() 290 AddLineNumber(RB, LineNo, LineStartPos, LineEndPos); in AddLineNumbers()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MIRFSDiscriminator.cpp | 150 unsigned LineNo = in runOnMachineFunction() 152 if (LineNo == 0) in runOnMachineFunction() 165 LocationDiscriminator LD{DIL->getFilename(), LineNo, Discriminator, in runOnMachineFunction() 148 unsigned LineNo = runOnMachineFunction() local
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerUtil.cpp | 135 int LineNo = 0; in ParseDictionaryFile() local 138 LineNo++; in ParseDictionaryFile() 146 Printf("ParseDictionaryFile: error in line %d\n\t\t%s\n", LineNo, in ParseDictionaryFile()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseStmtAsm.cpp | 369 unsigned LineNo = 0; in ParseMicrosoftAsmStatement() local 385 LineNo = SrcMgr.getLineNumber(FID, ExpAsmLoc.second); in ParseMicrosoftAsmStatement() 412 LineNo = SrcMgr.getLineNumber(FID, ExpSemiLoc.second); in ParseMicrosoftAsmStatement() 419 SrcMgr.getLineNumber(ExpLoc.first, ExpLoc.second) != LineNo) { in ParseMicrosoftAsmStatement() 434 LineNo = SrcMgr.getLineNumber(ExpLoc.first, ExpLoc.second); in ParseMicrosoftAsmStatement() 440 LineNo = SrcMgr.getLineNumber(FID, ExpLoc.second); in ParseMicrosoftAsmStatement()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMP.h | 76 unsigned &LineNo);
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 197 void LineTableInfo::AddLineNote(FileID FID, unsigned Offset, unsigned LineNo, in AddLineNote() argument 228 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, FileKind, in AddLineNote() 266 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote() argument 290 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID, in AddLineNote() 1393 unsigned LineNo = Pos-SourceLineCacheStart; in getLineNumber() local 1398 LastLineNoResult = LineNo; in getLineNumber() 1399 return LineNo; in getLineNumber() 1501 unsigned LineNo = getLineNumber(LocInfo.first, LocInfo.second, &Invalid); in getPresumedLoc() local 1530 LineNo = Entry->LineNo + (LineNo-MarkerLineNo-1); in getPresumedLoc() 1542 return PresumedLoc(Filename.data(), FID, LineNo, ColNo, IncludeLoc); in getPresumedLoc()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | TextDiagnostic.h | 116 unsigned LineNo, unsigned DisplayLineNo,
|