Home
last modified time | relevance | path

Searched refs:LineNo (Results 1 – 25 of 45) sorted by relevance

12

/external/llvm/include/llvm/IR/
DDIBuilder.h166 unsigned LineNo, DIScope *Context);
192 DIFile *File, unsigned LineNo,
209 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
223 DIFile *File, unsigned LineNo,
238 DIDerivedType *createObjCIVar(StringRef Name, DIFile *File, unsigned LineNo,
459 unsigned LineNo, DIType *Ty,
468 unsigned LineNo, DIType *Ty, bool isLocalToUnit, llvm::Constant *Val,
480 DIFile *File, unsigned LineNo,
498 unsigned LineNo, DIType *Ty,
533 unsigned LineNo, DISubroutineType *Ty,
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDIBuilder.h242 unsigned LineNo, DIScope *Context,
271 DIFile *File, unsigned LineNo,
291 DIFile *File, unsigned LineNo,
309 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
324 DIFile *File, unsigned LineNo,
340 DIDerivedType *createObjCIVar(StringRef Name, DIFile *File, unsigned LineNo,
586 unsigned LineNo, DIType *Ty, bool IsLocalToUnit, bool isDefined = true,
594 unsigned LineNo, DIType *Ty, bool IsLocalToUnit, MDNode *Decl = nullptr,
607 unsigned LineNo, DIType *Ty, bool AlwaysPreserve = false,
616 createLabel(DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSpecialCaseList.cpp133 unsigned LineNo = 1; in parse() local
136 for (auto I = Lines.begin(), E = Lines.end(); I != E; ++I, ++LineNo) { in parse()
145 Error = (Twine("malformed section header on line ") + Twine(LineNo) + in parse()
169 Error = (Twine("malformed line ") + Twine(LineNo) + ": '" + in parse()
182 if (!M->insert(Section, LineNo, REError)) { in parse()
193 if (!Entry.insert(std::move(Regexp), LineNo, REError)) { in parse()
194 Error = (Twine("malformed regex in line ") + Twine(LineNo) + ": '" + in parse()
DSourceMgr.cpp134 unsigned LineNo; in getLineAndColumn() local
136 LineNo = SB.getLineNumber<uint8_t>(Ptr); in getLineAndColumn()
138 LineNo = SB.getLineNumber<uint16_t>(Ptr); in getLineAndColumn()
140 LineNo = SB.getLineNumber<uint32_t>(Ptr); in getLineAndColumn()
142 LineNo = SB.getLineNumber<uint64_t>(Ptr); in getLineAndColumn()
147 return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs); in getLineAndColumn()
264 : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Kind(Kind), in SMDiagnostic()
382 if (LineNo != -1) { in print()
383 S << ':' << LineNo; in print()
411 if (LineNo == -1 || ColumnNo == -1) in print()
/external/clang/include/clang/Basic/
DSourceManagerInternals.h34 unsigned LineNo; member
54 E.LineNo = Line; in get()
105 unsigned LineNo, int FilenameID);
107 unsigned LineNo, int FilenameID,
/external/llvm/lib/Support/
DSourceMgr.cpp86 unsigned LineNo = 1; in getLineAndColumn() local
98 LineNo = Cache->LineNoOfQuery; in getLineAndColumn()
104 if (*Ptr == '\n') ++LineNo; in getLineAndColumn()
114 Cache.LineNoOfQuery = LineNo; in getLineAndColumn()
118 return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs); in getLineAndColumn()
237 : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Kind(Kind), in SMDiagnostic()
352 if (LineNo != -1) { in print()
353 S << ':' << LineNo; in print()
390 if (LineNo == -1 || ColumnNo == -1) in print()
DSpecialCaseList.cpp91 int LineNo = 1; in parse() local
92 for (auto I = Lines.begin(), E = Lines.end(); I != E; ++I, ++LineNo) { in parse()
101 Error = (Twine("malformed line ") + Twine(LineNo) + ": '" + in parse()
126 Error = (Twine("malformed regex in line ") + Twine(LineNo) + ": '" + in parse()
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp155 bool MoveToLine(unsigned LineNo);
161 void WriteLineInfo(unsigned LineNo, const char *Extra=nullptr,
176 void PrintPPOutputPPCallbacks::WriteLineInfo(unsigned LineNo, in WriteLineInfo() argument
183 OS << "#line" << ' ' << LineNo << ' ' << '"'; in WriteLineInfo()
187 OS << '#' << ' ' << LineNo << ' ' << '"'; in WriteLineInfo()
206 bool PrintPPOutputPPCallbacks::MoveToLine(unsigned LineNo) { in MoveToLine() argument
209 if (LineNo-CurLine <= 8) { in MoveToLine()
210 if (LineNo-CurLine == 1) in MoveToLine()
212 else if (LineNo == CurLine) in MoveToLine()
216 OS.write(NewLines, LineNo-CurLine); in MoveToLine()
[all …]
DTextDiagnostic.cpp791 unsigned LineNo = PLoc.getLine(); in emitDiagnosticLoc() local
801 case DiagnosticOptions::Clang: OS << ':' << LineNo; break; in emitDiagnosticLoc()
802 case DiagnosticOptions::MSVC: OS << '(' << LineNo; break; in emitDiagnosticLoc()
803 case DiagnosticOptions::Vi: OS << " +" << LineNo; break; in emitDiagnosticLoc()
916 unsigned LineNo, FileID FID, in highlightRange() argument
927 if (StartLineNo > LineNo || SM.getFileID(Begin) != FID) in highlightRange()
931 if (EndLineNo < LineNo || SM.getFileID(End) != FID) in highlightRange()
936 if (StartLineNo == LineNo) { in highlightRange()
943 if (EndLineNo == LineNo) { in highlightRange()
994 static std::string buildFixItInsertionLine(unsigned LineNo, in buildFixItInsertionLine() argument
[all …]
/external/llvm/lib/IR/
DDIBuilder.cpp238 DIFile *File, unsigned LineNo, in createTypedef() argument
241 LineNo, getNonCompileUnitScope(Context), Ty, 0, 0, in createTypedef()
567 unsigned LineNo, DIType *Ty, bool AlwaysPreserve, unsigned Flags) { in createLocalVariable() argument
576 File, LineNo, Ty, ArgNo, Flags); in createLocalVariable()
589 DIFile *File, unsigned LineNo, in createAutoVariable() argument
593 /* ArgNo */ 0, File, LineNo, Ty, AlwaysPreserve, in createAutoVariable()
599 unsigned LineNo, DIType *Ty, bool AlwaysPreserve, unsigned Flags) { in createParameterVariable() argument
602 File, LineNo, Ty, AlwaysPreserve, Flags); in createParameterVariable()
630 unsigned LineNo, DISubroutineType *Ty, bool isLocalToUnit, in createFunction() argument
635 getNonCompileUnitScope(Context), Name, LinkageName, File, LineNo, Ty, in createFunction()
[all …]
/external/llvm/tools/llvm-cov/
DSourceCoverageView.h178 int64_t LineNo; member
180 LineRef(StringRef Line, int64_t LineNo) : Line(Line), LineNo(LineNo) {} in LineRef()
217 virtual void renderLineNumberColumn(raw_ostream &OS, unsigned LineNo) = 0;
DSourceCoverageViewText.cpp95 unsigned LineNumber = L.LineNo; in renderLine()
153 unsigned LineNo) { in renderLineNumberColumn() argument
156 BufferOS << LineNo; in renderLineNumberColumn()
DSourceCoverageViewHTML.cpp404 unsigned LineNo) { in renderLineNumberColumn() argument
405 OS << tag("td", tag("pre", utostr(uint64_t(LineNo))), "line-number"); in renderLineNumberColumn()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DDebugInfo.h332 LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty,
739 size_t NameLen, LLVMMetadataRef File, unsigned LineNo,
797 LLVMMetadataRef File, unsigned LineNo,
819 LLVMMetadataRef File, unsigned LineNo,
876 LLVMMetadataRef File, unsigned LineNo,
1117 unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit,
1209 unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit,
1289 size_t NameLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty,
1307 size_t NameLen, unsigned ArgNo, LLVMMetadataRef File, unsigned LineNo,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDIBuilder.cpp308 DIFile *File, unsigned LineNo, in createTypedef() argument
312 LineNo, getNonCompileUnitScope(Context), Ty, 0, in createTypedef()
676 unsigned LineNo, DIType *Ty, bool AlwaysPreserve, DINode::DIFlags Flags, in createLocalVariable() argument
686 File, LineNo, Ty, ArgNo, Flags, AlignInBits); in createLocalVariable()
699 DIFile *File, unsigned LineNo, in createAutoVariable() argument
704 /* ArgNo */ 0, File, LineNo, Ty, AlwaysPreserve, in createAutoVariable()
710 unsigned LineNo, DIType *Ty, bool AlwaysPreserve, DINode::DIFlags Flags) { in createParameterVariable() argument
713 File, LineNo, Ty, AlwaysPreserve, Flags, in createParameterVariable()
719 unsigned LineNo, bool AlwaysPreserve) { in createLabel() argument
724 File, LineNo); in createLabel()
[all …]
DDebugInfo.cpp804 LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, in LLVMDIBuilderCreateFunction() argument
809 unwrapDI<DIFile>(File), LineNo, unwrapDI<DISubroutineType>(Ty), ScopeLine, in LLVMDIBuilderCreateFunction()
1046 size_t NameLen, LLVMMetadataRef File, unsigned LineNo, uint64_t SizeInBits, in LLVMDIBuilderCreateMemberType() argument
1050 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, SizeInBits, AlignInBits, in LLVMDIBuilderCreateMemberType()
1076 LLVMMetadataRef File, unsigned LineNo, in LLVMDIBuilderCreateObjCIVar() argument
1081 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCIVar()
1090 LLVMMetadataRef File, unsigned LineNo, in LLVMDIBuilderCreateObjCProperty() argument
1096 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCProperty()
1110 LLVMMetadataRef File, unsigned LineNo, in LLVMDIBuilderCreateTypedef() argument
1113 unwrapDI<DIType>(Type), {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateTypedef()
[all …]
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp208 static void AddLineNumber(RewriteBuffer &RB, unsigned LineNo, in AddLineNumber() argument
214 << LineNo << "\">" in AddLineNumber()
215 << LineNo << "</td><td class=\"line\">"; in AddLineNumber()
236 unsigned LineNo = 0; in AddLineNumbers() local
241 ++LineNo; in AddLineNumbers()
262 AddLineNumber(RB, LineNo, LineStartPos, LineEndPos); in AddLineNumbers()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSourceMgr.h232 int LineNo, ColumnNo; variable
241 : SM(nullptr), LineNo(0), ColumnNo(0), Kind(SourceMgr::DK_Error) {} in SMDiagnostic()
244 : SM(nullptr), Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), in SMDiagnostic()
257 int getLineNo() const { return LineNo; } in getLineNo()
/external/llvm/include/llvm/Support/
DSourceMgr.h237 int LineNo, ColumnNo; variable
246 : SM(nullptr), LineNo(0), ColumnNo(0), Kind(SourceMgr::DK_Error) {} in SMDiagnostic()
249 : SM(nullptr), Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), in SMDiagnostic()
262 int getLineNo() const { return LineNo; } in getLineNo()
/external/clang/lib/Basic/
DSourceManager.cpp191 unsigned LineNo, int FilenameID) { in AddLineNote() argument
212 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, Kind, in AddLineNote()
222 unsigned LineNo, int FilenameID, in AddLineNote() argument
248 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, FileKind, in AddLineNote()
289 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote() argument
303 getLineTable().AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID); in AddLineNote()
307 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote() argument
316 return AddLineNote(Loc, LineNo, FilenameID); in AddLineNote()
347 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID, in AddLineNote()
1374 unsigned LineNo = Pos-SourceLineCacheStart; in getLineNumber() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSourceMgr.h265 int LineNo = 0; variable
277 : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} in SMDiagnostic()
289 int getLineNo() const { return LineNo; } in getLineNo()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerUtil.cpp135 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()
/external/llvm/lib/Fuzzer/
DFuzzerUtil.cpp229 int LineNo = 0; in ParseDictionaryFile() local
232 LineNo++; in ParseDictionaryFile()
240 Printf("ParseDictionaryFile: error in line %d\n\t\t%s\n", LineNo, in ParseDictionaryFile()
/external/toolchain-utils/crosperf/
Dexperiment_file.py140 % (reader.LineNo(), str(err), reader.CurrentLine(False))
239 def LineNo(self): member in ExperimentFileReader
/external/clang/lib/Parse/
DParseStmtAsm.cpp390 unsigned LineNo = 0; in ParseMicrosoftAsmStatement() local
407 LineNo = SrcMgr.getLineNumber(FID, ExpAsmLoc.second); in ParseMicrosoftAsmStatement()
435 LineNo = SrcMgr.getLineNumber(FID, ExpSemiLoc.second); in ParseMicrosoftAsmStatement()
443 SrcMgr.getLineNumber(ExpLoc.first, ExpLoc.second) != LineNo) { in ParseMicrosoftAsmStatement()
458 LineNo = SrcMgr.getLineNumber(ExpLoc.first, ExpLoc.second); in ParseMicrosoftAsmStatement()

12