/external/llvm/tools/llvm-cov/ |
D | CoverageSummaryInfo.cpp | 38 unsigned LineStart = std::numeric_limits<unsigned>::max(); in get() local 43 LineStart = std::min(LineStart, CR.LineStart); in get() 46 unsigned LineCount = LineEnd - LineStart + 1; in get() 57 LineCount -= CR.LineEnd - CR.LineStart + 1; in get() 60 for (unsigned I = CR.LineStart; I <= CR.LineEnd; ++I) in get() 61 ExecutionCounts[I - LineStart] = ExecutionCount; in get()
|
/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 155 const char *LineStart = Loc.getPointer(); in GetMessage() local 157 while (LineStart != BufStart && LineStart[-1] != '\n' && in GetMessage() 158 LineStart[-1] != '\r') in GetMessage() 159 --LineStart; in GetMessage() 166 LineStr = std::string(LineStart, LineEnd); in GetMessage() 175 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage() 179 if (R.Start.getPointer() < LineStart) in GetMessage() 180 R.Start = SMLoc::getFromPointer(LineStart); in GetMessage() 186 ColRanges.push_back(std::make_pair(R.Start.getPointer()-LineStart, in GetMessage() 187 R.End.getPointer()-LineStart)); in GetMessage() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | SourceMgr.cpp | 187 const char *LineStart = Loc.getPointer(); in GetMessage() local 189 while (LineStart != BufStart && LineStart[-1] != '\n' && in GetMessage() 190 LineStart[-1] != '\r') in GetMessage() 191 --LineStart; in GetMessage() 198 LineStr = std::string(LineStart, LineEnd); in GetMessage() 207 if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart) in GetMessage() 211 if (R.Start.getPointer() < LineStart) in GetMessage() 212 R.Start = SMLoc::getFromPointer(LineStart); in GetMessage() 218 ColRanges.push_back(std::make_pair(R.Start.getPointer()-LineStart, in GetMessage() 219 R.End.getPointer()-LineStart)); in GetMessage() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | SourceMgr.cpp | 154 const char *LineStart = Loc.getPointer(); in GetMessage() local 155 while (LineStart != CurMB->getBufferStart() && in GetMessage() 156 LineStart[-1] != '\n' && LineStart[-1] != '\r') in GetMessage() 157 --LineStart; in GetMessage() 166 LineStr = std::string(LineStart, LineEnd); in GetMessage() 177 Loc.getPointer()-LineStart, OS.str(), in GetMessage()
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingWriter.cpp | 173 assert(I->LineStart >= PrevLineStart); in write() 174 encodeULEB128(I->LineStart - PrevLineStart, OS); in write() 176 assert(I->LineEnd >= I->LineStart); in write() 177 encodeULEB128(I->LineEnd - I->LineStart, OS); in write() 179 PrevLineStart = I->LineStart; in write()
|
D | CoverageMappingReader.cpp | 145 unsigned LineStart = 0; in readMappingRegionsSubArray() local 196 LineStart += LineStartDelta; in readMappingRegionsSubArray() 211 dbgs() << "Counter in file " << InferredFileID << " " << LineStart << ":" in readMappingRegionsSubArray() 212 << ColumnStart << " -> " << (LineStart + NumLines) << ":" in readMappingRegionsSubArray() 222 C, InferredFileID, ExpandedFileID, LineStart, ColumnStart, in readMappingRegionsSubArray() 223 LineStart + NumLines, ColumnEnd, Kind)); in readMappingRegionsSubArray()
|
/external/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 207 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; member 211 unsigned LineStart, unsigned ColumnStart, in CounterMappingRegion() 214 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), in CounterMappingRegion() 218 makeRegion(Counter Count, unsigned FileID, unsigned LineStart, in makeRegion() 220 return CounterMappingRegion(Count, FileID, 0, LineStart, ColumnStart, in makeRegion() 225 makeExpansion(unsigned FileID, unsigned ExpandedFileID, unsigned LineStart, in makeExpansion() 227 return CounterMappingRegion(Counter(), FileID, ExpandedFileID, LineStart, in makeExpansion() 233 makeSkipped(unsigned FileID, unsigned LineStart, unsigned ColumnStart, in makeSkipped() 235 return CounterMappingRegion(Counter(), FileID, 0, LineStart, ColumnStart, in makeSkipped() 241 return std::pair<unsigned, unsigned>(LineStart, ColumnStart); in startLoc()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 226 unsigned LineStart, ColumnStart, LineEnd, ColumnEnd; member 230 unsigned LineStart, unsigned ColumnStart, in CounterMappingRegion() 233 LineStart(LineStart), ColumnStart(ColumnStart), LineEnd(LineEnd), in CounterMappingRegion() 237 makeRegion(Counter Count, unsigned FileID, unsigned LineStart, in makeRegion() 239 return CounterMappingRegion(Count, FileID, 0, LineStart, ColumnStart, in makeRegion() 244 makeExpansion(unsigned FileID, unsigned ExpandedFileID, unsigned LineStart, in makeExpansion() 246 return CounterMappingRegion(Counter(), FileID, ExpandedFileID, LineStart, in makeExpansion() 252 makeSkipped(unsigned FileID, unsigned LineStart, unsigned ColumnStart, in makeSkipped() 254 return CounterMappingRegion(Counter(), FileID, 0, LineStart, ColumnStart, in makeSkipped() 259 makeGapRegion(Counter Count, unsigned FileID, unsigned LineStart, in makeGapRegion() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingWriter.cpp | 198 assert(I->LineStart >= PrevLineStart); in write() 199 encodeULEB128(I->LineStart - PrevLineStart, OS); in write() 201 assert(I->LineEnd >= I->LineStart); in write() 202 encodeULEB128(I->LineEnd - I->LineStart, OS); in write() 204 PrevLineStart = I->LineStart; in write()
|
D | CoverageMappingReader.cpp | 159 unsigned LineStart = 0; in readMappingRegionsSubArray() local 210 LineStart += LineStartDelta; in readMappingRegionsSubArray() 232 dbgs() << "Counter in file " << InferredFileID << " " << LineStart << ":" in readMappingRegionsSubArray() 233 << ColumnStart << " -> " << (LineStart + NumLines) << ":" in readMappingRegionsSubArray() 243 LineStart, ColumnStart, in readMappingRegionsSubArray() 244 LineStart + NumLines, ColumnEnd, Kind); in readMappingRegionsSubArray()
|
/external/clang/lib/Format/ |
D | FormatTokenLexer.cpp | 333 StringRef LineStart; in tryMergeConflictMarkers() local 335 LineStart = Buffer.substr(LineOffset); in tryMergeConflictMarkers() 337 LineStart = Buffer.substr(LineOffset, FirstSpace - LineOffset); in tryMergeConflictMarkers() 341 if (LineStart == "<<<<<<<" || LineStart == ">>>>") { in tryMergeConflictMarkers() 343 } else if (LineStart == "|||||||" || LineStart == "=======" || in tryMergeConflictMarkers() 344 LineStart == "====") { in tryMergeConflictMarkers() 346 } else if (LineStart == ">>>>>>>" || LineStart == "<<<<") { in tryMergeConflictMarkers()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 705 const char *LineStart = MemBuf->getBufferStart(); in checkAllRulesInBuffer() local 708 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer() 709 ++LineStart; in checkAllRulesInBuffer() 711 while (LineStart != MemBuf->getBufferEnd() && *LineStart != '\0') { in checkAllRulesInBuffer() 712 const char *LineEnd = LineStart; in checkAllRulesInBuffer() 717 StringRef Line(LineStart, LineEnd - LineStart); in checkAllRulesInBuffer() 724 LineStart = LineEnd; in checkAllRulesInBuffer() 725 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer() 726 ++LineStart; in checkAllRulesInBuffer()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 706 const char *LineStart = MemBuf->getBufferStart(); in checkAllRulesInBuffer() local 709 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer() 710 ++LineStart; in checkAllRulesInBuffer() 712 while (LineStart != MemBuf->getBufferEnd() && *LineStart != '\0') { in checkAllRulesInBuffer() 713 const char *LineEnd = LineStart; in checkAllRulesInBuffer() 718 StringRef Line(LineStart, LineEnd - LineStart); in checkAllRulesInBuffer() 725 LineStart = LineEnd; in checkAllRulesInBuffer() 726 while (LineStart != MemBuf->getBufferEnd() && std::isspace(*LineStart)) in checkAllRulesInBuffer() 727 ++LineStart; in checkAllRulesInBuffer()
|
/external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/ |
D | JITEventListener.h | 30 struct LineStart { struct 43 std::vector<LineStart> LineStarts;
|
/external/llvm/include/llvm/ExecutionEngine/ |
D | JITEventListener.h | 37 struct LineStart { struct 50 std::vector<LineStart> LineStarts;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/ |
D | JITEventListener.h | 41 struct LineStart { struct 54 std::vector<LineStart> LineStarts;
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/ |
D | pdbdump-debug-subsections.test | 49 YAML-NEXT: LineStart: 5 53 YAML-NEXT: LineStart: 6 57 YAML-NEXT: LineStart: 7
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/ |
D | ResourceScriptCppFilter.cpp | 47 size_t LineStart = Pos; in run() local 50 StringRef Line = Data.take_front(Pos).drop_front(LineStart); in run()
|
/external/llvm/tools/llvm-pdbdump/ |
D | CompilandDumper.cpp | 68 uint32_t LineStart = Line->getLineNumber(); in start() local 75 WithColor(Printer, StatementColor).get() << LineStart; in start() 76 if (LineStart != LineEnd) in start()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/ |
D | PrettyCompilandDumper.cpp | 77 uint32_t LineStart = Line->getLineNumber(); in start() local 84 WithColor(Printer, StatementColor).get() << LineStart; in start() 85 if (LineStart != LineEnd) in start()
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 220 std::min(FileLineRanges[R.FileID].first, R.LineStart); in gatherSkippedRegions() 235 unsigned LineStart = SM.getSpellingLineNumber(LocStart); in gatherSkippedRegions() local 240 *CovFileID, LineStart, ColumnStart, LineEnd, ColumnEnd); in gatherSkippedRegions() 243 if (Region.LineStart >= FileLineRanges[*CovFileID].first && in gatherSkippedRegions() 272 unsigned LineStart = SM.getSpellingLineNumber(LocStart); in emitSourceRegions() local 277 assert(LineStart <= LineEnd && "region start and end out of order"); in emitSourceRegions() 279 Region.getCounter(), *CovFileID, LineStart, ColumnStart, LineEnd, in emitSourceRegions() 302 unsigned LineStart = SM.getSpellingLineNumber(ParentLoc); in emitExpansionRegions() local 308 *ParentFileID, *ExpandedFileID, LineStart, ColumnStart, LineEnd, in emitExpansionRegions() 951 OS << "File " << R.FileID << ", " << R.LineStart << ":" << R.ColumnStart in dump()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/ |
D | CodeViewYAMLDebugSections.cpp | 268 IO.mapRequired("LineStart", Obj.LineStart); in mapping() 428 uint32_t LE = L.LineStart + L.EndDelta; in toCodeViewSubsection() 430 LineInfo(L.LineStart, LE, L.IsStatement), in toCodeViewSubsection() 435 uint32_t LE = L.LineStart + L.EndDelta; in toCodeViewSubsection() 436 Result->addLineInfo(L.Offset, LineInfo(L.LineStart, LE, L.IsStatement)); in toCodeViewSubsection() 608 SLE.LineStart = LI.getStartLine(); in fromCodeViewSubsection()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 1148 unsigned LineStart = SourceLineCache[LastLineNoResult - 1]; in getColumnNumber() local 1150 if (FilePos >= LineStart && FilePos < LineEnd) in getColumnNumber() 1151 return FilePos - LineStart + 1; in getColumnNumber() 1155 unsigned LineStart = FilePos; in getColumnNumber() local 1156 while (LineStart && Buf[LineStart-1] != '\n' && Buf[LineStart-1] != '\r') in getColumnNumber() 1157 --LineStart; in getColumnNumber() 1158 return FilePos-LineStart+1; in getColumnNumber()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ObjectYAML/ |
D | CodeViewYAMLDebugSections.h | 65 uint32_t LineStart; member
|
/external/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 262 ASSERT_GT(N, Output.Regions[I].LineStart); in TEST_P() 263 EXPECT_EQ(FileNames[Output.Regions[I].LineStart], in TEST_P() 334 ASSERT_EQ(3U, Output.Regions[2].LineStart); in TEST_P()
|