Home
last modified time | relevance | path

Searched refs:LineIt (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/tools/llvm-cxxmap/
H A Dllvm-cxxmap.cpp100 for (line_iterator LineIt(NewSymbolFile, /*SkipBlanks=*/true, '#'); in remapSymbols() local
101 !LineIt.is_at_eof(); ++LineIt) { in remapSymbols()
102 StringRef Symbol = *LineIt; in remapSymbols()
116 Twine(LineIt.line_number()), in remapSymbols()
122 for (line_iterator LineIt(OldSymbolFile, /*SkipBlanks=*/true, '#'); in remapSymbols() local
123 !LineIt.is_at_eof(); ++LineIt) { in remapSymbols()
124 StringRef Symbol = *LineIt; in remapSymbols()
133 Twine(LineIt.line_number())); in remapSymbols()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSymbolRemappingReader.cpp29 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 DSampleProfReader.cpp326 line_iterator LineIt(*Buffer, /*SkipBlanks=*/true, '#'); in readImpl() local
340 for (; !LineIt.is_at_eof(); ++LineIt) { in readImpl()
341 size_t pos = LineIt->find_first_not_of(' '); in readImpl()
342 if (pos == LineIt->npos || (*LineIt)[pos] == '#') in readImpl()
356 if ((*LineIt)[0] != ' ') { in readImpl()
359 if (!ParseHead(*LineIt, FName, NumSamples, NumHeadSamples)) { in readImpl()
360 reportError(LineIt.line_number(), in readImpl()
361 "Expected 'mangled_name:NUM:NUM', found " + *LineIt); in readImpl()
382 if (!ParseLine(*LineIt, LineTy, Depth, NumSamples, LineOffset, in readImpl()
385 reportError(LineIt.line_number(), in readImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DBasicBlockSectionsProfileReader.cpp150 for (; !LineIt.is_at_eof(); ++LineIt) { in ReadV1Profile()
151 StringRef S(*LineIt); in ReadV1Profile()
263 for (; !LineIt.is_at_eof(); ++LineIt) { in ReadV0Profile()
264 StringRef S(*LineIt); in ReadV0Profile()
369 StringRef FirstLine(*LineIt); in ReadProfile()
379 ++LineIt; in ReadProfile()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DReplayInlineAdvisor.cpp45 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/include/llvm/CodeGen/
H A DBasicBlockSectionsProfileReader.h59 : MBuf(Buf), LineIt(*Buf, /*SkipBlanks=*/true, /*CommentMarker=*/'#'){}; in BasicBlockSectionsProfileReader()
90 Twine(LineIt.line_number()) + ": " + Message), in createProfileParseError()
114 line_iterator LineIt; variable
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSpecialCaseList.cpp163 for (line_iterator LineIt(*MB, /*SkipBlanks=*/true, /*CommentMarker=*/'#'); in parse() local
164 !LineIt.is_at_eof(); LineIt++) { in parse()
165 unsigned LineNo = LineIt.line_number(); in parse()
166 StringRef Line = LineIt->trim(); in parse()
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp610 for (line_iterator LineIt(*Remapper->File, /*SkipBlanks=*/true, '#'); in create() local
611 !LineIt.is_at_eof(); ++LineIt) { in create()
612 std::pair<StringRef, StringRef> Parts = LineIt->split(' '); in create()
616 (InputFile + ":" + Twine(LineIt.line_number())).str(), in create()