|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
examples/Fibonacci/fibonacci.cpp 124 errs() << argv[0] << ": Failed to construct ExecutionEngine: " << errStr
examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp 1239 errs() << "Could not find host " << HostName << "\n";
examples/Kaleidoscope/Chapter8/toy.cpp 1232 errs() << Error;
1251 errs() << "Could not open file: " << EC.message();
examples/Kaleidoscope/Chapter9/toy.cpp 197 return O << std::string(size, ' ');
237 return ExprAST::dump(out << Name, ind);
286 ExprAST::dump(out << "call " << Callee, ind);
348 NamedVar.second->dump(indent(out, ind) << NamedVar.first << ':', ind + 1);
examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp 37 dbgs() << "No object for " << M->getModuleIdentifier()
42 dbgs() << "Object for " << M->getModuleIdentifier()
gen/tools/clang/include/clang/AST/AttrImpl.inc 2612 OS << " __attribute__((cleanup(" << getFunctionDecl()->getNameInfo().getAsString() << ")))";
2616 OS << " [[gnu::cleanup(" << getFunctionDecl()->getNameInfo().getAsString() << ")]]";
4086 OS << "" << getInterface().getAsString() << "";
4104 OS << "" << getInterface().getAsString() << "";
4122 OS << "" << getInterface().getAsString() << "";
8226 OS << "" << getDerefType().getAsString() << "";
8633 OS << "" << getDerefType().getAsString() << "";
10583 OS << " __attribute__((type_tag_for_datatype(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getMatchingCType().getAsString() << ", " << getLayoutCompatible() << ", " << getMustBeNull() << ")))";
10587 OS << " [[clang::type_tag_for_datatype(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getMatchingCType().getAsString() << ", " << getLayoutCompatible() << ", " << getMustBeNull() << ")]]";
10591 OS << " [[clang::type_tag_for_datatype(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getMatchingCType().getAsString() << ", " << getLayoutCompatible() << ", " << getMustBeNull() << ")]]";
10931 OS << " __attribute__((vec_type_hint(" << getTypeHint().getAsString() << ")))";
gen/tools/clang/include/clang/AST/AttrTextNodeDump.inc 251 if (SA->getInterfaceLoc()) OS << " " << SA->getInterface().getAsString();
574 if (SA->getDerefTypeLoc()) OS << " " << SA->getDerefType().getAsString();
616 if (SA->getDerefTypeLoc()) OS << " " << SA->getDerefType().getAsString();
739 OS << " " << SA->getMatchingCType().getAsString();
790 OS << " " << SA->getTypeHint().getAsString();
gen/tools/clang/include/clang/AST/Attrs.inc 6193 OS << ' ' << getValueString(Policy);
6198 OS << ' ' << getOptionName(option) << getValueString(Policy);
include/llvm/ADT/Optional.h 421 OS << *O;
include/llvm/Analysis/BlockFrequencyInfoImpl.h 1036 << std::string(F.getName().size(), '=') << "\n");
1075 LLVM_DEBUG(dbgs() << " - " << getIndex(I) << ": " << getBlockName(Node)
1105 LLVM_DEBUG(dbgs() << " - loop = " << getBlockName(Header) << "\n");
1134 LLVM_DEBUG(dbgs() << " - loop = " << getBlockName(Header)
1135 << ": member = " << getBlockName(Index) << "\n");
1156 LLVM_DEBUG(dbgs() << "compute-mass-in-loop: " << getLoopName(Loop) << "\n");
1172 << getBlockName(HeaderNode) << "\n");
1176 LLVM_DEBUG(dbgs() << getBlockName(HeaderNode)
1201 << getBlockName(HeaderNode) << "\n");
1284 << "loop: " << getLoopName(*OuterLoop) << "\n";
1311 LLVM_DEBUG(dbgs() << " - node: " << getBlockName(Node) << "\n");
1343 OS << " - " << bfi_detail::getBlockName(&BB) << ": float = ";
include/llvm/Analysis/DOTGraphTraitsPass.h 100 errs() << "Writing '" << Filename << "'...";
163 errs() << "Writing '" << Filename << "'...";
include/llvm/Analysis/RegionInfo.h 1021 return OS << Node.template getNodeAs<RegionT>()->getNameStr();
include/llvm/Analysis/RegionInfoImpl.h 493 OS.indent(level * 2) << '[' << level << "] " << getNameStr();
495 OS.indent(level * 2) << getNameStr();
include/llvm/CodeGen/MIRYamlMapping.h 49 OS << S.Value;
include/llvm/DebugInfo/DIContext.h 69 OS << "file '" << FileName << "', ";
71 OS << "function '" << FunctionName << "', ";
include/llvm/DebugInfo/PDB/PDBExtras.h 51 OS << Name << ": " << Value;
include/llvm/ExecutionEngine/Orc/Core.h 906 dbgs() << "Dispatching " << *MU << " for " << JD.getName() << "\n";
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h 44 OS << (ResourceDescription.empty()
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h 329 LLVM_DEBUG(dbgs() << " Symbol '" << Name
342 << " triple = '" << ProcessTriple << "'\n"
include/llvm/ExecutionEngine/Orc/Speculation.h 105 llvm::dbgs() << "\n In " << I.first->getName() << " JITDylib ";
include/llvm/IR/PassManager.h 865 dbgs() << "Invalidating all non-preserved analyses for: " << IR.getName()
910 << " on " << IR.getName() << "\n";
951 dbgs() << "Running analysis: " << P.name() << " on " << IR.getName()
992 << " on " << IR.getName() << "\n";
include/llvm/IR/RemarkStreamer.h 72 void log(raw_ostream &OS) const override { OS << Msg; }
include/llvm/MCA/Support.h 35 void log(raw_ostream &OS) const override { OS << Message; }
include/llvm/ProfileData/Coverage/CoverageMapping.h 74 void log(raw_ostream &OS) const override { OS << message(); }
include/llvm/ProfileData/InstrProf.h 309 void log(raw_ostream &OS) const override { OS << message(); }
include/llvm/Support/Error.h 1107 void log(raw_ostream &OS) const override { OS << EC.message(); }
1229 OS << "'" << FileName << "': ";
include/llvm/Support/FormatVariadicDetails.h 83 << std::declval<U>()),
include/llvm/Support/GraphWriter.h 100 O << "<s" << i << ">" << DOT::EscapeString(label);
132 O << "digraph \"" << DOT::EscapeString(Title) << "\" {\n";
134 O << "digraph \"" << DOT::EscapeString(GraphName) << "\" {\n";
142 O << "\tlabel=\"" << DOT::EscapeString(Title) << "\";\n";
144 O << "\tlabel=\"" << DOT::EscapeString(GraphName) << "\";\n";
145 O << DTraits.getGraphProperties(G);
169 if (!NodeAttributes.empty()) O << NodeAttributes << ",";
173 O << DOT::EscapeString(DTraits.getNodeLabel(Node, G));
178 O << "|" << DOT::EscapeString(Id);
182 O << "|" << DOT::EscapeString(NodeDesc);
192 O << "{" << EdgeSourceLabels.str() << "}";
198 O << DOT::EscapeString(DTraits.getNodeLabel(Node, G));
203 O << "|" << DOT::EscapeString(Id);
207 O << "|" << DOT::EscapeString(NodeDesc);
217 << DOT::EscapeString(DTraits.getEdgeDestLabel(Node, i));
265 O << Attr << ",";
268 O << DOT::EscapeString(Label);
275 if (EdgeSourceLabels) O << DOT::EscapeString((*EdgeSourceLabels)[i]);
297 O << "[" << Attrs << "]";
352 errs() << "error opening file '" << Filename << "' for writing!\n";
include/llvm/Support/SymbolRemappingReader.h 75 OS << File << ':' << Line << ": " << Message;
75 OS << File << ':' << Line << ": " << Message;
include/llvm/Support/WithColor.h 71 OS << O;
include/llvm/TableGen/Record.h 79 void print(raw_ostream &OS) const { OS << getAsString(); }
359 void print(raw_ostream &OS) const { OS << getAsString(); }
1268 llvm::errs() << "In Record = " << Rec->getAsString()
lib/Analysis/AliasAnalysisEvaluator.cpp 55 errs() << " " << AR << ":\t" << o1 << ", " << o2 << "\n";
55 errs() << " " << AR << ":\t" << o1 << ", " << o2 << "\n";
lib/Analysis/Analysis.cpp 108 *DebugOS << MsgsOS.str();
lib/Analysis/BlockFrequencyInfoImpl.cpp 309 dbgs() << ", succ = " << getBlockName(Succ);
311 dbgs() << ", resolved = " << getBlockName(Resolved);
367 LLVM_DEBUG(dbgs() << "compute-loop-scale: " << getLoopName(Loop) << "\n");
401 LLVM_DEBUG(dbgs() << "packaging-loop: " << getLoopName(Loop) << "\n");
407 LLVM_DEBUG(dbgs() << " - node: " << getBlockName(M.Index) << "\n");
420 dbgs() << " to " << BFI.getBlockName(T);
489 LLVM_DEBUG(dbgs() << " - " << BFI.getBlockName(Index) << ": float = "
500 LLVM_DEBUG(dbgs() << "unwrap-loop-package: " << BFI.getLoopName(Loop)
515 LLVM_DEBUG(dbgs() << " - " << BFI.getBlockName(N) << ": " << F << " => "
703 LLVM_DEBUG(dbgs() << " => entry = " << BFI.getBlockName(Irr.Node)
735 LLVM_DEBUG(dbgs() << " => extra = " << BFI.getBlockName(Irr.Node)
745 LLVM_DEBUG(dbgs() << " => other = " << BFI.getBlockName(Irr.Node) << "\n");
822 << getBlockName(HeaderNode) << ": " << BackedgeMass
lib/Analysis/CFGPrinter.cpp 99 errs() << "Writing '" << Filename << "'...";
lib/Analysis/CallGraphSCCPass.cpp 638 OS << Banner;
lib/Analysis/LazyCallGraph.cpp 155 LLVM_DEBUG(dbgs() << "Building CG for module: " << M.getModuleIdentifier()
1774 OS << "Printing the call graph for module: " << M.getModuleIdentifier()
1794 OS << " " << Name << " -> \""
1795 << DOT::EscapeString(E.getFunction().getName()) << "\"";
1808 OS << "digraph \"" << DOT::EscapeString(M.getModuleIdentifier()) << "\" {\n";
lib/Analysis/Lint.cpp 210 dbgs() << MessagesStr.str();
lib/Analysis/LoopAccessAnalysis.cpp 2372 OS.indent(Depth) << "Report: " << Report->getMsg() << "\n";
lib/Analysis/LoopInfo.cpp 940 OS << Banner << " (loop: ";
949 OS << Banner;
lib/Analysis/RegionPass.cpp 196 Out << Banner;
lib/BinaryFormat/MsgPackDocumentYAML.cpp 178 OS << S.toString();
lib/Bitcode/Reader/BitcodeAnalyzer.cpp 739 O->OS << Indent << "<BLOCKINFO_BLOCK/>\n";
765 O->OS << Indent << "<";
803 O->OS << Indent << "</";
858 O->OS << Indent << " <";
948 O->OS << " record string = '" << Str << "'";
lib/CodeGen/AsmPrinter/DIE.cpp 238 O << Indent;
249 O << Indent << "Die: " << format("0x%lx", (long)(intptr_t) this)
252 O << Indent << dwarf::TagString(getTag()) << " "
257 O << Indent;
lib/CodeGen/CallingConvLower.cpp 136 << EVT(ArgVT).getEVTString() << '\n';
154 << EVT(ArgVT).getEVTString() << '\n';
171 << EVT(VT).getEVTString() << '\n';
183 << EVT(VT).getEVTString() << '\n';
216 dbgs() << "Call has unhandled type " << EVT(VT).getEVTString()
lib/CodeGen/DFAPacketizer.cpp 216 dbgs() << " * [res:0x" << utohexstr(R) << "] " << *MI;
lib/CodeGen/GlobalISel/CallLowering.cpp 388 LLVM_DEBUG(dbgs() << "Cannot analyze " << EVT(VT).getEVTString()
lib/CodeGen/GlobalISel/GISelKnownBits.cpp 369 << (Known.Zero | Known.One).toString(16, false) << "\n"
371 << Known.Zero.toString(16, false) << "\n"
373 << Known.One.toString(16, false) << "\n");
lib/CodeGen/LexicalScopes.cpp 330 err << std::string(Indent, ' ') << "Abstract Scope\n";
333 err << std::string(Indent + 2, ' ') << "Children ...\n";
lib/CodeGen/MIRPrinter.cpp 619 OS << (Twine("%ir-block.") + Twine(Slot)).str();
862 OS << StringRef(TRI->getRegMaskNames()[RegMaskInfo->second]).lower();
lib/CodeGen/MIRPrintingPass.cpp 52 OS << MachineFunctions;
lib/CodeGen/MachineBasicBlock.cpp 315 OS << (Twine("%ir-block.") + Twine(Slot)).str();
lib/CodeGen/MachineBlockPlacement.cpp 659 LLVM_DEBUG(dbgs() << " " << getBlockName(Succ)
1046 dbgs() << " Selected: " << getBlockName(Succ2)
1061 dbgs() << " Selected: " << getBlockName(TrellisSucc)
1242 LLVM_DEBUG(dbgs() << "Marking edge: " << getBlockName(src) << "->"
1243 << getBlockName(dst)
1450 LLVM_DEBUG(dbgs() << " Not a candidate: " << getBlockName(Succ) << " -> "
1481 LLVM_DEBUG(dbgs() << "Selecting best successor for: " << getBlockName(BB)
1524 dbgs() << " Candidate: " << getBlockName(Succ)
1556 LLVM_DEBUG(dbgs() << " Candidate: " << getBlockName(Succ)
1566 LLVM_DEBUG(dbgs() << " Selected: " << getBlockName(BestSucc.BB) << "\n");
1612 LLVM_DEBUG(dbgs() << " " << getBlockName(MBB) << " -> ";
1759 LLVM_DEBUG(dbgs() << "Merging from " << getBlockName(BB) << " to "
1760 << getBlockName(BestSucc) << "\n");
1767 << getBlockName(*Chain.begin()) << "\n");
1963 LLVM_DEBUG(dbgs() << "Finding best loop top for: " << getBlockName(OldTop)
1973 LLVM_DEBUG(dbgs() << " old top pred: " << getBlockName(Pred) << ", has "
2010 LLVM_DEBUG(dbgs() << " final top: " << getBlockName(BestPred) << "\n");
2072 << getBlockName(L.getHeader()) << "\n");
2095 LLVM_DEBUG(dbgs() << " exiting: " << getBlockName(MBB) << " -> "
2096 << getBlockName(Succ) << " (chain conflict)\n");
2102 LLVM_DEBUG(dbgs() << " looping: " << getBlockName(MBB) << " -> "
2103 << getBlockName(Succ) << " (" << SuccProb << ")\n");
2116 LLVM_DEBUG(dbgs() << " exiting: " << getBlockName(MBB) << " -> "
2117 << getBlockName(Succ) << " [L:" << SuccLoopDepth
2159 LLVM_DEBUG(dbgs() << " Best exiting block: " << getBlockName(ExitingBB)
2270 LLVM_DEBUG(dbgs() << "Rotating loop to put exit " << getBlockName(ExitingBB)
2406 << getBlockName(*Iter)
2416 LLVM_DEBUG(dbgs() << "Rotate loop by making " << getBlockName(*RotationPos)
2526 << " Loop header: " << getBlockName(*L.block_begin()) << "\n"
2527 << " Chain header: " << getBlockName(*LoopChain.begin()) << "\n";
2530 dbgs() << " ... " << getBlockName(ChainBB) << "\n";
2536 << " Loop header: " << getBlockName(*L.block_begin()) << "\n"
2537 << " Chain header: " << getBlockName(*LoopChain.begin()) << "\n"
2538 << " Bad block: " << getBlockName(ChainBB) << "\n";
2546 << " Loop header: " << getBlockName(*L.block_begin()) << "\n"
2547 << " Chain header: " << getBlockName(*LoopChain.begin()) << "\n"
2548 << " Bad block: " << getBlockName(LoopBB) << "\n";
2580 << getBlockName(BB) << " -> " << getBlockName(NextBB)
2580 << getBlockName(BB) << " -> " << getBlockName(NextBB)
2622 << " Bad block: " << getBlockName(ChainBB) << "\n";
2629 << " Bad block: " << getBlockName(RemainingBB) << "\n";
2640 << getBlockName(ChainBB) << "\n");
2726 << getBlockName(ChainBB) << "\n");
2944 << getBlockName(RemBB) << "\n");
lib/CodeGen/MachineFunctionPrinterPass.cpp 48 OS << "# " << Banner << ":\n";
lib/CodeGen/MachineOperand.cpp 928 OS << "intrinsic(@" << Intrinsic::getName(ID, None) << ')';
930 OS << "intrinsic(@" << IntrinsicInfo->getName(ID) << ')';
lib/CodeGen/MachineScheduler.cpp 597 dbgs() << "Queue " << Name << ": ";
lib/CodeGen/ModuloSchedule.cpp 1902 errs() << ScheduleDump;
lib/CodeGen/RegAllocPBQP.cpp 853 << GraphFileName << "\"\n");
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp 235 LLVM_DEBUG(dbgs() << "Analyzing result type: " << ResultVT.getEVTString()
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp 506 OS << getValueType(i).getEVTString();
639 OS << ":" << N->getVT().getEVTString();
654 OS << " from " << LD->getMemoryVT().getEVTString();
666 OS << ", trunc to " << ST->getMemoryVT().getEVTString();
686 OS << " from " << MLd->getMemoryVT().getEVTString();
697 OS << ", trunc to " << MSt->getMemoryVT().getEVTString();
846 OS << " = " << getOperationName(G);
856 OS << Value->getOperationName(G) << ':';
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 805 << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
825 << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
847 << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
871 << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
884 << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
895 << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
910 << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
935 << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
955 << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
974 << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
3129 LLVM_DEBUG(dbgs() << " TypeSwitch[" << EVT(CurNodeVT).getEVTString()
3656 Msg << "intrinsic %" << Intrinsic::getName((Intrinsic::ID)iid, None);
3658 Msg << "target intrinsic %" << TII->getName(iid);
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp 283 O << DOTGraphTraits<SelectionDAG*>
lib/CodeGen/TargetRegisterInfo.cpp 157 OS << StringRef(TRI->getRegClassName(RegInfo.getRegClass(Reg))).lower();
159 OS << StringRef(RegInfo.getRegBankOrNull(Reg)->getName()).lower();
lib/DebugInfo/DWARF/DWARFContext.cpp 252 WithColor::error() << toString(std::move(Err)) << '\n';
275 WithColor::error() << toString(std::move(Err)) << '\n';
297 WithColor::error() << toString(std::move(E)) << '\n';
522 WithColor::error() << toString(std::move(E)) << '\n';
1354 WithColor::error() << toString(std::move(E)) << '\n';
1864 WithColor::warning() << Info.message() << '\n';
lib/DebugInfo/DWARF/DWARFDebugAranges.cpp 58 WithColor::error() << toString(CURanges.takeError()) << '\n';
lib/DebugInfo/DWARF/DWARFDie.cpp 328 OS << Space << "\"" << Name << '\"';
330 OS << Space << "\"";
352 << toString(RangesOrError.takeError()) << '\n';
lib/DebugInfo/DWARF/DWARFUnit.cpp 408 WithColor::error() << toString(std::move(e));
535 << toString(TableOrError.takeError())
lib/DebugInfo/DWARF/DWARFVerifier.cpp 826 error() << toString(std::move(E)) << '\n';
1431 error() << toString(std::move(E)) << '\n';
lib/DebugInfo/PDB/IPDBSourceFile.cpp 33 OS << "] " << getFileName() << "\n";
lib/DebugInfo/Symbolize/DIPrinter.cpp 71 OS << Prefix << FunctionName << Delimiter;
79 OS << Filename << ":" << Info.Line;
86 OS << " Filename: " << Filename << "\n";
115 OS << Name << "\n";
121 OS << Local.FunctionName << '\n';
122 OS << Local.Name << '\n';
126 OS << Local.DeclFile;
lib/ExecutionEngine/JITLink/JITLink.cpp 53 void JITLinkError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; }
lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp 39 dbgs() << "Link graph \"" << G->getName() << "\" pre-pruning:\n";
46 dbgs() << "Link graph \"" << G->getName() << "\" post-pruning:\n";
98 dbgs() << "Link graph \"" << G->getName() << "\" before copy-and-fixup:\n";
107 dbgs() << "Link graph \"" << G->getName() << "\" after copy-and-fixup:\n";
lib/ExecutionEngine/Orc/Core.cpp 212 OS << " (\"" << JDs.front().first->getName() << "\", "
216 OS << ", (\"" << KV.first->getName() << "\", "
377 dbgs() << "In " << JD.getName() << " resolving " << Symbols << "\n";
396 dbgs() << "In " << JD.getName() << " emitting " << SymbolFlags << "\n";
421 dbgs() << "In " << JD.getName() << " failing materialization for "
440 dbgs() << "In " << JD.getName() << " replacing symbols with " << *MU
546 dbgs() << "materializing reexports: target = " << TgtJD.getName()
547 << ", source = " << SrcJD.getName() << " " << RequestedAliases
1643 OS << "JITDylib \"" << JITDylibName << "\" (ES: "
1647 OS << " (\"" << KV.first->getName() << "\", "
1682 OS << " " << KV2.first->getName() << ": " << KV2.second << "\n";
1685 OS << " " << KV2.first->getName() << ": " << KV2.second << "\n";
lib/ExecutionEngine/Orc/Layer.cpp 61 dbgs() << "In " << JD.getName() << " discarding " << *Name << " from MU@"
97 [&]() { dbgs() << "Emitting, for " << N << ", " << *this << "\n"; }););
100 dbgs() << "Finished emitting, for " << N << ", " << *this << "\n";
lib/ExecutionEngine/Orc/OrcError.cpp 90 OS << "Duplicate definition of symbol '" << SymbolName << "'";
107 OS << "Could not find symbol '" << SymbolName << "'";
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h 282 dbgs() << "Found dtor: " << NewDtorName << "\n";
lib/ExecutionEngine/Orc/RPCUtils.cpp 48 OS << "Could not negotiate RPC function " << Signature;
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp 61 OS << ErrMsg << "\n";
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp 149 << "': " << R.getErrorMsg() << "\n";
lib/FuzzMutate/FuzzerCLI.cpp 63 errs() << " " << Args[I];
127 errs() << " " << Args[I];
158 errs() << "Error reading file: " << Arg << ": " << EC.message() << "\n";
183 errs() << toString(std::move(E)) << "\n";
lib/IR/AsmWriter.cpp 2532 Out << ' ' << Attrs.getAsString();
2585 Out << "; ModuleID = '" << M->getModuleIdentifier() << "'\n";
2595 Out << "target datalayout = \"" << DL << "\"\n";
2597 Out << "target triple = \"" << M->getTargetTriple() << "\"\n";
2720 << " = typeid: (name: \"" << TidIter->second.first << "\"";
2729 << " = typeidCompatibleVTable: (name: \"" << TId.first << "\"";
2843 Out << ", singleImplName: \"" << WPDRes.SingleImplName << "\"";
3085 Out << "linkage: " << getLinkageName(LT);
3272 Out << getLinkageNameWithSpace(GV->getLinkage());
3325 Out << getLinkageNameWithSpace(GIS->getLinkage());
3420 Out << "; Function Attrs: " << AttrStr << '\n';
3434 Out << getLinkageNameWithSpace(F->getLinkage());
3447 Out << Attrs.getAsString(AttributeList::ReturnIndex) << ' ';
3465 Out << ' ' << ArgAttrs.getAsString();
3509 Out << " gc \"" << F->getGC() << '"';
3552 Out << ' ' << Attrs.getAsString();
3852 Out << ' ' << PAL.getAsString(AttributeList::ReturnIndex);
3897 Out << ' ' << PAL.getAsString(AttributeList::ReturnIndex);
3940 Out << ' ' << PAL.getAsString(AttributeList::ReturnIndex);
4140 << I.first.getAsString(true) << " }\n";
lib/IR/Attributes.cpp 711 dbgs() << getAsString(true) << " }\n";
1413 dbgs() << " { " << i << " => " << getAsString(i) << " }\n";
lib/IR/DiagnosticInfo.cpp 336 OS << getLocationStr() << ": in function " << getFunction().getName() << ' '
369 OS << Arg.Val;
lib/IR/DiagnosticPrinter.cpp 49 Stream << Str;
105 Stream << M.getModuleIdentifier();
lib/IR/IRPrintingPasses.cpp 31 OS << Banner << "\n";
39 OS << Banner << "\n";
57 OS << Banner << " (function: " << F.getName() << ")\n" << *F.getParent();
59 OS << Banner << static_cast<Value &>(F);
123 Out << Banner << BB;
lib/IR/LegacyPassManager.cpp 296 OS << " on module '" << M->getModuleIdentifier() << "'.\n";
1214 dbgs() << "--" << std::string(Offset*2, ' ');
1237 << std::string(getDepth() * 2 + 1, ' ');
1307 dbgs() << (const void*)P << std::string(getDepth()*2+3, ' ') << Msg << " Analyses:";
lib/IR/Mangler.cpp 200 OS << Flag.substr(1);
202 OS << Flag;
lib/IR/ModuleSummaryIndex.cpp 203 O << "SCC (" << utostr(I->size()) << " node" << (I->size() == 1 ? "" : "s")
209 O << " " << (F == nullptr ? "External" : "") << " " << utostr(V.getGUID())
344 OS << " " << StrId << " [label=\"";
347 OS << getNodeVisualName(VI);
349 OS << getNodeVisualName(Id);
403 OS << Pfx << NodeId(SrcMod, SrcId) << " -> " << NodeId(DstMod, DstId)
403 OS << Pfx << NodeId(SrcMod, SrcId) << " -> " << NodeId(DstMod, DstId)
411 OS << " subgraph cluster_" << std::to_string(ModId) << " {\n";
454 OS << " " << NodeId(ModId, SummaryIt.first) << " " << A.getAsString()
454 OS << " " << NodeId(ModId, SummaryIt.first) << " " << A.getAsString()
lib/IR/Verifier.cpp 139 *OS << "; ModuleID = '" << M->getModuleIdentifier() << "'\n";
lib/LTO/Caching.cpp 140 errs() << "Error: " << toString(Temp.takeError()) << "\n";
lib/LTO/LTO.cpp 1185 << "': " << EC.message() << '\n';
1219 *LinkedObjectsFile << NewModulePath << '\n';
lib/LTO/LTOCodeGenerator.cpp 532 errs() << "Error: " << toString(DiagFileOrErr.takeError()) << "\n";
540 errs() << "Error: " << toString(StatsFileOrErr.takeError()) << "\n";
lib/LTO/ThinLTOCodeGenerator.cpp 388 errs() << "Error: " << ErrorMsgBuffer << "\n";
1081 errs() << "Error: " << toString(DiagFileOrErr.takeError()) << "\n";
1117 << "': " << EC.message() << "\n";
lib/LineEditor/LineEditor.cpp 176 OS << *I << "\n";
182 OS << Data->LE->getPrompt()
lib/Linker/IRMover.cpp 1313 << "' from " << SrcM->getModuleIdentifier() << " with '"
1314 << *DstOp->getOperand(2) << "' from " << DstM.getModuleIdentifier()
lib/MC/MCAsmStreamer.cpp 505 OS << "\t.linker_option \"" << Options[0] << '"';
508 OS << ", " << '"' << *it << '"';
lib/MC/MCParser/AsmParser.cpp 2503 OS << altMacroString(Token.getStringContents());
lib/MC/MachObjectWriter.cpp 443 W.OS << Option << '\0';
lib/MC/SubtargetFeature.cpp 58 OS << F << " ";
lib/MC/WasmObjectWriter.cpp 153 Out << wasm::relocTypetoString(Type) << " Off=" << Offset
1292 dbgs() << "MCSymbol: " << toString(WS.getType()) << " '" << S << "'"
lib/Object/ArchiveWriter.cpp 622 Out << M.Header << M.Data << M.Padding;
lib/Object/Error.cpp 71 OS << Msg;
lib/Object/ModuleSymbolTable.cpp 173 OS << S.get<AsmSymbol *>()->first;
lib/Object/WasmObjectFile.cpp 41 << ", Kind=" << toString(wasm::WasmSymbolType(Info.Kind))
lib/Object/WindowsResource.cpp 193 OS << '\"' << UTF8 << '\"';
202 OS << '\"' << UTF8 << '\"';
219 OS << '\"' << UTF8 << '\"';
lib/ObjectYAML/CodeViewYAMLDebugSections.cpp 255 Out << toHex(Bytes);
lib/ObjectYAML/MachOEmitter.cpp 350 OS << Entry.ImportName;
360 OS << EE.Name;
lib/ObjectYAML/MinidumpEmitter.cpp 200 OS << std::string(Raw.Size - Raw.Content.binary_size(), '\0');
lib/ObjectYAML/MinidumpYAML.cpp 181 OS << toHex(makeArrayRef(Fixed.Storage));
lib/ObjectYAML/WasmEmitter.cpp 81 OS << OutString;
485 OS << OutString;
600 OS << OutString;
618 OS << OutString;
lib/Option/OptTable.cpp 504 OS.indent(InitialPad) << Option;
lib/ProfileData/Coverage/CoverageMapping.cpp 714 LLVM_DEBUG(dbgs() << "Emitting segments for function: " << Function.Name
lib/ProfileData/GCOV.cpp 624 errs() << Filename << ": " << EC.message() << "\n";
711 errs() << EC.message() << "\n";
937 OS << Coverage.Name << ":creating '" << Filename << "'\n";
lib/ProfileData/InstrProf.cpp 1218 OS << "Profile overlap infomation for base_profile: " << *BaseFilename
1219 << " and test_profile: " << *TestFilename << "\nProgram level:\n";
lib/ProfileData/SampleProf.cpp 228 OS << OutputString;
lib/ProfileData/SampleProfReader.cpp 799 OS << getSecName(Entry.Type) << " - Offset: " << Entry.Offset
lib/Remarks/YAMLRemarkParser.h 40 void log(raw_ostream &OS) const override { OS << Message; }
lib/Support/BinaryStreamError.cpp 49 void BinaryStreamError::log(raw_ostream &OS) const { OS << ErrMsg; }
lib/Support/CachePruning.cpp 225 LLVM_DEBUG(dbgs() << "Ignore " << File->path() << " (can't stat)\n");
233 LLVM_DEBUG(dbgs() << "Remove " << File->path() << " ("
254 LLVM_DEBUG(dbgs() << " - Remove " << FileInfo->Path << " (size "
lib/Support/CommandLine.cpp 168 errs() << ProgramName << ": CommandLine Error: Option '" << Name
203 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr
319 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr
1341 *Errs << ProgramName << ": CommandLine Error: Option '" << Opt->ArgStr
1444 *Errs << ProgramName << ": Unknown command line argument '" << argv[i]
1449 *Errs << ProgramName << ": Did you mean '"
1480 *Errs << ProgramName
1489 *Errs << ProgramName << ": Too many positional arguments specified!\n"
1604 Errs << GlobalParser->ProgramName << ": for the " << PrintArg(ArgName);
1984 outs() << D.getValue();
2106 outs() << "USAGE: " << GlobalParser->ProgramName;
2115 outs() << "USAGE: " << GlobalParser->ProgramName << " " << Sub->getName()
2139 outs() << " Type \"" << GlobalParser->ProgramName
2394 << " Default target: " << sys::getDefaultTargetTriple() << '\n'
2395 << " Host CPU: " << CPU;
lib/Support/DebugCounter.cpp 39 outs() << " =" << Info.first;
40 outs().indent(NumSpaces) << " - " << Info.second << '\n';
74 errs() << "DebugCounter Error: " << Val << " does not have an = in it\n";
lib/Support/Error.cpp 123 OS << Msg;
125 OS << EC.message();
127 OS << (" " + Msg);
lib/Support/FileCheck.cpp 1275 errs() << "\'" << *I << ":'";
1279 errs() << ", \'" << *I << ":'";
lib/Support/GraphWriter.cpp 84 errs() << "Error: " << EC.message() << "\n";
98 errs() << "Error: " << ErrMsg << "\n";
242 errs() << "Running '" << GeneratorPath << "' program... ";
296 errs() << S.LogBuffer << "\n";
lib/Support/Host.cpp 61 << "/proc/cpuinfo: " << EC.message() << "\n";
1240 << "/proc/cpuinfo: " << EC.message() << "\n";
lib/Support/LockFileManager.cpp 275 OSS << ": " << ErrCodeMsg;
lib/Support/PluginLoader.cpp 29 errs() << "Error opening '" << Filename << "': " << Error
29 errs() << "Error opening '" << Filename << "': " << Error
lib/Support/ScaledNumber.cpp 317 return OS << toString(D, E, Width, Precision);
lib/Support/ScopedPrinter.cpp 11 OS << "0x" << to_hexString(Value.Value);
lib/Support/Statistic.cpp 185 OS << "===" << std::string(73, '-') << "===\n"
187 << "===" << std::string(73, '-') << "===\n\n";
lib/Support/TarWriter.cpp 114 OS << PaxAttr;
197 OS << std::string(BlockSize * 2, '\0');
lib/Support/Timer.cpp 76 << OutputFilename << " for appending!\n";
310 OS << "===" << std::string(73, '-') << "===\n";
314 OS.indent(Padding) << Description << '\n';
315 OS << "===" << std::string(73, '-') << "===\n";
340 OS << Record.Description << '\n';
406 OS << "\t\"time." << Name << '.' << R.Name << suffix
406 OS << "\t\"time." << Name << '.' << R.Name << suffix
lib/Support/Twine.cpp 69 OS << *Ptr.stdString;
lib/Support/VirtualFileSystem.cpp 1933 OS.indent(Indent + 2) << "'name': \"" << llvm::yaml::escape(Name) << "\",\n";
1949 OS.indent(Indent + 2) << "'name': \"" << llvm::yaml::escape(VPath) << "\",\n";
1951 << llvm::yaml::escape(RPath) << "\"\n";
lib/Support/YAMLTraits.cpp 881 Out << Val;
lib/TableGen/Main.cpp 74 DepOut.os() << OutputFilename << ":";
76 DepOut.os() << ' ' << Dep.first;
134 OutFile.os() << Out.str();
lib/TableGen/Record.cpp 2024 OS << *getType() << " " << getNameInitAsString();
2126 OS << R.getNameInitAsString();
2147 OS << " " << SuperPair.first->getNameInitAsString();
lib/TableGen/StringMatcher.cpp 64 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n";
64 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n";
69 OS << Indent << Split.first << "\n";
92 OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '"
94 OS << Indent << " break;\n";
98 OS << Indent << "if (memcmp(" << StrVariableName << ".data()+" << CharNo
99 << ", \"" << Matches[0]->first.substr(CharNo, NumChars) << "\", "
101 OS << Indent << " break;\n";
110 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n";
111 OS << Indent << "default: break;\n";
116 OS << Indent << "case '" << LI->first << "':\t // "
122 OS << Indent << " break;\n";
125 OS << Indent << "}\n";
lib/TableGen/TGParser.cpp 3226 errs() << "foreach " << IterVar->getAsString() << " = "
3227 << ListValue->getAsString() << " in {\n";
lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp 481 LLVM_DEBUG(dbgs() << " - " << G->str()
533 LLVM_DEBUG(dbgs() << " - colorChain(" << G->str() << ", "
lib/Target/AArch64/AArch64ISelLowering.cpp 5740 LLVM_DEBUG(dbgs() << (IsLegal ? "Legal " : "Illegal ") << VT.getEVTString()
lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp 860 O << '\t' << Str;
1411 O << AArch64SysReg::genericRegisterString(Val);
1431 O << AArch64SysReg::genericRegisterString(Val);
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp 65 << "Produced output: " << ToHSAMetadataString << '\n';
511 << "Produced output: " << StrOS.str() << '\n';
lib/Target/AMDGPU/AMDGPULibFunc.cpp 714 OS << Pfx << Name;
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp 283 LLVM_DEBUG(dbgs() << "Printf format string in source = " << Str.str()
333 LLVM_DEBUG(dbgs() << "Printf metadata = " << Sizes.str() << '\n');
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp 293 << getFeatureString(NewFeatures & TargetFeatures)
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp 169 OS << S;
229 OS << HSAMetadataString << '\n';
245 OS << StrOS.str() << '\n';
lib/Target/ARC/MCTargetDesc/ARCInstPrinter.cpp 97 OS << StringRef(getRegisterName(RegNo)).lower();
lib/Target/ARM/ARMConstantPoolValue.cpp 255 O << S;
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp 191 OS << "\t.cpu\t" << String.lower();
lib/Target/ARM/MCTargetDesc/ARMInstPrinter.cpp 955 O << Name;
lib/Target/BPF/BPFISelLowering.cpp 234 << RegVT.getEVTString() << '\n';
lib/Target/Hexagon/HexagonISelLowering.cpp 2200 dbgs() << "VecTy: " << EVT(VecTy).getEVTString() << '\n';
lib/Target/Hexagon/HexagonMachineScheduler.cpp 510 dbgs() << dbgstr.str();
606 dbgs() << dbgstr.str();
626 dbgs() << dbgstr.str();
661 dbgs() << dbgstr.str();
753 dbgs() << dbgstr.str();
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp 1773 dbgs() << " * [res:0x" << utohexstr(R) << "] " << *MI;
lib/Target/Lanai/LanaiISelLowering.cpp 485 << RegVT.getEVTString() << "\n");
496 << EVT(VA.getLocVT()).getEVTString() << "\n";
lib/Target/Lanai/MCTargetDesc/LanaiInstPrinter.cpp 35 OS << StringRef(getRegisterName(RegNo)).lower();
lib/Target/MSP430/MSP430ISelLowering.cpp 633 << RegVT.getEVTString() << "\n";
673 << EVT(VA.getLocVT()).getEVTString()
lib/Target/Mips/MCTargetDesc/MipsInstPrinter.cpp 75 OS << '$' << StringRef(getRegisterName(RegNo)).lower();
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp 542 << StringRef(MipsInstPrinter::getRegisterName(StackReg)).lower() << ","
544 << StringRef(MipsInstPrinter::getRegisterName(ReturnReg)).lower() << '\n';
690 << StringRef(MipsInstPrinter::getRegisterName(RegNo)).lower() << "\n";
696 << StringRef(MipsInstPrinter::getRegisterName(RegNo)).lower() << "\n";
713 << StringRef(MipsInstPrinter::getRegisterName(RegNo)).lower() << ", ";
717 << StringRef(MipsInstPrinter::getRegisterName(RegOrOffset)).lower();
lib/Target/Mips/MipsAsmPrinter.cpp 685 << StringRef(MipsInstPrinter::getRegisterName(MO.getReg())).lower();
lib/Target/Mips/MipsFastISel.cpp 1368 << ArgVT.getEVTString() << "\n");
lib/Target/Mips/MipsOs16.cpp 114 << Mips32FunctionMask << "\n");
116 LLVM_DEBUG(dbgs() << "using mask \n" << Mips32FunctionMask << "\n");
lib/Target/NVPTX/NVPTXAsmPrinter.cpp 592 NameStr << getNVPTXRegClassStr(RC) << MappedVR;
600 O << getVirtualRegisterName(vr);
855 O << STI.getTargetName();
1027 O << ".global .texref " << getTextureName(*GVar) << ";\n";
1032 O << ".global .surfref " << getSurfaceName(*GVar) << ";\n";
1046 O << ".global .samplerref " << getSamplerName(*GVar);
1149 O << getPTXFundamentalTypeStr(ETy, false);
1346 O << getPTXFundamentalTypeStr(ETy);
1523 O << getPTXFundamentalTypeStr(Ty);
1682 O << "\t.reg " << rcname << " \t" << rcStr << "<" << (n+1)
1682 O << "\t.reg " << rcname << " \t" << rcStr << "<" << (n+1)
lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp 59 OS << RN;
lib/Target/PowerPC/PPCCTRLoops.cpp 155 LLVM_DEBUG(dbgs() << printMBBReference(*MBB) << " (" << MBB->getFullName()
159 << BI->getParent()->getFullName() << ") instruction "
176 << BI->getParent()->getFullName() << ") instruction "
lib/Target/PowerPC/PPCISelLowering.cpp 5475 << EVT(ArgVT).getEVTString() << "\n";
lib/Target/RISCV/RISCVISelLowering.cpp 1638 << EVT(ArgVT).getEVTString() << '\n');
1659 << EVT(ArgVT).getEVTString() << "\n");
lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp 43 OS << '%' << StringRef(getRegisterName(RegNo)).lower();
lib/Target/Sparc/MCTargetDesc/SparcTargetStreamer.cpp 30 << "%" << StringRef(SparcInstPrinter::getRegisterName(reg)).lower()
36 << "%" << StringRef(SparcInstPrinter::getRegisterName(reg)).lower()
lib/Target/Sparc/SparcAsmPrinter.cpp 351 O << "%" << StringRef(getRegisterName(MO.getReg())).lower();
lib/Target/SystemZ/SystemZHazardRecognizer.cpp 188 OS << "/" << FU;
209 dbgs() << "++ " << Msg;
215 dbgs() << "{ " << CurGroupDbg << " }";
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp 232 O << ::toString(APFloat(float(Op.getFPImm())));
235 O << ::toString(APFloat(Op.getFPImm()));
245 O << WebAssembly::signatureToString(Sym.getSignature());
284 O << WebAssembly::signatureToString(Sym->getSignature());
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.cpp 66 OS << WebAssembly::signatureToString(Sym->getSignature());
81 OS << WebAssembly::typeListToString(Sym->getSignature()->Params);
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp 384 OS << regToString(MO);
lib/Target/X86/X86MCInstLower.cpp 2287 CS << "0x" << CF->getValueAPF().bitcastToAPInt().toString(16, false);
lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.cpp 30 OS << StringRef(getRegisterName(RegNo)).lower();
lib/Target/XCore/XCoreAsmPrinter.cpp 193 O << "\t" << directive << " ";
lib/Target/XCore/XCoreISelLowering.cpp 1307 << RegVT.getEVTString() << "\n";
1324 << EVT(VA.getLocVT()).getEVTString()
lib/TextAPI/ELF/TBEHandler.cpp 76 Out << Value.getAsString();
lib/TextAPI/MachO/ArchitectureSet.cpp 61 void ArchitectureSet::print(raw_ostream &os) const { os << std::string(*this); }
lib/TextAPI/MachO/Symbol.cpp 44 OS << Result;
lib/TextAPI/MachO/Target.cpp 56 OS << std::string(Target);
lib/TextAPI/MachO/TextStubCommon.cpp 207 OS << Value.first << ": " << Value.second;
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp 61 llvm::errs() << "cannot open file " << Path << ": " << EC.message() << "\n";
104 llvm::errs() << "ignoring unknown argument: " << Arg->getAsString(Args)
136 << errorToErrorCode(Def.takeError()).message();
lib/ToolDrivers/llvm-lib/LibDriver.cpp 108 llvm::errs() << "error opening '" << File << "': " << EIB.message() << '\n';
150 << ": failed to open: " << EC.message() << '\n';
186 << ": unknown arch in target triple " << *TripleStr << '\n';
216 llvm::errs() << MB.getBufferIdentifier() << ": " << EIB.message()
255 << machineToStr(LibMachine) << LibMachineSource << '\n';
286 llvm::errs() << "ignoring unknown argument: " << Arg->getAsString(Args)
373 llvm::errs() << OutputPath << ": " << EI.message() << "\n";
373 llvm::errs() << OutputPath << ": " << EI.message() << "\n";
lib/Transforms/IPO/Attributor.cpp 555 LLVM_DEBUG(dbgs() << "[Attributor] RV: " << RV << " AA: " << AA.getAsStr()
634 << " AA: " << AA.getAsStr() << " @" << ACSArgPos << "\n");
4912 OS << "[P: " << getIRPosition() << "][" << getAsStr() << "][S: " << getState()
lib/Transforms/IPO/DeadArgumentElimination.cpp 704 << RA.getDescription() << " live\n");
lib/Transforms/IPO/FunctionImport.cpp 151 LLVM_DEBUG(dbgs() << "Loading '" << FileName << "'\n");
906 ImportsOS << ILI.first << "\n";
1079 << DestModule.getModuleIdentifier() << "\n");
1114 << SrcModule->getSourceFileName() << "\n");
1136 << SrcModule->getSourceFileName() << "\n");
1150 << SrcModule->getSourceFileName() << "\n");
1161 << SrcModule->getSourceFileName() << "\n");
1184 dbgs() << DestModule.getSourceFileName() << ": Import " << GV->getName()
1185 << " from " << SrcModule->getSourceFileName() << "\n";
1204 << DestModule.getModuleIdentifier() << "\n");
1207 << DestModule.getModuleIdentifier() << "\n");
lib/Transforms/IPO/Inliner.cpp 429 LLVM_DEBUG(dbgs() << " Inlining " << inlineCostStr(IC)
435 LLVM_DEBUG(dbgs() << " NOT Inlining " << inlineCostStr(IC)
447 LLVM_DEBUG(dbgs() << " NOT Inlining " << inlineCostStr(IC)
475 LLVM_DEBUG(dbgs() << " Inlining " << inlineCostStr(IC)
lib/Transforms/InstCombine/InstructionCombining.cpp 3308 LLVM_DEBUG(dbgs() << "IC: Visiting: " << OrigI << '\n');
3342 LLVM_DEBUG(dbgs() << "IC: Mod = " << OrigI << '\n'
lib/Transforms/Instrumentation/CFGMST.h 241 << BI.second->infoString() << "\n";
249 << getBBInfo(EI->DestBB).Index << EI->infoString() << "\n";
lib/Transforms/Instrumentation/ControlHeightReduction.cpp 72 errs() << "Error: Couldn't read the chr-module-list file " << CHRModuleList << "\n";
87 errs() << "Error: Couldn't read the chr-function-list file " << CHRFunctionList << "\n";
474 OS << RI.R->getNameStr();
482 OS << "], Parent " << RegInfos[0].R->getParent()->getNameStr();
993 CHR_DEBUG(dbgs() << "findScopes " << R->getNameStr() << "\n");
1002 CHR_DEBUG(dbgs() << "Looking at subregion " << SubR.get()->getNameStr()
1180 << RI.R->getNameStr() << "\n");
1208 << RI.R->getNameStr() << "\n");
1285 dbgs() << R->getNameStr() << ", ";
1290 dbgs() << R->getNameStr() << ", ";
1375 dbgs() << "Region " << R->getNameStr() << "\n";
1382 dbgs() << RI.R->getNameStr() << "\n";
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp 390 LLVM_DEBUG(dbgs() << "Failed to create symtab: " << SymtabFailure << "\n");
lib/Transforms/Instrumentation/InstrOrderFile.cpp 113 OS << singleLine;
lib/Transforms/Instrumentation/PGOInstrumentation.cpp 1149 << FuncInfo.FuncName << ": ");
1786 OS << getSimpleNodeName(Node) << ":\\l";
lib/Transforms/Scalar/NewGVN.cpp 2436 LLVM_DEBUG(dbgs() << "Block " << getBlockName(To)
2441 LLVM_DEBUG(dbgs() << "Block " << getBlockName(To)
2443 << getBlockName(From) << "," << getBlockName(To)
2443 << getBlockName(From) << "," << getBlockName(To)
2676 << " in block " << getBlockName(PredBB) << "\n");
2803 << getBlockName(PredBB)
2811 << getBlockName(PredBB) << "\n");
3379 << getBlockName(CurrBlock)
3460 LLVM_DEBUG(dbgs() << "Block " << getBlockName(&F.getEntryBlock())
3488 LLVM_DEBUG(dbgs() << "We believe block " << getBlockName(&BB)
3840 << getBlockName(PHI->getIncomingBlock(Operand))
3955 << getBlockName(getBlockForValue(Def)) << "\n");
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 1126 << (Cache.count(BDV) ? Cache[BDV]->getName().str() : "none")
lib/Transforms/Utils/ASanStackFrameLayout.cpp 110 << Name.size() << " " << Name;
lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp 139 << getStatString("inlined functions", InlinedFunctionsCount,
141 << getStatString("imported functions inlined anywhere",
144 << getStatString("imported functions inlined into importing module",
148 << getStatString(", remaining", ImportedNotInlinedIntoModule,
150 << getStatString("non-imported functions inlined anywhere",
153 << getStatString(
158 dbgs() << Out;
lib/Transforms/Vectorize/LoopVectorize.cpp 893 OS << L->getHeader()->getParent()->getParent()->getModuleIdentifier();
7516 << DebugLocStr << "\n");
7729 << ") in " << DebugLocStr << '\n');
7737 << ") in " << DebugLocStr << '\n');
lib/Transforms/Vectorize/SLPVectorizer.cpp 652 OS << "{User:" << (UserTE ? std::to_string(UserTE->Idx) : "null")
3500 LLVM_DEBUG(dbgs() << Str);
lib/Transforms/Vectorize/VPlan.cpp 193 LLVM_DEBUG(dbgs() << "LV: vectorizing VPBB:" << getName()
250 LLVM_DEBUG(dbgs() << "LV: VPBlock in RPO " << Block->getName() << '\n');
267 LLVM_DEBUG(dbgs() << "LV: VPBlock in RPO " << Block->getName() << '\n');
508 OS << "\\n" << DOT::EscapeString(Plan.getName());
516 OS << DOT::EscapeString(" := ");
546 OS << Indent << getUID(Tail) << " -> " << getUID(Head);
572 OS << Indent << getUID(BasicBlock) << " [label =\n";
574 OS << Indent << "\"" << DOT::EscapeString(BasicBlock->getName()) << ":\\n\"";
574 OS << Indent << "\"" << DOT::EscapeString(BasicBlock->getName()) << ":\\n\"";
580 OS << " +\n" << Indent << " \"BlockPredicate: ";
583 OS << " (" << DOT::EscapeString(PredI->getParent()->getName())
595 OS << " +\n" << Indent << " \"CondBit: ";
598 OS << " (" << DOT::EscapeString(CBI->getParent()->getName()) << ")\\l\"";
606 OS << "\n" << Indent << "]\n";
611 OS << Indent << "subgraph " << getUID(Region) << " {\n";
613 OS << Indent << "fontname=Courier\n"
614 << Indent << "label=\""
615 << DOT::EscapeString(Region->isReplicator() ? "<xVFxUF> " : "<x1> ")
616 << DOT::EscapeString(Region->getName()) << "\"\n";
622 OS << Indent << "}\n";
644 O << DOT::EscapeString(IngredientString);
lib/Transforms/Vectorize/VPlan.h 549 OS << getName();
lib/Transforms/Vectorize/VPlanPredicator.cpp 221 LLVM_DEBUG(dbgs() << "Linearizing: " << PrevBlock->getName() << "->"
222 << CurrBlock->getName() << "\n");
lib/WindowsManifest/WindowsManifestMerger.cpp 33 void WindowsManifestError::log(raw_ostream &OS) const { OS << Msg; }
lib/XRay/RecordPrinter.cpp 16 OS << formatv("<Buffer: size = {0} bytes>", R.size()) << Delim;
22 << Delim;
27 OS << formatv("<CPU: id = {0}, tsc = {1}>", R.cpuid(), R.tsc()) << Delim;
32 OS << formatv("<TSC Wrap: base = {0}>", R.tsc()) << Delim;
40 << Delim;
47 << Delim;
55 << Delim;
60 OS << formatv("<Call Argument: data = {0} (hex = {0:x})>", R.arg()) << Delim;
65 OS << formatv("<PID: {0}>", R.pid()) << Delim;
70 OS << formatv("<Thread ID: {0}>", R.tid()) << Delim;
75 OS << "<End of Buffer>" << Delim;
103 OS << Delim;
tools/bugpoint/BugDriver.cpp 37 errs() << "Failed to keep temp file " << toString(std::move(E)) << '\n';
41 errs() << "Failed to delete temp file " << toString(std::move(E)) << '\n';
141 outs() << "Read input file : '" << Filenames[0] << "'\n";
148 outs() << "Linking in input file: '" << Filenames[i] << "'\n";
189 outs() << toString(std::move(E));
202 errs() << toString(std::move(E));
219 errs() << toString(std::move(E));
225 errs() << toString(std::move(E));
234 errs() << toString(std::move(E));
tools/bugpoint/CrashDebugger.cpp 90 << getPassesString(Prefix) << ": ";
99 << PrefixOutput << "'!\n";
105 outs() << "Checking to see if these passes crash: " << getPassesString(Suffix)
840 outs() << " " << NamedMDs[i];
1288 << getPassesString(PassesToRun) << '\n';
1298 errs() << toString(std::move(E)) << "\n";
tools/bugpoint/ExecutionDriver.cpp 204 errs() << Message;
206 outs() << Message;
251 outs() << Message << "\nExiting.\n";
257 outs() << Message << "\nExiting.\n";
276 << ": Error making unique filename: " << toString(Temp.takeError())
282 errs() << ToolName << ": Error emitting bitcode to file '" << Temp->TmpName
310 errs() << ToolName << ": Error making unique filename: " << EC.message()
317 errs() << ToolName << ": Error emitting bitcode to file '" << BitcodeFile
335 errs() << ToolName << ": Error making unique filename: " << EC.message()
431 outs() << "\nReference output is: " << ReferenceOutputFile << "\n\n";
454 errs() << "While diffing output: " << Error << '\n';
tools/bugpoint/ExtractFunction.cpp 377 errs() << "Error creating temporary file: " << toString(Temp.takeError())
tools/bugpoint/FindBugs.cpp 51 outs() << "-" << PassesToRun[i] << " ";
69 outs() << toString(std::move(E));
81 errs() << toString(std::move(E));
tools/bugpoint/Miscompilation.cpp 65 outs() << "Checking to see if '" << getPassesString(Suffix)
102 outs() << "Checking to see if '" << getPassesString(Prefix)
141 << BitcodeResult << "'!\n";
150 outs() << "Checking to see if '" << getPassesString(Suffix)
151 << "' passes compile correctly after the '" << getPassesString(Prefix)
362 errs() << "Please submit the " << OutputPrefix
749 << getPassesString(getPassesToRun()) << '\n';
953 << "Error making unique filename: " << EC.message() << "\n";
971 << "Error making unique filename: " << EC.message() << "\n";
1017 << "you: '" << *Result << "'.\n";
1044 errs() << getToolName() << "Error making unique filename: " << EC.message()
1060 errs() << getToolName() << "Error making unique filename: " << EC.message()
1075 outs() << " lli -load " << *SharedObject << " " << TestModuleBC;
1078 outs() << " cc " << *SharedObject << " " << TestModuleBC.str() << ".s -o "
1083 outs() << " " << InputArgv[i];
1087 << " cc -xc temporary.c -O2 -o " << *SharedObject;
tools/bugpoint/OptimizerDriver.cpp 97 errs() << "Error opening file '" << Filename << "' for writing!\n";
101 outs() << "Emitted bitcode to '" << Filename << "'\n";
107 outs() << "opt " << Filename;
109 outs() << " -load " << PluginLoader::getPlugin(i);
111 outs() << " " << getPassesString(PassesToRun) << "\n";
141 << ": Error making unique filename: " << EC.message() << "\n";
151 << ": Error making unique filename: " << toString(Temp.takeError())
161 errs() << "Error writing bitcode file: " << Temp->TmpName << "\n";
172 errs() << Path.getError().message() << "\n";
179 errs() << "Specified `opt' binary does not exist: " << tool << "\n";
188 errs() << Path.getError().message() << "\n";
255 outs() << "Execute failed: " << ErrMsg << "\n";
257 outs() << "Crashed: " << ErrMsg << "\n";
278 errs() << getToolName() << ": Error reading bitcode file '" << BitcodeResult
tools/bugpoint/ToolRunner.cpp 100 errs() << OS.str();
119 errs() << "Error making unique filename: " << EC.message() << "\n";
442 errs() << "Error making unique filename: " << EC.message() << "\n";
521 errs() << Message << "\n";
584 LLVM_DEBUG(errs() << "\nSending output to " << OutputFile << "\n");
668 errs() << "Error making unique filename: " << EC.message() << "\n";
772 errs() << "Error making unique filename: " << EC.message() << "\n";
tools/bugpoint/bugpoint.cpp 185 outs() << "Override triple set to '" << TargetTriple.getTriple() << "'\n";
237 errs() << toString(std::move(E));
tools/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp 38 llvm::errs() << "top-level-decl: \"" << ND->getNameAsString() << "\"\n";
74 llvm::errs() << "late-parsed-decl: \"" << FD->getNameAsString() << "\"\n";
90 llvm::errs() << "PrintFunctionNames arg = " << args[i] << "\n";
tools/clang/include/clang/AST/TextNodeDumper.h 88 OS << Prefix << (IsLastChild ? '`' : '|') << '-';
90 OS << LabelStr << ": ";
tools/clang/include/clang/Basic/FixedPoint.h 206 OS << FX.toString();
tools/clang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h 121 OS << "(" << Visit(S->getLHS()) << ") "
122 << std::string(BinaryOperator::getOpcodeStr(S->getOpcode())) << " "
170 OS << "element of type '" << R->getElementType().getAsString()
176 OS << "'" << Visit(R->getIndex()) << "'";
177 OS << " of " + Visit(R->getSuperRegion());
tools/clang/include/clang/Tooling/Core/Replacement.h 170 void log(raw_ostream &OS) const override { OS << message(); }
tools/clang/include/clang/Tooling/DiagnosticsYaml.h 45 << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/ARCMigrate/PlistReporter.cpp 61 llvm::errs() << "error: could not create file: " << outPath << '\n';
tools/clang/lib/AST/ASTDiagnostic.cpp 308 OS << "'" << S << "' (vector of " << VTy->getNumElements() << " '"
309 << VTy->getElementType().getAsString(Context.getPrintingPolicy())
351 OS << Q.getAsString();
388 OS << ConvertTypeToDiagnosticString(Context, Ty, PrevArgs, QualTypeVals);
439 OS << ConvertTypeToDiagnosticString(Context,
1550 OS << FromTD->getNameAsString() << "<>";
1554 OS << FromTD->getNameAsString() << '<';
1620 OS << FromType.getAsString(Policy);
1653 OS << FromTypeStr;
1658 OS << ToTypeStr;
1713 OS << "template " << FromTD->getNameAsString();
1717 OS << FromName;
1722 OS << FromName;
1726 OS << ToName;
1745 OS << FromInt.toString(10);
1789 OS << Val.toString(10);
tools/clang/lib/AST/ASTImporter.cpp 100 OS << toString();
tools/clang/lib/AST/DeclBase.cpp 525 << HintMessage;
539 << VTI << HintMessage;
552 << VTO << HintMessage;
565 << VTD << HintMessage;
tools/clang/lib/AST/DeclPrinter.cpp 307 Out << Proto;
317 Out << QualType(BMInitializer->getBaseClass(), 0).getAsString(Policy);
515 Out << " = " << D->getTypeSourceInfo()->getType().getAsString(Policy);
581 Out << EOut.str();
731 Out << Proto << " -> ";
737 Out << Proto;
782 Out << " " << TSI->getType().getAsString(Policy);
906 Out << "@import " << D->getImportedModule()->getFullModuleName()
983 Out << Base->getType().getAsString(Policy);
1062 Out << TTP->getDefaultArgument().getAsString(Policy);
1227 Out << Ctx.getUnqualifiedObjCPointerType(T).getAsString(Policy);
1254 Out << Param->getDeclName().getAsString();
1257 Out << " : " << Param->getUnderlyingType().getAsString(Policy);
1280 Out << name.substr(lastPos, pos - lastPos) << ':';
1289 Out << name;
1310 Out << "@implementation " << I << " : " << *SID;
1312 Out << "@implementation " << I;
1319 Indent() << I->getASTContext().getUnqualifiedObjCPointerType(I->getType()).
1340 Out << "@class " << I;
1350 Out << "@interface " << I;
1357 Out << " : " << QualType(OID->getSuperClassType(), 0).getAsString(Policy);
1373 Indent() << I->getASTContext()
1429 Indent() << I->getASTContext().getUnqualifiedObjCPointerType(I->getType()).
1552 Out << ' ' << TypeStr;
tools/clang/lib/AST/DeclarationName.cpp 480 OS << TInfo->getType().getAsString(PP);
tools/clang/lib/AST/Expr.cpp 708 Out << ComputeName(IK, DCBlock);
710 Out << ComputeName(IK, DCDecl) << "_block_invoke";
834 POut << " [" << TemplateParams << "]";
854 Out << Proto;
tools/clang/lib/AST/InheritViz.cpp 44 Out << "digraph \"" << llvm::DOT::EscapeString(Type.getAsString())
80 Out << " [ shape=\"box\", label=\"" << llvm::DOT::EscapeString(TypeName);
86 Out << "\\n(" << CanonType.getAsString() << ")";
143 llvm::errs() << "Error: " << EC.message() << "\n";
tools/clang/lib/AST/Interp/Disasm.cpp 29 OS << Name << "::" << Name << ":\n";
29 OS << Name << "::" << Name << ":\n";
31 OS << F->getNameAsString() << ":\n";
tools/clang/lib/AST/ItaniumMangle.cpp 3167 Out << TypeName.length() << TypeName;
tools/clang/lib/AST/RecordLayoutBuilder.cpp 3301 OS << C.getTypeDeclType(const_cast<RecordDecl*>(RD)).getAsString();
3383 OS << Field.getType().getAsString() << ' ' << Field << '\n';
3445 OS << "Type: " << getTypeDeclType(RD).getAsString() << "\n";
tools/clang/lib/AST/StmtPrinter.cpp 93 OS << ";" << NL;
97 Indent() << "<<<NULL STATEMENT>>>" << NL;
117 OS << NL;
119 OS << NL;
155 Indent() << "<<unknown stmt type>>" << NL;
179 OS << "{" << NL;
196 Indent() << ";" << NL;
202 OS << ";" << NL;
208 OS << "" << NL;
218 OS << ":" << NL;
224 Indent(-1) << "default:" << NL;
229 Indent(-1) << Node->getName() << ":" << NL;
254 OS << (If->getElse() ? " " : NL);
256 OS << NL;
267 OS << NL;
272 OS << NL;
301 OS << ")" << NL;
311 OS << NL;
318 OS << ");" << NL;
381 if (Policy.IncludeNewlines) OS << NL;
388 if (Policy.IncludeNewlines) OS << NL;
393 if (Policy.IncludeNewlines) OS << NL;
398 if (Policy.IncludeNewlines) OS << NL;
408 if (Policy.IncludeNewlines) OS << NL;
487 if (Policy.IncludeNewlines) OS << NL;
494 OS << "{" << NL;
495 OS << Node->getAsmString() << NL;
497 Indent() << "}" << NL;
508 OS << NL;
521 OS << NL;
528 OS << NL;
536 Indent() << "@catch (...) { /* todo */ } " << NL;
545 OS << ";" << NL;
558 OS << NL;
564 OS << NL;
580 OS << NL;
590 OS << NL;
604 OS << NL;
610 OS << NL;
616 OS << ")" << NL;
618 OS << NL;
624 OS << NL;
630 OS << NL;
635 if (Policy.IncludeNewlines) OS << NL;
651 OS << NL;
1020 OS << SelectorTable::getPropertyNameFromSetterSelector(
1120 OS << Node->getValue().toString(10, isSigned);
1142 OS << Node->getValueAsString(/*Radix=*/10);
1808 OS << Int->getValue().toString(10, /*isSigned*/false);
2466 Out << JsonFormat(TempOut.str(), AddQuotes);
tools/clang/lib/AST/TextNodeDumper.cpp 216 OS << " " << T.split().Quals.getAsString();
240 OS << " in " << M->getFullModuleName();
244 AddChild([=] { OS << "also in " << M->getFullModuleName(); });
314 OS << "OMP" << ClauseName.substr(/*Start=*/0, /*N=*/1).upper()
390 OS << "'" << QualType::getAsString(T_split, PrintPolicy) << "'";
396 OS << ":'" << QualType::getAsString(D_split, PrintPolicy) << "'";
430 OS << ' ' << ND->getNameAsString();
769 OS << " " << Node->getValue().toString(10, isSigned);
774 OS << " " << Node->getValueAsString(/*Radix=*/10);
866 << Node->getTypeAsWritten().getAsString() << ">"
884 OS << " functional cast to " << Node->getTypeAsWritten().getAsString() << " <"
1081 OS << " " << T->getIndexTypeQualifiers().getAsString();
1315 << "::" << D->getNameAsString() << " '"
1316 << QualType::getAsString(T_split, PrintPolicy) << "'";
1404 OS << ' ' << D->getImportedModule()->getFullModuleName();
1481 OS << "OMP" << ClauseName.substr(/*Start=*/0, /*N=*/1).upper()
1714 OS << D->getNameAsString();
1722 OS << D->getNameAsString();
1730 OS << D->getNameAsString();
tools/clang/lib/AST/TypePrinter.cpp 822 OS << " " << T->getMethodQuals().getAsString();
1193 OS << Policy.remapPath(File);
tools/clang/lib/AST/VTableBuilder.cpp 1940 Out << Str;
2020 Out << "[unused] " << Str;
2055 Out << " -- (" << Name;
2085 Out << " " << I.first << " | " << I.second.getQuantity() << '\n';
2113 Out << "Thunks for '" << MethodName << "' (" << ThunksVector.size();
2188 Out << llvm::format("%4" PRIu64 " | ", VTableIndex) << MethodName
3070 << TI.Method->getReturnType().getCanonicalType().getAsString()
3127 Out << Str;
3198 Out << "Thunks for '" << MethodName << "' (" << ThunksVector.size();
3653 Out << llvm::format("%4" PRIu64 " | ", VTableIndex) << MethodName << '\n';
tools/clang/lib/ASTMatchers/Dynamic/Diagnostics.cpp 136 OS << Pieces.first.str();
144 OS << Args[Index];
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp 638 OS << AK.asString();
tools/clang/lib/Analysis/AnalysisDeclContext.cpp 493 Out << "Calling " << D->getQualifiedNameAsString();
538 Out << D->getQualifiedNameAsString();
tools/clang/lib/Analysis/CFG.cpp 5454 OS << ", " << CCE->getType().getAsString() << ")";
5458 << ", " << CE->getType().getAsString()
5501 OS << VD->getQualifiedNameAsString();
5508 OS << VD->getQualifiedNameAsString();
5527 OS << "->~" << RD->getName().str() << "()";
5803 Out << JsonFormat(TempOut.str(), AddQuotes);
tools/clang/lib/Analysis/LiveVariables.cpp 655 llvm::errs() << " " << (*di)->getDeclName().getAsString()
tools/clang/lib/Analysis/PathDiagnostic.cpp 1036 Out << CallStackMessage;
tools/clang/lib/Analysis/ProgramPoint.cpp 103 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString()
112 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString()
tools/clang/lib/Basic/IdentifierTable.cpp 493 OS << getAsString();
tools/clang/lib/Basic/Module.cpp 446 OS << Requirements[I].first;
471 OS << ConfigMacros[I];
515 OS << "export_as" << ExportAsModule << "\n";
531 OS << Restriction->getFullModuleName(true);
552 OS << DirectUses[I]->getFullModuleName(true);
585 OS << Conflicts[I].Other->getFullModuleName(true);
tools/clang/lib/Basic/Version.cpp 97 OS << Path;
101 OS << Revision;
111 OS << LLVMRepo << ' ';
112 OS << LLVMRev << ')';
128 << getClangFullRepositoryVersion();
146 OS << "Clang " CLANG_VERSION_STRING " " << getClangFullRepositoryVersion();
tools/clang/lib/CodeGen/BackendUtil.cpp 1405 << "': " << MBOrErr.getError().message() << "\n";
1413 << "': " << EIB.message() << '\n';
1429 errs() << "Error setting up ThinLTO save-temps: " << EIB.message()
1487 errs() << "Error running ThinLTO backend: " << EIB.message() << '\n';
tools/clang/lib/CodeGen/CGDebugInfo.cpp 304 OS << ' ' << OMD->getSelector().getAsString() << ']';
tools/clang/lib/CodeGen/CGObjCMac.cpp 5553 OS << ' ' << D->getSelector().getAsString() << ']';
6281 << ClassName;
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 1673 OS2 << FD->getQualifiedNameAsString();
5987 Out << Prefix << Name << "_"
tools/clang/lib/CodeGen/CodeGenAction.cpp 657 MsgStream << D.getMsg();
tools/clang/lib/CodeGen/CodeGenModule.cpp 948 Out << getCPUSpecificMangling(CGM, Attr->getCPUName(CPUIndex)->getName());
tools/clang/lib/CodeGen/CoverageMappingGen.cpp 1397 OS << S;
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp 124 OS << Category->message(static_cast<int>(Code)) << '\n';
tools/clang/lib/Driver/Driver.cpp 1394 ScriptOS << "# Crash reproducer for " << getClangFullVersion() << "\n"
1538 OS << getClangFullVersion() << '\n';
1540 OS << "Target: " << TC.getTripleString() << '\n';
1548 OS << "Thread model: " << TC.getThreadModel();
1552 OS << "InstalledDir: " << InstalledDir << '\n';
1556 OS << "Configuration file: " << ConfigFile << '\n';
1646 llvm::outs() << llvm::join(SuggestedCompletions, "\n") << '\n';
1654 llvm::outs() << C.getDefaultToolChain().getTripleString() << '\n';
1692 << SystemConfigDir << "\n";
1695 << UserConfigDir << "\n";
1704 llvm::outs() << ResourceDir << '\n';
1714 llvm::outs() << Path;
1718 llvm::outs() << "libraries: =" << ResourceDir;
1727 llvm::outs() << sysroot << Path.substr(1);
1729 llvm::outs() << Path;
1738 llvm::outs() << GetFilePath(A->getValue(), TC) << "\n";
1747 llvm::outs() << GetProgramPath(ProgName, TC);
1765 llvm::outs() << TC.getCompilerRT(C.getArgs(), "builtins") << "\n";
1768 llvm::outs() << GetFilePath("libgcc.a", TC) << "\n";
1793 llvm::outs() << TC.getTripleString() << "\n";
1799 llvm::outs() << Triple.getTriple() << "\n";
1848 os << A->getOffloadingKindPrefix();
1852 os << TC->getTriple().normalize();
1884 offload_os << ", (" << S;
1897 llvm::errs() << Indent + getSelfIndent(Kind) << Id << ": " << os.str() << ", "
1898 << types::getTypeName(A->getType()) << offload_os.str() << "\n";
4289 llvm::errs() << "# \"" << T->getToolChain().getTripleString() << '"'
4292 llvm::errs() << InputInfos[i].getAsString();
4297 llvm::errs() << "], output: " << Result.getAsString() << "\n";
4301 llvm::errs() << UnbundlingResults[i].getAsString();
tools/clang/lib/Driver/Multilib.cpp 222 llvm::errs() << Error;
tools/clang/lib/Driver/ToolChains/Clang.cpp 1937 CDB << "{ \"directory\": \"" << escape(*CWD) << "\"";
1938 CDB << ", \"file\": \"" << escape(Input.getFilename()) << "\"";
1939 CDB << ", \"output\": \"" << escape(Output.getFilename()) << "\"";
1940 CDB << ", \"arguments\": [\"" << escape(D.ClangExecutable) << "\"";
1944 CDB << ", \"" << escape(Buf) << "\"";
1948 CDB << ", \"" << escape(Buf) << "\"";
1950 CDB << ", \"" << escape(Input.getFilename()) << "\"";
1968 CDB << ", \"" << escape(it) << "\"";
1972 CDB << ", \"" << escape(Buf) << "\"]},\n";
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp 1349 llvm::errs() << LksBuffer;
1364 Lksf << LksBuffer;
tools/clang/lib/Driver/ToolChains/Cuda.cpp 277 OS << "Found CUDA installation: " << InstallPath << ", version "
tools/clang/lib/Driver/ToolChains/Gnu.cpp 1855 OS << "Found candidate GCC installation: " << InstallPath << "\n";
1858 OS << "Selected GCC installation: " << GCCInstallPath << "\n";
tools/clang/lib/Format/ContinuationIndenter.cpp 1603 << llvm::toString(std::move(PrefixErr)) << "\n";
1615 << llvm::toString(std::move(SuffixErr)) << "\n";
1626 << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Format/Format.cpp 1290 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
1648 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
1790 << FormatTok->Tok.getLocation().printToString(
1967 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
2136 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
2325 << Header << ": " << llvm::toString(std::move(Err))
tools/clang/lib/Format/NamespaceEndCommentsFixer.cpp 135 << llvm::toString(std::move(Err)) << "\n";
149 << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Format/SortJavaScriptImports.cpp 191 << ReferencesText << "\n");
198 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Format/TokenAnalyzer.cpp 93 llvm::dbgs() << I->toString() << "\n";
106 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Format/UsingDeclarationsSorter.cpp 148 << llvm::toString(std::move(Err)) << "\n";
172 << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Format/WhitespaceManager.cpp 785 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Frontend/ASTConsumers.cpp 60 Out << (OutputKind != Print ? "Dumping " : "Printing ") << getName(D)
tools/clang/lib/Frontend/ASTUnit.cpp 126 llvm::errs() << Output << ':';
tools/clang/lib/Frontend/CompilerInstance.cpp 949 << " default target " << llvm::sys::getDefaultTargetTriple() << "\n";
992 OS << " when compiling for " << getTargetOpts().CPU;
tools/clang/lib/Frontend/DependencyGraph.cpp 122 OS << DOT::EscapeString(FileName)
tools/clang/lib/Frontend/FrontendActions.cpp 442 Out << "---" << YAML << "\n";
546 Out.indent(4) << " Triple: " << TargetOpts.Triple << "\n";
547 Out.indent(4) << " CPU: " << TargetOpts.CPU << "\n";
548 Out.indent(4) << " ABI: " << TargetOpts.ABI << "\n";
554 Out.indent(6) << TargetOpts.FeaturesAsWritten[I] << "\n";
573 Out.indent(6) << "-W" << Warning << "\n";
575 Out.indent(6) << "-R" << Remark << "\n";
584 Out.indent(4) << "System root [-isysroot=]: '" << HSOpts.Sysroot << "'\n";
585 Out.indent(4) << "Resource dir [ -resource-dir=]: '" << HSOpts.ResourceDir << "'\n";
619 Out << I->first << "\n";
628 << Metadata.BlockName << "' " << Metadata.MajorVersion
685 << "': " << Filename.str() << "\n";
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp 260 OS << "Triple: " << T.str() << "\n";
267 << (Symbol.ParentName.empty() || Instance.getLangOpts().CPlusPlus
270 << Name << "\" : { Type: ";
tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp 343 OS << "#" << TokenText << " "
358 OS << "#pragma clang module import " << Imported->getFullModuleName(true)
360 << "#" << PP.getSpelling(IncludeTok) << " "
387 OS << "#pragma clang module begin " << M->getFullModuleName(true);
394 OS << "#pragma clang module end /*" << M->getFullModuleName(true) << "*/";
tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp 235 (*OS) << MF->ModuleName;
266 (*OS) << "#pragma clang module endbuild /*" << MF->ModuleName << "*/\n";
316 (*OutputStream) << OS.str();
tools/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp 150 OS << "#pragma clang module import " << Mod->getFullModuleName(true)
435 << Mod->getFullModuleName(true) << "\n";
442 << Mod->getFullModuleName(true) << "*/\n";
tools/clang/lib/Frontend/Rewrite/RewriteMacros.cpp 211 *OS << std::string(RewriteBuf->begin(), RewriteBuf->end());
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 5860 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end());
5871 *OutFile << ResultStr;
5877 *OutFile << ResultStr;
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 4919 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end());
4930 *OutFile << ResultStr;
tools/clang/lib/Frontend/Rewrite/RewriteTest.cpp 37 *OS << PP.getSpelling(*I);
tools/clang/lib/Frontend/TestModuleFileExtension.cpp 37 OS << "Hello from " << Ext->BlockName << " v" << Ext->MajorVersion << "."
tools/clang/lib/Frontend/TextDiagnostic.cpp 1264 OS << CaretLine << '\n';
1275 OS << FixItInsertionLine << '\n';
1302 OS << to_print;
1314 OS << to_print;
tools/clang/lib/Frontend/TextDiagnosticPrinter.cpp 129 OS << Prefix << ": ";
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp 861 OS << ": " << I->second;
892 OS << ": " << D->Text;
tools/clang/lib/Index/CommentToXML.cpp 1022 << IntroducedInVersion.getAsString()
1028 << DeprecatedInVersion.getAsString()
1034 << RemovedAfterVersion.getAsString()
tools/clang/lib/Index/FileIndexRecord.cpp 54 OS << ' ' << ND->getNameAsString();
tools/clang/lib/Lex/ModuleMap.cpp 1261 llvm::errs() << I->getModule()->getFullModuleName();
2647 OS << Id[I].first;
tools/clang/lib/Lex/PPMacroExpansion.cpp 273 llvm::errs() << " " << O->getOwningModule()->getFullModuleName();
293 << MM->getOwningModule()->getFullModuleName();
308 llvm::errs() << " " << O->getOwningModule()->getFullModuleName();
1761 OS << getLangOpts().CurrentModule;
tools/clang/lib/Lex/Preprocessor.cpp 232 << getSpelling(Tok) << "'";
tools/clang/lib/Rewrite/HTMLRewrite.cpp 290 os << "<title>" << html::EscapeText(title) << "</title>\n";
tools/clang/lib/Sema/CodeCompleteConsumer.cpp 317 OS << "{#" << C.Optional->getAsString() << "#}";
542 OS << "PREFERRED-TYPE: " << Context.getPreferredType().getAsString()
564 OS << " (" << llvm::join(Tags, ",") << ")";
569 OS << " : " << CCS->getAsString();
589 << " to \"" << FixIt.CodeToInsert << "\")";
603 OS << " : " << CCS->getAsString();
609 OS << "Pattern : " << Results[I].Pattern->getAsString() << '\n';
657 OS << "OVERLOAD: " << getOverloadAsString(*CCS) << "\n";
tools/clang/lib/Sema/SemaDeclAttr.cpp 8387 << " " << Introduced.getAsString() << ", *)) {\n"
tools/clang/lib/Sema/SemaExceptionSpec.cpp 410 OS << E.getAsString(getPrintingPolicy());
tools/clang/lib/Sema/SemaExpr.cpp 7219 OS << "(vector of " << NumElements << " '" << EleTyName << "' values)";
tools/clang/lib/Sema/SemaInit.cpp 3393 OS << " '" << getType().getAsString() << "'\n";
9474 OS << " [" << S->Type.getAsString() << ']';
tools/clang/lib/Sema/SemaLookup.cpp 670 llvm::errs() << "lookup results for " << getLookupName().getAsString()
tools/clang/lib/Serialization/ASTReader.cpp 8243 llvm::errs() << " " << I->first << " -> " << I->second->FileName
tools/clang/lib/Serialization/GlobalModuleIndex.cpp 377 llvm::errs() << "** " << MI.FileName << "\n";
tools/clang/lib/Serialization/Module.cpp 48 llvm::errs() << "\nModule: " << FileName << "\n";
54 llvm::errs() << Imports[I]->FileName;
tools/clang/lib/StaticAnalyzer/Checkers/AnalysisOrderChecker.cpp 111 llvm::errs() << " (" << ND->getQualifiedNameAsString() << ')';
120 llvm::errs() << " (" << ND->getQualifiedNameAsString() << ')';
tools/clang/lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp 130 outputI << "(" << NameOfRootFunction << ")" <<
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp 1030 os << "a C++ temp object of type " << TVR->getValueType().getAsString();
1033 os << "a variable of type" << TVR->getValueType().getAsString();
1036 os << "a field of type " << TVR->getValueType().getAsString();
1039 os << "an instance variable of type " << TVR->getValueType().getAsString();
tools/clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp 121 Out << '\'' << DRE->getDecl()->getNameAsString() << '\'';
124 << ME->getMemberDecl()->getNameAsString() << '\'';
129 Out << ' ' << (CastSucceeds ? "is a" : "is not a") << " '" << CastToName
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp 59 << ResDerived.getAsString()
64 << ResAncestor.getAsString()
tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp 309 << "' with floating point type '" << drCond->getType().getAsString()
tools/clang/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp 282 << (Keys[I]->second.empty() ? "\"\"" : Keys[I]->second)
tools/clang/lib/StaticAnalyzer/Checkers/InnerPointerChecker.cpp 298 OS << "Pointer to inner buffer of '" << ObjTy.getAsString()
tools/clang/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp 276 os << " (type " << FieldChain.back()->getType().getAsString() << ")";
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp 3238 OS << "Inner buffer of '" << ObjTy.getAsString() << "' ";
3248 OS << MemCallE->getMethodDecl()->getNameAsString();
3250 OS << OpCallE->getDirectCallee()->getNameAsString();
3255 OS << (D ? D->getNameAsString() : "unknown");
tools/clang/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp 228 << PointeeType.getAsString() << "', which is incompatible with "
229 << "sizeof operand type '" << SizeofType.getAsString() << "'";
tools/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp 582 OS << " '" << RegionDecl->getNameAsString() << "'";
597 OS << " of type '" << RD->getQualifiedNameAsString() << "'";
tools/clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp 146 OS << "a pointer value of type '" << ObjT.getAsString() << "' to a ";
165 OS << EuphemismForPlain << " integer value";
167 OS << EuphemismForPlain << " BOOL value";
169 OS << EuphemismForPlain << " bool value";
171 OS << EuphemismForPlain << " boolean value";
181 OS << "compare the result of calling " << SuggestedApi;
183 OS << "call " << SuggestedApi;
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp 140 << Arg->getType().getAsString() << "'";
tools/clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp 204 os << "The '" << S.getAsString()
205 << "' instance method in " << SuperclassName.str() << " subclass '"
206 << *D << "' is missing a [super " << S.getAsString() << "] call";
tools/clang/lib/StaticAnalyzer/Checkers/ObjCPropertyChecker.cpp 69 OS << "Property of mutable type '" << PropTypeName
tools/clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp 314 Os << QualType::getAsString(RD->getTypeForDecl(), Qualifiers(),
325 << ILoc.printToString(BR->getSourceManager());
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp 48 Out << "Tracked " << T.getAsString() << " | ";
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp 227 os << "Call to method '" << MD->getQualifiedNameAsString() << '\'';
229 os << "Call to function '" << FD->getQualifiedNameAsString() << '\'';
265 << Sym->getType().getAsString() << "' with a ";
267 os << "an OSObject of type '" << findAllocatedObjectName(S, Sym->getType())
270 os << "an object of type '" << Sym->getType().getAsString()
279 os << "an instance of " << PT->getPointeeType().getAsString()
441 os << "Parameter '" << PVD->getNameAsString() << "' starts at +";
750 os << "object allocated and stored into '" << *RegionDescription << '\'';
752 os << "allocated object of type '" << getPrettyTypeName(Sym->getType())
780 os << "whose name ('" << MD->getSelector().getAsString()
798 os << "whose name ('" << FuncName
897 os << " stored into '" << *RegionDescription << '\'';
901 os << " of type '" << getPrettyTypeName(Sym->getType()) << "'";
tools/clang/lib/StaticAnalyzer/Checkers/ReturnValueChecker.cpp 106 Out << '\'' << Name << "' returns "
154 Out << '\'' << Name << "' returns "
tools/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp 96 os << "stack memory associated with local variable '" << VR->getString()
tools/clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp 147 << B->getLHS()->getType().getAsString() << "'.";
164 << "the return type \'" << B->getLHS()->getType().getAsString()
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp 67 Out << getVariableName(getDecl());
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedPointee.cpp 47 Out << getVariableName(getDecl());
78 Out << '<' << CastBackType.getAsString() << ">(";
82 Out << getVariableName(getDecl()) << ')';
103 Out << getVariableName(getDecl());
tools/clang/lib/StaticAnalyzer/Checkers/ValistChecker.cpp 296 OS << " " << VariableName;
tools/clang/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp 127 OS << "virtual method '" << MD->getParent()->getNameAsString()
128 << "::" << MD->getNameAsString() << "' during ";
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp 2365 Out << DR->getDecl()->getDeclName().getAsString();
tools/clang/lib/StaticAnalyzer/Core/DynamicType.cpp 160 Out << '\"' << DTI.getType()->getPointeeType().getAsString()
200 << "{ \"from\": \"" << SI->from().getAsString() << "\", \"to\": \""
201 << SI->to().getAsString() << "\", \"kind\": \""
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp 172 Out << '\"' << I->getAnyMember()->getNameAsString() << '\"';
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp 169 << Directory << "': " << ec.message() << '\n';
169 << Directory << "': " << ec.message() << '\n';
226 << "' absolute: " << EC.message() << '\n';
231 llvm::errs() << "warning: could not create file in '" << Directory
232 << "': " << EC.message() << '\n';
254 << "': " << EC.message() << '\n';
268 os << report;
469 << html::EscapeText(DirName)
470 << html::EscapeText(Entry->getName())
499 os << "<tr><td></td><td>" << html::EscapeText(*I) << "</td></tr>\n";
511 os << html::EscapeText(AnalyzerOpts.FullCompilerInvocation);
920 os << html::EscapeText(P.getString());
986 << html::EscapeText(EP->getString())
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp 463 os << "code{" << getDecl()->getDeclName().getAsString() << '}';
487 os << "temp_object{" << getValueType().getAsString() << ", "
505 << Index << ',' << getElementType().getAsString() << '}';
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp 650 llvm::errs() << "warning: could not create file: " << EC.message() << '\n';
1261 OS << '\"' << PP.getSpelling(Tok) << '\"';
1263 OS << PP.getSpelling(Tok);
tools/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp 234 os << '[' << i->From().toString(10) << ", " << i->To().toString(10)
234 os << '[' << i->From().toString(10) << ", " << i->To().toString(10)
tools/clang/lib/StaticAnalyzer/Core/SVals.cpp 293 Out << JsonFormat(TempOut.str(), AddQuotes);
358 os << "|" << CastRes.getDecl()->getQualifiedNameAsString() << "|";
367 os << (*I).getType().getAsString();
388 os << '&' << castAs<loc::MemRegionVal>().getRegion()->getString();
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp 347 llvm::errs() << "warning: could not create file: " << EC.message() << '\n';
tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp 79 os << '(' << ToTy.getAsString() << ") (";
85 os << "conj_$" << getSymbolID() << '{' << T.getAsString() << ", LC"
105 << getRegion() << ',' << T.getAsString() << '}';
112 << '<' << getType().getAsString() << ' ' << R << '>';
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp 131 << ": '" << Hint.CodeToInsert << "'";
329 << getFunctionName(D) << '\n';
685 OS << FD->getQualifiedNameAsString();
693 OS << P->getType().getAsString();
733 OS << ' ' << OMD->getSelector().getAsString() << ']';
tools/clang/lib/Tooling/AllTUsExecution.cpp 97 llvm::errs() << Msg.str() << "\n";
tools/clang/lib/Tooling/CommonOptionsParser.cpp 139 << ErrorMessage << "Running without flags.\n";
tools/clang/lib/Tooling/CompilationDatabase.cpp 76 ErrorStream << It->getName() << ": " << DatabaseErrorMessage << "\n";
tools/clang/lib/Tooling/Core/Replacement.cpp 90 Stream << FilePath << ": " << ReplacementRange.getOffset() << ":+"
91 << ReplacementRange.getLength() << ":\"" << ReplacementText << "\"";
619 llvm::errs() << "File path " << Entry.first << " is invalid.\n";
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp 357 llvm::dbgs() << "interpolate: chose " << OriginalPaths[Best.first]
tools/clang/lib/Tooling/Refactoring.cpp 90 llvm::errs() << llvm::toString(CurStyle.takeError()) << "\n";
97 llvm::errs() << llvm::toString(NewReplacements.takeError()) << "\n";
tools/clang/lib/Tooling/Refactoring/ASTSelection.cpp 222 OS << " \"" << ND->getNameAsString() << '"';
tools/clang/lib/Tooling/Refactoring/Extract/Extract.cpp 166 OS << ExtractedCodeRewriter.getRewrittenText(ExtractedRange);
180 OS << DeclName << '(';
tools/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp 176 << llvm::toString(std::move(Err)) << "\n";
225 llvm::errs() << "Failed to create renaming replacements for '" << PrevName
226 << "'! " << llvm::toString(Change.takeError()) << "\n";
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp 527 << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Tooling/RefactoringCallbacks.cpp 56 llvm::errs() << "Skipping replacement " << Replacement.toString()
58 << toString(std::move(Err)) << "\n";
97 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
116 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
136 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
147 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
211 llvm::errs() << "Node " << Element.Value
224 llvm::errs() << "Node to be replaced " << FromId
234 << "! " << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Tooling/Syntax/Tokens.cpp 75 return OS << T.str();
330 << syntax::Token(T).dumpForTests(
586 OS << " " << PrintToken(Tokens[I]);
tools/clang/lib/Tooling/Tooling.cpp 471 llvm::errs() << "Skipping " << SourcePath
473 << llvm::toString(AbsPath.takeError()) << "\n";
486 << CWD.getError().message() << "\n";
563 << EC.message() << "\n";
tools/clang/tools/c-index-test/core_main.cpp 237 OS << "==== Module " << Mod.ModuleName << " ====\n";
314 OS << Mod->getFullModuleName() << " | ";
tools/clang/tools/clang-diff/ClangDiff.cpp 98 << ErrorMessage;
302 OS << " class='" << getChangeKindAbbr(Node.Change) << "'";
397 OS << ": " << Value;
423 OS << " to " << DstTree.getNodeValue(Dst) << "\n";
448 llvm::errs() << ErrorMessage;
tools/clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp 41 llvm::outs() << createCrossTUIndexString(Index);
tools/clang/tools/clang-format/ClangFormat.cpp 381 errs() << EC.message() << "\n";
409 llvm::errs() << llvm::toString(FormatStyle.takeError()) << "\n";
420 llvm::errs() << llvm::toString(ChangedCode.takeError()) << "\n";
470 OS << clang::getClangToolFullVersion("clang-format") << '\n';
487 llvm::errs() << EC.message() << "\n";
497 llvm::errs() << llvm::toString(FormatStyle.takeError()) << "\n";
501 outs() << Config << "\n";
542 errs() << "Formatting " << FileName << "\n";
tools/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp 75 errs()<< "ERROR: " << message << "\n";
tools/clang/tools/clang-import-test/clang-import-test.cpp 358 llvm::errs() << llvm::toString(std::move(E));
377 llvm::errs() << llvm::toString(std::move(E));
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp 348 OS << T;
493 errs() << "\"" << *Objcopy << "\"";
591 OS << BundleStartString << TargetTriple << "\n";
596 OS << BundleEndString << TargetTriple << "\n";
815 OS << clang::getClangToolFullVersion("clang-offload-bundler") << '\n';
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp 310 OS << clang::getClangToolFullVersion("clang-offload-wrapper") << '\n';
tools/clang/tools/clang-refactor/ClangRefactor.cpp 122 llvm::errs() << "error: -selection=" << Range.FileName
132 llvm::errs() << "error: -selection=" << Range.FileName << ':'
321 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
490 llvm::errs() << "error: failed to open " << File << " for rewriting\n";
496 llvm::errs() << toString(Result.takeError());
504 llvm::errs() << EC.message() << "\n";
507 OS << *Result;
511 llvm::outs() << *Result;
620 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
626 llvm::errs() << llvm::toString(ActionFactory.takeError()) << "\n";
tools/clang/tools/clang-refactor/TestSupport.cpp 34 OS << "Test selection group '" << Group.Name << "':\n";
47 llvm::errs() << "error: -selection=test:" << Filename
70 OS << const_cast<tooling::AtomicChange &>(Change).toYAMLString() << "\n";
95 llvm::errs() << "failed to open" << File << "\n";
101 llvm::errs() << toString(Result.takeError());
104 OS << *Result;
223 << TestRanges.GroupedRanges[Group.index()].Name << "':\n ";
227 llvm::errs() << "error '" << ErrorMessage << "'";
230 llvm::errs() << "error '" << *CanonicalErrorMessage << "'\n";
244 llvm::outs() << TestGroup.Ranges.size() << " '" << TestGroup.Name
246 llvm::outs() << *CanonicalErrorMessage << "\n";
248 llvm::outs() << TestGroup.Ranges.size() << " '" << TestGroup.Name
tools/clang/tools/clang-rename/ClangRename.cpp 108 errs() << "clang-rename: failed to read " << Input << ": "
109 << Buffer.getError().message() << "\n";
168 outs() << "clang-rename found name: " << PrevName << '\n';
193 llvm::errs() << "Error opening output file: " << EC.message() << '\n';
tools/clang/tools/clang-scan-deps/ClangScanDeps.cpp 111 OS << "Error while scanning dependencies for " << Input << ":\n";
112 OS << Err.getMessage();
117 OS.applyLocked([&](raw_ostream &OS) { OS << *MaybeFile; });
133 llvm::errs() << "error: " << ErrorMessage << "\n";
tools/clang/tools/diagtool/FindDiagnosticID.cpp 68 llvm::errs() << "error: invalid diagnostic '" << DiagnosticName << "'\n";
tools/clang/tools/driver/cc1_main.cpp 178 llvm::errs() << Error;
tools/clang/tools/driver/cc1gen_reproducer_main.cpp 98 OS << '"' << Arg.value() << '"';
105 llvm::outs() << "REPRODUCER METAINFO: " << OS.str() << "\n";
150 OS << '"' << File.value() << '"';
167 << Buffer.getError().message() << "\n";
tools/clang/tools/driver/driver.cpp 131 OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n";
tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp 63 errs() << "Error reading " << I->path() << ": " << BufferError.message()
63 errs() << "Error reading " << I->path() << ": " << BufferError.message()
107 errs() << "Error reading " << I->path() << ": " << BufferError.message()
107 errs() << "Error reading " << I->path() << ": " << BufferError.message()
219 errs() << llvm::toString(std::move(Err)) << "\n";
253 errs() << "Error deleting file: " << Filename << "\n";
254 errs() << Error.message() << "\n";
tools/clang/tools/extra/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp 102 llvm::errs() << llvm::toString(FormatStyleOrError.takeError()) << "\n";
119 errs() << "Trouble iterating over directory '" << Directory
120 << "': " << ErrorCode.message() << "\n";
149 errs() << llvm::toString(NewFileData.takeError()) << "\n";
160 FileStream << *NewFileData;
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 977 llvm::errs() << llvm::toString(ChangedCode.takeError()) << "\n";
1021 llvm::errs() << llvm::toString(Style.takeError()) << "\n";
1028 llvm::errs() << llvm::toString(CleanReplacements.takeError()) << "\n";
tools/clang/tools/extra/clang-change-namespace/tool/ClangChangeNamespace.cpp 109 llvm::errs() << "Failed to open whitelist file " << WhiteListFile << ". "
110 << WhiteListPatterns.getError().message() << "\n";
156 << llvm::yaml::escape(ContentStream.str()) << "\"\n";
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp 194 OS << " " << A.first << "=\"" << A.second << "\"";
194 OS << " " << A.first << "=\"" << A.second << "\"";
tools/clang/tools/extra/clang-doc/MDGenerator.cpp 54 OS << genItalic("Defined at line " + std::to_string(L.LineNumber) + " of " +
68 OS << genEmphasis(I.Name);
72 OS << genEmphasis(I.Name) << " " << I.Text;
75 OS << genEmphasis(I.ParamName) << I.Text << Direction << "\n\n";
75 OS << genEmphasis(I.ParamName) << I.Text << Direction << "\n\n";
78 OS << genEmphasis(I.ParamName) << I.Text << Direction << "\n\n";
78 OS << genEmphasis(I.ParamName) << I.Text << Direction << "\n\n";
tools/clang/tools/extra/clang-doc/YAMLGenerator.cpp 82 OS << toHex(toStringRef(S));
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp 190 llvm::errs() << toString(Exec.takeError()) << "\n";
196 llvm::outs() << "Emiting docs in " << Format << " format.\n";
199 llvm::errs() << toString(G.takeError()) << "\n";
247 << toString(std::move(Err)) << "\n";
249 llvm::errs() << toString(std::move(Err)) << "\n";
282 llvm::errs() << toString(ReadInfos.takeError()) << "\n";
292 llvm::errs() << llvm::toString(Reduced.takeError());
300 llvm::errs() << toString(InfoPath.takeError()) << "\n";
308 llvm::errs() << "Error opening info file: " << FileErr.message()
319 llvm::errs() << toString(std::move(Err)) << "\n";
331 llvm::errs() << toString(std::move(Err)) << "\n";
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp 158 LLVM_DEBUG(llvm::dbgs() << "Query missing complete type '" << QueryString
279 LLVM_DEBUG(llvm::dbgs() << "TypoScopeQualifiers: " << TypoScopeString
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp 102 llvm::errs() << "Declaration " << ND->getNameAsString() << "("
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp 100 llvm::errs() << "Can't open " << Path << "\n";
119 llvm::errs() << "Can't open '" << OutputFile << "': " << EC.message()
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp 209 llvm::errs() << "Couldn't find YAML db: " << DB.getError().message()
227 << llvm::toString(DB.takeError()) << '\n';
241 << llvm::yaml::escape(Context.getFilePath()) << "\",\n"
244 OS << " {\"RawIdentifier\": \"" << Info.RawIdentifier << "\",\n";
255 OS << " {\"Header\": \"" << llvm::yaml::escape(Info.Header) << "\",\n"
256 << " \"QualifiedName\": \"" << Info.QualifiedName << "\"}";
281 errs() << EC.message() << "\n";
329 llvm::errs() << llvm::toString(InsertStyle.takeError()) << "\n";
337 << llvm::toString(Replacements.takeError()) << "\n";
344 llvm::errs() << llvm::toString(ChangedCode.takeError()) << "\n";
347 llvm::outs() << *ChangedCode;
409 llvm::errs() << llvm::toString(InsertStyle.takeError()) << "\n";
414 errs() << "Couldn't open file: " + FilePath.str() + ": "
415 << Buffer.getError().message() + "\n";
423 << llvm::toString(Replacements.takeError()) << "\n";
433 << Context.getHeaderInfos().front().Header << " for "
444 llvm::errs() << llvm::toString(ChangedCode.takeError()) << "\n";
447 llvm::outs() << *ChangedCode;
tools/clang/tools/extra/clang-move/HelperDeclRefGraph.cpp 119 << FuncRef->getDecl()->getNameAsString() << " ("
129 << "Find helper class usage: " << UsedClass->getNameAsString()
tools/clang/tools/extra/clang-move/Move.cpp 91 llvm::errs() << "Warning: could not make absolute file: '" << EC.message()
676 LLVM_DEBUG(llvm::dbgs() << "Add helper : " << ND->getNameAsString() << " ("
737 << D->getNameAsString() << " (" << D << ")\n");
741 << D->getNameAsString() << " (" << D << ")\n");
756 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
774 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
784 llvm::errs() << llvm::toString(Style.takeError()) << "\n";
791 llvm::errs() << llvm::toString(CleanReplacements.takeError()) << "\n";
821 LLVM_DEBUG(llvm::dbgs() << "Helper used in new.cc: " << D->getNameAsString()
tools/clang/tools/extra/clang-move/tool/ClangMove.cpp 140 llvm::outs() << " \"DeclarationName\": \"" << I->QualifiedName
142 llvm::outs() << " \"DeclarationType\": \"" << I->Kind << "\",\n";
157 llvm::errs() << "Failed to create " << NewCC << ": " << EC.message()
157 llvm::errs() << "Failed to create " << NewCC << ": " << EC.message()
165 llvm::errs() << "Failed to create " << NewHeader << ": " << EC.message()
165 llvm::errs() << "Failed to create " << NewHeader << ": " << EC.message()
200 << llvm::yaml::escape(ContentStream.str()) << "\"\n";
tools/clang/tools/extra/clang-query/Query.cpp 25 OS << ErrStr << "\n";
104 OS << "\n " << prefixText << Source << "\n";
105 OS << " " << std::string(prefixText.size() + Source.size(), '=') << '\n';
125 OS << "Binding for \"" << BI->first << "\":\n";
130 OS << "Binding for \"" << BI->first << "\":\n";
tools/clang/tools/extra/clang-query/tool/ClangQuery.cpp 69 llvm::errs() << ExeName << ": cannot open " << FileName << "\n";
tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp 72 llvm::errs() << "Field " << Name << " not found in definition.\n";
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp 150 << llvm::toString(std::move(Err)) << "\n";
194 << Buffer.getError().message() << "\n";
202 llvm::errs() << llvm::toString(Style.takeError()) << "\n";
209 llvm::errs() << llvm::toString(Replacements.takeError()) << "\n";
218 llvm::errs() << llvm::toString(FormattedReplacements.takeError())
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp 92 << llvm::toString(std::move(Err)) << "\n";
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp 297 llvm::errs() << "Can't read " << ConfigFile << ": " << EC.message()
311 << ParsedOptions.getError().message() << "\n";
tools/clang/tools/extra/clang-tidy/ClangTidyProfiling.cpp 48 OS << "\"file\": \"" << Storage->SourceFilename << "\",\n";
64 << "': " << EC.message() << "\n";
71 llvm::errs() << "Error opening output file '" << Storage->StoreFilename
72 << "': " << EC.message() << "\n";
tools/clang/tools/extra/clang-tidy/bugprone/DynamicStaticInitializersCheck.cpp 37 << RawStringHeaderFileExtensions << "\n";
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp 147 Stream << " : " << joined << "()";
150 Stream << " " << joined << "(),";
153 Stream << ", " << joined << "()";
tools/clang/tools/extra/clang-tidy/google/GlobalNamesInHeadersCheck.cpp 30 << RawStringHeaderFileExtensions << "\n";
tools/clang/tools/extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.cpp 29 << RawStringHeaderFileExtensions << "\n";
tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.cpp 41 << RawStringHeaderFileExtensions << "\n";
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp 865 << Decl->getBeginLoc().printToString(*Result.SourceManager)
902 << MacroNameTok.getLocation().printToString(SourceMgr)
tools/clang/tools/extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp 208 Str << "'" << ChooseParamName(ParamInfo).str() << "'";
tools/clang/tools/extra/clang-tidy/tool/ClangTidyMain.cpp 262 llvm::errs() << "Invalid LineFilter: " << Err.message() << "\n\nUsage:\n";
299 << ParsedConfig.getError().message() << "\n";
314 << OverlayFile << "': " << Buffer.getError().message()
314 << OverlayFile << "': " << Buffer.getError().message()
323 << OverlayFile << "'.\n";
354 llvm::errs() << "Can't make absolute path from " << Input << ": "
355 << EC.message() << "\n";
381 llvm::outs() << "'" << Check << "' is enabled in the " << It->second
381 llvm::outs() << "'" << Check << "' is enabled in the " << It->second
397 llvm::outs() << "\n " << CheckName;
405 llvm::outs() << configurationAsText(
449 llvm::errs() << "Error opening output file: " << EC.message() << '\n';
tools/clang/tools/extra/clang-tidy/utils/TransformerClangTidyCheck.cpp 80 << llvm::toString(Transformations.takeError()) << "\n";
91 << llvm::toString(Explanation.takeError()) << "\n";
tools/clang/tools/extra/clangd/AST.cpp 157 Out << printTemplateSpecializationArgs(ND);
tools/clang/tools/extra/clangd/Diagnostics.cpp 204 OS << D.File << ":";
216 OS << diagLeveltoString(D.Severity) << ": " << D.Message;
239 OS << D.Message;
257 OS << Note.Message;
272 OS << D.File << ":";
275 return OS << D.Message;
279 OS << F.Message << " {";
tools/clang/tools/extra/clangd/FindTarget.cpp 765 OS << printQualifiedName(*T) << printTemplateSpecializationArgs(*T);
765 OS << printQualifiedName(*T) << printTemplateSpecializationArgs(*T);
tools/clang/tools/extra/clangd/FuzzyMatch.cpp 382 OS << "-+----" << std::string(WordN * 4, '-') << "\n";
tools/clang/tools/extra/clangd/Headers.cpp 229 return OS << Inc.Written << " = "
230 << (Inc.Resolved.empty() ? Inc.Resolved : "[unresolved]") << " at "
tools/clang/tools/extra/clangd/JSONTransport.cpp 111 Out << "Content-Length: " << S.size() << "\r\n\r\n" << S;
203 InMirror << Line;
271 InMirror << Line;
tools/clang/tools/extra/clangd/Protocol.cpp 80 return OS << U.uri();
510 return OS << '(' << D.severity << "): " << D.message << "]";
555 O << SI.containerName << "::" << SI.name << " - " << toJSON(SI);
555 O << SI.containerName << "::" << SI.name << " - " << toJSON(SI);
588 O << S.containerName;
594 O << S.name << " - " << toJSON(S);
630 return O << S.name << " - " << toJSON(S);
833 O << I.label << " - " << toJSON(I);
876 O << I.label << " - " << toJSON(I);
975 return O << I.name << " - " << toJSON(I);
tools/clang/tools/extra/clangd/Protocol.h 65 OS << int(Code) << ": " << Message;
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp 176 RegStream << llvm::Regex::escape(Glob.substr(I, 1));
tools/clang/tools/extra/clangd/TUScheduler.cpp 805 OS << "running " << Action.Name;
tools/clang/tools/extra/clangd/XRefs.cpp 1029 OS << S.Name << ": " << S.PreferredDeclaration;
1300 OS << llvm::join(Output, " ");
1302 OS << " = " << *P.Default;
tools/clang/tools/extra/clangd/benchmarks/IndexBenchmark.cpp 47 << llvm::toString(JSONArray.takeError());
51 llvm::errs() << "Error: top-level value is not a JSON array: " << Log
tools/clang/tools/extra/clangd/index/Serialization.cpp 182 OS << RawTable;
tools/clang/tools/extra/clangd/index/SymbolID.cpp 47 return OS << llvm::toHex(ID.raw());
tools/clang/tools/extra/clangd/index/dex/Token.h 98 return OS << T.Data;
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp 99 llvm::outs() << OS.str();
179 llvm::outs() << llvm::toString(SID.takeError()) << "\n";
192 llvm::outs() << toYAML(Sym);
226 llvm::outs() << llvm::toString(SID.takeError()) << "\n";
tools/clang/tools/extra/clangd/indexer/IndexerMain.cpp 115 llvm::errs() << llvm::toString(Executor.takeError()) << "\n";
125 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp 439 OS << clang::getClangToolFullVersion("clangd") << "\n";
494 << EC.message();
512 << EC.message();
559 << EC.message() << ". The argument will be ignored.\n";
tools/clang/tools/extra/clangd/unittests/FindTargetTests.cpp 55 return OS << D.Name << " Rel=" << D.Relations;
tools/clang/tools/extra/clangd/unittests/FuzzyMatchTests.cpp 34 OS << "'" << M.Word;
208 *OS << "\nDoesn't match '" << Str.Word << "'";
218 << Info.str();
221 *OS << "\nRanks '" << Str.Word << "'=" << *Score << " above '"
222 << LastMatch->Word << "'=" << *LastScore << "\n"
223 << Info.str();
tools/clang/tools/extra/clangd/unittests/JSONTransportTests.cpp 84 << "): error = " << llvm::toString(Params.takeError()) << "\n";
tools/clang/tools/extra/modularize/CoverageChecker.cpp 420 << " does not account for file: " << *I << "\n";
tools/clang/tools/extra/modularize/Modularize.cpp 987 errs() << "note: '" << H->second[I].Name << "' in "
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp 87 << "': " << EC.message() << '\n';
97 << "': " << EC.message() << '\n';
390 errs() << Loc.printToString(*SourceMgr)
391 << ": error : Header not found: " << MissingFile << "\n";
516 errs() << ProblemFile << "\n";
532 errs() << GoodFile << "\n";
548 errs() << (Good ? "" : "#") << File << "\n";
tools/clang/tools/extra/modularize/ModuleAssistant.cpp 82 OS << "module " << Name << " {\n";
97 OS << "exclude header \"" << *I << "\"\n";
99 OS << "header \"" << *I << "\"\n";
186 llvm::errs() << "warning: " << FilePath
274 << EC.message() << "\n";
283 OS << "// Generated by: " << CommandLine << "\n\n";
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp 878 OS << SourcePath << ":" << I->Line << ":" << I->Column << ":\n";
879 OS << getSourceLine(PP, FileID, I->Line) << "\n";
881 OS << std::string(I->Column - 1, ' ') << "^\n";
884 OS << SourcePath << ":" << BlockStartLine << ":" << BlockStartColumn
886 OS << getSourceLine(PP, BlockStartLoc) << "\n";
888 OS << std::string(BlockStartColumn - 1, ' ') << "^\n";
1148 OS << std::string(ItemKey.Column - 1, ' ') << "^\n";
1168 OS << std::string((Index * 2) + 4, ' ') << *getHeaderFilePath(H)
1178 OS << std::string(MacroInfo.DefinitionLocation.Column - 1, ' ')
1229 OS << std::string((Index * 2) + 4, ' ') << *getHeaderFilePath(H)
tools/clang/tools/extra/pp-trace/PPCallbacksTracker.cpp 519 SS << "[" << getSourceLocationString(PP, Value.getBegin()) << ", "
520 << getSourceLocationString(PP, Value.getEnd()) << "]";
546 << "Loc: " << getSourceLocationString(PP, Value[I].second) << "}";
585 SS << MM->getOwningModule()->getFullModuleName();
616 SS << PP.getSpelling(*Current);
642 SS << "\"" << Value << "\"";
tools/clang/tools/extra/pp-trace/PPTrace.cpp 96 OS << "- Callback: " << Callback.Name << "\n";
98 OS << " " << Arg.Name << ": " << Arg.Value << "\n";
98 OS << " " << Arg.Name << ": " << Arg.Value << "\n";
tools/clang/tools/extra/tool-template/ToolTemplate.cpp 97 llvm::errs() << llvm::toString(Executor.takeError()) << "\n";
115 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
119 llvm::errs() << "----" << key.str() << "\n" << value.str() << "\n";
119 llvm::errs() << "----" << key.str() << "\n" << value.str() << "\n";
tools/clang/tools/extra/unittests/clang-change-namespace/ChangeNamespaceTests.cpp 59 llvm::errs() << llvm::toString(ChangedCode.takeError());
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTest.h 149 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/tools/libclang/ARCMigrate.cpp 68 llvm::errs() << I->second << '\n';
112 llvm::errs() << I->second << '\n';
tools/clang/tools/libclang/BuildSystem.cpp 134 OS << "framework module " << MMD->ModuleName << " {\n";
tools/clang/tools/libclang/CIndex.cpp 4996 OS << Function->getParamDecl(I)->getType().getAsString(Policy);
5030 OS << NTTP->getType().getAsString(Policy);
8980 OS << "[libclang:" << Name << ':';
tools/clang/tools/libclang/CIndexer.cpp 172 OS << llvm::yaml::escape(Value) << '"';
186 OS << '"' << llvm::yaml::escape(I.value()) << '"';
193 OS << '"' << llvm::yaml::escape(I.value()) << '"';
tools/clang/unittests/AST/ASTTraverserTest.cpp 35 OS << "QualType " << QT.split().Quals.getAsString();
tools/clang/unittests/AST/MatchVerifier.h 275 Msg << "Expected dump substring <" << ExpectSubstring << ">, found <"
276 << Dump.str() << '>';
302 Msg << "Expected pretty print <" << ExpectString << ">, found <"
303 << Print.str() << '>';
tools/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp 161 IndexFile.os() << IndexText;
186 IndexFile.os() << IndexText;
tools/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp 73 llvm::errs() << llvm::toString(ft.takeError()) << "\n";
204 OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
204 OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
208 OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
208 OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
215 OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
215 OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
221 OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
221 OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
227 OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
227 OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
233 OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
233 OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
tools/clang/unittests/Format/FormatTest.cpp 51 LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestCSharp.cpp 29 LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestComments.cpp 54 LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestJS.cpp 32 LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestJava.cpp 29 LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestObjC.cpp 55 LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestProto.cpp 29 LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestRawStrings.cpp 49 LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestSelective.cpp 32 LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestTableGen.cpp 29 LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestTextProto.cpp 29 LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp 33 LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/UsingDeclarationsSorterTest.cpp 31 LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Index/IndexTests.cpp 66 return OS << S.QName << '[' << S.WrittenPos << ']' << '@' << S.DeclPos << '('
tools/clang/unittests/Rename/ClangRenameTest.h 101 llvm::errs() << llvm::toString(ChangedCode.takeError());
tools/clang/unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp 82 OS << ND->getNameAsString();
tools/clang/unittests/Tooling/RefactoringTest.cpp 122 OS << "Expected existing replacement: " << ExpectedExisting->toString()
126 << RE.getExistingReplacement()->toString() << "\n";
131 OS << "Expected new replacement: " << ExpectedNew->toString() << "\n";
133 OS << "Actual new replacement: " << RE.getNewReplacement()->toString()
139 llvm::errs() << ErrorMessage;
1333 << llvm::toString(ChangedCode.takeError()) << "\n";
tools/clang/unittests/Tooling/ReplacementTest.h 33 llvm::errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/unittests/Tooling/TransformerTest.cpp 102 << llvm::toString(ChangedCode.takeError()) << "\n";
tools/clang/utils/TableGen/ClangASTNodesEmitter.cpp 100 OS << "#ifndef " << NodeName << "\n";
101 OS << "# define " << NodeName << "(Type, Base) "
102 << BaseName << "(Type, Base)\n";
106 OS << "ABSTRACT_" << macroHierarchyName() << "(" << NodeName << "("
106 OS << "ABSTRACT_" << macroHierarchyName() << "(" << NodeName << "("
107 << R->getName() << ", " << baseName(*Base) << "))\n";
109 OS << NodeName << "(" << R->getName() << ", "
110 << baseName(*Base) << ")\n";
128 OS << "#undef " << NodeName << "\n\n";
134 OS << "LAST_" << macroHierarchyName() << "_RANGE(";
136 OS << macroHierarchyName() << "_RANGE(";
175 OS << "#ifndef ABSTRACT_" << macroHierarchyName() << "\n";
176 OS << "# define ABSTRACT_" << macroHierarchyName() << "(Type) Type\n";
179 OS << "#ifndef " << macroHierarchyName() << "_RANGE\n";
181 << macroHierarchyName() << "_RANGE(Base, First, Last)\n";
184 OS << "#ifndef LAST_" << macroHierarchyName() << "_RANGE\n";
186 << macroHierarchyName() << "_RANGE(Base, First, Last) "
187 << macroHierarchyName() << "_RANGE(Base, First, Last)\n";
192 OS << "#undef " << macroHierarchyName() << "\n";
193 OS << "#undef " << macroHierarchyName() << "_RANGE\n";
194 OS << "#undef LAST_" << macroHierarchyName() << "_RANGE\n";
195 OS << "#undef ABSTRACT_" << macroHierarchyName() << "\n";
tools/clang/utils/TableGen/ClangAttrEmitter.cpp 263 OS << " " << type << " get" << getUpperName() << "() const {\n";
285 OS << type << " " << getUpperName();
289 OS << type << " " << getLowerName() << ";";
294 OS << " " << type << " " << getLowerName() << " = " << read << ";\n";
294 OS << " " << type << " " << getLowerName() << " = " << read << ";\n";
302 OS << " " << WritePCHRecord(type, "SA->get" +
375 OS << "\n\n static const " << getType() << " Default" << getUpperName()
657 OS << " typedef " << Type << "* " << IteratorType << ";\n";
657 OS << " typedef " << Type << "* " << IteratorType << ";\n";
658 OS << " " << IteratorType << " " << BeginFn << " const {"
658 OS << " " << IteratorType << " " << BeginFn << " const {"
659 << " return " << ArgName << "; }\n";
660 OS << " " << IteratorType << " " << EndFn << " const {"
660 OS << " " << IteratorType << " " << EndFn << " const {"
661 << " return " << ArgName << " + " << ArgSizeName << "; }\n";
661 << " return " << ArgName << " + " << ArgSizeName << "; }\n";
663 << " return " << ArgSizeName << "; }\n";
664 OS << " llvm::iterator_range<" << IteratorType << "> " << RangeName
664 OS << " llvm::iterator_range<" << IteratorType << "> " << RangeName
665 << "() const { return llvm::make_range(" << BeginFn << ", " << EndFn
665 << "() const { return llvm::make_range(" << BeginFn << ", " << EndFn
670 OS << ArgName << ", " << ArgSizeName;
670 OS << ArgName << ", " << ArgSizeName;
685 << " + " << ArgSizeName << ", " << ArgName << ");\n";
685 << " + " << ArgSizeName << ", " << ArgName << ");\n";
689 OS << ArgSizeName << "(" << getUpperName() << "Size), "
690 << ArgName << "(new (Ctx, 16) " << getType() << "["
690 << ArgName << "(new (Ctx, 16) " << getType() << "["
691 << ArgSizeName << "])";
695 OS << ArgSizeName << "(0), " << ArgName << "(nullptr)";
695 OS << ArgSizeName << "(0), " << ArgName << "(nullptr)";
699 OS << getType() << " *" << getUpperName() << ", unsigned "
708 OS << " unsigned " << ArgSizeName << ";\n";
709 OS << " " << getType() << " *" << ArgName << ";";
709 OS << " " << getType() << " *" << ArgName << ";";
714 OS << " SmallVector<" << getType() << ", 4> "
726 OS << " SmallVector<" << StorageType << ", 4> "
727 << StorageName << ";\n";
728 OS << " " << StorageName << ".reserve(" << getLowerName()
734 OS << " " << StorageName << ".push_back(" << read << ");\n";
734 OS << " " << StorageName << ".push_back(" << read << ");\n";
739 << StorageName << "[i]);\n";
749 OS << " for (auto &Val : SA->" << RangeName << "())\n";
750 OS << " " << WritePCHRecord(Type, "Val");
756 << " for (const auto &Val : " << RangeName << "()) {\n"
765 OS << " for (const auto &Val : SA->" << RangeName << "())\n";
820 OS << " " << type << " get" << getUpperName() << "() const {\n";
836 OS << getLowerName() << "(" << type << "(0))";
839 OS << type << " " << getUpperName();
847 OS << " enum " << type << " {\n";
853 OS << " " << type << " " << getLowerName() << ";";
857 OS << " " << getAttrName() << "Attr::" << type << " " << getLowerName()
858 << "(static_cast<" << getAttrName() << "Attr::" << type
874 OS << "\\\"\" << " << getAttrName() << "Attr::Convert" << type << "ToStr(get"
889 OS << " static bool ConvertStrTo" << type << "(StringRef Val, ";
890 OS << type << " &Out) {\n";
891 OS << " Optional<" << type << "> R = llvm::StringSwitch<Optional<";
892 OS << type << ">>(Val)\n";
897 OS << " .Default(Optional<" << type << ">());\n";
907 OS << " static const char *Convert" << type << "ToStr("
908 << type << " Val) {\n"
931 OS << " OS << \"\\\"\" << " << getAttrName() << "Attr::Convert" << type
957 OS << " enum " << type << " {\n";
983 OS << " SmallVector<" << QualifiedTypeName << ", 4> " << getLowerName()
989 << QualifiedTypeName << ">(Record.readInt()));\n";
997 OS << " " << WritePCHRecord(QualifiedTypeName, "(*i)");
1001 OS << " static bool ConvertStrTo" << type << "(StringRef Val, ";
1002 OS << type << " &Out) {\n";
1003 OS << " Optional<" << type << "> R = llvm::StringSwitch<Optional<";
1004 OS << type << ">>(Val)\n";
1009 OS << " .Default(Optional<" << type << ">());\n";
1015 OS << " static const char *Convert" << type << "ToStr("
1016 << type << " Val) {\n"
1109 OS << " " << getType() << " tempInst" << getUpperName() << ";\n";
1137 OS << " " << getType() << " *I = A->" << getLowerName()
1139 OS << " " << getType() << " *E = A->" << getLowerName()
1155 << " = new (C, 16) " << getType()
1160 OS << " " << getType() << " *TI = tempInst" << getUpperName()
1162 OS << " " << getType() << " *I = A->" << getLowerName()
1164 OS << " " << getType() << " *E = A->" << getLowerName()
1202 OS << " for (size_t I = 0, E = " << getArgSizeName() << "; I != E;\n"
1208 " " << getArgName() << "[I] = StringRef(Mem, Ref.size());\n"
1228 OS << " " << getType() << " get" << getUpperName() << "Loc() const {\n";
1244 OS << " " << WritePCHRecord(
1360 " return \"" << Spellings[I].name() << "\";\n";
1472 OS << " if (" << arg->getIsOmitted() << ")\n"
1501 << " if (!(" << IsOmitted << ")) {\n"
1650 OS << " switch (" << VarName << ") {\n default: "
1653 OS << " case " << I.first << ": return " << I.second << ";\n";
1672 OS << ".Case(\"" << I.name() << "\", " << LateParsed << ")\n";
1898 OS << Rule.getEnumValueName() << ", \"" << Rule.getSpelling() << "\", "
1898 OS << Rule.getEnumValueName() << ", \"" << Rule.getSpelling() << "\", "
1902 << AttributeSubjectMatchRule(Rule.MetaSubject, nullptr).getEnumValue()
1973 OS << "static void " << FnName << "(llvm::SmallVectorImpl<std::pair<"
1990 OS << " MatchRules.push_back(std::make_pair(" << Rule.getEnumValue()
1991 << ", /*IsSupported=*/" << GenerateTestExpression(LangOpts)
2023 OS << " Case(\"" << Rule.getName() << "\", " << Rule.getEnumValue()
2031 OS << " Case(\"" << Rule.getName() << "\", " << Rule.getEnumValue()
2056 << Rule.getEnumValue() << ", " << SubRuleFunction << ")).\n";
2056 << Rule.getEnumValue() << ", " << SubRuleFunction << ")).\n";
2068 << AttributeSubjectMatchRule(SubMatchRule.first, nullptr).getEnumValue()
2116 OS << ".Case(\"" << S.name() << "\", " << "true" << ")\n";
2135 OS << ".Case(\"" << S.name() << "\", " << "true" << ")\n";
2171 OS << ".Case(\"" << S.name() << "\", "
2192 OS << ".Case(\"" << S.name() << "\", " << "true" << ")\n";
2218 OS << ".Case(\"" << S.name() << "\", "
2266 OS << "class " << R.getName() << "Attr : public " << SuperName << " {\n";
2301 OS << CreateSemanticSpellings(Spellings, SemanticToSyntacticMap);
2360 OS << "AT_" << ParsedAttrSpellingItr->first;
2413 OS << " : " << SuperName << "(Ctx, CommonInfo, ";
3009 OS << " .Case(\"" << S.name() << "\", " << TestStr << ")\n";
3009 OS << " .Case(\"" << S.name() << "\", " << TestStr << ")\n";
3069 OS << "if (ScopeName == \"" << I->first << "\") {\n";
3095 OS << " case AT_" << I.first << ": {\n";
3097 OS << " if (Name == \"" << Spellings[I].name() << "\" && "
3098 << "getSyntax() == AttributeCommonInfo::AS_" << Spellings[I].variety()
3099 << " && Scope == \"" << Spellings[I].nameSpace() << "\")\n"
3263 OS << "PARSED_ATTR(" << I.first << ")\n";
3399 OS << "static bool " << FnName << "(const Decl *D) {\n";
3401 OS << GetSubjectWithSuffix(Base);
3467 OS << SS.str();
3479 OS << " case " << Rule.getEnumValue() << ":\n";
3486 OS << " case " << Rule.getEnumValue() << ":\n";
3493 OS << functionNameForCustomAppertainsTo(**I) << "(D)";
3495 OS << "isa<" << GetSubjectWithSuffix(*I) << ">(D)";
3537 OS << "static bool " << FnName << "(Sema &S, const ParsedAttr &Attr) {\n";
3539 OS << " if (" << GenerateTestExpression(LangOpts) << ")\n";
3597 OS << "static bool " << FnName << "(const TargetInfo &Target) {\n";
3600 OS << " return " << Test << ";\n";
3632 OS << "static unsigned " << Name << "(const ParsedAttr &Attr) {\n";
3633 OS << Enum;
3693 SS << ", " << GenerateAppertainsTo(*I->second, OS);
3694 SS << ", " << GenerateLangOptRequirements(*I->second, OS);
3695 SS << ", " << GenerateTargetRequirements(*I->second, Dupes, OS);
3696 SS << ", " << GenerateSpellingIndexToSemanticSpelling(*I->second, OS);
3698 << PragmaAttributeSupport.generateStrictConformsTo(*I->second, OS);
3704 SS << " // AT_" << I->first << "\n";
3709 OS << SS.str();
3845 OS << SS.str();
3872 OS << SS.str();
3959 OS << Name << "\n" << std::string(Name.size(), '=') << "\n";
4016 OS << Doc.Heading << "\n" << std::string(Doc.Heading.length(), '-') << "\n";
4016 OS << Doc.Heading << "\n" << std::string(Doc.Heading.length(), '-') << "\n";
4128 OS << I.first;
4143 OS << RuleSet.getRule().getEnumValueName();
4150 OS << Rule.value().getEnumValueName();
tools/clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp 122 OS << "COMMENT_COMMAND(" << MangledName << ")\n";
tools/clang/utils/TableGen/ClangDataCollectorsEmitter.cpp 13 OS << Code->getAsUnquotedString() << "}\n)";
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 1196 OS << "#ifdef " << ComponentName << "START\n";
1197 OS << "__" << ComponentName << "START = DIAG_START_" << ComponentName
1197 OS << "__" << ComponentName << "START = DIAG_START_" << ComponentName
1199 OS << "#undef " << ComponentName << "START\n";
1469 OS << I.first << " */ " << std::string(MaxLen - I.first.size(), ' ');
1469 OS << I.first << " */ " << std::string(MaxLen - I.first.size(), ' ');
1526 OS << "CATEGORY(\"" << C << "\", " << getDiagCategoryEnum(C) << ")\n";
1526 OS << "CATEGORY(\"" << C << "\", " << getDiagCategoryEnum(C) << ")\n";
1601 OS << "DIAG_NAME_INDEX(" << R.Name << ")\n";
1653 OS << Str << "\n" << std::string(Str.size(), Kind) << "\n";
1664 OS << Line << "\n";
1764 OS << "`" << (IsRemarkGroup ? "-R" : "-W") << Name << "`_";
tools/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp 234 OS << TypeEnums;
235 OS << GenTypeEnums;
508 OS << " case OCLT_" << ITE.first.str() << ":\n"
tools/clang/utils/TableGen/ClangOptionDocEmitter.cpp 207 OS << Heading << '\n'
208 << std::string(Heading.size(), "=~-_'+<>"[Depth]) << "\n";
231 OS << Prefix << escapeRST(Option->getValueAsString("Name"));
238 OS << Separator << escapeRST(Arg);
349 OS << Description << "\n\n";
367 OS << Description << "\n\n";
tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp 164 OS << '\"' << getStringValue(R, "CmdFlag") << "\", ";
170 OS << getDevelopmentStage(R) << "\", ";
tools/clang/utils/TableGen/MveEmitter.cpp 557 << ParamAlloc.allocParam("llvm::Type *", IntegerType->llvmName())
559 OS << ParamAlloc.allocParam(IntegerType->cName(), utostr(IntegerValue))
577 OS << "Builder.CreateIntCast(" << V->varname() << ", "
578 << ParamAlloc.allocParam("llvm::Type *", IntegerType->llvmName()) << ", "
579 << ParamAlloc.allocParam("bool",
614 << ParamAlloc.allocParam("unsigned",
617 OS << Sep << Arg->varname();
647 OS << "Builder.CreateCall(CGM.getIntrinsic(" << IntNo;
652 OS << Sep << ParamAlloc.allocParam("llvm::Type *", T->llvmName());
660 OS << Sep << Arg->varname();
736 OS << " " << kv.first << " = " << kv.second << ";\n";
736 OS << " " << kv.first << " = " << kv.second << ";\n";
755 OS << V->typeName();
758 OS << V->varname() << " = ";
1271 << ST->cName() << " " << VT->cName() << ";\n";
1271 << ST->cName() << " " << VT->cName() << ";\n";
1277 OS << "typedef struct { " << VT->cName() << " val[" << n << "]; } "
1278 << MT->cName() << ";\n";
1378 << "__clang_arm_mve_alias(__builtin_arm_mve_" << Int.fullName()
1380 << RetTypeName << FunctionName << "(" << ArgTypesString << ");\n";
1380 << RetTypeName << FunctionName << "(" << ArgTypesString << ");\n";
1380 << RetTypeName << FunctionName << "(" << ArgTypesString << ");\n";
1424 OS << "#if " << condition << "\n\n";
1425 OS << parts[i].str();
1427 OS << "#endif /* " << condition << " */\n\n";
1436 OS << "TARGET_HEADER_BUILTIN(__builtin_arm_mve_" << Int.fullName()
1467 OS << kv.first;
1621 OS << prefix << "case ARM::BI__builtin_arm_mve_" << OI.Name << ":";
1633 OS << " Param" << utostr(i) << ";\n";
1640 OS << " case ARM::BI__builtin_arm_mve_" << OI.Name << ":\n";
1642 OS << " Param" << utostr(i) << " = " << OI.ParamValues[i] << ";\n";
1642 OS << " Param" << utostr(i) << " = " << OI.ParamValues[i] << ";\n";
1651 OS << MG.Code << "}\n";
1658 OS << "case ARM::BI__builtin_arm_mve_" << Int.fullName() << ":\n"
1659 << " return AliasName == \"" << Int.fullName() << "\"";
1661 OS << " || AliasName == \"" << Int.shortName() << "\"";
tools/clang/utils/TableGen/NeonEmitter.cpp 2124 OS << S << "\n";
2214 OS << "case NEON::BI__builtin_neon_" << I.first << ": ";
2295 OS << "case NEON::BI__builtin_neon_" << Def->getMangledName() << ": "
2298 OS << " l = " << LowerBound << ";";
2300 OS << " u = " << UpperBound << ";";
2433 OS << T2.str();
2434 OS << " " << T.str() << ";\n";
2460 OS << "typedef struct " << VT.str() << " {\n";
2461 OS << " " << T.str() << " val";
2464 OS << VT.str() << ";\n";
2511 OS << "#if " << InGuard << "\n";
2515 OS << (*I)->generate();
2618 OS << "#if " << InGuard << "\n";
2622 OS << (*I)->generate();
tools/dsymutil/DebugMap.cpp 180 out << val.str();
247 << toString(std::move(Err)) << '\n';
253 << toString(std::move(Err)) << '\n';
tools/dsymutil/DwarfLinker.cpp 2181 outs() << "Found clang module reference " << PCMfile;
tools/dsymutil/MachODebugMapParser.cpp 107 << MachOUtils::getArchName(
244 OS << "Symbol table for: '" << BinaryPath << "' (" << Arch.data() << ")\n";
353 WithColor::error() << "cannot load '" << BinaryPath
354 << "': " << toString(std::move(Err)) << '\n';
361 WithColor::error() << "cannot get '" << BinaryPath
362 << "' as MachO file: " << toString(std::move(Err))
tools/dsymutil/MachOUtils.cpp 62 WithColor::error() << "lipo: " << Path.getError().message() << "\n";
69 WithColor::error() << "lipo: " << ErrMsg << "\n";
84 << toString(std::move(E)) << "\n";
tools/dsymutil/SymbolMap.cpp 120 WithColor::warning() << SymbolMapPath << ": " << EC.message()
120 WithColor::warning() << SymbolMapPath << ": " << EC.message()
136 WithColor::warning() << SymbolMapPath
146 WithColor::warning() << SymbolMapPath
tools/dsymutil/dsymutil.cpp 304 << "\t\t<string>com.apple.xcode.dsym." << BI.IDStr << "</string>\n"
358 WithColor::error() << OutputFile << ": " << toString(BinOrErr.takeError());
471 WithColor::error() << toString(OptionsOrErr.takeError());
485 WithColor::error() << "unsupported cpu architecture: '" << Arch << "'\n";
505 WithColor::error() << "cannot parse the debug map for '" << InputFile
506 << "': " << EC.message() << '\n';
553 << MachOUtils::getArchName(Map->getTriple().getArchName()) << ")\n";
562 WithColor::error() << toString(OutputLocationOrErr.takeError());
573 WithColor::error() << toString(std::move(E));
586 WithColor::error() << OutputFile << ": " << EC.message();
586 WithColor::error() << OutputFile << ": " << EC.message();
619 WithColor::error() << toString(OutputLocationOrErr.takeError());
tools/llc/llc.cpp 247 WithColor::error() << EC.message() << '\n';
340 WithColor::error(errs(), argv[0]) << toString(std::move(E)) << '\n';
431 WithColor::error(errs(), argv[0]) << Error;
485 WithColor::error(errs(), argv[0]) << EC.message() << '\n';
557 << TPC.getLimitedCodeGenPipelineReason(" and ") << ".\n";
tools/lld/COFF/Chunks.cpp 346 os << s;
tools/lld/COFF/Driver.cpp 620 os << toString(*arg) << "\n";
626 os << "/libpath:" << quote(relPath) << "\n";
630 os << quote(relativeToRoot(path)) << "\n";
1145 outs() << getLLDVersion() << "\n";
tools/lld/COFF/DriverUtils.cpp 517 out << createManifestXml();
tools/lld/COFF/MapFile.cpp 81 os << indent16 << toString(*syms[i]);
121 os << symStr[sym] << '\n';
tools/lld/COFF/PDB.cpp 1318 << std::string(80, '-') << '\n';
tools/lld/COFF/SymbolTable.cpp 173 os << toString(file);
175 os << ":(" << toString(*loc.sym) << ')';
204 os << "undefined symbol: " << toString(*undefDiag.sym);
215 os << s;
543 os << toString(file);
568 os << "duplicate symbol: " << toString(*existing);
572 os << getSourceLocation(d->getFile(), d->getChunk(), d->getValue(),
575 os << getSourceLocation(existing->getFile(), nullptr, 0, "");
577 os << getSourceLocation(newFile, newSc, newSectionOffset,
tools/lld/Common/ErrorHandler.cpp 168 *errorOS << sep << getLocation(msg) << ": " << Colors::MAGENTA
193 *errorOS << sep << getLocation(msg) << ": " << Colors::RED
196 *errorOS << sep << getLocation(msg) << ": " << Colors::RED
tools/lld/ELF/DriverUtils.cpp 179 os << quote(rewritePath(arg->getValue())) << "\n";
186 os << "-o " << quote(sys::path::filename(arg->getValue())) << "\n";
195 os << arg->getSpelling() << " " << quote(rewritePath(arg->getValue()))
199 os << toString(*arg) << "\n";
tools/lld/ELF/MapFile.cpp 93 os << indent16 << toString(*syms[i]);
136 os << indent8 << toString(p.sec->file) << ":(" << p.sec->name << "+0x"
170 os << cmd->commandString << '\n';
189 os << indent8 << toString(isec) << '\n';
191 os << symStr[sym] << '\n';
199 os << indent8 << cmd->commandString << '\n';
208 os << indent8 << cmd->commandString << '\n';
tools/lld/MinGW/Driver.cpp 375 outs() << llvm::join(linkArgs, " ") << "\n";
tools/lld/lib/Core/Error.cpp 89 OS << Msg;
tools/lld/lib/Core/Resolver.cpp 227 << ": " << ec.message() << "\n";
428 << ": " << _ctx.demangle(undef->name())
tools/lld/lib/ReaderWriter/FileArchive.cpp 148 llvm::errs() << memberPath << "\n";
tools/lld/lib/ReaderWriter/MachO/LayoutPass.cpp 78 llvm::dbgs() << " " << atomToDebugString(atom) << "\n";
86 << ": " << atomToDebugString(ref->target()) << "\n";
258 << rc._atom.get()->name() << "' (" << reason << ")\n";
tools/lld/wasm/Driver.cpp 550 os << quote(relativeToRoot(arg->getValue())) << "\n";
557 os << "-o " << quote(sys::path::filename(arg->getValue())) << "\n";
560 os << toString(*arg) << "\n";
659 outs() << getLLDVersion() << "\n";
tools/lld/wasm/InputChunks.cpp 103 LLVM_DEBUG(dbgs() << "applying relocations: " << toString(this)
tools/lld/wasm/InputFiles.cpp 250 LLVM_DEBUG(dbgs() << "Parsing object: " << toString(this) << "\n");
471 LLVM_DEBUG(dbgs() << "Parsing library: " << toString(this) << "\n");
494 LLVM_DEBUG(dbgs() << "from archive: " << toString(this) << "\n");
tools/lld/wasm/OutputSections.cpp 225 os << name;
tools/lld/wasm/SymbolTable.cpp 271 << (function ? toString(function->signature) : "none")
432 << (sig ? toString(*sig) : "none")
565 << " " << toString(*sig) << "\n");
588 LLVM_DEBUG(dbgs() << "variant already exists: " << toString(*variant) << "\n");
694 << toString(*f->signature) << "\n");
tools/lld/wasm/SyntheticSections.cpp 73 LLVM_DEBUG(llvm::dbgs() << "type " << toString(sig) << "\n");
108 LLVM_DEBUG(dbgs() << "addGOTEntry: " << toString(*sym) << "\n");
257 << toString(sym->kind()) << "\n");
tools/lld/wasm/Writer.cpp 946 LLVM_DEBUG(dbgs() << "initFunctions: " << toString(*sym) << "\n");
tools/lldb/include/lldb/Utility/Environment.h 90 Stream << "env[" << KV.first() << "] = " << KV.second << "\n";
tools/lldb/include/lldb/Utility/Reproducer.h 168 m_os << t;
tools/lldb/source/Core/Debugger.cpp 1183 error_stream << "Unable to open log file: " << ec.message();
tools/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp 53 os << operation << " failed: " << llvm::sys::StrError(err);
tools/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp 191 << R.ID.GetAsString();
216 return OS << "INFO CODE_ID " << R.ID.GetAsString();
tools/lldb/source/Utility/GDBRemote.cpp 80 Out << toHex(Val.data);
tools/lldb/source/Utility/Log.cpp 332 *stream_sp << message;
335 *stream_sp << message;
tools/lldb/source/Utility/Reproducer.cpp 283 os << m_version << "\n";
292 os << m_cwd << "\n";
tools/lldb/tools/driver/Driver.cpp 775 llvm::outs() << examples;
tools/lldb/tools/lldb-instr/Instrument.cpp 77 OS << GetRecordMethodMacroName(Static, Const, Values.empty());
129 OS << GetRegisterMethodMacroName(Static, Const);
219 llvm::outs() << GetRegisterConstructorMacro(Record->getNameAsString(),
225 llvm::outs() << GetRegisterMethodMacro(
tools/lldb/tools/lldb-server/lldb-gdbserver.cpp 183 llvm::errs() << "Error getting current directory: " << ec.message() << "\n";
tools/lldb/tools/lldb-test/lldb-test.cpp 803 outs() << "Module: " << InputFile << "\n";
816 WithColor::error() << toString(std::move(E)) << "\n";
869 WithColor::error() << File << " not recognised as an object file\n";
879 llvm::errs() << "Could not load sections for module " << File << "\n";
1074 WithColor::error() << "initialization failed: " << toString(std::move(e))
tools/lldb/tools/lldb-vscode/JSONUtils.cpp 549 src_strm << line_strm.str() << "\n";
tools/lldb/tools/lldb-vscode/LLDBUtils.cpp 24 strm << "(lldb) " << command << "\n";
tools/lldb/utils/TableGen/LLDBOptionDefEmitter.cpp 88 OS << llvm::join(O.GroupsArg.begin(), O.GroupsArg.end(), " | ");
96 OS << ", \"" << O.FullName << "\", ";
97 OS << '\'' << O.ShortName << "'";
112 OS << O.Validator;
118 OS << O.ArgEnum;
130 OS << llvm::join(CompletionArgs.begin(), CompletionArgs.end(), " | ");
137 OS << O.ArgType;
167 OS << "// Options for " << Command << "\n";
168 OS << "#ifdef " << NeededMacro << "\n";
169 OS << "constexpr static OptionDefinition g_" + ID + "_options[] = {\n";
174 OS << "#undef " << NeededMacro << "\n";
175 OS << "#endif // " << Command << " command\n\n";
tools/lldb/utils/TableGen/LLDBPropertyDefEmitter.cpp 77 OS << std::to_string(Property->getValueAsInt("DefaultUnsignedValue"));
89 OS << D->getValue()->getAsUnquotedString();
109 OS << D->getValue()->getAsUnquotedString();
129 OS << "// Property definitions for " << PropertyName << "\n";
130 OS << "#ifdef " << NeededMacro << "\n";
131 OS << "static constexpr PropertyDefinition g_" << PropertyName
137 OS << "#undef " << NeededMacro << "\n";
138 OS << "#endif // " << PropertyName << " Property\n\n";
152 OS << "// Property enum cases for " << PropertyName << "\n";
153 OS << "#ifdef " << NeededMacro << "\n";
157 OS << "#undef " << NeededMacro << "\n";
158 OS << "#endif // " << PropertyName << " Property\n\n";
tools/lli/lli.cpp 456 << "error creating EE: " << ErrorMsg << "\n";
507 errs() << Buf;
562 << '\'' << EntryFunc << "\' function not found in module.\n";
586 << "unable to find usable child executable: '" << ChildExecPath
731 errs() << "Couldn't open " << M.getModuleIdentifier()
732 << " for dumping.\nError:" << EC.message() << "\n";
tools/llvm-ar/llvm-ar.cpp 492 outs() << sys::path::convert_to_slash(ParentDir) << '/';
498 outs() << " 0x" << utohexstr(C.getDataOffset(), true);
987 << "creating " << ArchiveName << "\n";
tools/llvm-as/llvm-as.cpp 87 errs() << EC.message() << '\n';
137 errs() << OS.str();
tools/llvm-cat/llvm-cat.cpp 90 errs() << argv[0] << ": cannot open " << OutputFilename << " for writing: "
91 << EC.message();
tools/llvm-cfi-verify/lib/FileAnalysis.cpp 522 errs() << "Symbolizer failed to get line: " << E.message() << "\n";
584 OS << "Could not initialise disassembler: " << Text;
tools/llvm-cfi-verify/llvm-cfi-verify.cpp 65 errs() << "Could not open file: " << LineInfo.FileName << "\n";
102 outs() << "Blacklist Match: " << BlacklistFilename << ":" << BlameLine
157 << " with line tables from " << InputFilename << "\n";
168 << Line.FileName << ":" << Line.Line << ":" << Line.Column
169 << " (" << Line.FunctionName << ")\n";
240 outs() << " " << BlacklistFilename << ":" << KV.first << " affects "
266 errs() << "Failed to get blacklist: " << Error << "\n";
tools/llvm-config/llvm-config.cpp 87 errs() << "Can't find component: '" << Name << "' in the map. Available components are: ";
482 OS << ActivePrefix << '\n';
484 OS << ActiveBinDir << '\n';
486 OS << ActiveIncludeDir << '\n';
488 OS << ActiveLibDir << '\n';
490 OS << ActiveCMakeDir << '\n';
492 OS << ActiveIncludeOption << ' ' << LLVM_CPPFLAGS << '\n';
494 OS << ActiveIncludeOption << ' ' << LLVM_CFLAGS << '\n';
496 OS << ActiveIncludeOption << ' ' << LLVM_CXXFLAGS << '\n';
499 << ActiveLibDir << ' ' << LLVM_LDFLAGS << '\n';
539 OS << Components[I];
545 OS << Triple::normalize(LLVM_DEFAULT_TARGET_TRIPLE) << '\n';
563 OS << ActivePrefix << '\n';
585 WithColor::error(errs(), "llvm-config") << DyLibName << " is missing\n";
618 WithColor::error(errs(), "llvm-config") << "missing: " << Lib << "\n";
630 WithColor::error(errs(), "llvm-config") << "missing: " << Lib << "\n";
669 OS << GetComponentLibraryFileName(Lib, Shared);
671 OS << GetComponentLibraryPath(Lib, Shared);
676 OS << GetComponentLibraryPath(Lib, Shared);
tools/llvm-cov/CodeCoverage.cpp 369 << "No profile record found for '" << HashMismatch.first << "'"
458 InputTOF.os() << Function.Name << '\n';
772 outs() << SF << '\n';
tools/llvm-cov/CoverageExporterLcov.cpp 56 OS << "FN:" << StartLine << ',' << F.Name << '\n';
59 OS << "FNDA:" << F.ExecutionCount << ',' << F.Name << '\n';
82 OS << "SF:" << Filename << '\n';
tools/llvm-cov/CoverageReport.cpp 343 outs() << "InstantiationGroup: " << GroupSummary.Name << " with "
tools/llvm-cov/RenderingSupport.h 44 return OS.OS << std::forward<T>(Value);
tools/llvm-cov/SourceCoverageViewHTML.cpp 271 << escape(PathToStyle, Opts) << "'>";
317 OS << tag("tr", join(Columns.begin(), Columns.end(), ""));
384 OS << tag("tr", join(Columns.begin(), Columns.end(), ""), "light-row-bold");
386 OS << tag("tr", join(Columns.begin(), Columns.end(), ""), "light-row");
412 OSRef << tag(ProjectTitleTag, escape(Opts.ProjectTitle, Opts));
413 OSRef << tag(ReportTitleTag, "Coverage Report");
415 OSRef << tag(CreatedTimeTag, escape(Opts.CreatedTimeStr, Opts));
418 OSRef << tag("p", "Click " +
445 OSRef << tag("p", "Files which contain no functions. (These "
452 OSRef << tag("tr", tag("td", tag("pre", Link)), "light-row") << '\n';
457 OSRef << tag("h5", escape(Opts.getLLVMVersionString(), Opts));
472 OS << BeginSourceNameDiv << tag("pre", escape(getSourceName(), getOptions()))
597 << formatCount(CurSeg->Count) << "\n";
604 OS << Snippet;
620 OS << tag("td", Count, CoverageClass);
627 OS << tag("td", a("#" + TargetName, tag("pre", LineNoStr), TargetName),
660 << tag("pre",
672 OS << tag(ProjectTitleTag, escape(getOptions().ProjectTitle, getOptions()));
673 OS << tag(ReportTitleTag, escape(Title, getOptions()));
675 OS << tag(CreatedTimeTag,
694 OS << tag("td", tag("pre", "Line")) << tag("td", tag("pre", "Count"))
694 OS << tag("td", tag("pre", "Line")) << tag("td", tag("pre", "Count"))
695 << SourceLabel;
tools/llvm-cov/SourceCoverageViewText.cpp 43 << Opts.getLLVMVersionString();
196 OS << '^' << C;
200 << formatCount(S->Count) << "\n";
tools/llvm-cov/TestingSupport.cpp 38 errs() << "error: " << Buf;
93 errs() << "error: " << Err.message() << "\n";
tools/llvm-cov/gcov.cpp 49 errs() << GCNO << ": " << EC.message() << "\n";
49 errs() << GCNO << ": " << EC.message() << "\n";
62 errs() << GCDA << ": " << EC.message() << "\n";
62 errs() << GCDA << ": " << EC.message() << "\n";
tools/llvm-cxxdump/llvm-cxxdump.cpp 46 WithColor::error(outs(), "") << "reading file: " << EC.message() << ".\n";
tools/llvm-cxxfilt/llvm-cxxfilt.cpp 131 OS << Result << '\n';
tools/llvm-cxxmap/llvm-cxxmap.cpp 50 errs() << WhenceStr << ": ";
53 WithColor::note() << Hint << "\n";
61 errs() << WhenceStr << ": ";
64 WithColor::note() << Hint << "\n";
tools/llvm-dis/llvm-dis.cpp 191 errs() << EC.message() << '\n';
tools/llvm-dwarfdump/llvm-dwarfdump.cpp 232 WithColor::error() << Prefix << ": " << EC.message() << "\n";
295 errs() << "error in regular expression: " << Error << "\n";
455 stream << "Verifying " << Filename.str() << ":\tfile format "
tools/llvm-dwp/DWPError.h 12 void log(raw_ostream &OS) const override { OS << Info; }
tools/llvm-elfabi/ErrorCollector.cpp 45 WithColor::error(OS) << "(" << Tags[i] << ") " << Errors[i];
tools/llvm-exegesis/lib/BenchmarkResult.cpp 258 << RV.Value.toString(kRadix, kSigned);
tools/llvm-exegesis/lib/BenchmarkRunner.cpp 127 << *ObjectFilePath << "\n";
tools/llvm-exegesis/lib/LlvmState.cpp 35 errs() << "no exegesis target for " << Triple << ", using default\n";
tools/llvm-exegesis/llvm-exegesis.cpp 304 errs() << "Printing " << Name << " results to file '" << OutputFilename
304 errs() << "Printing " << Name << " results to file '" << OutputFilename
346 errs() << "unknown target '" << Points[0].LLVMTriple << "'\n";
tools/llvm-extract/llvm-extract.cpp 158 << ExtractAliases[i] << "'!\n";
169 errs() << argv[0] << ": '" << ExtractRegExpAliases[i] << "' "
170 "invalid regex: " << Error;
182 << ExtractRegExpAliases[i] << "'!\n";
192 << ExtractGlobals[i] << "'!\n";
203 errs() << argv[0] << ": '" << ExtractRegExpGlobals[i] << "' "
204 "invalid regex: " << Error;
215 << ExtractRegExpGlobals[i] << "'!\n";
225 << ExtractFuncs[i] << "'!\n";
236 errs() << argv[0] << ": '" << ExtractRegExpFuncs[i] << "' "
237 "invalid regex: " << Error;
249 << ExtractRegExpFuncs[i] << "'!\n";
365 errs() << EC.message() << '\n';
tools/llvm-ifs/llvm-ifs.cpp 106 Out << Value.getAsString();
329 OS << " - Name: " << Symbol.Name << "\n"
354 Out << YamlStr;
429 << "\nFilenames: " << PreviousInputFilePath << " "
430 << InputFilePath << "\nIfsVersion Values: " << Stub.IfsVersion
439 << "\nFilenames: " << PreviousInputFilePath << " "
440 << InputFilePath << "\nObjectFileFormat Values: "
441 << Stub.ObjectFileFormat << " "
442 << TargetStub->ObjectFileFormat << "\n";
447 << "\nFilenames: " << PreviousInputFilePath << " "
448 << InputFilePath
449 << "\nTriple Values: " << Stub.Triple << " "
450 << TargetStub->Triple << "\n";
455 << "\nFilenames: " << PreviousInputFilePath << " "
456 << InputFilePath
463 << "\nFilenames: " << PreviousInputFilePath << " "
464 << InputFilePath << "\n";
482 << Symbol.Name << ".\nFilename: " << InputFilePath
482 << Symbol.Name << ".\nFilename: " << InputFilePath
483 << "\nType Values: " << getTypeName(SI->second.Type)
484 << " " << getTypeName(Symbol.Type) << "\n";
490 << Symbol.Name << ".\nFilename: " << InputFilePath
490 << Symbol.Name << ".\nFilename: " << InputFilePath
499 << Symbol.Name << ".\nFilename: " << InputFilePath
499 << Symbol.Name << ".\nFilename: " << InputFilePath
527 WithColor::error() << "Couldn't open " << OutputFilename
tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp 109 dbgs() << "LLVM ERROR: " << Message << "\n"
138 errs() << argv[0] << ": " << Error;
tools/llvm-jitlink/llvm-jitlink.cpp 454 outs() << "Relocated section contents for " << G.getName() << ":\n";
591 LLVM_DEBUG(dbgs() << " 0: " << MainJD.getName() << "\n");
602 LLVM_DEBUG(dbgs() << " " << JDIdx << ": " << JD.getName() << "\n");
626 << "\" to " << JD.getName() << "\n";);
666 dbgs() << JD->getName() << " ";
tools/llvm-link/llvm-link.cpp 122 errs() << "Loading '" << FN << "'\n";
230 errs() << "Import parameter bad format: " << Import << "\n";
240 errs() << argv0 << ": " << FileName;
248 << FunctionName << " from " << FileName << "\n";
248 << FunctionName << " from " << FileName << "\n";
255 errs() << "Ignoring import request for weak-any function " << FunctionName
256 << " from " << FileName << "\n";
261 errs() << "Importing " << FunctionName << " from " << FileName << "\n";
261 errs() << "Importing " << FunctionName << " from " << FileName << "\n";
286 WithColor::error() << " loading file '" << File << "'\n";
294 errs() << argv0 << ": " << File << ": ";
321 errs() << "Linking in '" << File << "'\n";
386 WithColor::error() << EC.message() << '\n';
tools/llvm-lipo/llvm-lipo.cpp 45 WithColor::error(errs(), ToolName) << "'" << File << "': " << Buf;
498 OS << Slice(MachOObjOrError->get()).getArchString() << " ";
504 OS << Slice(ArchiveOrError->get()).getArchString() << " ";
513 OS << Slice(cast<MachOObjectFile>(Binary)).getArchString() << " \n";
tools/llvm-lto/llvm-lto.cpp 276 OS << ' ' << CurrentActivity;
352 outs() << "Index " << Filename << " contains "
373 outs() << Filename << ":\n";
396 outs() << Filename << ":\n";
901 outs() << "Bitcode " << Filename << " contains ObjC\n";
903 outs() << "Bitcode " << Filename << " does not contain ObjC\n";
tools/llvm-lto2/llvm-lto2.cpp 144 errs() << "llvm-lto2: " << Msg << ": " << EIB.message().c_str() << '\n';
186 llvm::errs() << "invalid resolution: " << R << '\n';
201 llvm::errs() << "invalid character " << C << " in resolution: " << R
303 llvm::errs() << argv[0] << ": missing symbol resolution for " << F
325 << UnusedRes.first.first << ',' << UnusedRes.first.second
325 << UnusedRes.first.first << ',' << UnusedRes.first.second
tools/llvm-mc/Disassembler.cpp 141 errs() << "error: no register info for target " << Triple << "\n";
148 errs() << "error: no assembly info for target " << Triple << "\n";
155 errs() << "error: no disassembler for target " << Triple << "\n";
tools/llvm-mc/llvm-mc.cpp 203 WithColor::error(errs(), ProgName) << Error;
217 WithColor::error() << EC.message() << '\n';
266 WithColor::error() << "defsym must be of the form: sym=value: " << I
337 << InputFilename << ": " << EC.message() << '\n';
337 << InputFilename << ": " << EC.message() << '\n';
451 << TheTriple.normalize() << "' with assembly variant "
tools/llvm-mca/Views/BottleneckAnalysis.cpp 647 OS << Buffer;
tools/llvm-mca/Views/DispatchStatistics.cpp 48 OS << Buffer;
81 OS << Buffer;
tools/llvm-mca/Views/InstructionInfoView.cpp 109 OS << Buffer;
tools/llvm-mca/Views/RegisterFileStatistics.cpp 163 OS << Buffer;
tools/llvm-mca/Views/ResourcePressureView.cpp 142 OS << Buffer;
177 OS << Buffer;
tools/llvm-mca/Views/RetireControlUnitStatistics.cpp 86 OS << Buffer;
tools/llvm-mca/Views/SummaryView.cpp 90 OS << Buffer;
tools/llvm-mca/Views/TimelineView.cpp 183 OS << Header;
tools/llvm-mca/llvm-mca.cpp 228 errs() << ProgName << ": " << Error;
281 WithColor::error() << toString(Cycles.takeError());
319 WithColor::error() << InputFilename << ": " << EC.message() << '\n';
319 WithColor::error() << InputFilename << ": " << EC.message() << '\n';
335 WithColor::error() << "please specify an out-of-order cpu. '" << MCPU
343 << " target triple '" << TheTriple.normalize() << "' and cpu '" << MCPU
343 << " target triple '" << TheTriple.normalize() << "' and cpu '" << MCPU
348 << "cpu '" << MCPU << "' provides itineraries. However, "
384 WithColor::error() << E.getMessage() << '\n';
387 WithColor::error() << toString(std::move(Err)) << '\n';
405 WithColor::error() << EC.message() << '\n';
417 << TheTriple.normalize() << "' with assembly variant "
476 WithColor::error() << IE.Message << '\n';
480 << "instruction: " << InstructionStr << '\n';
483 WithColor::error() << toString(std::move(NewE));
tools/llvm-mt/llvm-mt.cpp 100 OS << "invalid option '" << ArgString << "'";
104 OS << ", did you mean '" << Nearest << "'?";
tools/llvm-nm/llvm-nm.cpp 262 errs() << " " << Buf << "\n";
281 errs() << " " << Buf << "\n";
778 S << "(for architecture " << ArchitectureName << "):";
780 S << ArchiveName << "[" << CurrentFilename << "]: ";
783 S << ArchiveName << ":";
818 outs() << Name << "\n";
857 outs() << Name << " " << S.TypeChar << " " << SymbolAddrStr << " "
867 outs() << " " << Name;
1837 outs() << Filename << "(" << O->getFileName() << ")";
1875 << I->getArchFlagName() << ")"
1910 outs() << " (for architecture " << I->getArchFlagName()
2012 outs() << " (for architecture " << O.getArchFlagName() << ")";
2045 outs() << " (for architecture " << O.getArchFlagName()
tools/llvm-objcopy/llvm-objcopy.cpp 68 WithColor::error(errs(), ToolName) << Buf;
83 WithColor::error(errs(), ToolName) << "'" << File << "': " << Buf;
89 WithColor::warning(errs(), ToolName) << toString(std::move(E)) << '\n';
tools/llvm-objdump/COFFDump.cpp 653 << "0x" << format("%08x", 0) << " " << Name << '\n';
tools/llvm-objdump/ELFDump.cpp 101 Fmt << demangle(*SymName);
299 outs() << std::string(VerdefIndexWidth + 17, ' ');
tools/llvm-objdump/MachODump.cpp 229 errs() << TripleName;
231 errs() << ThumbTripleName;
2185 outs() << OFA.getArchFlagName() << "\n";
2308 << "unknown architecture named '" + ArchFlags[i] +
2417 outs() << " (architecture " << ArchitectureName << ")";
2452 << "architecture: " + ArchFlags[i] + "\n";
2531 outs() << " (architecture " << ArchitectureName << ")";
7250 << "couldn't initialize disassembler for target " << TripleName << '\n';
7292 << "couldn't initialize disassembler for target " << ThumbTripleName
7385 << DSYMPath << " is not a Mach-O file type.\n";
7417 << DSYMPath << " is not a Mach-O or Universal file type.\n";
7469 outs() << "Can't find -dis-symname: " << DisSymName << "\n";
7510 outs() << "-dis-symname: " << DisSymName << " not in the section\n";
7646 outs() << "\t## " << dli.FileName << ':' << dli.Line << ':'
9130 outs() << " tool " << MachOObjectFile::getBuildTool(bv.tool) << "\n";
9131 outs() << " version " << MachOObjectFile::getVersionString(bv.version)
9145 outs() << " platform " << MachOObjectFile::getBuildPlatform(bd.platform)
9148 outs() << " sdk " << MachOObjectFile::getVersionString(bd.sdk)
9152 outs() << " minos " << MachOObjectFile::getVersionString(bd.minos)
tools/llvm-objdump/llvm-objdump.cpp 436 errs() << ": " << Buf;
637 OS << Delimiter << LineInfo.FileName << ":" << LineInfo.Line << "\n";
1105 outs() << std::string(IndentOffset, ' ') << " ";
1334 outs() << SymbolName << ":\n";
1744 << " " << Type << "\n";
1748 << format_hex_no_prefix(VMA, AddressWidth) << " " << Type << "\n";
1908 outs() << ' ' << demangle(Name) << '\n';
tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp 167 dbgs() << "LLVM ERROR: " << Message << "\n"
218 errs() << *argv[0] << ": " << Error;
239 errs() << *argv[0] << ": " << toString(std::move(Err)) << "\n";
tools/llvm-opt-report/OptReport.cpp 152 WithColor::error() << "Can't open file " << InputFileName << ": "
153 << EC.message() << "\n";
249 WithColor::error() << "Can't open file " << OutputFileName << ": "
250 << EC.message() << "\n";
266 << EC.message() << "\n";
349 OS << FuncName;
372 RS << std::string(UCDigits - RS.str().size(), ' ');
385 RS << std::string(VFDigits + ICDigits + 1 - RS.str().size(), ' ');
394 OS << (LLI.Unrolled.Transformed && UnrolledCols < 2 ?
396 OS << (LLI.Vectorized.Transformed && VectorizedCols < 2 ?
405 OS << std::string(LNDigits + 1, ' ');
408 OS << (J.second.Unrolled.Transformed &&
411 OS << (J.second.Vectorized.Transformed &&
415 OS << " | " << std::string(J.first - 1, ' ') << "^\n";
tools/llvm-pdbutil/LinePrinter.h 135 return Printer.getStream() << Item;
tools/llvm-pdbutil/PrettyClassDefinitionDumper.cpp 61 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName();
79 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Base.getName();
tools/llvm-pdbutil/PrettyCompilandDumper.cpp 54 WithColor(Printer, PDB_ColorItem::Path).get() << FullName;
62 WithColor(Printer, PDB_ColorItem::Path).get() << File->getFileName();
67 << " (" << ChecksumType << ": " << ChecksumHexString << ")";
158 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName();
182 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName();
210 WithColor(Printer, PDB_ColorItem::Identifier).get() << Name;
227 WithColor(Printer, PDB_ColorItem::Identifier).get() << Name;
tools/llvm-pdbutil/PrettyEnumDumper.cpp 33 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
38 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
58 << EnumValue->getName();
tools/llvm-pdbutil/PrettyExternalSymbolDumper.cpp 40 WithColor(Printer, PDB_ColorItem::Identifier).get() << LinkageName;
tools/llvm-pdbutil/PrettyFunctionDumper.cpp 44 WithColor(Printer, PDB_ColorItem::Type).get() << ClassParent->getName();
78 << ClassParent->getName();
87 << ClassParent->getName();
153 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName();
175 WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName();
191 << Arg->getName();
223 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
239 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
266 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
tools/llvm-pdbutil/PrettyTypeDumper.cpp 190 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName();
333 Printer << " " << UDT->getName() << "::";
tools/llvm-pdbutil/PrettyTypedefDumper.cpp 35 << Symbol.getName();
50 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Symbol.getName();
81 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
tools/llvm-pdbutil/PrettyVariableDumper.cpp 88 WithColor(Printer, PDB_ColorItem::Identifier).get() << Var.getName();
135 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
150 << ClassParent->getName();
213 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
217 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
tools/llvm-pdbutil/llvm-pdbutil.cpp 950 WithColor(Printer, PDB_ColorItem::Path).get() << File;
956 WithColor(Printer, PDB_ColorItem::Path).get() << Obj;
960 WithColor(Printer, PDB_ColorItem::Path).get() << VFName;
1076 WithColor(Printer, PDB_ColorItem::Path).get() << FileName;
1375 << OutFileName << ".\n";
1382 outs() << "Dumping contents of stream '" << opts::exportstream::Stream
1383 << "' (index " << Index << ") to file " << OutFileName << ".\n";
1435 errs() << "Argument '" << opts::bytes::DumpBlockRangeOpt
1442 errs() << "Argument '" << opts::bytes::DumpByteRangeOpt
tools/llvm-profdata/llvm-profdata.cpp 50 errs() << Whence << ": ";
53 WithColor::note() << Hint << "\n";
60 errs() << Whence << ": ";
63 WithColor::note() << Hint << "\n";
114 errs() << toString(std::move(E)) << "\n";
676 outs() << WF.Weight << "," << WF.Filename << "\n";
709 OS << "Sum of edge counts for profile " << BaseFilename << " is 0.\n";
713 OS << "Sum of edge counts for profile " << TestFilename << " is 0.\n";
977 OS << " " << hotfunc.first << ", max count = " << hotfunc.second << "\n";
tools/llvm-rc/ResourceScriptParser.h 43 void log(raw_ostream &OS) const override { OS << CurMessage; }
tools/llvm-readobj/COFFDumper.cpp 787 OS << " flags " << utohexstr(Flags);
1454 W.startLine() << "Invalid section number: " << EC.message() << "\n";
1840 OS << EntryNameString;
tools/llvm-readobj/ELFDumper.cpp 533 OS << F.Str;
2127 OS << TagNames.at(Type) << ": [" << getDynamicString(Value) << "]";
2187 W.startLine() << L << "\n";
2768 OS << to_hexString(e->e_ident[ELF::EI_VERSION]);
2892 << format_decimal(G.Index, 5) << "] `" << G.Name << "' [" << G.Signature
2970 OS << Addend << "\n";
3024 << to_hexString(Offset, false) << " contains " << Entries
3047 OS << to_string(format_hex_no_prefix(R, ELFT::Is64Bits ? 16 : 8))
3195 OS << "There are " << to_string(Sections.size())
3197 << "0x" << to_hexString(Obj->getHeader()->e_shoff, false) << ":\n\n";
3552 << printEnum(Header->e_type, makeArrayRef(ElfObjectFileType)) << "\n"
3612 OS << Sections << "\n";
3624 OS << " None " << Sections << '\n';
4455 OS << " OS: " << AbiTag.OSName << ", ABI: " << AbiTag.ABI;
4455 OS << " OS: " << AbiTag.OSName << ", ABI: " << AbiTag.ABI;
4459 OS << " Build ID: " << getGNUBuildId(Desc);
4468 OS << " " << Property << "\n";
4615 OS << getGNUNoteTypeName(Type) << '\n';
4617 OS << getFreeBSDNoteTypeName(Type) << '\n';
4619 OS << getAMDNoteTypeName(Type) << '\n';
4621 OS << getAMDGPUNoteTypeName(Type) << '\n';
4639 OS << " " << N.Type << ":\n " << N.Value << '\n';
4639 OS << " " << N.Type << ":\n " << N.Value << '\n';
4643 OS << " " << N.Type << ":\n " << N.Value << '\n';
4643 OS << " " << N.Type << ":\n " << N.Value << '\n';
5038 OS << to_string(format_hex_no_prefix(Parser.getGotAddress(&E), 8 + Bias));
5040 OS << to_string(format_decimal(Parser.getGotOffset(&E), 6)) + "(gp)";
5042 OS << to_string(format_hex_no_prefix(E, 8 + Bias));
5044 OS << to_string(format_hex_no_prefix(Sym->st_value, 8 + Bias));
5046 OS << printEnum(Sym->getType(), makeArrayRef(ElfSymbolTypes));
5048 OS << getSymbolSectionNdx(Parser.Obj, Sym,
5051 OS << SymName << "\n";
5090 OS << to_string(format_hex_no_prefix(Parser.getPltAddress(&E), 8 + Bias));
5092 OS << to_string(format_hex_no_prefix(E, 8 + Bias));
5094 OS << to_string(format_hex_no_prefix(Sym->st_value, 8 + Bias));
5096 OS << printEnum(Sym->getType(), makeArrayRef(ElfSymbolTypes));
5098 OS << getSymbolSectionNdx(Parser.Obj, Sym,
5101 OS << SymName << "\n";
5130 OS << "FP ABI: " << printEnum(Flags->fp_abi, makeArrayRef(ElfMipsFpABIType))
5133 << printEnum(Flags->isa_ext, makeArrayRef(ElfMipsISAExtType)) << "\n";
5138 OS << "ASEs: " << printFlags(Flags->ases, makeArrayRef(ElfMipsASEFlags))
5217 W.startLine() << "Signature: " << G.Signature << "\n";
5336 << (!TargetName.empty() ? TargetName : "-") << " " << W.hex(Rel.r_addend)
5580 << (!SymbolName.empty() ? SymbolName : "-") << " " << W.hex(Rel.r_addend)
tools/llvm-readobj/llvm-readobj.cpp 394 WithColor::warning(errs(), ToolName) << EI.message() << "\n";
tools/llvm-reduce/TestRunner.cpp 37 errs() << toString(std::move(E));
tools/llvm-reduce/deltas/Delta.cpp 30 errs() << "Error making unique filename: " << EC.message() << "!\n";
tools/llvm-reduce/llvm-reduce.cpp 105 errs() << "Error opening output file: " << EC.message() << "!\n";
109 errs() << "\nDone reducing! Reduced testcase: " << OutputFilename << "\n";
tools/llvm-rtdyld/llvm-rtdyld.cpp 475 << D.second.FileName << ", line:" << D.second.Line << "\n";
563 errs() << "loaded '" << EntryPoint << "' at: " << (void*)MainAddress << "\n";
tools/llvm-size/llvm-size.cpp 140 errs() << ": " << Buf << "\n";
158 errs() << ": " << Buf << "\n";
600 << I->getArchFlagName() << "): \n";
606 << I->getArchFlagName() << ")";
639 << " (for architecture " << I->getArchFlagName()
647 outs() << " (for architecture " << I->getArchFlagName()
691 << I->getArchFlagName() << "):\n";
697 << I->getArchFlagName() << ")";
725 << " (for architecture " << I->getArchFlagName()
766 << I->getArchFlagName() << "):";
773 << I->getArchFlagName() << ")";
802 << " (for architecture " << I->getArchFlagName() << "):\n";
807 << " (for architecture " << I->getArchFlagName()
879 outs() << ToolName << ": for the -arch option: Unknown architecture "
tools/llvm-split/llvm-split.cpp 60 errs() << EC.message() << '\n';
tools/llvm-stress/llvm-stress.cpp 757 errs() << EC.message() << '\n';
tools/llvm-strings/llvm-strings.cpp 113 errs() << File << ": " << EC.message() << '\n';
113 errs() << File << ": " << EC.message() << '\n';
tools/llvm-symbolizer/llvm-symbolizer.cpp 307 errs() << "Warning: invalid dSYM hint: \"" << hint <<
tools/llvm-undname/llvm-undname.cpp 86 WithColor::error() << "Could not open input file \'" << RawFile
87 << "\': " << EC.message() << '\n';
tools/llvm-xray/xray-account.cpp 366 << " " << Row.DebugInfo << ": " << Row.Function << "\n";
366 << " " << Row.DebugInfo << ": " << Row.Function << "\n";
376 << ",\"" << Row.DebugInfo << "\",\"" << Row.Function << "\"\n";
376 << ",\"" << Row.DebugInfo << "\",\"" << Row.Function << "\"\n";
462 << FuncIdHelper.SymbolOrNumber(Entry.first) << '\n';
tools/llvm-xray/xray-graph.cpp 394 << "F" << E.first.second << " [label=\"" << S.getString(ET) << "\"";
397 << CHelper.getColorString(
408 << (VA.SymbolName.size() > 40 ? VA.SymbolName.substr(0, 40) + "..."
411 OS << "|" << VA.S.getString(VT) << "}\"";
416 << CHelper.getColorString(
456 << FuncIdHelper.SymbolOrNumber(Entry.FuncId) << '\n';
tools/llvm-xray/xray-stacks.cpp 596 OS << Converter.SymbolOrNumber(lineage.back()->FuncId) << ";";
748 errs() << CreateErrorMessage(error, Record, FuncIdHelper);
tools/obj2yaml/Error.cpp 55 void Obj2YamlError::log(raw_ostream &OS) const { OS << ErrMsg; }
tools/obj2yaml/obj2yaml.cpp 62 errs() << "Error reading file: " << Input << ": " << ErrMsg;
tools/opt/BreakpointPrinter.cpp 55 Out << Name << "\n";
tools/opt/Debugify.cpp 402 errs() << "Could not open file: " << EC.message() << ", " << Path << '\n';
tools/opt/NewPMDriver.cpp 127 << " pipeline: " << toString(std::move(Err))
271 errs() << "Failed to load passes from '" << PluginFN
301 errs() << Arg0 << ": " << toString(std::move(Err)) << "\n";
328 errs() << Arg0 << ": " << toString(std::move(Err)) << "\n";
tools/opt/PassPrinters.cpp 182 << "region: '" << R->getNameStr() << "' in function '"
tools/opt/opt.cpp 562 errs() << toString(std::move(E)) << '\n';
596 errs() << argv[0] << ": " << InputFilename
618 errs() << EC.message() << '\n';
626 errs() << EC.message() << '\n';
727 errs() << EC.message() << '\n';
tools/polly/include/polly/Support/GICHelper.h 169 OS << polly::stringFromIslObj(Map);
175 OS << polly::stringFromIslObj(Map);
181 OS << polly::stringFromIslObj(Set);
187 OS << polly::stringFromIslObj(Map);
193 OS << polly::stringFromIslObj(PMA);
199 OS << polly::stringFromIslObj(MA);
205 OS << polly::stringFromIslObj(UPMA);
211 OS << polly::stringFromIslObj(Schedule);
217 OS << polly::stringFromIslObj(Space);
tools/polly/lib/Analysis/PolyhedralInfo.cpp 88 LLVM_DEBUG(dbgs() << "Dependences :\t" << stringFromIslObj(Deps) << "\n");
91 LLVM_DEBUG(dbgs() << "Schedule: \t" << stringFromIslObj(Schedule) << "\n");
tools/polly/lib/Analysis/ScopBuilder.cpp 2826 << "the context in the parameter space: " << SpaceStr << ".\n";
2839 << "is '" << NameUserContext << "', but the name in the computed "
2840 << "context is '" << NameContext
2843 << "the context in the parameter space: " << SpaceStr << ".\n";
3341 dbgs() << "\n\nNOTE: Run time checks for " << scop->getNameStr()
tools/polly/lib/Analysis/ScopDetection.cpp 393 LLVM_DEBUG(dbgs() << RejectReason->getMessage());
1393 LLVM_DEBUG(dbgs() << "\tExpanding " << R.getNameStr() << "\n");
1400 LLVM_DEBUG(dbgs() << "\t\tTrying " << ExpandedRegion->getNameStr() << "\n");
1436 dbgs() << "\tto " << LastValidRegion->getNameStr() << "\n";
1438 dbgs() << "\tExpanding " << R.getNameStr() << " failed\n";
1640 LLVM_DEBUG(dbgs() << "Checking region: " << CurRegion.getNameStr() << "\n\t");
1875 OS << "Valid Region for Scop: " << R->getNameStr() << '\n';
1913 OS << "Valid Region for Scop: " << R->getNameStr() << '\n';
tools/polly/lib/Analysis/ScopDetectionDiagnostic.cpp 184 OS.indent(level) << "[" << j++ << "] " << Reason->getMessage() << "\n";
618 OS << Prefix;
639 OS << Suffix;
tools/polly/lib/Analysis/ScopGraphPrinter.cpp 157 << "label = \"" << Location << ErrorMessage << "\";\n";
157 << "label = \"" << Location << ErrorMessage << "\";\n";
tools/polly/lib/Analysis/ScopInfo.cpp 367 OS.indent(8) << *getElementType() << " " << getName();
394 OS << " [BasePtrOrigin: " << BasePtrOriginSAI->getName() << "]";
941 OS << MemoryAccess::getReductionOperatorStr(RT);
968 OS.indent(16) << getOriginalAccessRelationStr() << ";\n";
970 OS.indent(11) << "new: " << getNewAccessRelationStr() << ";\n";
1272 OS.indent(16) << getDomainStr() << ";\n";
1279 OS.indent(16) << getScheduleStr() << ";\n";
1482 OS << Name;
2216 OS.indent(4) << "Region: " << getNameStr() << "\n";
tools/polly/lib/CodeGen/IslAst.cpp 725 OS << ":: isl ast :: " << F.getName() << " :: " << S.getNameStr() << "\n";
759 dbgs() << S.getContextStr() << "\n";
760 dbgs() << stringFromIslObj(Schedule);
tools/polly/lib/Exchange/JSONExporter.cpp 184 errs() << "Writing JScop '" << S.getNameStr() << "' in function '"
185 << FunctionName << "' to '" << FileName << "'.\n";
185 << FunctionName << "' to '" << FileName << "'.\n";
620 << TypeTextRepresentation << "\n";
646 errs() << "No match for array '" << SAI->getName() << "' in JScop.\n";
699 errs() << "Reading JScop '" << S.getNameStr() << "' in function '"
700 << FunctionName << "' from '" << FileName << "'.\n";
700 << FunctionName << "' from '" << FileName << "'.\n";
706 errs() << "File could not be read: " << ec.message() << "\n";
772 OS << "New access function '" << *I << "' detected in JSCOP file\n";
tools/polly/lib/Support/DumpModulePass.cpp 62 LLVM_DEBUG(dbgs() << "Dumping module to " << Dumpfile << '\n');
68 errs() << EC.message() << '\n';
tools/polly/lib/Support/SCEVValidator.cpp 644 dbgs() << "Region: " << R->getNameStr() << "\n";
tools/polly/lib/Transform/ScheduleOptimizer.cpp 1505 errs() << "Do not know how to optimize for '" << OptimizeDeps << "'"
tools/sancov/sancov.cpp 187 errs() << "ERROR: " << Error.message() << "(" << Error.value() << ")\n";
440 errs() << "Ignoring unknown key: " << Key << "\n";
845 errs() << "Warning: " << BufOrErr.getError().message() << "("
976 OS << stripPathPrefix(P.first.FileName) << ":" << P.second.first << " "
977 << P.first.FunctionName << "\n";
1105 errs() << "WARNING: No coverage file for " << FileName << "\n";
1112 << "WARNING: Ignoring " << Pair.first
tools/sanstats/sanstats.cpp 91 llvm::outs() << format_hex(Addr - 1, 18) << ' ' << LineInfo->FileName
92 << ':' << LineInfo->Line << ' ' << LineInfo->FunctionName
130 errs() << argv[0] << ": " << ClInputFile << ": "
131 << MBOrErr.getError().message() << '\n';
137 errs() << argv[0] << ": " << ClInputFile << ": short read\n";
144 errs() << argv[0] << ": " << ClInputFile << ": short read\n";
tools/verify-uselistorder/verify-uselistorder.cpp 111 errs() << "verify-uselistorder: error: " << EC.message() << "\n";
119 outs() << " - filename = " << Filename << "\n";
128 errs() << "verify-uselistorder: error: " << EC.message() << "\n";
141 errs() << "verify-uselistorder: error: " << EC.message() << "\n";
154 errs() << "verify-uselistorder: error: " << BufferOr.getError().message()
547 errs() << argv[0] << ": " << InputFilename
unittests/ExecutionEngine/JITLink/MachO_x86_64_Tests.cpp 37 dbgs() << "Skipping JITLInk unit test: " << toString(TR.takeError())
unittests/Support/CommandLineTest.cpp 1624 outs()<< Errs << "\n";
unittests/Support/JSONTest.cpp 341 return OS << "(" << S.S << ", " << (S.I ? std::to_string(*S.I) : "None")
341 return OS << "(" << S.S << ", " << (S.I ? std::to_string(*S.I) : "None")
unittests/Support/YAMLIOTest.cpp 1108 out << value.str;
unittests/Support/raw_ostream_test.cpp 21 llvm::raw_string_ostream(res) << Value;
46 OS << Value;
unittests/TableGen/CodeExpanderTest.cpp 51 errs() << "Emitted diagnostic:\n" << OS.str();
unittests/Target/ARM/MachineInstrTest.cpp 475 dbgs() << Error;
unittests/tools/llvm-exegesis/Common/AssemblerUtils.h 39 outs() << "Skipping execution, host:" << sys::getProcessTriple()
40 << ", target:" << TT << "\n";
unittests/tools/llvm-exegesis/PowerPC/AnalysisTest.cpp 33 errs() << error << "\n";
utils/FileCheck/FileCheck.cpp 306 Label << GetCheckTypeAbbreviation(DiagItr->CheckTy) << ":"
539 errs() << "Missing equal sign in command-line definition '-D" << G
545 errs() << "Missing variable name in command-line definition '-D" << G
582 << REError << "\n";
592 errs() << "Could not open check file '" << CheckFilename
593 << "': " << EC.message() << '\n';
612 errs() << "Could not open input file '" << InputFilename
613 << "': " << EC.message() << '\n';
619 errs() << "FileCheck error: '" << InputFilename << "' is empty.\n";
643 << (InputFilename == "-" ? "<stdin>" : InputFilename.getValue())
645 << "Check file: " << CheckFilename << "\n"
utils/TableGen/AsmMatcherEmitter.cpp 802 errs() << TheDef->getName() << " -- " << "flattened:\"" << AsmString <<"\"\n";
808 errs() << " op[" << i << "] = " << Op.Class->ClassName << " - ";
1992 CvtOS << " static_cast<" << TargetOperandClass
2062 << getEnumNameForToken(AsmMatchConverter) << ":\n"
2121 CvtOS << " case " << Name << ":\n";
2127 << " " << Op.Class->DefaultMethod << "()"
2128 << "->" << Op.Class->RenderMethod << "(Inst, "
2131 << " static_cast<" << TargetOperandClass
2132 << "&>(*Operands[OpIdx])." << Op.Class->RenderMethod
2136 CvtOS << " static_cast<" << TargetOperandClass
2137 << "&>(*Operands[OpIdx])." << Op.Class->RenderMethod
2143 OpOS << " case " << Name << ":\n"
2195 CvtOS << " case " << Name << ":\n"
2199 OpOS << " case " << Name << ":\n"
2226 CvtOS << " case " << Name << ":\n"
2227 << " Inst.addOperand(MCOperand::createReg(" << Reg << "));\n"
2230 OpOS << " case " << Name << ":\n"
2271 OS << " " << KV.second << ",\n";
2277 OS << " /* " << KV.second << " */ { "
2278 << utostr(std::get<0>(KV.first)) << ", "
2279 << utostr(std::get<1>(KV.first)) << ", "
2280 << utostr(std::get<2>(KV.first)) << " },\n";
2330 OS << TiedOpndEnum->second << ", ";
2339 OS << CvtOS.str();
2342 OS << OpOS.str();
2370 OS << " " << CI.Name << ", // ";
2372 OS << "'" << CI.ValueName << "'\n";
2375 OS << "register class '" << CI.ValueName << "'\n";
2379 OS << "user defined class '" << CI.ValueName << "'\n";
2408 << "AsmParser::Match_" << CI.DiagnosticType << ":\n";
2409 OS << " return \"" << CI.DiagnosticString << "\";\n";
2431 OS << " case " << CI.Name << ":\n";
2433 << CI.DiagnosticType << ";\n";
2472 OS << " // '" << CI.ClassName << "' class\n";
2473 OS << " case " << CI.Name << ": {\n";
2474 OS << " DiagnosticPredicate DP(Operand." << CI.PredicateMethod
2481 << CI.DiagnosticType << ";\n";
2497 << RC.first->getName() << ": OpKind = " << RC.second->Name
2544 OS << "\n case " << A.Name << ":\n";
2683 OS << " case " << SFI.getEnumBitName() << ": return \""
2898 OS << OMI.CI->Name;
2922 OS << " case " << CI.Name << ":\n"
2923 << " return " << CI.ParserMethod << "(Operands);\n";
3007 << AsmParserName << "&AsmParser,\n";
3107 OS << " case " << CI.Name << ": return \"" << CI.Name << "\";\n";
3107 OS << " case " << CI.Name << ": return \"" << CI.Name << "\";\n";
3367 OS << " " << getNameForFeatureBitset(FeatureBitset) << ",\n";
3379 OS << I->second.getEnumBitName() << ", ";
3445 << MI->ConversionFnKind << ", ";
3460 OS << Op.Class->Name;
utils/TableGen/AsmWriterEmitter.cpp 83 O << " case " << OpsToPrint.back().first << ":";
91 O << "\n case " << OpsToPrint[i-1].first << ":";
96 O << "\n " << TheOp.getCode(PassSubtarget);
132 O << " " << FirstInst.Operands[i].getCode(PassSubtarget);
446 << Commands[1]
448 << Commands[0]
452 O << Commands[0] << "\n\n";
462 O << Commands[j];
682 O << *I;
686 O.indent(6) << "// " << Result << "\n";
1013 CasesO.indent(2) << "case " << Entry.first << ":\n";
1025 O << HeaderO.str();
1038 O << HeaderO.str();
1042 O << CasesO.str();
1101 << " " << PrintMethods[i] << "(MI, OpIdx, "
utils/TableGen/CTagsEmitter.cpp 41 OS << *Id << "\t" << BufferName << "\t" << LineAndColumn.first << "\n";
utils/TableGen/CallingConvEmitter.cpp 52 << std::string(Pad, ' ') << "MVT LocVT, CCValAssign::LocInfo LocInfo,\n"
53 << std::string(Pad, ' ')
80 << std::string(Pad, ' ') << "MVT LocVT, CCValAssign::LocInfo LocInfo,\n"
81 << std::string(Pad, ' ') << "ISD::ArgFlagsTy ArgFlags, CCState &State) {\n";
97 O << IndentStr << "if (";
103 if (i != 0) O << " ||\n " << IndentStr;
116 O << IndentStr << "}\n";
120 O << IndentStr << "if (!" << CC->getName()
122 << IndentStr << " return false;\n";
126 O << IndentStr << "if (unsigned Reg = State.AllocateReg(";
127 O << getQualifiedName(RegList->getElementAsRecord(0)) << ")) {\n";
129 O << IndentStr << "static const MCPhysReg RegList" << ++Counter
131 O << IndentStr << " ";
134 O << getQualifiedName(RegList->getElementAsRecord(i));
136 O << "\n" << IndentStr << "};\n";
137 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList"
140 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, "
142 O << IndentStr << " return false;\n";
143 O << IndentStr << "}\n";
152 O << IndentStr << "if (unsigned Reg = State.AllocateReg(";
153 O << getQualifiedName(RegList->getElementAsRecord(0));
154 O << ", " << getQualifiedName(ShadowRegList->getElementAsRecord(0));
160 O << IndentStr << "static const MCPhysReg RegList" << RegListNumber
162 O << IndentStr << " ";
165 O << getQualifiedName(RegList->getElementAsRecord(i));
167 O << "\n" << IndentStr << "};\n";
169 O << IndentStr << "static const MCPhysReg RegList"
171 O << IndentStr << " ";
174 O << getQualifiedName(ShadowRegList->getElementAsRecord(i));
176 O << "\n" << IndentStr << "};\n";
178 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList"
182 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, "
184 O << IndentStr << " return false;\n";
185 O << IndentStr << "}\n";
190 O << IndentStr << "unsigned Offset" << ++Counter
195 O << "\n" << IndentStr
202 O << "\n" << IndentStr
206 O << ");\n" << IndentStr
209 O << IndentStr << "return false;\n";
217 O << IndentStr << "static const MCPhysReg ShadowRegList"
219 O << IndentStr << " ";
222 O << getQualifiedName(ShadowRegList->getElementAsRecord(i));
224 O << "\n" << IndentStr << "};\n";
226 O << IndentStr << "unsigned Offset" << ++Counter
230 O << IndentStr << "State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset"
232 O << IndentStr << "return false;\n";
236 O << IndentStr << "LocVT = " << getEnumName(DestVT) <<";\n";
238 O << IndentStr << "LocInfo = CCValAssign::FPExt;\n";
240 O << IndentStr << "if (ArgFlags.isSExt())\n"
241 << IndentStr << IndentStr << "LocInfo = CCValAssign::SExt;\n"
241 << IndentStr << IndentStr << "LocInfo = CCValAssign::SExt;\n"
242 << IndentStr << "else if (ArgFlags.isZExt())\n"
243 << IndentStr << IndentStr << "LocInfo = CCValAssign::ZExt;\n"
243 << IndentStr << IndentStr << "LocInfo = CCValAssign::ZExt;\n"
244 << IndentStr << "else\n"
245 << IndentStr << IndentStr << "LocInfo = CCValAssign::AExt;\n";
245 << IndentStr << IndentStr << "LocInfo = CCValAssign::AExt;\n";
250 O << IndentStr << "LocVT = " << getEnumName(DestVT) << ";\n";
256 O << IndentStr << "if (ArgFlags.isSExt())\n"
257 << IndentStr << IndentStr << "LocInfo = CCValAssign::SExtUpper;\n"
257 << IndentStr << IndentStr << "LocInfo = CCValAssign::SExtUpper;\n"
258 << IndentStr << "else if (ArgFlags.isZExt())\n"
259 << IndentStr << IndentStr << "LocInfo = CCValAssign::ZExtUpper;\n"
259 << IndentStr << IndentStr << "LocInfo = CCValAssign::ZExtUpper;\n"
260 << IndentStr << "else\n"
261 << IndentStr << IndentStr << "LocInfo = CCValAssign::AExtUpper;\n";
261 << IndentStr << IndentStr << "LocInfo = CCValAssign::AExtUpper;\n";
265 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n";
266 O << IndentStr << "LocInfo = CCValAssign::BCvt;\n";
269 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n";
270 O << IndentStr << "LocInfo = CCValAssign::Trunc;\n";
273 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n";
274 O << IndentStr << "LocInfo = CCValAssign::Indirect;\n";
278 O << IndentStr
281 O << IndentStr << "return false;\n";
283 O << IndentStr
286 O << IndentStr << IndentStr << "return false;\n";
286 O << IndentStr << IndentStr << "return false;\n";
utils/TableGen/CodeEmitterGen.cpp 124 " (no match for variable " << VarName << "):\n";
343 OS << ((I > 0) ? ", " : "") << "UINT64_C(" << utostr(Bits.getRawData()[I])
507 o << " case " << InstList[i] << ":";
510 o << Case;
584 o << " " << getNameForFeatureBitset(FeatureBitset) << ",\n";
596 o << I->second.getEnumBitName() << ", ";
utils/TableGen/CodeGenDAGPatterns.cpp 196 OS << ' ' << getModeName(M) << ':';
1841 OS << Pred.Fn.getFnName() << ">>";
1846 OS << ":$" << getName();
1849 OS << ":$pred:" << Name.getScope() << ":" << Name.getIdentifier();
2990 OS << "(" << Args[0];
2992 OS << ", " << Args[i];
utils/TableGen/CodeGenHwModes.cpp 28 dbgs() << Name << ": " << Features << '\n';
utils/TableGen/CodeGenMapTable.cpp 380 OS << "static const uint16_t "<<InstrMapDesc.getName();
402 OS << OutStr <<" },\n";
411 OS << "}; // End of " << InstrMapDesc.getName() << "Table\n\n";
426 OS << " if (Opcode == " << InstrMapDesc.getName() << "Table[mid][0]) {\n";
429 OS << " if (Opcode < " << InstrMapDesc.getName() << "Table[mid][0])\n";
458 OS << " if (in" << ColName;
460 OS << ColName << "_" << ColumnI->getElement(j)->getAsUnquotedString();
460 OS << ColName << "_" << ColumnI->getElement(j)->getAsUnquotedString();
464 OS << " return " << InstrMapDesc.getName();
470 OS << " return " << InstrMapDesc.getName() << "Table[mid][1];\n";
488 OS << "// "<< InstrMapDesc.getName() << "\nLLVM_READONLY\n";
489 OS << "int "<< InstrMapDesc.getName() << "(uint16_t Opcode";
493 OS << ", enum " << ColName << " in" << ColName << ") {\n";
493 OS << ", enum " << ColName << " in" << ColName << ") {\n";
555 OS << "enum " << Entry.first << " {\n";
557 OS << "\t" << Entry.first << "_" << FieldValues[i]->getAsUnquotedString();
557 OS << "\t" << Entry.first << "_" << FieldValues[i]->getAsUnquotedString();
utils/TableGen/CodeGenRegisters.cpp 1902 dbgs() << "UnitSet " << USIdx << " " << RegUnitSets[USIdx].Name << ":";
1914 dbgs() << "UnitSet " << USIdx << " " << RegUnitSets[USIdx].Name << ":";
1959 << RegUnitSets.back().Name << ":";
1973 dbgs() << "UnitSet " << USIdx << " " << RegUnitSets[USIdx].Name << ":";
1995 LLVM_DEBUG(dbgs() << "RC " << RC.getName() << " Units: \n";
utils/TableGen/CodeGenSchedule.cpp 929 dbgs() << " " << SchedWrites[*WI].Name;
931 dbgs() << " " << SchedReads[*RI].Name;
940 LLVM_DEBUG(dbgs() << "InstRW on " << ProcModel.ModelName << " for "
948 dbgs() << " " << SchedWrites[WIdx].Name;
950 dbgs() << " " << SchedReads[RIdx].Name;
960 << " on processor " << PM.ModelName << '\n';
1097 << SchedClasses[OldSCIdx].Name << " on "
1107 LLVM_DEBUG(dbgs() << "InstRW: New SC " << SCIdx << ":" << SC.Name << " on "
1190 << " missing itinerary for class " << SchedClasses[i].Name
2164 dbgs() << Index << ": " << ModelName << " "
2170 dbgs() << Name << (IsVariadic ? " (V) " : " ");
2179 dbgs() << "SCHEDCLASS " << Index << ":" << Name << '\n'
2215 dbgs() << SchedModels.getSchedRW(PCI->RWIdx, PCI->IsRead).Name
2227 dbgs() << SchedModels.getSchedWrite(*WI).Name;
utils/TableGen/DAGISelMatcher.cpp 160 OS.indent(indent) << "CheckPatternPredicate " << Predicate << '\n';
164 OS.indent(indent) << "CheckPredicate " << getPredicate().getFnName() << '\n';
224 OS.indent(indent) << "CheckComplexPat " << Pattern.getSelectFunc() << '\n';
257 OS.indent(indent) << "EmitStringInteger " << Val << " VT=" << getEnumName(VT)
293 << OpcodeName << ": <todo flags> ";
utils/TableGen/DAGISelMatcherEmitter.cpp 256 OS << "\"" << It.first << "\",\n";
270 OS << "\"" << It << "\",\n";
352 << cast<RecordMatcher>(N)->getWhatFor();
362 << cast<RecordChildMatcher>(N)->getWhatFor();
424 OS << " // " << Pred.getFnName();
574 OS << " // " << Pattern.getSelectFunc();
575 OS << ":$" << CCPM->getName();
625 << Val << ",\n";
636 OS << "TARGET_VAL(" << getQualifiedName(Reg->TheDef) << "),\n";
641 OS << getQualifiedName(Reg->TheDef) << ",\n";
680 << "TARGET_VAL(" << getQualifiedName(Reg->TheDef) << "),\n";
684 << getQualifiedName(Reg->TheDef) << ",\n";
724 OS << ", TARGET_VAL(" << EN->getOpcodeName() << "), 0";
850 OS << " // " << TreePredicateFn(SimilarPred).getFnName() <<'\n';
852 OS << PredFn.getCodeToRunOnSDNode() << "\n }\n";
868 OS << " case " << i << ": return " << PatternPredicates[i] << ";\n";
908 OS << " bool Succeeded = " << P.getSelectFunc();
910 OS << " return " << P.getSelectFunc();
929 OS << " dbgs() << \"\\nCOMPLEX_PATTERN: " << P.getSelectFunc()
967 OS << " " << ClassName << " *N = cast<" << ClassName
967 OS << " " << ClassName << " *N = cast<" << ClassName
969 OS << Code << "\n }\n";
utils/TableGen/DFAEmitter.cpp 183 OS << '"' << S << '"';
309 OS << "using " << Name << "Action = " << ActionTypes[0] << ";\n";
311 OS << "using " << Name << "Action = std::tuple<" << join(ActionTypes, ", ")
371 void CustomDfaEmitter::printActionType(raw_ostream &OS) { OS << TypeName; }
utils/TableGen/DFAPacketizerEmitter.cpp 272 LLVM_DEBUG(dbgs() << " combo: " << ComboFuncName << ":0x"
277 LLVM_DEBUG(dbgs() << " " << FuncName << ":0x"
283 LLVM_DEBUG(dbgs() << " => combo bits: " << ComboFuncName << ":0x"
327 LLVM_DEBUG(dbgs() << " " << j << ":" << UnitName);
372 << "collectAllInsnClasses " << ProcName << " (" << M
538 OS << "DFAPacketizer *" << SubTargetClassName << "::"
539 << "create" << DFAName
541 << " static Automaton<uint64_t> A(ArrayRef<" << TargetAndDFAName
542 << "Transition>(" << TargetAndDFAName << "Transitions), "
543 << TargetAndDFAName << "TransitionInfo);\n"
utils/TableGen/ExegesisEmitter.cpp 117 OS << "\nstatic const PfmCountersInfo " << Target << Def.getName()
124 OS << " " << Target << "PfmCounterNames[" << getPfmCounterId(CycleCounter)
131 OS << " " << Target << "PfmCounterNames[" << getPfmCounterId(UopsCounter)
138 OS << " " << Target << "PfmIssueCounters + " << IssueCountersTableOffset
147 OS << "\nstatic const char* " << Target << "PfmCounterNames[] = {\n";
162 OS << "static const PfmCountersInfo::IssueCounter " << Target
166 OS << " { " << Target << "PfmCounterNames["
190 << "static const CpuAndPfmCounters " << Target << "CpuPfmCounters[] = {\n";
195 << " &" << Target << Binding->getValueAsDef("Counters")->getName() //
utils/TableGen/FastISelEmitter.cpp 122 OS << "_" << ImmPredicates.getPredicate(Code-1).getFnName();
178 OS << PredFn.getFnName() << "(imm" << i <<')';
625 OS << "static bool " << I->getFnName() << "(int64_t Imm) {\n";
626 OS << I->getImmediatePredicateCode() << "\n}\n";
657 OS << " if (" + PredicateCheck + ") {\n";
664 << "TII.get(TargetOpcode::COPY), " << Memo.PhysRegs[i]
672 OS << "(" << InstNS << "::" << Memo.Name << ", ";
673 OS << "&" << InstNS << "::" << Memo.RC->getName() << "RegClass";
679 OS << "extractsubreg(" << RetVTName
680 << ", Op0, Op0IsKill, " << Memo.SubRegNo << ");\n";
708 OS << "// FastEmit functions for " << Opcode << ".\n";
723 << getLegalCName(Opcode)
724 << "_" << getLegalCName(getName(VT))
725 << "_" << getLegalCName(getName(RetVT)) << "_";
736 << getLegalCName(Opcode) << "_"
737 << getLegalCName(getName(VT)) << "_";
748 << getLegalCName(Opcode) << "_" << getLegalCName(getName(VT))
748 << getLegalCName(Opcode) << "_" << getLegalCName(getName(VT))
749 << "_" << getLegalCName(getName(RetVT)) << "_";
760 << getLegalCName(Opcode) << "_"
761 << getLegalCName(getName(VT)) << "_";
780 << getLegalCName(Opcode) << "_";
792 OS << " case " << TypeName << ": return fastEmit_"
793 << getLegalCName(Opcode) << "_" << getLegalCName(TypeName) << "_";
793 << getLegalCName(Opcode) << "_" << getLegalCName(TypeName) << "_";
859 OS << " case " << Opcode << ": return fastEmit_"
860 << getLegalCName(Opcode) << "_";
utils/TableGen/FixedLenDecoderEmitter.cpp 800 OS << utostr(Byte) << ", ";
823 OS << utostr(Byte) << ", ";
843 OS << utostr(Byte) << ", ";
885 OS << utostr(Byte) << ", ";
1128 o.indent(Indentation) << Emitter->GuardPrefix << Decoder
1128 o.indent(Indentation) << Emitter->GuardPrefix << Decoder
1130 << Emitter->GuardPostfix
1147 OS.indent(Indentation) << Emitter->GuardPrefix << Op.Decoder
1147 OS.indent(Indentation) << Emitter->GuardPrefix << Op.Decoder
1149 << Emitter->GuardPostfix
1189 o << "!Bits[" << PredicateNamespace << "::"
1192 o << "Bits[" << PredicateNamespace << "::" << str << "]";
1930 << ": " << Name << "(" << SO.first << ", " << SO.second
utils/TableGen/GICombinerEmitter.cpp 346 OS << "#ifdef " << Name.upper() << "_GENCOMBINERHELPER_DEPS\n"
351 << "#endif // ifdef " << Name.upper() << "_GENCOMBINERHELPER_DEPS\n\n";
353 OS << "#ifdef " << Name.upper() << "_GENCOMBINERHELPER_H\n"
399 OS << "#endif // ifdef " << Name.upper() << "_GENCOMBINERHELPER_H\n\n";
401 OS << "#ifdef " << Name.upper() << "_GENCOMBINERHELPER_CPP\n"
404 << " \"" << Name.lower() << "-disable-rule\",\n"
432 << "#endif // ifdef " << Name.upper() << "_GENCOMBINERHELPER_CPP\n";
utils/TableGen/GlobalISel/CodeExpander.cpp 79 OS << Expansions.lookup(Var);
utils/TableGen/GlobalISelEmitter.cpp 578 OS << std::string(Indentation, ' ');
596 OS << std::string(Indentation, ' ');
619 OS << EmitStr;
1537 CommentOS << SymbolicName;
4829 << EnumeratorSeparator;
5188 OS << " " << getNameForFeatureBitset(FeatureBitset) << ",\n";
5200 OS << I->second.getEnumBitName() << ", ";
utils/TableGen/InfoByHwMode.cpp 96 OS << '(' << getModeName(P->first)
97 << ':' << getMVTName(P->second).str() << ')';
188 OS << '(' << getModeName(P->first) << ':' << P->second << ')';
utils/TableGen/InstrDocsEmitter.cpp 34 OS << std::string(Str.size(), Kind) << "\n" << Str << "\n"
35 << std::string(Str.size(), Kind) << "\n";
39 OS << Str << "\n" << std::string(Str.size(), Kind) << "\n";
91 OS << ": ``" << escapeForRST(StringRef(AsmString).trim(" "))
170 << "/" << SubOpTypeName << ":$" << Op.Name << ".";
181 << ":$" << Op.Name << "``\n\n";
utils/TableGen/InstrInfoEmitter.cpp 101 OS << getQualifiedName(U) << ", ";
210 OS << "{ " << Info << " }, ";
273 OS << "namespace " << OpNameNS << " {\n";
276 OS << " " << Op.first << " = " << Op.second << ",\n";
310 OS << " case " << Name << ":\n";
551 OS << "\nextern const MCInstrDesc " << TargetName << "Insts[] = {\n";
567 OS << "extern const char " << TargetName << "InstrNameData[] = {\n";
571 OS << "extern const unsigned " << TargetName <<"InstrNameIndices[] = {";
584 OS << "static inline void Init" << TargetName
586 OS << " II->InitMCInstrInfo(" << TargetName << "Insts, "
587 << TargetName << "InstrNameIndices, " << TargetName << "InstrNameData, "
587 << TargetName << "InstrNameIndices, " << TargetName << "InstrNameData, "
600 OS << "struct " << ClassName << " : public TargetInstrInfo {\n"
601 << " explicit " << ClassName
603 << " ~" << ClassName << "() override = default;\n";
625 OS << "extern const MCInstrDesc " << TargetName << "Insts[];\n";
626 OS << "extern const unsigned " << TargetName << "InstrNameIndices[];\n";
627 OS << "extern const char " << TargetName << "InstrNameData[];\n";
628 OS << ClassName << "::" << ClassName
628 OS << ClassName << "::" << ClassName
631 << " InitMCInstrInfo(" << TargetName << "Insts, " << TargetName
631 << " InitMCInstrInfo(" << TargetName << "Insts, " << TargetName
632 << "InstrNameIndices, " << TargetName << "InstrNameData, "
746 << ",&get" << Inst.DeprecatedReason << "DeprecationInfo";
749 OS << ", " << Target.getInstNamespace() << "::" << Inst.DeprecatedReason
792 OS << " " << Class.Name << "\t= " << Num++ << ",\n";
utils/TableGen/IntrinsicEmitter.cpp 120 OS << " " << Ints[i].EnumName;
123 OS << std::string(40-Ints[i].EnumName.size(), ' ');
124 OS << " // " << Ints[i].Name << "\n";
140 OS << " {llvm::StringLiteral(\"" << Target.Name << "\"), " << Target.Offset
152 OS << " \"" << Ints[i].Name << "\",\n";
592 OS << "static AttributeList getAttributes(LLVMContext &C, " << TargetPrefix
621 << intrinsic.Name << "\n";
879 OS << "static " << TargetPrefix << "Intrinsic::ID "
891 OS << "(" << TargetPrefix << "Intrinsic::ID)";
919 OS << "if (TargetPrefix == \"" << I->first << "\") ";
925 OS << " static const BuiltinEntry " << I->first << "Names[] = {\n";
927 OS << " {Intrinsic::" << P.second << ", "
928 << Table.GetOrAddStringOffset(P.first) << "}, // " << P.first << "\n";
931 OS << " auto I = std::lower_bound(std::begin(" << I->first << "Names),\n";
932 OS << " std::end(" << I->first << "Names),\n";
934 OS << " if (I != std::end(" << I->first << "Names) &&\n";
941 OS << "(" << TargetPrefix << "Intrinsic::ID)";
utils/TableGen/OptParserEmitter.cpp 145 OS << I->second;
174 OS << ", "<< getOptionName(R);
182 OS << getOptionName(*DI->getDef());
215 OS << Prefixes[PrefixKeyT(prf.begin(), prf.end())] << ", ";
221 OS << ", "<< getOptionName(R);
231 OS << getOptionName(*DI->getDef());
238 OS << getOptionName(*DI->getDef());
utils/TableGen/PredicateExpander.cpp 225 OS << Buffer;
268 OS << Buffer;
utils/TableGen/PseudoLoweringEmitter.cpp 224 o << " // Operand: " << DestOperand.Name << "\n";
utils/TableGen/RISCVCompressInstEmitter.cpp 511 << CondStream.str().substr(
515 CombinedStream << CodeStream.str();
576 o << FuncH.str();
609 CaseStream.indent(6) << "break;\n } // case " + PrevOp + "\n";
610 CaseStream.indent(4) << "case " + Namespace + "::" + CurOp + ": {\n";
628 CondStream.indent(6) << ("!STI.getFeatureBits()[" + Namespace +
634 << ("STI.getFeatureBits()[" + Namespace + "::" + Op + "]").str() +
645 << std::to_string(OpNo) + ").getReg() == MI.getOperand("
646 << std::to_string(SourceOperandMap[OpNo].TiedOpIdx)
658 << "(MI.getOperand(" + std::to_string(OpNo) + ").isImm()) &&\n" +
665 CondStream.indent(6) << "(MI.getOperand(" + std::to_string(OpNo) +
672 CodeStream.indent(6) << "// " + Dest.AsmString + "\n";
673 CodeStream.indent(6) << "OutInst.setOpcode(" + Namespace +
677 CodeStream.indent(6) << "// Operand: " + DestOperand.Name + "\n";
690 << "(MRI.getRegClass(" + Namespace +
695 CodeStream.indent(6) << "OutInst.addOperand(MI.getOperand(" +
701 CondStream.indent(6) << Namespace + "ValidateMCOperand(" +
705 CodeStream.indent(6) << "OutInst.addOperand(MI.getOperand(" +
714 << Namespace + "ValidateMCOperand(" + "MCOperand::createImm(" +
718 << "OutInst.addOperand(MCOperand::createImm(" +
724 CodeStream.indent(6) << "OutInst.addOperand(MCOperand::createReg(" +
731 CaseStream << mergeCondAndCode(CondStream, CodeStream);
734 Func << CaseStream.str() << "\n";
736 Func.indent(4) << "} // case " + CurOp + "\n";
741 o << "static bool " << Namespace
754 << " // " << MCOpPredicates[i]->getName().str() << SI->getValue()
764 o << FuncH.str();
767 o << Func.str();
utils/TableGen/RegisterBankEmitter.cpp 136 OS << " " << Bank.getEnumeratorName() << ",\n";
225 OS << "const uint32_t " << Bank.getCoverageArrayName() << "[] = {\n";
232 OS << " (1u << (" << QualifiedRegClassID << " - "
248 << QualifiedBankID << ", /* Name */ \"" << Bank.getName()
250 << "/* CoveredRegClasses */ " << Bank.getCoverageArrayName()
294 << "Added " << RC->getName() << "(" << Kind << ")\n");
utils/TableGen/RegisterInfoEmitter.cpp 147 OS << " " << RC.getName() << "RegClassID"
175 OS << "namespace " << Namespace << " {\n";
179 OS << " " << Idx.getName() << ",\t// " << ++i << "\n";
182 OS << "} // end namespace " << Namespace << "\n\n";
200 << "const RegClassWeight &" << ClassName << "::\n"
213 OS << "}, \t// " << RC.getName() << "\n";
228 << "unsigned " << ClassName << "::\n"
251 << "unsigned " << ClassName << "::getNumRegPressureSets() const {\n"
255 << "const char *" << ClassName << "::\n"
262 OS << " \"" << RegUnits.Name << "\",\n";
270 << "unsigned " << ClassName << "::\n"
278 << RegUnits.Name << "\n";
312 << "const int* " << ClassName << "::\n"
326 << "const int* " << ClassName << "::\n"
422 OS << " { " << I->first << "U, " << getQualifiedName(I->second)
484 OS << " { " << getQualifiedName(I->first) << ", " << RegNo
541 OS << "mapDwarfRegsToLLVMRegs(" << Tmp << ", " << Tmp << "Size, ";
541 OS << "mapDwarfRegsToLLVMRegs(" << Tmp << ", " << Tmp << "Size, ";
572 OS << "mapLLVMRegsToDwarfRegs(" << Tmp << ", " << Tmp << "Size, ";
572 OS << "mapLLVMRegsToDwarfRegs(" << Tmp << ", " << Tmp << "Size, ";
696 OS << "unsigned " << ClName
745 OS << Rows[r][i]->getQualifiedName() << ", ";
821 OS << " // to " << SubRegIndices[i].getName() << "\n";
825 OS << "LaneBitmask " << ClName
841 OS << "LaneBitmask " << ClName
969 OS << "extern const MCPhysReg " << TargetName << "RegDiffLists[] = {\n";
974 OS << "extern const LaneBitmask " << TargetName << "LaneMaskLists[] = {\n";
979 OS << "extern const uint16_t " << TargetName << "SubRegIdxLists[] = {\n";
985 << TargetName << "SubRegIdxRanges[] = {\n";
989 << Idx.getName() << "\n";
995 OS << "extern const char " << TargetName << "RegStrings[] = {\n";
999 OS << "extern const MCRegisterDesc " << TargetName
1017 OS << "extern const MCPhysReg " << TargetName << "RegUnitRoots[][2] = {\n";
1022 OS << " { " << getQualifiedName(Roots.front()->TheDef);
1024 OS << ", " << getQualifiedName(Roots[r]->TheDef);
1046 OS << " // " << Name << " Register Class...\n"
1047 << " const MCPhysReg " << Name
1050 OS << getQualifiedName(Reg) << ", ";
1054 OS << " // " << Name << " Bit set.\n"
1055 << " const uint8_t " << Name
1068 OS << "extern const char " << TargetName << "RegClassStrings[] = {\n";
1072 OS << "extern const MCRegisterClass " << TargetName
1077 OS << " { " << RC.getName() << ", " << RC.getName() << "Bits, "
1077 OS << " { " << RC.getName() << ", " << RC.getName() << "Bits, "
1079 << RC.getOrder().size() << ", sizeof(" << RC.getName() << "Bits), "
1080 << RC.getQualifiedName() + "RegClassID" << ", "
1090 OS << "extern const uint16_t " << TargetName;
1107 OS << "static inline void Init" << TargetName
1111 << " RI->InitMCRegisterInfo(" << TargetName << "RegDesc, "
1112 << Regs.size() + 1 << ", RA, PC, " << TargetName << "MCRegisterClasses, "
1113 << RegisterClasses.size() << ", " << TargetName << "RegUnitRoots, "
1114 << RegBank.getNumNativeRegUnits() << ", " << TargetName << "RegDiffLists, "
1115 << TargetName << "LaneMaskLists, " << TargetName << "RegStrings, "
1115 << TargetName << "LaneMaskLists, " << TargetName << "RegStrings, "
1116 << TargetName << "RegClassStrings, " << TargetName << "SubRegIdxLists, "
1116 << TargetName << "RegClassStrings, " << TargetName << "SubRegIdxLists, "
1118 << TargetName << "SubRegIdxRanges, " << TargetName
1118 << TargetName << "SubRegIdxRanges, " << TargetName
1144 OS << "class " << TargetName << "FrameLowering;\n\n";
1146 OS << "struct " << ClassName << " : public TargetRegisterInfo {\n"
1147 << " explicit " << ClassName
1174 << " static const " << TargetName << "FrameLowering *getFrameLowering(\n"
1188 OS << " extern const TargetRegisterClass " << Name << "RegClass;\n";
1250 OS << Idx.getName();
1260 OS << ", // " << Idx.getName() << '\n';
1288 << RC.getName() << '\n';
1322 OS << "static const uint32_t " << RC.getName()
1337 OS << "// " << Idx.getName();
1357 << RC.getName() << "Superclasses[] = {\n";
1359 OS << " &" << Super->getQualifiedName() << "RegClass,\n";
1366 OS << "\nstatic inline unsigned " << RC.getName()
1369 << "static ArrayRef<MCPhysReg> " << RC.getName()
1376 OS << (elem ? ", " : " ") << getQualifiedName(Elems[elem]);
1381 << "MCRegisterClasses[" << RC.getQualifiedName() + "RegClassID];\n"
1389 OS << ")\n };\n const unsigned Select = " << RC.getName()
1400 OS << " extern const TargetRegisterClass " << RC.getName()
1402 << "MCRegisterClasses[" << RC.getName() << "RegClassID],\n "
1403 << RC.getName() << "SubClassMask,\n SuperRegIdxSeqs + "
1414 OS << RC.getName() << "Superclasses,\n ";
1418 OS << RC.getName() << "GetRawAllocationOrder\n";
1428 OS << " &" << RC.getQualifiedName() << "RegClass,\n";
1435 << TargetName << "RegInfoDesc[] = { // Extra Descriptors\n";
1460 OS << "const TargetRegisterClass *" << ClassName
1473 OS << " {\t// " << RC.getName() << "\n";
1476 OS << " " << SRC->EnumValue + 1 << ",\t// " << Idx.getName()
1477 << " -> " << SRC->getName() << "\n";
1479 OS << " 0,\t// " << Idx.getName() << "\n";
1493 OS << "extern const MCRegisterDesc " << TargetName << "RegDesc[];\n";
1494 OS << "extern const MCPhysReg " << TargetName << "RegDiffLists[];\n";
1495 OS << "extern const LaneBitmask " << TargetName << "LaneMaskLists[];\n";
1496 OS << "extern const char " << TargetName << "RegStrings[];\n";
1497 OS << "extern const char " << TargetName << "RegClassStrings[];\n";
1498 OS << "extern const MCPhysReg " << TargetName << "RegUnitRoots[][2];\n";
1499 OS << "extern const uint16_t " << TargetName << "SubRegIdxLists[];\n";
1501 << TargetName << "SubRegIdxRanges[];\n";
1502 OS << "extern const uint16_t " << TargetName << "RegEncodingTable[];\n";
1506 OS << ClassName << "::\n" << ClassName
1506 OS << ClassName << "::\n" << ClassName
1509 << " : TargetRegisterInfo(" << TargetName << "RegInfoDesc"
1515 << " InitMCRegisterInfo(" << TargetName << "RegDesc, " << Regs.size() + 1
1516 << ", RA, PC,\n " << TargetName
1518 << " " << TargetName << "RegUnitRoots,\n"
1520 << " " << TargetName << "RegDiffLists,\n"
1521 << " " << TargetName << "LaneMaskLists,\n"
1522 << " " << TargetName << "RegStrings,\n"
1523 << " " << TargetName << "RegClassStrings,\n"
1524 << " " << TargetName << "SubRegIdxLists,\n"
1526 << " " << TargetName << "SubRegIdxRanges,\n"
1527 << " " << TargetName << "RegEncodingTable);\n\n";
1545 OS << getQualifiedName((*Regs)[r]) << ", ";
1568 OS << "ArrayRef<const uint32_t *> " << ClassName
1581 OS << "ArrayRef<const char *> " << ClassName
1594 OS << "const " << TargetName << "FrameLowering *\n" << TargetName
1594 OS << "const " << TargetName << "FrameLowering *\n" << TargetName
1596 << " return static_cast<const " << TargetName << "FrameLowering *>(\n"
1626 OS << "RegisterClass " << RC.getName() << ":\n";
1647 OS << " " << SRC.getName();
1652 OS << " " << SRC->getName();
1658 OS << "SubRegIndex " << SRI.getName() << ":\n";
1669 OS << "\tSubReg " << P.first->getName()
utils/TableGen/SearchableTableEmitter.cpp 285 OS << "enum " << Enum.Name << " {\n";
313 OS << " " << searchableFieldType(Field, TypeInStaticStruct) << " "
314 << Field.Name << ";\n";
347 OS << Repr;
374 OS << " size_t Idx = " << Index.Fields[0].Name << ";\n";
379 OS << "&" << Table.Name << "[Table[Idx]._index]";
391 OS << " if ((" << Field.Name << " < " << FirstRepr << ") ||\n";
391 OS << " if ((" << Field.Name << " < " << FirstRepr << ") ||\n";
392 OS << " (" << Field.Name << " > " << LastRepr << "))\n";
392 OS << " (" << Field.Name << " > " << LastRepr << "))\n";
398 OS << " " << searchableFieldType(Field, TypeInTempStruct) << " "
399 << Field.Name << ";\n";
409 OS << Field.Name;
426 OS << " int Cmp" << Field.Name << " = StringRef(LHS." << Field.Name
426 OS << " int Cmp" << Field.Name << " = StringRef(LHS." << Field.Name
427 << ").compare(RHS." << Field.Name << ");\n";
428 OS << " if (Cmp" << Field.Name << " < 0) return true;\n";
429 OS << " if (Cmp" << Field.Name << " > 0) return false;\n";
433 OS << " if ((unsigned)LHS." << Field.Name << " < (unsigned)RHS."
434 << Field.Name << ")\n";
436 OS << " if ((unsigned)LHS." << Field.Name << " > (unsigned)RHS."
437 << Field.Name << ")\n";
440 OS << " if (LHS." << Field.Name << " < RHS." << Field.Name << ")\n";
440 OS << " if (LHS." << Field.Name << " < RHS." << Field.Name << ")\n";
442 OS << " if (LHS." << Field.Name << " > RHS." << Field.Name << ")\n";
442 OS << " if (LHS." << Field.Name << " > RHS." << Field.Name << ")\n";
453 OS << " ||\n Key." << Field.Name << " != Idx->" << Field.Name;
453 OS << " ||\n Key." << Field.Name << " != Idx->" << Field.Name;
459 OS << " return &" << Table.Name << "[Idx->_index];\n";
467 OS << "const " << Table.CppTypeName << " *" << Index.Name << "(";
467 OS << "const " << Table.CppTypeName << " *" << Index.Name << "(";
475 OS << searchableFieldType(Field, TypeInArgument) << " " << Field.Name;
475 OS << searchableFieldType(Field, TypeInArgument) << " " << Field.Name;
499 OS << "constexpr " << Table.CppTypeName << " " << Table.Name << "[] = {\n";
499 OS << "constexpr " << Table.CppTypeName << " " << Table.Name << "[] = {\n";
510 OS << primaryRepresentation(Field, Entry->getValueInit(Field.Name));
786 OS << "#undef " << Guard << "\n";
utils/TableGen/SubtargetEmitter.cpp 155 OS << "namespace " << Target << " {\n";
177 OS << "} // end namespace " << Target << "\n";
214 << "extern const llvm::SubtargetFeatureKV " << Target
233 << Target << "::" << Name << ", ";
263 << "extern const llvm::SubtargetSubTypeKV " << Target
280 OS << ", &" << ProcModelName << " },\n";
542 OS << StageTable;
543 OS << OperandCycleTable;
544 OS << BypassTable;
596 ", // " << j << " " << SchedModels.getSchedClass(j).Name << "\n";
621 OS << "\nstatic const unsigned " << ProcModel.ModelName
660 OS << ProcModel.ModelName << "RegisterFiles,\n " << (1 + NumRegisterFiles);
666 OS << ProcModel.ModelName << "RegisterCosts,\n ";
682 OS << "static const llvm::MCRegisterCostEntry " << ProcModel.ModelName
705 OS << "static const llvm::MCRegisterFileDesc " << ProcModel.ModelName
713 OS << '"' << RD.Name << '"' << ", " << RD.NumPhysRegs << ", ";
756 OS << "\nstatic const llvm::MCExtraProcessorInfo " << ProcModel.ModelName
778 OS << "static const llvm::MCProcResourceDesc " << ProcModel.ModelName
815 OS << ProcModel.ModelName << "ProcResourceSubUnits + "
1057 LLVM_DEBUG(dbgs() << ProcModel.ModelName
1058 << " does not have resources for class " << SC.Name
1249 << Target << "WriteProcResTable[] = {\n"
1260 OS << "}; // " << Target << "WriteProcResTable\n";
1265 << Target << "WriteLatencyTable[] = {\n"
1274 OS << " // #" << WLIdx << " " << SchedTables.WriterNames[WLIdx] << '\n';
1276 OS << "}; // " << Target << "WriteLatencyTable\n";
1281 << Target << "ReadAdvanceTable[] = {\n"
1293 OS << "}; // " << Target << "ReadAdvanceTable\n";
1307 << PI->ModelName << "SchedClasses[] = {\n";
1320 OS << " {DBGFIELD(\"" << SchedClass.Name << "\") ";
1334 OS << "}; // " << PI->ModelName << "SchedClasses\n";
1353 OS << "static const llvm::MCSchedModel " << PM.ModelName << " = {\n";
1375 OS << " " << PM.ModelName << "ProcResources" << ",\n"
1376 << " " << PM.ModelName << "SchedClasses" << ",\n"
1388 OS << " &" << PM.ModelName << "ExtraInfo,\n";
1442 OS << Buffer;
1499 SS << "return " << T.ToClassIdx << "; // " << SC.Name << '\n';
1501 OS << Buffer;
1580 OS << " case " << VC << ": // " << SC.Name << '\n';
1594 OS << "{ // " << (SchedModels.procModelBegin() + PI)->ModelName << '\n';
1634 OS << "unsigned " << ClassName
1644 OS << "} // " << ClassName << "::resolveSchedClass\n\n";
1646 OS << "unsigned " << ClassName
1649 << " return " << Target << "_MC"
1651 << "} // " << ClassName << "::resolveVariantSchedClass\n\n";
1670 OS << "unsigned " << ClassName << "::getHwMode() const {\n";
1673 OS << " if (checkFeatures(\"" << HM.Features
1693 OS << Target;
1713 OS << " if (Bits[" << Target << "::"
1717 OS << " if (Bits[" << Target << "::"
1727 OS << "namespace " << Target << "_MC {\n"
1732 OS << "} // end namespace " << Target << "_MC\n\n";
1734 OS << "struct " << Target
1736 OS << " " << Target << "GenMCSubtargetInfo(const Triple &TT, \n"
1747 << " return " << Target << "_MC"
1817 OS << "\nstatic inline MCSubtargetInfo *create" << Target
1820 OS << " return new " << Target << "GenMCSubtargetInfo(TT, CPU, FS, ";
1822 OS << Target << "FeatureKV, ";
1826 OS << Target << "SubTypeKV, ";
1830 OS << Target << "WriteProcResTable, "
1831 << Target << "WriteLatencyTable, "
1832 << Target << "ReadAdvanceTable, ";
1835 OS << Target << "Stages, "
1836 << Target << "OperandCycles, "
1837 << Target << "ForwardingPaths";
1862 OS << "namespace " << Target << "_MC {\n"
1865 << "} // end namespace " << Target << "_MC\n\n";
1866 OS << "struct " << ClassName << " : public TargetSubtargetInfo {\n"
1867 << " explicit " << ClassName << "(const Triple &TT, StringRef CPU, "
1895 OS << "extern const llvm::SubtargetFeatureKV " << Target << "FeatureKV[];\n";
1896 OS << "extern const llvm::SubtargetSubTypeKV " << Target << "SubTypeKV[];\n";
1898 << Target << "WriteProcResTable[];\n";
1900 << Target << "WriteLatencyTable[];\n";
1902 << Target << "ReadAdvanceTable[];\n";
1905 OS << "extern const llvm::InstrStage " << Target << "Stages[];\n";
1906 OS << "extern const unsigned " << Target << "OperandCycles[];\n";
1907 OS << "extern const unsigned " << Target << "ForwardingPaths[];\n";
1910 OS << ClassName << "::" << ClassName << "(const Triple &TT, StringRef CPU, "
1910 OS << ClassName << "::" << ClassName << "(const Triple &TT, StringRef CPU, "
1914 OS << "makeArrayRef(" << Target << "FeatureKV, " << NumFeatures << "), ";
1918 OS << "makeArrayRef(" << Target << "SubTypeKV, " << NumProcs << "), ";
1922 OS << Target << "WriteProcResTable, "
1923 << Target << "WriteLatencyTable, "
1924 << Target << "ReadAdvanceTable, ";
1927 OS << Target << "Stages, "
1928 << Target << "OperandCycles, "
1929 << Target << "ForwardingPaths";
utils/TableGen/SubtargetFeatureInfo.cpp 21 errs() << getEnumName() << " " << Index << "\n" << *TheDef;
59 OS << " " << SFI.getEnumBitName() << " = " << SFI.Index << ",\n";
82 OS << " \"" << Names[I] << "\",\n";
106 OS << " Features.set(" << SFI.getEnumBitName() << ");\n";
151 OS << " Features.set(" << SFI.getEnumBitName() << ");\n";
utils/TableGen/WebAssemblyDisassemblerEmitter.cpp 109 OS << ": " << CGI.AsmString << "\n";
156 OS << " " << Op << ",\n";
utils/TableGen/X86DisassemblerTables.cpp 723 << InstructionSpecifiers[*I].name << " */\n";
880 o.indent(i * 2) << "/* " << InstructionSpecifiers[index].name << " */\n";
1033 o << o1.str();
1037 o << o2.str();
1067 errs() << newInfo.name << " would overwrite " << previousInfo.name;
1067 errs() << newInfo.name << " would overwrite " << previousInfo.name;
utils/TableGen/X86RecognizableInstr.cpp 163 errs() << "Don't support VEX.L if EVEX_L2 is enabled: " << Name << "\n";
177 errs() << "Instruction does not use a prefix: " << Name << "\n";
191 errs() << "Instruction does not use a prefix: " << Name << "\n";
205 errs() << "Instruction does not use a prefix: " << Name << "\n";
219 errs() << "Instruction does not use a prefix: " << Name << "\n";
234 errs() << "Instruction does not use a prefix: " << Name << "\n";
248 errs() << "Instruction does not use a prefix: " << Name << "\n";
263 errs() << "Instruction does not use a prefix: " << Name << "\n";
291 errs() << "Instruction does not use a prefix: " << Name << "\n";
955 errs() << "Unhandled type string " << s << "\n";
994 errs() << "Unhandled immediate encoding " << s << "\n";
1032 errs() << "Unhandled R/M register encoding " << s << "\n";
1078 errs() << "Unhandled reg/opcode register encoding " << s << "\n";
1109 errs() << "Unhandled VEX.vvvv register encoding " << s << "\n";
1123 errs() << "Unhandled mask register encoding " << s << "\n";
1162 errs() << "Unhandled memory encoding " << s << "\n";
1211 errs() << "Unhandled relocation encoding " << s << "\n";
1223 errs() << "Unhandled opcode modifier encoding " << s << "\n";
utils/not/not.cpp 38 << "' in PATH: " << Program.getError().message() << "\n";
57 WithColor::error() << ErrMsg << "\n";
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h 57 OS << V.V;
utils/yaml-bench/YAMLBench.cpp 97 outs() << prettyTag(n) << " \"" << yaml::escape(Val) << "\"";
97 outs() << prettyTag(n) << " \"" << yaml::escape(Val) << "\"";
99 outs() << prettyTag(n) << " \"" << yaml::escape(BN->getValue()) << "\"";
99 outs() << prettyTag(n) << " \"" << yaml::escape(BN->getValue()) << "\"";
101 outs() << prettyTag(n) << " [\n";
111 outs() << prettyTag(n) << " {\n";
127 outs() << prettyTag(n) << " null";
183 << " \"key1\": \"" << std::string(ValueSize, '*') << "\",\n"
184 << " \"key2\": \"" << std::string(ValueSize, '*') << "\",\n"
185 << " \"key3\": \"" << std::string(ValueSize, '*') << "\"\n"