/external/llvm-project/llvm/lib/Support/ |
D | SourceMgr.cpp | 124 unsigned LineNo) const { in getPointerForLineNumberSpecialized() 129 if (LineNo != 0) in getPointerForLineNumberSpecialized() 130 --LineNo; in getPointerForLineNumberSpecialized() 136 if (LineNo == 0) in getPointerForLineNumberSpecialized() 138 if (LineNo > Offsets.size()) in getPointerForLineNumberSpecialized() 140 return BufStart + Offsets[LineNo - 1] + 1; in getPointerForLineNumberSpecialized() 146 SourceMgr::SrcBuffer::getPointerForLineNumber(unsigned LineNo) const { in getPointerForLineNumber() 149 return getPointerForLineNumberSpecialized<uint8_t>(LineNo); in getPointerForLineNumber() 151 return getPointerForLineNumberSpecialized<uint16_t>(LineNo); in getPointerForLineNumber() 153 return getPointerForLineNumberSpecialized<uint32_t>(LineNo); in getPointerForLineNumber() [all …]
|
D | SpecialCaseList.cpp | 133 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(std::string(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()
|
/external/llvm/include/llvm/IR/ |
D | DIBuilder.h | 166 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/llvm-project/llvm/include/llvm/IR/ |
D | DIBuilder.h | 252 unsigned LineNo, DIScope *Context, 281 DIFile *File, unsigned LineNo, 301 DIFile *File, unsigned LineNo, 319 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo, 334 DIFile *File, unsigned LineNo, 350 DIDerivedType *createObjCIVar(StringRef Name, DIFile *File, unsigned LineNo, 623 unsigned LineNo, DIType *Ty, bool IsLocalToUnit, bool isDefined = true, 631 unsigned LineNo, DIType *Ty, bool IsLocalToUnit, MDNode *Decl = nullptr, 644 unsigned LineNo, DIType *Ty, bool AlwaysPreserve = false, 653 createLabel(DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo, [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DIBuilder.h | 242 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/clang/include/clang/Basic/ |
D | SourceManagerInternals.h | 34 unsigned LineNo; member 54 E.LineNo = Line; in get() 105 unsigned LineNo, int FilenameID); 107 unsigned LineNo, int FilenameID,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | SpecialCaseList.cpp | 133 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()
|
D | SourceMgr.cpp | 134 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/llvm-project/llvm/include/llvm/Support/ |
D | SourceMgr.h | 70 const char *getPointerForLineNumber(unsigned LineNo) const; 72 const char *getPointerForLineNumberSpecialized(unsigned LineNo) const; 182 SMLoc FindLocForLineAndColumn(unsigned BufferID, unsigned LineNo, 255 int LineNo = 0; variable 267 : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} in SMDiagnostic() 278 int getLineNo() const { return LineNo; } in getLineNo()
|
/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 86 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()
|
D | SpecialCaseList.cpp | 91 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/llvm-project/clang/include/clang/CrossTU/ |
D | CrossTranslationUnit.h | 62 IndexError(index_error_code C) : Code(C), LineNo(0) {} in IndexError() 63 IndexError(index_error_code C, std::string FileName, int LineNo = 0) 64 : Code(C), FileName(std::move(FileName)), LineNo(LineNo) {} in Code() 73 int getLineNum() const { return LineNo; } in getLineNum() 81 int LineNo; variable
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 155 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 …]
|
/external/llvm-project/clang/lib/Frontend/ |
D | TextDiagnostic.cpp | 820 unsigned LineNo = PLoc.getLine(); in emitDiagnosticLoc() local 832 OS << ':' << LineNo; in emitDiagnosticLoc() 834 case DiagnosticOptions::MSVC: OS << '(' << LineNo; break; in emitDiagnosticLoc() 835 case DiagnosticOptions::Vi: OS << " +" << LineNo; break; in emitDiagnosticLoc() 988 unsigned LineNo, FileID FID, in highlightRange() argument 999 if (StartLineNo > LineNo || SM.getFileID(Begin) != FID) in highlightRange() 1003 if (EndLineNo < LineNo || SM.getFileID(End) != FID) in highlightRange() 1008 if (StartLineNo == LineNo) { in highlightRange() 1015 if (EndLineNo == LineNo) { in highlightRange() 1070 unsigned LineNo, in buildFixItInsertionLine() argument [all …]
|
D | PrintPreprocessedOutput.cpp | 162 bool MoveToLine(unsigned LineNo); 168 void WriteLineInfo(unsigned LineNo, const char *Extra=nullptr, 187 void PrintPPOutputPPCallbacks::WriteLineInfo(unsigned LineNo, in WriteLineInfo() argument 194 OS << "#line" << ' ' << LineNo << ' ' << '"'; in WriteLineInfo() 198 OS << '#' << ' ' << LineNo << ' ' << '"'; in WriteLineInfo() 217 bool PrintPPOutputPPCallbacks::MoveToLine(unsigned LineNo) { in MoveToLine() argument 220 if (LineNo-CurLine <= 8) { in MoveToLine() 221 if (LineNo-CurLine == 1) in MoveToLine() 223 else if (LineNo == CurLine) in MoveToLine() 227 OS.write(NewLines, LineNo-CurLine); in MoveToLine() [all …]
|
/external/llvm-project/llvm/tools/llvm-cov/ |
D | SourceCoverageView.h | 153 int64_t LineNo; member 155 LineRef(StringRef Line, int64_t LineNo) : Line(Line), LineNo(LineNo) {} in LineRef() 191 virtual void renderLineNumberColumn(raw_ostream &OS, unsigned LineNo) = 0;
|
/external/llvm-project/clang/include/clang/Basic/ |
D | SourceManagerInternals.h | 37 unsigned LineNo; member 57 E.LineNo = Line; in get() 111 unsigned LineNo, int FilenameID,
|
/external/llvm/tools/llvm-cov/ |
D | SourceCoverageView.h | 178 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;
|
/external/llvm/lib/IR/ |
D | DIBuilder.cpp | 238 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-project/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 209 static void AddLineNumber(RewriteBuffer &RB, unsigned LineNo, in AddLineNumber() argument 214 OS << "<tr class=\"codeline\" data-linenumber=\"" << LineNo << "\">" in AddLineNumber() 215 << "<td class=\"num\" id=\"LN" << LineNo << "\">" << LineNo in AddLineNumber() 237 unsigned LineNo = 0; in AddLineNumbers() local 242 ++LineNo; in AddLineNumbers() 263 AddLineNumber(RB, LineNo, LineStartPos, LineEndPos); in AddLineNumbers()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/ |
D | DebugInfo.h | 332 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/llvm-project/llvm/include/llvm-c/ |
D | DebugInfo.h | 339 LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, 746 size_t NameLen, LLVMMetadataRef File, unsigned LineNo, 804 LLVMMetadataRef File, unsigned LineNo, 826 LLVMMetadataRef File, unsigned LineNo, 883 LLVMMetadataRef File, unsigned LineNo, 1124 unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit, 1216 unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit, 1296 size_t NameLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, 1314 size_t NameLen, unsigned ArgNo, LLVMMetadataRef File, unsigned LineNo,
|
/external/llvm-project/llvm/lib/IR/ |
D | DIBuilder.cpp | 316 DIFile *File, unsigned LineNo, in createTypedef() argument 320 LineNo, getNonCompileUnitScope(Context), Ty, 0, in createTypedef() 720 unsigned LineNo, DIType *Ty, bool AlwaysPreserve, DINode::DIFlags Flags, in createLocalVariable() argument 730 File, LineNo, Ty, ArgNo, Flags, AlignInBits); in createLocalVariable() 743 DIFile *File, unsigned LineNo, in createAutoVariable() argument 748 /* ArgNo */ 0, File, LineNo, Ty, AlwaysPreserve, in createAutoVariable() 754 unsigned LineNo, DIType *Ty, bool AlwaysPreserve, DINode::DIFlags Flags) { in createParameterVariable() argument 757 File, LineNo, Ty, AlwaysPreserve, Flags, in createParameterVariable() 763 unsigned LineNo, bool AlwaysPreserve) { in createLabel() argument 768 File, LineNo); in createLabel() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | DIBuilder.cpp | 308 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 …]
|
/external/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 208 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()
|