Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DDIBuilder.h139 unsigned LineNo, DIDescriptor Context);
165 unsigned LineNo, uint64_t SizeInBits,
185 unsigned LineNo, uint64_t SizeInBits,
255 MDNode *File = 0, unsigned LineNo = 0,
270 MDNode *File = 0, unsigned LineNo = 0,
340 createGlobalVariable(StringRef Name, DIFile File, unsigned LineNo,
357 StringRef LinkageName, DIFile File, unsigned LineNo,
377 DIFile File, unsigned LineNo,
396 StringRef Name, DIFile F, unsigned LineNo,
417 DIFile File, unsigned LineNo,
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DSourceMgr.cpp92 unsigned LineNo = 1; in FindLineNumber() local
103 LineNo = Cache->LineNoOfQuery; in FindLineNumber()
109 if (*Ptr == '\n') ++LineNo; in FindLineNumber()
120 Cache.LineNoOfQuery = LineNo; in FindLineNumber()
121 return LineNo; in FindLineNumber()
212 if (LineNo != -1) { in Print()
213 S << ':' << LineNo; in Print()
222 if (LineNo != -1 && ColumnNo != -1 && ShowLine) { in Print()
/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-7.0/llvm/include/llvm/IR/
DDIBuilder.h238 unsigned LineNo, DIScope *Context);
266 DIFile *File, unsigned LineNo,
286 DIFile *File, unsigned LineNo,
304 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
319 DIFile *File, unsigned LineNo,
335 DIDerivedType *createObjCIVar(StringRef Name, DIFile *File, unsigned LineNo,
581 unsigned LineNo, DIType *Ty, bool isLocalToUnit,
589 unsigned LineNo, DIType *Ty, bool isLocalToUnit, MDNode *Decl = nullptr,
602 unsigned LineNo, DIType *Ty, bool AlwaysPreserve = false,
611 createLabel(DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DDbgInfoPrinter.cpp120 std::string &Type, unsigned &LineNo, in getLocationInfo() argument
133 LineNo = Var.getLineNumber(); in getLocationInfo()
144 LineNo = Var.getLineNumber(); in getLocationInfo()
155 LineNo = Var.getLineNumber(); in getLocationInfo()
174 unsigned LineNo = 0; in printVariableDeclaration() local
176 if (!getLocationInfo(V, DisplayName, Type, LineNo, File, Directory)) in printVariableDeclaration()
191 Out << File << ":" << LineNo << "\n"; in printVariableDeclaration()
DDIBuilder.cpp251 unsigned LineNo, DIDescriptor Context) { in createTypedef() argument
259 ConstantInt::get(Type::getInt32Ty(VMContext), LineNo), in createTypedef()
392 DIType Ty, MDNode *File, unsigned LineNo, in createTemplateTypeParameter() argument
400 ConstantInt::get(Type::getInt32Ty(VMContext), LineNo), in createTemplateTypeParameter()
411 MDNode *File, unsigned LineNo, in createTemplateValueParameter() argument
420 ConstantInt::get(Type::getInt32Ty(VMContext), LineNo), in createTemplateValueParameter()
703 unsigned LineNo, DIType Ty, in createLocalVariable() argument
711 ConstantInt::get(Type::getInt32Ty(VMContext), (LineNo | (ArgNo << 24))), in createLocalVariable()
732 unsigned LineNo, in createComplexVariable() argument
741 (LineNo | (ArgNo << 24)))); in createComplexVariable()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DSpecialCaseList.cpp132 unsigned LineNo = 1; in parse() local
135 for (auto I = Lines.begin(), E = Lines.end(); I != E; ++I, ++LineNo) { in parse()
144 Error = (Twine("malformed section header on line ") + Twine(LineNo) + in parse()
168 Error = (Twine("malformed line ") + Twine(LineNo) + ": '" + in parse()
181 if (!M->insert(Section, LineNo, REError)) { in parse()
192 if (!Entry.insert(std::move(Regexp), LineNo, REError)) { in parse()
193 Error = (Twine("malformed regex in line ") + Twine(LineNo) + ": '" + in parse()
DSourceMgr.cpp139 unsigned LineNo; in getLineAndColumn() local
141 LineNo = SB.getLineNumber<uint8_t>(Ptr); in getLineAndColumn()
143 LineNo = SB.getLineNumber<uint16_t>(Ptr); in getLineAndColumn()
145 LineNo = SB.getLineNumber<uint32_t>(Ptr); in getLineAndColumn()
147 LineNo = SB.getLineNumber<uint64_t>(Ptr); in getLineAndColumn()
152 return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs); in getLineAndColumn()
269 : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Kind(Kind), in SMDiagnostic()
384 if (LineNo != -1) { in print()
385 S << ':' << LineNo; in print()
427 if (LineNo == -1 || ColumnNo == -1) in print()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DSourceMgr.h160 int LineNo, ColumnNo; variable
166 SMDiagnostic() : SM(0), LineNo(0), ColumnNo(0), ShowLine(0) {} in SMDiagnostic()
169 : SM(0), Filename(filename), LineNo(-1), ColumnNo(-1), in SMDiagnostic()
177 : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Message(Msg),
183 int getLineNo() const { return LineNo; } in getLineNo()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/
DDebugInfo.h280 LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty,
597 size_t NameLen, LLVMMetadataRef File, unsigned LineNo,
655 LLVMMetadataRef File, unsigned LineNo,
677 LLVMMetadataRef File, unsigned LineNo,
734 LLVMMetadataRef File, unsigned LineNo,
977 unsigned LineNo,
1034 unsigned LineNo,
1117 size_t NameLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty,
1135 size_t NameLen, unsigned ArgNo, LLVMMetadataRef File, unsigned LineNo,
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
DSourceCoverageView.h154 int64_t LineNo; member
156 LineRef(StringRef Line, int64_t LineNo) : Line(Line), LineNo(LineNo) {} in LineRef()
192 virtual void renderLineNumberColumn(raw_ostream &OS, unsigned LineNo) = 0;
/external/swiftshader/third_party/LLVM/lib/VMCore/
DDebugLoc.cpp122 unsigned LineNo = 0, ColNo = 0; in getFromDILocation() local
124 LineNo = Line->getZExtValue(); in getFromDILocation()
128 return get(LineNo, ColNo, Scope, dyn_cast_or_null<MDNode>(N->getOperand(3))); in getFromDILocation()
138 unsigned LineNo = 0, ColNo = 0; in getFromDILexicalBlock() local
140 LineNo = Line->getZExtValue(); in getFromDILexicalBlock()
144 return get(LineNo, ColNo, Scope, NULL); in getFromDILexicalBlock()
/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;
/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-7.0/llvm/lib/IR/
DDIBuilder.cpp305 DIFile *File, unsigned LineNo, in createTypedef() argument
308 LineNo, getNonCompileUnitScope(Context), Ty, 0, 0, in createTypedef()
674 unsigned LineNo, DIType *Ty, bool AlwaysPreserve, DINode::DIFlags Flags, in createLocalVariable() argument
684 File, LineNo, Ty, ArgNo, Flags, AlignInBits); in createLocalVariable()
697 DIFile *File, unsigned LineNo, in createAutoVariable() argument
702 /* ArgNo */ 0, File, LineNo, Ty, AlwaysPreserve, in createAutoVariable()
708 unsigned LineNo, DIType *Ty, bool AlwaysPreserve, DINode::DIFlags Flags) { in createParameterVariable() argument
711 File, LineNo, Ty, AlwaysPreserve, Flags, in createParameterVariable()
717 unsigned LineNo, bool AlwaysPreserve) { in createLabel() argument
722 File, LineNo); in createLabel()
[all …]
DDebugInfo.cpp801 LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, in LLVMDIBuilderCreateFunction() argument
806 unwrapDI<DIFile>(File), LineNo, unwrapDI<DISubroutineType>(Ty), in LLVMDIBuilderCreateFunction()
983 size_t NameLen, LLVMMetadataRef File, unsigned LineNo, uint64_t SizeInBits, in LLVMDIBuilderCreateMemberType() argument
987 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, SizeInBits, AlignInBits, in LLVMDIBuilderCreateMemberType()
1013 LLVMMetadataRef File, unsigned LineNo, in LLVMDIBuilderCreateObjCIVar() argument
1018 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCIVar()
1027 LLVMMetadataRef File, unsigned LineNo, in LLVMDIBuilderCreateObjCProperty() argument
1033 {Name, NameLen}, unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateObjCProperty()
1047 LLVMMetadataRef File, unsigned LineNo, in LLVMDIBuilderCreateTypedef() argument
1051 unwrapDI<DIFile>(File), LineNo, in LLVMDIBuilderCreateTypedef()
[all …]
/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/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVError.h105 unsigned LineNo) { in checkError() argument
114 SS <<" [Src: " << FileName << ":" << LineNo << " " << CondString << " ]"; in checkError()

123