Home
last modified time | relevance | path

Searched refs:OutStr (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DCFGPrinter.h86 std::string OutStr = OS.str();
87 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin());
92 for (unsigned i = 0; i != OutStr.length(); ++i) {
93 if (OutStr[i] == '\n') { // Left justify
94 OutStr[i] = '\\';
95 OutStr.insert(OutStr.begin()+i+1, 'l');
98 } else if (OutStr[i] == ';') { // Delete comments!
99 unsigned Idx = OutStr.find('\n', i+1); // Find end of line
100 OutStr.erase(OutStr.begin()+i, OutStr.begin()+Idx);
106 OutStr.insert(LastSpace, "\\l...");
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineFunction.cpp563 std::string OutStr; in getNodeLabel() local
565 raw_string_ostream OSS(OutStr); in getNodeLabel()
575 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin()); in getNodeLabel()
578 for (unsigned i = 0; i != OutStr.length(); ++i) in getNodeLabel()
579 if (OutStr[i] == '\n') { // Left justify in getNodeLabel()
580 OutStr[i] = '\\'; in getNodeLabel()
581 OutStr.insert(OutStr.begin()+i+1, 'l'); in getNodeLabel()
583 return OutStr; in getNodeLabel()