/external/llvm-project/llvm/tools/llvm-cxxmap/ |
D | llvm-cxxmap.cpp | 88 for (line_iterator LineIt(NewSymbolFile, /*SkipBlanks=*/true, '#'); in remapSymbols() local 89 !LineIt.is_at_eof(); ++LineIt) { in remapSymbols() 90 StringRef Symbol = *LineIt; in remapSymbols() 104 Twine(LineIt.line_number()), in remapSymbols() 110 for (line_iterator LineIt(OldSymbolFile, /*SkipBlanks=*/true, '#'); in remapSymbols() local 111 !LineIt.is_at_eof(); ++LineIt) { in remapSymbols() 112 StringRef Symbol = *LineIt; in remapSymbols() 121 Twine(LineIt.line_number())); in remapSymbols()
|
/external/llvm-project/llvm/lib/Support/ |
D | SymbolRemappingReader.cpp | 28 line_iterator LineIt(B, /*SkipBlanks=*/true, '#'); in read() local 32 B.getBufferIdentifier(), LineIt.line_number(), Msg); in read() 35 for (; !LineIt.is_at_eof(); ++LineIt) { in read() 36 StringRef Line = *LineIt; in read()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | SymbolRemappingReader.cpp | 28 line_iterator LineIt(B, /*SkipBlanks=*/true, '#'); in read() local 32 B.getBufferIdentifier(), LineIt.line_number(), Msg); in read() 35 for (; !LineIt.is_at_eof(); ++LineIt) { in read() 36 StringRef Line = *LineIt; in read()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ReplayInlineAdvisor.cpp | 37 line_iterator LineIt(*BufferOrErr.get(), /*SkipBlanks=*/true); in ReplayInlineAdvisor() local 38 for (; !LineIt.is_at_eof(); ++LineIt) { in ReplayInlineAdvisor() 39 StringRef Line = *LineIt; in ReplayInlineAdvisor()
|
/external/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 150 line_iterator LineIt(*Buffer, /*SkipBlanks=*/true, '#'); in read() local 155 for (; !LineIt.is_at_eof(); ++LineIt) { in read() 156 if ((*LineIt)[(*LineIt).find_first_not_of(' ')] == '#') in read() 170 if ((*LineIt)[0] != ' ') { in read() 173 if (!ParseHead(*LineIt, FName, NumSamples, NumHeadSamples)) { in read() 174 reportError(LineIt.line_number(), in read() 175 "Expected 'mangled_name:NUM:NUM', found " + *LineIt); in read() 191 if (!ParseLine(*LineIt, IsCallsite, Depth, NumSamples, LineOffset, in read() 193 reportError(LineIt.line_number(), in read() 195 *LineIt); in read() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | BasicBlockSections.cpp | 398 line_iterator LineIt(*MBuf, /*SkipBlanks=*/true, /*CommentMarker=*/'#'); in getBBClusterInfo() local 403 Twine(LineIt.line_number()) + ": " + Message), in getBBClusterInfo() 418 for (; !LineIt.is_at_eof(); ++LineIt) { in getBBClusterInfo() 419 StringRef S(*LineIt); in getBBClusterInfo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 195 line_iterator LineIt(*Buffer, /*SkipBlanks=*/true, '#'); in readImpl() local 200 for (; !LineIt.is_at_eof(); ++LineIt) { in readImpl() 201 if ((*LineIt)[(*LineIt).find_first_not_of(' ')] == '#') in readImpl() 215 if ((*LineIt)[0] != ' ') { in readImpl() 218 if (!ParseHead(*LineIt, FName, NumSamples, NumHeadSamples)) { in readImpl() 219 reportError(LineIt.line_number(), in readImpl() 220 "Expected 'mangled_name:NUM:NUM', found " + *LineIt); in readImpl() 236 if (!ParseLine(*LineIt, IsCallsite, Depth, NumSamples, LineOffset, in readImpl() 238 reportError(LineIt.line_number(), in readImpl() 240 *LineIt); in readImpl() [all …]
|
/external/llvm-project/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 195 line_iterator LineIt(*Buffer, /*SkipBlanks=*/true, '#'); in readImpl() local 202 for (; !LineIt.is_at_eof(); ++LineIt) { in readImpl() 203 if ((*LineIt)[(*LineIt).find_first_not_of(' ')] == '#') in readImpl() 217 if ((*LineIt)[0] != ' ') { in readImpl() 220 if (!ParseHead(*LineIt, FName, NumSamples, NumHeadSamples)) { in readImpl() 221 reportError(LineIt.line_number(), in readImpl() 222 "Expected 'mangled_name:NUM:NUM', found " + *LineIt); in readImpl() 244 if (!ParseLine(*LineIt, IsCallsite, Depth, NumSamples, LineOffset, in readImpl() 246 reportError(LineIt.line_number(), in readImpl() 248 *LineIt); in readImpl() [all …]
|
/external/llvm-project/llvm/tools/llvm-profdata/ |
D | llvm-profdata.cpp | 154 for (line_iterator LineIt(*Remapper->File, /*SkipBlanks=*/true, '#'); in create() local 155 !LineIt.is_at_eof(); ++LineIt) { in create() 156 std::pair<StringRef, StringRef> Parts = LineIt->split(' '); in create() 160 (InputFile + ":" + Twine(LineIt.line_number())).str(), in create()
|