Searched refs:LineIt (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/llvm/tools/llvm-cxxmap/ |
H A D | llvm-cxxmap.cpp | 99 for (line_iterator LineIt(NewSymbolFile, /*SkipBlanks=*/true, '#'); in remapSymbols() local 100 !LineIt.is_at_eof(); ++LineIt) { in remapSymbols() 101 StringRef Symbol = *LineIt; in remapSymbols() 115 Twine(LineIt.line_number()), in remapSymbols() 121 for (line_iterator LineIt(OldSymbolFile, /*SkipBlanks=*/true, '#'); in remapSymbols() local 122 !LineIt.is_at_eof(); ++LineIt) { in remapSymbols() 123 StringRef Symbol = *LineIt; in remapSymbols() 132 Twine(LineIt.line_number())); in remapSymbols()
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | SymbolRemappingReader.cpp | 29 line_iterator LineIt(B, /*SkipBlanks=*/true, '#'); in read() local 33 B.getBufferIdentifier(), LineIt.line_number(), Msg); in read() 36 for (; !LineIt.is_at_eof(); ++LineIt) { in read() 37 StringRef Line = *LineIt; in read()
|
H A D | SampleProfReader.cpp | 318 line_iterator LineIt(*Buffer, /*SkipBlanks=*/true, '#'); in readImpl() local 330 for (; !LineIt.is_at_eof(); ++LineIt) { in readImpl() 331 size_t pos = LineIt->find_first_not_of(' '); in readImpl() 332 if (pos == LineIt->npos || (*LineIt)[pos] == '#') in readImpl() 346 if ((*LineIt)[0] != ' ') { in readImpl() 349 if (!ParseHead(*LineIt, FName, NumSamples, NumHeadSamples)) { in readImpl() 350 reportError(LineIt.line_number(), in readImpl() 351 "Expected 'mangled_name:NUM:NUM', found " + *LineIt); in readImpl() 371 if (!ParseLine(*LineIt, LineTy, Depth, NumSamples, LineOffset, in readImpl() 374 reportError(LineIt.line_number(), in readImpl() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | BasicBlockSectionsProfileReader.cpp | 149 for (; !LineIt.is_at_eof(); ++LineIt) { in ReadV1Profile() 150 StringRef S(*LineIt); in ReadV1Profile() 262 for (; !LineIt.is_at_eof(); ++LineIt) { in ReadV0Profile() 263 StringRef S(*LineIt); in ReadV0Profile() 368 StringRef FirstLine(*LineIt); in ReadProfile() 378 ++LineIt; in ReadProfile()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ReplayInlineAdvisor.cpp | 45 line_iterator LineIt(*BufferOrErr.get(), /*SkipBlanks=*/true); in ReplayInlineAdvisor() local 49 for (; !LineIt.is_at_eof(); ++LineIt) { in ReplayInlineAdvisor() 50 StringRef Line = *LineIt; in ReplayInlineAdvisor()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/ |
H A D | llvm-profdata.cpp | 570 for (line_iterator LineIt(*Remapper->File, /*SkipBlanks=*/true, '#'); in create() local 571 !LineIt.is_at_eof(); ++LineIt) { in create() 572 std::pair<StringRef, StringRef> Parts = LineIt->split(' '); in create() 576 (InputFile + ":" + Twine(LineIt.line_number())).str(), in create()
|