reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

examples/BrainF/BrainFDriver.cpp
  112     errs() << "Error: You must specify the filename of the program to "
  152     errs() << "Error: module failed verification.  This shouldn't happen.\n";
  161     outs() << "------- Running JIT -------\n";
  165       errs() << "Error: execution engine creation failed.\n";
examples/Fibonacci/fibonacci.cpp
  124     errs() << argv[0] << ": Failed to construct ExecutionEngine: " << errStr
  124     errs() << argv[0] << ": Failed to construct ExecutionEngine: " << errStr
  125            << "\n";
  129   errs() << "verifying... ";
  131     errs() << argv[0] << ": Error constructing function!\n";
  131     errs() << argv[0] << ": Error constructing function!\n";
  135   errs() << "OK\n";
  136   errs() << "We just constructed this LLVM module:\n\n---------\n" << *M;
  137   errs() << "---------\nstarting fibonacci(" << n << ") with JIT...\n";
  137   errs() << "---------\nstarting fibonacci(" << n << ") with JIT...\n";
  145   outs() << "Result: " << GV.IntVal << "\n";
  145   outs() << "Result: " << GV.IntVal << "\n";
examples/HowToUseJIT/HowToUseJIT.cpp
  125   outs() << "We just constructed this LLVM module:\n\n" << *M;
  126   outs() << "\n\nRunning foo: ";
  134   outs() << "Result: " << gv.IntVal << "\n";
  134   outs() << "Result: " << gv.IntVal << "\n";
examples/HowToUseLLJIT/HowToUseLLJIT.cpp
   79   outs() << "add1(42) = " << Result << "\n";
   79   outs() << "add1(42) = " << Result << "\n";
examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/server.cpp
   54     errs() << "Error loading program symbols.\n";
   72       errs() << "Error calling setsockopt.\n";
   79     errs() << "Error on binding.\n";
examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp
 1239     errs() << "Could not find host " << HostName << "\n";
 1239     errs() << "Could not find host " << HostName << "\n";
 1252     errs() << "Failure to connect.\n";
examples/Kaleidoscope/Chapter8/toy.cpp
 1251     errs() << "Could not open file: " << EC.message();
 1259     errs() << "TheTargetMachine can't emit a file of this type";
 1266   outs() << "Wrote " << Filename << "\n";
 1266   outs() << "Wrote " << Filename << "\n";
 1266   outs() << "Wrote " << Filename << "\n";
examples/Kaleidoscope/Chapter9/toy.cpp
  251     ExprAST::dump(out << "unary" << Opcode, ind);
  268     ExprAST::dump(out << "binary" << Op, ind);
  269     LHS->dump(indent(out, ind) << "LHS:", ind + 1);
  270     RHS->dump(indent(out, ind) << "RHS:", ind + 1);
  286     ExprAST::dump(out << "call " << Callee, ind);
  304     ExprAST::dump(out << "if", ind);
  305     Cond->dump(indent(out, ind) << "Cond:", ind + 1);
  306     Then->dump(indent(out, ind) << "Then:", ind + 1);
  307     Else->dump(indent(out, ind) << "Else:", ind + 1);
  325     ExprAST::dump(out << "for", ind);
  326     Start->dump(indent(out, ind) << "Cond:", ind + 1);
  327     End->dump(indent(out, ind) << "End:", ind + 1);
  328     Step->dump(indent(out, ind) << "Step:", ind + 1);
  329     Body->dump(indent(out, ind) << "Body:", ind + 1);
  346     ExprAST::dump(out << "var", ind);
  349     Body->dump(indent(out, ind) << "Body:", ind + 1);
  396     indent(out, ind) << "FunctionAST\n";
  398     indent(out, ind) << "Body:";
  399     return Body ? Body->dump(out, ind) : out << "null\n";
examples/LLJITExamples/LLJITWithJITLink/LLJITWithJITLink.cpp
   67   outs() << "add1(42) = " << Result << "\n";
   67   outs() << "add1(42) = " << Result << "\n";
examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp
   37       dbgs() << "No object for " << M->getModuleIdentifier()
   38              << " in cache. Compiling.\n";
   42     dbgs() << "Object for " << M->getModuleIdentifier()
   43            << " loaded from cache.\n";
   76   outs() << "add1(42) = " << Result << "\n";
   76   outs() << "add1(42) = " << Result << "\n";
examples/SpeculativeJIT/SpeculativeJIT.cpp
   94     errs() << "Lazy compilation failed, Symbol Implmentation not found!\n";
  157     errs() << "Speculative compilation requires one or more dedicated compile "
gen/lib/Target/AArch64/AArch64GenAsmMatcher.inc
27438   DEBUG_WITH_TYPE("asm-matcher", dbgs() << "AsmMatcher: found " <<
27439   std::distance(MnemonicRange.first, MnemonicRange.second) << 
27440   " encodings with mnemonic '" << Mnemonic << "'\n");
27451     DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Trying to match opcode "
27452                                           << MII.getName(it->Opcode) << "\n");
27459                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
27459                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
27460                              << " against actual operand at index " << ActualIdx);
27462         DEBUG_WITH_TYPE("asm-matcher", dbgs() << " (";
27463                         Operands[ActualIdx]->print(dbgs()); dbgs() << "): ");
27465         DEBUG_WITH_TYPE("asm-matcher", dbgs() << ": ");
27467         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "actual operand index out of range ");
27476                         dbgs() << "match success using generic matcher\n");
27486                           dbgs() << "match success using target matcher\n");
27498         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "ignoring optional operand\n");
27517       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
27525       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Missing target features:";
27529                        dbgs() << "\n");
27551           dbgs() << "Early target match predicate failed with diag code "
27552                  << MatchResult << "\n");
27574                       dbgs() << "Target match predicate failed with diag code "
27575                              << MatchResult << "\n");
27587         dbgs() << "Opcode result: complete match, selecting this opcode\n");
gen/lib/Target/AArch64/AArch64GenAsmWriter.inc
11735   O << "\t";
11742   O << AsmStrs+(Bits & 8191)-1;
11763     O << ", ";
11794     O << "\t";
11805     O << ", ";
11807     O << ", [";
11815     O << ", ";
11817     O << ", [";
11830     O << ", ";
11835     O << ", ";
11841     O << ", ";
11852     O << ", ";
11858     O << ", ";
11864     O << ", [";
11872     O << ", [";
11874     O << "], ";
11879     O << ", [";
11887     O << ", [";
11889     O << "], ";
11894     O << ", [";
11902     O << ", [";
11904     O << "], ";
11909     O << ", [";
11917     O << ", [";
11919     O << "], ";
11924     O << ", [";
11932     O << ", [";
11934     O << "], ";
11939     O << ", [";
11947     O << ", [";
11949     O << "], ";
11954     O << ", [";
11962     O << ", [";
11964     O << "], ";
11969     O << ", [";
11977     O << ", [";
11979     O << "], ";
11985     O << ", [";
11992     O << ", [";
11994     O << "], ";
12000     O << ", [";
12007     O << ", [";
12009     O << "], ";
12015     O << ", [";
12022     O << ", [";
12024     O << "], ";
12030     O << ", [";
12037     O << ", [";
12039     O << "], ";
12048     O << ", ";
12055     O << ", ";
12062     O << ", ";
12064     O << ", [";
12074     O << ", [";
12083     O << ", [";
12092     O << ", [";
12101     O << ", [";
12114     O << ", ";
12119     O << "/m, ";
12123     O << ".16b, ";
12127     O << ".2s, ";
12131     O << ".2d, ";
12135     O << ".4h, ";
12139     O << ".4s, ";
12143     O << ".8h, ";
12147     O << ".8b, ";
12167     O << ", [";
12180     O << ", mul ";
12201     O << ", #0.0";
12211     O << ".d";
12213     O << ", ";
12217     O << "/z, [";
12225     O << ".h";
12227     O << ", ";
12231     O << ".s";
12233     O << ", ";
12237     O << ".b";
12239     O << ", ";
12363     O << ", ";
12369     O << ".1q, ";
12375     O << ", ";
12385     O << ", ";
12391     O << ".1d, ";
12395     O << "], ";
12400     O << ", ";
12413     O << "/m, ";
12442     O << ", ";
12462     O << "/m, ";
12495     O << ", ";
12499     O << "/z, ";
12517     O << ", mul ";
12553     O << ", ";
12582     O << ", [";
12603     O << ".1d, ";
12605     O << ".1d";
12610     O << ".2d, ";
12612     O << ".2d";
12636     O << ", ";
12638     O << ", mul ";
12695     O << ", ";
12697     O << ", ";
12699     O << ", ";
12706     O << ", ";
12713     O << ", ";
12720     O << ", ";
12726     O << ", ";
12751     O << ".16b";
12760     O << ".2s";
12765     O << ".2d";
12770     O << ".4h";
12775     O << ".4s";
12780     O << ".8h";
12785     O << ".8b";
12790     O << ", ";
12799     O << ".2d, ";
12803     O << ".4s, ";
12807     O << ".8h, ";
12811     O << "/m, ";
12819     O << ".16b, ";
12823     O << ".2s, ";
12827     O << ".4h, ";
12831     O << ".8b, ";
12840     O << "/z, ";
12854     O << ", [";
12858     O << ".16b, #0";
12863     O << ", #0";
12868     O << ".2s, #0";
12873     O << ".2d, #0";
12878     O << ".4h, #0";
12883     O << ".4s, #0";
12888     O << ".8h, #0";
12893     O << ".8b, #0";
12902     O << ", mul ";
12932     O << ".h";
12936     O << ".s";
12940     O << ".d";
12944     O << ".b";
12958     O << ".2h";
12963     O << ", #0.0";
12968     O << ".2s, #0.0";
12973     O << ".2d, #0.0";
12978     O << ".4h, #0.0";
12983     O << ".4s, #0.0";
12988     O << ".8h, #0.0";
12998     O << ".2h, ";
13008     O << "], ";
13184     O << "/z";
13189     O << ".16b, #8";
13194     O << ".2s, #32";
13199     O << ".4h, #16";
13204     O << ".4s, #32";
13209     O << ".8h, #16";
13214     O << ".8b, #8";
13274     O << ", ";
13446     O << ", #0.0";
13451     O << ".h";
13457     O << ".2h";
13616     O << ", mul vl]";
13658     O << ", ";
13664     O << ", mul vl]";
13695     O << ", ";
13697     O << ", ";
13723     O << ", ";
13727     O << ".2d";
13732     O << ".4s";
13737     O << ".8h";
13746     O << ".16b";
13751     O << ".2s";
13756     O << ".4h";
13761     O << ".8b";
13781     O << ".16b, ";
13809     O << ".8b, ";
13820     O << ".2s, ";
13824     O << ".2d, ";
13828     O << ".4h, ";
13832     O << ".4s, ";
13836     O << ".8h, ";
13840     O << ", #0.0";
13849     O << ".h";
13853     O << ".s";
13862     O << ".d";
13876     O << ", mul vl]";
13881     O << "], ";
13885     O << "]!";
13890     O << ".4b";
13896     O << ", [";
13950     O << ", ";
14106     O << ".16b";
14116     O << ", ";
14125     O << "]!";
14130     O << ".4s";
gen/lib/Target/AArch64/AArch64GenAsmWriter1.inc
12732   O << "\t";
12739   O << AsmStrs+(Bits & 32767)-1;
12760     O << ", ";
12791     O << "\t";
12802     O << ", ";
12804     O << ", [";
12812     O << ", ";
12814     O << ", [";
12827     O << ", ";
12832     O << ", ";
12838     O << ", ";
12849     O << ", ";
12855     O << ", ";
12861     O << ", [";
12869     O << ", [";
12871     O << "], ";
12876     O << ", [";
12884     O << ", [";
12886     O << "], ";
12891     O << ", [";
12899     O << ", [";
12901     O << "], ";
12906     O << ", [";
12914     O << ", [";
12916     O << "], ";
12921     O << ", [";
12929     O << ", [";
12931     O << "], ";
12936     O << ", [";
12944     O << ", [";
12946     O << "], ";
12951     O << ", [";
12959     O << ", [";
12961     O << "], ";
12966     O << ", [";
12974     O << ", [";
12976     O << "], ";
12982     O << ", [";
12989     O << ", [";
12991     O << "], ";
12997     O << ", [";
13004     O << ", [";
13006     O << "], ";
13012     O << ", [";
13019     O << ", [";
13021     O << "], ";
13027     O << ", [";
13034     O << ", [";
13036     O << "], ";
13045     O << ", ";
13052     O << ", ";
13059     O << ", ";
13061     O << ", [";
13071     O << ", [";
13080     O << ", [";
13089     O << ", [";
13098     O << ", [";
13111     O << ", ";
13116     O << "/m, ";
13136     O << ", [";
13149     O << ", mul ";
13170     O << ", #0.0";
13175     O << ".2d, ";
13180     O << ".4s, ";
13184     O << ".2s, ";
13186     O << ".2d";
13191     O << ".4h, ";
13193     O << ".4s";
13198     O << ".8h, ";
13200     O << ".4s";
13211     O << ", ";
13215     O << "/z, [";
13343     O << ", ";
13350     O << ", ";
13360     O << ", ";
13366     O << "], ";
13371     O << ", ";
13377     O << ".16b, ";
13381     O << ".8b, ";
13392     O << "/m, ";
13421     O << ", ";
13441     O << "/m, ";
13474     O << ", ";
13478     O << "/z, ";
13496     O << ", mul ";
13532     O << ", ";
13541     O << ".2s";
13546     O << ".4s";
13573     O << ", [";
13613     O << ", ";
13615     O << ", mul ";
13672     O << ", ";
13674     O << ", ";
13676     O << ", ";
13683     O << ", ";
13690     O << ", ";
13697     O << ", ";
13703     O << ", ";
13732     O << ", ";
13741     O << "/m, ";
13754     O << "/z, ";
13768     O << ", [";
13772     O << ", #0";
13781     O << ", mul ";
13821     O << ", #0.0";
13831     O << ".4h";
13836     O << ".8h";
13841     O << ".2d";
13851     O << "], ";
14027     O << "/z";
14032     O << ", #8";
14037     O << ", #32";
14042     O << ", #16";
14052     O << ".16b";
14057     O << ".8b";
14112     O << ", ";
14279     O << ", #0.0";
14438     O << ", mul vl]";
14480     O << ", ";
14486     O << ", mul vl]";
14517     O << ", ";
14519     O << ", ";
14545     O << ", ";
14597     O << ", #0.0";
14621     O << ", mul vl]";
14626     O << "], ";
14630     O << "]!";
14635     O << ", [";
14685     O << ", ";
14837     O << ", ";
14846     O << "]!";
gen/lib/Target/AArch64/AArch64GenDisassemblerTables.inc
25731       errs() << Loc << ": Unexpected decode table opcode!\n";
25738       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
25738       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
25739                    << Len << "): " << CurFieldValue << "\n");
25739                    << Len << "): " << CurFieldValue << "\n");
25755       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
25755       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
25756                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
25756                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
25757                    << " continuing at " << (Ptr - DecodeTable) << "\n");
25757                    << " continuing at " << (Ptr - DecodeTable) << "\n");
25776       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
25776       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
25777                    << Len << ", " << ExpectedValue << ", " << NumToSkip
25777                    << Len << ", " << ExpectedValue << ", " << NumToSkip
25778                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
25778                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
25779                    << ExpectedValue << ": "
25780                    << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
25797       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
25797       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
25798             << (Pred ? "PASS\n" : "FAIL\n"));
25816       LLVM_DEBUG(dbgs() << Loc << ": OPC_Decode: opcode " << Opc
25817                    << ", using decoder " << DecodeIdx << ": "
25817                    << ", using decoder " << DecodeIdx << ": "
25818                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
25818                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
25838       LLVM_DEBUG(dbgs() << Loc << ": OPC_TryDecode: opcode " << Opc
25839                    << ", using decoder " << DecodeIdx << ": ");
25839                    << ", using decoder " << DecodeIdx << ": ");
25843         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
25843         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
25850         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
25850         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
25867       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
25867       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
25871       LLVM_DEBUG(dbgs() << Loc << ": OPC_Fail\n");
gen/lib/Target/AArch64/AArch64GenMCCodeEmitter.inc
15590     Msg << "Not supported instr: " << MI;
gen/lib/Target/AArch64/AArch64GenSubtargetInfo.inc
17798   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
17799   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
17799   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/AMDGPU/AMDGPUGenAsmMatcher.inc
23963   DEBUG_WITH_TYPE("asm-matcher", dbgs() << "AsmMatcher: found " <<
23964   std::distance(MnemonicRange.first, MnemonicRange.second) << 
23965   " encodings with mnemonic '" << Mnemonic << "'\n");
23976     DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Trying to match opcode "
23977                                           << MII.getName(it->Opcode) << "\n");
23985                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
23985                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
23986                              << " against actual operand at index " << ActualIdx);
23988         DEBUG_WITH_TYPE("asm-matcher", dbgs() << " (";
23989                         Operands[ActualIdx]->print(dbgs()); dbgs() << "): ");
23991         DEBUG_WITH_TYPE("asm-matcher", dbgs() << ": ");
23993         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "actual operand index out of range ");
24003                         dbgs() << "match success using generic matcher\n");
24013                           dbgs() << "match success using target matcher\n");
24026         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "ignoring optional operand\n");
24045       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
24053       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Missing target features:";
24057                        dbgs() << "\n");
24079           dbgs() << "Early target match predicate failed with diag code "
24080                  << MatchResult << "\n");
24103                       dbgs() << "Target match predicate failed with diag code "
24104                              << MatchResult << "\n");
24116         dbgs() << "Opcode result: complete match, selecting this opcode\n");
gen/lib/Target/AMDGPU/AMDGPUGenAsmWriter.inc
32453   O << "\t";
32460   O << AsmStrs+(Bits & 32767)-1;
32479     O << ", ";
32481     O << ", ";
32483     O << ", ";
32497     O << " gds";
32518     O << ", ";
32535     O << ", ";
32540     O << ", ";
32545     O << ", ";
32556     O << ", ";
32568     O << ", ";
32588     O << ", ";
32598     O << " done";
32605     O << " to ";
32611     O << ", vcc, ";
32615     O << ", off, ";
32623     O << ", [";
32633     O << ", vcc_lo, ";
32675     O << ", ";
32683     O << ", ";
32709     O << ", ";
32727     O << " gds";
32757     O << ", ";
32759     O << ", ";
32782     O << ", ";
32791     O << ", ";
32808     O << ", ";
32816     O << ", vcc ";
32845     O << ", off";
32865     O << ", vcc_lo ";
32939     O << " lds";
32952     O << " gds";
32974     O << " glc";
32995     O << ", ";
33034     O << ", ";
33041     O << ", ";
33058     O << ", vcc ";
33070     O << ", ";
33079     O << " glc";
33096     O << ", off";
33098     O << " glc";
33108     O << "], ";
33121     O << " glc";
33133     O << ", vcc";
33142     O << ", vcc_lo ";
33273     O << " glc";
33324     O << ", ";
33411     O << " addr64";
33415     O << " idxen offen";
33419     O << " idxen";
33423     O << " offen";
33427     O << " lds";
33455     O << " glc";
33479     O << "], ";
33483     O << ", ";
33584     O << " glc";
33699     O << "], ";
33713     O << ", ";
34165     O << " lds";
34713     O << ", ";
34927     O << "], ";
34929     O << ", ";
35061     O << ", ";
35063     O << "], ";
35065     O << ", ";
35300     O << ", ";
35302     O << ", ";
35304     O << "], ";
35306     O << ", ";
35482     O << ", ";
35484     O << ", ";
35486     O << ", ";
35488     O << ", ";
35490     O << ", ";
35492     O << ", ";
35494     O << "], ";
35496     O << ", ";
35570     O << ", ";
35572     O << ", ";
35574     O << ", ";
35576     O << "], ";
35578     O << ", ";
35642     O << ", ";
35644     O << ", ";
35646     O << ", ";
35648     O << ", ";
35650     O << "], ";
35652     O << ", ";
35706     O << ", ";
35708     O << ", ";
35710     O << ", ";
35712     O << ", ";
35714     O << ", ";
35716     O << "], ";
35718     O << ", ";
35742     O << ", ";
35744     O << ", ";
35746     O << ", ";
35748     O << ", ";
35750     O << ", ";
35752     O << ", ";
35754     O << ", ";
35756     O << "], ";
35758     O << ", ";
gen/lib/Target/AMDGPU/AMDGPUGenDisassemblerTables.inc
41995       errs() << Loc << ": Unexpected decode table opcode!\n";
42002       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
42002       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
42003                    << Len << "): " << CurFieldValue << "\n");
42003                    << Len << "): " << CurFieldValue << "\n");
42019       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
42019       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
42020                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
42020                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
42021                    << " continuing at " << (Ptr - DecodeTable) << "\n");
42021                    << " continuing at " << (Ptr - DecodeTable) << "\n");
42040       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
42040       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
42041                    << Len << ", " << ExpectedValue << ", " << NumToSkip
42041                    << Len << ", " << ExpectedValue << ", " << NumToSkip
42042                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
42042                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
42043                    << ExpectedValue << ": "
42044                    << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
42061       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
42061       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
42062             << (Pred ? "PASS\n" : "FAIL\n"));
42080       LLVM_DEBUG(dbgs() << Loc << ": OPC_Decode: opcode " << Opc
42081                    << ", using decoder " << DecodeIdx << ": "
42081                    << ", using decoder " << DecodeIdx << ": "
42082                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
42082                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
42102       LLVM_DEBUG(dbgs() << Loc << ": OPC_TryDecode: opcode " << Opc
42103                    << ", using decoder " << DecodeIdx << ": ");
42103                    << ", using decoder " << DecodeIdx << ": ");
42107         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
42107         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
42114         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
42114         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
42131       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
42131       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
42135       LLVM_DEBUG(dbgs() << Loc << ": OPC_Fail\n");
gen/lib/Target/AMDGPU/AMDGPUGenMCCodeEmitter.inc
34501     Msg << "Not supported instr: " << MI;
gen/lib/Target/AMDGPU/AMDGPUGenSubtargetInfo.inc
  657   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
  658   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
  658   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/AMDGPU/R600GenAsmWriter.inc
  790   O << "\t";
  796   O << AsmStrs+(Bits & 4095)-1;
  822     O << ", ";
  828     O << ", ";
  834     O << ", ";
  850     O << ", ";
  856     O << ", ";
  870     O << ", ";
  874     O << ", ";
  878     O << ", ";
  882     O << ", ";
  890     O << ", @";
  892     O << ", KC0[";
  894     O << "], KC1[";
  913     O << ", ";
  916     O << ", ";
  923     O << " OQAP, ";
  926     O << ", ";
  929     O << ", ";
  936     O << " OQAP, ";
  949     O << ", ";
  952     O << ", ";
  955     O << ", ";
  965     O << ", ";
  968     O << ", ";
  971     O << ", ";
  978     O << ", ";
  990     O << ", ";
  994     O << "\n";
 1007     O << " (";
 1019     O << " POP:";
 1025     O << " @";
 1035     O << " : ";
 1041     O << ".XW, ";
 1047     O << ") ";
 1049     O << ", ";
 1054     O << ".XYZW, ";
 1058     O << ".XY, ";
 1083     O << " : ";
 1085     O << " dst1";
 1099     O << ", ";
 1109     O << ", ";
 1116     O << " RID:";
 1118     O << " SID:";
 1120     O << " CT:";
 1139     O << "\n";
 1148     O << ", ";
 1153     O << ", #";
 1166     O << ", ";
 1168     O << ", ";
 1170     O << ", ";
 1172     O << ", ";
gen/lib/Target/AMDGPU/R600GenMCCodeEmitter.inc
 1757     Msg << "Not supported instr: " << MI;
gen/lib/Target/AMDGPU/R600GenSubtargetInfo.inc
  270   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
  271   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
  271   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/ARC/ARCGenAsmWriter.inc
  754   O << "\t";
  760   O << AsmStrs+(Bits & 2047)-1;
  777     O << "\t";
  786     O << "\t";
  788     O << ", ";
  790     O << ", ";
  797     O << "\t";
  809     O << ", ";
  818     O << ", ";
  820     O << ", ";
  826     O << ", 0, ";
  832     O << ", [";
  842     O << ", ";
  848     O << ", [%pcl, ";
  855     O << ", %sp, ";
  861     O << ", [%sp, ";
  904     O << ", ";
gen/lib/Target/ARC/ARCGenDisassemblerTables.inc
 1466       errs() << Loc << ": Unexpected decode table opcode!\n";
 1473       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
 1473       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
 1474                    << Len << "): " << CurFieldValue << "\n");
 1474                    << Len << "): " << CurFieldValue << "\n");
 1490       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
 1490       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
 1491                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
 1491                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
 1492                    << " continuing at " << (Ptr - DecodeTable) << "\n");
 1492                    << " continuing at " << (Ptr - DecodeTable) << "\n");
 1511       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
 1511       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
 1512                    << Len << ", " << ExpectedValue << ", " << NumToSkip
 1512                    << Len << ", " << ExpectedValue << ", " << NumToSkip
 1513                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
 1513                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
 1514                    << ExpectedValue << ": "
 1515                    << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
 1532       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
 1532       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
 1533             << (Pred ? "PASS\n" : "FAIL\n"));
 1551       LLVM_DEBUG(dbgs() << Loc << ": OPC_Decode: opcode " << Opc
 1552                    << ", using decoder " << DecodeIdx << ": "
 1552                    << ", using decoder " << DecodeIdx << ": "
 1553                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 1553                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 1573       LLVM_DEBUG(dbgs() << Loc << ": OPC_TryDecode: opcode " << Opc
 1574                    << ", using decoder " << DecodeIdx << ": ");
 1574                    << ", using decoder " << DecodeIdx << ": ");
 1578         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 1578         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 1585         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
 1585         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
 1602       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
 1602       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
 1606       LLVM_DEBUG(dbgs() << Loc << ": OPC_Fail\n");
gen/lib/Target/ARC/ARCGenSubtargetInfo.inc
  118   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
  119   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
  119   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/ARM/ARMGenAsmMatcher.inc
15096   DEBUG_WITH_TYPE("asm-matcher", dbgs() << "AsmMatcher: found " <<
15097   std::distance(MnemonicRange.first, MnemonicRange.second) << 
15098   " encodings with mnemonic '" << Mnemonic << "'\n");
15109     DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Trying to match opcode "
15110                                           << MII.getName(it->Opcode) << "\n");
15122                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
15122                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
15123                              << " against actual operand at index " << ActualIdx);
15125         DEBUG_WITH_TYPE("asm-matcher", dbgs() << " (";
15126                         Operands[ActualIdx]->print(dbgs()); dbgs() << "): ");
15128         DEBUG_WITH_TYPE("asm-matcher", dbgs() << ": ");
15130         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "actual operand index out of range ");
15135             DEBUG_WITH_TYPE("asm-matcher", dbgs() << "recording too-few-operands near miss\n");
15142                 dbgs() << "second invalid operand, giving up on this opcode\n");
15147           DEBUG_WITH_TYPE("asm-matcher", dbgs() << "but formal operand not required\n");
15156                         dbgs() << "match success using generic matcher\n");
15166                           dbgs() << "match success using target matcher\n");
15178         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "ignoring optional operand\n");
15187                 << "operand match failed, recording near-miss with diag code "
15188                 << Diag << "\n");
15196             dbgs() << "second operand mismatch, skipping this opcode\n");
15203       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
15210       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Missing target features:";
15214                        dbgs() << "\n");
15233           dbgs() << "Early target match predicate failed with diag code "
15234                  << MatchResult << "\n");
15246                 << "Opcode result: one mismatched operand, adding near-miss\n");
15249         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
15269                       dbgs() << "Target match predicate failed with diag code "
15270                              << MatchResult << "\n");
15282       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: found one type of "
15295       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
15309         dbgs() << "Opcode result: complete match, selecting this opcode\n");
gen/lib/Target/ARM/ARMGenAsmWriter.inc
 9136   O << "\t";
 9143   O << AsmStrs+(Bits & 8191)-1;
 9196     O << "\t";
 9198     O << ", ";
 9200     O << ", ";
 9223     O << ", ";
 9242     O << ", ";
 9244     O << ", ";
 9246     O << ", ";
 9248     O << ", ";
 9250     O << ", ";
 9257     O << ", ";
 9259     O << ", ";
 9261     O << ", ";
 9263     O << ", ";
 9270     O << ", ";
 9288     O << ", ";
 9293     O << ", ";
 9306     O << ", ";
 9314     O << ", ";
 9338     O << "\t";
 9340     O << ", ";
 9342     O << ", ";
 9344     O << ", ";
 9389     O << ".i32\t";
 9393     O << ".i16\t";
 9397     O << ".16\t";
 9401     O << ".32\t";
 9405     O << ".8\t";
 9409     O << "\t";
 9413     O << ", ";
 9421     O << "\tlr";
 9427     O << ", ";
 9431     O << ".f64\t";
 9436     O << ".f16\t";
 9440     O << ".f32\t";
 9444     O << "\tAPSR_nzcv, fpscr";
 9450     O << ", ";
 9454     O << "\tpc, lr";
 9459     O << ".s16\t";
 9463     O << ".s32\t";
 9467     O << ".s8\t";
 9471     O << ".u16\t";
 9475     O << ".u32\t";
 9479     O << ".u8\t";
 9483     O << ".i8\t";
 9487     O << ".64\t";
 9491     O << ".f16.f32\t";
 9493     O << ", ";
 9497     O << ".f16.s16\t";
 9499     O << ", ";
 9504     O << ".f16.u16\t";
 9506     O << ", ";
 9511     O << ".f32.f16\t";
 9513     O << ", ";
 9517     O << ".f32.s32\t";
 9519     O << ", ";
 9524     O << ".f32.u32\t";
 9526     O << ", ";
 9531     O << ".s16.f16\t";
 9533     O << ", ";
 9538     O << ".s32.f32\t";
 9540     O << ", ";
 9545     O << ".u16.f16\t";
 9547     O << ", ";
 9552     O << ".u32.f32\t";
 9554     O << ", ";
 9570     O << ".u64\t";
 9574     O << ".i64\t";
 9576     O << ", ";
 9580     O << ".p16\t";
 9582     O << ", ";
 9584     O << ", ";
 9590     O << ".p8\t";
 9592     O << ", ";
 9594     O << ", ";
 9610     O << ".f16.f64\t";
 9612     O << ", ";
 9618     O << ".f64.f16\t";
 9620     O << ", ";
 9626     O << ".f64.f32\t";
 9628     O << ", ";
 9634     O << ".f32.f64\t";
 9636     O << ", ";
 9642     O << ".s32.f64\t";
 9644     O << ", ";
 9649     O << ".16\t{";
 9653     O << ".32\t{";
 9657     O << ".8\t{";
 9661     O << "\tfpcxtns, ";
 9665     O << "\tfpcxts, ";
 9669     O << "\tfpscr_nzcvqc, ";
 9673     O << "\tfpscr, ";
 9677     O << "\tp0, ";
 9681     O << "\tvpr, ";
 9685     O << "\tfpexc, ";
 9691     O << "\tfpinst, ";
 9697     O << "\tfpinst2, ";
 9703     O << "\tfpsid, ";
 9709     O << ".s64\t";
 9711     O << ", ";
 9715     O << ".f64.s16\t";
 9717     O << ", ";
 9719     O << ", ";
 9725     O << ".f32.s16\t";
 9727     O << ", ";
 9729     O << ", ";
 9735     O << ".f64.s32\t";
 9737     O << ", ";
 9742     O << ".f16.s32\t";
 9744     O << ", ";
 9749     O << ".s16.f64\t";
 9751     O << ", ";
 9753     O << ", ";
 9759     O << ".s16.f32\t";
 9761     O << ", ";
 9763     O << ", ";
 9769     O << ".s32.f16\t";
 9771     O << ", ";
 9776     O << ".u16.f64\t";
 9778     O << ", ";
 9780     O << ", ";
 9786     O << ".u16.f32\t";
 9788     O << ", ";
 9790     O << ", ";
 9796     O << ".u32.f64\t";
 9798     O << ", ";
 9803     O << ".u32.f16\t";
 9805     O << ", ";
 9810     O << ".f64.u16\t";
 9812     O << ", ";
 9814     O << ", ";
 9820     O << ".f32.u16\t";
 9822     O << ", ";
 9824     O << ", ";
 9830     O << ".f64.u32\t";
 9832     O << ", ";
 9837     O << ".f16.u32\t";
 9839     O << ", ";
 9844     O << ".w\t";
 9848     O << "\tsp, ";
 9854     O << "\tsp!, ";
 9860     O << "\tpc, lr, ";
 9867     O << "\t";
 9869     O << ", ";
 9874     O << "\t";
 9876     O << ", ";
 9897     O << ", ";
 9903     O << ", ";
 9909     O << ", ";
 9914     O << ", ";
 9920     O << ", ";
 9926     O << ", ";
 9932     O << ", ";
 9937     O << ", ";
 9951     O << ", ";
 9956     O << ", ";
 9958     O << ", ";
 9960     O << ", ";
 9970     O << ", ";
 9975     O << ", ";
 9997     O << ", ";
 9999     O << ", ";
10001     O << ", ";
10003     O << ", ";
10005     O << ", ";
10012     O << ", ";
10014     O << ", ";
10016     O << ", ";
10018     O << ", ";
10025     O << ", ";
10030     O << ", ";
10041     O << ", ";
10043     O << ", ";
10054     O << ", #0";
10060     O << ", ";
10065     O << ", ";
10070     O << ", ";
10075     O << ", ";
10080     O << ", ";
10085     O << ", ";
10131     O << ", ";
10138     O << ", ";
10145     O << ", ";
10153     O << ", ";
10155     O << ", ";
10162     O << ", ";
10169     O << ", ";
10177     O << ", ";
10179     O << ", ";
10186     O << ", ";
10194     O << ", ";
10196     O << ", ";
10203     O << ", ";
10210     O << ", ";
10218     O << ", ";
10220     O << ", ";
10227     O << ", ";
10234     O << ", ";
10242     O << ", ";
10244     O << ", ";
10301     O << ", ";
10327     O << "!, ";
10333     O << ", ";
10337     O << ", apsr";
10342     O << ", spsr";
10361     O << ", ";
10367     O << ", #0";
10380     O << "[], ";
10382     O << "[], ";
10392     O << ", fpscr";
10397     O << ", fpcxtns";
10402     O << ", fpcxts";
10407     O << ", fpexc";
10412     O << ", fpinst";
10417     O << ", fpinst2";
10422     O << ", fpscr_nzcvqc";
10427     O << ", fpsid";
10432     O << ", mvfr0";
10437     O << ", mvfr1";
10442     O << ", mvfr2";
10447     O << ", p0";
10452     O << ", vpr";
10504     O << ", ";
10610     O << ", ";
10612     O << ", ";
10666     O << ", ";
10672     O << ", ";
10687     O << "], ";
10691     O << "[]}, ";
10696     O << "], ";
10700     O << "], ";
10707     O << "[], ";
10709     O << "[]}, ";
10714     O << "], ";
10718     O << "], ";
10722     O << "], ";
10726     O << "]}, ";
10744     O << "]}, ";
10755     O << "], ";
10759     O << "], ";
10763     O << "]}, ";
10771     O << ", ";
10777     O << ", ";
10784     O << ", ";
10791     O << ", ";
10798     O << ", ";
10805     O << ", ";
10812     O << ", ";
10819     O << ", ";
10826     O << ", ";
10832     O << " ^";
10903     O << ", ";
10922     O << ", ";
10924     O << ", ";
10926     O << ", ";
10950     O << ", #16";
10955     O << ", #8";
10970     O << ", #0";
10976     O << ", ";
10992     O << "]}, ";
10996     O << "], ";
11015     O << "}, ";
11025     O << "], ";
11029     O << "], ";
11033     O << "]}, ";
11040     O << " ^";
11045     O << ", #1";
11124     O << ", ";
11134     O << ", ";
11145     O << ", ";
11147     O << ", ";
11185     O << "]}, ";
11210     O << "]}, ";
11218     O << "}, ";
11271     O << ", ";
11276     O << ", ";
11278     O << ", ";
11285     O << ", ";
11315     O << "]}, ";
11322     O << "], ";
11326     O << "]}, ";
11332     O << "}, ";
11655     O << ", ";
11676     O << "]}, ";
11687     O << "}, ";
11698     O << "}, ";
11733     O << "]}, ";
11743     O << "], ";
11747     O << "]}, ";
11757     O << "], ";
11761     O << "], ";
11765     O << "]}, ";
11776     O << "}, ";
gen/lib/Target/ARM/ARMGenDisassemblerTables.inc
21773       errs() << Loc << ": Unexpected decode table opcode!\n";
21780       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
21780       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
21781                    << Len << "): " << CurFieldValue << "\n");
21781                    << Len << "): " << CurFieldValue << "\n");
21797       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
21797       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
21798                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
21798                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
21799                    << " continuing at " << (Ptr - DecodeTable) << "\n");
21799                    << " continuing at " << (Ptr - DecodeTable) << "\n");
21818       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
21818       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
21819                    << Len << ", " << ExpectedValue << ", " << NumToSkip
21819                    << Len << ", " << ExpectedValue << ", " << NumToSkip
21820                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
21820                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
21821                    << ExpectedValue << ": "
21822                    << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
21839       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
21839       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
21840             << (Pred ? "PASS\n" : "FAIL\n"));
21858       LLVM_DEBUG(dbgs() << Loc << ": OPC_Decode: opcode " << Opc
21859                    << ", using decoder " << DecodeIdx << ": "
21859                    << ", using decoder " << DecodeIdx << ": "
21860                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
21860                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
21880       LLVM_DEBUG(dbgs() << Loc << ": OPC_TryDecode: opcode " << Opc
21881                    << ", using decoder " << DecodeIdx << ": ");
21881                    << ", using decoder " << DecodeIdx << ": ");
21885         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
21885         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
21892         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
21892         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
21909       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
21909       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
21913       LLVM_DEBUG(dbgs() << Loc << ": OPC_Fail\n");
gen/lib/Target/ARM/ARMGenMCCodeEmitter.inc
16194     Msg << "Not supported instr: " << MI;
gen/lib/Target/ARM/ARMGenSubtargetInfo.inc
19377   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
19378   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
19378   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/AVR/AVRGenAsmMatcher.inc
 1291   DEBUG_WITH_TYPE("asm-matcher", dbgs() << "AsmMatcher: found " <<
 1292   std::distance(MnemonicRange.first, MnemonicRange.second) << 
 1293   " encodings with mnemonic '" << Mnemonic << "'\n");
 1304     DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Trying to match opcode "
 1305                                           << MII.getName(it->Opcode) << "\n");
 1312                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 1312                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 1313                              << " against actual operand at index " << ActualIdx);
 1315         DEBUG_WITH_TYPE("asm-matcher", dbgs() << " (";
 1316                         Operands[ActualIdx]->print(dbgs()); dbgs() << "): ");
 1318         DEBUG_WITH_TYPE("asm-matcher", dbgs() << ": ");
 1320         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "actual operand index out of range ");
 1329                         dbgs() << "match success using generic matcher\n");
 1339                           dbgs() << "match success using target matcher\n");
 1351         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "ignoring optional operand\n");
 1370       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
 1378       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Missing target features:";
 1382                        dbgs() << "\n");
 1404           dbgs() << "Early target match predicate failed with diag code "
 1405                  << MatchResult << "\n");
 1427                       dbgs() << "Target match predicate failed with diag code "
 1428                              << MatchResult << "\n");
 1440         dbgs() << "Opcode result: complete match, selecting this opcode\n");
gen/lib/Target/AVR/AVRGenAsmWriter.inc
  849   O << "\t";
  856   O << AsmStrs+(Bits & 2047)-1;
  873     O << ", ";
  894     O << ", ";
  902     O << ", -";
  908     O << "+, ";
  958     O << ", ";
gen/lib/Target/AVR/AVRGenDisassemblerTables.inc
  588       errs() << Loc << ": Unexpected decode table opcode!\n";
  595       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
  595       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
  596                    << Len << "): " << CurFieldValue << "\n");
  596                    << Len << "): " << CurFieldValue << "\n");
  612       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
  612       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
  613                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
  613                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
  614                    << " continuing at " << (Ptr - DecodeTable) << "\n");
  614                    << " continuing at " << (Ptr - DecodeTable) << "\n");
  633       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
  633       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
  634                    << Len << ", " << ExpectedValue << ", " << NumToSkip
  634                    << Len << ", " << ExpectedValue << ", " << NumToSkip
  635                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
  635                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
  636                    << ExpectedValue << ": "
  637                    << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
  654       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
  654       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
  655             << (Pred ? "PASS\n" : "FAIL\n"));
  673       LLVM_DEBUG(dbgs() << Loc << ": OPC_Decode: opcode " << Opc
  674                    << ", using decoder " << DecodeIdx << ": "
  674                    << ", using decoder " << DecodeIdx << ": "
  675                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  675                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  695       LLVM_DEBUG(dbgs() << Loc << ": OPC_TryDecode: opcode " << Opc
  696                    << ", using decoder " << DecodeIdx << ": ");
  696                    << ", using decoder " << DecodeIdx << ": ");
  700         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  700         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  707         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
  707         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
  724       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
  724       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
  728       LLVM_DEBUG(dbgs() << Loc << ": OPC_Fail\n");
gen/lib/Target/AVR/AVRGenMCCodeEmitter.inc
  760     Msg << "Not supported instr: " << MI;
gen/lib/Target/AVR/AVRGenSubtargetInfo.inc
  466   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
  467   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
  467   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/BPF/BPFGenAsmMatcher.inc
  936   DEBUG_WITH_TYPE("asm-matcher", dbgs() << "AsmMatcher: found " <<
  937   std::distance(MnemonicRange.first, MnemonicRange.second) << 
  938   " encodings with mnemonic '" << Mnemonic << "'\n");
  949     DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Trying to match opcode "
  950                                           << MII.getName(it->Opcode) << "\n");
  955                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
  955                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
  956                              << " against actual operand at index " << ActualIdx);
  958         DEBUG_WITH_TYPE("asm-matcher", dbgs() << " (";
  959                         Operands[ActualIdx]->print(dbgs()); dbgs() << "): ");
  961         DEBUG_WITH_TYPE("asm-matcher", dbgs() << ": ");
  963         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "actual operand index out of range ");
  972                         dbgs() << "match success using generic matcher\n");
  982                           dbgs() << "match success using target matcher\n");
  994         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "ignoring optional operand\n");
 1013       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
 1021       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Missing target features:";
 1025                        dbgs() << "\n");
 1047           dbgs() << "Early target match predicate failed with diag code "
 1048                  << MatchResult << "\n");
 1070                       dbgs() << "Target match predicate failed with diag code "
 1071                              << MatchResult << "\n");
 1083         dbgs() << "Opcode result: complete match, selecting this opcode\n");
gen/lib/Target/BPF/BPFGenAsmWriter.inc
  670   O << "\t";
  677   O << AsmStrs+(Bits & 511)-1;
  720     O << ", src: ";
  722     O << ", len: ";
  724     O << ", align: ";
  730     O << " = ";
  734     O << " += ";
  740     O << " &= ";
  746     O << " = be16 ";
  752     O << " = be32 ";
  758     O << " = be64 ";
  764     O << " /= ";
  770     O << ", ";
  778     O << " == ";
  780     O << " goto ";
  786     O << " != ";
  788     O << " goto ";
  794     O << " s>= ";
  796     O << " goto ";
  802     O << " s> ";
  804     O << " goto ";
  810     O << " s<= ";
  812     O << " goto ";
  818     O << " s< ";
  820     O << " goto ";
  826     O << " >= ";
  828     O << " goto ";
  834     O << " > ";
  836     O << " goto ";
  842     O << " <= ";
  844     O << " goto ";
  850     O << " < ";
  852     O << " goto ";
  858     O << " = *(u8 *)(";
  865     O << " = *(u64 *)(";
  872     O << " = *(u16 *)(";
  879     O << " = *(u32 *)(";
  886     O << " = le16 ";
  892     O << " = le32 ";
  898     O << " = le64 ";
  904     O << " *= ";
  910     O << " = -";
  916     O << " |= ";
  922     O << " <<= ";
  928     O << " s>>= ";
  934     O << " >>= ";
  940     O << ") = ";
  946     O << " -= ";
  952     O << ") += ";
  958     O << " ^= ";
  980     O << " ll";
  995     O << " ? ";
  997     O << " : ";
 1003     O << ", ";
gen/lib/Target/BPF/BPFGenDisassemblerTables.inc
  525       errs() << Loc << ": Unexpected decode table opcode!\n";
  532       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
  532       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
  533                    << Len << "): " << CurFieldValue << "\n");
  533                    << Len << "): " << CurFieldValue << "\n");
  549       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
  549       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
  550                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
  550                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
  551                    << " continuing at " << (Ptr - DecodeTable) << "\n");
  551                    << " continuing at " << (Ptr - DecodeTable) << "\n");
  570       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
  570       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
  571                    << Len << ", " << ExpectedValue << ", " << NumToSkip
  571                    << Len << ", " << ExpectedValue << ", " << NumToSkip
  572                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
  572                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
  573                    << ExpectedValue << ": "
  574                    << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
  591       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
  591       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
  592             << (Pred ? "PASS\n" : "FAIL\n"));
  610       LLVM_DEBUG(dbgs() << Loc << ": OPC_Decode: opcode " << Opc
  611                    << ", using decoder " << DecodeIdx << ": "
  611                    << ", using decoder " << DecodeIdx << ": "
  612                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  612                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  632       LLVM_DEBUG(dbgs() << Loc << ": OPC_TryDecode: opcode " << Opc
  633                    << ", using decoder " << DecodeIdx << ": ");
  633                    << ", using decoder " << DecodeIdx << ": ");
  637         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  637         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  644         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
  644         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
  661       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
  661       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
  665       LLVM_DEBUG(dbgs() << Loc << ": OPC_Fail\n");
gen/lib/Target/BPF/BPFGenMCCodeEmitter.inc
  621     Msg << "Not supported instr: " << MI;
gen/lib/Target/BPF/BPFGenSubtargetInfo.inc
  136   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
  137   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
  137   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/Hexagon/HexagonGenAsmMatcher.inc
10282   DEBUG_WITH_TYPE("asm-matcher", dbgs() << "AsmMatcher: found " <<
10283   std::distance(MnemonicRange.first, MnemonicRange.second) << 
10284   " encodings with mnemonic '" << Mnemonic << "'\n");
10295     DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Trying to match opcode "
10296                                           << MII.getName(it->Opcode) << "\n");
10301                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
10301                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
10302                              << " against actual operand at index " << ActualIdx);
10304         DEBUG_WITH_TYPE("asm-matcher", dbgs() << " (";
10305                         Operands[ActualIdx]->print(dbgs()); dbgs() << "): ");
10307         DEBUG_WITH_TYPE("asm-matcher", dbgs() << ": ");
10309         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "actual operand index out of range ");
10318                         dbgs() << "match success using generic matcher\n");
10328                           dbgs() << "match success using target matcher\n");
10340         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "ignoring optional operand\n");
10359       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
10367       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Missing target features:";
10371                        dbgs() << "\n");
10393           dbgs() << "Early target match predicate failed with diag code "
10394                  << MatchResult << "\n");
10416                       dbgs() << "Target match predicate failed with diag code "
10417                              << MatchResult << "\n");
10429         dbgs() << "Opcode result: complete match, selecting this opcode\n");
gen/lib/Target/Hexagon/HexagonGenAsmWriter.inc
 9070   O << "\t";
 9078   O << AsmStrs+(Bits & 2047)-1;
 9112     O << " = add(";
 9116     O << " = iconst(#";
 9123     O << " = neg(";
 9128     O << " = not(";
 9135     O << ") ";
 9140     O << ".new) ";
 9145     O << " = ";
 9150     O << " = #";
 9155     O << " = vaddb(";
 9162     O << " = vsubb(";
 9169     O << " = zxtb(";
 9176     O << " = boundscheck(";
 9183     O << " = cmp.ge(";
 9185     O << ",#";
 9192     O << " = cmp.geu(";
 9194     O << ",#";
 9201     O << " = cmp.lt(";
 9210     O << " = cmp.ltu(";
 9219     O << ") jump ";
 9225     O << ") jumpr ";
 9236     O << " = memb_fifo(";
 9240     O << " = memh_fifo(";
 9244     O << " = membh(";
 9249     O << " = memubh(";
 9254     O << " = memb(";
 9259     O << " = memd(";
 9264     O << " = memh(";
 9269     O << " = memw(";
 9274     O << " = memub(";
 9279     O << " = memuh(";
 9284     O << ") += ";
 9290     O << ") &= ";
 9296     O << ") += #";
 9302     O << ") = clrbit(#";
 9309     O << ") = setbit(#";
 9316     O << ") -= #";
 9322     O << ") |= ";
 9328     O << ") dealloc_return";
 9333     O << ".new) dealloc_return:nt";
 9338     O << ".new) dealloc_return:t";
 9343     O << ") -= ";
 9349     O << " = mpyi(";
 9354     O << " = mpyui(";
 9363     O << " += vrcmpys(";
 9370     O << " = vrcmpys(";
 9381     O << " = asrrnd(";
 9383     O << ",#";
 9390     O << ") memb(";
 9394     O << ") memd(";
 9398     O << ") memh(";
 9402     O << ") memw(";
 9406     O << ") = ";
 9411     O << " = tableidxb(";
 9413     O << ",#";
 9415     O << ",#";
 9420     O << " = tableidxd(";
 9422     O << ",#";
 9424     O << ",#";
 9429     O << " = tableidxh(";
 9431     O << ",#";
 9433     O << ",#";
 9438     O << " = tableidxw(";
 9440     O << ",#";
 9442     O << ",#";
 9447     O << ".new) memb(";
 9451     O << ".new) memd(";
 9455     O << ".new) memh(";
 9459     O << ".new) memw(";
 9463     O << ") = #";
 9469     O << " = vasrhub(";
 9474     O << " = vasrh(";
 9479     O << " = vcmp.eq(";
 9484     O << " &= vcmp.eq(";
 9489     O << " |= vcmp.eq(";
 9494     O << " ^= vcmp.eq(";
 9499     O << ".w = vextract(";
 9508     O << " = hi(";
 9515     O << " = vmem(";
 9520     O << " = vmemu(";
 9525     O << " = lo(";
 9532     O << "):nt = ";
 9537     O << ") vmem(";
 9541     O << ") vmemu(";
 9545     O << " = vabsb(";
 9550     O << " = vabsdiffh(";
 9559     O << " = vabsdiffub(";
 9568     O << " = vabsdiffuh(";
 9577     O << " = vabsdiffw(";
 9586     O << " = vabsh(";
 9591     O << ".ub = vabs(";
 9593     O << ".b)";
 9598     O << ".uh = vabs(";
 9600     O << ".h)";
 9605     O << ".uw = vabs(";
 9607     O << ".w)";
 9612     O << " = vabsw(";
 9617     O << ".b) ";
 9622     O << " = vaddh(";
 9629     O << ".h) ";
 9634     O << " += vaddh(";
 9643     O << " += vaddub(";
 9652     O << " = vaddub(";
 9659     O << " = vadduh(";
 9666     O << " += vadduh(";
 9675     O << " = vadduw(";
 9679     O << "):sat";
 9684     O << " = vaddw(";
 9691     O << ".w) ";
 9696     O << ".ub |= vand(!";
 9698     O << ".ub,";
 9700     O << ".ub)";
 9705     O << ".ub = vand(!";
 9707     O << ".ub,";
 9709     O << ".ub)";
 9714     O << ".ub |= vand(";
 9716     O << ".ub,";
 9718     O << ".ub)";
 9723     O << ".ub = vand(";
 9725     O << ".ub,";
 9727     O << ".ub)";
 9732     O << " += vaslh(";
 9741     O << " = vaslh(";
 9746     O << " += vaslw(";
 9755     O << " = vaslw(";
 9760     O << " = vasrinto(";
 9769     O << " += vasrh(";
 9778     O << " = vasrhb(";
 9784     O << "):rnd:sat";
 9789     O << " += vasrw(";
 9798     O << " = vasrw(";
 9803     O << " = vasrwh(";
 9812     O << " = vasrwuh(";
 9818     O << "):sat";
 9823     O << " = vavgb(";
 9830     O << " = vavgh(";
 9837     O << " = vavgub(";
 9844     O << " = vavguh(";
 9851     O << " = vavguw(";
 9858     O << " = vavgw(";
 9865     O << " = vcl0h(";
 9872     O << " = vcl0w(";
 9879     O << " = #0";
 9884     O << " = vdealb4w(";
 9893     O << " = vdealb(";
 9900     O << " = vdealh(";
 9907     O << " += vdmpybus(";
 9916     O << " = vdmpybus(";
 9925     O << " += vdmpyhb(";
 9934     O << " = vdmpyhb(";
 9943     O << " += vdmpyh(";
 9947     O << "):sat";
 9952     O << " = vdmpyh(";
 9956     O << "):sat";
 9961     O << " += vdmpyhsu(";
 9968     O << " = vdmpyhsu(";
 9975     O << " += vdsaduh(";
 9984     O << " = vdsaduh(";
 9993     O << " = vlsrh(";
 9998     O << " = vlsrw(";
10003     O << " = vmaxb(";
10012     O << " = vmaxh(";
10021     O << " = vmaxub(";
10030     O << " = vmaxuh(";
10039     O << " = vmaxw(";
10048     O << " = vminb(";
10057     O << " = vminh(";
10066     O << " = vminub(";
10075     O << " = vminuh(";
10084     O << " = vminw(";
10093     O << " += vmpabus(";
10102     O << " = vmpabus(";
10111     O << " += vmpabuu(";
10120     O << " = vmpabuu(";
10129     O << " += vmpahb(";
10138     O << " = vmpahb(";
10147     O << " += vmpauhb(";
10156     O << " = vmpauhb(";
10165     O << " += vmpybus(";
10174     O << " = vmpybus(";
10183     O << " += vmpyb(";
10192     O << " = vmpyb(";
10201     O << " = vmpyewuh(";
10210     O << " += vmpyh(";
10217     O << " = vmpyh(";
10224     O << " += vmpyhus(";
10233     O << " = vmpyhus(";
10242     O << " += vmpyiewh(";
10251     O << " += vmpyiewuh(";
10260     O << " = vmpyiewuh(";
10269     O << " += vmpyih(";
10278     O << " = vmpyih(";
10287     O << " += vmpyihb(";
10296     O << " = vmpyihb(";
10305     O << " = vmpyiowh(";
10314     O << " += vmpyiwb(";
10323     O << " = vmpyiwb(";
10332     O << " += vmpyiwh(";
10341     O << " = vmpyiwh(";
10350     O << " += vmpyiwub(";
10359     O << " = vmpyiwub(";
10368     O << " = vmpyowh(";
10375     O << " += vmpyowh(";
10382     O << " += vmpyub(";
10391     O << " = vmpyub(";
10400     O << " += vmpyuh(";
10409     O << " = vmpyuh(";
10418     O << " = vnavgb(";
10427     O << " = vnavgh(";
10434     O << " = vnavgub(";
10443     O << " = vnavgw(";
10450     O << " = vnormamth(";
10457     O << " = vnormamtw(";
10464     O << " = vpackeb(";
10473     O << " = vpackeh(";
10482     O << " = vpackhb(";
10486     O << "):sat";
10491     O << " = vpackhub(";
10495     O << "):sat";
10500     O << " = vpackob(";
10509     O << " = vpackoh(";
10518     O << " = vpackwh(";
10522     O << "):sat";
10527     O << " = vpackwuh(";
10531     O << "):sat";
10536     O << " = vpopcounth(";
10543     O << ".w += vrmpy(";
10548     O << ".w = vrmpy(";
10553     O << " += vrmpybus(";
10560     O << " = vrmpybus(";
10567     O << " += vrmpyb(";
10576     O << " = vrmpyb(";
10585     O << " += vrmpyub(";
10592     O << " = vrmpyub(";
10599     O << ".uw += vrmpy(";
10601     O << ".ub,";
10606     O << ".uw = vrmpy(";
10608     O << ".ub,";
10613     O << " = vrotr(";
10622     O << " = vroundhb(";
10626     O << "):sat";
10631     O << " = vroundhub(";
10635     O << "):sat";
10640     O << " = vrounduhub(";
10644     O << "):sat";
10649     O << " = vrounduwuh(";
10653     O << "):sat";
10658     O << " = vroundwh(";
10662     O << "):sat";
10667     O << " = vroundwuh(";
10671     O << "):sat";
10676     O << " += vrsadub(";
10683     O << " = vrsadub(";
10690     O << " = vsathub(";
10695     O << " = vsatuwuh(";
10704     O << " = vsatwh(";
10709     O << " = vsxtb(";
10720     O << ") vscatter(";
10729     O << " = vsxth(";
10736     O << " = vshuffeh(";
10745     O << " = vshuffb(";
10752     O << " = vshuffeb(";
10761     O << " = vshuffh(";
10768     O << " = vshuffob(";
10777     O << " = vshuffoeb(";
10786     O << " = vshuffoeh(";
10795     O << " = vshuffoh(";
10804     O << " = vsubh(";
10811     O << " = vsubub(";
10818     O << " = vsubuh(";
10825     O << " = vsubuw(";
10829     O << "):sat";
10834     O << " = vsubw(";
10841     O << " += vtmpyb(";
10850     O << " = vtmpyb(";
10859     O << " += vtmpybus(";
10868     O << " = vtmpybus(";
10877     O << " += vtmpyhb(";
10886     O << " = vtmpyhb(";
10895     O << " = vunpackb(";
10902     O << " = vunpackh(";
10909     O << " |= vunpackob(";
10916     O << " |= vunpackoh(";
10923     O << " = vunpackub(";
10930     O << " = vunpackuh(";
10937     O << " = vzxtb(";
10944     O << " = vzxth(";
10951     O << ") z = vmem(";
10955     O << " = abs(";
10960     O << " = and(";
10965     O << " = aslh(";
10972     O << " = asrh(";
10979     O << " = combine(";
10984     O << " = combine(#";
10989     O << " = max(";
10998     O << " = maxu(";
11007     O << " = min(";
11016     O << " = minu(";
11025     O << " = or(";
11030     O << " = round(";
11035     O << " = sat(";
11042     O << " = satb(";
11049     O << " = sath(";
11056     O << " = satub(";
11063     O << " = satuh(";
11070     O << " = sub(";
11074     O << " = sub(#";
11079     O << " = swiz(";
11086     O << " = sxtb(";
11093     O << " = sxth(";
11100     O << " = sxtw(";
11107     O << ".h = #";
11111     O << ".l = #";
11115     O << " = vcmpb.eq(";
11120     O << " = vcmpb.gtu(";
11125     O << " = vcmph.eq(";
11130     O << " = vcmph.gt(";
11135     O << " = vcmph.gtu(";
11140     O << " = vcmpw.eq(";
11145     O << " = vcmpw.gt(";
11150     O << " = vcmpw.gtu(";
11155     O << " = vconj(";
11157     O << "):sat";
11162     O << " = vmaxuw(";
11171     O << " = vminuw(";
11180     O << " = vraddub(";
11189     O << " += vraddub(";
11198     O << " = xor(";
11207     O << " = zxth(";
11214     O << " = bitsplit(";
11219     O << " = cmpb.eq(";
11224     O << " = cmpb.gt(";
11229     O << " = cmpb.gtu(";
11234     O << " = cmph.eq(";
11239     O << " = cmph.gt(";
11244     O << " = cmph.gtu(";
11249     O << " = cround(";
11254     O << " = modwrap(";
11263     O << " = cmp.eq(";
11268     O << " = !cmp.eq(";
11273     O << " = tlbmatch(";
11282     O << " = any8(vcmpb.eq(";
11286     O << "))";
11291     O << " = vcmpb.gt(";
11296     O << " = vrmaxh(";
11305     O << " = vrmaxuh(";
11314     O << " = vrmaxuw(";
11323     O << " = vrmaxw(";
11332     O << " = vrminh(";
11341     O << " = vrminuh(";
11350     O << " = vrminuw(";
11359     O << " = vrminw(";
11368     O << " = vaddhub(";
11372     O << "):sat";
11377     O << " = !any8(vcmpb.eq(";
11381     O << "))";
11386     O << " = all8(";
11393     O << " = any8(";
11400     O << " = bitsclr(";
11405     O << " = bitsset(";
11414     O << " = cmp.gt(";
11419     O << " = cmp.gtu(";
11424     O << " = mask(";
11431     O << " = mux(";
11436     O << " = vitpack(";
11445     O << " = vmux(";
11456     O << " = add(pc,#";
11463     O << " = !cmp.gt(";
11468     O << " = !cmp.gtu(";
11473     O << " = fastcorner9(";
11482     O << " = !fastcorner9(";
11491     O << " = !bitsclr(";
11496     O << " = !bitsset(";
11505     O << " = CONST32(#";
11512     O << " = CONST64(#";
11519     O << " = convert_d2df(";
11526     O << " = convert_d2sf(";
11533     O << " = convert_df2d(";
11538     O << " = convert_df2sf(";
11545     O << " = convert_df2ud(";
11550     O << " = convert_df2uw(";
11555     O << " = convert_df2w(";
11560     O << " = convert_sf2d(";
11565     O << " = convert_sf2df(";
11572     O << " = convert_sf2ud(";
11577     O << " = convert_sf2uw(";
11582     O << " = convert_sf2w(";
11587     O << " = convert_ud2df(";
11594     O << " = convert_ud2sf(";
11601     O << " = convert_uw2df(";
11608     O << " = convert_uw2sf(";
11615     O << " = convert_w2df(";
11622     O << " = convert_w2sf(";
11629     O << " = dfadd(";
11638     O << " = dfclass(";
11640     O << ",#";
11647     O << " = dfcmp.eq(";
11656     O << " = dfcmp.ge(";
11665     O << " = dfcmp.gt(";
11674     O << " = dfcmp.uo(";
11683     O << " = dfmake(#";
11688     O << " = dfsub(";
11697     O << " = sfadd(";
11706     O << " = sfclass(";
11708     O << ",#";
11715     O << " = sfcmp.eq(";
11724     O << " = sfcmp.ge(";
11733     O << " = sfcmp.gt(";
11742     O << " = sfcmp.uo(";
11751     O << " = sffixupd(";
11760     O << " = sffixupn(";
11769     O << " = sffixupr(";
11776     O << " += sfmpy(";
11783     O << " -= sfmpy(";
11790     O << " = sfmake(#";
11795     O << " = sfmax(";
11804     O << " = sfmin(";
11813     O << " = sfmpy(";
11822     O << " = sfsub(";
11831     O << ") call ";
11837     O << ") callr ";
11843     O << ") jump:nt ";
11849     O << ".new) jump:nt ";
11855     O << ".new) jump:t ";
11861     O << ") jump:t ";
11867     O << ") jumpr:nt ";
11873     O << ".new) jumpr:nt ";
11879     O << ".new) jumpr:t ";
11885     O << ") jumpr:t ";
11891     O << ">=#0) jump:nt ";
11897     O << ">=#0) jump:t ";
11903     O << "<=#0) jump:nt ";
11909     O << "<=#0) jump:t ";
11915     O << "==#0) jump:nt ";
11921     O << "==#0) jump:t ";
11927     O << "!=#0) jump:nt ";
11933     O << "!=#0) jump:t ";
11939     O << ",#";
11943     O << ".new,";
11948     O << ".new,#";
11953     O << ".new,#0)) jump:nt ";
11959     O << ".new,#0)) jump:t ";
11965     O << ",#0); if (!p0.new) jump:nt ";
11971     O << ",#0); if (!p0.new) jump:t ";
11977     O << ",#0); if (!p1.new) jump:nt ";
11983     O << ",#0); if (!p1.new) jump:t ";
11989     O << ",#0); if (p0.new) jump:nt ";
11995     O << ",#0); if (p0.new) jump:t ";
12001     O << ",#0); if (p1.new) jump:nt ";
12007     O << ",#0); if (p1.new) jump:t ";
12013     O << " = deallocframe(";
12015     O << "):raw";
12020     O << " = memb(gp+#";
12027     O << " = memd(gp+#";
12034     O << " = memh(gp+#";
12041     O << " = memw(gp+#";
12048     O << " = memub(gp+#";
12055     O << " = memuh(gp+#";
12062     O << " = memw_locked(";
12069     O << "+#";
12074     O << " = memd_locked(";
12081     O << " = dealloc_return(";
12083     O << "):raw";
12088     O << " += add(";
12093     O << " += cmpyi(";
12102     O << " += cmpyr(";
12111     O << " += cmpy(";
12118     O << " = cmpyi(";
12127     O << " = cmpyr(";
12136     O << " = cmpy(";
12143     O << " -= cmpy(";
12150     O << " += mpy(";
12155     O << " -= mpy(";
12160     O << " = mpy(";
12165     O << " += mpyu(";
12170     O << " -= mpyu(";
12175     O << " = mpyu(";
12180     O << " += mpyi(";
12185     O << " -= mpyi(";
12190     O << " += vmpywoh(";
12197     O << " += vmpyweh(";
12204     O << " += vmpywouh(";
12211     O << " += vmpyweuh(";
12218     O << " = vmpywoh(";
12225     O << " = vmpyweh(";
12232     O << " = vmpywouh(";
12239     O << " = vmpyweuh(";
12246     O << " = -mpyi(";
12248     O << ",#";
12255     O << " = +mpyi(";
12257     O << ",#";
12264     O << " = mpysu(";
12273     O << " -= add(";
12278     O << " += sub(";
12287     O << " += vcmpyi(";
12291     O << "):sat";
12296     O << " += vcmpyr(";
12300     O << "):sat";
12305     O << " = vcmpyi(";
12312     O << " = vcmpyr(";
12319     O << " += vdmpy(";
12326     O << " = vdmpy(";
12333     O << " += vmpyeh(";
12340     O << " += vmpyhsu(";
12347     O << " = vmpyeh(";
12354     O << " = vmpyhsu(";
12361     O << " = vraddh(";
12370     O << " = vradduh(";
12379     O << " += vrcmpyi(";
12386     O << " += vrcmpyr(";
12393     O << " = vrcmpyi(";
12400     O << " = vrcmpyr(";
12407     O << " += vrmpyh(";
12416     O << " = vrmpyh(";
12425     O << " ^= xor(";
12434     O << " &= and(";
12439     O << " &= or(";
12448     O << " &= xor(";
12457     O << " = cmpyiwh(";
12464     O << " = cmpyrwh(";
12471     O << " = add(#";
12476     O << " |= and(";
12481     O << " |= or(";
12486     O << " |= xor(";
12495     O << " = pmpyw(";
12504     O << " ^= pmpyw(";
12513     O << " = vpmpyh(";
12522     O << " ^= vpmpyh(";
12531     O << " += vrmpyweh(";
12538     O << " = vrmpyweh(";
12545     O << " += vrmpywoh(";
12552     O << " = vrmpywoh(";
12559     O << " ^= and(";
12564     O << " ^= or(";
12573     O << " += vdmpybsu(";
12577     O << "):sat";
12582     O << " = vdmpybsu(";
12586     O << "):sat";
12591     O << " += vmpybsu(";
12600     O << " += vmpybu(";
12609     O << " = vmpybsu(";
12618     O << " = vmpybu(";
12627     O << " += vrmpybsu(";
12636     O << " += vrmpybu(";
12645     O << " = vrmpybsu(";
12654     O << " = vrmpybu(";
12663     O << " = vabsdiffb(";
12672     O << " = memb(#";
12679     O << " = memd(#";
12686     O << " = memh(#";
12693     O << " = memw(#";
12700     O << " = memub(#";
12707     O << " = memuh(#";
12714     O << " = addasl(";
12718     O << ",#";
12725     O << " = asl(";
12730     O << " += asl(";
12735     O << " &= asl(";
12740     O << " -= asl(";
12745     O << " |= asl(";
12750     O << " ^= asl(";
12755     O << " = asr(";
12760     O << " += asr(";
12765     O << " &= asr(";
12770     O << " -= asr(";
12775     O << " |= asr(";
12780     O << " ^= asr(";
12789     O << " = brev(";
12796     O << " = decbin(";
12805     O << " = cl0(";
12812     O << " = cl1(";
12819     O << " = clb(";
12826     O << " = normamt(";
12833     O << " = clrbit(";
12838     O << " = ct0(";
12845     O << " = ct1(";
12852     O << " = deinterleave(";
12859     O << " = extractu(";
12864     O << " = insert(";
12869     O << " = interleave(";
12876     O << " = lfs(";
12885     O << " = lsl(";
12894     O << " += lsl(";
12903     O << " &= lsl(";
12912     O << " -= lsl(";
12921     O << " |= lsl(";
12930     O << " ^= lsl(";
12939     O << " = vlslh(";
12948     O << " = vlslw(";
12957     O << " = lsr(";
12962     O << " += lsr(";
12967     O << " &= lsr(";
12972     O << " -= lsr(";
12977     O << " |= lsr(";
12982     O << " ^= lsr(";
12987     O << " = mask(#";
12989     O << ",#";
12996     O << " = packhl(";
13003     O << " = parity(";
13012     O << " = setbit(";
13017     O << " = shuffeb(";
13026     O << " = shuffeh(";
13035     O << " = shuffob(";
13044     O << " = shuffoh(";
13053     O << "++";
13058     O << "++#";
13063     O << "++I:circ(";
13065     O << ")) = ";
13070     O << " = vsathb(";
13077     O << " = togglebit(";
13082     O << " = tstbit(";
13087     O << " = valignb(";
13094     O << " = vcnegh(";
13103     O << " = vcrotate(";
13112     O << " += vrcnegh(";
13121     O << " = vrndwh(";
13126     O << " = vsatwuh(";
13133     O << " = vsplatb(";
13140     O << " = vsplath(";
13147     O << " = vspliceb(";
13154     O << " = vsxtbh(";
13161     O << " = vsxthw(";
13168     O << " = vtrunehb(";
13173     O << " = vtrunewh(";
13182     O << " = vtrunohb(";
13187     O << " = vtrunowh(";
13196     O << " = vzxtbh(";
13203     O << " = vzxthw(";
13210     O << " = and(#";
13215     O << " = add(clb(";
13217     O << "),#";
13224     O << " = extract(";
13229     O << " = lsl(#";
13238     O << " = !tstbit(";
13243     O << " = or(#";
13248     O << ") memb(#";
13250     O << ") = ";
13255     O << ".new) memb(#";
13257     O << ") = ";
13262     O << ") memd(#";
13264     O << ") = ";
13270     O << ".new) memd(#";
13272     O << ") = ";
13278     O << ") memh(#";
13280     O << ") = ";
13285     O << ".new) memh(#";
13287     O << ") = ";
13292     O << ") memw(#";
13294     O << ") = ";
13299     O << ".new) memw(#";
13301     O << ") = ";
13306     O << "=#";
13308     O << ") = ";
13315     O << "<<#";
13317     O << ") = ";
13322     O << "<<#";
13324     O << "+#";
13326     O << ") = ";
13331     O << " = vrcrotate(";
13335     O << ",#";
13342     O << " += vrcrotate(";
13346     O << ",#";
13353     O << " = vxaddsubh(";
13360     O << " = vxaddsubw(";
13364     O << "):sat";
13369     O << " = vxsubaddh(";
13376     O << " = vxsubaddw(";
13380     O << "):sat";
13385     O << " = popcount(";
13392     O << " = rol(";
13394     O << ",#";
13401     O << " += rol(";
13403     O << ",#";
13410     O << " &= rol(";
13412     O << ",#";
13419     O << " -= rol(";
13421     O << ",#";
13428     O << " |= rol(";
13430     O << ",#";
13437     O << " ^= rol(";
13439     O << ",#";
13446     O << " = add(r29,#";
13453     O << " = combine(#0,#";
13460     O << " = combine(#1,#";
13467     O << " = combine(#2,#";
13474     O << " = combine(#3,#";
13481     O << " = combine(#0,";
13488     O << " = memd(r29+#";
13495     O << " = memw(r29+#";
13502     O << " = vextract(";
13511     O << ".b = vsplat(";
13518     O << ".h = vsplat(";
13525     O << " = vsplat(";
13532     O << " = vsetq(";
13539     O << " = vsetq2(";
13546     O << ".b = vshuffe(";
13551     O << ".h = vshuffe(";
13556     O << ".cur = vmem(";
13561     O << ".tmp = vmem(";
13566     O << ".b = vabs(";
13571     O << ".uh = vabsdiff(";
13576     O << ".ub = vabsdiff(";
13578     O << ".ub,";
13580     O << ".ub)";
13585     O << ".uw = vabsdiff(";
13587     O << ".w,";
13589     O << ".w)";
13594     O << ".h = vabs(";
13599     O << ".w = vabs(";
13604     O << ".b = vadd(";
13606     O << ".b,";
13611     O << ".w = vadd(";
13615     O << ".w,";
13620     O << ".h = vadd(vclb(";
13622     O << ".h),";
13624     O << ".h)";
13629     O << ".w = vadd(vclb(";
13631     O << ".w),";
13633     O << ".w)";
13638     O << ".h = vadd(";
13643     O << ".w += vadd(";
13648     O << ".h += vadd(";
13650     O << ".ub,";
13652     O << ".ub)";
13657     O << ".ub = vadd(";
13659     O << ".ub,";
13664     O << ".uh = vadd(";
13666     O << ".uh,";
13668     O << ".uh):sat";
13673     O << ".uw = vadd(";
13675     O << ".uw,";
13677     O << ".uw):sat";
13682     O << " = valign(";
13689     O << " = vand(";
13698     O << " = vand(!";
13707     O << " |= vand(!";
13716     O << " |= vand(";
13725     O << ".h = vasl(";
13727     O << ".h,";
13732     O << ".h += vasl(";
13734     O << ".h,";
13741     O << ".w = vasl(";
13743     O << ".w,";
13748     O << ".w += vasl(";
13750     O << ".w,";
13757     O << ".w = vasrinto(";
13759     O << ".w,";
13761     O << ".w)";
13766     O << ".h = vasr(";
13771     O << ".h += vasr(";
13773     O << ".h,";
13780     O << ".b = vasr(";
13782     O << ".h,";
13784     O << ".h,";
13789     O << ".ub = vasr(";
13794     O << ".uh = vasr(";
13799     O << ".w = vasr(";
13801     O << ".w,";
13806     O << ".w += vasr(";
13808     O << ".w,";
13815     O << ".b = vavg(";
13817     O << ".b,";
13822     O << ".h = vavg(";
13824     O << ".h,";
13829     O << ".ub = vavg(";
13831     O << ".ub,";
13836     O << ".uh = vavg(";
13838     O << ".uh,";
13843     O << ".uw = vavg(";
13845     O << ".uw,";
13850     O << ".w = vavg(";
13852     O << ".w,";
13857     O << ".uh = vcl0(";
13859     O << ".uh)";
13864     O << ".uw = vcl0(";
13866     O << ".uw)";
13871     O << " = vcombine(";
13880     O << ".b = vdeal(";
13882     O << ".b)";
13887     O << ".b = vdeale(";
13889     O << ".b,";
13891     O << ".b)";
13896     O << ".h = vdeal(";
13898     O << ".h)";
13903     O << " = vdeal(";
13914     O << " = vdelta(";
13923     O << ".h = vdmpy(";
13925     O << ".ub,";
13927     O << ".b)";
13932     O << ".h += vdmpy(";
13934     O << ".ub,";
13936     O << ".b)";
13941     O << ".w = vdmpy(";
13943     O << ".h,";
13948     O << ".w += vdmpy(";
13950     O << ".h,";
13955     O << ".uw = vdsad(";
13957     O << ".uh,";
13959     O << ".uh)";
13964     O << ".uw += vdsad(";
13966     O << ".uh,";
13968     O << ".uh)";
13973     O << ") vtmp.h = vgather(";
13982     O << ") vtmp.w = vgather(";
13988     O << ".w).w";
13993     O << " = vcmp.gt(";
13998     O << " &= vcmp.gt(";
14003     O << " |= vcmp.gt(";
14008     O << " ^= vcmp.gt(";
14013     O << ".w = vinsert(";
14020     O << " = vlalign(";
14027     O << ".ub = vlsr(";
14029     O << ".ub,";
14036     O << ".uh = vlsr(";
14038     O << ".uh,";
14045     O << ".h = vlsr(";
14047     O << ".h,";
14049     O << ".h)";
14054     O << ".uw = vlsr(";
14056     O << ".uw,";
14063     O << ".w = vlsr(";
14065     O << ".w,";
14067     O << ".w)";
14072     O << ".h = vlut4(";
14074     O << ".uh,";
14076     O << ".h)";
14081     O << ".b = vlut32(";
14083     O << ".b,";
14088     O << ".b |= vlut32(";
14090     O << ".b,";
14095     O << ".h = vlut16(";
14097     O << ".b,";
14102     O << ".h |= vlut16(";
14104     O << ".b,";
14109     O << ".b = vmax(";
14111     O << ".b,";
14113     O << ".b)";
14118     O << ".h = vmax(";
14120     O << ".h,";
14122     O << ".h)";
14127     O << ".ub = vmax(";
14129     O << ".ub,";
14131     O << ".ub)";
14136     O << ".uh = vmax(";
14138     O << ".uh,";
14140     O << ".uh)";
14145     O << ".w = vmax(";
14147     O << ".w,";
14149     O << ".w)";
14154     O << ".b = vmin(";
14156     O << ".b,";
14158     O << ".b)";
14163     O << ".h = vmin(";
14165     O << ".h,";
14167     O << ".h)";
14172     O << ".ub = vmin(";
14174     O << ".ub,";
14176     O << ".ub)";
14181     O << ".uh = vmin(";
14183     O << ".uh,";
14185     O << ".uh)";
14190     O << ".w = vmin(";
14192     O << ".w,";
14194     O << ".w)";
14199     O << ".h = vmpa(";
14204     O << ".h += vmpa(";
14206     O << ".ub,";
14211     O << ".w = vmpa(";
14216     O << ".w += vmpa(";
14221     O << ".h = vmps(";
14223     O << ".h,";
14225     O << ".uh,";
14227     O << ".uh):sat";
14232     O << ".h = vmpy(";
14237     O << ".h += vmpy(";
14242     O << ".w = vmpye(";
14244     O << ".w,";
14246     O << ".uh)";
14251     O << " = vmpye(";
14253     O << ".w,";
14255     O << ".uh)";
14260     O << ".w = vmpy(";
14262     O << ".h,";
14267     O << ".w += vmpy(";
14269     O << ".h,";
14274     O << ".w = vmpyieo(";
14276     O << ".h,";
14278     O << ".h)";
14283     O << ".w += vmpyie(";
14285     O << ".w,";
14290     O << ".w = vmpyie(";
14292     O << ".w,";
14294     O << ".uh)";
14299     O << ".h = vmpyi(";
14301     O << ".h,";
14306     O << ".h += vmpyi(";
14308     O << ".h,";
14313     O << ".w = vmpyio(";
14315     O << ".w,";
14317     O << ".h)";
14322     O << ".w = vmpyi(";
14324     O << ".w,";
14329     O << ".w += vmpyi(";
14331     O << ".w,";
14336     O << ".w = vmpyo(";
14338     O << ".w,";
14343     O << " += vmpyo(";
14345     O << ".w,";
14347     O << ".h)";
14352     O << ".w += vmpyo(";
14354     O << ".w,";
14359     O << ".uh = vmpy(";
14361     O << ".ub,";
14363     O << ".ub)";
14368     O << ".uh += vmpy(";
14370     O << ".ub,";
14372     O << ".ub)";
14377     O << ".uw = vmpy(";
14379     O << ".uh,";
14381     O << ".uh)";
14386     O << ".uw += vmpy(";
14388     O << ".uh,";
14390     O << ".uh)";
14395     O << ".uw = vmpye(";
14397     O << ".uh,";
14399     O << ".uh)";
14404     O << ".uw += vmpye(";
14406     O << ".uh,";
14408     O << ".uh)";
14413     O << ".b = vnavg(";
14418     O << ".h = vnavg(";
14420     O << ".h,";
14422     O << ".h)";
14427     O << ".w = vnavg(";
14429     O << ".w,";
14431     O << ".w)";
14436     O << ".h = vnormamt(";
14438     O << ".h)";
14443     O << ".w = vnormamt(";
14445     O << ".w)";
14450     O << " = vnot(";
14457     O << " = vor(";
14466     O << ".b = vpacke(";
14468     O << ".h,";
14470     O << ".h)";
14475     O << ".h = vpacke(";
14477     O << ".w,";
14479     O << ".w)";
14484     O << ".b = vpack(";
14486     O << ".h,";
14488     O << ".h):sat";
14493     O << ".ub = vpack(";
14495     O << ".h,";
14497     O << ".h):sat";
14502     O << ".b = vpacko(";
14504     O << ".h,";
14506     O << ".h)";
14511     O << ".h = vpacko(";
14513     O << ".w,";
14515     O << ".w)";
14520     O << ".h = vpack(";
14522     O << ".w,";
14524     O << ".w):sat";
14529     O << ".uh = vpack(";
14531     O << ".w,";
14533     O << ".w):sat";
14538     O << ".h = vpopcount(";
14540     O << ".h)";
14545     O << ".b = prefixsum(";
14552     O << ".h = prefixsum(";
14559     O << ".w = prefixsum(";
14566     O << " = vrdelta(";
14575     O << ".w = vrmpyz(";
14579     O << ".w += vrmpyz(";
14583     O << ".w = vr16mpyz(";
14587     O << ".w += vr16mpyz(";
14591     O << ".w = vr16mpyzs(";
14595     O << ".w += vr16mpyzs(";
14599     O << ".w = vr8mpyz(";
14603     O << ".w += vr8mpyz(";
14607     O << " = vror(";
14616     O << ".uw = vrotr(";
14618     O << ".uw,";
14620     O << ".uw)";
14625     O << ".b = vround(";
14627     O << ".h,";
14629     O << ".h):sat";
14634     O << ".ub = vround(";
14639     O << ".uh = vround(";
14644     O << ".h = vround(";
14646     O << ".w,";
14648     O << ".w):sat";
14653     O << ".uw = vrsad(";
14655     O << ".ub,";
14657     O << ".ub,#";
14664     O << ".uw += vrsad(";
14666     O << ".ub,";
14668     O << ".ub,#";
14675     O << ".w = vsatdw(";
14677     O << ".w,";
14679     O << ".w)";
14684     O << ".ub = vsat(";
14686     O << ".h,";
14688     O << ".h)";
14693     O << ".uh = vsat(";
14695     O << ".uw,";
14697     O << ".uw)";
14702     O << ".h = vsat(";
14704     O << ".w,";
14706     O << ".w)";
14711     O << ".h = vsxt(";
14713     O << ".b)";
14718     O << ".w = vsxt(";
14720     O << ".h)";
14725     O << ".b = vshuff(";
14727     O << ".b)";
14732     O << ".h = vshuff(";
14734     O << ".h)";
14739     O << ".b = vshuffo(";
14741     O << ".b,";
14743     O << ".b)";
14748     O << " = vshuff(";
14759     O << ".b = vshuffoe(";
14761     O << ".b,";
14763     O << ".b)";
14768     O << ".h = vshuffoe(";
14770     O << ".h,";
14772     O << ".h)";
14777     O << ".h = vshuffo(";
14779     O << ".h,";
14781     O << ".h)";
14786     O << ".b = vsub(";
14788     O << ".b,";
14793     O << ".w = vsub(";
14797     O << ".h = vsub(";
14802     O << ".ub = vsub(";
14804     O << ".ub,";
14809     O << ".uh = vsub(";
14811     O << ".uh,";
14813     O << ".uh):sat";
14818     O << ".uw = vsub(";
14820     O << ".uw,";
14822     O << ".uw):sat";
14827     O << " = vswap(";
14838     O << ".h = vtmpy(";
14843     O << ".h += vtmpy(";
14848     O << ".w = vtmpy(";
14850     O << ".h,";
14852     O << ".b)";
14857     O << ".w += vtmpy(";
14859     O << ".h,";
14861     O << ".b)";
14866     O << ".h = vunpack(";
14868     O << ".b)";
14873     O << ".w = vunpack(";
14875     O << ".h)";
14880     O << ".h |= vunpacko(";
14882     O << ".b)";
14887     O << ".w |= vunpacko(";
14889     O << ".h)";
14894     O << ".uh = vunpack(";
14896     O << ".ub)";
14901     O << ".uw = vunpack(";
14903     O << ".uh)";
14908     O << "):sat";
14913     O << " = vxor(";
14922     O << ".uh = vzxt(";
14924     O << ".ub)";
14929     O << ".uw = vzxt(";
14931     O << ".uh)";
14936     O << " = zextract(";
14958     O << " = ";
14972     O << " = memb(";
14976     O << " = memd(";
14980     O << " = memh(";
14984     O << " = memw(";
14988     O << " = memub(";
14992     O << " = memuh(";
14996     O << ",#";
15000     O << "):<<1:sat";
15005     O << "):<<1:rnd:sat";
15010     O << ".new";
15015     O << ".h";
15020     O << ".ub,";
15024     O << ".uh,";
15028     O << ".uw,";
15032     O << ".cur = vmem(";
15036     O << " = vmem(";
15040     O << "):nt";
15045     O << ".tmp = vmem(";
15049     O << "):sat";
15054     O << ".b += ";
15056     O << ".b";
15061     O << ".h += ";
15063     O << ".h";
15068     O << ".w += ";
15070     O << ".w";
15079     O << "):rnd:sat";
15084     O << "):rnd";
15089     O << ",#1):sat";
15094     O << "):<<1:rnd:sat:shift";
15099     O << "):<<1:sat:shift";
15104     O << ".b,";
15108     O << ".ub)";
15113     O << ".h) = ";
15115     O << ".h";
15120     O << ".w) = ";
15125     O << ".b -= ";
15127     O << ".b";
15132     O << ".h -= ";
15134     O << ".h";
15139     O << ".w -= ";
15141     O << ".w";
15146     O << ".h,";
15150     O << ".l,";
15154     O << " = add(";
15159     O << " = and(";
15168     O << " = or(";
15177     O << " = sub(";
15186     O << " = xor(";
15195     O << "):crnd";
15200     O << "):crnd:sat";
15205     O << ",~";
15209     O << "):raw:hi";
15214     O << "):raw:lo";
15219     O << " = aslh(";
15226     O << " = asrh(";
15233     O << " = sxtb(";
15240     O << " = sxth(";
15247     O << " = zxtb(";
15254     O << " = zxth(";
15261     O << ",!";
15268     O << " = combine(";
15277     O << " = #";
15283     O << ",and(";
15288     O << ",or(";
15293     O << "):chop";
15298     O << "):neg";
15303     O << "):pos";
15308     O << "):lib";
15313     O << ")) jump:nt ";
15319     O << ")) jump:t ";
15325     O << " ; jump ";
15331     O << "+#";
15336     O << "++";
15341     O << "++#";
15346     O << "++I:circ(";
15348     O << "))";
15353     O << ") += ";
15359     O << ") &= ";
15365     O << ") += #";
15371     O << ") = clrbit(#";
15378     O << ") = setbit(#";
15385     O << ") -= #";
15391     O << "=#";
15398     O << "<<#";
15400     O << "+#";
15409     O << "<<#";
15416     O << ") |= ";
15422     O << " = memb(#";
15429     O << " = memd(#";
15436     O << " = memh(#";
15443     O << " = memw(#";
15450     O << " = memub(#";
15457     O << " = memuh(#";
15464     O << " = dealloc_return(";
15469     O << ") -= ";
15475     O << "*):sat";
15480     O << "*):<<1:sat";
15485     O << "*):rnd:sat";
15490     O << "*):<<1:rnd:sat";
15495     O << "*)";
15500     O << "):<<1:sat:raw:hi";
15505     O << "):<<1:sat:raw:lo";
15510     O << "):<<1:rnd:sat:raw:hi";
15515     O << "):<<1:rnd:sat:raw:lo";
15520     O << ",mpyi(";
15525     O << "):<<1";
15534     O << ") = ";
15538     O << ":brev) = ";
15543     O << ":circ(";
15545     O << ")) = ";
15550     O << "):raw";
15555     O << ",asl(";
15557     O << ",#";
15559     O << "))";
15564     O << ",lsr(";
15566     O << ",#";
15568     O << "))";
15573     O << ") = #";
15579     O << "):rnd:>>1:sat";
15584     O << ",#1)";
15589     O << ",#0)";
15594     O << ",#255)";
15599     O << ") = #0";
15604     O << ") = #1";
15609     O << ".w,";
15613     O << "):nt = ";
15617     O << "):scatter_release";
15622     O << ".b)";
15627     O << ".b):sat";
15632     O << ".h)";
15637     O << ".h):sat";
15642     O << ".w)";
15647     O << ".w):sat";
15652     O << " = vadd(";
15654     O << ".w,";
15656     O << ".w):carry";
15661     O << ".ub):sat";
15666     O << ".b):rnd";
15671     O << ".h):rnd";
15676     O << ".ub):rnd";
15681     O << ".uh)";
15686     O << ".uh):rnd";
15691     O << ".uw)";
15696     O << ".uw):rnd";
15701     O << ".w):rnd";
15706     O << " = vcombine(";
15715     O << ".uh,#1):sat";
15720     O << ".uh):sat";
15725     O << ".h).h";
15730     O << ".w).h";
15735     O << ".b,#";
15739     O << ".h,#";
15743     O << ".h):<<1:sat";
15748     O << ".h):<<1:rnd:sat";
15753     O << ".h):<<1:rnd:sat:shift";
15758     O << ".h):<<1:sat:shift";
15763     O << ".ub,#";
15771     O << ".h).h = ";
15777     O << ".w).h = ";
15783     O << ".w).w = ";
15789     O << " = vsub(";
15791     O << ".w,";
15793     O << ".w):carry";
15798     O << "):deprecated";
15822     O << ") = ";
15827     O << ") = #";
15837     O << "):nt = ";
15847     O << ".h";
15852     O << ".w";
15857     O << ".h,";
15862     O << ".l,";
15867     O << ",#";
15875     O << " = vacsh(";
15884     O << " = vminub(";
15893     O << ",!";
15895     O << "))";
15900     O << " = sfinvsqrta(";
15907     O << " = sfrecipa(";
15916     O << "); if (!p0.new) jump:nt ";
15922     O << "); if (!p0.new) jump:t ";
15928     O << "); if (!p1.new) jump:nt ";
15934     O << "); if (!p1.new) jump:t ";
15940     O << "); if (p0.new) jump:nt ";
15946     O << "); if (p0.new) jump:t ";
15952     O << "); if (p1.new) jump:nt ";
15958     O << "); if (p1.new) jump:t ";
15964     O << ".new)) jump:nt ";
15970     O << ".new)) jump:t ";
15976     O << "+#";
15980     O << "++";
15984     O << "++#";
15988     O << "++I:circ(";
15990     O << "))";
15995     O << ":brev)";
16000     O << ":circ(";
16002     O << "))";
16011     O << "=#";
16018     O << "<<#";
16020     O << "+#";
16027     O << "):raw";
16032     O << "):nt:raw";
16037     O << "):t:raw";
16042     O << ",mpyi(";
16047     O << ",mpyi(#";
16051     O << "))";
16056     O << ".new";
16061     O << ",add(";
16063     O << ",#";
16065     O << "))";
16072     O << "<<#";
16074     O << ") = ";
16079     O << ",sub(#";
16083     O << "))";
16088     O << ",#1)";
16093     O << "):nt";
16098     O << ".w,";
16102     O << ".uh,";
16104     O << ".uh)";
16109     O << ".b,";
16113     O << ".c,";
16117     O << ".n,";
16140     O << ".new";
16145     O << ".h";
16150     O << "):rnd:sat";
16155     O << "):rnd";
16160     O << ".ub)";
16165     O << ".uh)";
16170     O << ".uw)";
16175     O << "):nt";
16189     O << ".h):<<16";
16194     O << ".l):<<16";
16199     O << ".h):sat:<<16";
16204     O << ".l):sat:<<16";
16209     O << ".h)";
16214     O << ".l)";
16219     O << ".h):sat";
16224     O << ".l):sat";
16233     O << "):sat";
16238     O << ",#";
16242     O << "):scale";
16247     O << "+#";
16252     O << "++#";
16259     O << "<<#";
16266     O << ".h):<<1:rnd:sat";
16271     O << ".h):<<1:sat";
16276     O << ".l):<<1:rnd:sat";
16281     O << ".l):<<1:sat";
16286     O << ".h):<<1";
16291     O << ".l):<<1";
16296     O << ".h):rnd";
16301     O << ".h):<<1:rnd";
16306     O << ".l):rnd";
16311     O << ".l):<<1:rnd";
16316     O << ".h):rnd:sat";
16321     O << ".l):rnd:sat";
16326     O << "):<<1";
16331     O << "):<<1:sat";
16336     O << "):raw";
16341     O << ".w)";
16346     O << "++";
16351     O << ".h,";
16356     O << ".uh,";
16361     O << ".uw,";
16366     O << ".w,";
16371     O << ".b)";
16376     O << "):nomatch";
16381     O << ".b,#";
16389     O << ".uh):sat";
16394     O << ".uw):sat";
16399     O << ".w):sat";
16415     O << "):rnd:sat";
16420     O << "):sat";
16425     O << ".h) += ";
16427     O << ".h";
16432     O << ".h) = ";
16434     O << ".h";
16439     O << ".w) += ";
16444     O << ".w) = ";
16449     O << "):raw:hi";
16454     O << "):raw:lo";
16461     O << "):carry";
16470     O << "))";
16475     O << ":brev)";
16480     O << ":circ(";
16482     O << "))";
16493     O << ") = ";
16497     O << ") = #";
16503     O << "):nt";
16508     O << "):nt = ";
16512     O << ".w,";
16516     O << ".w)";
16521     O << ".w):sat";
16526     O << ".h).h";
16531     O << ".w).h";
16536     O << ".w).w";
16541     O << ".h):sat";
16546     O << ".uh):sat";
16551     O << ".b)";
16556     O << ".b++)";
16561     O << ".ub)";
16566     O << ".ub++)";
16571     O << ".h).h = ";
16577     O << ".h).h += ";
16583     O << ".w).h = ";
16589     O << ".w).h += ";
16595     O << ".w).w = ";
16601     O << ".w).w += ";
16607     O << "):sat:deprecated";
16618     O << ".w";
16623     O << ".h";
16633     O << "))";
16647     O << "):carry";
16662     O << ".new";
16667     O << ".h";
16672     O << "):carry:sat";
gen/lib/Target/Hexagon/HexagonGenDisassemblerTables.inc
12212       errs() << Loc << ": Unexpected decode table opcode!\n";
12219       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
12219       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
12220                    << Len << "): " << CurFieldValue << "\n");
12220                    << Len << "): " << CurFieldValue << "\n");
12236       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
12236       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
12237                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
12237                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
12238                    << " continuing at " << (Ptr - DecodeTable) << "\n");
12238                    << " continuing at " << (Ptr - DecodeTable) << "\n");
12257       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
12257       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
12258                    << Len << ", " << ExpectedValue << ", " << NumToSkip
12258                    << Len << ", " << ExpectedValue << ", " << NumToSkip
12259                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
12259                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
12260                    << ExpectedValue << ": "
12261                    << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
12278       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
12278       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
12279             << (Pred ? "PASS\n" : "FAIL\n"));
12297       LLVM_DEBUG(dbgs() << Loc << ": OPC_Decode: opcode " << Opc
12298                    << ", using decoder " << DecodeIdx << ": "
12298                    << ", using decoder " << DecodeIdx << ": "
12299                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
12299                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
12319       LLVM_DEBUG(dbgs() << Loc << ": OPC_TryDecode: opcode " << Opc
12320                    << ", using decoder " << DecodeIdx << ": ");
12320                    << ", using decoder " << DecodeIdx << ": ");
12324         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
12324         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
12331         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
12331         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
12348       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
12348       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
12352       LLVM_DEBUG(dbgs() << Loc << ": OPC_Fail\n");
gen/lib/Target/Hexagon/HexagonGenMCCodeEmitter.inc
11537     Msg << "Not supported instr: " << MI;
gen/lib/Target/Hexagon/HexagonGenSubtargetInfo.inc
 4639   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
 4640   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
 4640   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/Lanai/LanaiGenAsmMatcher.inc
 1075   DEBUG_WITH_TYPE("asm-matcher", dbgs() << "AsmMatcher: found " <<
 1076   std::distance(MnemonicRange.first, MnemonicRange.second) << 
 1077   " encodings with mnemonic '" << Mnemonic << "'\n");
 1088     DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Trying to match opcode "
 1089                                           << MII.getName(it->Opcode) << "\n");
 1096                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 1096                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 1097                              << " against actual operand at index " << ActualIdx);
 1099         DEBUG_WITH_TYPE("asm-matcher", dbgs() << " (";
 1100                         Operands[ActualIdx]->print(dbgs()); dbgs() << "): ");
 1102         DEBUG_WITH_TYPE("asm-matcher", dbgs() << ": ");
 1104         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "actual operand index out of range ");
 1113                         dbgs() << "match success using generic matcher\n");
 1123                           dbgs() << "match success using target matcher\n");
 1135         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "ignoring optional operand\n");
 1154       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
 1162       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Missing target features:";
 1166                        dbgs() << "\n");
 1188           dbgs() << "Early target match predicate failed with diag code "
 1189                  << MatchResult << "\n");
 1211                       dbgs() << "Target match predicate failed with diag code "
 1212                              << MatchResult << "\n");
 1224         dbgs() << "Opcode result: complete match, selecting this opcode\n");
gen/lib/Target/Lanai/LanaiGenAsmWriter.inc
  634   O << "\t";
  641   O << AsmStrs+(Bits & 1023)-1;
  658     O << ", ";
  663     O << "\t";
  665     O << ", ";
  667     O << ", ";
  678     O << "\t";
  680     O << " add ";
  687     O << ", ";
  694     O << ", ";
  701     O << ", ";
  708     O << ", ";
  715     O << ", ";
  724     O << ", ";
  726     O << ", ";
  745     O << ", ";
  752     O << ", ";
  759     O << ", ";
  766     O << ", ";
  772     O << "\t";
  778     O << ".r\t";
  793     O << ", ";
  804     O << ", %r0";
  810     O << ", %r0";
gen/lib/Target/Lanai/LanaiGenDisassemblerTables.inc
  466       errs() << Loc << ": Unexpected decode table opcode!\n";
  473       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
  473       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
  474                    << Len << "): " << CurFieldValue << "\n");
  474                    << Len << "): " << CurFieldValue << "\n");
  490       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
  490       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
  491                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
  491                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
  492                    << " continuing at " << (Ptr - DecodeTable) << "\n");
  492                    << " continuing at " << (Ptr - DecodeTable) << "\n");
  511       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
  511       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
  512                    << Len << ", " << ExpectedValue << ", " << NumToSkip
  512                    << Len << ", " << ExpectedValue << ", " << NumToSkip
  513                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
  513                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
  514                    << ExpectedValue << ": "
  515                    << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
  532       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
  532       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
  533             << (Pred ? "PASS\n" : "FAIL\n"));
  551       LLVM_DEBUG(dbgs() << Loc << ": OPC_Decode: opcode " << Opc
  552                    << ", using decoder " << DecodeIdx << ": "
  552                    << ", using decoder " << DecodeIdx << ": "
  553                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  553                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  573       LLVM_DEBUG(dbgs() << Loc << ": OPC_TryDecode: opcode " << Opc
  574                    << ", using decoder " << DecodeIdx << ": ");
  574                    << ", using decoder " << DecodeIdx << ": ");
  578         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  578         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  585         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
  585         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
  602       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
  602       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
  606       LLVM_DEBUG(dbgs() << Loc << ": OPC_Fail\n");
gen/lib/Target/Lanai/LanaiGenMCCodeEmitter.inc
  713     Msg << "Not supported instr: " << MI;
gen/lib/Target/Lanai/LanaiGenSubtargetInfo.inc
  199   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
  200   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
  200   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/MSP430/MSP430GenAsmMatcher.inc
 1133   DEBUG_WITH_TYPE("asm-matcher", dbgs() << "AsmMatcher: found " <<
 1134   std::distance(MnemonicRange.first, MnemonicRange.second) << 
 1135   " encodings with mnemonic '" << Mnemonic << "'\n");
 1146     DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Trying to match opcode "
 1147                                           << MII.getName(it->Opcode) << "\n");
 1154                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 1154                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 1155                              << " against actual operand at index " << ActualIdx);
 1157         DEBUG_WITH_TYPE("asm-matcher", dbgs() << " (";
 1158                         Operands[ActualIdx]->print(dbgs()); dbgs() << "): ");
 1160         DEBUG_WITH_TYPE("asm-matcher", dbgs() << ": ");
 1162         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "actual operand index out of range ");
 1171                         dbgs() << "match success using generic matcher\n");
 1181                           dbgs() << "match success using target matcher\n");
 1193         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "ignoring optional operand\n");
 1212       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
 1220       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Missing target features:";
 1224                        dbgs() << "\n");
 1246           dbgs() << "Early target match predicate failed with diag code "
 1247                  << MatchResult << "\n");
 1269                       dbgs() << "Target match predicate failed with diag code "
 1270                              << MatchResult << "\n");
 1282         dbgs() << "Opcode result: complete match, selecting this opcode\n");
gen/lib/Target/MSP430/MSP430GenAsmWriter.inc
  595   O << "\t";
  601   O << AsmStrs+(Bits & 1023)-1;
  614     O << ", ";
  619     O << ", ";
  624     O << ", ";
  629     O << ", ";
  634     O << ", ";
  645     O << ", ";
  652     O << ", ";
  659     O << ", ";
  666     O << ", ";
  688     O << "\t";
gen/lib/Target/MSP430/MSP430GenDisassemblerTables.inc
 1343       errs() << Loc << ": Unexpected decode table opcode!\n";
 1350       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
 1350       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
 1351                    << Len << "): " << CurFieldValue << "\n");
 1351                    << Len << "): " << CurFieldValue << "\n");
 1367       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
 1367       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
 1368                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
 1368                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
 1369                    << " continuing at " << (Ptr - DecodeTable) << "\n");
 1369                    << " continuing at " << (Ptr - DecodeTable) << "\n");
 1388       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
 1388       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
 1389                    << Len << ", " << ExpectedValue << ", " << NumToSkip
 1389                    << Len << ", " << ExpectedValue << ", " << NumToSkip
 1390                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
 1390                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
 1391                    << ExpectedValue << ": "
 1392                    << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
 1409       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
 1409       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
 1410             << (Pred ? "PASS\n" : "FAIL\n"));
 1428       LLVM_DEBUG(dbgs() << Loc << ": OPC_Decode: opcode " << Opc
 1429                    << ", using decoder " << DecodeIdx << ": "
 1429                    << ", using decoder " << DecodeIdx << ": "
 1430                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 1430                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 1450       LLVM_DEBUG(dbgs() << Loc << ": OPC_TryDecode: opcode " << Opc
 1451                    << ", using decoder " << DecodeIdx << ": ");
 1451                    << ", using decoder " << DecodeIdx << ": ");
 1455         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 1455         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 1462         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
 1462         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
 1479       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
 1479       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
 1483       LLVM_DEBUG(dbgs() << Loc << ": OPC_Fail\n");
gen/lib/Target/MSP430/MSP430GenMCCodeEmitter.inc
 1089     Msg << "Not supported instr: " << MI;
gen/lib/Target/MSP430/MSP430GenSubtargetInfo.inc
  136   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
  137   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
  137   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/Mips/MipsGenAsmMatcher.inc
 8109   DEBUG_WITH_TYPE("asm-matcher", dbgs() << "AsmMatcher: found " <<
 8110   std::distance(MnemonicRange.first, MnemonicRange.second) << 
 8111   " encodings with mnemonic '" << Mnemonic << "'\n");
 8122     DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Trying to match opcode "
 8123                                           << MII.getName(it->Opcode) << "\n");
 8130                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 8130                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 8131                              << " against actual operand at index " << ActualIdx);
 8133         DEBUG_WITH_TYPE("asm-matcher", dbgs() << " (";
 8134                         Operands[ActualIdx]->print(dbgs()); dbgs() << "): ");
 8136         DEBUG_WITH_TYPE("asm-matcher", dbgs() << ": ");
 8138         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "actual operand index out of range ");
 8147                         dbgs() << "match success using generic matcher\n");
 8157                           dbgs() << "match success using target matcher\n");
 8169         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "ignoring optional operand\n");
 8188       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
 8196       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Missing target features:";
 8200                        dbgs() << "\n");
 8222           dbgs() << "Early target match predicate failed with diag code "
 8223                  << MatchResult << "\n");
 8245                       dbgs() << "Target match predicate failed with diag code "
 8246                              << MatchResult << "\n");
 8258         dbgs() << "Opcode result: complete match, selecting this opcode\n");
gen/lib/Target/Mips/MipsGenAsmWriter.inc
 6668   O << "\t";
 6675   O << AsmStrs+(Bits & 16383)-1;
 6692     O << ", ";
 6697     O << ", ";
 6708     O << ", ";
 6722     O << ", ";
 6760     O << ", ";
 6772     O << ", 1f\n\tb\t2f\n\t.align\t2\n1: \t.word\t";
 6774     O << "\n2:";
 6783     O << ", .+4\n\t\n\tmove ";
 6785     O << ", ";
 6795     O << ", $pc, ";
 6801     O << " # 16 bit inst";
 6806     O << "  # 16 bit inst";
 6816     O << ".d\t";
 6818     O << ", ";
 6824     O << ".s\t";
 6826     O << ", ";
 6836     O << "\n\tnop";
 6841     O << "\t# branch\n\tnop";
 6874     O << ", ";
 6878     O << "\n\tmflo\t";
 6888     O << "\n\tmove\t";
 6890     O << ", $t8";
 6901     O << ", ";
 6923     O << "], ";
 6930     O << "], ";
 6937     O << "], ";
 6944     O << "], ";
 6951     O << "], ";
 6961     O << "], ";
 6971     O << "], ";
 6981     O << "], ";
 7022     O << ", ";
 7026     O << "\n\tbteqz\t";
 7032     O << "\n\tbtnez\t";
 7038     O << "\n\taddiu\t";
 7040     O << ", $pc, ";
 7042     O << "\n ";
 7052     O << "\n\tbteqz\t.+4\n\tmove ";
 7054     O << ", ";
 7060     O << "\n\tbtnez\t.+4\n\tmove ";
 7062     O << ", ";
 7068     O << "\t# 16 bit inst";
 7073     O << "  # 16 bit inst";
 7082     O << " \t# 16 bit inst";
 7087     O << ", 32";
 7105     O << ", ";
 7112     O << ", ";
 7114     O << ", ";
 7120     O << ", 0";
 7197     O << ", ";
 7233     O << ", ";
 7311     O << ", ";
gen/lib/Target/Mips/MipsGenDisassemblerTables.inc
10323       errs() << Loc << ": Unexpected decode table opcode!\n";
10330       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
10330       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
10331                    << Len << "): " << CurFieldValue << "\n");
10331                    << Len << "): " << CurFieldValue << "\n");
10347       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
10347       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
10348                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
10348                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
10349                    << " continuing at " << (Ptr - DecodeTable) << "\n");
10349                    << " continuing at " << (Ptr - DecodeTable) << "\n");
10368       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
10368       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
10369                    << Len << ", " << ExpectedValue << ", " << NumToSkip
10369                    << Len << ", " << ExpectedValue << ", " << NumToSkip
10370                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
10370                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
10371                    << ExpectedValue << ": "
10372                    << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
10389       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
10389       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
10390             << (Pred ? "PASS\n" : "FAIL\n"));
10408       LLVM_DEBUG(dbgs() << Loc << ": OPC_Decode: opcode " << Opc
10409                    << ", using decoder " << DecodeIdx << ": "
10409                    << ", using decoder " << DecodeIdx << ": "
10410                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
10410                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
10430       LLVM_DEBUG(dbgs() << Loc << ": OPC_TryDecode: opcode " << Opc
10431                    << ", using decoder " << DecodeIdx << ": ");
10431                    << ", using decoder " << DecodeIdx << ": ");
10435         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
10435         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
10442         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
10442         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
10459       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
10459       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
10463       LLVM_DEBUG(dbgs() << Loc << ": OPC_Fail\n");
gen/lib/Target/Mips/MipsGenMCCodeEmitter.inc
 8861     Msg << "Not supported instr: " << MI;
gen/lib/Target/Mips/MipsGenSubtargetInfo.inc
 3793   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
 3794   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
 3794   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/NVPTX/NVPTXGenAsmWriter.inc
12830   O << "\t";
12837   O << AsmStrs+(Bits & 32767)-1;
12906     O << ".f16x2 \t";
12910     O << ", ";
12912     O << ", ";
12989     O << ", ";
12993     O << ", {";
12998     O << ", (1);";
13003     O << " bra \t";
13010     O << ".f16.f16 \t";
13012     O << ", ";
13019     O << ".f16.f32 \t";
13021     O << ", ";
13028     O << ".f16.f64 \t";
13030     O << ", ";
13037     O << ".f16.s16 \t";
13039     O << ", ";
13046     O << ".f16.s32 \t";
13048     O << ", ";
13055     O << ".f16.s64 \t";
13057     O << ", ";
13064     O << ".f16.s8 \t";
13066     O << ", ";
13073     O << ".f16.u16 \t";
13075     O << ", ";
13082     O << ".f16.u32 \t";
13084     O << ", ";
13091     O << ".f16.u64 \t";
13093     O << ", ";
13100     O << ".f16.u8 \t";
13102     O << ", ";
13109     O << ".f32.f16 \t";
13111     O << ", ";
13118     O << ".f32.f32 \t";
13120     O << ", ";
13127     O << ".f32.f64 \t";
13129     O << ", ";
13136     O << ".f32.s16 \t";
13138     O << ", ";
13145     O << ".f32.s32 \t";
13147     O << ", ";
13154     O << ".f32.s64 \t";
13156     O << ", ";
13163     O << ".f32.s8 \t";
13165     O << ", ";
13172     O << ".f32.u16 \t";
13174     O << ", ";
13181     O << ".f32.u32 \t";
13183     O << ", ";
13190     O << ".f32.u64 \t";
13192     O << ", ";
13199     O << ".f32.u8 \t";
13201     O << ", ";
13208     O << ".f64.f16 \t";
13210     O << ", ";
13217     O << ".f64.f32 \t";
13219     O << ", ";
13226     O << ".f64.f64 \t";
13228     O << ", ";
13235     O << ".f64.s16 \t";
13237     O << ", ";
13244     O << ".f64.s32 \t";
13246     O << ", ";
13253     O << ".f64.s64 \t";
13255     O << ", ";
13262     O << ".f64.s8 \t";
13264     O << ", ";
13271     O << ".f64.u16 \t";
13273     O << ", ";
13280     O << ".f64.u32 \t";
13282     O << ", ";
13289     O << ".f64.u64 \t";
13291     O << ", ";
13298     O << ".f64.u8 \t";
13300     O << ", ";
13307     O << ".s16.f16 \t";
13309     O << ", ";
13316     O << ".s16.f32 \t";
13318     O << ", ";
13325     O << ".s16.f64 \t";
13327     O << ", ";
13334     O << ".s16.s16 \t";
13336     O << ", ";
13343     O << ".s16.s32 \t";
13345     O << ", ";
13352     O << ".s16.s64 \t";
13354     O << ", ";
13361     O << ".s16.s8 \t";
13363     O << ", ";
13370     O << ".s16.u16 \t";
13372     O << ", ";
13379     O << ".s16.u32 \t";
13381     O << ", ";
13388     O << ".s16.u64 \t";
13390     O << ", ";
13397     O << ".s16.u8 \t";
13399     O << ", ";
13406     O << ".s32.f16 \t";
13408     O << ", ";
13415     O << ".s32.f32 \t";
13417     O << ", ";
13424     O << ".s32.f64 \t";
13426     O << ", ";
13433     O << ".s32.s16 \t";
13435     O << ", ";
13442     O << ".s32.s32 \t";
13444     O << ", ";
13451     O << ".s32.s64 \t";
13453     O << ", ";
13460     O << ".s32.s8 \t";
13462     O << ", ";
13469     O << ".s32.u16 \t";
13471     O << ", ";
13478     O << ".s32.u32 \t";
13480     O << ", ";
13487     O << ".s32.u64 \t";
13489     O << ", ";
13496     O << ".s32.u8 \t";
13498     O << ", ";
13505     O << ".s64.f16 \t";
13507     O << ", ";
13514     O << ".s64.f32 \t";
13516     O << ", ";
13523     O << ".s64.f64 \t";
13525     O << ", ";
13532     O << ".s64.s16 \t";
13534     O << ", ";
13541     O << ".s64.s32 \t";
13543     O << ", ";
13550     O << ".s64.s64 \t";
13552     O << ", ";
13559     O << ".s64.s8 \t";
13561     O << ", ";
13568     O << ".s64.u16 \t";
13570     O << ", ";
13577     O << ".s64.u32 \t";
13579     O << ", ";
13586     O << ".s64.u64 \t";
13588     O << ", ";
13595     O << ".s64.u8 \t";
13597     O << ", ";
13604     O << ".s8.f16 \t";
13606     O << ", ";
13613     O << ".s8.f32 \t";
13615     O << ", ";
13622     O << ".s8.f64 \t";
13624     O << ", ";
13631     O << ".s8.s16 \t";
13633     O << ", ";
13640     O << ".s8.s32 \t";
13642     O << ", ";
13649     O << ".s8.s64 \t";
13651     O << ", ";
13658     O << ".s8.s8 \t";
13660     O << ", ";
13667     O << ".s8.u16 \t";
13669     O << ", ";
13676     O << ".s8.u32 \t";
13678     O << ", ";
13685     O << ".s8.u64 \t";
13687     O << ", ";
13694     O << ".s8.u8 \t";
13696     O << ", ";
13703     O << ".u16.f16 \t";
13705     O << ", ";
13712     O << ".u16.f32 \t";
13714     O << ", ";
13721     O << ".u16.f64 \t";
13723     O << ", ";
13730     O << ".u16.s16 \t";
13732     O << ", ";
13739     O << ".u16.s32 \t";
13741     O << ", ";
13748     O << ".u16.s64 \t";
13750     O << ", ";
13757     O << ".u16.s8 \t";
13759     O << ", ";
13766     O << ".u16.u16 \t";
13768     O << ", ";
13775     O << ".u16.u32 \t";
13777     O << ", ";
13784     O << ".u16.u64 \t";
13786     O << ", ";
13793     O << ".u16.u8 \t";
13795     O << ", ";
13802     O << ".u32.f16 \t";
13804     O << ", ";
13811     O << ".u32.f32 \t";
13813     O << ", ";
13820     O << ".u32.f64 \t";
13822     O << ", ";
13829     O << ".u32.s16 \t";
13831     O << ", ";
13838     O << ".u32.s32 \t";
13840     O << ", ";
13847     O << ".u32.s64 \t";
13849     O << ", ";
13856     O << ".u32.s8 \t";
13858     O << ", ";
13865     O << ".u32.u16 \t";
13867     O << ", ";
13874     O << ".u32.u32 \t";
13876     O << ", ";
13883     O << ".u32.u64 \t";
13885     O << ", ";
13892     O << ".u32.u8 \t";
13894     O << ", ";
13901     O << ".u64.f16 \t";
13903     O << ", ";
13910     O << ".u64.f32 \t";
13912     O << ", ";
13919     O << ".u64.f64 \t";
13921     O << ", ";
13928     O << ".u64.s16 \t";
13930     O << ", ";
13937     O << ".u64.s32 \t";
13939     O << ", ";
13946     O << ".u64.s64 \t";
13948     O << ", ";
13955     O << ".u64.s8 \t";
13957     O << ", ";
13964     O << ".u64.u16 \t";
13966     O << ", ";
13973     O << ".u64.u32 \t";
13975     O << ", ";
13982     O << ".u64.u64 \t";
13984     O << ", ";
13991     O << ".u64.u8 \t";
13993     O << ", ";
14000     O << ".u8.f16 \t";
14002     O << ", ";
14009     O << ".u8.f32 \t";
14011     O << ", ";
14018     O << ".u8.f64 \t";
14020     O << ", ";
14027     O << ".u8.s16 \t";
14029     O << ", ";
14036     O << ".u8.s32 \t";
14038     O << ", ";
14045     O << ".u8.s64 \t";
14047     O << ", ";
14054     O << ".u8.s8 \t";
14056     O << ", ";
14063     O << ".u8.u16 \t";
14065     O << ", ";
14072     O << ".u8.u32 \t";
14074     O << ", ";
14081     O << ".u8.u64 \t";
14083     O << ", ";
14090     O << ".u8.u8 \t";
14092     O << ", ";
14103     O << " .b8 param";
14107     O << "];";
14112     O << " .b8 retval";
14116     O << "];";
14121     O << " retval";
14128     O << " param";
14135     O << ", %tmp_hi}, ";
14137     O << "; }";
14142     O << "}, ";
14147     O << ",%dummy}, ";
14149     O << ";\n\t}";
14159     O << ", 0; \n\tbar.red.and.pred \t%p2, 0, %p1; \n\tselp.u32 \t";
14161     O << ", 1, 0, %p2; \n\t}";
14166     O << ", 0; \n\tbar.red.or.pred \t%p2, 0, %p1; \n\tselp.u32 \t";
14168     O << ", 1, 0, %p2; \n\t}";
14173     O << ", 0; \n\tbar.red.popc.u32 \t";
14175     O << ", 0, %p1; \n\t}";
14180     O << ", %temp}, ";
14182     O << ";\n\t}";
14187     O << ", [";
14191     O << "; \n\tatom.global.add.u32 \t";
14193     O << ", [";
14195     O << "], temp; \n\t}";
14200     O << "; \n\tatom.add.u32 \t";
14202     O << ", [";
14204     O << "], temp; \n\t}";
14209     O << "; \n\tatom.global.add.u64 \t";
14211     O << ", [";
14213     O << "], temp; \n\t}";
14218     O << "; \n\tatom.add.u64 \t";
14220     O << ", [";
14222     O << "], temp; \n\t}";
14227     O << "; \n\tatom.shared.add.u32 \t";
14229     O << ", [";
14231     O << "], temp; \n\t}";
14236     O << "; \n\tatom.shared.add.u64 \t";
14238     O << ", [";
14240     O << "], temp; \n\t}";
14245     O << ", %clock;";
14250     O << ", %clock64;";
14255     O << ", %ctaid.w;";
14260     O << ", %ctaid.x;";
14265     O << ", %ctaid.y;";
14270     O << ", %ctaid.z;";
14275     O << ", %gridid;";
14280     O << ", %laneid;";
14285     O << ", %lanemask_eq;";
14290     O << ", %lanemask_ge;";
14295     O << ", %lanemask_gt;";
14300     O << ", %lanemask_le;";
14305     O << ", %lanemask_lt;";
14310     O << ", %nctaid.w;";
14315     O << ", %nctaid.x;";
14320     O << ", %nctaid.y;";
14325     O << ", %nctaid.z;";
14330     O << ", %nsmid;";
14335     O << ", %ntid.w;";
14340     O << ", %ntid.x;";
14345     O << ", %ntid.y;";
14350     O << ", %ntid.z;";
14355     O << ", %nwarpid;";
14360     O << ", %pm0;";
14365     O << ", %pm1;";
14370     O << ", %pm2;";
14375     O << ", %pm3;";
14380     O << ", %smid;";
14385     O << ", %tid.w;";
14390     O << ", %tid.x;";
14395     O << ", %tid.y;";
14400     O << ", %tid.z;";
14405     O << ", %warpid;";
14410     O << ", WARP_SZ;";
14415     O << " \t{";
14417     O << ", ";
14422     O << " \t";
14424     O << ", [";
14429     O << ", [retval0+";
14431     O << "];";
14438     O << ", ";
14442     O << ", __local_depot";
14449     O << ".b16 \t";
14451     O << ", ";
14453     O << ", ";
14460     O << ".b32 \t";
14462     O << ", ";
14464     O << ", ";
14471     O << ".b64 \t";
14473     O << ", ";
14475     O << ", ";
14482     O << ".f16 \t";
14484     O << ", ";
14486     O << ", ";
14493     O << ".f32 \t";
14495     O << ", ";
14497     O << ", ";
14504     O << ".f64 \t";
14506     O << ", ";
14508     O << ", ";
14515     O << ".s16 \t";
14517     O << ", ";
14519     O << ", ";
14526     O << ".s32 \t";
14528     O << ", ";
14530     O << ", ";
14537     O << ".s64 \t";
14539     O << ", ";
14541     O << ", ";
14548     O << ".u16 \t";
14550     O << ", ";
14552     O << ", ";
14559     O << ".u32 \t";
14561     O << ", ";
14563     O << ", ";
14570     O << ".u64 \t";
14572     O << ", ";
14574     O << ", ";
14581     O << " \t[";
14585     O << "}, [";
14587     O << ", {";
14596     O << "], ";
14603     O << "], {";
14605     O << ", ";
14610     O << ".row.row.m16n16k16.f16.f32\n\t\t{";
14612     O << ", ";
14614     O << ", ";
14616     O << ", ";
14618     O << "},\n\t\t{";
14620     O << ", ";
14622     O << ", ";
14624     O << ", ";
14626     O << ", ";
14628     O << ", ";
14630     O << ", ";
14632     O << ", ";
14634     O << "},\n\t\t{";
14636     O << ", ";
14638     O << ", ";
14640     O << ", ";
14642     O << ", ";
14644     O << ", ";
14646     O << ", ";
14648     O << ", ";
14650     O << "},\n\t\t{";
14652     O << ", ";
14654     O << ", ";
14656     O << ", ";
14658     O << ", ";
14660     O << ", ";
14662     O << ", ";
14664     O << ", ";
14666     O << "};";
14671     O << ".row.row.m16n16k16.f32.f32\n\t\t{";
14673     O << ", ";
14675     O << ", ";
14677     O << ", ";
14679     O << ", ";
14681     O << ", ";
14683     O << ", ";
14685     O << ", ";
14687     O << "},\n\t\t{";
14689     O << ", ";
14691     O << ", ";
14693     O << ", ";
14695     O << ", ";
14697     O << ", ";
14699     O << ", ";
14701     O << ", ";
14703     O << "},\n\t\t{";
14705     O << ", ";
14707     O << ", ";
14709     O << ", ";
14711     O << ", ";
14713     O << ", ";
14715     O << ", ";
14717     O << ", ";
14719     O << "},\n\t\t{";
14721     O << ", ";
14723     O << ", ";
14725     O << ", ";
14727     O << ", ";
14729     O << ", ";
14731     O << ", ";
14733     O << ", ";
14735     O << "};";
14740     O << ".row.row.m32n8k16.f16.f16\n\t\t{";
14742     O << ", ";
14744     O << ", ";
14746     O << ", ";
14748     O << "},\n\t\t{";
14750     O << ", ";
14752     O << ", ";
14754     O << ", ";
14756     O << ", ";
14758     O << ", ";
14760     O << ", ";
14762     O << ", ";
14764     O << "},\n\t\t{";
14766     O << ", ";
14768     O << ", ";
14770     O << ", ";
14772     O << ", ";
14774     O << ", ";
14776     O << ", ";
14778     O << ", ";
14780     O << "},\n\t\t{";
14782     O << ", ";
14784     O << ", ";
14786     O << ", ";
14788     O << "};";
14793     O << ".row.row.m32n8k16.f32.f16\n\t\t{";
14795     O << ", ";
14797     O << ", ";
14799     O << ", ";
14801     O << ", ";
14803     O << ", ";
14805     O << ", ";
14807     O << ", ";
14809     O << "},\n\t\t{";
14811     O << ", ";
14813     O << ", ";
14815     O << ", ";
14817     O << ", ";
14819     O << ", ";
14821     O << ", ";
14823     O << ", ";
14825     O << "},\n\t\t{";
14827     O << ", ";
14829     O << ", ";
14831     O << ", ";
14833     O << ", ";
14835     O << ", ";
14837     O << ", ";
14839     O << ", ";
14841     O << "},\n\t\t{";
14843     O << ", ";
14845     O << ", ";
14847     O << ", ";
14849     O << "};";
14854     O << ".row.row.m32n8k16.f16.f32\n\t\t{";
14856     O << ", ";
14858     O << ", ";
14860     O << ", ";
14862     O << "},\n\t\t{";
14864     O << ", ";
14866     O << ", ";
14868     O << ", ";
14870     O << ", ";
14872     O << ", ";
14874     O << ", ";
14876     O << ", ";
14878     O << "},\n\t\t{";
14880     O << ", ";
14882     O << ", ";
14884     O << ", ";
14886     O << ", ";
14888     O << ", ";
14890     O << ", ";
14892     O << ", ";
14894     O << "},\n\t\t{";
14896     O << ", ";
14898     O << ", ";
14900     O << ", ";
14902     O << ", ";
14904     O << ", ";
14906     O << ", ";
14908     O << ", ";
14910     O << "};";
14915     O << ".row.row.m32n8k16.f32.f32\n\t\t{";
14917     O << ", ";
14919     O << ", ";
14921     O << ", ";
14923     O << ", ";
14925     O << ", ";
14927     O << ", ";
14929     O << ", ";
14931     O << "},\n\t\t{";
14933     O << ", ";
14935     O << ", ";
14937     O << ", ";
14939     O << ", ";
14941     O << ", ";
14943     O << ", ";
14945     O << ", ";
14947     O << "},\n\t\t{";
14949     O << ", ";
14951     O << ", ";
14953     O << ", ";
14955     O << ", ";
14957     O << ", ";
14959     O << ", ";
14961     O << ", ";
14963     O << "},\n\t\t{";
14965     O << ", ";
14967     O << ", ";
14969     O << ", ";
14971     O << ", ";
14973     O << ", ";
14975     O << ", ";
14977     O << ", ";
14979     O << "};";
14984     O << ".row.row.m8n32k16.f16.f16\n\t\t{";
14986     O << ", ";
14988     O << ", ";
14990     O << ", ";
14992     O << "},\n\t\t{";
14994     O << ", ";
14996     O << ", ";
14998     O << ", ";
15000     O << ", ";
15002     O << ", ";
15004     O << ", ";
15006     O << ", ";
15008     O << "},\n\t\t{";
15010     O << ", ";
15012     O << ", ";
15014     O << ", ";
15016     O << ", ";
15018     O << ", ";
15020     O << ", ";
15022     O << ", ";
15024     O << "},\n\t\t{";
15026     O << ", ";
15028     O << ", ";
15030     O << ", ";
15032     O << "};";
15037     O << ".row.row.m8n32k16.f32.f16\n\t\t{";
15039     O << ", ";
15041     O << ", ";
15043     O << ", ";
15045     O << ", ";
15047     O << ", ";
15049     O << ", ";
15051     O << ", ";
15053     O << "},\n\t\t{";
15055     O << ", ";
15057     O << ", ";
15059     O << ", ";
15061     O << ", ";
15063     O << ", ";
15065     O << ", ";
15067     O << ", ";
15069     O << "},\n\t\t{";
15071     O << ", ";
15073     O << ", ";
15075     O << ", ";
15077     O << ", ";
15079     O << ", ";
15081     O << ", ";
15083     O << ", ";
15085     O << "},\n\t\t{";
15087     O << ", ";
15089     O << ", ";
15091     O << ", ";
15093     O << "};";
15098     O << ".row.row.m8n32k16.f16.f32\n\t\t{";
15100     O << ", ";
15102     O << ", ";
15104     O << ", ";
15106     O << "},\n\t\t{";
15108     O << ", ";
15110     O << ", ";
15112     O << ", ";
15114     O << ", ";
15116     O << ", ";
15118     O << ", ";
15120     O << ", ";
15122     O << "},\n\t\t{";
15124     O << ", ";
15126     O << ", ";
15128     O << ", ";
15130     O << ", ";
15132     O << ", ";
15134     O << ", ";
15136     O << ", ";
15138     O << "},\n\t\t{";
15140     O << ", ";
15142     O << ", ";
15144     O << ", ";
15146     O << ", ";
15148     O << ", ";
15150     O << ", ";
15152     O << ", ";
15154     O << "};";
15159     O << ".row.row.m8n32k16.f32.f32\n\t\t{";
15161     O << ", ";
15163     O << ", ";
15165     O << ", ";
15167     O << ", ";
15169     O << ", ";
15171     O << ", ";
15173     O << ", ";
15175     O << "},\n\t\t{";
15177     O << ", ";
15179     O << ", ";
15181     O << ", ";
15183     O << ", ";
15185     O << ", ";
15187     O << ", ";
15189     O << ", ";
15191     O << "},\n\t\t{";
15193     O << ", ";
15195     O << ", ";
15197     O << ", ";
15199     O << ", ";
15201     O << ", ";
15203     O << ", ";
15205     O << ", ";
15207     O << "},\n\t\t{";
15209     O << ", ";
15211     O << ", ";
15213     O << ", ";
15215     O << ", ";
15217     O << ", ";
15219     O << ", ";
15221     O << ", ";
15223     O << "};";
15228     O << ".row.row.m16n16k16.s32.s8.s8.s32\n\t\t{";
15230     O << ", ";
15232     O << ", ";
15234     O << ", ";
15236     O << ", ";
15238     O << ", ";
15240     O << ", ";
15242     O << ", ";
15244     O << "},\n\t\t{";
15246     O << ", ";
15248     O << "},\n\t\t{";
15250     O << ", ";
15252     O << "},\n\t\t{";
15254     O << ", ";
15256     O << ", ";
15258     O << ", ";
15260     O << ", ";
15262     O << ", ";
15264     O << ", ";
15266     O << ", ";
15268     O << "};";
15273     O << ".row.row.m16n16k16.s32.u8.u8.s32\n\t\t{";
15275     O << ", ";
15277     O << ", ";
15279     O << ", ";
15281     O << ", ";
15283     O << ", ";
15285     O << ", ";
15287     O << ", ";
15289     O << "},\n\t\t{";
15291     O << ", ";
15293     O << "},\n\t\t{";
15295     O << ", ";
15297     O << "},\n\t\t{";
15299     O << ", ";
15301     O << ", ";
15303     O << ", ";
15305     O << ", ";
15307     O << ", ";
15309     O << ", ";
15311     O << ", ";
15313     O << "};";
15318     O << ".row.row.m32n8k16.s32.s8.s8.s32\n\t\t{";
15320     O << ", ";
15322     O << ", ";
15324     O << ", ";
15326     O << ", ";
15328     O << ", ";
15330     O << ", ";
15332     O << ", ";
15334     O << "},\n\t\t{";
15336     O << ", ";
15338     O << ", ";
15340     O << ", ";
15342     O << "},\n\t\t{";
15344     O << "},\n\t\t{";
15346     O << ", ";
15348     O << ", ";
15350     O << ", ";
15352     O << ", ";
15354     O << ", ";
15356     O << ", ";
15358     O << ", ";
15360     O << "};";
15365     O << ".row.row.m32n8k16.s32.u8.u8.s32\n\t\t{";
15367     O << ", ";
15369     O << ", ";
15371     O << ", ";
15373     O << ", ";
15375     O << ", ";
15377     O << ", ";
15379     O << ", ";
15381     O << "},\n\t\t{";
15383     O << ", ";
15385     O << ", ";
15387     O << ", ";
15389     O << "},\n\t\t{";
15391     O << "},\n\t\t{";
15393     O << ", ";
15395     O << ", ";
15397     O << ", ";
15399     O << ", ";
15401     O << ", ";
15403     O << ", ";
15405     O << ", ";
15407     O << "};";
15412     O << ".row.row.m8n32k16.s32.s8.s8.s32\n\t\t{";
15414     O << ", ";
15416     O << ", ";
15418     O << ", ";
15420     O << ", ";
15422     O << ", ";
15424     O << ", ";
15426     O << ", ";
15428     O << "},\n\t\t{";
15430     O << "},\n\t\t{";
15432     O << ", ";
15434     O << ", ";
15436     O << ", ";
15438     O << "},\n\t\t{";
15440     O << ", ";
15442     O << ", ";
15444     O << ", ";
15446     O << ", ";
15448     O << ", ";
15450     O << ", ";
15452     O << ", ";
15454     O << "};";
15459     O << ".row.row.m8n32k16.s32.u8.u8.s32\n\t\t{";
15461     O << ", ";
15463     O << ", ";
15465     O << ", ";
15467     O << ", ";
15469     O << ", ";
15471     O << ", ";
15473     O << ", ";
15475     O << "},\n\t\t{";
15477     O << "},\n\t\t{";
15479     O << ", ";
15481     O << ", ";
15483     O << ", ";
15485     O << "},\n\t\t{";
15487     O << ", ";
15489     O << ", ";
15491     O << ", ";
15493     O << ", ";
15495     O << ", ";
15497     O << ", ";
15499     O << ", ";
15501     O << "};";
15506     O << ".row.row.m16n16k16.f16.f16.satfinite\n\t\t{";
15508     O << ", ";
15510     O << ", ";
15512     O << ", ";
15514     O << "},\n\t\t{";
15516     O << ", ";
15518     O << ", ";
15520     O << ", ";
15522     O << ", ";
15524     O << ", ";
15526     O << ", ";
15528     O << ", ";
15530     O << "},\n\t\t{";
15532     O << ", ";
15534     O << ", ";
15536     O << ", ";
15538     O << ", ";
15540     O << ", ";
15542     O << ", ";
15544     O << ", ";
15546     O << "},\n\t\t{";
15548     O << ", ";
15550     O << ", ";
15552     O << ", ";
15554     O << "};";
15559     O << ".row.row.m16n16k16.f32.f16.satfinite\n\t\t{";
15561     O << ", ";
15563     O << ", ";
15565     O << ", ";
15567     O << ", ";
15569     O << ", ";
15571     O << ", ";
15573     O << ", ";
15575     O << "},\n\t\t{";
15577     O << ", ";
15579     O << ", ";
15581     O << ", ";
15583     O << ", ";
15585     O << ", ";
15587     O << ", ";
15589     O << ", ";
15591     O << "},\n\t\t{";
15593     O << ", ";
15595     O << ", ";
15597     O << ", ";
15599     O << ", ";
15601     O << ", ";
15603     O << ", ";
15605     O << ", ";
15607     O << "},\n\t\t{";
15609     O << ", ";
15611     O << ", ";
15613     O << ", ";
15615     O << "};";
15620     O << ".row.row.m16n16k16.f16.f32.satfinite\n\t\t{";
15622     O << ", ";
15624     O << ", ";
15626     O << ", ";
15628     O << "},\n\t\t{";
15630     O << ", ";
15632     O << ", ";
15634     O << ", ";
15636     O << ", ";
15638     O << ", ";
15640     O << ", ";
15642     O << ", ";
15644     O << "},\n\t\t{";
15646     O << ", ";
15648     O << ", ";
15650     O << ", ";
15652     O << ", ";
15654     O << ", ";
15656     O << ", ";
15658     O << ", ";
15660     O << "},\n\t\t{";
15662     O << ", ";
15664     O << ", ";
15666     O << ", ";
15668     O << ", ";
15670     O << ", ";
15672     O << ", ";
15674     O << ", ";
15676     O << "};";
15681     O << ".row.row.m16n16k16.f32.f32.satfinite\n\t\t{";
15683     O << ", ";
15685     O << ", ";
15687     O << ", ";
15689     O << ", ";
15691     O << ", ";
15693     O << ", ";
15695     O << ", ";
15697     O << "},\n\t\t{";
15699     O << ", ";
15701     O << ", ";
15703     O << ", ";
15705     O << ", ";
15707     O << ", ";
15709     O << ", ";
15711     O << ", ";
15713     O << "},\n\t\t{";
15715     O << ", ";
15717     O << ", ";
15719     O << ", ";
15721     O << ", ";
15723     O << ", ";
15725     O << ", ";
15727     O << ", ";
15729     O << "},\n\t\t{";
15731     O << ", ";
15733     O << ", ";
15735     O << ", ";
15737     O << ", ";
15739     O << ", ";
15741     O << ", ";
15743     O << ", ";
15745     O << "};";
15750     O << ".row.row.m32n8k16.f16.f16.satfinite\n\t\t{";
15752     O << ", ";
15754     O << ", ";
15756     O << ", ";
15758     O << "},\n\t\t{";
15760     O << ", ";
15762     O << ", ";
15764     O << ", ";
15766     O << ", ";
15768     O << ", ";
15770     O << ", ";
15772     O << ", ";
15774     O << "},\n\t\t{";
15776     O << ", ";
15778     O << ", ";
15780     O << ", ";
15782     O << ", ";
15784     O << ", ";
15786     O << ", ";
15788     O << ", ";
15790     O << "},\n\t\t{";
15792     O << ", ";
15794     O << ", ";
15796     O << ", ";
15798     O << "};";
15803     O << ".row.row.m32n8k16.f32.f16.satfinite\n\t\t{";
15805     O << ", ";
15807     O << ", ";
15809     O << ", ";
15811     O << ", ";
15813     O << ", ";
15815     O << ", ";
15817     O << ", ";
15819     O << "},\n\t\t{";
15821     O << ", ";
15823     O << ", ";
15825     O << ", ";
15827     O << ", ";
15829     O << ", ";
15831     O << ", ";
15833     O << ", ";
15835     O << "},\n\t\t{";
15837     O << ", ";
15839     O << ", ";
15841     O << ", ";
15843     O << ", ";
15845     O << ", ";
15847     O << ", ";
15849     O << ", ";
15851     O << "},\n\t\t{";
15853     O << ", ";
15855     O << ", ";
15857     O << ", ";
15859     O << "};";
15864     O << ".row.row.m32n8k16.f16.f32.satfinite\n\t\t{";
15866     O << ", ";
15868     O << ", ";
15870     O << ", ";
15872     O << "},\n\t\t{";
15874     O << ", ";
15876     O << ", ";
15878     O << ", ";
15880     O << ", ";
15882     O << ", ";
15884     O << ", ";
15886     O << ", ";
15888     O << "},\n\t\t{";
15890     O << ", ";
15892     O << ", ";
15894     O << ", ";
15896     O << ", ";
15898     O << ", ";
15900     O << ", ";
15902     O << ", ";
15904     O << "},\n\t\t{";
15906     O << ", ";
15908     O << ", ";
15910     O << ", ";
15912     O << ", ";
15914     O << ", ";
15916     O << ", ";
15918     O << ", ";
15920     O << "};";
15925     O << ".row.row.m32n8k16.f32.f32.satfinite\n\t\t{";
15927     O << ", ";
15929     O << ", ";
15931     O << ", ";
15933     O << ", ";
15935     O << ", ";
15937     O << ", ";
15939     O << ", ";
15941     O << "},\n\t\t{";
15943     O << ", ";
15945     O << ", ";
15947     O << ", ";
15949     O << ", ";
15951     O << ", ";
15953     O << ", ";
15955     O << ", ";
15957     O << "},\n\t\t{";
15959     O << ", ";
15961     O << ", ";
15963     O << ", ";
15965     O << ", ";
15967     O << ", ";
15969     O << ", ";
15971     O << ", ";
15973     O << "},\n\t\t{";
15975     O << ", ";
15977     O << ", ";
15979     O << ", ";
15981     O << ", ";
15983     O << ", ";
15985     O << ", ";
15987     O << ", ";
15989     O << "};";
15994     O << ".row.row.m8n32k16.f16.f16.satfinite\n\t\t{";
15996     O << ", ";
15998     O << ", ";
16000     O << ", ";
16002     O << "},\n\t\t{";
16004     O << ", ";
16006     O << ", ";
16008     O << ", ";
16010     O << ", ";
16012     O << ", ";
16014     O << ", ";
16016     O << ", ";
16018     O << "},\n\t\t{";
16020     O << ", ";
16022     O << ", ";
16024     O << ", ";
16026     O << ", ";
16028     O << ", ";
16030     O << ", ";
16032     O << ", ";
16034     O << "},\n\t\t{";
16036     O << ", ";
16038     O << ", ";
16040     O << ", ";
16042     O << "};";
16047     O << ".row.row.m8n32k16.f32.f16.satfinite\n\t\t{";
16049     O << ", ";
16051     O << ", ";
16053     O << ", ";
16055     O << ", ";
16057     O << ", ";
16059     O << ", ";
16061     O << ", ";
16063     O << "},\n\t\t{";
16065     O << ", ";
16067     O << ", ";
16069     O << ", ";
16071     O << ", ";
16073     O << ", ";
16075     O << ", ";
16077     O << ", ";
16079     O << "},\n\t\t{";
16081     O << ", ";
16083     O << ", ";
16085     O << ", ";
16087     O << ", ";
16089     O << ", ";
16091     O << ", ";
16093     O << ", ";
16095     O << "},\n\t\t{";
16097     O << ", ";
16099     O << ", ";
16101     O << ", ";
16103     O << "};";
16108     O << ".row.row.m8n32k16.f16.f32.satfinite\n\t\t{";
16110     O << ", ";
16112     O << ", ";
16114     O << ", ";
16116     O << "},\n\t\t{";
16118     O << ", ";
16120     O << ", ";
16122     O << ", ";
16124     O << ", ";
16126     O << ", ";
16128     O << ", ";
16130     O << ", ";
16132     O << "},\n\t\t{";
16134     O << ", ";
16136     O << ", ";
16138     O << ", ";
16140     O << ", ";
16142     O << ", ";
16144     O << ", ";
16146     O << ", ";
16148     O << "},\n\t\t{";
16150     O << ", ";
16152     O << ", ";
16154     O << ", ";
16156     O << ", ";
16158     O << ", ";
16160     O << ", ";
16162     O << ", ";
16164     O << "};";
16169     O << ".row.row.m8n32k16.f32.f32.satfinite\n\t\t{";
16171     O << ", ";
16173     O << ", ";
16175     O << ", ";
16177     O << ", ";
16179     O << ", ";
16181     O << ", ";
16183     O << ", ";
16185     O << "},\n\t\t{";
16187     O << ", ";
16189     O << ", ";
16191     O << ", ";
16193     O << ", ";
16195     O << ", ";
16197     O << ", ";
16199     O << ", ";
16201     O << "},\n\t\t{";
16203     O << ", ";
16205     O << ", ";
16207     O << ", ";
16209     O << ", ";
16211     O << ", ";
16213     O << ", ";
16215     O << ", ";
16217     O << "},\n\t\t{";
16219     O << ", ";
16221     O << ", ";
16223     O << ", ";
16225     O << ", ";
16227     O << ", ";
16229     O << ", ";
16231     O << ", ";
16233     O << "};";
16238     O << ".row.row.m16n16k16.s32.s8.s8.s32.satfinite\n\t\t{";
16240     O << ", ";
16242     O << ", ";
16244     O << ", ";
16246     O << ", ";
16248     O << ", ";
16250     O << ", ";
16252     O << ", ";
16254     O << "},\n\t\t{";
16256     O << ", ";
16258     O << "},\n\t\t{";
16260     O << ", ";
16262     O << "},\n\t\t{";
16264     O << ", ";
16266     O << ", ";
16268     O << ", ";
16270     O << ", ";
16272     O << ", ";
16274     O << ", ";
16276     O << ", ";
16278     O << "};";
16283     O << ".row.row.m16n16k16.s32.u8.u8.s32.satfinite\n\t\t{";
16285     O << ", ";
16287     O << ", ";
16289     O << ", ";
16291     O << ", ";
16293     O << ", ";
16295     O << ", ";
16297     O << ", ";
16299     O << "},\n\t\t{";
16301     O << ", ";
16303     O << "},\n\t\t{";
16305     O << ", ";
16307     O << "},\n\t\t{";
16309     O << ", ";
16311     O << ", ";
16313     O << ", ";
16315     O << ", ";
16317     O << ", ";
16319     O << ", ";
16321     O << ", ";
16323     O << "};";
16328     O << ".row.row.m32n8k16.s32.s8.s8.s32.satfinite\n\t\t{";
16330     O << ", ";
16332     O << ", ";
16334     O << ", ";
16336     O << ", ";
16338     O << ", ";
16340     O << ", ";
16342     O << ", ";
16344     O << "},\n\t\t{";
16346     O << ", ";
16348     O << ", ";
16350     O << ", ";
16352     O << "},\n\t\t{";
16354     O << "},\n\t\t{";
16356     O << ", ";
16358     O << ", ";
16360     O << ", ";
16362     O << ", ";
16364     O << ", ";
16366     O << ", ";
16368     O << ", ";
16370     O << "};";
16375     O << ".row.row.m32n8k16.s32.u8.u8.s32.satfinite\n\t\t{";
16377     O << ", ";
16379     O << ", ";
16381     O << ", ";
16383     O << ", ";
16385     O << ", ";
16387     O << ", ";
16389     O << ", ";
16391     O << "},\n\t\t{";
16393     O << ", ";
16395     O << ", ";
16397     O << ", ";
16399     O << "},\n\t\t{";
16401     O << "},\n\t\t{";
16403     O << ", ";
16405     O << ", ";
16407     O << ", ";
16409     O << ", ";
16411     O << ", ";
16413     O << ", ";
16415     O << ", ";
16417     O << "};";
16422     O << ".row.row.m8n32k16.s32.s8.s8.s32.satfinite\n\t\t{";
16424     O << ", ";
16426     O << ", ";
16428     O << ", ";
16430     O << ", ";
16432     O << ", ";
16434     O << ", ";
16436     O << ", ";
16438     O << "},\n\t\t{";
16440     O << "},\n\t\t{";
16442     O << ", ";
16444     O << ", ";
16446     O << ", ";
16448     O << "},\n\t\t{";
16450     O << ", ";
16452     O << ", ";
16454     O << ", ";
16456     O << ", ";
16458     O << ", ";
16460     O << ", ";
16462     O << ", ";
16464     O << "};";
16469     O << ".row.row.m8n32k16.s32.u8.u8.s32.satfinite\n\t\t{";
16471     O << ", ";
16473     O << ", ";
16475     O << ", ";
16477     O << ", ";
16479     O << ", ";
16481     O << ", ";
16483     O << ", ";
16485     O << "},\n\t\t{";
16487     O << "},\n\t\t{";
16489     O << ", ";
16491     O << ", ";
16493     O << ", ";
16495     O << "},\n\t\t{";
16497     O << ", ";
16499     O << ", ";
16501     O << ", ";
16503     O << ", ";
16505     O << ", ";
16507     O << ", ";
16509     O << ", ";
16511     O << "};";
16516     O << ".row.col.m16n16k16.f16.f16\n\t\t{";
16518     O << ", ";
16520     O << ", ";
16522     O << ", ";
16524     O << "},\n\t\t{";
16526     O << ", ";
16528     O << ", ";
16530     O << ", ";
16532     O << ", ";
16534     O << ", ";
16536     O << ", ";
16538     O << ", ";
16540     O << "},\n\t\t{";
16542     O << ", ";
16544     O << ", ";
16546     O << ", ";
16548     O << ", ";
16550     O << ", ";
16552     O << ", ";
16554     O << ", ";
16556     O << "},\n\t\t{";
16558     O << ", ";
16560     O << ", ";
16562     O << ", ";
16564     O << "};";
16569     O << ".row.col.m16n16k16.f32.f16\n\t\t{";
16571     O << ", ";
16573     O << ", ";
16575     O << ", ";
16577     O << ", ";
16579     O << ", ";
16581     O << ", ";
16583     O << ", ";
16585     O << "},\n\t\t{";
16587     O << ", ";
16589     O << ", ";
16591     O << ", ";
16593     O << ", ";
16595     O << ", ";
16597     O << ", ";
16599     O << ", ";
16601     O << "},\n\t\t{";
16603     O << ", ";
16605     O << ", ";
16607     O << ", ";
16609     O << ", ";
16611     O << ", ";
16613     O << ", ";
16615     O << ", ";
16617     O << "},\n\t\t{";
16619     O << ", ";
16621     O << ", ";
16623     O << ", ";
16625     O << "};";
16630     O << ".row.col.m16n16k16.f16.f32\n\t\t{";
16632     O << ", ";
16634     O << ", ";
16636     O << ", ";
16638     O << "},\n\t\t{";
16640     O << ", ";
16642     O << ", ";
16644     O << ", ";
16646     O << ", ";
16648     O << ", ";
16650     O << ", ";
16652     O << ", ";
16654     O << "},\n\t\t{";
16656     O << ", ";
16658     O << ", ";
16660     O << ", ";
16662     O << ", ";
16664     O << ", ";
16666     O << ", ";
16668     O << ", ";
16670     O << "},\n\t\t{";
16672     O << ", ";
16674     O << ", ";
16676     O << ", ";
16678     O << ", ";
16680     O << ", ";
16682     O << ", ";
16684     O << ", ";
16686     O << "};";
16691     O << ".row.col.m16n16k16.f32.f32\n\t\t{";
16693     O << ", ";
16695     O << ", ";
16697     O << ", ";
16699     O << ", ";
16701     O << ", ";
16703     O << ", ";
16705     O << ", ";
16707     O << "},\n\t\t{";
16709     O << ", ";
16711     O << ", ";
16713     O << ", ";
16715     O << ", ";
16717     O << ", ";
16719     O << ", ";
16721     O << ", ";
16723     O << "},\n\t\t{";
16725     O << ", ";
16727     O << ", ";
16729     O << ", ";
16731     O << ", ";
16733     O << ", ";
16735     O << ", ";
16737     O << ", ";
16739     O << "},\n\t\t{";
16741     O << ", ";
16743     O << ", ";
16745     O << ", ";
16747     O << ", ";
16749     O << ", ";
16751     O << ", ";
16753     O << ", ";
16755     O << "};";
16760     O << ".row.col.m32n8k16.f16.f16\n\t\t{";
16762     O << ", ";
16764     O << ", ";
16766     O << ", ";
16768     O << "},\n\t\t{";
16770     O << ", ";
16772     O << ", ";
16774     O << ", ";
16776     O << ", ";
16778     O << ", ";
16780     O << ", ";
16782     O << ", ";
16784     O << "},\n\t\t{";
16786     O << ", ";
16788     O << ", ";
16790     O << ", ";
16792     O << ", ";
16794     O << ", ";
16796     O << ", ";
16798     O << ", ";
16800     O << "},\n\t\t{";
16802     O << ", ";
16804     O << ", ";
16806     O << ", ";
16808     O << "};";
16813     O << ".row.col.m32n8k16.f32.f16\n\t\t{";
16815     O << ", ";
16817     O << ", ";
16819     O << ", ";
16821     O << ", ";
16823     O << ", ";
16825     O << ", ";
16827     O << ", ";
16829     O << "},\n\t\t{";
16831     O << ", ";
16833     O << ", ";
16835     O << ", ";
16837     O << ", ";
16839     O << ", ";
16841     O << ", ";
16843     O << ", ";
16845     O << "},\n\t\t{";
16847     O << ", ";
16849     O << ", ";
16851     O << ", ";
16853     O << ", ";
16855     O << ", ";
16857     O << ", ";
16859     O << ", ";
16861     O << "},\n\t\t{";
16863     O << ", ";
16865     O << ", ";
16867     O << ", ";
16869     O << "};";
16874     O << ".row.col.m32n8k16.f16.f32\n\t\t{";
16876     O << ", ";
16878     O << ", ";
16880     O << ", ";
16882     O << "},\n\t\t{";
16884     O << ", ";
16886     O << ", ";
16888     O << ", ";
16890     O << ", ";
16892     O << ", ";
16894     O << ", ";
16896     O << ", ";
16898     O << "},\n\t\t{";
16900     O << ", ";
16902     O << ", ";
16904     O << ", ";
16906     O << ", ";
16908     O << ", ";
16910     O << ", ";
16912     O << ", ";
16914     O << "},\n\t\t{";
16916     O << ", ";
16918     O << ", ";
16920     O << ", ";
16922     O << ", ";
16924     O << ", ";
16926     O << ", ";
16928     O << ", ";
16930     O << "};";
16935     O << ".row.col.m32n8k16.f32.f32\n\t\t{";
16937     O << ", ";
16939     O << ", ";
16941     O << ", ";
16943     O << ", ";
16945     O << ", ";
16947     O << ", ";
16949     O << ", ";
16951     O << "},\n\t\t{";
16953     O << ", ";
16955     O << ", ";
16957     O << ", ";
16959     O << ", ";
16961     O << ", ";
16963     O << ", ";
16965     O << ", ";
16967     O << "},\n\t\t{";
16969     O << ", ";
16971     O << ", ";
16973     O << ", ";
16975     O << ", ";
16977     O << ", ";
16979     O << ", ";
16981     O << ", ";
16983     O << "},\n\t\t{";
16985     O << ", ";
16987     O << ", ";
16989     O << ", ";
16991     O << ", ";
16993     O << ", ";
16995     O << ", ";
16997     O << ", ";
16999     O << "};";
17004     O << ".row.col.m8n32k16.f16.f16\n\t\t{";
17006     O << ", ";
17008     O << ", ";
17010     O << ", ";
17012     O << "},\n\t\t{";
17014     O << ", ";
17016     O << ", ";
17018     O << ", ";
17020     O << ", ";
17022     O << ", ";
17024     O << ", ";
17026     O << ", ";
17028     O << "},\n\t\t{";
17030     O << ", ";
17032     O << ", ";
17034     O << ", ";
17036     O << ", ";
17038     O << ", ";
17040     O << ", ";
17042     O << ", ";
17044     O << "},\n\t\t{";
17046     O << ", ";
17048     O << ", ";
17050     O << ", ";
17052     O << "};";
17057     O << ".row.col.m8n32k16.f32.f16\n\t\t{";
17059     O << ", ";
17061     O << ", ";
17063     O << ", ";
17065     O << ", ";
17067     O << ", ";
17069     O << ", ";
17071     O << ", ";
17073     O << "},\n\t\t{";
17075     O << ", ";
17077     O << ", ";
17079     O << ", ";
17081     O << ", ";
17083     O << ", ";
17085     O << ", ";
17087     O << ", ";
17089     O << "},\n\t\t{";
17091     O << ", ";
17093     O << ", ";
17095     O << ", ";
17097     O << ", ";
17099     O << ", ";
17101     O << ", ";
17103     O << ", ";
17105     O << "},\n\t\t{";
17107     O << ", ";
17109     O << ", ";
17111     O << ", ";
17113     O << "};";
17118     O << ".row.col.m8n32k16.f16.f32\n\t\t{";
17120     O << ", ";
17122     O << ", ";
17124     O << ", ";
17126     O << "},\n\t\t{";
17128     O << ", ";
17130     O << ", ";
17132     O << ", ";
17134     O << ", ";
17136     O << ", ";
17138     O << ", ";
17140     O << ", ";
17142     O << "},\n\t\t{";
17144     O << ", ";
17146     O << ", ";
17148     O << ", ";
17150     O << ", ";
17152     O << ", ";
17154     O << ", ";
17156     O << ", ";
17158     O << "},\n\t\t{";
17160     O << ", ";
17162     O << ", ";
17164     O << ", ";
17166     O << ", ";
17168     O << ", ";
17170     O << ", ";
17172     O << ", ";
17174     O << "};";
17179     O << ".row.col.m8n32k16.f32.f32\n\t\t{";
17181     O << ", ";
17183     O << ", ";
17185     O << ", ";
17187     O << ", ";
17189     O << ", ";
17191     O << ", ";
17193     O << ", ";
17195     O << "},\n\t\t{";
17197     O << ", ";
17199     O << ", ";
17201     O << ", ";
17203     O << ", ";
17205     O << ", ";
17207     O << ", ";
17209     O << ", ";
17211     O << "},\n\t\t{";
17213     O << ", ";
17215     O << ", ";
17217     O << ", ";
17219     O << ", ";
17221     O << ", ";
17223     O << ", ";
17225     O << ", ";
17227     O << "},\n\t\t{";
17229     O << ", ";
17231     O << ", ";
17233     O << ", ";
17235     O << ", ";
17237     O << ", ";
17239     O << ", ";
17241     O << ", ";
17243     O << "};";
17248     O << ".row.col.m16n16k16.s32.s8.s8.s32\n\t\t{";
17250     O << ", ";
17252     O << ", ";
17254     O << ", ";
17256     O << ", ";
17258     O << ", ";
17260     O << ", ";
17262     O << ", ";
17264     O << "},\n\t\t{";
17266     O << ", ";
17268     O << "},\n\t\t{";
17270     O << ", ";
17272     O << "},\n\t\t{";
17274     O << ", ";
17276     O << ", ";
17278     O << ", ";
17280     O << ", ";
17282     O << ", ";
17284     O << ", ";
17286     O << ", ";
17288     O << "};";
17293     O << ".row.col.m16n16k16.s32.u8.u8.s32\n\t\t{";
17295     O << ", ";
17297     O << ", ";
17299     O << ", ";
17301     O << ", ";
17303     O << ", ";
17305     O << ", ";
17307     O << ", ";
17309     O << "},\n\t\t{";
17311     O << ", ";
17313     O << "},\n\t\t{";
17315     O << ", ";
17317     O << "},\n\t\t{";
17319     O << ", ";
17321     O << ", ";
17323     O << ", ";
17325     O << ", ";
17327     O << ", ";
17329     O << ", ";
17331     O << ", ";
17333     O << "};";
17338     O << ".row.col.m32n8k16.s32.s8.s8.s32\n\t\t{";
17340     O << ", ";
17342     O << ", ";
17344     O << ", ";
17346     O << ", ";
17348     O << ", ";
17350     O << ", ";
17352     O << ", ";
17354     O << "},\n\t\t{";
17356     O << ", ";
17358     O << ", ";
17360     O << ", ";
17362     O << "},\n\t\t{";
17364     O << "},\n\t\t{";
17366     O << ", ";
17368     O << ", ";
17370     O << ", ";
17372     O << ", ";
17374     O << ", ";
17376     O << ", ";
17378     O << ", ";
17380     O << "};";
17385     O << ".row.col.m32n8k16.s32.u8.u8.s32\n\t\t{";
17387     O << ", ";
17389     O << ", ";
17391     O << ", ";
17393     O << ", ";
17395     O << ", ";
17397     O << ", ";
17399     O << ", ";
17401     O << "},\n\t\t{";
17403     O << ", ";
17405     O << ", ";
17407     O << ", ";
17409     O << "},\n\t\t{";
17411     O << "},\n\t\t{";
17413     O << ", ";
17415     O << ", ";
17417     O << ", ";
17419     O << ", ";
17421     O << ", ";
17423     O << ", ";
17425     O << ", ";
17427     O << "};";
17432     O << ".row.col.m8n32k16.s32.s8.s8.s32\n\t\t{";
17434     O << ", ";
17436     O << ", ";
17438     O << ", ";
17440     O << ", ";
17442     O << ", ";
17444     O << ", ";
17446     O << ", ";
17448     O << "},\n\t\t{";
17450     O << "},\n\t\t{";
17452     O << ", ";
17454     O << ", ";
17456     O << ", ";
17458     O << "},\n\t\t{";
17460     O << ", ";
17462     O << ", ";
17464     O << ", ";
17466     O << ", ";
17468     O << ", ";
17470     O << ", ";
17472     O << ", ";
17474     O << "};";
17479     O << ".row.col.m8n32k16.s32.u8.u8.s32\n\t\t{";
17481     O << ", ";
17483     O << ", ";
17485     O << ", ";
17487     O << ", ";
17489     O << ", ";
17491     O << ", ";
17493     O << ", ";
17495     O << "},\n\t\t{";
17497     O << "},\n\t\t{";
17499     O << ", ";
17501     O << ", ";
17503     O << ", ";
17505     O << "},\n\t\t{";
17507     O << ", ";
17509     O << ", ";
17511     O << ", ";
17513     O << ", ";
17515     O << ", ";
17517     O << ", ";
17519     O << ", ";
17521     O << "};";
17526     O << ".row.col.m8n8k32.s32.s4.s4.s32\n\t\t{";
17528     O << ", ";
17530     O << "},\n\t\t{";
17532     O << "},\n\t\t{";
17534     O << "},\n\t\t{";
17536     O << ", ";
17538     O << "};";
17543     O << ".row.col.m8n8k32.s32.u4.u4.s32\n\t\t{";
17545     O << ", ";
17547     O << "},\n\t\t{";
17549     O << "},\n\t\t{";
17551     O << "},\n\t\t{";
17553     O << ", ";
17555     O << "};";
17560     O << ".row.col.m8n8k128.s32.b1.b1.s32\n\t\t{";
17562     O << ", ";
17564     O << "},\n\t\t{";
17566     O << "},\n\t\t{";
17568     O << "},\n\t\t{";
17570     O << ", ";
17572     O << "};";
17577     O << ".row.col.m16n16k16.f16.f16.satfinite\n\t\t{";
17579     O << ", ";
17581     O << ", ";
17583     O << ", ";
17585     O << "},\n\t\t{";
17587     O << ", ";
17589     O << ", ";
17591     O << ", ";
17593     O << ", ";
17595     O << ", ";
17597     O << ", ";
17599     O << ", ";
17601     O << "},\n\t\t{";
17603     O << ", ";
17605     O << ", ";
17607     O << ", ";
17609     O << ", ";
17611     O << ", ";
17613     O << ", ";
17615     O << ", ";
17617     O << "},\n\t\t{";
17619     O << ", ";
17621     O << ", ";
17623     O << ", ";
17625     O << "};";
17630     O << ".row.col.m16n16k16.f32.f16.satfinite\n\t\t{";
17632     O << ", ";
17634     O << ", ";
17636     O << ", ";
17638     O << ", ";
17640     O << ", ";
17642     O << ", ";
17644     O << ", ";
17646     O << "},\n\t\t{";
17648     O << ", ";
17650     O << ", ";
17652     O << ", ";
17654     O << ", ";
17656     O << ", ";
17658     O << ", ";
17660     O << ", ";
17662     O << "},\n\t\t{";
17664     O << ", ";
17666     O << ", ";
17668     O << ", ";
17670     O << ", ";
17672     O << ", ";
17674     O << ", ";
17676     O << ", ";
17678     O << "},\n\t\t{";
17680     O << ", ";
17682     O << ", ";
17684     O << ", ";
17686     O << "};";
17691     O << ".row.col.m16n16k16.f16.f32.satfinite\n\t\t{";
17693     O << ", ";
17695     O << ", ";
17697     O << ", ";
17699     O << "},\n\t\t{";
17701     O << ", ";
17703     O << ", ";
17705     O << ", ";
17707     O << ", ";
17709     O << ", ";
17711     O << ", ";
17713     O << ", ";
17715     O << "},\n\t\t{";
17717     O << ", ";
17719     O << ", ";
17721     O << ", ";
17723     O << ", ";
17725     O << ", ";
17727     O << ", ";
17729     O << ", ";
17731     O << "},\n\t\t{";
17733     O << ", ";
17735     O << ", ";
17737     O << ", ";
17739     O << ", ";
17741     O << ", ";
17743     O << ", ";
17745     O << ", ";
17747     O << "};";
17752     O << ".row.col.m16n16k16.f32.f32.satfinite\n\t\t{";
17754     O << ", ";
17756     O << ", ";
17758     O << ", ";
17760     O << ", ";
17762     O << ", ";
17764     O << ", ";
17766     O << ", ";
17768     O << "},\n\t\t{";
17770     O << ", ";
17772     O << ", ";
17774     O << ", ";
17776     O << ", ";
17778     O << ", ";
17780     O << ", ";
17782     O << ", ";
17784     O << "},\n\t\t{";
17786     O << ", ";
17788     O << ", ";
17790     O << ", ";
17792     O << ", ";
17794     O << ", ";
17796     O << ", ";
17798     O << ", ";
17800     O << "},\n\t\t{";
17802     O << ", ";
17804     O << ", ";
17806     O << ", ";
17808     O << ", ";
17810     O << ", ";
17812     O << ", ";
17814     O << ", ";
17816     O << "};";
17821     O << ".row.col.m32n8k16.f16.f16.satfinite\n\t\t{";
17823     O << ", ";
17825     O << ", ";
17827     O << ", ";
17829     O << "},\n\t\t{";
17831     O << ", ";
17833     O << ", ";
17835     O << ", ";
17837     O << ", ";
17839     O << ", ";
17841     O << ", ";
17843     O << ", ";
17845     O << "},\n\t\t{";
17847     O << ", ";
17849     O << ", ";
17851     O << ", ";
17853     O << ", ";
17855     O << ", ";
17857     O << ", ";
17859     O << ", ";
17861     O << "},\n\t\t{";
17863     O << ", ";
17865     O << ", ";
17867     O << ", ";
17869     O << "};";
17874     O << ".row.col.m32n8k16.f32.f16.satfinite\n\t\t{";
17876     O << ", ";
17878     O << ", ";
17880     O << ", ";
17882     O << ", ";
17884     O << ", ";
17886     O << ", ";
17888     O << ", ";
17890     O << "},\n\t\t{";
17892     O << ", ";
17894     O << ", ";
17896     O << ", ";
17898     O << ", ";
17900     O << ", ";
17902     O << ", ";
17904     O << ", ";
17906     O << "},\n\t\t{";
17908     O << ", ";
17910     O << ", ";
17912     O << ", ";
17914     O << ", ";
17916     O << ", ";
17918     O << ", ";
17920     O << ", ";
17922     O << "},\n\t\t{";
17924     O << ", ";
17926     O << ", ";
17928     O << ", ";
17930     O << "};";
17935     O << ".row.col.m32n8k16.f16.f32.satfinite\n\t\t{";
17937     O << ", ";
17939     O << ", ";
17941     O << ", ";
17943     O << "},\n\t\t{";
17945     O << ", ";
17947     O << ", ";
17949     O << ", ";
17951     O << ", ";
17953     O << ", ";
17955     O << ", ";
17957     O << ", ";
17959     O << "},\n\t\t{";
17961     O << ", ";
17963     O << ", ";
17965     O << ", ";
17967     O << ", ";
17969     O << ", ";
17971     O << ", ";
17973     O << ", ";
17975     O << "},\n\t\t{";
17977     O << ", ";
17979     O << ", ";
17981     O << ", ";
17983     O << ", ";
17985     O << ", ";
17987     O << ", ";
17989     O << ", ";
17991     O << "};";
17996     O << ".row.col.m32n8k16.f32.f32.satfinite\n\t\t{";
17998     O << ", ";
18000     O << ", ";
18002     O << ", ";
18004     O << ", ";
18006     O << ", ";
18008     O << ", ";
18010     O << ", ";
18012     O << "},\n\t\t{";
18014     O << ", ";
18016     O << ", ";
18018     O << ", ";
18020     O << ", ";
18022     O << ", ";
18024     O << ", ";
18026     O << ", ";
18028     O << "},\n\t\t{";
18030     O << ", ";
18032     O << ", ";
18034     O << ", ";
18036     O << ", ";
18038     O << ", ";
18040     O << ", ";
18042     O << ", ";
18044     O << "},\n\t\t{";
18046     O << ", ";
18048     O << ", ";
18050     O << ", ";
18052     O << ", ";
18054     O << ", ";
18056     O << ", ";
18058     O << ", ";
18060     O << "};";
18065     O << ".row.col.m8n32k16.f16.f16.satfinite\n\t\t{";
18067     O << ", ";
18069     O << ", ";
18071     O << ", ";
18073     O << "},\n\t\t{";
18075     O << ", ";
18077     O << ", ";
18079     O << ", ";
18081     O << ", ";
18083     O << ", ";
18085     O << ", ";
18087     O << ", ";
18089     O << "},\n\t\t{";
18091     O << ", ";
18093     O << ", ";
18095     O << ", ";
18097     O << ", ";
18099     O << ", ";
18101     O << ", ";
18103     O << ", ";
18105     O << "},\n\t\t{";
18107     O << ", ";
18109     O << ", ";
18111     O << ", ";
18113     O << "};";
18118     O << ".row.col.m8n32k16.f32.f16.satfinite\n\t\t{";
18120     O << ", ";
18122     O << ", ";
18124     O << ", ";
18126     O << ", ";
18128     O << ", ";
18130     O << ", ";
18132     O << ", ";
18134     O << "},\n\t\t{";
18136     O << ", ";
18138     O << ", ";
18140     O << ", ";
18142     O << ", ";
18144     O << ", ";
18146     O << ", ";
18148     O << ", ";
18150     O << "},\n\t\t{";
18152     O << ", ";
18154     O << ", ";
18156     O << ", ";
18158     O << ", ";
18160     O << ", ";
18162     O << ", ";
18164     O << ", ";
18166     O << "},\n\t\t{";
18168     O << ", ";
18170     O << ", ";
18172     O << ", ";
18174     O << "};";
18179     O << ".row.col.m8n32k16.f16.f32.satfinite\n\t\t{";
18181     O << ", ";
18183     O << ", ";
18185     O << ", ";
18187     O << "},\n\t\t{";
18189     O << ", ";
18191     O << ", ";
18193     O << ", ";
18195     O << ", ";
18197     O << ", ";
18199     O << ", ";
18201     O << ", ";
18203     O << "},\n\t\t{";
18205     O << ", ";
18207     O << ", ";
18209     O << ", ";
18211     O << ", ";
18213     O << ", ";
18215     O << ", ";
18217     O << ", ";
18219     O << "},\n\t\t{";
18221     O << ", ";
18223     O << ", ";
18225     O << ", ";
18227     O << ", ";
18229     O << ", ";
18231     O << ", ";
18233     O << ", ";
18235     O << "};";
18240     O << ".row.col.m8n32k16.f32.f32.satfinite\n\t\t{";
18242     O << ", ";
18244     O << ", ";
18246     O << ", ";
18248     O << ", ";
18250     O << ", ";
18252     O << ", ";
18254     O << ", ";
18256     O << "},\n\t\t{";
18258     O << ", ";
18260     O << ", ";
18262     O << ", ";
18264     O << ", ";
18266     O << ", ";
18268     O << ", ";
18270     O << ", ";
18272     O << "},\n\t\t{";
18274     O << ", ";
18276     O << ", ";
18278     O << ", ";
18280     O << ", ";
18282     O << ", ";
18284     O << ", ";
18286     O << ", ";
18288     O << "},\n\t\t{";
18290     O << ", ";
18292     O << ", ";
18294     O << ", ";
18296     O << ", ";
18298     O << ", ";
18300     O << ", ";
18302     O << ", ";
18304     O << "};";
18309     O << ".row.col.m16n16k16.s32.s8.s8.s32.satfinite\n\t\t{";
18311     O << ", ";
18313     O << ", ";
18315     O << ", ";
18317     O << ", ";
18319     O << ", ";
18321     O << ", ";
18323     O << ", ";
18325     O << "},\n\t\t{";
18327     O << ", ";
18329     O << "},\n\t\t{";
18331     O << ", ";
18333     O << "},\n\t\t{";
18335     O << ", ";
18337     O << ", ";
18339     O << ", ";
18341     O << ", ";
18343     O << ", ";
18345     O << ", ";
18347     O << ", ";
18349     O << "};";
18354     O << ".row.col.m16n16k16.s32.u8.u8.s32.satfinite\n\t\t{";
18356     O << ", ";
18358     O << ", ";
18360     O << ", ";
18362     O << ", ";
18364     O << ", ";
18366     O << ", ";
18368     O << ", ";
18370     O << "},\n\t\t{";
18372     O << ", ";
18374     O << "},\n\t\t{";
18376     O << ", ";
18378     O << "},\n\t\t{";
18380     O << ", ";
18382     O << ", ";
18384     O << ", ";
18386     O << ", ";
18388     O << ", ";
18390     O << ", ";
18392     O << ", ";
18394     O << "};";
18399     O << ".row.col.m32n8k16.s32.s8.s8.s32.satfinite\n\t\t{";
18401     O << ", ";
18403     O << ", ";
18405     O << ", ";
18407     O << ", ";
18409     O << ", ";
18411     O << ", ";
18413     O << ", ";
18415     O << "},\n\t\t{";
18417     O << ", ";
18419     O << ", ";
18421     O << ", ";
18423     O << "},\n\t\t{";
18425     O << "},\n\t\t{";
18427     O << ", ";
18429     O << ", ";
18431     O << ", ";
18433     O << ", ";
18435     O << ", ";
18437     O << ", ";
18439     O << ", ";
18441     O << "};";
18446     O << ".row.col.m32n8k16.s32.u8.u8.s32.satfinite\n\t\t{";
18448     O << ", ";
18450     O << ", ";
18452     O << ", ";
18454     O << ", ";
18456     O << ", ";
18458     O << ", ";
18460     O << ", ";
18462     O << "},\n\t\t{";
18464     O << ", ";
18466     O << ", ";
18468     O << ", ";
18470     O << "},\n\t\t{";
18472     O << "},\n\t\t{";
18474     O << ", ";
18476     O << ", ";
18478     O << ", ";
18480     O << ", ";
18482     O << ", ";
18484     O << ", ";
18486     O << ", ";
18488     O << "};";
18493     O << ".row.col.m8n32k16.s32.s8.s8.s32.satfinite\n\t\t{";
18495     O << ", ";
18497     O << ", ";
18499     O << ", ";
18501     O << ", ";
18503     O << ", ";
18505     O << ", ";
18507     O << ", ";
18509     O << "},\n\t\t{";
18511     O << "},\n\t\t{";
18513     O << ", ";
18515     O << ", ";
18517     O << ", ";
18519     O << "},\n\t\t{";
18521     O << ", ";
18523     O << ", ";
18525     O << ", ";
18527     O << ", ";
18529     O << ", ";
18531     O << ", ";
18533     O << ", ";
18535     O << "};";
18540     O << ".row.col.m8n32k16.s32.u8.u8.s32.satfinite\n\t\t{";
18542     O << ", ";
18544     O << ", ";
18546     O << ", ";
18548     O << ", ";
18550     O << ", ";
18552     O << ", ";
18554     O << ", ";
18556     O << "},\n\t\t{";
18558     O << "},\n\t\t{";
18560     O << ", ";
18562     O << ", ";
18564     O << ", ";
18566     O << "},\n\t\t{";
18568     O << ", ";
18570     O << ", ";
18572     O << ", ";
18574     O << ", ";
18576     O << ", ";
18578     O << ", ";
18580     O << ", ";
18582     O << "};";
18587     O << ".row.col.m8n8k32.s32.s4.s4.s32.satfinite\n\t\t{";
18589     O << ", ";
18591     O << "},\n\t\t{";
18593     O << "},\n\t\t{";
18595     O << "},\n\t\t{";
18597     O << ", ";
18599     O << "};";
18604     O << ".row.col.m8n8k32.s32.u4.u4.s32.satfinite\n\t\t{";
18606     O << ", ";
18608     O << "},\n\t\t{";
18610     O << "},\n\t\t{";
18612     O << "},\n\t\t{";
18614     O << ", ";
18616     O << "};";
18621     O << ".col.row.m16n16k16.f16.f16\n\t\t{";
18623     O << ", ";
18625     O << ", ";
18627     O << ", ";
18629     O << "},\n\t\t{";
18631     O << ", ";
18633     O << ", ";
18635     O << ", ";
18637     O << ", ";
18639     O << ", ";
18641     O << ", ";
18643     O << ", ";
18645     O << "},\n\t\t{";
18647     O << ", ";
18649     O << ", ";
18651     O << ", ";
18653     O << ", ";
18655     O << ", ";
18657     O << ", ";
18659     O << ", ";
18661     O << "},\n\t\t{";
18663     O << ", ";
18665     O << ", ";
18667     O << ", ";
18669     O << "};";
18674     O << ".col.row.m16n16k16.f32.f16\n\t\t{";
18676     O << ", ";
18678     O << ", ";
18680     O << ", ";
18682     O << ", ";
18684     O << ", ";
18686     O << ", ";
18688     O << ", ";
18690     O << "},\n\t\t{";
18692     O << ", ";
18694     O << ", ";
18696     O << ", ";
18698     O << ", ";
18700     O << ", ";
18702     O << ", ";
18704     O << ", ";
18706     O << "},\n\t\t{";
18708     O << ", ";
18710     O << ", ";
18712     O << ", ";
18714     O << ", ";
18716     O << ", ";
18718     O << ", ";
18720     O << ", ";
18722     O << "},\n\t\t{";
18724     O << ", ";
18726     O << ", ";
18728     O << ", ";
18730     O << "};";
18735     O << ".col.row.m16n16k16.f16.f32\n\t\t{";
18737     O << ", ";
18739     O << ", ";
18741     O << ", ";
18743     O << "},\n\t\t{";
18745     O << ", ";
18747     O << ", ";
18749     O << ", ";
18751     O << ", ";
18753     O << ", ";
18755     O << ", ";
18757     O << ", ";
18759     O << "},\n\t\t{";
18761     O << ", ";
18763     O << ", ";
18765     O << ", ";
18767     O << ", ";
18769     O << ", ";
18771     O << ", ";
18773     O << ", ";
18775     O << "},\n\t\t{";
18777     O << ", ";
18779     O << ", ";
18781     O << ", ";
18783     O << ", ";
18785     O << ", ";
18787     O << ", ";
18789     O << ", ";
18791     O << "};";
18796     O << ".col.row.m16n16k16.f32.f32\n\t\t{";
18798     O << ", ";
18800     O << ", ";
18802     O << ", ";
18804     O << ", ";
18806     O << ", ";
18808     O << ", ";
18810     O << ", ";
18812     O << "},\n\t\t{";
18814     O << ", ";
18816     O << ", ";
18818     O << ", ";
18820     O << ", ";
18822     O << ", ";
18824     O << ", ";
18826     O << ", ";
18828     O << "},\n\t\t{";
18830     O << ", ";
18832     O << ", ";
18834     O << ", ";
18836     O << ", ";
18838     O << ", ";
18840     O << ", ";
18842     O << ", ";
18844     O << "},\n\t\t{";
18846     O << ", ";
18848     O << ", ";
18850     O << ", ";
18852     O << ", ";
18854     O << ", ";
18856     O << ", ";
18858     O << ", ";
18860     O << "};";
18865     O << ".col.row.m32n8k16.f16.f16\n\t\t{";
18867     O << ", ";
18869     O << ", ";
18871     O << ", ";
18873     O << "},\n\t\t{";
18875     O << ", ";
18877     O << ", ";
18879     O << ", ";
18881     O << ", ";
18883     O << ", ";
18885     O << ", ";
18887     O << ", ";
18889     O << "},\n\t\t{";
18891     O << ", ";
18893     O << ", ";
18895     O << ", ";
18897     O << ", ";
18899     O << ", ";
18901     O << ", ";
18903     O << ", ";
18905     O << "},\n\t\t{";
18907     O << ", ";
18909     O << ", ";
18911     O << ", ";
18913     O << "};";
18918     O << ".col.row.m32n8k16.f32.f16\n\t\t{";
18920     O << ", ";
18922     O << ", ";
18924     O << ", ";
18926     O << ", ";
18928     O << ", ";
18930     O << ", ";
18932     O << ", ";
18934     O << "},\n\t\t{";
18936     O << ", ";
18938     O << ", ";
18940     O << ", ";
18942     O << ", ";
18944     O << ", ";
18946     O << ", ";
18948     O << ", ";
18950     O << "},\n\t\t{";
18952     O << ", ";
18954     O << ", ";
18956     O << ", ";
18958     O << ", ";
18960     O << ", ";
18962     O << ", ";
18964     O << ", ";
18966     O << "},\n\t\t{";
18968     O << ", ";
18970     O << ", ";
18972     O << ", ";
18974     O << "};";
18979     O << ".col.row.m32n8k16.f16.f32\n\t\t{";
18981     O << ", ";
18983     O << ", ";
18985     O << ", ";
18987     O << "},\n\t\t{";
18989     O << ", ";
18991     O << ", ";
18993     O << ", ";
18995     O << ", ";
18997     O << ", ";
18999     O << ", ";
19001     O << ", ";
19003     O << "},\n\t\t{";
19005     O << ", ";
19007     O << ", ";
19009     O << ", ";
19011     O << ", ";
19013     O << ", ";
19015     O << ", ";
19017     O << ", ";
19019     O << "},\n\t\t{";
19021     O << ", ";
19023     O << ", ";
19025     O << ", ";
19027     O << ", ";
19029     O << ", ";
19031     O << ", ";
19033     O << ", ";
19035     O << "};";
19040     O << ".col.row.m32n8k16.f32.f32\n\t\t{";
19042     O << ", ";
19044     O << ", ";
19046     O << ", ";
19048     O << ", ";
19050     O << ", ";
19052     O << ", ";
19054     O << ", ";
19056     O << "},\n\t\t{";
19058     O << ", ";
19060     O << ", ";
19062     O << ", ";
19064     O << ", ";
19066     O << ", ";
19068     O << ", ";
19070     O << ", ";
19072     O << "},\n\t\t{";
19074     O << ", ";
19076     O << ", ";
19078     O << ", ";
19080     O << ", ";
19082     O << ", ";
19084     O << ", ";
19086     O << ", ";
19088     O << "},\n\t\t{";
19090     O << ", ";
19092     O << ", ";
19094     O << ", ";
19096     O << ", ";
19098     O << ", ";
19100     O << ", ";
19102     O << ", ";
19104     O << "};";
19109     O << ".col.row.m8n32k16.f16.f16\n\t\t{";
19111     O << ", ";
19113     O << ", ";
19115     O << ", ";
19117     O << "},\n\t\t{";
19119     O << ", ";
19121     O << ", ";
19123     O << ", ";
19125     O << ", ";
19127     O << ", ";
19129     O << ", ";
19131     O << ", ";
19133     O << "},\n\t\t{";
19135     O << ", ";
19137     O << ", ";
19139     O << ", ";
19141     O << ", ";
19143     O << ", ";
19145     O << ", ";
19147     O << ", ";
19149     O << "},\n\t\t{";
19151     O << ", ";
19153     O << ", ";
19155     O << ", ";
19157     O << "};";
19162     O << ".col.row.m8n32k16.f32.f16\n\t\t{";
19164     O << ", ";
19166     O << ", ";
19168     O << ", ";
19170     O << ", ";
19172     O << ", ";
19174     O << ", ";
19176     O << ", ";
19178     O << "},\n\t\t{";
19180     O << ", ";
19182     O << ", ";
19184     O << ", ";
19186     O << ", ";
19188     O << ", ";
19190     O << ", ";
19192     O << ", ";
19194     O << "},\n\t\t{";
19196     O << ", ";
19198     O << ", ";
19200     O << ", ";
19202     O << ", ";
19204     O << ", ";
19206     O << ", ";
19208     O << ", ";
19210     O << "},\n\t\t{";
19212     O << ", ";
19214     O << ", ";
19216     O << ", ";
19218     O << "};";
19223     O << ".col.row.m8n32k16.f16.f32\n\t\t{";
19225     O << ", ";
19227     O << ", ";
19229     O << ", ";
19231     O << "},\n\t\t{";
19233     O << ", ";
19235     O << ", ";
19237     O << ", ";
19239     O << ", ";
19241     O << ", ";
19243     O << ", ";
19245     O << ", ";
19247     O << "},\n\t\t{";
19249     O << ", ";
19251     O << ", ";
19253     O << ", ";
19255     O << ", ";
19257     O << ", ";
19259     O << ", ";
19261     O << ", ";
19263     O << "},\n\t\t{";
19265     O << ", ";
19267     O << ", ";
19269     O << ", ";
19271     O << ", ";
19273     O << ", ";
19275     O << ", ";
19277     O << ", ";
19279     O << "};";
19284     O << ".col.row.m8n32k16.f32.f32\n\t\t{";
19286     O << ", ";
19288     O << ", ";
19290     O << ", ";
19292     O << ", ";
19294     O << ", ";
19296     O << ", ";
19298     O << ", ";
19300     O << "},\n\t\t{";
19302     O << ", ";
19304     O << ", ";
19306     O << ", ";
19308     O << ", ";
19310     O << ", ";
19312     O << ", ";
19314     O << ", ";
19316     O << "},\n\t\t{";
19318     O << ", ";
19320     O << ", ";
19322     O << ", ";
19324     O << ", ";
19326     O << ", ";
19328     O << ", ";
19330     O << ", ";
19332     O << "},\n\t\t{";
19334     O << ", ";
19336     O << ", ";
19338     O << ", ";
19340     O << ", ";
19342     O << ", ";
19344     O << ", ";
19346     O << ", ";
19348     O << "};";
19353     O << ".col.row.m16n16k16.s32.s8.s8.s32\n\t\t{";
19355     O << ", ";
19357     O << ", ";
19359     O << ", ";
19361     O << ", ";
19363     O << ", ";
19365     O << ", ";
19367     O << ", ";
19369     O << "},\n\t\t{";
19371     O << ", ";
19373     O << "},\n\t\t{";
19375     O << ", ";
19377     O << "},\n\t\t{";
19379     O << ", ";
19381     O << ", ";
19383     O << ", ";
19385     O << ", ";
19387     O << ", ";
19389     O << ", ";
19391     O << ", ";
19393     O << "};";
19398     O << ".col.row.m16n16k16.s32.u8.u8.s32\n\t\t{";
19400     O << ", ";
19402     O << ", ";
19404     O << ", ";
19406     O << ", ";
19408     O << ", ";
19410     O << ", ";
19412     O << ", ";
19414     O << "},\n\t\t{";
19416     O << ", ";
19418     O << "},\n\t\t{";
19420     O << ", ";
19422     O << "},\n\t\t{";
19424     O << ", ";
19426     O << ", ";
19428     O << ", ";
19430     O << ", ";
19432     O << ", ";
19434     O << ", ";
19436     O << ", ";
19438     O << "};";
19443     O << ".col.row.m32n8k16.s32.s8.s8.s32\n\t\t{";
19445     O << ", ";
19447     O << ", ";
19449     O << ", ";
19451     O << ", ";
19453     O << ", ";
19455     O << ", ";
19457     O << ", ";
19459     O << "},\n\t\t{";
19461     O << ", ";
19463     O << ", ";
19465     O << ", ";
19467     O << "},\n\t\t{";
19469     O << "},\n\t\t{";
19471     O << ", ";
19473     O << ", ";
19475     O << ", ";
19477     O << ", ";
19479     O << ", ";
19481     O << ", ";
19483     O << ", ";
19485     O << "};";
19490     O << ".col.row.m32n8k16.s32.u8.u8.s32\n\t\t{";
19492     O << ", ";
19494     O << ", ";
19496     O << ", ";
19498     O << ", ";
19500     O << ", ";
19502     O << ", ";
19504     O << ", ";
19506     O << "},\n\t\t{";
19508     O << ", ";
19510     O << ", ";
19512     O << ", ";
19514     O << "},\n\t\t{";
19516     O << "},\n\t\t{";
19518     O << ", ";
19520     O << ", ";
19522     O << ", ";
19524     O << ", ";
19526     O << ", ";
19528     O << ", ";
19530     O << ", ";
19532     O << "};";
19537     O << ".col.row.m8n32k16.s32.s8.s8.s32\n\t\t{";
19539     O << ", ";
19541     O << ", ";
19543     O << ", ";
19545     O << ", ";
19547     O << ", ";
19549     O << ", ";
19551     O << ", ";
19553     O << "},\n\t\t{";
19555     O << "},\n\t\t{";
19557     O << ", ";
19559     O << ", ";
19561     O << ", ";
19563     O << "},\n\t\t{";
19565     O << ", ";
19567     O << ", ";
19569     O << ", ";
19571     O << ", ";
19573     O << ", ";
19575     O << ", ";
19577     O << ", ";
19579     O << "};";
19584     O << ".col.row.m8n32k16.s32.u8.u8.s32\n\t\t{";
19586     O << ", ";
19588     O << ", ";
19590     O << ", ";
19592     O << ", ";
19594     O << ", ";
19596     O << ", ";
19598     O << ", ";
19600     O << "},\n\t\t{";
19602     O << "},\n\t\t{";
19604     O << ", ";
19606     O << ", ";
19608     O << ", ";
19610     O << "},\n\t\t{";
19612     O << ", ";
19614     O << ", ";
19616     O << ", ";
19618     O << ", ";
19620     O << ", ";
19622     O << ", ";
19624     O << ", ";
19626     O << "};";
19631     O << ".col.row.m16n16k16.f16.f16.satfinite\n\t\t{";
19633     O << ", ";
19635     O << ", ";
19637     O << ", ";
19639     O << "},\n\t\t{";
19641     O << ", ";
19643     O << ", ";
19645     O << ", ";
19647     O << ", ";
19649     O << ", ";
19651     O << ", ";
19653     O << ", ";
19655     O << "},\n\t\t{";
19657     O << ", ";
19659     O << ", ";
19661     O << ", ";
19663     O << ", ";
19665     O << ", ";
19667     O << ", ";
19669     O << ", ";
19671     O << "},\n\t\t{";
19673     O << ", ";
19675     O << ", ";
19677     O << ", ";
19679     O << "};";
19684     O << ".col.row.m16n16k16.f32.f16.satfinite\n\t\t{";
19686     O << ", ";
19688     O << ", ";
19690     O << ", ";
19692     O << ", ";
19694     O << ", ";
19696     O << ", ";
19698     O << ", ";
19700     O << "},\n\t\t{";
19702     O << ", ";
19704     O << ", ";
19706     O << ", ";
19708     O << ", ";
19710     O << ", ";
19712     O << ", ";
19714     O << ", ";
19716     O << "},\n\t\t{";
19718     O << ", ";
19720     O << ", ";
19722     O << ", ";
19724     O << ", ";
19726     O << ", ";
19728     O << ", ";
19730     O << ", ";
19732     O << "},\n\t\t{";
19734     O << ", ";
19736     O << ", ";
19738     O << ", ";
19740     O << "};";
19745     O << ".col.row.m16n16k16.f16.f32.satfinite\n\t\t{";
19747     O << ", ";
19749     O << ", ";
19751     O << ", ";
19753     O << "},\n\t\t{";
19755     O << ", ";
19757     O << ", ";
19759     O << ", ";
19761     O << ", ";
19763     O << ", ";
19765     O << ", ";
19767     O << ", ";
19769     O << "},\n\t\t{";
19771     O << ", ";
19773     O << ", ";
19775     O << ", ";
19777     O << ", ";
19779     O << ", ";
19781     O << ", ";
19783     O << ", ";
19785     O << "},\n\t\t{";
19787     O << ", ";
19789     O << ", ";
19791     O << ", ";
19793     O << ", ";
19795     O << ", ";
19797     O << ", ";
19799     O << ", ";
19801     O << "};";
19806     O << ".col.row.m16n16k16.f32.f32.satfinite\n\t\t{";
19808     O << ", ";
19810     O << ", ";
19812     O << ", ";
19814     O << ", ";
19816     O << ", ";
19818     O << ", ";
19820     O << ", ";
19822     O << "},\n\t\t{";
19824     O << ", ";
19826     O << ", ";
19828     O << ", ";
19830     O << ", ";
19832     O << ", ";
19834     O << ", ";
19836     O << ", ";
19838     O << "},\n\t\t{";
19840     O << ", ";
19842     O << ", ";
19844     O << ", ";
19846     O << ", ";
19848     O << ", ";
19850     O << ", ";
19852     O << ", ";
19854     O << "},\n\t\t{";
19856     O << ", ";
19858     O << ", ";
19860     O << ", ";
19862     O << ", ";
19864     O << ", ";
19866     O << ", ";
19868     O << ", ";
19870     O << "};";
19875     O << ".col.row.m32n8k16.f16.f16.satfinite\n\t\t{";
19877     O << ", ";
19879     O << ", ";
19881     O << ", ";
19883     O << "},\n\t\t{";
19885     O << ", ";
19887     O << ", ";
19889     O << ", ";
19891     O << ", ";
19893     O << ", ";
19895     O << ", ";
19897     O << ", ";
19899     O << "},\n\t\t{";
19901     O << ", ";
19903     O << ", ";
19905     O << ", ";
19907     O << ", ";
19909     O << ", ";
19911     O << ", ";
19913     O << ", ";
19915     O << "},\n\t\t{";
19917     O << ", ";
19919     O << ", ";
19921     O << ", ";
19923     O << "};";
19928     O << ".col.row.m32n8k16.f32.f16.satfinite\n\t\t{";
19930     O << ", ";
19932     O << ", ";
19934     O << ", ";
19936     O << ", ";
19938     O << ", ";
19940     O << ", ";
19942     O << ", ";
19944     O << "},\n\t\t{";
19946     O << ", ";
19948     O << ", ";
19950     O << ", ";
19952     O << ", ";
19954     O << ", ";
19956     O << ", ";
19958     O << ", ";
19960     O << "},\n\t\t{";
19962     O << ", ";
19964     O << ", ";
19966     O << ", ";
19968     O << ", ";
19970     O << ", ";
19972     O << ", ";
19974     O << ", ";
19976     O << "},\n\t\t{";
19978     O << ", ";
19980     O << ", ";
19982     O << ", ";
19984     O << "};";
19989     O << ".col.row.m32n8k16.f16.f32.satfinite\n\t\t{";
19991     O << ", ";
19993     O << ", ";
19995     O << ", ";
19997     O << "},\n\t\t{";
19999     O << ", ";
20001     O << ", ";
20003     O << ", ";
20005     O << ", ";
20007     O << ", ";
20009     O << ", ";
20011     O << ", ";
20013     O << "},\n\t\t{";
20015     O << ", ";
20017     O << ", ";
20019     O << ", ";
20021     O << ", ";
20023     O << ", ";
20025     O << ", ";
20027     O << ", ";
20029     O << "},\n\t\t{";
20031     O << ", ";
20033     O << ", ";
20035     O << ", ";
20037     O << ", ";
20039     O << ", ";
20041     O << ", ";
20043     O << ", ";
20045     O << "};";
20050     O << ".col.row.m32n8k16.f32.f32.satfinite\n\t\t{";
20052     O << ", ";
20054     O << ", ";
20056     O << ", ";
20058     O << ", ";
20060     O << ", ";
20062     O << ", ";
20064     O << ", ";
20066     O << "},\n\t\t{";
20068     O << ", ";
20070     O << ", ";
20072     O << ", ";
20074     O << ", ";
20076     O << ", ";
20078     O << ", ";
20080     O << ", ";
20082     O << "},\n\t\t{";
20084     O << ", ";
20086     O << ", ";
20088     O << ", ";
20090     O << ", ";
20092     O << ", ";
20094     O << ", ";
20096     O << ", ";
20098     O << "},\n\t\t{";
20100     O << ", ";
20102     O << ", ";
20104     O << ", ";
20106     O << ", ";
20108     O << ", ";
20110     O << ", ";
20112     O << ", ";
20114     O << "};";
20119     O << ".col.row.m8n32k16.f16.f16.satfinite\n\t\t{";
20121     O << ", ";
20123     O << ", ";
20125     O << ", ";
20127     O << "},\n\t\t{";
20129     O << ", ";
20131     O << ", ";
20133     O << ", ";
20135     O << ", ";
20137     O << ", ";
20139     O << ", ";
20141     O << ", ";
20143     O << "},\n\t\t{";
20145     O << ", ";
20147     O << ", ";
20149     O << ", ";
20151     O << ", ";
20153     O << ", ";
20155     O << ", ";
20157     O << ", ";
20159     O << "},\n\t\t{";
20161     O << ", ";
20163     O << ", ";
20165     O << ", ";
20167     O << "};";
20172     O << ".col.row.m8n32k16.f32.f16.satfinite\n\t\t{";
20174     O << ", ";
20176     O << ", ";
20178     O << ", ";
20180     O << ", ";
20182     O << ", ";
20184     O << ", ";
20186     O << ", ";
20188     O << "},\n\t\t{";
20190     O << ", ";
20192     O << ", ";
20194     O << ", ";
20196     O << ", ";
20198     O << ", ";
20200     O << ", ";
20202     O << ", ";
20204     O << "},\n\t\t{";
20206     O << ", ";
20208     O << ", ";
20210     O << ", ";
20212     O << ", ";
20214     O << ", ";
20216     O << ", ";
20218     O << ", ";
20220     O << "},\n\t\t{";
20222     O << ", ";
20224     O << ", ";
20226     O << ", ";
20228     O << "};";
20233     O << ".col.row.m8n32k16.f16.f32.satfinite\n\t\t{";
20235     O << ", ";
20237     O << ", ";
20239     O << ", ";
20241     O << "},\n\t\t{";
20243     O << ", ";
20245     O << ", ";
20247     O << ", ";
20249     O << ", ";
20251     O << ", ";
20253     O << ", ";
20255     O << ", ";
20257     O << "},\n\t\t{";
20259     O << ", ";
20261     O << ", ";
20263     O << ", ";
20265     O << ", ";
20267     O << ", ";
20269     O << ", ";
20271     O << ", ";
20273     O << "},\n\t\t{";
20275     O << ", ";
20277     O << ", ";
20279     O << ", ";
20281     O << ", ";
20283     O << ", ";
20285     O << ", ";
20287     O << ", ";
20289     O << "};";
20294     O << ".col.row.m8n32k16.f32.f32.satfinite\n\t\t{";
20296     O << ", ";
20298     O << ", ";
20300     O << ", ";
20302     O << ", ";
20304     O << ", ";
20306     O << ", ";
20308     O << ", ";
20310     O << "},\n\t\t{";
20312     O << ", ";
20314     O << ", ";
20316     O << ", ";
20318     O << ", ";
20320     O << ", ";
20322     O << ", ";
20324     O << ", ";
20326     O << "},\n\t\t{";
20328     O << ", ";
20330     O << ", ";
20332     O << ", ";
20334     O << ", ";
20336     O << ", ";
20338     O << ", ";
20340     O << ", ";
20342     O << "},\n\t\t{";
20344     O << ", ";
20346     O << ", ";
20348     O << ", ";
20350     O << ", ";
20352     O << ", ";
20354     O << ", ";
20356     O << ", ";
20358     O << "};";
20363     O << ".col.row.m16n16k16.s32.s8.s8.s32.satfinite\n\t\t{";
20365     O << ", ";
20367     O << ", ";
20369     O << ", ";
20371     O << ", ";
20373     O << ", ";
20375     O << ", ";
20377     O << ", ";
20379     O << "},\n\t\t{";
20381     O << ", ";
20383     O << "},\n\t\t{";
20385     O << ", ";
20387     O << "},\n\t\t{";
20389     O << ", ";
20391     O << ", ";
20393     O << ", ";
20395     O << ", ";
20397     O << ", ";
20399     O << ", ";
20401     O << ", ";
20403     O << "};";
20408     O << ".col.row.m16n16k16.s32.u8.u8.s32.satfinite\n\t\t{";
20410     O << ", ";
20412     O << ", ";
20414     O << ", ";
20416     O << ", ";
20418     O << ", ";
20420     O << ", ";
20422     O << ", ";
20424     O << "},\n\t\t{";
20426     O << ", ";
20428     O << "},\n\t\t{";
20430     O << ", ";
20432     O << "},\n\t\t{";
20434     O << ", ";
20436     O << ", ";
20438     O << ", ";
20440     O << ", ";
20442     O << ", ";
20444     O << ", ";
20446     O << ", ";
20448     O << "};";
20453     O << ".col.row.m32n8k16.s32.s8.s8.s32.satfinite\n\t\t{";
20455     O << ", ";
20457     O << ", ";
20459     O << ", ";
20461     O << ", ";
20463     O << ", ";
20465     O << ", ";
20467     O << ", ";
20469     O << "},\n\t\t{";
20471     O << ", ";
20473     O << ", ";
20475     O << ", ";
20477     O << "},\n\t\t{";
20479     O << "},\n\t\t{";
20481     O << ", ";
20483     O << ", ";
20485     O << ", ";
20487     O << ", ";
20489     O << ", ";
20491     O << ", ";
20493     O << ", ";
20495     O << "};";
20500     O << ".col.row.m32n8k16.s32.u8.u8.s32.satfinite\n\t\t{";
20502     O << ", ";
20504     O << ", ";
20506     O << ", ";
20508     O << ", ";
20510     O << ", ";
20512     O << ", ";
20514     O << ", ";
20516     O << "},\n\t\t{";
20518     O << ", ";
20520     O << ", ";
20522     O << ", ";
20524     O << "},\n\t\t{";
20526     O << "},\n\t\t{";
20528     O << ", ";
20530     O << ", ";
20532     O << ", ";
20534     O << ", ";
20536     O << ", ";
20538     O << ", ";
20540     O << ", ";
20542     O << "};";
20547     O << ".col.row.m8n32k16.s32.s8.s8.s32.satfinite\n\t\t{";
20549     O << ", ";
20551     O << ", ";
20553     O << ", ";
20555     O << ", ";
20557     O << ", ";
20559     O << ", ";
20561     O << ", ";
20563     O << "},\n\t\t{";
20565     O << "},\n\t\t{";
20567     O << ", ";
20569     O << ", ";
20571     O << ", ";
20573     O << "},\n\t\t{";
20575     O << ", ";
20577     O << ", ";
20579     O << ", ";
20581     O << ", ";
20583     O << ", ";
20585     O << ", ";
20587     O << ", ";
20589     O << "};";
20594     O << ".col.row.m8n32k16.s32.u8.u8.s32.satfinite\n\t\t{";
20596     O << ", ";
20598     O << ", ";
20600     O << ", ";
20602     O << ", ";
20604     O << ", ";
20606     O << ", ";
20608     O << ", ";
20610     O << "},\n\t\t{";
20612     O << "},\n\t\t{";
20614     O << ", ";
20616     O << ", ";
20618     O << ", ";
20620     O << "},\n\t\t{";
20622     O << ", ";
20624     O << ", ";
20626     O << ", ";
20628     O << ", ";
20630     O << ", ";
20632     O << ", ";
20634     O << ", ";
20636     O << "};";
20641     O << ".col.col.m16n16k16.f16.f16\n\t\t{";
20643     O << ", ";
20645     O << ", ";
20647     O << ", ";
20649     O << "},\n\t\t{";
20651     O << ", ";
20653     O << ", ";
20655     O << ", ";
20657     O << ", ";
20659     O << ", ";
20661     O << ", ";
20663     O << ", ";
20665     O << "},\n\t\t{";
20667     O << ", ";
20669     O << ", ";
20671     O << ", ";
20673     O << ", ";
20675     O << ", ";
20677     O << ", ";
20679     O << ", ";
20681     O << "},\n\t\t{";
20683     O << ", ";
20685     O << ", ";
20687     O << ", ";
20689     O << "};";
20694     O << ".col.col.m16n16k16.f32.f16\n\t\t{";
20696     O << ", ";
20698     O << ", ";
20700     O << ", ";
20702     O << ", ";
20704     O << ", ";
20706     O << ", ";
20708     O << ", ";
20710     O << "},\n\t\t{";
20712     O << ", ";
20714     O << ", ";
20716     O << ", ";
20718     O << ", ";
20720     O << ", ";
20722     O << ", ";
20724     O << ", ";
20726     O << "},\n\t\t{";
20728     O << ", ";
20730     O << ", ";
20732     O << ", ";
20734     O << ", ";
20736     O << ", ";
20738     O << ", ";
20740     O << ", ";
20742     O << "},\n\t\t{";
20744     O << ", ";
20746     O << ", ";
20748     O << ", ";
20750     O << "};";
20755     O << ".col.col.m16n16k16.f16.f32\n\t\t{";
20757     O << ", ";
20759     O << ", ";
20761     O << ", ";
20763     O << "},\n\t\t{";
20765     O << ", ";
20767     O << ", ";
20769     O << ", ";
20771     O << ", ";
20773     O << ", ";
20775     O << ", ";
20777     O << ", ";
20779     O << "},\n\t\t{";
20781     O << ", ";
20783     O << ", ";
20785     O << ", ";
20787     O << ", ";
20789     O << ", ";
20791     O << ", ";
20793     O << ", ";
20795     O << "},\n\t\t{";
20797     O << ", ";
20799     O << ", ";
20801     O << ", ";
20803     O << ", ";
20805     O << ", ";
20807     O << ", ";
20809     O << ", ";
20811     O << "};";
20816     O << ".col.col.m16n16k16.f32.f32\n\t\t{";
20818     O << ", ";
20820     O << ", ";
20822     O << ", ";
20824     O << ", ";
20826     O << ", ";
20828     O << ", ";
20830     O << ", ";
20832     O << "},\n\t\t{";
20834     O << ", ";
20836     O << ", ";
20838     O << ", ";
20840     O << ", ";
20842     O << ", ";
20844     O << ", ";
20846     O << ", ";
20848     O << "},\n\t\t{";
20850     O << ", ";
20852     O << ", ";
20854     O << ", ";
20856     O << ", ";
20858     O << ", ";
20860     O << ", ";
20862     O << ", ";
20864     O << "},\n\t\t{";
20866     O << ", ";
20868     O << ", ";
20870     O << ", ";
20872     O << ", ";
20874     O << ", ";
20876     O << ", ";
20878     O << ", ";
20880     O << "};";
20885     O << ".col.col.m32n8k16.f16.f16\n\t\t{";
20887     O << ", ";
20889     O << ", ";
20891     O << ", ";
20893     O << "},\n\t\t{";
20895     O << ", ";
20897     O << ", ";
20899     O << ", ";
20901     O << ", ";
20903     O << ", ";
20905     O << ", ";
20907     O << ", ";
20909     O << "},\n\t\t{";
20911     O << ", ";
20913     O << ", ";
20915     O << ", ";
20917     O << ", ";
20919     O << ", ";
20921     O << ", ";
20923     O << ", ";
20925     O << "},\n\t\t{";
20927     O << ", ";
20929     O << ", ";
20931     O << ", ";
20933     O << "};";
20938     O << ".col.col.m32n8k16.f32.f16\n\t\t{";
20940     O << ", ";
20942     O << ", ";
20944     O << ", ";
20946     O << ", ";
20948     O << ", ";
20950     O << ", ";
20952     O << ", ";
20954     O << "},\n\t\t{";
20956     O << ", ";
20958     O << ", ";
20960     O << ", ";
20962     O << ", ";
20964     O << ", ";
20966     O << ", ";
20968     O << ", ";
20970     O << "},\n\t\t{";
20972     O << ", ";
20974     O << ", ";
20976     O << ", ";
20978     O << ", ";
20980     O << ", ";
20982     O << ", ";
20984     O << ", ";
20986     O << "},\n\t\t{";
20988     O << ", ";
20990     O << ", ";
20992     O << ", ";
20994     O << "};";
20999     O << ".col.col.m32n8k16.f16.f32\n\t\t{";
21001     O << ", ";
21003     O << ", ";
21005     O << ", ";
21007     O << "},\n\t\t{";
21009     O << ", ";
21011     O << ", ";
21013     O << ", ";
21015     O << ", ";
21017     O << ", ";
21019     O << ", ";
21021     O << ", ";
21023     O << "},\n\t\t{";
21025     O << ", ";
21027     O << ", ";
21029     O << ", ";
21031     O << ", ";
21033     O << ", ";
21035     O << ", ";
21037     O << ", ";
21039     O << "},\n\t\t{";
21041     O << ", ";
21043     O << ", ";
21045     O << ", ";
21047     O << ", ";
21049     O << ", ";
21051     O << ", ";
21053     O << ", ";
21055     O << "};";
21060     O << ".col.col.m32n8k16.f32.f32\n\t\t{";
21062     O << ", ";
21064     O << ", ";
21066     O << ", ";
21068     O << ", ";
21070     O << ", ";
21072     O << ", ";
21074     O << ", ";
21076     O << "},\n\t\t{";
21078     O << ", ";
21080     O << ", ";
21082     O << ", ";
21084     O << ", ";
21086     O << ", ";
21088     O << ", ";
21090     O << ", ";
21092     O << "},\n\t\t{";
21094     O << ", ";
21096     O << ", ";
21098     O << ", ";
21100     O << ", ";
21102     O << ", ";
21104     O << ", ";
21106     O << ", ";
21108     O << "},\n\t\t{";
21110     O << ", ";
21112     O << ", ";
21114     O << ", ";
21116     O << ", ";
21118     O << ", ";
21120     O << ", ";
21122     O << ", ";
21124     O << "};";
21129     O << ".col.col.m8n32k16.f16.f16\n\t\t{";
21131     O << ", ";
21133     O << ", ";
21135     O << ", ";
21137     O << "},\n\t\t{";
21139     O << ", ";
21141     O << ", ";
21143     O << ", ";
21145     O << ", ";
21147     O << ", ";
21149     O << ", ";
21151     O << ", ";
21153     O << "},\n\t\t{";
21155     O << ", ";
21157     O << ", ";
21159     O << ", ";
21161     O << ", ";
21163     O << ", ";
21165     O << ", ";
21167     O << ", ";
21169     O << "},\n\t\t{";
21171     O << ", ";
21173     O << ", ";
21175     O << ", ";
21177     O << "};";
21182     O << ".col.col.m8n32k16.f32.f16\n\t\t{";
21184     O << ", ";
21186     O << ", ";
21188     O << ", ";
21190     O << ", ";
21192     O << ", ";
21194     O << ", ";
21196     O << ", ";
21198     O << "},\n\t\t{";
21200     O << ", ";
21202     O << ", ";
21204     O << ", ";
21206     O << ", ";
21208     O << ", ";
21210     O << ", ";
21212     O << ", ";
21214     O << "},\n\t\t{";
21216     O << ", ";
21218     O << ", ";
21220     O << ", ";
21222     O << ", ";
21224     O << ", ";
21226     O << ", ";
21228     O << ", ";
21230     O << "},\n\t\t{";
21232     O << ", ";
21234     O << ", ";
21236     O << ", ";
21238     O << "};";
21243     O << ".col.col.m8n32k16.f16.f32\n\t\t{";
21245     O << ", ";
21247     O << ", ";
21249     O << ", ";
21251     O << "},\n\t\t{";
21253     O << ", ";
21255     O << ", ";
21257     O << ", ";
21259     O << ", ";
21261     O << ", ";
21263     O << ", ";
21265     O << ", ";
21267     O << "},\n\t\t{";
21269     O << ", ";
21271     O << ", ";
21273     O << ", ";
21275     O << ", ";
21277     O << ", ";
21279     O << ", ";
21281     O << ", ";
21283     O << "},\n\t\t{";
21285     O << ", ";
21287     O << ", ";
21289     O << ", ";
21291     O << ", ";
21293     O << ", ";
21295     O << ", ";
21297     O << ", ";
21299     O << "};";
21304     O << ".col.col.m8n32k16.f32.f32\n\t\t{";
21306     O << ", ";
21308     O << ", ";
21310     O << ", ";
21312     O << ", ";
21314     O << ", ";
21316     O << ", ";
21318     O << ", ";
21320     O << "},\n\t\t{";
21322     O << ", ";
21324     O << ", ";
21326     O << ", ";
21328     O << ", ";
21330     O << ", ";
21332     O << ", ";
21334     O << ", ";
21336     O << "},\n\t\t{";
21338     O << ", ";
21340     O << ", ";
21342     O << ", ";
21344     O << ", ";
21346     O << ", ";
21348     O << ", ";
21350     O << ", ";
21352     O << "},\n\t\t{";
21354     O << ", ";
21356     O << ", ";
21358     O << ", ";
21360     O << ", ";
21362     O << ", ";
21364     O << ", ";
21366     O << ", ";
21368     O << "};";
21373     O << ".col.col.m16n16k16.s32.s8.s8.s32\n\t\t{";
21375     O << ", ";
21377     O << ", ";
21379     O << ", ";
21381     O << ", ";
21383     O << ", ";
21385     O << ", ";
21387     O << ", ";
21389     O << "},\n\t\t{";
21391     O << ", ";
21393     O << "},\n\t\t{";
21395     O << ", ";
21397     O << "},\n\t\t{";
21399     O << ", ";
21401     O << ", ";
21403     O << ", ";
21405     O << ", ";
21407     O << ", ";
21409     O << ", ";
21411     O << ", ";
21413     O << "};";
21418     O << ".col.col.m16n16k16.s32.u8.u8.s32\n\t\t{";
21420     O << ", ";
21422     O << ", ";
21424     O << ", ";
21426     O << ", ";
21428     O << ", ";
21430     O << ", ";
21432     O << ", ";
21434     O << "},\n\t\t{";
21436     O << ", ";
21438     O << "},\n\t\t{";
21440     O << ", ";
21442     O << "},\n\t\t{";
21444     O << ", ";
21446     O << ", ";
21448     O << ", ";
21450     O << ", ";
21452     O << ", ";
21454     O << ", ";
21456     O << ", ";
21458     O << "};";
21463     O << ".col.col.m32n8k16.s32.s8.s8.s32\n\t\t{";
21465     O << ", ";
21467     O << ", ";
21469     O << ", ";
21471     O << ", ";
21473     O << ", ";
21475     O << ", ";
21477     O << ", ";
21479     O << "},\n\t\t{";
21481     O << ", ";
21483     O << ", ";
21485     O << ", ";
21487     O << "},\n\t\t{";
21489     O << "},\n\t\t{";
21491     O << ", ";
21493     O << ", ";
21495     O << ", ";
21497     O << ", ";
21499     O << ", ";
21501     O << ", ";
21503     O << ", ";
21505     O << "};";
21510     O << ".col.col.m32n8k16.s32.u8.u8.s32\n\t\t{";
21512     O << ", ";
21514     O << ", ";
21516     O << ", ";
21518     O << ", ";
21520     O << ", ";
21522     O << ", ";
21524     O << ", ";
21526     O << "},\n\t\t{";
21528     O << ", ";
21530     O << ", ";
21532     O << ", ";
21534     O << "},\n\t\t{";
21536     O << "},\n\t\t{";
21538     O << ", ";
21540     O << ", ";
21542     O << ", ";
21544     O << ", ";
21546     O << ", ";
21548     O << ", ";
21550     O << ", ";
21552     O << "};";
21557     O << ".col.col.m8n32k16.s32.s8.s8.s32\n\t\t{";
21559     O << ", ";
21561     O << ", ";
21563     O << ", ";
21565     O << ", ";
21567     O << ", ";
21569     O << ", ";
21571     O << ", ";
21573     O << "},\n\t\t{";
21575     O << "},\n\t\t{";
21577     O << ", ";
21579     O << ", ";
21581     O << ", ";
21583     O << "},\n\t\t{";
21585     O << ", ";
21587     O << ", ";
21589     O << ", ";
21591     O << ", ";
21593     O << ", ";
21595     O << ", ";
21597     O << ", ";
21599     O << "};";
21604     O << ".col.col.m8n32k16.s32.u8.u8.s32\n\t\t{";
21606     O << ", ";
21608     O << ", ";
21610     O << ", ";
21612     O << ", ";
21614     O << ", ";
21616     O << ", ";
21618     O << ", ";
21620     O << "},\n\t\t{";
21622     O << "},\n\t\t{";
21624     O << ", ";
21626     O << ", ";
21628     O << ", ";
21630     O << "},\n\t\t{";
21632     O << ", ";
21634     O << ", ";
21636     O << ", ";
21638     O << ", ";
21640     O << ", ";
21642     O << ", ";
21644     O << ", ";
21646     O << "};";
21651     O << ".col.col.m16n16k16.f16.f16.satfinite\n\t\t{";
21653     O << ", ";
21655     O << ", ";
21657     O << ", ";
21659     O << "},\n\t\t{";
21661     O << ", ";
21663     O << ", ";
21665     O << ", ";
21667     O << ", ";
21669     O << ", ";
21671     O << ", ";
21673     O << ", ";
21675     O << "},\n\t\t{";
21677     O << ", ";
21679     O << ", ";
21681     O << ", ";
21683     O << ", ";
21685     O << ", ";
21687     O << ", ";
21689     O << ", ";
21691     O << "},\n\t\t{";
21693     O << ", ";
21695     O << ", ";
21697     O << ", ";
21699     O << "};";
21704     O << ".col.col.m16n16k16.f32.f16.satfinite\n\t\t{";
21706     O << ", ";
21708     O << ", ";
21710     O << ", ";
21712     O << ", ";
21714     O << ", ";
21716     O << ", ";
21718     O << ", ";
21720     O << "},\n\t\t{";
21722     O << ", ";
21724     O << ", ";
21726     O << ", ";
21728     O << ", ";
21730     O << ", ";
21732     O << ", ";
21734     O << ", ";
21736     O << "},\n\t\t{";
21738     O << ", ";
21740     O << ", ";
21742     O << ", ";
21744     O << ", ";
21746     O << ", ";
21748     O << ", ";
21750     O << ", ";
21752     O << "},\n\t\t{";
21754     O << ", ";
21756     O << ", ";
21758     O << ", ";
21760     O << "};";
21765     O << ".col.col.m16n16k16.f16.f32.satfinite\n\t\t{";
21767     O << ", ";
21769     O << ", ";
21771     O << ", ";
21773     O << "},\n\t\t{";
21775     O << ", ";
21777     O << ", ";
21779     O << ", ";
21781     O << ", ";
21783     O << ", ";
21785     O << ", ";
21787     O << ", ";
21789     O << "},\n\t\t{";
21791     O << ", ";
21793     O << ", ";
21795     O << ", ";
21797     O << ", ";
21799     O << ", ";
21801     O << ", ";
21803     O << ", ";
21805     O << "},\n\t\t{";
21807     O << ", ";
21809     O << ", ";
21811     O << ", ";
21813     O << ", ";
21815     O << ", ";
21817     O << ", ";
21819     O << ", ";
21821     O << "};";
21826     O << ".col.col.m16n16k16.f32.f32.satfinite\n\t\t{";
21828     O << ", ";
21830     O << ", ";
21832     O << ", ";
21834     O << ", ";
21836     O << ", ";
21838     O << ", ";
21840     O << ", ";
21842     O << "},\n\t\t{";
21844     O << ", ";
21846     O << ", ";
21848     O << ", ";
21850     O << ", ";
21852     O << ", ";
21854     O << ", ";
21856     O << ", ";
21858     O << "},\n\t\t{";
21860     O << ", ";
21862     O << ", ";
21864     O << ", ";
21866     O << ", ";
21868     O << ", ";
21870     O << ", ";
21872     O << ", ";
21874     O << "},\n\t\t{";
21876     O << ", ";
21878     O << ", ";
21880     O << ", ";
21882     O << ", ";
21884     O << ", ";
21886     O << ", ";
21888     O << ", ";
21890     O << "};";
21895     O << ".col.col.m32n8k16.f16.f16.satfinite\n\t\t{";
21897     O << ", ";
21899     O << ", ";
21901     O << ", ";
21903     O << "},\n\t\t{";
21905     O << ", ";
21907     O << ", ";
21909     O << ", ";
21911     O << ", ";
21913     O << ", ";
21915     O << ", ";
21917     O << ", ";
21919     O << "},\n\t\t{";
21921     O << ", ";
21923     O << ", ";
21925     O << ", ";
21927     O << ", ";
21929     O << ", ";
21931     O << ", ";
21933     O << ", ";
21935     O << "},\n\t\t{";
21937     O << ", ";
21939     O << ", ";
21941     O << ", ";
21943     O << "};";
21948     O << ".col.col.m32n8k16.f32.f16.satfinite\n\t\t{";
21950     O << ", ";
21952     O << ", ";
21954     O << ", ";
21956     O << ", ";
21958     O << ", ";
21960     O << ", ";
21962     O << ", ";
21964     O << "},\n\t\t{";
21966     O << ", ";
21968     O << ", ";
21970     O << ", ";
21972     O << ", ";
21974     O << ", ";
21976     O << ", ";
21978     O << ", ";
21980     O << "},\n\t\t{";
21982     O << ", ";
21984     O << ", ";
21986     O << ", ";
21988     O << ", ";
21990     O << ", ";
21992     O << ", ";
21994     O << ", ";
21996     O << "},\n\t\t{";
21998     O << ", ";
22000     O << ", ";
22002     O << ", ";
22004     O << "};";
22009     O << ".col.col.m32n8k16.f16.f32.satfinite\n\t\t{";
22011     O << ", ";
22013     O << ", ";
22015     O << ", ";
22017     O << "},\n\t\t{";
22019     O << ", ";
22021     O << ", ";
22023     O << ", ";
22025     O << ", ";
22027     O << ", ";
22029     O << ", ";
22031     O << ", ";
22033     O << "},\n\t\t{";
22035     O << ", ";
22037     O << ", ";
22039     O << ", ";
22041     O << ", ";
22043     O << ", ";
22045     O << ", ";
22047     O << ", ";
22049     O << "},\n\t\t{";
22051     O << ", ";
22053     O << ", ";
22055     O << ", ";
22057     O << ", ";
22059     O << ", ";
22061     O << ", ";
22063     O << ", ";
22065     O << "};";
22070     O << ".col.col.m32n8k16.f32.f32.satfinite\n\t\t{";
22072     O << ", ";
22074     O << ", ";
22076     O << ", ";
22078     O << ", ";
22080     O << ", ";
22082     O << ", ";
22084     O << ", ";
22086     O << "},\n\t\t{";
22088     O << ", ";
22090     O << ", ";
22092     O << ", ";
22094     O << ", ";
22096     O << ", ";
22098     O << ", ";
22100     O << ", ";
22102     O << "},\n\t\t{";
22104     O << ", ";
22106     O << ", ";
22108     O << ", ";
22110     O << ", ";
22112     O << ", ";
22114     O << ", ";
22116     O << ", ";
22118     O << "},\n\t\t{";
22120     O << ", ";
22122     O << ", ";
22124     O << ", ";
22126     O << ", ";
22128     O << ", ";
22130     O << ", ";
22132     O << ", ";
22134     O << "};";
22139     O << ".col.col.m8n32k16.f16.f16.satfinite\n\t\t{";
22141     O << ", ";
22143     O << ", ";
22145     O << ", ";
22147     O << "},\n\t\t{";
22149     O << ", ";
22151     O << ", ";
22153     O << ", ";
22155     O << ", ";
22157     O << ", ";
22159     O << ", ";
22161     O << ", ";
22163     O << "},\n\t\t{";
22165     O << ", ";
22167     O << ", ";
22169     O << ", ";
22171     O << ", ";
22173     O << ", ";
22175     O << ", ";
22177     O << ", ";
22179     O << "},\n\t\t{";
22181     O << ", ";
22183     O << ", ";
22185     O << ", ";
22187     O << "};";
22192     O << ".col.col.m8n32k16.f32.f16.satfinite\n\t\t{";
22194     O << ", ";
22196     O << ", ";
22198     O << ", ";
22200     O << ", ";
22202     O << ", ";
22204     O << ", ";
22206     O << ", ";
22208     O << "},\n\t\t{";
22210     O << ", ";
22212     O << ", ";
22214     O << ", ";
22216     O << ", ";
22218     O << ", ";
22220     O << ", ";
22222     O << ", ";
22224     O << "},\n\t\t{";
22226     O << ", ";
22228     O << ", ";
22230     O << ", ";
22232     O << ", ";
22234     O << ", ";
22236     O << ", ";
22238     O << ", ";
22240     O << "},\n\t\t{";
22242     O << ", ";
22244     O << ", ";
22246     O << ", ";
22248     O << "};";
22253     O << ".col.col.m8n32k16.f16.f32.satfinite\n\t\t{";
22255     O << ", ";
22257     O << ", ";
22259     O << ", ";
22261     O << "},\n\t\t{";
22263     O << ", ";
22265     O << ", ";
22267     O << ", ";
22269     O << ", ";
22271     O << ", ";
22273     O << ", ";
22275     O << ", ";
22277     O << "},\n\t\t{";
22279     O << ", ";
22281     O << ", ";
22283     O << ", ";
22285     O << ", ";
22287     O << ", ";
22289     O << ", ";
22291     O << ", ";
22293     O << "},\n\t\t{";
22295     O << ", ";
22297     O << ", ";
22299     O << ", ";
22301     O << ", ";
22303     O << ", ";
22305     O << ", ";
22307     O << ", ";
22309     O << "};";
22314     O << ".col.col.m8n32k16.f32.f32.satfinite\n\t\t{";
22316     O << ", ";
22318     O << ", ";
22320     O << ", ";
22322     O << ", ";
22324     O << ", ";
22326     O << ", ";
22328     O << ", ";
22330     O << "},\n\t\t{";
22332     O << ", ";
22334     O << ", ";
22336     O << ", ";
22338     O << ", ";
22340     O << ", ";
22342     O << ", ";
22344     O << ", ";
22346     O << "},\n\t\t{";
22348     O << ", ";
22350     O << ", ";
22352     O << ", ";
22354     O << ", ";
22356     O << ", ";
22358     O << ", ";
22360     O << ", ";
22362     O << "},\n\t\t{";
22364     O << ", ";
22366     O << ", ";
22368     O << ", ";
22370     O << ", ";
22372     O << ", ";
22374     O << ", ";
22376     O << ", ";
22378     O << "};";
22383     O << ".col.col.m16n16k16.s32.s8.s8.s32.satfinite\n\t\t{";
22385     O << ", ";
22387     O << ", ";
22389     O << ", ";
22391     O << ", ";
22393     O << ", ";
22395     O << ", ";
22397     O << ", ";
22399     O << "},\n\t\t{";
22401     O << ", ";
22403     O << "},\n\t\t{";
22405     O << ", ";
22407     O << "},\n\t\t{";
22409     O << ", ";
22411     O << ", ";
22413     O << ", ";
22415     O << ", ";
22417     O << ", ";
22419     O << ", ";
22421     O << ", ";
22423     O << "};";
22428     O << ".col.col.m16n16k16.s32.u8.u8.s32.satfinite\n\t\t{";
22430     O << ", ";
22432     O << ", ";
22434     O << ", ";
22436     O << ", ";
22438     O << ", ";
22440     O << ", ";
22442     O << ", ";
22444     O << "},\n\t\t{";
22446     O << ", ";
22448     O << "},\n\t\t{";
22450     O << ", ";
22452     O << "},\n\t\t{";
22454     O << ", ";
22456     O << ", ";
22458     O << ", ";
22460     O << ", ";
22462     O << ", ";
22464     O << ", ";
22466     O << ", ";
22468     O << "};";
22473     O << ".col.col.m32n8k16.s32.s8.s8.s32.satfinite\n\t\t{";
22475     O << ", ";
22477     O << ", ";
22479     O << ", ";
22481     O << ", ";
22483     O << ", ";
22485     O << ", ";
22487     O << ", ";
22489     O << "},\n\t\t{";
22491     O << ", ";
22493     O << ", ";
22495     O << ", ";
22497     O << "},\n\t\t{";
22499     O << "},\n\t\t{";
22501     O << ", ";
22503     O << ", ";
22505     O << ", ";
22507     O << ", ";
22509     O << ", ";
22511     O << ", ";
22513     O << ", ";
22515     O << "};";
22520     O << ".col.col.m32n8k16.s32.u8.u8.s32.satfinite\n\t\t{";
22522     O << ", ";
22524     O << ", ";
22526     O << ", ";
22528     O << ", ";
22530     O << ", ";
22532     O << ", ";
22534     O << ", ";
22536     O << "},\n\t\t{";
22538     O << ", ";
22540     O << ", ";
22542     O << ", ";
22544     O << "},\n\t\t{";
22546     O << "},\n\t\t{";
22548     O << ", ";
22550     O << ", ";
22552     O << ", ";
22554     O << ", ";
22556     O << ", ";
22558     O << ", ";
22560     O << ", ";
22562     O << "};";
22567     O << ".col.col.m8n32k16.s32.s8.s8.s32.satfinite\n\t\t{";
22569     O << ", ";
22571     O << ", ";
22573     O << ", ";
22575     O << ", ";
22577     O << ", ";
22579     O << ", ";
22581     O << ", ";
22583     O << "},\n\t\t{";
22585     O << "},\n\t\t{";
22587     O << ", ";
22589     O << ", ";
22591     O << ", ";
22593     O << "},\n\t\t{";
22595     O << ", ";
22597     O << ", ";
22599     O << ", ";
22601     O << ", ";
22603     O << ", ";
22605     O << ", ";
22607     O << ", ";
22609     O << "};";
22614     O << ".col.col.m8n32k16.s32.u8.u8.s32.satfinite\n\t\t{";
22616     O << ", ";
22618     O << ", ";
22620     O << ", ";
22622     O << ", ";
22624     O << ", ";
22626     O << ", ";
22628     O << ", ";
22630     O << "},\n\t\t{";
22632     O << "},\n\t\t{";
22634     O << ", ";
22636     O << ", ";
22638     O << ", ";
22640     O << "},\n\t\t{";
22642     O << ", ";
22644     O << ", ";
22646     O << ", ";
22648     O << ", ";
22650     O << ", ";
22652     O << ", ";
22654     O << ", ";
22656     O << "};";
22661     O << ".row.m16n16k16.global.f16 \t{";
22663     O << ", ";
22665     O << ", ";
22667     O << ", ";
22672     O << ".row.m16n16k16.global.f16 \t[";
22676     O << ".row.m16n16k16.global.u8 \t{";
22678     O << ", ";
22680     O << "}, [";
22684     O << ".row.m16n16k16.global.s8 \t{";
22686     O << ", ";
22688     O << "}, [";
22692     O << ".row.m32n8k16.global.f16 \t{";
22694     O << ", ";
22696     O << ", ";
22698     O << ", ";
22703     O << ".row.m32n8k16.global.u8 \t{";
22708     O << ".row.m32n8k16.global.s8 \t{";
22713     O << ".row.m8n32k16.global.f16 \t{";
22715     O << ", ";
22717     O << ", ";
22719     O << ", ";
22724     O << ".row.m8n32k16.global.u8 \t{";
22729     O << ".row.m8n32k16.global.s8 \t{";
22734     O << ".row.m16n16k16.global.f32 \t{";
22736     O << ", ";
22738     O << ", ";
22740     O << ", ";
22742     O << ", ";
22744     O << ", ";
22746     O << ", ";
22748     O << ", ";
22750     O << "}, [";
22754     O << ".row.m16n16k16.global.s32 \t{";
22756     O << ", ";
22758     O << ", ";
22760     O << ", ";
22762     O << ", ";
22764     O << ", ";
22766     O << ", ";
22768     O << ", ";
22770     O << "}, [";
22774     O << ".row.m32n8k16.global.f32 \t{";
22776     O << ", ";
22778     O << ", ";
22780     O << ", ";
22782     O << ", ";
22784     O << ", ";
22786     O << ", ";
22788     O << ", ";
22790     O << "}, [";
22794     O << ".row.m32n8k16.global.s32 \t{";
22796     O << ", ";
22798     O << ", ";
22800     O << ", ";
22802     O << ", ";
22804     O << ", ";
22806     O << ", ";
22808     O << ", ";
22810     O << "}, [";
22814     O << ".row.m8n32k16.global.f32 \t{";
22816     O << ", ";
22818     O << ", ";
22820     O << ", ";
22822     O << ", ";
22824     O << ", ";
22826     O << ", ";
22828     O << ", ";
22830     O << "}, [";
22834     O << ".row.m8n32k16.global.s32 \t{";
22836     O << ", ";
22838     O << ", ";
22840     O << ", ";
22842     O << ", ";
22844     O << ", ";
22846     O << ", ";
22848     O << ", ";
22850     O << "}, [";
22854     O << ".row.m8n8k32.global.s4 \t{";
22856     O << "}, [";
22860     O << ".row.m8n8k32.global.u4 \t{";
22862     O << "}, [";
22866     O << ".row.m8n8k128.global.b1 \t{";
22868     O << "}, [";
22872     O << ".row.m8n8k32.global.s32 \t{";
22874     O << ", ";
22876     O << "}, [";
22880     O << ".row.m8n8k128.global.s32 \t{";
22882     O << ", ";
22884     O << "}, [";
22888     O << ".row.m16n16k16.global.f32 \t[";
22892     O << ".row.m16n16k16.global.s32 \t[";
22896     O << ".row.m32n8k16.global.f16 \t[";
22900     O << ".row.m32n8k16.global.f32 \t[";
22904     O << ".row.m32n8k16.global.s32 \t[";
22908     O << ".row.m8n32k16.global.f16 \t[";
22912     O << ".row.m8n32k16.global.f32 \t[";
22916     O << ".row.m8n32k16.global.s32 \t[";
22920     O << ".row.m8n8k32.global.s32 \t[";
22924     O << ".row.m8n8k128.global.s32 \t[";
22928     O << ".row.m16n16k16.shared.f16 \t{";
22930     O << ", ";
22932     O << ", ";
22934     O << ", ";
22939     O << ".row.m16n16k16.shared.u8 \t{";
22941     O << ", ";
22943     O << "}, [";
22947     O << ".row.m16n16k16.shared.s8 \t{";
22949     O << ", ";
22951     O << "}, [";
22955     O << ".row.m32n8k16.shared.f16 \t{";
22957     O << ", ";
22959     O << ", ";
22961     O << ", ";
22966     O << ".row.m32n8k16.shared.u8 \t{";
22971     O << ".row.m32n8k16.shared.s8 \t{";
22976     O << ".row.m8n32k16.shared.f16 \t{";
22978     O << ", ";
22980     O << ", ";
22982     O << ", ";
22987     O << ".row.m8n32k16.shared.u8 \t{";
22992     O << ".row.m8n32k16.shared.s8 \t{";
22997     O << ".row.m16n16k16.shared.f32 \t{";
22999     O << ", ";
23001     O << ", ";
23003     O << ", ";
23005     O << ", ";
23007     O << ", ";
23009     O << ", ";
23011     O << ", ";
23013     O << "}, [";
23017     O << ".row.m16n16k16.shared.s32 \t{";
23019     O << ", ";
23021     O << ", ";
23023     O << ", ";
23025     O << ", ";
23027     O << ", ";
23029     O << ", ";
23031     O << ", ";
23033     O << "}, [";
23037     O << ".row.m32n8k16.shared.f32 \t{";
23039     O << ", ";
23041     O << ", ";
23043     O << ", ";
23045     O << ", ";
23047     O << ", ";
23049     O << ", ";
23051     O << ", ";
23053     O << "}, [";
23057     O << ".row.m32n8k16.shared.s32 \t{";
23059     O << ", ";
23061     O << ", ";
23063     O << ", ";
23065     O << ", ";
23067     O << ", ";
23069     O << ", ";
23071     O << ", ";
23073     O << "}, [";
23077     O << ".row.m8n32k16.shared.f32 \t{";
23079     O << ", ";
23081     O << ", ";
23083     O << ", ";
23085     O << ", ";
23087     O << ", ";
23089     O << ", ";
23091     O << ", ";
23093     O << "}, [";
23097     O << ".row.m8n32k16.shared.s32 \t{";
23099     O << ", ";
23101     O << ", ";
23103     O << ", ";
23105     O << ", ";
23107     O << ", ";
23109     O << ", ";
23111     O << ", ";
23113     O << "}, [";
23117     O << ".row.m8n8k32.shared.s4 \t{";
23119     O << "}, [";
23123     O << ".row.m8n8k32.shared.u4 \t{";
23125     O << "}, [";
23129     O << ".row.m8n8k128.shared.b1 \t{";
23131     O << "}, [";
23135     O << ".row.m8n8k32.shared.s32 \t{";
23137     O << ", ";
23139     O << "}, [";
23143     O << ".row.m8n8k128.shared.s32 \t{";
23145     O << ", ";
23147     O << "}, [";
23151     O << ".row.m16n16k16.shared.f16 \t[";
23155     O << ".row.m16n16k16.shared.f32 \t[";
23159     O << ".row.m16n16k16.shared.s32 \t[";
23163     O << ".row.m32n8k16.shared.f16 \t[";
23167     O << ".row.m32n8k16.shared.f32 \t[";
23171     O << ".row.m32n8k16.shared.s32 \t[";
23175     O << ".row.m8n32k16.shared.f16 \t[";
23179     O << ".row.m8n32k16.shared.f32 \t[";
23183     O << ".row.m8n32k16.shared.s32 \t[";
23187     O << ".row.m8n8k32.shared.s32 \t[";
23191     O << ".row.m8n8k128.shared.s32 \t[";
23195     O << ".row.m16n16k16.f16 \t{";
23197     O << ", ";
23199     O << ", ";
23201     O << ", ";
23206     O << ".row.m16n16k16.u8 \t{";
23208     O << ", ";
23210     O << "}, [";
23214     O << ".row.m16n16k16.s8 \t{";
23216     O << ", ";
23218     O << "}, [";
23222     O << ".row.m32n8k16.f16 \t{";
23224     O << ", ";
23226     O << ", ";
23228     O << ", ";
23233     O << ".row.m32n8k16.u8 \t{";
23238     O << ".row.m32n8k16.s8 \t{";
23243     O << ".row.m8n32k16.f16 \t{";
23245     O << ", ";
23247     O << ", ";
23249     O << ", ";
23254     O << ".row.m8n32k16.u8 \t{";
23259     O << ".row.m8n32k16.s8 \t{";
23264     O << ".row.m16n16k16.f32 \t{";
23266     O << ", ";
23268     O << ", ";
23270     O << ", ";
23272     O << ", ";
23274     O << ", ";
23276     O << ", ";
23278     O << ", ";
23280     O << "}, [";
23284     O << ".row.m16n16k16.s32 \t{";
23286     O << ", ";
23288     O << ", ";
23290     O << ", ";
23292     O << ", ";
23294     O << ", ";
23296     O << ", ";
23298     O << ", ";
23300     O << "}, [";
23304     O << ".row.m32n8k16.f32 \t{";
23306     O << ", ";
23308     O << ", ";
23310     O << ", ";
23312     O << ", ";
23314     O << ", ";
23316     O << ", ";
23318     O << ", ";
23320     O << "}, [";
23324     O << ".row.m32n8k16.s32 \t{";
23326     O << ", ";
23328     O << ", ";
23330     O << ", ";
23332     O << ", ";
23334     O << ", ";
23336     O << ", ";
23338     O << ", ";
23340     O << "}, [";
23344     O << ".row.m8n32k16.f32 \t{";
23346     O << ", ";
23348     O << ", ";
23350     O << ", ";
23352     O << ", ";
23354     O << ", ";
23356     O << ", ";
23358     O << ", ";
23360     O << "}, [";
23364     O << ".row.m8n32k16.s32 \t{";
23366     O << ", ";
23368     O << ", ";
23370     O << ", ";
23372     O << ", ";
23374     O << ", ";
23376     O << ", ";
23378     O << ", ";
23380     O << "}, [";
23384     O << ".row.m8n8k32.s4 \t{";
23386     O << "}, [";
23390     O << ".row.m8n8k32.u4 \t{";
23392     O << "}, [";
23396     O << ".row.m8n8k128.b1 \t{";
23398     O << "}, [";
23402     O << ".row.m8n8k32.s32 \t{";
23404     O << ", ";
23406     O << "}, [";
23410     O << ".row.m8n8k128.s32 \t{";
23412     O << ", ";
23414     O << "}, [";
23418     O << ".row.m16n16k16.f16 \t[";
23422     O << ".row.m16n16k16.f32 \t[";
23426     O << ".row.m16n16k16.s32 \t[";
23430     O << ".row.m32n8k16.f16 \t[";
23434     O << ".row.m32n8k16.f32 \t[";
23438     O << ".row.m32n8k16.s32 \t[";
23442     O << ".row.m8n32k16.f16 \t[";
23446     O << ".row.m8n32k16.f32 \t[";
23450     O << ".row.m8n32k16.s32 \t[";
23454     O << ".row.m8n8k32.s32 \t[";
23458     O << ".row.m8n8k128.s32 \t[";
23462     O << ".col.m16n16k16.global.f16 \t{";
23464     O << ", ";
23466     O << ", ";
23468     O << ", ";
23473     O << ".col.m16n16k16.global.u8 \t{";
23475     O << ", ";
23477     O << "}, [";
23481     O << ".col.m16n16k16.global.s8 \t{";
23483     O << ", ";
23485     O << "}, [";
23489     O << ".col.m32n8k16.global.f16 \t{";
23491     O << ", ";
23493     O << ", ";
23495     O << ", ";
23500     O << ".col.m32n8k16.global.u8 \t{";
23505     O << ".col.m32n8k16.global.s8 \t{";
23510     O << ".col.m8n32k16.global.f16 \t{";
23512     O << ", ";
23514     O << ", ";
23516     O << ", ";
23521     O << ".col.m8n32k16.global.u8 \t{";
23526     O << ".col.m8n32k16.global.s8 \t{";
23531     O << ".col.m16n16k16.global.f32 \t{";
23533     O << ", ";
23535     O << ", ";
23537     O << ", ";
23539     O << ", ";
23541     O << ", ";
23543     O << ", ";
23545     O << ", ";
23547     O << "}, [";
23551     O << ".col.m16n16k16.global.s32 \t{";
23553     O << ", ";
23555     O << ", ";
23557     O << ", ";
23559     O << ", ";
23561     O << ", ";
23563     O << ", ";
23565     O << ", ";
23567     O << "}, [";
23571     O << ".col.m32n8k16.global.f32 \t{";
23573     O << ", ";
23575     O << ", ";
23577     O << ", ";
23579     O << ", ";
23581     O << ", ";
23583     O << ", ";
23585     O << ", ";
23587     O << "}, [";
23591     O << ".col.m32n8k16.global.s32 \t{";
23593     O << ", ";
23595     O << ", ";
23597     O << ", ";
23599     O << ", ";
23601     O << ", ";
23603     O << ", ";
23605     O << ", ";
23607     O << "}, [";
23611     O << ".col.m8n32k16.global.f32 \t{";
23613     O << ", ";
23615     O << ", ";
23617     O << ", ";
23619     O << ", ";
23621     O << ", ";
23623     O << ", ";
23625     O << ", ";
23627     O << "}, [";
23631     O << ".col.m8n32k16.global.s32 \t{";
23633     O << ", ";
23635     O << ", ";
23637     O << ", ";
23639     O << ", ";
23641     O << ", ";
23643     O << ", ";
23645     O << ", ";
23647     O << "}, [";
23651     O << ".col.m8n8k32.global.s4 \t{";
23653     O << "}, [";
23657     O << ".col.m8n8k32.global.u4 \t{";
23659     O << "}, [";
23663     O << ".col.m8n8k128.global.b1 \t{";
23665     O << "}, [";
23669     O << ".col.m8n8k32.global.s32 \t{";
23671     O << ", ";
23673     O << "}, [";
23677     O << ".col.m8n8k128.global.s32 \t{";
23679     O << ", ";
23681     O << "}, [";
23685     O << ".col.m16n16k16.global.f16 \t[";
23689     O << ".col.m16n16k16.global.f32 \t[";
23693     O << ".col.m16n16k16.global.s32 \t[";
23697     O << ".col.m32n8k16.global.f16 \t[";
23701     O << ".col.m32n8k16.global.f32 \t[";
23705     O << ".col.m32n8k16.global.s32 \t[";
23709     O << ".col.m8n32k16.global.f16 \t[";
23713     O << ".col.m8n32k16.global.f32 \t[";
23717     O << ".col.m8n32k16.global.s32 \t[";
23721     O << ".col.m8n8k32.global.s32 \t[";
23725     O << ".col.m8n8k128.global.s32 \t[";
23729     O << ".col.m16n16k16.shared.f16 \t{";
23731     O << ", ";
23733     O << ", ";
23735     O << ", ";
23740     O << ".col.m16n16k16.shared.u8 \t{";
23742     O << ", ";
23744     O << "}, [";
23748     O << ".col.m16n16k16.shared.s8 \t{";
23750     O << ", ";
23752     O << "}, [";
23756     O << ".col.m32n8k16.shared.f16 \t{";
23758     O << ", ";
23760     O << ", ";
23762     O << ", ";
23767     O << ".col.m32n8k16.shared.u8 \t{";
23772     O << ".col.m32n8k16.shared.s8 \t{";
23777     O << ".col.m8n32k16.shared.f16 \t{";
23779     O << ", ";
23781     O << ", ";
23783     O << ", ";
23788     O << ".col.m8n32k16.shared.u8 \t{";
23793     O << ".col.m8n32k16.shared.s8 \t{";
23798     O << ".col.m16n16k16.shared.f32 \t{";
23800     O << ", ";
23802     O << ", ";
23804     O << ", ";
23806     O << ", ";
23808     O << ", ";
23810     O << ", ";
23812     O << ", ";
23814     O << "}, [";
23818     O << ".col.m16n16k16.shared.s32 \t{";
23820     O << ", ";
23822     O << ", ";
23824     O << ", ";
23826     O << ", ";
23828     O << ", ";
23830     O << ", ";
23832     O << ", ";
23834     O << "}, [";
23838     O << ".col.m32n8k16.shared.f32 \t{";
23840     O << ", ";
23842     O << ", ";
23844     O << ", ";
23846     O << ", ";
23848     O << ", ";
23850     O << ", ";
23852     O << ", ";
23854     O << "}, [";
23858     O << ".col.m32n8k16.shared.s32 \t{";
23860     O << ", ";
23862     O << ", ";
23864     O << ", ";
23866     O << ", ";
23868     O << ", ";
23870     O << ", ";
23872     O << ", ";
23874     O << "}, [";
23878     O << ".col.m8n32k16.shared.f32 \t{";
23880     O << ", ";
23882     O << ", ";
23884     O << ", ";
23886     O << ", ";
23888     O << ", ";
23890     O << ", ";
23892     O << ", ";
23894     O << "}, [";
23898     O << ".col.m8n32k16.shared.s32 \t{";
23900     O << ", ";
23902     O << ", ";
23904     O << ", ";
23906     O << ", ";
23908     O << ", ";
23910     O << ", ";
23912     O << ", ";
23914     O << "}, [";
23918     O << ".col.m8n8k32.shared.s4 \t{";
23920     O << "}, [";
23924     O << ".col.m8n8k32.shared.u4 \t{";
23926     O << "}, [";
23930     O << ".col.m8n8k128.shared.b1 \t{";
23932     O << "}, [";
23936     O << ".col.m8n8k32.shared.s32 \t{";
23938     O << ", ";
23940     O << "}, [";
23944     O << ".col.m8n8k128.shared.s32 \t{";
23946     O << ", ";
23948     O << "}, [";
23952     O << ".col.m16n16k16.shared.f16 \t[";
23956     O << ".col.m16n16k16.shared.f32 \t[";
23960     O << ".col.m16n16k16.shared.s32 \t[";
23964     O << ".col.m32n8k16.shared.f16 \t[";
23968     O << ".col.m32n8k16.shared.f32 \t[";
23972     O << ".col.m32n8k16.shared.s32 \t[";
23976     O << ".col.m8n32k16.shared.f16 \t[";
23980     O << ".col.m8n32k16.shared.f32 \t[";
23984     O << ".col.m8n32k16.shared.s32 \t[";
23988     O << ".col.m8n8k32.shared.s32 \t[";
23992     O << ".col.m8n8k128.shared.s32 \t[";
23996     O << ".col.m16n16k16.f16 \t{";
23998     O << ", ";
24000     O << ", ";
24002     O << ", ";
24007     O << ".col.m16n16k16.u8 \t{";
24009     O << ", ";
24011     O << "}, [";
24015     O << ".col.m16n16k16.s8 \t{";
24017     O << ", ";
24019     O << "}, [";
24023     O << ".col.m32n8k16.f16 \t{";
24025     O << ", ";
24027     O << ", ";
24029     O << ", ";
24034     O << ".col.m32n8k16.u8 \t{";
24039     O << ".col.m32n8k16.s8 \t{";
24044     O << ".col.m8n32k16.f16 \t{";
24046     O << ", ";
24048     O << ", ";
24050     O << ", ";
24055     O << ".col.m8n32k16.u8 \t{";
24060     O << ".col.m8n32k16.s8 \t{";
24065     O << ".col.m16n16k16.f32 \t{";
24067     O << ", ";
24069     O << ", ";
24071     O << ", ";
24073     O << ", ";
24075     O << ", ";
24077     O << ", ";
24079     O << ", ";
24081     O << "}, [";
24085     O << ".col.m16n16k16.s32 \t{";
24087     O << ", ";
24089     O << ", ";
24091     O << ", ";
24093     O << ", ";
24095     O << ", ";
24097     O << ", ";
24099     O << ", ";
24101     O << "}, [";
24105     O << ".col.m32n8k16.f32 \t{";
24107     O << ", ";
24109     O << ", ";
24111     O << ", ";
24113     O << ", ";
24115     O << ", ";
24117     O << ", ";
24119     O << ", ";
24121     O << "}, [";
24125     O << ".col.m32n8k16.s32 \t{";
24127     O << ", ";
24129     O << ", ";
24131     O << ", ";
24133     O << ", ";
24135     O << ", ";
24137     O << ", ";
24139     O << ", ";
24141     O << "}, [";
24145     O << ".col.m8n32k16.f32 \t{";
24147     O << ", ";
24149     O << ", ";
24151     O << ", ";
24153     O << ", ";
24155     O << ", ";
24157     O << ", ";
24159     O << ", ";
24161     O << "}, [";
24165     O << ".col.m8n32k16.s32 \t{";
24167     O << ", ";
24169     O << ", ";
24171     O << ", ";
24173     O << ", ";
24175     O << ", ";
24177     O << ", ";
24179     O << ", ";
24181     O << "}, [";
24185     O << ".col.m8n8k32.s4 \t{";
24187     O << "}, [";
24191     O << ".col.m8n8k32.u4 \t{";
24193     O << "}, [";
24197     O << ".col.m8n8k128.b1 \t{";
24199     O << "}, [";
24203     O << ".col.m8n8k32.s32 \t{";
24205     O << ", ";
24207     O << "}, [";
24211     O << ".col.m8n8k128.s32 \t{";
24213     O << ", ";
24215     O << "}, [";
24219     O << ".col.m16n16k16.f16 \t[";
24223     O << ".col.m16n16k16.f32 \t[";
24227     O << ".col.m16n16k16.s32 \t[";
24231     O << ".col.m32n8k16.f16 \t[";
24235     O << ".col.m32n8k16.f32 \t[";
24239     O << ".col.m32n8k16.s32 \t[";
24243     O << ".col.m8n32k16.f16 \t[";
24247     O << ".col.m8n32k16.f32 \t[";
24251     O << ".col.m8n32k16.s32 \t[";
24255     O << ".col.m8n8k32.s32 \t[";
24259     O << ".col.m8n8k128.s32 \t[";
24263     O << ".row.row.m16n16k16.f16.f16\n\t\t{";
24265     O << ", ";
24267     O << ", ";
24269     O << ", ";
24271     O << "},\n\t\t{";
24273     O << ", ";
24275     O << ", ";
24277     O << ", ";
24279     O << ", ";
24281     O << ", ";
24283     O << ", ";
24285     O << ", ";
24287     O << "},\n\t\t{";
24289     O << ", ";
24291     O << ", ";
24293     O << ", ";
24295     O << ", ";
24297     O << ", ";
24299     O << ", ";
24301     O << ", ";
24303     O << "},\n\t\t{";
24305     O << ", ";
24307     O << ", ";
24309     O << ", ";
24311     O << "};";
24316     O << ".row.row.m16n16k16.f32.f16\n\t\t{";
24318     O << ", ";
24320     O << ", ";
24322     O << ", ";
24324     O << ", ";
24326     O << ", ";
24328     O << ", ";
24330     O << ", ";
24332     O << "},\n\t\t{";
24334     O << ", ";
24336     O << ", ";
24338     O << ", ";
24340     O << ", ";
24342     O << ", ";
24344     O << ", ";
24346     O << ", ";
24348     O << "},\n\t\t{";
24350     O << ", ";
24352     O << ", ";
24354     O << ", ";
24356     O << ", ";
24358     O << ", ";
24360     O << ", ";
24362     O << ", ";
24364     O << "},\n\t\t{";
24366     O << ", ";
24368     O << ", ";
24370     O << ", ";
24372     O << "};";
24377     O << ";\n\t  cvta.const.u64 \t";
24379     O << ", %tmp; }";
24384     O << ";\n\t  cvta.global.u64 \t";
24386     O << ", %tmp; }";
24391     O << ";\n\t  cvta.local.u64 \t";
24393     O << ", %tmp; }";
24398     O << ";\n\t  cvta.shared.u64 \t";
24400     O << ", %tmp; }";
24405     O << ";\n\t  cvt.u32.u64 \t";
24407     O << ", %tmp; }";
24422     O << ", ";
24430     O << "; }";
24439     O << ";\n\t}";
24448     O << "}, [";
24452     O << "];";
24459     O << "];";
24486     O << "}];";
24491     O << "}], {";
24497     O << "], {";
24499     O << ", ";
24501     O << ", ";
24503     O << ", ";
24505     O << "};";
24510     O << "};";
24516     O << "],{";
24518     O << ", ";
24536     O << "],{";
24538     O << ", ";
24554     O << ", ";
24562     O << "\n\t.reg .b32 temp_param_reg;";
24567     O << "}, ";
24571     O << "], ";
24575     O << "];";
24580     O << "}, [";
24588     O << "}, [retval0+";
24590     O << "];";
24595     O << ";\n\tshr.b32 \t%rhs, ";
24597     O << ", ";
24599     O << ";\n\tadd.u32 \t";
24601     O << ", %lhs, %rhs;\n\t}";
24606     O << ";\n\tshr.b64 \t%rhs, ";
24608     O << ", ";
24610     O << ";\n\tadd.u64 \t";
24612     O << ", %lhs, %rhs;\n\t}";
24617     O << ";\n\tsub.s32 \t%amt2, 32, ";
24622     O << ";\n\tsub.u32 \t%amt2, 64, ";
24627     O << "], {";
24629     O << ", ";
24642     O << "};";
24673     O << "};";
24679     O << "];";
24684     O << "];";
24691     O << "];";
24696     O << ", ";
24704     O << ";\n\tshr.b32 \t%rhs, ";
24706     O << ", %amt2;\n\tadd.u32 \t";
24708     O << ", %lhs, %rhs;\n\t}";
24713     O << ";\n\tshr.b64 \t%rhs, ";
24715     O << ", %amt2;\n\tadd.u64 \t";
24717     O << ", %lhs, %rhs;\n\t}";
24722     O << ";\n\tshl.b32 \t%rhs, ";
24724     O << ", %amt2;\n\tadd.u32 \t";
24726     O << ", %lhs, %rhs;\n\t}";
24731     O << ";\n\tshl.b64 \t%rhs, ";
24733     O << ", %amt2;\n\tadd.u64 \t";
24735     O << ", %lhs, %rhs;\n\t}";
24741     O << "], {";
24743     O << ", ";
24745     O << "};";
24761     O << "], ";
24768     O << "}];";
24773     O << "}], {";
24786     O << "], ";
24807     O << ", ";
24811     O << "];";
24824     O << "], {";
24826     O << ", ";
24828     O << ", ";
24830     O << ", ";
24832     O << "};";
24837     O << ", {";
24843     O << ", ";
24845     O << "}];";
24850     O << "};";
24875     O << "}, [";
24886     O << ", ";
24890     O << "}];";
24899     O << "};";
24924     O << "}, ";
24928     O << "}, [";
24932     O << "];";
24939     O << "];";
24944     O << "}, [retval0+";
24946     O << "];";
24959     O << "};";
24964     O << ", ";
24968     O << "},\n\t\t{";
24970     O << ", ";
24972     O << "},\n\t\t{";
24974     O << ", ";
24976     O << "},\n\t\t{";
24978     O << ", ";
24980     O << ", ";
24982     O << ", ";
24984     O << "};";
24990     O << ", ";
24992     O << "}, [";
25007     O << "];";
25012     O << "};";
25017     O << "}];";
25022     O << ", ";
25024     O << ", ";
25026     O << "}];";
25035     O << "}], {";
25056     O << "}, [";
25079     O << "];";
25084     O << ", {";
25089     O << ", ";
25093     O << "};";
25106     O << "], ";
25154     O << ", ";
25156     O << "}];";
25311       O << "}];";
25433       O << "];";
25474     O << ", ";
25476     O << ", ";
25478     O << ", ";
25522     O << "}];";
25640     O << "};";
25668     O << ", ";
25670     O << ", ";
25672     O << "};";
25700     O << ", {";
25702     O << ", ";
25704     O << "}];";
25711     O << ", {";
25713     O << ", ";
25715     O << "}], {";
25717     O << "}, {";
25719     O << "};";
25729     O << ", {";
25731     O << ", ";
25733     O << "}], ";
25745     O << ", {";
25747     O << "}];";
25754     O << ", {";
25756     O << "}], {";
25758     O << "}, {";
25760     O << "};";
25767     O << ", {";
25769     O << "}], ";
25793     O << ", {";
25795     O << ", ";
25797     O << ", ";
25799     O << ", ";
25825     O << "}];";
25832     O << ", {";
25834     O << ", ";
25836     O << ", ";
25838     O << ", ";
25840     O << "}], {";
25842     O << ", ";
25844     O << "}, {";
25846     O << ", ";
25848     O << "};";
25861     O << ", {";
25863     O << ", ";
25865     O << ", ";
25867     O << ", ";
25869     O << "}], ";
25878     O << ", {";
25880     O << ", ";
25882     O << "}], {";
25884     O << ", ";
25886     O << "}, {";
25888     O << ", ";
25890     O << "};";
25897     O << ", {";
25899     O << ", ";
25901     O << ", ";
25903     O << ", ";
25905     O << "}], {";
25907     O << ", ";
25909     O << ", ";
25911     O << ", ";
25913     O << "}, {";
25915     O << ", ";
25917     O << ", ";
25919     O << ", ";
25921     O << "};";
25928     O << ", {";
25930     O << ", ";
25932     O << ", ";
25934     O << ", ";
25936     O << "}], ";
25944     O << ", ";
25946     O << "}], {";
25948     O << "}, {";
25950     O << "};";
25959     O << ", ";
25961     O << "}], ";
25969     O << "}], {";
25971     O << "}, {";
25973     O << "};";
26032       O << "}], ";
26082       O << "], ";
26092     O << ", ";
26094     O << ", ";
26096     O << ", ";
26098     O << "}], {";
26100     O << ", ";
26102     O << "}, {";
26104     O << ", ";
26106     O << "};";
26118     O << ", ";
26120     O << ", ";
26122     O << ", ";
26124     O << "}], ";
26132     O << ", ";
26134     O << "}], {";
26136     O << ", ";
26138     O << "}, {";
26140     O << ", ";
26142     O << "};";
26148     O << ", ";
26150     O << ", ";
26152     O << ", ";
26154     O << "}], {";
26156     O << ", ";
26158     O << ", ";
26160     O << ", ";
26162     O << "}, {";
26164     O << ", ";
26166     O << ", ";
26168     O << ", ";
26170     O << "};";
26176     O << ", ";
26178     O << ", ";
26180     O << ", ";
26182     O << "}], ";
26192     O << ", ";
26194     O << ", ";
26196     O << "},\n\t\t{";
26198     O << ", ";
26200     O << "},\n\t\t{";
26202     O << ", ";
26204     O << "},\n\t\t{";
26206     O << ", ";
26208     O << ", ";
26210     O << ", ";
26212     O << "};";
26220     O << ", ";
26222     O << ", ";
26224     O << "},\n\t\t{";
26226     O << ", ";
26228     O << "},\n\t\t{";
26230     O << ", ";
26232     O << "},\n\t\t{";
26234     O << ", ";
26236     O << ", ";
26238     O << ", ";
26240     O << ", ";
26242     O << ", ";
26244     O << ", ";
26246     O << ", ";
26248     O << "};";
26360     O << ", ";
26362     O << ", ";
26364     O << "};";
26440     O << ", ";
26442     O << ", ";
26444     O << "};";
26889     O << "], ";
27003     O << ", ";
27005     O << ", ";
27007     O << "}, ";
27085     O << ", ";
27087     O << ", ";
27089     O << "}, ";
gen/lib/Target/NVPTX/NVPTXGenSubtargetInfo.inc
  190   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
  191   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
  191   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/PowerPC/PPCGenAsmMatcher.inc
 7038   DEBUG_WITH_TYPE("asm-matcher", dbgs() << "AsmMatcher: found " <<
 7039   std::distance(MnemonicRange.first, MnemonicRange.second) << 
 7040   " encodings with mnemonic '" << Mnemonic << "'\n");
 7051     DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Trying to match opcode "
 7052                                           << MII.getName(it->Opcode) << "\n");
 7059                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 7059                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 7060                              << " against actual operand at index " << ActualIdx);
 7062         DEBUG_WITH_TYPE("asm-matcher", dbgs() << " (";
 7063                         Operands[ActualIdx]->print(dbgs()); dbgs() << "): ");
 7065         DEBUG_WITH_TYPE("asm-matcher", dbgs() << ": ");
 7067         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "actual operand index out of range ");
 7076                         dbgs() << "match success using generic matcher\n");
 7086                           dbgs() << "match success using target matcher\n");
 7098         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "ignoring optional operand\n");
 7117       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
 7125       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Missing target features:";
 7129                        dbgs() << "\n");
 7151           dbgs() << "Early target match predicate failed with diag code "
 7152                  << MatchResult << "\n");
 7174                       dbgs() << "Target match predicate failed with diag code "
 7175                              << MatchResult << "\n");
 7194         dbgs() << "Opcode result: complete match, selecting this opcode\n");
gen/lib/Target/PowerPC/PPCGenAsmWriter.inc
 6067   O << "\t";
 6074   O << AsmStrs+(Bits & 16383)-1;
 6123     O << ", ";
 6130     O << ", ";
 6145     O << ", ";
 6152     O << ", ";
 6159     O << ", ";
 6171     O << ", ";
 6173     O << ", ";
 6175     O << ", ";
 6184     O << ", ";
 6186     O << ", ";
 6196     O << ", ";
 6211     O << ", ";
 6221     O << ", ";
 6227     O << "ctr";
 6235     O << "ctrl";
 6247     O << ", ";
 6253     O << "la";
 6257     O << ", ";
 6263     O << "lr";
 6271     O << "lrl";
 6279     O << ", 0";
 6284     O << "\n\tnop";
 6293     O << ", 268";
 6298     O << ", 256";
 6303     O << ", 0, ";
 6309     O << ", -1";
 6358     O << ", ";
 6360     O << ", ";
 6371     O << ", ";
 6381     O << ", ";
 6436     O << ", ";
 6453     O << ", ";
 6480     O << ", 1";
 6486     O << ", ";
 6493     O << ", ";
 6495     O << ", ";
 6506     O << ", 0";
 6578     O << ", ";
 6606     O << ", ";
 6658     O << ", ";
gen/lib/Target/PowerPC/PPCGenDisassemblerTables.inc
 6573       errs() << Loc << ": Unexpected decode table opcode!\n";
 6580       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
 6580       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
 6581                    << Len << "): " << CurFieldValue << "\n");
 6581                    << Len << "): " << CurFieldValue << "\n");
 6597       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
 6597       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
 6598                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
 6598                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
 6599                    << " continuing at " << (Ptr - DecodeTable) << "\n");
 6599                    << " continuing at " << (Ptr - DecodeTable) << "\n");
 6618       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
 6618       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
 6619                    << Len << ", " << ExpectedValue << ", " << NumToSkip
 6619                    << Len << ", " << ExpectedValue << ", " << NumToSkip
 6620                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
 6620                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
 6621                    << ExpectedValue << ": "
 6622                    << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
 6639       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
 6639       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
 6640             << (Pred ? "PASS\n" : "FAIL\n"));
 6658       LLVM_DEBUG(dbgs() << Loc << ": OPC_Decode: opcode " << Opc
 6659                    << ", using decoder " << DecodeIdx << ": "
 6659                    << ", using decoder " << DecodeIdx << ": "
 6660                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 6660                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 6680       LLVM_DEBUG(dbgs() << Loc << ": OPC_TryDecode: opcode " << Opc
 6681                    << ", using decoder " << DecodeIdx << ": ");
 6681                    << ", using decoder " << DecodeIdx << ": ");
 6685         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 6685         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 6692         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
 6692         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
 6709       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
 6709       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
 6713       LLVM_DEBUG(dbgs() << Loc << ": OPC_Fail\n");
gen/lib/Target/PowerPC/PPCGenMCCodeEmitter.inc
 6241     Msg << "Not supported instr: " << MI;
gen/lib/Target/PowerPC/PPCGenSubtargetInfo.inc
 8115   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
 8116   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
 8116   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/RISCV/RISCVGenAsmMatcher.inc
 2427   DEBUG_WITH_TYPE("asm-matcher", dbgs() << "AsmMatcher: found " <<
 2428   std::distance(MnemonicRange.first, MnemonicRange.second) << 
 2429   " encodings with mnemonic '" << Mnemonic << "'\n");
 2440     DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Trying to match opcode "
 2441                                           << MII.getName(it->Opcode) << "\n");
 2448                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 2448                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 2449                              << " against actual operand at index " << ActualIdx);
 2451         DEBUG_WITH_TYPE("asm-matcher", dbgs() << " (";
 2452                         Operands[ActualIdx]->print(dbgs()); dbgs() << "): ");
 2454         DEBUG_WITH_TYPE("asm-matcher", dbgs() << ": ");
 2456         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "actual operand index out of range ");
 2465                         dbgs() << "match success using generic matcher\n");
 2475                           dbgs() << "match success using target matcher\n");
 2487         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "ignoring optional operand\n");
 2506       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
 2514       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Missing target features:";
 2518                        dbgs() << "\n");
 2540           dbgs() << "Early target match predicate failed with diag code "
 2541                  << MatchResult << "\n");
 2563                       dbgs() << "Target match predicate failed with diag code "
 2564                              << MatchResult << "\n");
 2576         dbgs() << "Opcode result: complete match, selecting this opcode\n");
gen/lib/Target/RISCV/RISCVGenAsmWriter.inc
 1299   O << "\t";
 1306   O << AsmStrs+(Bits & 4095)-1;
 1327     O << ", ";
 1340     O << ", ";
 1358     O << ", ";
 1375     O << ", ";
 1422     O << ", ";
 1440     O << ", ";
gen/lib/Target/RISCV/RISCVGenDisassemblerTables.inc
 1749       errs() << Loc << ": Unexpected decode table opcode!\n";
 1756       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
 1756       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
 1757                    << Len << "): " << CurFieldValue << "\n");
 1757                    << Len << "): " << CurFieldValue << "\n");
 1773       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
 1773       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
 1774                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
 1774                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
 1775                    << " continuing at " << (Ptr - DecodeTable) << "\n");
 1775                    << " continuing at " << (Ptr - DecodeTable) << "\n");
 1794       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
 1794       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
 1795                    << Len << ", " << ExpectedValue << ", " << NumToSkip
 1795                    << Len << ", " << ExpectedValue << ", " << NumToSkip
 1796                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
 1796                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
 1797                    << ExpectedValue << ": "
 1798                    << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
 1815       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
 1815       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
 1816             << (Pred ? "PASS\n" : "FAIL\n"));
 1834       LLVM_DEBUG(dbgs() << Loc << ": OPC_Decode: opcode " << Opc
 1835                    << ", using decoder " << DecodeIdx << ": "
 1835                    << ", using decoder " << DecodeIdx << ": "
 1836                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 1836                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 1856       LLVM_DEBUG(dbgs() << Loc << ": OPC_TryDecode: opcode " << Opc
 1857                    << ", using decoder " << DecodeIdx << ": ");
 1857                    << ", using decoder " << DecodeIdx << ": ");
 1861         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 1861         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 1868         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
 1868         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
 1885       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
 1885       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
 1889       LLVM_DEBUG(dbgs() << Loc << ": OPC_Fail\n");
gen/lib/Target/RISCV/RISCVGenMCCodeEmitter.inc
 1379     Msg << "Not supported instr: " << MI;
gen/lib/Target/RISCV/RISCVGenSubtargetInfo.inc
  213   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
  214   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
  214   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/Sparc/SparcGenAsmMatcher.inc
 4171   DEBUG_WITH_TYPE("asm-matcher", dbgs() << "AsmMatcher: found " <<
 4172   std::distance(MnemonicRange.first, MnemonicRange.second) << 
 4173   " encodings with mnemonic '" << Mnemonic << "'\n");
 4184     DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Trying to match opcode "
 4185                                           << MII.getName(it->Opcode) << "\n");
 4192                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 4192                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 4193                              << " against actual operand at index " << ActualIdx);
 4195         DEBUG_WITH_TYPE("asm-matcher", dbgs() << " (";
 4196                         Operands[ActualIdx]->print(dbgs()); dbgs() << "): ");
 4198         DEBUG_WITH_TYPE("asm-matcher", dbgs() << ": ");
 4200         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "actual operand index out of range ");
 4209                         dbgs() << "match success using generic matcher\n");
 4219                           dbgs() << "match success using target matcher\n");
 4231         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "ignoring optional operand\n");
 4250       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
 4258       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Missing target features:";
 4262                        dbgs() << "\n");
 4284           dbgs() << "Early target match predicate failed with diag code "
 4285                  << MatchResult << "\n");
 4307                       dbgs() << "Target match predicate failed with diag code "
 4308                              << MatchResult << "\n");
 4320         dbgs() << "Opcode result: complete match, selecting this opcode\n");
gen/lib/Target/Sparc/SparcGenAsmWriter.inc
 1069   O << "\t";
 1075   O << AsmStrs+(Bits & 4095)-1;
 1117     O << ", ";
 1129     O << ", [";
 1141     O << ", ";
 1143     O << ", ";
 1155     O << ", ";
 1167     O << ",a ";
 1171     O << ",a,pn ";
 1173     O << ", ";
 1179     O << ",pn ";
 1181     O << ", ";
 1187     O << " %icc, ";
 1191     O << ",a %icc, ";
 1197     O << ",a,pn %icc, ";
 1203     O << ",pn %icc, ";
 1209     O << " %xcc, ";
 1213     O << ",a %xcc, ";
 1219     O << ",a,pn %xcc, ";
 1225     O << ",pn %xcc, ";
 1231     O << "] 10, ";
 1233     O << ", ";
 1239     O << "] ";
 1243     O << "], ";
 1247     O << " %fcc0, ";
 1249     O << ", ";
 1255     O << "], %csr";
 1260     O << "], %fsr";
 1285     O << ", ";
 1291     O << ", ";
 1293     O << ", ";
 1313     O << ", ";
 1317     O << ", %psr";
 1322     O << " + ";
 1328     O << ", %tbr";
 1333     O << ", %wim";
gen/lib/Target/Sparc/SparcGenDisassemblerTables.inc
 2371       errs() << Loc << ": Unexpected decode table opcode!\n";
 2378       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
 2378       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
 2379                    << Len << "): " << CurFieldValue << "\n");
 2379                    << Len << "): " << CurFieldValue << "\n");
 2395       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
 2395       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
 2396                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
 2396                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
 2397                    << " continuing at " << (Ptr - DecodeTable) << "\n");
 2397                    << " continuing at " << (Ptr - DecodeTable) << "\n");
 2416       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
 2416       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
 2417                    << Len << ", " << ExpectedValue << ", " << NumToSkip
 2417                    << Len << ", " << ExpectedValue << ", " << NumToSkip
 2418                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
 2418                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
 2419                    << ExpectedValue << ": "
 2420                    << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
 2437       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
 2437       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
 2438             << (Pred ? "PASS\n" : "FAIL\n"));
 2456       LLVM_DEBUG(dbgs() << Loc << ": OPC_Decode: opcode " << Opc
 2457                    << ", using decoder " << DecodeIdx << ": "
 2457                    << ", using decoder " << DecodeIdx << ": "
 2458                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 2458                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 2478       LLVM_DEBUG(dbgs() << Loc << ": OPC_TryDecode: opcode " << Opc
 2479                    << ", using decoder " << DecodeIdx << ": ");
 2479                    << ", using decoder " << DecodeIdx << ": ");
 2483         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 2483         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
 2490         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
 2490         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
 2507       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
 2507       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
 2511       LLVM_DEBUG(dbgs() << Loc << ": OPC_Fail\n");
gen/lib/Target/Sparc/SparcGenMCCodeEmitter.inc
 1675     Msg << "Not supported instr: " << MI;
gen/lib/Target/Sparc/SparcGenSubtargetInfo.inc
  490   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
  491   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
  491   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/SystemZ/SystemZGenAsmMatcher.inc
 5366   DEBUG_WITH_TYPE("asm-matcher", dbgs() << "AsmMatcher: found " <<
 5367   std::distance(MnemonicRange.first, MnemonicRange.second) << 
 5368   " encodings with mnemonic '" << Mnemonic << "'\n");
 5379     DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Trying to match opcode "
 5380                                           << MII.getName(it->Opcode) << "\n");
 5387                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 5387                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 5388                              << " against actual operand at index " << ActualIdx);
 5390         DEBUG_WITH_TYPE("asm-matcher", dbgs() << " (";
 5391                         Operands[ActualIdx]->print(dbgs()); dbgs() << "): ");
 5393         DEBUG_WITH_TYPE("asm-matcher", dbgs() << ": ");
 5395         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "actual operand index out of range ");
 5404                         dbgs() << "match success using generic matcher\n");
 5414                           dbgs() << "match success using target matcher\n");
 5426         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "ignoring optional operand\n");
 5445       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
 5453       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Missing target features:";
 5457                        dbgs() << "\n");
 5479           dbgs() << "Early target match predicate failed with diag code "
 5480                  << MatchResult << "\n");
 5502                       dbgs() << "Target match predicate failed with diag code "
 5503                              << MatchResult << "\n");
 5515         dbgs() << "Opcode result: complete match, selecting this opcode\n");
gen/lib/Target/SystemZ/SystemZGenAsmWriter.inc
11366   O << "\t";
11374   O << AsmStrs+(Bits & 32767)-1;
11408     O << ", ";
11413     O << "\t";
11415     O << ", ";
11420     O << "\t";
11422     O << ", ";
11448     O << ", ";
11454     O << "\t";
11456     O << ", ";
11463     O << "\t";
11465     O << ", ";
11470     O << ", ";
11472     O << ", ";
11489     O << ", ";
11493     O << "\t";
11502     O << "r\t";
11521     O << ", ";
11536     O << ", ";
11625     O << ", ";
11640     O << ", ";
11645     O << ", ";
11670     O << ", ";
11694     O << ", ";
11716     O << ", ";
11732     O << ", ";
11737     O << ", ";
11751     O << ", ";
11770     O << ", ";
11875     O << ", ";
11955     O << ", ";
12022     O << ", ";
12058     O << ", ";
12125     O << ", ";
12155     O << ", ";
gen/lib/Target/SystemZ/SystemZGenDisassemblerTables.inc
10744       errs() << Loc << ": Unexpected decode table opcode!\n";
10751       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
10751       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
10752                    << Len << "): " << CurFieldValue << "\n");
10752                    << Len << "): " << CurFieldValue << "\n");
10768       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
10768       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
10769                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
10769                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
10770                    << " continuing at " << (Ptr - DecodeTable) << "\n");
10770                    << " continuing at " << (Ptr - DecodeTable) << "\n");
10789       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
10789       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
10790                    << Len << ", " << ExpectedValue << ", " << NumToSkip
10790                    << Len << ", " << ExpectedValue << ", " << NumToSkip
10791                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
10791                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
10792                    << ExpectedValue << ": "
10793                    << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
10810       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
10810       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
10811             << (Pred ? "PASS\n" : "FAIL\n"));
10829       LLVM_DEBUG(dbgs() << Loc << ": OPC_Decode: opcode " << Opc
10830                    << ", using decoder " << DecodeIdx << ": "
10830                    << ", using decoder " << DecodeIdx << ": "
10831                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
10831                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
10851       LLVM_DEBUG(dbgs() << Loc << ": OPC_TryDecode: opcode " << Opc
10852                    << ", using decoder " << DecodeIdx << ": ");
10852                    << ", using decoder " << DecodeIdx << ": ");
10856         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
10856         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
10863         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
10863         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
10880       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
10880       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
10884       LLVM_DEBUG(dbgs() << Loc << ": OPC_Fail\n");
gen/lib/Target/SystemZ/SystemZGenMCCodeEmitter.inc
 8727     Msg << "Not supported instr: " << MI;
gen/lib/Target/SystemZ/SystemZGenSubtargetInfo.inc
 5119   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
 5120   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
 5120   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/WebAssembly/WebAssemblyGenAsmMatcher.inc
 1135   DEBUG_WITH_TYPE("asm-matcher", dbgs() << "AsmMatcher: found " <<
 1136   std::distance(MnemonicRange.first, MnemonicRange.second) << 
 1137   " encodings with mnemonic '" << Mnemonic << "'\n");
 1148     DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Trying to match opcode "
 1149                                           << MII.getName(it->Opcode) << "\n");
 1156                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 1156                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
 1157                              << " against actual operand at index " << ActualIdx);
 1159         DEBUG_WITH_TYPE("asm-matcher", dbgs() << " (";
 1160                         Operands[ActualIdx]->print(dbgs()); dbgs() << "): ");
 1162         DEBUG_WITH_TYPE("asm-matcher", dbgs() << ": ");
 1164         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "actual operand index out of range ");
 1173                         dbgs() << "match success using generic matcher\n");
 1183                           dbgs() << "match success using target matcher\n");
 1195         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "ignoring optional operand\n");
 1214       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
 1222       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Missing target features:";
 1226                        dbgs() << "\n");
 1248           dbgs() << "Early target match predicate failed with diag code "
 1249                  << MatchResult << "\n");
 1271                       dbgs() << "Target match predicate failed with diag code "
 1272                              << MatchResult << "\n");
 1284         dbgs() << "Opcode result: complete match, selecting this opcode\n");
gen/lib/Target/WebAssembly/WebAssemblyGenAsmWriter.inc
 2089   O << "\t";
 2095   O << AsmStrs+(Bits & 16383)-1;
 2130     O << ", ";
 2143     O << ", ";
 2171     O << ", ";
 2191     O << ", ";
 2212     O << ", ";
 2226     O << ", ";
 2228     O << ", ";
 2230     O << ", ";
 2241     O << ", ";
 2252     O << ", ";
 2254     O << ", ";
 2256     O << ", ";
 2258     O << ", ";
 2260     O << ", ";
 2262     O << ", ";
 2264     O << ", ";
 2275     O << ", ";
 2283     O << ", ";
 2285     O << ", ";
gen/lib/Target/WebAssembly/WebAssemblyGenMCCodeEmitter.inc
 2475     Msg << "Not supported instr: " << MI;
gen/lib/Target/WebAssembly/WebAssemblyGenSubtargetInfo.inc
  148   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
  149   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
  149   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/X86/X86GenAsmMatcher.inc
36966   DEBUG_WITH_TYPE("asm-matcher", dbgs() << "AsmMatcher: found " <<
36967   std::distance(MnemonicRange.first, MnemonicRange.second) << 
36968   " encodings with mnemonic '" << Mnemonic << "'\n");
36979     DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Trying to match opcode "
36980                                           << MII.getName(it->Opcode) << "\n");
36987                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
36987                       dbgs() << "  Matching formal operand class " << getMatchClassName(Formal)
36988                              << " against actual operand at index " << ActualIdx);
36990         DEBUG_WITH_TYPE("asm-matcher", dbgs() << " (";
36991                         Operands[ActualIdx]->print(dbgs()); dbgs() << "): ");
36993         DEBUG_WITH_TYPE("asm-matcher", dbgs() << ": ");
36995         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "actual operand index out of range ");
37004                         dbgs() << "match success using generic matcher\n");
37014                           dbgs() << "match success using target matcher\n");
37026         DEBUG_WITH_TYPE("asm-matcher", dbgs() << "ignoring optional operand\n");
37045       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Opcode result: multiple "
37053       DEBUG_WITH_TYPE("asm-matcher", dbgs() << "Missing target features:";
37057                        dbgs() << "\n");
37079           dbgs() << "Early target match predicate failed with diag code "
37080                  << MatchResult << "\n");
37102                       dbgs() << "Target match predicate failed with diag code "
37103                              << MatchResult << "\n");
37115         dbgs() << "Opcode result: complete match, selecting this opcode\n");
gen/lib/Target/X86/X86GenAsmWriter.inc
47410   O << "\t";
47418   O << AsmStrs+(Bits & 32767)-1;
47447     O << ", ";
47452     O << ", ";
47457     O << ", ";
47470     O << ", ";
47475     O << ", ";
47499     O << ", ";
47508     O << ", ";
47517     O << ", ";
47526     O << ", ";
47533     O << ", ";
47544     O << ", ";
47569     O << ", ";
47619     O << "\t";
47624     O << ", ";
47639     O << ", %rax";
47665     O << ", ";
47672     O << ", ";
47679     O << ", ";
47686     O << ", ";
47693     O << "\t";
47700     O << ", ";
47705     O << ", ";
47710     O << ", ";
47723     O << ", ";
47725     O << ", ";
47727     O << " {";
47733     O << ", ";
47738     O << ", ";
47743     O << ", ";
47748     O << ", ";
47753     O << ", ";
47758     O << ", ";
47763     O << ", ";
47765     O << ", ";
47770     O << ", ";
47772     O << ", ";
47774     O << ", ";
47776     O << " {";
47782     O << ", ";
47784     O << ", ";
47797     O << ", ";
47802     O << ", ";
47807     O << ", ";
47816     O << ", ";
47818     O << ", ";
47825     O << ", ";
47830     O << ", ";
47832     O << " {";
47840     O << ", ";
47842     O << " {";
47859     O << ", ";
47863     O << ", %ax";
47880     O << ", %eax";
47889     O << ", %rax";
47898     O << ", %al";
47908     O << ", %st";
47926     O << ", ";
47939     O << "w\t";
47943     O << "l\t";
47947     O << "q\t";
47960     O << ", ";
47965     O << ", ";
47977     O << ", ";
47981     O << ", %dx";
47995     O << ", ";
47997     O << " {";
48002     O << "{1to2}, ";
48011     O << "{1to4}, ";
48015     O << "{1to8}, ";
48019     O << "{1to16}, ";
48032     O << ", ";
48034     O << ", ";
48036     O << " {";
48042     O << ", ";
48047     O << ", ";
48052     O << ", ";
48054     O << ", ";
48056     O << " {";
48062     O << ", ";
48067     O << ", ";
48072     O << ", ";
48074     O << ", ";
48076     O << " {";
48082     O << ", ";
48094     O << ", {sae}, ";
48107     O << ", ";
48112     O << ", ";
48114     O << ", ";
48120     O << "} {z}";
48133     O << " {";
48149     O << ", ";
48171     O << ", ";
48176     O << ", ";
48237     O << ", ";
48244     O << ", ";
48246     O << ", ";
48267     O << "} {z}";
48273     O << ", ";
48275     O << ", ";
48277     O << ", ";
48284     O << ", ";
48288     O << "{1to4}, ";
48293     O << ", ";
48295     O << ", ";
48297     O << " {";
48302     O << "{1to8}, ";
48306     O << "{1to16}, ";
48310     O << "{1to2}, ";
48314     O << " {";
48327     O << ", ";
48329     O << ", ";
48336     O << ", ";
48338     O << ", ";
48358     O << ", ";
48379     O << " {";
48389     O << "} {z}";
48420     O << " {";
48424     O << ", ";
48441     O << "} {z}";
48490     O << "} {z}";
48506     O << "} {z}";
48515     O << " {";
48519     O << ", ";
48539     O << "} {z}";
gen/lib/Target/X86/X86GenAsmWriter1.inc
31871   O << "\t";
31878   O << AsmStrs+(Bits & 16383)-1;
31931     O << ", ";
31943     O << "\t";
31945     O << ", ";
31950     O << "\t";
31952     O << ", ";
31959     O << ", ";
31966     O << ", ";
31973     O << ", ";
31980     O << ", ";
32013     O << "\t";
32038     O << ", ";
32045     O << ", ";
32052     O << ", ";
32059     O << ", ";
32086     O << "\t";
32101     O << ", ";
32103     O << ", ";
32108     O << " {";
32110     O << "}, ";
32117     O << " {";
32119     O << "}, ";
32126     O << ", ";
32142     O << ", ";
32146     O << ", st";
32164     O << ", dx";
32174     O << ", ax";
32179     O << ", eax";
32184     O << ", rax";
32189     O << ", al";
32194     O << ", cl";
32204     O << " {";
32208     O << "}, ";
32352     O << ", ";
32359     O << "}, ";
32364     O << ", ";
32371     O << ", ";
32377     O << "{1to4}";
32382     O << "{1to8}";
32387     O << "{1to16}";
32392     O << "{1to2}";
32398     O << "}, ";
32414     O << ", ";
32418     O << ", xmm0";
32423     O << ", cl";
32428     O << "}, ";
32432     O << "} {z}, ";
32436     O << ", {sae}";
32441     O << "{1to2}";
32446     O << "{1to4}";
32451     O << "{1to8}";
32456     O << "{1to16}";
32461     O << ", {sae}, ";
32467     O << "{1to2}, ";
32473     O << "{1to4}, ";
32479     O << "{1to8}, ";
32485     O << "{1to16}, ";
32594     O << ", ";
32628     O << ", ";
32632     O << "{1to2}";
32637     O << "{1to4}";
32642     O << "{1to8}";
32647     O << "{1to16}";
32652     O << "{1to4}, ";
32656     O << "{1to8}, ";
32660     O << "{1to16}, ";
32664     O << "{1to2}, ";
32668     O << ", {sae}, ";
32672     O << ", {sae}";
32783     O << ", ";
32787     O << "{1to2}";
32792     O << "{1to4}";
32797     O << "{1to8}";
32802     O << "{1to16}";
32807     O << "{1to4}, ";
32811     O << "{1to8}, ";
32815     O << "{1to16}, ";
32819     O << "{1to2}, ";
32823     O << ", {sae}, ";
32827     O << ", {sae}";
gen/lib/Target/X86/X86GenSubtargetInfo.inc
21345   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
21346   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
21346   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/lib/Target/XCore/XCoreGenAsmWriter.inc
  570   O << "\t";
  576   O << AsmStrs+(Bits & 2047)-1;
  606     O << ", ";
  614     O << "\n";
  623     O << "], ";
  627     O << ", res[";
  631     O << ", ps[";
  638     O << "]:cp, ";
  644     O << "]:dp, ";
  650     O << "]:lr, ";
  656     O << "]:pc, ";
  662     O << "]:sp, ";
  668     O << ", dp[";
  675     O << ", sp[";
  682     O << ", cp[";
  689     O << "], r11";
  694     O << "]:r";
  696     O << ", ";
  727     O << ", ";
  741     O << ", ";
  746     O << ", ";
  757     O << "], ";
  774     O << "[-";
  796     O << ", ";
  798     O << ", ";
  805     O << ", ";
  824     O << ", ";
  830     O << ", ";
  832     O << ", ";
  834     O << ", ";
gen/lib/Target/XCore/XCoreGenDisassemblerTables.inc
  815       errs() << Loc << ": Unexpected decode table opcode!\n";
  822       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
  822       LLVM_DEBUG(dbgs() << Loc << ": OPC_ExtractField(" << Start << ", "
  823                    << Len << "): " << CurFieldValue << "\n");
  823                    << Len << "): " << CurFieldValue << "\n");
  839       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
  839       LLVM_DEBUG(dbgs() << Loc << ": OPC_FilterValue(" << Val << ", " << NumToSkip
  840                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
  840                    << "): " << ((Val != CurFieldValue) ? "FAIL:" : "PASS:")
  841                    << " continuing at " << (Ptr - DecodeTable) << "\n");
  841                    << " continuing at " << (Ptr - DecodeTable) << "\n");
  860       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
  860       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckField(" << Start << ", "
  861                    << Len << ", " << ExpectedValue << ", " << NumToSkip
  861                    << Len << ", " << ExpectedValue << ", " << NumToSkip
  862                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
  862                    << "): FieldValue = " << FieldValue << ", ExpectedValue = "
  863                    << ExpectedValue << ": "
  864                    << ((ExpectedValue == FieldValue) ? "PASS\n" : "FAIL\n"));
  881       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
  881       LLVM_DEBUG(dbgs() << Loc << ": OPC_CheckPredicate(" << PIdx << "): "
  882             << (Pred ? "PASS\n" : "FAIL\n"));
  900       LLVM_DEBUG(dbgs() << Loc << ": OPC_Decode: opcode " << Opc
  901                    << ", using decoder " << DecodeIdx << ": "
  901                    << ", using decoder " << DecodeIdx << ": "
  902                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  902                    << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  922       LLVM_DEBUG(dbgs() << Loc << ": OPC_TryDecode: opcode " << Opc
  923                    << ", using decoder " << DecodeIdx << ": ");
  923                    << ", using decoder " << DecodeIdx << ": ");
  927         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  927         LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? "PASS" : "FAIL") << "\n");
  934         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
  934         LLVM_DEBUG(dbgs() << "FAIL: continuing at " << (Ptr - DecodeTable) << "\n");
  951       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
  951       LLVM_DEBUG(dbgs() << Loc << ": OPC_SoftFail: " << (Fail ? "FAIL\n":"PASS\n"));
  955       LLVM_DEBUG(dbgs() << Loc << ": OPC_Fail\n");
gen/lib/Target/XCore/XCoreGenSubtargetInfo.inc
  119   LLVM_DEBUG(dbgs() << "\nFeatures:" << FS);
  120   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
  120   LLVM_DEBUG(dbgs() << "\nCPU:" << CPU << "\n\n");
gen/tools/clang/include/clang/AST/AttrImpl.inc
   23     OS << " __attribute__((aarch64_vector_pcs))";
   27     OS << " [[clang::aarch64_vector_pcs]]";
   31     OS << " [[clang::aarch64_vector_pcs]]";
   65     OS << " __attribute__((amdgpu_flat_work_group_size(" << getMin() << ", " << getMax() << ")))";
   65     OS << " __attribute__((amdgpu_flat_work_group_size(" << getMin() << ", " << getMax() << ")))";
   65     OS << " __attribute__((amdgpu_flat_work_group_size(" << getMin() << ", " << getMax() << ")))";
   69     OS << " [[clang::amdgpu_flat_work_group_size(" << getMin() << ", " << getMax() << ")]]";
   69     OS << " [[clang::amdgpu_flat_work_group_size(" << getMin() << ", " << getMax() << ")]]";
   69     OS << " [[clang::amdgpu_flat_work_group_size(" << getMin() << ", " << getMax() << ")]]";
  101     OS << " __attribute__((amdgpu_num_sgpr(" << getNumSGPR() << ")))";
  101     OS << " __attribute__((amdgpu_num_sgpr(" << getNumSGPR() << ")))";
  105     OS << " [[clang::amdgpu_num_sgpr(" << getNumSGPR() << ")]]";
  105     OS << " [[clang::amdgpu_num_sgpr(" << getNumSGPR() << ")]]";
  137     OS << " __attribute__((amdgpu_num_vgpr(" << getNumVGPR() << ")))";
  137     OS << " __attribute__((amdgpu_num_vgpr(" << getNumVGPR() << ")))";
  141     OS << " [[clang::amdgpu_num_vgpr(" << getNumVGPR() << ")]]";
  141     OS << " [[clang::amdgpu_num_vgpr(" << getNumVGPR() << ")]]";
  173     OS << " __attribute__((amdgpu_waves_per_eu(" << getMin() << ", " << getMax() << ")))";
  173     OS << " __attribute__((amdgpu_waves_per_eu(" << getMin() << ", " << getMax() << ")))";
  173     OS << " __attribute__((amdgpu_waves_per_eu(" << getMin() << ", " << getMax() << ")))";
  177     OS << " [[clang::amdgpu_waves_per_eu(" << getMin() << ", " << getMax() << ")]]";
  177     OS << " [[clang::amdgpu_waves_per_eu(" << getMin() << ", " << getMax() << ")]]";
  177     OS << " [[clang::amdgpu_waves_per_eu(" << getMin() << ", " << getMax() << ")]]";
  209     OS << " __attribute__((interrupt(\"" << ARMInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")))";
  209     OS << " __attribute__((interrupt(\"" << ARMInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")))";
  209     OS << " __attribute__((interrupt(\"" << ARMInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")))";
  213     OS << " [[gnu::interrupt(\"" << ARMInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")]]";
  213     OS << " [[gnu::interrupt(\"" << ARMInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")]]";
  213     OS << " [[gnu::interrupt(\"" << ARMInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")]]";
  245     OS << " __attribute__((interrupt))";
  249     OS << " [[gnu::interrupt]]";
  281     OS << " __attribute__((signal))";
  285     OS << " [[gnu::signal]]";
  317     OS << " __attribute__((abi_tag(";
  321     else OS << ", ";
  322     OS << "\"" << Val << "\"";
  322     OS << "\"" << Val << "\"";
  324   OS << ")))";
  328     OS << " [[gnu::abi_tag(";
  332     else OS << ", ";
  333     OS << "\"" << Val << "\"";
  333     OS << "\"" << Val << "\"";
  335   OS << ")]]";
  367     OS << " __attribute__((acquire_capability(";
  371     else OS << ", ";
  374   OS << ")))";
  378     OS << " [[clang::acquire_capability(";
  382     else OS << ", ";
  385   OS << ")]]";
  389     OS << " __attribute__((acquire_shared_capability(";
  393     else OS << ", ";
  396   OS << ")))";
  400     OS << " [[clang::acquire_shared_capability(";
  404     else OS << ", ";
  407   OS << ")]]";
  411     OS << " __attribute__((exclusive_lock_function(";
  415     else OS << ", ";
  418   OS << ")))";
  422     OS << " __attribute__((shared_lock_function(";
  426     else OS << ", ";
  429   OS << ")))";
  469     OS << " __attribute__((acquired_after(";
  473     else OS << ", ";
  476   OS << ")))";
  506     OS << " __attribute__((acquired_before(";
  510     else OS << ", ";
  513   OS << ")))";
  543     OS << " __attribute__((address_space(" << getAddressSpace() << ")))";
  543     OS << " __attribute__((address_space(" << getAddressSpace() << ")))";
  547     OS << " [[clang::address_space(" << getAddressSpace() << ")]]";
  547     OS << " [[clang::address_space(" << getAddressSpace() << ")]]";
  551     OS << " [[clang::address_space(" << getAddressSpace() << ")]]";
  551     OS << " [[clang::address_space(" << getAddressSpace() << ")]]";
  585     OS << " __attribute__((alias(\"" << getAliasee() << "\")))";
  585     OS << " __attribute__((alias(\"" << getAliasee() << "\")))";
  589     OS << " [[gnu::alias(\"" << getAliasee() << "\")]]";
  589     OS << " [[gnu::alias(\"" << getAliasee() << "\")]]";
  636     OS << " __attribute__((align_value(" << getAlignment() << ")))";
  636     OS << " __attribute__((align_value(" << getAlignment() << ")))";
  679     OS << " __attribute__((aligned";
  683     OS << "";
  685        OS << "(";
  686     OS << "";
  688       OS << "";
  690     OS << "";
  692     OS << "";
  694        OS << ")";
  695     OS << "))";
  699     OS << " [[gnu::aligned";
  703     OS << "";
  705        OS << "(";
  706     OS << "";
  708       OS << "";
  710     OS << "";
  712     OS << "";
  714        OS << ")";
  715     OS << "]]";
  719     OS << " __declspec(align";
  723     OS << "";
  725        OS << "(";
  726     OS << "";
  728       OS << "";
  730     OS << "";
  732     OS << "";
  734        OS << ")";
  735     OS << ")";
  739     OS << " alignas";
  743     OS << "";
  745        OS << "(";
  746     OS << "";
  748       OS << "";
  750     OS << "";
  752     OS << "";
  754        OS << ")";
  755     OS << "";
  759     OS << " _Alignas";
  763     OS << "";
  765        OS << "(";
  766     OS << "";
  768       OS << "";
  770     OS << "";
  772     OS << "";
  774        OS << ")";
  775     OS << "";
  813     OS << " __attribute__((alloc_align(" << getParamIndex().getSourceIndex() << ")))";
  813     OS << " __attribute__((alloc_align(" << getParamIndex().getSourceIndex() << ")))";
  817     OS << " [[gnu::alloc_align(" << getParamIndex().getSourceIndex() << ")]]";
  817     OS << " [[gnu::alloc_align(" << getParamIndex().getSourceIndex() << ")]]";
  849     OS << " __attribute__((alloc_size";
  853     OS << "(" << getElemSizeParam().getSourceIndex() << "";
  853     OS << "(" << getElemSizeParam().getSourceIndex() << "";
  855       OS << ", ";
  856     OS << "";
  858       OS << "" << getNumElemsParam().getSourceIndex() << "";
  858       OS << "" << getNumElemsParam().getSourceIndex() << "";
  860     OS << ")))";
  864     OS << " [[gnu::alloc_size";
  868     OS << "(" << getElemSizeParam().getSourceIndex() << "";
  868     OS << "(" << getElemSizeParam().getSourceIndex() << "";
  870       OS << ", ";
  871     OS << "";
  873       OS << "" << getNumElemsParam().getSourceIndex() << "";
  873       OS << "" << getNumElemsParam().getSourceIndex() << "";
  875     OS << ")]]";
  907     OS << " __attribute__((always_destroy))";
  911     OS << " [[clang::always_destroy]]";
  943     OS << " __attribute__((always_inline))";
  947     OS << " [[gnu::always_inline]]";
  951     OS << " __forceinline";
  985     OS << " __attribute__((analyzer_noreturn))";
 1015     OS << " __attribute__((annotate(\"" << getAnnotation() << "\")))";
 1015     OS << " __attribute__((annotate(\"" << getAnnotation() << "\")))";
 1019     OS << " [[clang::annotate(\"" << getAnnotation() << "\")]]";
 1019     OS << " [[clang::annotate(\"" << getAnnotation() << "\")]]";
 1023     OS << " [[clang::annotate(\"" << getAnnotation() << "\")]]";
 1023     OS << " [[clang::annotate(\"" << getAnnotation() << "\")]]";
 1057     OS << " __attribute__((interrupt))";
 1061     OS << " [[gnu::interrupt]]";
 1093     OS << " __attribute__((no_caller_saved_registers))";
 1097     OS << " [[gnu::no_caller_saved_registers]]";
 1129     OS << " __attribute__((nocf_check))";
 1133     OS << " [[gnu::nocf_check]]";
 1165     OS << " __attribute__((objc_arc_weak_reference_unavailable))";
 1169     OS << " [[clang::objc_arc_weak_reference_unavailable]]";
 1173     OS << " [[clang::objc_arc_weak_reference_unavailable]]";
 1207     OS << " __attribute__((argument_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")))";
 1207     OS << " __attribute__((argument_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")))";
 1207     OS << " __attribute__((argument_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")))";
 1207     OS << " __attribute__((argument_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")))";
 1211     OS << " [[clang::argument_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1211     OS << " [[clang::argument_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1211     OS << " [[clang::argument_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1211     OS << " [[clang::argument_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1215     OS << " [[clang::argument_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1215     OS << " [[clang::argument_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1215     OS << " [[clang::argument_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1215     OS << " [[clang::argument_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1219     OS << " __attribute__((pointer_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")))";
 1219     OS << " __attribute__((pointer_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")))";
 1219     OS << " __attribute__((pointer_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")))";
 1219     OS << " __attribute__((pointer_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")))";
 1223     OS << " [[clang::pointer_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1223     OS << " [[clang::pointer_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1223     OS << " [[clang::pointer_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1223     OS << " [[clang::pointer_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1227     OS << " [[clang::pointer_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1227     OS << " [[clang::pointer_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1227     OS << " [[clang::pointer_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1227     OS << " [[clang::pointer_with_type_tag(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getArgumentIdx().getSourceIndex() << ", " << getTypeTagIdx().getSourceIndex() << ")]]";
 1267     OS << " __attribute__((__clang_arm_mve_alias(" << (getBuiltinName() ? getBuiltinName()->getName() : "") << ")))";
 1267     OS << " __attribute__((__clang_arm_mve_alias(" << (getBuiltinName() ? getBuiltinName()->getName() : "") << ")))";
 1271     OS << " [[clang::__clang_arm_mve_alias(" << (getBuiltinName() ? getBuiltinName()->getName() : "") << ")]]";
 1271     OS << " [[clang::__clang_arm_mve_alias(" << (getBuiltinName() ? getBuiltinName()->getName() : "") << ")]]";
 1275     OS << " [[clang::__clang_arm_mve_alias(" << (getBuiltinName() ? getBuiltinName()->getName() : "") << ")]]";
 1275     OS << " [[clang::__clang_arm_mve_alias(" << (getBuiltinName() ? getBuiltinName()->getName() : "") << ")]]";
 1309     OS << " __attribute__((artificial))";
 1313     OS << " [[gnu::artificial]]";
 1345     OS << " asm(\"" << getLabel() << "\")";
 1345     OS << " asm(\"" << getLabel() << "\")";
 1349     OS << " __asm__(\"" << getLabel() << "\")";
 1349     OS << " __asm__(\"" << getLabel() << "\")";
 1381     OS << " __attribute__((assert_capability(";
 1385     else OS << ", ";
 1388   OS << ")))";
 1392     OS << " [[clang::assert_capability(";
 1396     else OS << ", ";
 1399   OS << ")]]";
 1403     OS << " __attribute__((assert_shared_capability(";
 1407     else OS << ", ";
 1410   OS << ")))";
 1414     OS << " [[clang::assert_shared_capability(";
 1418     else OS << ", ";
 1421   OS << ")]]";
 1457     OS << " __attribute__((assert_exclusive_lock(";
 1461     else OS << ", ";
 1464   OS << ")))";
 1494     OS << " __attribute__((assert_shared_lock(";
 1498     else OS << ", ";
 1501   OS << ")))";
 1531     OS << " __attribute__((assume_aligned(" << getAlignment() << ", " << getOffset() << ")))";
 1531     OS << " __attribute__((assume_aligned(" << getAlignment() << ", " << getOffset() << ")))";
 1531     OS << " __attribute__((assume_aligned(" << getAlignment() << ", " << getOffset() << ")))";
 1535     OS << " [[gnu::assume_aligned(" << getAlignment() << ", " << getOffset() << ")]]";
 1535     OS << " [[gnu::assume_aligned(" << getAlignment() << ", " << getOffset() << ")]]";
 1535     OS << " [[gnu::assume_aligned(" << getAlignment() << ", " << getOffset() << ")]]";
 1567     OS << " __attribute__((availability(" << getPlatform()->getName();
 1568   if (getStrict()) OS << ", strict";
 1569   if (!getIntroduced().empty()) OS << ", introduced=" << getIntroduced();
 1570   if (!getDeprecated().empty()) OS << ", deprecated=" << getDeprecated();
 1571   if (!getObsoleted().empty()) OS << ", obsoleted=" << getObsoleted();
 1572   if (getUnavailable()) OS << ", unavailable";
 1573   OS << ")))";
 1577     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1577     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1577     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1577     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1577     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1577     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1577     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1577     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1577     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1577     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1581     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1581     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1581     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1581     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1581     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1581     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1581     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1581     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1581     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1581     OS << " [[clang::availability(" << (getPlatform() ? getPlatform()->getName() : "") << ", introduced=" << getIntroduced() << ", deprecated=" << getDeprecated() << ", obsoleted=" << getObsoleted() << ", " << getUnavailable() << ", \"" << getMessage() << "\", " << getStrict() << ", \"" << getReplacement() << "\", " << getPriority() << ")]]";
 1615     OS << " __attribute__((blocks(\"" << BlocksAttr::ConvertBlockTypeToStr(getType()) << "\")))";
 1615     OS << " __attribute__((blocks(\"" << BlocksAttr::ConvertBlockTypeToStr(getType()) << "\")))";
 1615     OS << " __attribute__((blocks(\"" << BlocksAttr::ConvertBlockTypeToStr(getType()) << "\")))";
 1619     OS << " [[clang::blocks(\"" << BlocksAttr::ConvertBlockTypeToStr(getType()) << "\")]]";
 1619     OS << " [[clang::blocks(\"" << BlocksAttr::ConvertBlockTypeToStr(getType()) << "\")]]";
 1619     OS << " [[clang::blocks(\"" << BlocksAttr::ConvertBlockTypeToStr(getType()) << "\")]]";
 1623     OS << " [[clang::blocks(\"" << BlocksAttr::ConvertBlockTypeToStr(getType()) << "\")]]";
 1623     OS << " [[clang::blocks(\"" << BlocksAttr::ConvertBlockTypeToStr(getType()) << "\")]]";
 1623     OS << " [[clang::blocks(\"" << BlocksAttr::ConvertBlockTypeToStr(getType()) << "\")]]";
 1657     OS << " _Noreturn";
 1687     OS << " __attribute__((cdecl))";
 1691     OS << " [[gnu::cdecl]]";
 1695     OS << " __cdecl";
 1699     OS << " _cdecl";
 1735     OS << " __attribute__((cf_audited_transfer))";
 1739     OS << " [[clang::cf_audited_transfer]]";
 1743     OS << " [[clang::cf_audited_transfer]]";
 1777     OS << " __attribute__((cf_consumed))";
 1781     OS << " [[clang::cf_consumed]]";
 1785     OS << " [[clang::cf_consumed]]";
 1819     OS << " __attribute__((cfi_canonical_jump_table))";
 1823     OS << " [[clang::cfi_canonical_jump_table]]";
 1827     OS << " [[clang::cfi_canonical_jump_table]]";
 1861     OS << " __attribute__((cf_returns_not_retained))";
 1865     OS << " [[clang::cf_returns_not_retained]]";
 1869     OS << " [[clang::cf_returns_not_retained]]";
 1903     OS << " __attribute__((cf_returns_retained))";
 1907     OS << " [[clang::cf_returns_retained]]";
 1911     OS << " [[clang::cf_returns_retained]]";
 1945     OS << " __attribute__((cf_unknown_transfer))";
 1949     OS << " [[clang::cf_unknown_transfer]]";
 1953     OS << " [[clang::cf_unknown_transfer]]";
 1987     OS << " __attribute__((cpu_dispatch(";
 1991     else OS << ", ";
 1994   OS << ")))";
 1998     OS << " [[clang::cpu_dispatch(";
 2002     else OS << ", ";
 2005   OS << ")]]";
 2009     OS << " [[clang::cpu_dispatch(";
 2013     else OS << ", ";
 2016   OS << ")]]";
 2020     OS << " __declspec(cpu_dispatch(";
 2024     else OS << ", ";
 2027   OS << "))";
 2063     OS << " __attribute__((cpu_specific(";
 2067     else OS << ", ";
 2070   OS << ")))";
 2074     OS << " [[clang::cpu_specific(";
 2078     else OS << ", ";
 2081   OS << ")]]";
 2085     OS << " [[clang::cpu_specific(";
 2089     else OS << ", ";
 2092   OS << ")]]";
 2096     OS << " __declspec(cpu_specific(";
 2100     else OS << ", ";
 2103   OS << "))";
 2139     OS << " __attribute__((constant))";
 2143     OS << " __declspec(__constant__)";
 2175     OS << " __attribute__((device))";
 2179     OS << " __declspec(__device__)";
 2211     OS << " __attribute__((global))";
 2215     OS << " __declspec(__global__)";
 2247     OS << " __attribute__((host))";
 2251     OS << " __declspec(__host__)";
 2298     OS << " __attribute__((launch_bounds(" << getMaxThreads() << ", " << getMinBlocks() << ")))";
 2298     OS << " __attribute__((launch_bounds(" << getMaxThreads() << ", " << getMinBlocks() << ")))";
 2298     OS << " __attribute__((launch_bounds(" << getMaxThreads() << ", " << getMinBlocks() << ")))";
 2302     OS << " __declspec(__launch_bounds__(" << getMaxThreads() << ", " << getMinBlocks() << "))";
 2302     OS << " __declspec(__launch_bounds__(" << getMaxThreads() << ", " << getMinBlocks() << "))";
 2302     OS << " __declspec(__launch_bounds__(" << getMaxThreads() << ", " << getMinBlocks() << "))";
 2334     OS << " __attribute__((shared))";
 2338     OS << " __declspec(__shared__)";
 2370     OS << " [[noreturn]]";
 2400     OS << " __attribute__((callable_when(";
 2404     else OS << ", ";
 2405     OS << "\"" << CallableWhenAttr::ConvertConsumedStateToStr(Val)<< "\"";
 2405     OS << "\"" << CallableWhenAttr::ConvertConsumedStateToStr(Val)<< "\"";
 2405     OS << "\"" << CallableWhenAttr::ConvertConsumedStateToStr(Val)<< "\"";
 2407   OS << ")))";
 2411     OS << " [[clang::callable_when(";
 2415     else OS << ", ";
 2416     OS << "\"" << CallableWhenAttr::ConvertConsumedStateToStr(Val)<< "\"";
 2416     OS << "\"" << CallableWhenAttr::ConvertConsumedStateToStr(Val)<< "\"";
 2416     OS << "\"" << CallableWhenAttr::ConvertConsumedStateToStr(Val)<< "\"";
 2418   OS << ")]]";
 2450     OS << " __attribute__((callback(";
 2454     else OS << ", ";
 2457   OS << ")))";
 2461     OS << " [[clang::callback(";
 2465     else OS << ", ";
 2468   OS << ")]]";
 2472     OS << " [[clang::callback(";
 2476     else OS << ", ";
 2479   OS << ")]]";
 2513     OS << " __attribute__((capability(\"" << getName() << "\")))";
 2513     OS << " __attribute__((capability(\"" << getName() << "\")))";
 2517     OS << " [[clang::capability(\"" << getName() << "\")]]";
 2517     OS << " [[clang::capability(\"" << getName() << "\")]]";
 2521     OS << " __attribute__((shared_capability(\"" << getName() << "\")))";
 2521     OS << " __attribute__((shared_capability(\"" << getName() << "\")))";
 2525     OS << " [[clang::shared_capability(\"" << getName() << "\")]]";
 2525     OS << " [[clang::shared_capability(\"" << getName() << "\")]]";
 2576     OS << " __attribute__((carries_dependency))";
 2580     OS << " [[carries_dependency]]";
 2612     OS << " __attribute__((cleanup(" << getFunctionDecl()->getNameInfo().getAsString() << ")))";
 2612     OS << " __attribute__((cleanup(" << getFunctionDecl()->getNameInfo().getAsString() << ")))";
 2616     OS << " [[gnu::cleanup(" << getFunctionDecl()->getNameInfo().getAsString() << ")]]";
 2616     OS << " [[gnu::cleanup(" << getFunctionDecl()->getNameInfo().getAsString() << ")]]";
 2648     OS << " __declspec(code_seg(\"" << getName() << "\"))";
 2648     OS << " __declspec(code_seg(\"" << getName() << "\"))";
 2678     OS << " __attribute__((cold))";
 2682     OS << " [[gnu::cold]]";
 2714     OS << " __attribute__((common))";
 2718     OS << " [[gnu::common]]";
 2750     OS << " __attribute__((const))";
 2754     OS << " [[gnu::const]]";
 2758     OS << " __attribute__((__const))";
 2762     OS << " [[gnu::__const]]";
 2798     OS << " constinit";
 2802     OS << " __attribute__((require_constant_initialization))";
 2806     OS << " [[clang::require_constant_initialization]]";
 2840     OS << " __attribute__((constructor(" << getPriority() << ")))";
 2840     OS << " __attribute__((constructor(" << getPriority() << ")))";
 2844     OS << " [[gnu::constructor(" << getPriority() << ")]]";
 2844     OS << " [[gnu::constructor(" << getPriority() << ")]]";
 2876     OS << " __attribute__((consumable(\"" << ConsumableAttr::ConvertConsumedStateToStr(getDefaultState()) << "\")))";
 2876     OS << " __attribute__((consumable(\"" << ConsumableAttr::ConvertConsumedStateToStr(getDefaultState()) << "\")))";
 2876     OS << " __attribute__((consumable(\"" << ConsumableAttr::ConvertConsumedStateToStr(getDefaultState()) << "\")))";
 2880     OS << " [[clang::consumable(\"" << ConsumableAttr::ConvertConsumedStateToStr(getDefaultState()) << "\")]]";
 2880     OS << " [[clang::consumable(\"" << ConsumableAttr::ConvertConsumedStateToStr(getDefaultState()) << "\")]]";
 2880     OS << " [[clang::consumable(\"" << ConsumableAttr::ConvertConsumedStateToStr(getDefaultState()) << "\")]]";
 2912     OS << " __attribute__((consumable_auto_cast_state))";
 2916     OS << " [[clang::consumable_auto_cast_state]]";
 2948     OS << " __attribute__((consumable_set_state_on_read))";
 2952     OS << " [[clang::consumable_set_state_on_read]]";
 2984     OS << " __attribute__((convergent))";
 2988     OS << " [[clang::convergent]]";
 2992     OS << " [[clang::convergent]]";
 3026     OS << " __declspec(dllexport)";
 3030     OS << " __attribute__((dllexport))";
 3034     OS << " [[gnu::dllexport]]";
 3083     OS << " __declspec(dllimport)";
 3087     OS << " __attribute__((dllimport))";
 3091     OS << " [[gnu::dllimport]]";
 3140     OS << " __attribute__((deprecated(\"" << getMessage() << "\"";
 3140     OS << " __attribute__((deprecated(\"" << getMessage() << "\"";
 3141     if (!getReplacement().empty()) OS << ", \"" << getReplacement() << "\"";
 3141     if (!getReplacement().empty()) OS << ", \"" << getReplacement() << "\"";
 3142     OS << ")))";
 3146     OS << " [[gnu::deprecated(\"" << getMessage() << "\"";
 3146     OS << " [[gnu::deprecated(\"" << getMessage() << "\"";
 3147     OS << ")]]";
 3151     OS << " __declspec(deprecated(\"" << getMessage() << "\"";
 3151     OS << " __declspec(deprecated(\"" << getMessage() << "\"";
 3152     OS << "))";
 3156     OS << " [[deprecated(\"" << getMessage() << "\"";
 3156     OS << " [[deprecated(\"" << getMessage() << "\"";
 3157     OS << ")]]";
 3161     OS << " [[deprecated(\"" << getMessage() << "\"";
 3161     OS << " [[deprecated(\"" << getMessage() << "\"";
 3162     OS << ")]]";
 3200     OS << " __attribute__((destructor(" << getPriority() << ")))";
 3200     OS << " __attribute__((destructor(" << getPriority() << ")))";
 3204     OS << " [[gnu::destructor(" << getPriority() << ")]]";
 3204     OS << " [[gnu::destructor(" << getPriority() << ")]]";
 3236     OS << " __attribute__((diagnose_if(" << getCond() << ", \"" << getMessage() << "\", \"" << DiagnoseIfAttr::ConvertDiagnosticTypeToStr(getDiagnosticType()) << "\")))";
 3236     OS << " __attribute__((diagnose_if(" << getCond() << ", \"" << getMessage() << "\", \"" << DiagnoseIfAttr::ConvertDiagnosticTypeToStr(getDiagnosticType()) << "\")))";
 3236     OS << " __attribute__((diagnose_if(" << getCond() << ", \"" << getMessage() << "\", \"" << DiagnoseIfAttr::ConvertDiagnosticTypeToStr(getDiagnosticType()) << "\")))";
 3236     OS << " __attribute__((diagnose_if(" << getCond() << ", \"" << getMessage() << "\", \"" << DiagnoseIfAttr::ConvertDiagnosticTypeToStr(getDiagnosticType()) << "\")))";
 3236     OS << " __attribute__((diagnose_if(" << getCond() << ", \"" << getMessage() << "\", \"" << DiagnoseIfAttr::ConvertDiagnosticTypeToStr(getDiagnosticType()) << "\")))";
 3266     OS << " __attribute__((disable_tail_calls))";
 3270     OS << " [[clang::disable_tail_calls]]";
 3274     OS << " [[clang::disable_tail_calls]]";
 3308     OS << " __declspec(empty_bases)";
 3338     OS << " __attribute__((enable_if(" << getCond() << ", \"" << getMessage() << "\")))";
 3338     OS << " __attribute__((enable_if(" << getCond() << ", \"" << getMessage() << "\")))";
 3338     OS << " __attribute__((enable_if(" << getCond() << ", \"" << getMessage() << "\")))";
 3368     OS << " __attribute__((enum_extensibility(\"" << EnumExtensibilityAttr::ConvertKindToStr(getExtensibility()) << "\")))";
 3368     OS << " __attribute__((enum_extensibility(\"" << EnumExtensibilityAttr::ConvertKindToStr(getExtensibility()) << "\")))";
 3368     OS << " __attribute__((enum_extensibility(\"" << EnumExtensibilityAttr::ConvertKindToStr(getExtensibility()) << "\")))";
 3372     OS << " [[clang::enum_extensibility(\"" << EnumExtensibilityAttr::ConvertKindToStr(getExtensibility()) << "\")]]";
 3372     OS << " [[clang::enum_extensibility(\"" << EnumExtensibilityAttr::ConvertKindToStr(getExtensibility()) << "\")]]";
 3372     OS << " [[clang::enum_extensibility(\"" << EnumExtensibilityAttr::ConvertKindToStr(getExtensibility()) << "\")]]";
 3376     OS << " [[clang::enum_extensibility(\"" << EnumExtensibilityAttr::ConvertKindToStr(getExtensibility()) << "\")]]";
 3376     OS << " [[clang::enum_extensibility(\"" << EnumExtensibilityAttr::ConvertKindToStr(getExtensibility()) << "\")]]";
 3376     OS << " [[clang::enum_extensibility(\"" << EnumExtensibilityAttr::ConvertKindToStr(getExtensibility()) << "\")]]";
 3410     OS << " __attribute__((exclude_from_explicit_instantiation))";
 3414     OS << " [[clang::exclude_from_explicit_instantiation]]";
 3418     OS << " [[clang::exclude_from_explicit_instantiation]]";
 3452     OS << " __attribute__((exclusive_trylock_function(" << getSuccessValue() << ", ";
 3452     OS << " __attribute__((exclusive_trylock_function(" << getSuccessValue() << ", ";
 3456     else OS << ", ";
 3459   OS << ")))";
 3489     OS << " __attribute__((external_source_symbol(\"" << getLanguage() << "\", \"" << getDefinedIn() << "\", " << getGeneratedDeclaration() << ")))";
 3489     OS << " __attribute__((external_source_symbol(\"" << getLanguage() << "\", \"" << getDefinedIn() << "\", " << getGeneratedDeclaration() << ")))";
 3489     OS << " __attribute__((external_source_symbol(\"" << getLanguage() << "\", \"" << getDefinedIn() << "\", " << getGeneratedDeclaration() << ")))";
 3489     OS << " __attribute__((external_source_symbol(\"" << getLanguage() << "\", \"" << getDefinedIn() << "\", " << getGeneratedDeclaration() << ")))";
 3493     OS << " [[clang::external_source_symbol(\"" << getLanguage() << "\", \"" << getDefinedIn() << "\", " << getGeneratedDeclaration() << ")]]";
 3493     OS << " [[clang::external_source_symbol(\"" << getLanguage() << "\", \"" << getDefinedIn() << "\", " << getGeneratedDeclaration() << ")]]";
 3493     OS << " [[clang::external_source_symbol(\"" << getLanguage() << "\", \"" << getDefinedIn() << "\", " << getGeneratedDeclaration() << ")]]";
 3493     OS << " [[clang::external_source_symbol(\"" << getLanguage() << "\", \"" << getDefinedIn() << "\", " << getGeneratedDeclaration() << ")]]";
 3497     OS << " [[clang::external_source_symbol(\"" << getLanguage() << "\", \"" << getDefinedIn() << "\", " << getGeneratedDeclaration() << ")]]";
 3497     OS << " [[clang::external_source_symbol(\"" << getLanguage() << "\", \"" << getDefinedIn() << "\", " << getGeneratedDeclaration() << ")]]";
 3497     OS << " [[clang::external_source_symbol(\"" << getLanguage() << "\", \"" << getDefinedIn() << "\", " << getGeneratedDeclaration() << ")]]";
 3497     OS << " [[clang::external_source_symbol(\"" << getLanguage() << "\", \"" << getDefinedIn() << "\", " << getGeneratedDeclaration() << ")]]";
 3531     OS << " [[fallthrough]]";
 3535     OS << " [[fallthrough]]";
 3539     OS << " [[clang::fallthrough]]";
 3543     OS << " __attribute__((fallthrough))";
 3547     OS << " [[gnu::fallthrough]]";
 3585     OS << " __attribute__((fastcall))";
 3589     OS << " [[gnu::fastcall]]";
 3593     OS << " __fastcall";
 3597     OS << " _fastcall";
 3633     OS << " final";
 3637     OS << " sealed";
 3669     OS << " __attribute__((flag_enum))";
 3673     OS << " [[clang::flag_enum]]";
 3677     OS << " [[clang::flag_enum]]";
 3711     OS << " __attribute__((flatten))";
 3715     OS << " [[gnu::flatten]]";
 3747     OS << " __attribute__((format(" << (getType() ? getType()->getName() : "") << ", " << getFormatIdx() << ", " << getFirstArg() << ")))";
 3747     OS << " __attribute__((format(" << (getType() ? getType()->getName() : "") << ", " << getFormatIdx() << ", " << getFirstArg() << ")))";
 3747     OS << " __attribute__((format(" << (getType() ? getType()->getName() : "") << ", " << getFormatIdx() << ", " << getFirstArg() << ")))";
 3747     OS << " __attribute__((format(" << (getType() ? getType()->getName() : "") << ", " << getFormatIdx() << ", " << getFirstArg() << ")))";
 3751     OS << " [[gnu::format(" << (getType() ? getType()->getName() : "") << ", " << getFormatIdx() << ", " << getFirstArg() << ")]]";
 3751     OS << " [[gnu::format(" << (getType() ? getType()->getName() : "") << ", " << getFormatIdx() << ", " << getFirstArg() << ")]]";
 3751     OS << " [[gnu::format(" << (getType() ? getType()->getName() : "") << ", " << getFormatIdx() << ", " << getFirstArg() << ")]]";
 3751     OS << " [[gnu::format(" << (getType() ? getType()->getName() : "") << ", " << getFormatIdx() << ", " << getFirstArg() << ")]]";
 3783     OS << " __attribute__((format_arg(" << getFormatIdx().getSourceIndex() << ")))";
 3783     OS << " __attribute__((format_arg(" << getFormatIdx().getSourceIndex() << ")))";
 3787     OS << " [[gnu::format_arg(" << getFormatIdx().getSourceIndex() << ")]]";
 3787     OS << " [[gnu::format_arg(" << getFormatIdx().getSourceIndex() << ")]]";
 3819     OS << " __attribute__((gnu_inline))";
 3823     OS << " [[gnu::gnu_inline]]";
 3855     OS << " __attribute__((guarded_by(" << getArg() << ")))";
 3855     OS << " __attribute__((guarded_by(" << getArg() << ")))";
 3885     OS << " __attribute__((guarded_var))";
 3889     OS << " [[clang::guarded_var]]";
 3921     OS << " __attribute__((hip_pinned_shadow))";
 3925     OS << " __declspec(__hip_pinned_shadow__)";
 3957     OS << " __attribute__((hot))";
 3961     OS << " [[gnu::hot]]";
 3993     OS << " __attribute__((ibaction))";
 3997     OS << " [[clang::ibaction]]";
 4001     OS << " [[clang::ibaction]]";
 4035     OS << " __attribute__((iboutlet))";
 4039     OS << " [[clang::iboutlet]]";
 4043     OS << " [[clang::iboutlet]]";
 4077     OS << " __attribute__((iboutletcollection";
 4081     OS << "";
 4083        OS << "(";
 4084     OS << "";
 4086       OS << "" << getInterface().getAsString() << "";
 4086       OS << "" << getInterface().getAsString() << "";
 4088     OS << "";
 4090        OS << ")";
 4091     OS << "))";
 4095     OS << " [[clang::iboutletcollection";
 4099     OS << "";
 4101        OS << "(";
 4102     OS << "";
 4104       OS << "" << getInterface().getAsString() << "";
 4104       OS << "" << getInterface().getAsString() << "";
 4106     OS << "";
 4108        OS << ")";
 4109     OS << "]]";
 4113     OS << " [[clang::iboutletcollection";
 4117     OS << "";
 4119        OS << "(";
 4120     OS << "";
 4122       OS << "" << getInterface().getAsString() << "";
 4122       OS << "" << getInterface().getAsString() << "";
 4124     OS << "";
 4126        OS << ")";
 4127     OS << "]]";
 4161     OS << " __attribute__((ifunc(\"" << getResolver() << "\")))";
 4161     OS << " __attribute__((ifunc(\"" << getResolver() << "\")))";
 4165     OS << " [[gnu::ifunc(\"" << getResolver() << "\")]]";
 4165     OS << " [[gnu::ifunc(\"" << getResolver() << "\")]]";
 4197     OS << " __attribute__((init_priority(" << getPriority() << ")))";
 4197     OS << " __attribute__((init_priority(" << getPriority() << ")))";
 4201     OS << " [[gnu::init_priority(" << getPriority() << ")]]";
 4201     OS << " [[gnu::init_priority(" << getPriority() << ")]]";
 4233     OS << "#pragma init_seg";
 4235     OS << "\n";    break;
 4264     OS << " __attribute__((intel_ocl_bicc))";
 4268     OS << " [[clang::intel_ocl_bicc]]";
 4300     OS << " __attribute__((internal_linkage))";
 4304     OS << " [[clang::internal_linkage]]";
 4308     OS << " [[clang::internal_linkage]]";
 4342     OS << " __attribute__((lto_visibility_public))";
 4346     OS << " [[clang::lto_visibility_public]]";
 4350     OS << " [[clang::lto_visibility_public]]";
 4384     OS << " __declspec(layout_version(" << getVersion() << "))";
 4384     OS << " __declspec(layout_version(" << getVersion() << "))";
 4414     OS << " __attribute__((lifetimebound))";
 4418     OS << " [[clang::lifetimebound]]";
 4450     OS << " __attribute__((lock_returned(" << getArg() << ")))";
 4450     OS << " __attribute__((lock_returned(" << getArg() << ")))";
 4480     OS << " __attribute__((locks_excluded(";
 4484     else OS << ", ";
 4487   OS << ")))";
 4517     OS << "#pragma clang loop";
 4519     OS << "\n";    break;
 4522     OS << "#pragma unroll";
 4524     OS << "\n";    break;
 4527     OS << "#pragma nounroll";
 4529     OS << "\n";    break;
 4532     OS << "#pragma unroll_and_jam";
 4534     OS << "\n";    break;
 4537     OS << "#pragma nounroll_and_jam";
 4539     OS << "\n";    break;
 4576     OS << " __attribute__((mig_server_routine))";
 4580     OS << " [[clang::mig_server_routine]]";
 4584     OS << " [[clang::mig_server_routine]]";
 4618     OS << " __attribute__((ms_abi))";
 4622     OS << " [[gnu::ms_abi]]";
 4654     OS << " __declspec(allocator)";
 4684     OS << " __single_inheritance";
 4688     OS << " __multiple_inheritance";
 4692     OS << " __virtual_inheritance";
 4696     OS << " __unspecified_inheritance";
 4732     OS << " __declspec(novtable)";
 4762     OS << " __attribute__((interrupt(" << getNumber() << ")))";
 4762     OS << " __attribute__((interrupt(" << getNumber() << ")))";
 4766     OS << " [[gnu::interrupt(" << getNumber() << ")]]";
 4766     OS << " [[gnu::interrupt(" << getNumber() << ")]]";
 4798     OS << " __attribute__((ms_struct))";
 4802     OS << " [[gnu::ms_struct]]";
 4864     OS << " __attribute__((may_alias))";
 4868     OS << " [[gnu::may_alias]]";
 4900     OS << " __attribute__((micromips))";
 4904     OS << " [[gnu::micromips]]";
 4936     OS << " __attribute__((minsize))";
 4940     OS << " [[clang::minsize]]";
 4944     OS << " [[clang::minsize]]";
 4978     OS << " __attribute__((min_vector_width(" << getVectorWidth() << ")))";
 4978     OS << " __attribute__((min_vector_width(" << getVectorWidth() << ")))";
 4982     OS << " [[clang::min_vector_width(" << getVectorWidth() << ")]]";
 4982     OS << " [[clang::min_vector_width(" << getVectorWidth() << ")]]";
 4986     OS << " [[clang::min_vector_width(" << getVectorWidth() << ")]]";
 4986     OS << " [[clang::min_vector_width(" << getVectorWidth() << ")]]";
 5020     OS << " __attribute__((mips16))";
 5024     OS << " [[gnu::mips16]]";
 5056     OS << " __attribute__((interrupt(\"" << MipsInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")))";
 5056     OS << " __attribute__((interrupt(\"" << MipsInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")))";
 5056     OS << " __attribute__((interrupt(\"" << MipsInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")))";
 5060     OS << " [[gnu::interrupt(\"" << MipsInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")]]";
 5060     OS << " [[gnu::interrupt(\"" << MipsInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")]]";
 5060     OS << " [[gnu::interrupt(\"" << MipsInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")]]";
 5092     OS << " __attribute__((long_call))";
 5096     OS << " [[gnu::long_call]]";
 5100     OS << " __attribute__((far))";
 5104     OS << " [[gnu::far]]";
 5140     OS << " __attribute__((short_call))";
 5144     OS << " [[gnu::short_call]]";
 5148     OS << " __attribute__((near))";
 5152     OS << " [[gnu::near]]";
 5188     OS << " __attribute__((mode(" << (getMode() ? getMode()->getName() : "") << ")))";
 5188     OS << " __attribute__((mode(" << (getMode() ? getMode()->getName() : "") << ")))";
 5192     OS << " [[gnu::mode(" << (getMode() ? getMode()->getName() : "") << ")]]";
 5192     OS << " [[gnu::mode(" << (getMode() ? getMode()->getName() : "") << ")]]";
 5224     OS << " __attribute__((ns_consumed))";
 5228     OS << " [[clang::ns_consumed]]";
 5232     OS << " [[clang::ns_consumed]]";
 5266     OS << " __attribute__((ns_consumes_self))";
 5270     OS << " [[clang::ns_consumes_self]]";
 5274     OS << " [[clang::ns_consumes_self]]";
 5308     OS << " __attribute__((ns_returns_autoreleased))";
 5312     OS << " [[clang::ns_returns_autoreleased]]";
 5316     OS << " [[clang::ns_returns_autoreleased]]";
 5350     OS << " __attribute__((ns_returns_not_retained))";
 5354     OS << " [[clang::ns_returns_not_retained]]";
 5358     OS << " [[clang::ns_returns_not_retained]]";
 5392     OS << " __attribute__((ns_returns_retained))";
 5396     OS << " [[clang::ns_returns_retained]]";
 5400     OS << " [[clang::ns_returns_retained]]";
 5434     OS << " __attribute__((naked))";
 5438     OS << " [[gnu::naked]]";
 5442     OS << " __declspec(naked)";
 5476     OS << " __declspec(noalias)";
 5506     OS << " __attribute__((nocommon))";
 5510     OS << " [[gnu::nocommon]]";
 5542     OS << " __attribute__((nodebug))";
 5546     OS << " [[gnu::nodebug]]";
 5578     OS << " __attribute__((noderef))";
 5582     OS << " [[clang::noderef]]";
 5586     OS << " [[clang::noderef]]";
 5620     OS << " __attribute__((no_destroy))";
 5624     OS << " [[clang::no_destroy]]";
 5656     OS << " __attribute__((noduplicate))";
 5660     OS << " [[clang::noduplicate]]";
 5664     OS << " [[clang::noduplicate]]";
 5698     OS << " __attribute__((noescape))";
 5702     OS << " [[clang::noescape]]";
 5706     OS << " [[clang::noescape]]";
 5740     OS << " __attribute__((noinline))";
 5744     OS << " [[gnu::noinline]]";
 5748     OS << " __declspec(noinline)";
 5782     OS << " __attribute__((no_instrument_function))";
 5786     OS << " [[gnu::no_instrument_function]]";
 5818     OS << " __attribute__((nomicromips))";
 5822     OS << " [[gnu::nomicromips]]";
 5854     OS << " __attribute__((nomips16))";
 5858     OS << " [[gnu::nomips16]]";
 5890     OS << " __attribute__((noreturn))";
 5894     OS << " [[gnu::noreturn]]";
 5898     OS << " __declspec(noreturn)";
 5932     OS << " __attribute__((no_sanitize(";
 5936     else OS << ", ";
 5937     OS << "\"" << Val << "\"";
 5937     OS << "\"" << Val << "\"";
 5939   OS << ")))";
 5943     OS << " [[clang::no_sanitize(";
 5947     else OS << ", ";
 5948     OS << "\"" << Val << "\"";
 5948     OS << "\"" << Val << "\"";
 5950   OS << ")]]";
 5954     OS << " [[clang::no_sanitize(";
 5958     else OS << ", ";
 5959     OS << "\"" << Val << "\"";
 5959     OS << "\"" << Val << "\"";
 5961   OS << ")]]";
 5995     OS << " __attribute__((no_speculative_load_hardening))";
 5999     OS << " [[clang::no_speculative_load_hardening]]";
 6003     OS << " [[clang::no_speculative_load_hardening]]";
 6037     OS << " __attribute__((no_split_stack))";
 6041     OS << " [[gnu::no_split_stack]]";
 6073     OS << " __attribute__((no_stack_protector))";
 6077     OS << " [[clang::no_stack_protector]]";
 6081     OS << " [[clang::no_stack_protector]]";
 6115     OS << " __attribute__((no_thread_safety_analysis))";
 6119     OS << " [[clang::no_thread_safety_analysis]]";
 6123     OS << " [[clang::no_thread_safety_analysis]]";
 6157     OS << " __attribute__((nothrow))";
 6161     OS << " [[gnu::nothrow]]";
 6165     OS << " __declspec(nothrow)";
 6199     OS << " [[no_unique_address]]";
 6229     OS << " __attribute__((nonnull(";
 6233     else OS << ", ";
 6236   OS << ")))";
 6240     OS << " [[gnu::nonnull(";
 6244     else OS << ", ";
 6247   OS << ")]]";
 6279     OS << " __attribute__((not_tail_called))";
 6283     OS << " [[clang::not_tail_called]]";
 6287     OS << " [[clang::not_tail_called]]";
 6366     OS << "#pragma omp declare simd";
 6368     OS << "\n";    break;
 6397     OS << "#pragma omp declare target";
 6399     OS << "\n";    break;
 6428     OS << "#pragma omp declare variant";
 6430     OS << "\n";    break;
 6489     OS << " __attribute__((os_consumed))";
 6493     OS << " [[clang::os_consumed]]";
 6497     OS << " [[clang::os_consumed]]";
 6531     OS << " __attribute__((os_consumes_this))";
 6535     OS << " [[clang::os_consumes_this]]";
 6539     OS << " [[clang::os_consumes_this]]";
 6573     OS << " __attribute__((os_returns_not_retained))";
 6577     OS << " [[clang::os_returns_not_retained]]";
 6581     OS << " [[clang::os_returns_not_retained]]";
 6615     OS << " __attribute__((os_returns_retained))";
 6619     OS << " [[clang::os_returns_retained]]";
 6623     OS << " [[clang::os_returns_retained]]";
 6657     OS << " __attribute__((os_returns_retained_on_non_zero))";
 6661     OS << " [[clang::os_returns_retained_on_non_zero]]";
 6665     OS << " [[clang::os_returns_retained_on_non_zero]]";
 6699     OS << " __attribute__((os_returns_retained_on_zero))";
 6703     OS << " [[clang::os_returns_retained_on_zero]]";
 6707     OS << " [[clang::os_returns_retained_on_zero]]";
 6741     OS << " __attribute__((objc_boxable))";
 6745     OS << " [[clang::objc_boxable]]";
 6749     OS << " [[clang::objc_boxable]]";
 6783     OS << " __attribute__((objc_bridge(" << (getBridgedType() ? getBridgedType()->getName() : "") << ")))";
 6783     OS << " __attribute__((objc_bridge(" << (getBridgedType() ? getBridgedType()->getName() : "") << ")))";
 6787     OS << " [[clang::objc_bridge(" << (getBridgedType() ? getBridgedType()->getName() : "") << ")]]";
 6787     OS << " [[clang::objc_bridge(" << (getBridgedType() ? getBridgedType()->getName() : "") << ")]]";
 6791     OS << " [[clang::objc_bridge(" << (getBridgedType() ? getBridgedType()->getName() : "") << ")]]";
 6791     OS << " [[clang::objc_bridge(" << (getBridgedType() ? getBridgedType()->getName() : "") << ")]]";
 6825     OS << " __attribute__((objc_bridge_mutable(" << (getBridgedType() ? getBridgedType()->getName() : "") << ")))";
 6825     OS << " __attribute__((objc_bridge_mutable(" << (getBridgedType() ? getBridgedType()->getName() : "") << ")))";
 6829     OS << " [[clang::objc_bridge_mutable(" << (getBridgedType() ? getBridgedType()->getName() : "") << ")]]";
 6829     OS << " [[clang::objc_bridge_mutable(" << (getBridgedType() ? getBridgedType()->getName() : "") << ")]]";
 6833     OS << " [[clang::objc_bridge_mutable(" << (getBridgedType() ? getBridgedType()->getName() : "") << ")]]";
 6833     OS << " [[clang::objc_bridge_mutable(" << (getBridgedType() ? getBridgedType()->getName() : "") << ")]]";
 6867     OS << " __attribute__((objc_bridge_related(" << (getRelatedClass() ? getRelatedClass()->getName() : "") << ", " << (getClassMethod() ? getClassMethod()->getName() : "") << ", " << (getInstanceMethod() ? getInstanceMethod()->getName() : "") << ")))";
 6867     OS << " __attribute__((objc_bridge_related(" << (getRelatedClass() ? getRelatedClass()->getName() : "") << ", " << (getClassMethod() ? getClassMethod()->getName() : "") << ", " << (getInstanceMethod() ? getInstanceMethod()->getName() : "") << ")))";
 6867     OS << " __attribute__((objc_bridge_related(" << (getRelatedClass() ? getRelatedClass()->getName() : "") << ", " << (getClassMethod() ? getClassMethod()->getName() : "") << ", " << (getInstanceMethod() ? getInstanceMethod()->getName() : "") << ")))";
 6867     OS << " __attribute__((objc_bridge_related(" << (getRelatedClass() ? getRelatedClass()->getName() : "") << ", " << (getClassMethod() ? getClassMethod()->getName() : "") << ", " << (getInstanceMethod() ? getInstanceMethod()->getName() : "") << ")))";
 6871     OS << " [[clang::objc_bridge_related(" << (getRelatedClass() ? getRelatedClass()->getName() : "") << ", " << (getClassMethod() ? getClassMethod()->getName() : "") << ", " << (getInstanceMethod() ? getInstanceMethod()->getName() : "") << ")]]";
 6871     OS << " [[clang::objc_bridge_related(" << (getRelatedClass() ? getRelatedClass()->getName() : "") << ", " << (getClassMethod() ? getClassMethod()->getName() : "") << ", " << (getInstanceMethod() ? getInstanceMethod()->getName() : "") << ")]]";
 6871     OS << " [[clang::objc_bridge_related(" << (getRelatedClass() ? getRelatedClass()->getName() : "") << ", " << (getClassMethod() ? getClassMethod()->getName() : "") << ", " << (getInstanceMethod() ? getInstanceMethod()->getName() : "") << ")]]";
 6871     OS << " [[clang::objc_bridge_related(" << (getRelatedClass() ? getRelatedClass()->getName() : "") << ", " << (getClassMethod() ? getClassMethod()->getName() : "") << ", " << (getInstanceMethod() ? getInstanceMethod()->getName() : "") << ")]]";
 6875     OS << " [[clang::objc_bridge_related(" << (getRelatedClass() ? getRelatedClass()->getName() : "") << ", " << (getClassMethod() ? getClassMethod()->getName() : "") << ", " << (getInstanceMethod() ? getInstanceMethod()->getName() : "") << ")]]";
 6875     OS << " [[clang::objc_bridge_related(" << (getRelatedClass() ? getRelatedClass()->getName() : "") << ", " << (getClassMethod() ? getClassMethod()->getName() : "") << ", " << (getInstanceMethod() ? getInstanceMethod()->getName() : "") << ")]]";
 6875     OS << " [[clang::objc_bridge_related(" << (getRelatedClass() ? getRelatedClass()->getName() : "") << ", " << (getClassMethod() ? getClassMethod()->getName() : "") << ", " << (getInstanceMethod() ? getInstanceMethod()->getName() : "") << ")]]";
 6875     OS << " [[clang::objc_bridge_related(" << (getRelatedClass() ? getRelatedClass()->getName() : "") << ", " << (getClassMethod() ? getClassMethod()->getName() : "") << ", " << (getInstanceMethod() ? getInstanceMethod()->getName() : "") << ")]]";
 6909     OS << " __attribute__((objc_class_stub))";
 6913     OS << " [[clang::objc_class_stub]]";
 6917     OS << " [[clang::objc_class_stub]]";
 6951     OS << " __attribute__((objc_designated_initializer))";
 6955     OS << " [[clang::objc_designated_initializer]]";
 6959     OS << " [[clang::objc_designated_initializer]]";
 6993     OS << " __attribute__((objc_exception))";
 6997     OS << " [[clang::objc_exception]]";
 7001     OS << " [[clang::objc_exception]]";
 7035     OS << " __attribute__((objc_protocol_requires_explicit_implementation))";
 7039     OS << " [[clang::objc_protocol_requires_explicit_implementation]]";
 7043     OS << " [[clang::objc_protocol_requires_explicit_implementation]]";
 7077     OS << " __attribute__((objc_externally_retained))";
 7081     OS << " [[clang::objc_externally_retained]]";
 7085     OS << " [[clang::objc_externally_retained]]";
 7119     OS << " __attribute__((objc_gc(" << (getKind() ? getKind()->getName() : "") << ")))";
 7119     OS << " __attribute__((objc_gc(" << (getKind() ? getKind()->getName() : "") << ")))";
 7123     OS << " [[clang::objc_gc(" << (getKind() ? getKind()->getName() : "") << ")]]";
 7123     OS << " [[clang::objc_gc(" << (getKind() ? getKind()->getName() : "") << ")]]";
 7127     OS << " [[clang::objc_gc(" << (getKind() ? getKind()->getName() : "") << ")]]";
 7127     OS << " [[clang::objc_gc(" << (getKind() ? getKind()->getName() : "") << ")]]";
 7161     OS << " __attribute__((objc_independent_class))";
 7165     OS << " [[clang::objc_independent_class]]";
 7169     OS << " [[clang::objc_independent_class]]";
 7203     OS << " __unsafe_unretained";
 7233     OS << " __kindof";
 7263     OS << " __attribute__((objc_method_family(\"" << ObjCMethodFamilyAttr::ConvertFamilyKindToStr(getFamily()) << "\")))";
 7263     OS << " __attribute__((objc_method_family(\"" << ObjCMethodFamilyAttr::ConvertFamilyKindToStr(getFamily()) << "\")))";
 7263     OS << " __attribute__((objc_method_family(\"" << ObjCMethodFamilyAttr::ConvertFamilyKindToStr(getFamily()) << "\")))";
 7267     OS << " [[clang::objc_method_family(\"" << ObjCMethodFamilyAttr::ConvertFamilyKindToStr(getFamily()) << "\")]]";
 7267     OS << " [[clang::objc_method_family(\"" << ObjCMethodFamilyAttr::ConvertFamilyKindToStr(getFamily()) << "\")]]";
 7267     OS << " [[clang::objc_method_family(\"" << ObjCMethodFamilyAttr::ConvertFamilyKindToStr(getFamily()) << "\")]]";
 7271     OS << " [[clang::objc_method_family(\"" << ObjCMethodFamilyAttr::ConvertFamilyKindToStr(getFamily()) << "\")]]";
 7271     OS << " [[clang::objc_method_family(\"" << ObjCMethodFamilyAttr::ConvertFamilyKindToStr(getFamily()) << "\")]]";
 7271     OS << " [[clang::objc_method_family(\"" << ObjCMethodFamilyAttr::ConvertFamilyKindToStr(getFamily()) << "\")]]";
 7305     OS << " __attribute__((NSObject))";
 7309     OS << " [[clang::NSObject]]";
 7313     OS << " [[clang::NSObject]]";
 7347     OS << " __attribute__((objc_nonlazy_class))";
 7351     OS << " [[clang::objc_nonlazy_class]]";
 7355     OS << " [[clang::objc_nonlazy_class]]";
 7389     OS << " __attribute__((objc_ownership(" << (getKind() ? getKind()->getName() : "") << ")))";
 7389     OS << " __attribute__((objc_ownership(" << (getKind() ? getKind()->getName() : "") << ")))";
 7393     OS << " [[clang::objc_ownership(" << (getKind() ? getKind()->getName() : "") << ")]]";
 7393     OS << " [[clang::objc_ownership(" << (getKind() ? getKind()->getName() : "") << ")]]";
 7397     OS << " [[clang::objc_ownership(" << (getKind() ? getKind()->getName() : "") << ")]]";
 7397     OS << " [[clang::objc_ownership(" << (getKind() ? getKind()->getName() : "") << ")]]";
 7431     OS << " __attribute__((objc_precise_lifetime))";
 7435     OS << " [[clang::objc_precise_lifetime]]";
 7439     OS << " [[clang::objc_precise_lifetime]]";
 7473     OS << " __attribute__((objc_requires_property_definitions))";
 7477     OS << " [[clang::objc_requires_property_definitions]]";
 7481     OS << " [[clang::objc_requires_property_definitions]]";
 7515     OS << " __attribute__((objc_requires_super))";
 7519     OS << " [[clang::objc_requires_super]]";
 7523     OS << " [[clang::objc_requires_super]]";
 7557     OS << " __attribute__((objc_returns_inner_pointer))";
 7561     OS << " [[clang::objc_returns_inner_pointer]]";
 7565     OS << " [[clang::objc_returns_inner_pointer]]";
 7599     OS << " __attribute__((objc_root_class))";
 7603     OS << " [[clang::objc_root_class]]";
 7607     OS << " [[clang::objc_root_class]]";
 7641     OS << " __attribute__((objc_runtime_name(\"" << getMetadataName() << "\")))";
 7641     OS << " __attribute__((objc_runtime_name(\"" << getMetadataName() << "\")))";
 7645     OS << " [[clang::objc_runtime_name(\"" << getMetadataName() << "\")]]";
 7645     OS << " [[clang::objc_runtime_name(\"" << getMetadataName() << "\")]]";
 7649     OS << " [[clang::objc_runtime_name(\"" << getMetadataName() << "\")]]";
 7649     OS << " [[clang::objc_runtime_name(\"" << getMetadataName() << "\")]]";
 7683     OS << " __attribute__((objc_runtime_visible))";
 7687     OS << " [[clang::objc_runtime_visible]]";
 7691     OS << " [[clang::objc_runtime_visible]]";
 7725     OS << " __attribute__((objc_subclassing_restricted))";
 7729     OS << " [[clang::objc_subclassing_restricted]]";
 7733     OS << " [[clang::objc_subclassing_restricted]]";
 7767     OS << " __read_only";
 7771     OS << " read_only";
 7775     OS << " __write_only";
 7779     OS << " write_only";
 7783     OS << " __read_write";
 7787     OS << " read_write";
 7827     OS << " __constant";
 7831     OS << " constant";
 7863     OS << " __generic";
 7867     OS << " generic";
 7899     OS << " __global";
 7903     OS << " global";
 7935     OS << " __attribute__((intel_reqd_sub_group_size(" << getSubGroupSize() << ")))";
 7935     OS << " __attribute__((intel_reqd_sub_group_size(" << getSubGroupSize() << ")))";
 7965     OS << " __kernel";
 7969     OS << " kernel";
 8001     OS << " __local";
 8005     OS << " local";
 8037     OS << " __private";
 8041     OS << " private";
 8073     OS << " __attribute__((opencl_unroll_hint(" << getUnrollHint() << ")))";
 8073     OS << " __attribute__((opencl_unroll_hint(" << getUnrollHint() << ")))";
 8103     OS << " __attribute__((optnone))";
 8107     OS << " [[clang::optnone]]";
 8111     OS << " [[clang::optnone]]";
 8145     OS << " __attribute__((overloadable))";
 8149     OS << " [[clang::overloadable]]";
 8153     OS << " [[clang::overloadable]]";
 8187     OS << " override";
 8217     OS << " [[gsl::Owner";
 8221     OS << "";
 8223        OS << "(";
 8224     OS << "";
 8226       OS << "" << getDerefType().getAsString() << "";
 8226       OS << "" << getDerefType().getAsString() << "";
 8228     OS << "";
 8230        OS << ")";
 8231     OS << "]]";
 8261     OS << " __attribute__((ownership_holds(" << (getModule() ? getModule()->getName() : "") << ", ";
 8261     OS << " __attribute__((ownership_holds(" << (getModule() ? getModule()->getName() : "") << ", ";
 8265     else OS << ", ";
 8268   OS << ")))";
 8272     OS << " [[clang::ownership_holds(" << (getModule() ? getModule()->getName() : "") << ", ";
 8272     OS << " [[clang::ownership_holds(" << (getModule() ? getModule()->getName() : "") << ", ";
 8276     else OS << ", ";
 8279   OS << ")]]";
 8283     OS << " [[clang::ownership_holds(" << (getModule() ? getModule()->getName() : "") << ", ";
 8283     OS << " [[clang::ownership_holds(" << (getModule() ? getModule()->getName() : "") << ", ";
 8287     else OS << ", ";
 8290   OS << ")]]";
 8294     OS << " __attribute__((ownership_returns(" << (getModule() ? getModule()->getName() : "") << ", ";
 8294     OS << " __attribute__((ownership_returns(" << (getModule() ? getModule()->getName() : "") << ", ";
 8298     else OS << ", ";
 8301   OS << ")))";
 8305     OS << " [[clang::ownership_returns(" << (getModule() ? getModule()->getName() : "") << ", ";
 8305     OS << " [[clang::ownership_returns(" << (getModule() ? getModule()->getName() : "") << ", ";
 8309     else OS << ", ";
 8312   OS << ")]]";
 8316     OS << " [[clang::ownership_returns(" << (getModule() ? getModule()->getName() : "") << ", ";
 8316     OS << " [[clang::ownership_returns(" << (getModule() ? getModule()->getName() : "") << ", ";
 8320     else OS << ", ";
 8323   OS << ")]]";
 8327     OS << " __attribute__((ownership_takes(" << (getModule() ? getModule()->getName() : "") << ", ";
 8327     OS << " __attribute__((ownership_takes(" << (getModule() ? getModule()->getName() : "") << ", ";
 8331     else OS << ", ";
 8334   OS << ")))";
 8338     OS << " [[clang::ownership_takes(" << (getModule() ? getModule()->getName() : "") << ", ";
 8338     OS << " [[clang::ownership_takes(" << (getModule() ? getModule()->getName() : "") << ", ";
 8342     else OS << ", ";
 8345   OS << ")]]";
 8349     OS << " [[clang::ownership_takes(" << (getModule() ? getModule()->getName() : "") << ", ";
 8349     OS << " [[clang::ownership_takes(" << (getModule() ? getModule()->getName() : "") << ", ";
 8353     else OS << ", ";
 8356   OS << ")]]";
 8402     OS << " __attribute__((packed))";
 8406     OS << " [[gnu::packed]]";
 8438     OS << " __attribute__((param_typestate(\"" << ParamTypestateAttr::ConvertConsumedStateToStr(getParamState()) << "\")))";
 8438     OS << " __attribute__((param_typestate(\"" << ParamTypestateAttr::ConvertConsumedStateToStr(getParamState()) << "\")))";
 8438     OS << " __attribute__((param_typestate(\"" << ParamTypestateAttr::ConvertConsumedStateToStr(getParamState()) << "\")))";
 8442     OS << " [[clang::param_typestate(\"" << ParamTypestateAttr::ConvertConsumedStateToStr(getParamState()) << "\")]]";
 8442     OS << " [[clang::param_typestate(\"" << ParamTypestateAttr::ConvertConsumedStateToStr(getParamState()) << "\")]]";
 8442     OS << " [[clang::param_typestate(\"" << ParamTypestateAttr::ConvertConsumedStateToStr(getParamState()) << "\")]]";
 8474     OS << " __attribute__((pascal))";
 8478     OS << " [[clang::pascal]]";
 8482     OS << " [[clang::pascal]]";
 8486     OS << " __pascal";
 8490     OS << " _pascal";
 8528     OS << " __attribute__((pass_object_size(" << getType() << ")))";
 8528     OS << " __attribute__((pass_object_size(" << getType() << ")))";
 8532     OS << " [[clang::pass_object_size(" << getType() << ")]]";
 8532     OS << " [[clang::pass_object_size(" << getType() << ")]]";
 8536     OS << " [[clang::pass_object_size(" << getType() << ")]]";
 8536     OS << " [[clang::pass_object_size(" << getType() << ")]]";
 8540     OS << " __attribute__((pass_dynamic_object_size(" << getType() << ")))";
 8540     OS << " __attribute__((pass_dynamic_object_size(" << getType() << ")))";
 8544     OS << " [[clang::pass_dynamic_object_size(" << getType() << ")]]";
 8544     OS << " [[clang::pass_dynamic_object_size(" << getType() << ")]]";
 8548     OS << " [[clang::pass_dynamic_object_size(" << getType() << ")]]";
 8548     OS << " [[clang::pass_dynamic_object_size(" << getType() << ")]]";
 8588     OS << " __attribute__((pcs(\"" << PcsAttr::ConvertPCSTypeToStr(getPCS()) << "\")))";
 8588     OS << " __attribute__((pcs(\"" << PcsAttr::ConvertPCSTypeToStr(getPCS()) << "\")))";
 8588     OS << " __attribute__((pcs(\"" << PcsAttr::ConvertPCSTypeToStr(getPCS()) << "\")))";
 8592     OS << " [[gnu::pcs(\"" << PcsAttr::ConvertPCSTypeToStr(getPCS()) << "\")]]";
 8592     OS << " [[gnu::pcs(\"" << PcsAttr::ConvertPCSTypeToStr(getPCS()) << "\")]]";
 8592     OS << " [[gnu::pcs(\"" << PcsAttr::ConvertPCSTypeToStr(getPCS()) << "\")]]";
 8624     OS << " [[gsl::Pointer";
 8628     OS << "";
 8630        OS << "(";
 8631     OS << "";
 8633       OS << "" << getDerefType().getAsString() << "";
 8633       OS << "" << getDerefType().getAsString() << "";
 8635     OS << "";
 8637        OS << ")";
 8638     OS << "]]";
 8743     OS << " __attribute__((preserve_all))";
 8747     OS << " [[clang::preserve_all]]";
 8751     OS << " [[clang::preserve_all]]";
 8785     OS << " __attribute__((preserve_most))";
 8789     OS << " [[clang::preserve_most]]";
 8793     OS << " [[clang::preserve_most]]";
 8827     OS << " __attribute__((pt_guarded_by(" << getArg() << ")))";
 8827     OS << " __attribute__((pt_guarded_by(" << getArg() << ")))";
 8857     OS << " __attribute__((pt_guarded_var))";
 8861     OS << " [[clang::pt_guarded_var]]";
 8893     OS << " __ptr32";
 8923     OS << " __ptr64";
 8953     OS << " __attribute__((pure))";
 8957     OS << " [[gnu::pure]]";
 8989     OS << " __attribute__((interrupt(\"" << RISCVInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")))";
 8989     OS << " __attribute__((interrupt(\"" << RISCVInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")))";
 8989     OS << " __attribute__((interrupt(\"" << RISCVInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")))";
 8993     OS << " [[gnu::interrupt(\"" << RISCVInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")]]";
 8993     OS << " [[gnu::interrupt(\"" << RISCVInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")]]";
 8993     OS << " [[gnu::interrupt(\"" << RISCVInterruptAttr::ConvertInterruptTypeToStr(getInterrupt()) << "\")]]";
 9025     OS << " __attribute__((regcall))";
 9029     OS << " [[gnu::regcall]]";
 9033     OS << " __regcall";
 9067     OS << " __attribute__((reinitializes))";
 9071     OS << " [[clang::reinitializes]]";
 9103     OS << " __attribute__((release_capability(";
 9107     else OS << ", ";
 9110   OS << ")))";
 9114     OS << " [[clang::release_capability(";
 9118     else OS << ", ";
 9121   OS << ")]]";
 9125     OS << " __attribute__((release_shared_capability(";
 9129     else OS << ", ";
 9132   OS << ")))";
 9136     OS << " [[clang::release_shared_capability(";
 9140     else OS << ", ";
 9143   OS << ")]]";
 9147     OS << " __attribute__((release_generic_capability(";
 9151     else OS << ", ";
 9154   OS << ")))";
 9158     OS << " [[clang::release_generic_capability(";
 9162     else OS << ", ";
 9165   OS << ")]]";
 9169     OS << " __attribute__((unlock_function(";
 9173     else OS << ", ";
 9176   OS << ")))";
 9180     OS << " [[clang::unlock_function(";
 9184     else OS << ", ";
 9187   OS << ")]]";
 9231     OS << " __attribute__((kernel))";
 9261     OS << " __attribute__((reqd_work_group_size(" << getXDim() << ", " << getYDim() << ", " << getZDim() << ")))";
 9261     OS << " __attribute__((reqd_work_group_size(" << getXDim() << ", " << getYDim() << ", " << getZDim() << ")))";
 9261     OS << " __attribute__((reqd_work_group_size(" << getXDim() << ", " << getYDim() << ", " << getZDim() << ")))";
 9261     OS << " __attribute__((reqd_work_group_size(" << getXDim() << ", " << getYDim() << ", " << getZDim() << ")))";
 9291     OS << " __attribute__((requires_capability(";
 9295     else OS << ", ";
 9298   OS << ")))";
 9302     OS << " [[clang::requires_capability(";
 9306     else OS << ", ";
 9309   OS << ")]]";
 9313     OS << " __attribute__((exclusive_locks_required(";
 9317     else OS << ", ";
 9320   OS << ")))";
 9324     OS << " [[clang::exclusive_locks_required(";
 9328     else OS << ", ";
 9331   OS << ")]]";
 9335     OS << " __attribute__((requires_shared_capability(";
 9339     else OS << ", ";
 9342   OS << ")))";
 9346     OS << " [[clang::requires_shared_capability(";
 9350     else OS << ", ";
 9353   OS << ")]]";
 9357     OS << " __attribute__((shared_locks_required(";
 9361     else OS << ", ";
 9364   OS << ")))";
 9368     OS << " [[clang::shared_locks_required(";
 9372     else OS << ", ";
 9375   OS << ")]]";
 9419     OS << " __declspec(restrict)";
 9423     OS << " __attribute__((malloc))";
 9427     OS << " [[gnu::malloc]]";
 9461     OS << " __attribute__((return_typestate(\"" << ReturnTypestateAttr::ConvertConsumedStateToStr(getState()) << "\")))";
 9461     OS << " __attribute__((return_typestate(\"" << ReturnTypestateAttr::ConvertConsumedStateToStr(getState()) << "\")))";
 9461     OS << " __attribute__((return_typestate(\"" << ReturnTypestateAttr::ConvertConsumedStateToStr(getState()) << "\")))";
 9465     OS << " [[clang::return_typestate(\"" << ReturnTypestateAttr::ConvertConsumedStateToStr(getState()) << "\")]]";
 9465     OS << " [[clang::return_typestate(\"" << ReturnTypestateAttr::ConvertConsumedStateToStr(getState()) << "\")]]";
 9465     OS << " [[clang::return_typestate(\"" << ReturnTypestateAttr::ConvertConsumedStateToStr(getState()) << "\")]]";
 9497     OS << " __attribute__((returns_nonnull))";
 9501     OS << " [[gnu::returns_nonnull]]";
 9533     OS << " __attribute__((returns_twice))";
 9537     OS << " [[gnu::returns_twice]]";
 9569     OS << " __sptr";
 9599     OS << " __attribute__((scoped_lockable))";
 9603     OS << " [[clang::scoped_lockable]]";
 9635     OS << " __attribute__((section(\"" << getName() << "\")))";
 9635     OS << " __attribute__((section(\"" << getName() << "\")))";
 9639     OS << " [[gnu::section(\"" << getName() << "\")]]";
 9639     OS << " [[gnu::section(\"" << getName() << "\")]]";
 9643     OS << " __declspec(allocate(\"" << getName() << "\"))";
 9643     OS << " __declspec(allocate(\"" << getName() << "\"))";
 9677     OS << " __declspec(selectany)";
 9681     OS << " __attribute__((selectany))";
 9685     OS << " [[gnu::selectany]]";
 9719     OS << " __attribute__((sentinel(" << getSentinel() << ", " << getNullPos() << ")))";
 9719     OS << " __attribute__((sentinel(" << getSentinel() << ", " << getNullPos() << ")))";
 9719     OS << " __attribute__((sentinel(" << getSentinel() << ", " << getNullPos() << ")))";
 9723     OS << " [[gnu::sentinel(" << getSentinel() << ", " << getNullPos() << ")]]";
 9723     OS << " [[gnu::sentinel(" << getSentinel() << ", " << getNullPos() << ")]]";
 9723     OS << " [[gnu::sentinel(" << getSentinel() << ", " << getNullPos() << ")]]";
 9755     OS << " __attribute__((set_typestate(\"" << SetTypestateAttr::ConvertConsumedStateToStr(getNewState()) << "\")))";
 9755     OS << " __attribute__((set_typestate(\"" << SetTypestateAttr::ConvertConsumedStateToStr(getNewState()) << "\")))";
 9755     OS << " __attribute__((set_typestate(\"" << SetTypestateAttr::ConvertConsumedStateToStr(getNewState()) << "\")))";
 9759     OS << " [[clang::set_typestate(\"" << SetTypestateAttr::ConvertConsumedStateToStr(getNewState()) << "\")]]";
 9759     OS << " [[clang::set_typestate(\"" << SetTypestateAttr::ConvertConsumedStateToStr(getNewState()) << "\")]]";
 9759     OS << " [[clang::set_typestate(\"" << SetTypestateAttr::ConvertConsumedStateToStr(getNewState()) << "\")]]";
 9791     OS << " __attribute__((shared_trylock_function(" << getSuccessValue() << ", ";
 9791     OS << " __attribute__((shared_trylock_function(" << getSuccessValue() << ", ";
 9795     else OS << ", ";
 9798   OS << ")))";
 9828     OS << " __attribute__((speculative_load_hardening))";
 9832     OS << " [[clang::speculative_load_hardening]]";
 9836     OS << " [[clang::speculative_load_hardening]]";
 9870     OS << " __attribute__((stdcall))";
 9874     OS << " [[gnu::stdcall]]";
 9878     OS << " __stdcall";
 9882     OS << " _stdcall";
 9918     OS << " [[gsl::suppress(";
 9922     else OS << ", ";
 9923     OS << "\"" << Val << "\"";
 9923     OS << "\"" << Val << "\"";
 9925   OS << ")]]";
 9955     OS << " __attribute__((swiftcall))";
 9959     OS << " [[clang::swiftcall]]";
 9963     OS << " [[clang::swiftcall]]";
 9997     OS << " __attribute__((swift_context))";
10001     OS << " [[clang::swift_context]]";
10005     OS << " [[clang::swift_context]]";
10039     OS << " __attribute__((swift_error_result))";
10043     OS << " [[clang::swift_error_result]]";
10047     OS << " [[clang::swift_error_result]]";
10081     OS << " __attribute__((swift_indirect_result))";
10085     OS << " [[clang::swift_indirect_result]]";
10089     OS << " [[clang::swift_indirect_result]]";
10123     OS << " __attribute__((sysv_abi))";
10127     OS << " [[gnu::sysv_abi]]";
10159     OS << " __attribute__((tls_model(\"" << getModel() << "\")))";
10159     OS << " __attribute__((tls_model(\"" << getModel() << "\")))";
10163     OS << " [[gnu::tls_model(\"" << getModel() << "\")]]";
10163     OS << " [[gnu::tls_model(\"" << getModel() << "\")]]";
10195     OS << " __attribute__((target(\"" << getFeaturesStr() << "\")))";
10195     OS << " __attribute__((target(\"" << getFeaturesStr() << "\")))";
10199     OS << " [[gnu::target(\"" << getFeaturesStr() << "\")]]";
10199     OS << " [[gnu::target(\"" << getFeaturesStr() << "\")]]";
10231     OS << " __attribute__((test_typestate(\"" << TestTypestateAttr::ConvertConsumedStateToStr(getTestState()) << "\")))";
10231     OS << " __attribute__((test_typestate(\"" << TestTypestateAttr::ConvertConsumedStateToStr(getTestState()) << "\")))";
10231     OS << " __attribute__((test_typestate(\"" << TestTypestateAttr::ConvertConsumedStateToStr(getTestState()) << "\")))";
10235     OS << " [[clang::test_typestate(\"" << TestTypestateAttr::ConvertConsumedStateToStr(getTestState()) << "\")]]";
10235     OS << " [[clang::test_typestate(\"" << TestTypestateAttr::ConvertConsumedStateToStr(getTestState()) << "\")]]";
10235     OS << " [[clang::test_typestate(\"" << TestTypestateAttr::ConvertConsumedStateToStr(getTestState()) << "\")]]";
10267     OS << " __attribute__((thiscall))";
10271     OS << " [[gnu::thiscall]]";
10275     OS << " __thiscall";
10279     OS << " _thiscall";
10315     OS << " __declspec(thread)";
10345     OS << " __attribute__((transparent_union))";
10349     OS << " [[gnu::transparent_union]]";
10381     OS << " __attribute__((trivial_abi))";
10385     OS << " [[clang::trivial_abi]]";
10417     OS << " __attribute__((try_acquire_capability(" << getSuccessValue() << ", ";
10417     OS << " __attribute__((try_acquire_capability(" << getSuccessValue() << ", ";
10421     else OS << ", ";
10424   OS << ")))";
10428     OS << " [[clang::try_acquire_capability(" << getSuccessValue() << ", ";
10428     OS << " [[clang::try_acquire_capability(" << getSuccessValue() << ", ";
10432     else OS << ", ";
10435   OS << ")]]";
10439     OS << " __attribute__((try_acquire_shared_capability(" << getSuccessValue() << ", ";
10439     OS << " __attribute__((try_acquire_shared_capability(" << getSuccessValue() << ", ";
10443     else OS << ", ";
10446   OS << ")))";
10450     OS << " [[clang::try_acquire_shared_capability(" << getSuccessValue() << ", ";
10450     OS << " [[clang::try_acquire_shared_capability(" << getSuccessValue() << ", ";
10454     else OS << ", ";
10457   OS << ")]]";
10493     OS << " _Nonnull";
10523     OS << " _Null_unspecified";
10553     OS << " _Nullable";
10583     OS << " __attribute__((type_tag_for_datatype(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getMatchingCType().getAsString() << ", " << getLayoutCompatible() << ", " << getMustBeNull() << ")))";
10583     OS << " __attribute__((type_tag_for_datatype(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getMatchingCType().getAsString() << ", " << getLayoutCompatible() << ", " << getMustBeNull() << ")))";
10583     OS << " __attribute__((type_tag_for_datatype(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getMatchingCType().getAsString() << ", " << getLayoutCompatible() << ", " << getMustBeNull() << ")))";
10583     OS << " __attribute__((type_tag_for_datatype(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getMatchingCType().getAsString() << ", " << getLayoutCompatible() << ", " << getMustBeNull() << ")))";
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() << ")]]";
10587     OS << " [[clang::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() << ")]]";
10587     OS << " [[clang::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() << ")]]";
10591     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() << ")]]";
10591     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() << ")]]";
10625     OS << " __attribute__((type_visibility(\"" << TypeVisibilityAttr::ConvertVisibilityTypeToStr(getVisibility()) << "\")))";
10625     OS << " __attribute__((type_visibility(\"" << TypeVisibilityAttr::ConvertVisibilityTypeToStr(getVisibility()) << "\")))";
10625     OS << " __attribute__((type_visibility(\"" << TypeVisibilityAttr::ConvertVisibilityTypeToStr(getVisibility()) << "\")))";
10629     OS << " [[clang::type_visibility(\"" << TypeVisibilityAttr::ConvertVisibilityTypeToStr(getVisibility()) << "\")]]";
10629     OS << " [[clang::type_visibility(\"" << TypeVisibilityAttr::ConvertVisibilityTypeToStr(getVisibility()) << "\")]]";
10629     OS << " [[clang::type_visibility(\"" << TypeVisibilityAttr::ConvertVisibilityTypeToStr(getVisibility()) << "\")]]";
10633     OS << " [[clang::type_visibility(\"" << TypeVisibilityAttr::ConvertVisibilityTypeToStr(getVisibility()) << "\")]]";
10633     OS << " [[clang::type_visibility(\"" << TypeVisibilityAttr::ConvertVisibilityTypeToStr(getVisibility()) << "\")]]";
10633     OS << " [[clang::type_visibility(\"" << TypeVisibilityAttr::ConvertVisibilityTypeToStr(getVisibility()) << "\")]]";
10667     OS << " __uptr";
10697     OS << " __attribute__((unavailable(\"" << getMessage() << "\")))";
10697     OS << " __attribute__((unavailable(\"" << getMessage() << "\")))";
10701     OS << " [[clang::unavailable(\"" << getMessage() << "\")]]";
10701     OS << " [[clang::unavailable(\"" << getMessage() << "\")]]";
10705     OS << " [[clang::unavailable(\"" << getMessage() << "\")]]";
10705     OS << " [[clang::unavailable(\"" << getMessage() << "\")]]";
10739     OS << " __attribute__((uninitialized))";
10743     OS << " [[clang::uninitialized]]";
10775     OS << " [[maybe_unused]]";
10779     OS << " __attribute__((unused))";
10783     OS << " [[gnu::unused]]";
10787     OS << " [[maybe_unused]]";
10823     OS << " __attribute__((used))";
10827     OS << " [[gnu::used]]";
10859     OS << " __declspec(uuid(\"" << getGuid() << "\"))";
10859     OS << " __declspec(uuid(\"" << getGuid() << "\"))";
10863     OS << "[uuid(\"" << getGuid() << "\")]";
10863     OS << "[uuid(\"" << getGuid() << "\")]";
10895     OS << " __attribute__((vecreturn))";
10899     OS << " [[clang::vecreturn]]";
10931     OS << " __attribute__((vec_type_hint(" << getTypeHint().getAsString() << ")))";
10931     OS << " __attribute__((vec_type_hint(" << getTypeHint().getAsString() << ")))";
10961     OS << " __attribute__((vectorcall))";
10965     OS << " [[clang::vectorcall]]";
10969     OS << " [[clang::vectorcall]]";
10973     OS << " __vectorcall";
10977     OS << " _vectorcall";
11015     OS << " __attribute__((visibility(\"" << VisibilityAttr::ConvertVisibilityTypeToStr(getVisibility()) << "\")))";
11015     OS << " __attribute__((visibility(\"" << VisibilityAttr::ConvertVisibilityTypeToStr(getVisibility()) << "\")))";
11015     OS << " __attribute__((visibility(\"" << VisibilityAttr::ConvertVisibilityTypeToStr(getVisibility()) << "\")))";
11019     OS << " [[gnu::visibility(\"" << VisibilityAttr::ConvertVisibilityTypeToStr(getVisibility()) << "\")]]";
11019     OS << " [[gnu::visibility(\"" << VisibilityAttr::ConvertVisibilityTypeToStr(getVisibility()) << "\")]]";
11019     OS << " [[gnu::visibility(\"" << VisibilityAttr::ConvertVisibilityTypeToStr(getVisibility()) << "\")]]";
11051     OS << " __attribute__((warn_unused))";
11055     OS << " [[gnu::warn_unused]]";
11087     OS << " [[nodiscard(\"" << getMessage() << "\")]]";
11087     OS << " [[nodiscard(\"" << getMessage() << "\")]]";
11091     OS << " [[nodiscard(\"" << getMessage() << "\")]]";
11091     OS << " [[nodiscard(\"" << getMessage() << "\")]]";
11095     OS << " [[clang::warn_unused_result(\"" << getMessage() << "\")]]";
11095     OS << " [[clang::warn_unused_result(\"" << getMessage() << "\")]]";
11099     OS << " __attribute__((warn_unused_result(\"" << getMessage() << "\")))";
11099     OS << " __attribute__((warn_unused_result(\"" << getMessage() << "\")))";
11103     OS << " [[gnu::warn_unused_result(\"" << getMessage() << "\")]]";
11103     OS << " [[gnu::warn_unused_result(\"" << getMessage() << "\")]]";
11141     OS << " __attribute__((weak))";
11145     OS << " [[gnu::weak]]";
11177     OS << " __attribute__((weak_import))";
11181     OS << " [[clang::weak_import]]";
11185     OS << " [[clang::weak_import]]";
11219     OS << " __attribute__((weakref(\"" << getAliasee() << "\")))";
11219     OS << " __attribute__((weakref(\"" << getAliasee() << "\")))";
11223     OS << " [[gnu::weakref(\"" << getAliasee() << "\")]]";
11223     OS << " [[gnu::weakref(\"" << getAliasee() << "\")]]";
11255     OS << " __attribute__((import_module(\"" << getImportModule() << "\")))";
11255     OS << " __attribute__((import_module(\"" << getImportModule() << "\")))";
11259     OS << " [[clang::import_module(\"" << getImportModule() << "\")]]";
11259     OS << " [[clang::import_module(\"" << getImportModule() << "\")]]";
11263     OS << " [[clang::import_module(\"" << getImportModule() << "\")]]";
11263     OS << " [[clang::import_module(\"" << getImportModule() << "\")]]";
11297     OS << " __attribute__((import_name(\"" << getImportName() << "\")))";
11297     OS << " __attribute__((import_name(\"" << getImportName() << "\")))";
11301     OS << " [[clang::import_name(\"" << getImportName() << "\")]]";
11301     OS << " [[clang::import_name(\"" << getImportName() << "\")]]";
11305     OS << " [[clang::import_name(\"" << getImportName() << "\")]]";
11305     OS << " [[clang::import_name(\"" << getImportName() << "\")]]";
11339     OS << " __attribute__((work_group_size_hint(" << getXDim() << ", " << getYDim() << ", " << getZDim() << ")))";
11339     OS << " __attribute__((work_group_size_hint(" << getXDim() << ", " << getYDim() << ", " << getZDim() << ")))";
11339     OS << " __attribute__((work_group_size_hint(" << getXDim() << ", " << getYDim() << ", " << getZDim() << ")))";
11339     OS << " __attribute__((work_group_size_hint(" << getXDim() << ", " << getYDim() << ", " << getZDim() << ")))";
11369     OS << " __attribute__((force_align_arg_pointer))";
11373     OS << " [[gnu::force_align_arg_pointer]]";
11405     OS << " __attribute__((xray_always_instrument))";
11409     OS << " [[clang::xray_always_instrument]]";
11413     OS << " [[clang::xray_always_instrument]]";
11417     OS << " __attribute__((xray_never_instrument))";
11421     OS << " [[clang::xray_never_instrument]]";
11425     OS << " [[clang::xray_never_instrument]]";
11465     OS << " __attribute__((xray_log_args(" << getArgumentCount() << ")))";
11465     OS << " __attribute__((xray_log_args(" << getArgumentCount() << ")))";
11469     OS << " [[clang::xray_log_args(" << getArgumentCount() << ")]]";
11469     OS << " [[clang::xray_log_args(" << getArgumentCount() << ")]]";
11473     OS << " [[clang::xray_log_args(" << getArgumentCount() << ")]]";
11473     OS << " [[clang::xray_log_args(" << getArgumentCount() << ")]]";
gen/tools/clang/include/clang/AST/AttrTextNodeDump.inc
   11     OS << " " << SA->getNumSGPR();
   15     OS << " " << SA->getNumVGPR();
   21       OS << " IRQ";
   24       OS << " FIQ";
   27       OS << " SWI";
   30       OS << " ABORT";
   33       OS << " UNDEF";
   36       OS << " Generic";
   43       OS << " " << Val;
   47     OS << " " << A->getSpelling();
   47     OS << " " << A->getSpelling();
   51     OS << " " << SA->getAddressSpace();
   55     OS << " \"" << SA->getAliasee() << "\"";
   55     OS << " \"" << SA->getAliasee() << "\"";
   59     OS << " " << A->getSpelling();
   59     OS << " " << A->getSpelling();
   65     OS << " " << SA->getParamIndex().getSourceIndex();
   69     OS << " " << SA->getElemSizeParam().getSourceIndex();
   71       OS << " " << SA->getNumElemsParam().getSourceIndex();
   74     OS << " " << A->getSpelling();
   74     OS << " " << A->getSpelling();
   78     OS << " \"" << SA->getAnnotation() << "\"";
   78     OS << " \"" << SA->getAnnotation() << "\"";
   82     OS << " " << A->getSpelling();
   82     OS << " " << A->getSpelling();
   84       OS << " " << SA->getArgumentKind()->getName();
   85     OS << " " << SA->getArgumentIdx().getSourceIndex();
   86     OS << " " << SA->getTypeTagIdx().getSourceIndex();
   87     if (SA->getIsPointer()) OS << " IsPointer";
   92       OS << " " << SA->getBuiltinName()->getName();
   96     OS << " \"" << SA->getLabel() << "\"";
   96     OS << " \"" << SA->getLabel() << "\"";
   97     if (SA->getIsLiteralLabel()) OS << " IsLiteralLabel";
  101     OS << " " << A->getSpelling();
  101     OS << " " << A->getSpelling();
  106       OS << " " << SA->getPlatform()->getName();
  107     OS << " " << SA->getIntroduced();
  108     OS << " " << SA->getDeprecated();
  109     OS << " " << SA->getObsoleted();
  110     if (SA->getUnavailable()) OS << " Unavailable";
  111     OS << " \"" << SA->getMessage() << "\"";
  111     OS << " \"" << SA->getMessage() << "\"";
  112     if (SA->getStrict()) OS << " Strict";
  113     OS << " \"" << SA->getReplacement() << "\"";
  113     OS << " \"" << SA->getReplacement() << "\"";
  114     OS << " " << SA->getPriority();
  120       OS << " ByRef";
  127       OS << " " << Val;
  132       OS << " " << Val;
  139       OS << " Unknown";
  142       OS << " Consumed";
  145       OS << " Unconsumed";
  153       OS << " " << Val;
  157     OS << " " << A->getSpelling();
  157     OS << " " << A->getSpelling();
  158     OS << " \"" << SA->getName() << "\"";
  158     OS << " \"" << SA->getName() << "\"";
  162     OS << " ";
  167     OS << " \"" << SA->getName() << "\"";
  167     OS << " \"" << SA->getName() << "\"";
  170     OS << " " << A->getSpelling();
  170     OS << " " << A->getSpelling();
  174     OS << " " << SA->getPriority();
  180       OS << " Unknown";
  183       OS << " Consumed";
  186       OS << " Unconsumed";
  192     OS << " \"" << SA->getMessage() << "\"";
  192     OS << " \"" << SA->getMessage() << "\"";
  193     OS << " \"" << SA->getReplacement() << "\"";
  193     OS << " \"" << SA->getReplacement() << "\"";
  197     OS << " " << SA->getPriority();
  201     OS << " \"" << SA->getMessage() << "\"";
  201     OS << " \"" << SA->getMessage() << "\"";
  204       OS << " DT_Error";
  207       OS << " DT_Warning";
  210     if (SA->getArgDependent()) OS << " ArgDependent";
  211     OS << " ";
  216     OS << " \"" << SA->getMessage() << "\"";
  216     OS << " \"" << SA->getMessage() << "\"";
  222       OS << " Closed";
  225       OS << " Open";
  231     OS << " \"" << SA->getLanguage() << "\"";
  231     OS << " \"" << SA->getLanguage() << "\"";
  232     OS << " \"" << SA->getDefinedIn() << "\"";
  232     OS << " \"" << SA->getDefinedIn() << "\"";
  233     if (SA->getGeneratedDeclaration()) OS << " GeneratedDeclaration";
  236     OS << " " << A->getSpelling();
  236     OS << " " << A->getSpelling();
  241       OS << " " << SA->getType()->getName();
  242     OS << " " << SA->getFormatIdx();
  243     OS << " " << SA->getFirstArg();
  247     OS << " " << SA->getFormatIdx().getSourceIndex();
  251     if (SA->getInterfaceLoc())    OS << " " << SA->getInterface().getAsString();
  255     OS << " \"" << SA->getResolver() << "\"";
  255     OS << " \"" << SA->getResolver() << "\"";
  259     OS << " " << SA->getPriority();
  263     OS << " \"" << SA->getSection() << "\"";
  263     OS << " \"" << SA->getSection() << "\"";
  267     OS << " " << SA->getVersion();
  271     OS << " " << A->getSpelling();
  271     OS << " " << A->getSpelling();
  274       OS << " Vectorize";
  277       OS << " VectorizeWidth";
  280       OS << " Interleave";
  283       OS << " InterleaveCount";
  286       OS << " Unroll";
  289       OS << " UnrollCount";
  292       OS << " UnrollAndJam";
  295       OS << " UnrollAndJamCount";
  298       OS << " PipelineDisabled";
  301       OS << " PipelineInitiationInterval";
  304       OS << " Distribute";
  307       OS << " VectorizePredicate";
  312       OS << " Enable";
  315       OS << " Disable";
  318       OS << " Numeric";
  321       OS << " AssumeSafety";
  324       OS << " Full";
  330     OS << " " << A->getSpelling();
  330     OS << " " << A->getSpelling();
  331     if (SA->getBestCase()) OS << " BestCase";
  335     OS << " " << SA->getNumber();
  339     OS << " " << SA->getVdm();
  343     OS << " " << SA->getAlignment();
  347     OS << " " << SA->getVectorWidth();
  353       OS << " sw0";
  356       OS << " sw1";
  359       OS << " hw0";
  362       OS << " hw1";
  365       OS << " hw2";
  368       OS << " hw3";
  371       OS << " hw4";
  374       OS << " hw5";
  377       OS << " eic";
  382     OS << " " << A->getSpelling();
  382     OS << " " << A->getSpelling();
  385     OS << " " << A->getSpelling();
  385     OS << " " << A->getSpelling();
  390       OS << " " << SA->getMode()->getName();
  395       OS << " " << Val;
  400       OS << " " << Val.getSourceIndex();
  406       OS << " OMPDefaultMemAlloc";
  409       OS << " OMPLargeCapMemAlloc";
  412       OS << " OMPConstMemAlloc";
  415       OS << " OMPHighBWMemAlloc";
  418       OS << " OMPLowLatMemAlloc";
  421       OS << " OMPCGroupMemAlloc";
  424       OS << " OMPPTeamMemAlloc";
  427       OS << " OMPThreadMemAlloc";
  430       OS << " OMPUserDefinedMemAlloc";
  436     OS << " " << SA->getCaptureKind();
  442       OS << " BS_Undefined";
  445       OS << " BS_Inbranch";
  448       OS << " BS_Notinbranch";
  452       OS << " " << Val;
  458       OS << " MT_To";
  461       OS << " MT_Link";
  466       OS << " DT_Host";
  469       OS << " DT_NoHost";
  472       OS << " DT_Any";
  480       OS << " CtxSetUnknown";
  483       OS << " CtxSetImplementation";
  488       OS << " ScoreUnknown";
  491       OS << " ScoreSpecified";
  496       OS << " CtxUnknown";
  499       OS << " CtxVendor";
  503       OS << " " << Val;
  508       OS << " " << SA->getBridgedType()->getName();
  513       OS << " " << SA->getBridgedType()->getName();
  518       OS << " " << SA->getRelatedClass()->getName();
  520       OS << " " << SA->getClassMethod()->getName();
  522       OS << " " << SA->getInstanceMethod()->getName();
  527       OS << " " << SA->getKind()->getName();
  533       OS << " OMF_None";
  536       OS << " OMF_alloc";
  539       OS << " OMF_copy";
  542       OS << " OMF_init";
  545       OS << " OMF_mutableCopy";
  548       OS << " OMF_new";
  555       OS << " " << SA->getKind()->getName();
  559     OS << " \"" << SA->getMetadataName() << "\"";
  559     OS << " \"" << SA->getMetadataName() << "\"";
  562     OS << " " << A->getSpelling();
  562     OS << " " << A->getSpelling();
  566     OS << " " << SA->getSubGroupSize();
  570     OS << " " << SA->getUnrollHint();
  574     if (SA->getDerefTypeLoc())    OS << " " << SA->getDerefType().getAsString();
  578     OS << " " << A->getSpelling();
  578     OS << " " << A->getSpelling();
  580       OS << " " << SA->getModule()->getName();
  582       OS << " " << Val.getSourceIndex();
  588       OS << " Unknown";
  591       OS << " Consumed";
  594       OS << " Unconsumed";
  600     OS << " " << A->getSpelling();
  600     OS << " " << A->getSpelling();
  601     OS << " " << SA->getType();
  607       OS << " AAPCS";
  610       OS << " AAPCS_VFP";
  616     if (SA->getDerefTypeLoc())    OS << " " << SA->getDerefType().getAsString();
  620     OS << " \"" << SA->getName() << "\"";
  620     OS << " \"" << SA->getName() << "\"";
  624     OS << " \"" << SA->getName() << "\"";
  624     OS << " \"" << SA->getName() << "\"";
  628     OS << " \"" << SA->getName() << "\"";
  628     OS << " \"" << SA->getName() << "\"";
  632     OS << " \"" << SA->getName() << "\"";
  632     OS << " \"" << SA->getName() << "\"";
  636     OS << " \"" << SA->getName() << "\"";
  636     OS << " \"" << SA->getName() << "\"";
  642       OS << " user";
  645       OS << " supervisor";
  648       OS << " machine";
  654     OS << " " << A->getSpelling();
  654     OS << " " << A->getSpelling();
  658     OS << " " << SA->getXDim();
  659     OS << " " << SA->getYDim();
  660     OS << " " << SA->getZDim();
  664     OS << " " << A->getSpelling();
  664     OS << " " << A->getSpelling();
  667     OS << " " << A->getSpelling();
  667     OS << " " << A->getSpelling();
  673       OS << " Unknown";
  676       OS << " Consumed";
  679       OS << " Unconsumed";
  685     OS << " " << A->getSpelling();
  685     OS << " " << A->getSpelling();
  686     OS << " \"" << SA->getName() << "\"";
  686     OS << " \"" << SA->getName() << "\"";
  690     OS << " " << SA->getSentinel();
  691     OS << " " << SA->getNullPos();
  697       OS << " Unknown";
  700       OS << " Consumed";
  703       OS << " Unconsumed";
  710       OS << " " << Val;
  714     OS << " \"" << SA->getModel() << "\"";
  714     OS << " \"" << SA->getModel() << "\"";
  718     OS << " \"" << SA->getFeaturesStr() << "\"";
  718     OS << " \"" << SA->getFeaturesStr() << "\"";
  724       OS << " Consumed";
  727       OS << " Unconsumed";
  733     OS << " " << A->getSpelling();
  733     OS << " " << A->getSpelling();
  738       OS << " " << SA->getArgumentKind()->getName();
  739     OS << " " << SA->getMatchingCType().getAsString();
  740     if (SA->getLayoutCompatible()) OS << " LayoutCompatible";
  741     if (SA->getMustBeNull()) OS << " MustBeNull";
  747       OS << " Default";
  750       OS << " Hidden";
  753       OS << " Protected";
  759     OS << " \"" << SA->getMessage() << "\"";
  759     OS << " \"" << SA->getMessage() << "\"";
  762       OS << " IR_None";
  765       OS << " IR_ARCForbiddenType";
  768       OS << " IR_ForbiddenWeak";
  771       OS << " IR_ARCForbiddenConversion";
  774       OS << " IR_ARCInitReturnsUnrelated";
  777       OS << " IR_ARCFieldWithOwnership";
  782     OS << " " << A->getSpelling();
  782     OS << " " << A->getSpelling();
  786     OS << " \"" << SA->getGuid() << "\"";
  786     OS << " \"" << SA->getGuid() << "\"";
  790     OS << " " << SA->getTypeHint().getAsString();
  796       OS << " Default";
  799       OS << " Hidden";
  802       OS << " Protected";
  808     OS << " " << A->getSpelling();
  808     OS << " " << A->getSpelling();
  809     OS << " \"" << SA->getMessage() << "\"";
  809     OS << " \"" << SA->getMessage() << "\"";
  813     OS << " \"" << SA->getAliasee() << "\"";
  813     OS << " \"" << SA->getAliasee() << "\"";
  817     OS << " \"" << SA->getImportModule() << "\"";
  817     OS << " \"" << SA->getImportModule() << "\"";
  821     OS << " \"" << SA->getImportName() << "\"";
  821     OS << " \"" << SA->getImportName() << "\"";
  825     OS << " " << SA->getXDim();
  826     OS << " " << SA->getYDim();
  827     OS << " " << SA->getZDim();
  830     OS << " " << A->getSpelling();
  830     OS << " " << A->getSpelling();
  834     OS << " " << SA->getArgumentCount();
gen/tools/clang/include/clang/AST/Attrs.inc
 5678     OS << " (" << getSection() << ')';
 6198     OS << ' ' << getOptionName(option) << getValueString(Policy);
 6206     OS << "(";
 6210       OS << "enable";
 6212       OS << "full";
 6214       OS << "assume_safety";
 6216       OS << "disable";
 6217     OS << ")";
 8685         OS << ' ' << ConvertBranchStateTyToStr(getBranchState());
 8687         OS << " simdlen(";
 8689         OS << ")";
 8692         OS << " uniform";
 8699         OS << ")";
 8703         OS << " aligned(";
 8706           OS << ": ";
 8709         OS << ")";
 8715         OS << " linear(";
 8717           OS << getOpenMPSimpleClauseTypeName(OMPC_linear, *MI) << "(";
 8717           OS << getOpenMPSimpleClauseTypeName(OMPC_linear, *MI) << "(";
 8720           OS << ")";
 8722           OS << ": ";
 8725         OS << ")";
 8843         OS << " device_type(" << ConvertDevTypeTyToStr(getDevType()) << ")";
 8843         OS << " device_type(" << ConvertDevTypeTyToStr(getDevType()) << ")";
 8843         OS << " device_type(" << ConvertDevTypeTyToStr(getDevType()) << ")";
 8845         OS << ' ' << ConvertMapTypeTyToStr(getMapType());
 9060         OS << "score(";
 9062         OS << "):";
 9070         OS << "(";
 9072         OS << ")";
 9075       OS << " match(";
 9078         OS << "implementation={";
 9081           OS << "vendor(";
 9086               OS << ", " << VendorName;
 9088           OS << ")";
 9093         OS << "}";
 9098       OS << ")";
gen/tools/clang/lib/AST/Opcodes.inc
   62 	OS << "\t"<< "\n";
   62 	OS << "\t"<< "\n";
   66 	OS << "\t"<< "\n";
   66 	OS << "\t"<< "\n";
   70 	OS << "\t"<< "\n";
   70 	OS << "\t"<< "\n";
   74 	OS << "\t"<< "\n";
   74 	OS << "\t"<< "\n";
   78 	OS << "\t"<< "\n";
   78 	OS << "\t"<< "\n";
   82 	OS << "\t"<< "\n";
   82 	OS << "\t"<< "\n";
   86 	OS << "\t"<< "\n";
   86 	OS << "\t"<< "\n";
   90 	OS << "\t"<< "\n";
   90 	OS << "\t"<< "\n";
   94 	OS << "\t"<< "\n";
   94 	OS << "\t"<< "\n";
  280 	OS << "\t"<< "\n";
  280 	OS << "\t"<< "\n";
  284 	OS << "\t"<< "\n";
  284 	OS << "\t"<< "\n";
  288 	OS << "\t"<< "\n";
  288 	OS << "\t"<< "\n";
  292 	OS << "\t"<< "\n";
  292 	OS << "\t"<< "\n";
  296 	OS << "\t"<< "\n";
  296 	OS << "\t"<< "\n";
  300 	OS << "\t"<< "\n";
  300 	OS << "\t"<< "\n";
  304 	OS << "\t"<< "\n";
  304 	OS << "\t"<< "\n";
  308 	OS << "\t"<< "\n";
  308 	OS << "\t"<< "\n";
  312 	OS << "\t"<< "\n";
  312 	OS << "\t"<< "\n";
  451 	OS << "\t" << PC.read<bool>() << " "<< "\n";
  451 	OS << "\t" << PC.read<bool>() << " "<< "\n";
  451 	OS << "\t" << PC.read<bool>() << " "<< "\n";
  483 	OS << "\t" << PC.read<int16_t>() << " "<< "\n";
  483 	OS << "\t" << PC.read<int16_t>() << " "<< "\n";
  483 	OS << "\t" << PC.read<int16_t>() << " "<< "\n";
  515 	OS << "\t" << PC.read<int32_t>() << " "<< "\n";
  515 	OS << "\t" << PC.read<int32_t>() << " "<< "\n";
  515 	OS << "\t" << PC.read<int32_t>() << " "<< "\n";
  547 	OS << "\t" << PC.read<int64_t>() << " "<< "\n";
  547 	OS << "\t" << PC.read<int64_t>() << " "<< "\n";
  547 	OS << "\t" << PC.read<int64_t>() << " "<< "\n";
  579 	OS << "\t" << PC.read<int8_t>() << " "<< "\n";
  579 	OS << "\t" << PC.read<int8_t>() << " "<< "\n";
  579 	OS << "\t" << PC.read<int8_t>() << " "<< "\n";
  611 	OS << "\t" << PC.read<uint16_t>() << " "<< "\n";
  611 	OS << "\t" << PC.read<uint16_t>() << " "<< "\n";
  611 	OS << "\t" << PC.read<uint16_t>() << " "<< "\n";
  643 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
  643 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
  643 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
  675 	OS << "\t" << PC.read<uint64_t>() << " "<< "\n";
  675 	OS << "\t" << PC.read<uint64_t>() << " "<< "\n";
  675 	OS << "\t" << PC.read<uint64_t>() << " "<< "\n";
  707 	OS << "\t" << PC.read<uint8_t>() << " "<< "\n";
  707 	OS << "\t" << PC.read<uint8_t>() << " "<< "\n";
  707 	OS << "\t" << PC.read<uint8_t>() << " "<< "\n";
  739 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
  739 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
  739 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
  817 	OS << "\t"<< "\n";
  817 	OS << "\t"<< "\n";
  821 	OS << "\t"<< "\n";
  821 	OS << "\t"<< "\n";
  825 	OS << "\t"<< "\n";
  825 	OS << "\t"<< "\n";
  829 	OS << "\t"<< "\n";
  829 	OS << "\t"<< "\n";
  833 	OS << "\t"<< "\n";
  833 	OS << "\t"<< "\n";
  837 	OS << "\t"<< "\n";
  837 	OS << "\t"<< "\n";
  841 	OS << "\t"<< "\n";
  841 	OS << "\t"<< "\n";
  845 	OS << "\t"<< "\n";
  845 	OS << "\t"<< "\n";
  849 	OS << "\t"<< "\n";
  849 	OS << "\t"<< "\n";
  853 	OS << "\t"<< "\n";
  853 	OS << "\t"<< "\n";
 1055 	OS << "\t"<< "\n";
 1055 	OS << "\t"<< "\n";
 1059 	OS << "\t"<< "\n";
 1059 	OS << "\t"<< "\n";
 1063 	OS << "\t"<< "\n";
 1063 	OS << "\t"<< "\n";
 1067 	OS << "\t"<< "\n";
 1067 	OS << "\t"<< "\n";
 1071 	OS << "\t"<< "\n";
 1071 	OS << "\t"<< "\n";
 1075 	OS << "\t"<< "\n";
 1075 	OS << "\t"<< "\n";
 1079 	OS << "\t"<< "\n";
 1079 	OS << "\t"<< "\n";
 1083 	OS << "\t"<< "\n";
 1083 	OS << "\t"<< "\n";
 1087 	OS << "\t"<< "\n";
 1087 	OS << "\t"<< "\n";
 1091 	OS << "\t"<< "\n";
 1091 	OS << "\t"<< "\n";
 1239 	OS << "\t"<< "\n";
 1239 	OS << "\t"<< "\n";
 1324 	OS << "\t"<< "\n";
 1324 	OS << "\t"<< "\n";
 1328 	OS << "\t"<< "\n";
 1328 	OS << "\t"<< "\n";
 1332 	OS << "\t"<< "\n";
 1332 	OS << "\t"<< "\n";
 1336 	OS << "\t"<< "\n";
 1336 	OS << "\t"<< "\n";
 1340 	OS << "\t"<< "\n";
 1340 	OS << "\t"<< "\n";
 1344 	OS << "\t"<< "\n";
 1344 	OS << "\t"<< "\n";
 1348 	OS << "\t"<< "\n";
 1348 	OS << "\t"<< "\n";
 1352 	OS << "\t"<< "\n";
 1352 	OS << "\t"<< "\n";
 1356 	OS << "\t"<< "\n";
 1356 	OS << "\t"<< "\n";
 1360 	OS << "\t"<< "\n";
 1360 	OS << "\t"<< "\n";
 1562 	OS << "\t"<< "\n";
 1562 	OS << "\t"<< "\n";
 1566 	OS << "\t"<< "\n";
 1566 	OS << "\t"<< "\n";
 1570 	OS << "\t"<< "\n";
 1570 	OS << "\t"<< "\n";
 1574 	OS << "\t"<< "\n";
 1574 	OS << "\t"<< "\n";
 1578 	OS << "\t"<< "\n";
 1578 	OS << "\t"<< "\n";
 1582 	OS << "\t"<< "\n";
 1582 	OS << "\t"<< "\n";
 1586 	OS << "\t"<< "\n";
 1586 	OS << "\t"<< "\n";
 1590 	OS << "\t"<< "\n";
 1590 	OS << "\t"<< "\n";
 1594 	OS << "\t"<< "\n";
 1594 	OS << "\t"<< "\n";
 1598 	OS << "\t"<< "\n";
 1598 	OS << "\t"<< "\n";
 1810 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1810 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1810 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1814 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1814 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1814 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1818 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1818 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1818 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1822 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1822 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1822 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1826 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1826 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1826 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1830 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1830 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1830 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1834 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1834 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1834 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1838 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1838 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1838 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1842 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1842 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1842 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1846 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1846 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 1846 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2058 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2058 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2058 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2062 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2062 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2062 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2066 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2066 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2066 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2070 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2070 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2070 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2074 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2074 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2074 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2078 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2078 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2078 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2082 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2082 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2082 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2086 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2086 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2086 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2090 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2090 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2090 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2094 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2094 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2094 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2306 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2306 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2306 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2310 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2310 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2310 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2314 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2314 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2314 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2318 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2318 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2318 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2322 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2322 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2322 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2326 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2326 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2326 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2330 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2330 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2330 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2334 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2334 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2334 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2338 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2338 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2338 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2342 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2342 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2342 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2554 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2554 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2554 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2558 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2558 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2558 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2562 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2562 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2562 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2566 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2566 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2566 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2570 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2570 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2570 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2574 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2574 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2574 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2578 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2578 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2578 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2582 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2582 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2582 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2586 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2586 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2586 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2590 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2590 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2590 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2804 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2804 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2804 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2808 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2808 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2808 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2812 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2812 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2812 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2816 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2816 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2816 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2820 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2820 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2820 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2824 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2824 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2824 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2828 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2828 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2828 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2832 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2832 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2832 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2836 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2836 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2836 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2840 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2840 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2840 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2989 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2989 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 2989 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3021 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3021 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3021 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3053 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3053 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3053 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3085 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3085 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3085 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3117 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3117 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3117 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3149 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3149 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3149 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3174 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3174 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3174 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3206 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3206 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3206 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3238 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3238 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3238 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3270 	OS << "\t" << PC.read<const RecordDecl *>() << " "<< "\n";
 3270 	OS << "\t" << PC.read<const RecordDecl *>() << " "<< "\n";
 3270 	OS << "\t" << PC.read<const RecordDecl *>() << " "<< "\n";
 3302 	OS << "\t" << PC.read<const RecordDecl *>() << " "<< "\n";
 3302 	OS << "\t" << PC.read<const RecordDecl *>() << " "<< "\n";
 3302 	OS << "\t" << PC.read<const RecordDecl *>() << " "<< "\n";
 3397 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3397 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3397 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3401 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3401 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3401 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3405 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3405 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3405 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3409 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3409 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3409 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3413 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3413 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3413 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3417 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3417 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3417 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3421 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3421 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3421 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3425 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3425 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3425 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3429 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3429 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3429 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3433 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3433 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3433 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3638 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3638 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3638 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3642 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3642 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3642 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3646 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3646 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3646 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3650 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3650 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3650 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3654 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3654 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3654 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3658 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3658 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3658 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3662 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3662 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3662 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3666 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3666 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3666 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3670 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3670 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3670 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 3872 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3872 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3872 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3876 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3876 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3876 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3880 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3880 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3880 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3884 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3884 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3884 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3888 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3888 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3888 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3892 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3892 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3892 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3896 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3896 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3896 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3900 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3900 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3900 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3904 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3904 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3904 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3908 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3908 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 3908 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4120 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4120 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4120 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4124 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4124 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4124 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4128 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4128 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4128 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4132 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4132 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4132 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4136 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4136 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4136 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4140 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4140 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4140 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4144 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4144 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4144 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4148 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4148 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4148 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4152 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4152 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4152 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4156 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4156 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4156 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4368 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4368 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4368 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4372 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4372 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4372 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4376 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4376 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4376 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4380 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4380 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4380 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4384 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4384 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4384 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4388 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4388 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4388 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4392 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4392 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4392 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4396 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4396 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4396 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4400 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4400 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4400 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4404 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4404 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4404 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4616 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4616 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4616 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4620 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4620 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4620 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4624 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4624 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4624 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4628 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4628 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4628 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4632 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4632 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4632 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4636 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4636 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4636 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4640 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4640 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4640 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4644 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4644 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4644 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4648 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4648 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4648 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4652 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4652 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4652 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4864 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4864 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4864 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4868 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4868 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4868 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4872 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4872 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4872 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4876 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4876 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4876 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4880 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4880 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4880 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4884 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4884 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4884 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4888 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4888 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4888 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4892 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4892 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4892 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4896 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4896 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4896 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4900 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4900 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 4900 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5102 	OS << "\t"<< "\n";
 5102 	OS << "\t"<< "\n";
 5106 	OS << "\t"<< "\n";
 5106 	OS << "\t"<< "\n";
 5110 	OS << "\t"<< "\n";
 5110 	OS << "\t"<< "\n";
 5114 	OS << "\t"<< "\n";
 5114 	OS << "\t"<< "\n";
 5118 	OS << "\t"<< "\n";
 5118 	OS << "\t"<< "\n";
 5122 	OS << "\t"<< "\n";
 5122 	OS << "\t"<< "\n";
 5126 	OS << "\t"<< "\n";
 5126 	OS << "\t"<< "\n";
 5130 	OS << "\t"<< "\n";
 5130 	OS << "\t"<< "\n";
 5134 	OS << "\t"<< "\n";
 5134 	OS << "\t"<< "\n";
 5138 	OS << "\t"<< "\n";
 5138 	OS << "\t"<< "\n";
 5343 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5343 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5343 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5347 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5347 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5347 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5351 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5351 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5351 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5355 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5355 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5355 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5359 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5359 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5359 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5363 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5363 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5363 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5367 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5367 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5367 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5371 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5371 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5371 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5375 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5375 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5375 	OS << "\t" << PC.read<const Record::Field *>() << " "<< "\n";
 5577 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5577 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5577 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5581 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5581 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5581 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5585 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5585 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5585 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5589 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5589 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5589 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5593 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5593 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5593 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5597 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5597 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5597 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5601 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5601 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5601 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5605 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5605 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5605 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5609 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5609 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5609 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5613 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5613 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5613 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5825 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5825 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5825 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5829 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5829 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5829 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5833 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5833 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5833 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5837 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5837 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5837 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5841 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5841 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5841 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5845 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5845 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5845 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5849 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5849 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5849 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5853 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5853 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5853 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5857 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5857 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5857 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5861 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5861 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 5861 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 6010 	OS << "\t" << PC.read<int32_t>() << " "<< "\n";
 6010 	OS << "\t" << PC.read<int32_t>() << " "<< "\n";
 6010 	OS << "\t" << PC.read<int32_t>() << " "<< "\n";
 6035 	OS << "\t" << PC.read<int32_t>() << " "<< "\n";
 6035 	OS << "\t" << PC.read<int32_t>() << " "<< "\n";
 6035 	OS << "\t" << PC.read<int32_t>() << " "<< "\n";
 6060 	OS << "\t" << PC.read<int32_t>() << " "<< "\n";
 6060 	OS << "\t" << PC.read<int32_t>() << " "<< "\n";
 6060 	OS << "\t" << PC.read<int32_t>() << " "<< "\n";
 6138 	OS << "\t"<< "\n";
 6138 	OS << "\t"<< "\n";
 6142 	OS << "\t"<< "\n";
 6142 	OS << "\t"<< "\n";
 6146 	OS << "\t"<< "\n";
 6146 	OS << "\t"<< "\n";
 6150 	OS << "\t"<< "\n";
 6150 	OS << "\t"<< "\n";
 6154 	OS << "\t"<< "\n";
 6154 	OS << "\t"<< "\n";
 6158 	OS << "\t"<< "\n";
 6158 	OS << "\t"<< "\n";
 6162 	OS << "\t"<< "\n";
 6162 	OS << "\t"<< "\n";
 6166 	OS << "\t"<< "\n";
 6166 	OS << "\t"<< "\n";
 6170 	OS << "\t"<< "\n";
 6170 	OS << "\t"<< "\n";
 6174 	OS << "\t"<< "\n";
 6174 	OS << "\t"<< "\n";
 6376 	OS << "\t"<< "\n";
 6376 	OS << "\t"<< "\n";
 6380 	OS << "\t"<< "\n";
 6380 	OS << "\t"<< "\n";
 6384 	OS << "\t"<< "\n";
 6384 	OS << "\t"<< "\n";
 6388 	OS << "\t"<< "\n";
 6388 	OS << "\t"<< "\n";
 6392 	OS << "\t"<< "\n";
 6392 	OS << "\t"<< "\n";
 6396 	OS << "\t"<< "\n";
 6396 	OS << "\t"<< "\n";
 6400 	OS << "\t"<< "\n";
 6400 	OS << "\t"<< "\n";
 6404 	OS << "\t"<< "\n";
 6404 	OS << "\t"<< "\n";
 6408 	OS << "\t"<< "\n";
 6408 	OS << "\t"<< "\n";
 6412 	OS << "\t"<< "\n";
 6412 	OS << "\t"<< "\n";
 6614 	OS << "\t"<< "\n";
 6614 	OS << "\t"<< "\n";
 6618 	OS << "\t"<< "\n";
 6618 	OS << "\t"<< "\n";
 6622 	OS << "\t"<< "\n";
 6622 	OS << "\t"<< "\n";
 6626 	OS << "\t"<< "\n";
 6626 	OS << "\t"<< "\n";
 6630 	OS << "\t"<< "\n";
 6630 	OS << "\t"<< "\n";
 6634 	OS << "\t"<< "\n";
 6634 	OS << "\t"<< "\n";
 6638 	OS << "\t"<< "\n";
 6638 	OS << "\t"<< "\n";
 6642 	OS << "\t"<< "\n";
 6642 	OS << "\t"<< "\n";
 6646 	OS << "\t"<< "\n";
 6646 	OS << "\t"<< "\n";
 6650 	OS << "\t"<< "\n";
 6650 	OS << "\t"<< "\n";
 6852 	OS << "\t"<< "\n";
 6852 	OS << "\t"<< "\n";
 6856 	OS << "\t"<< "\n";
 6856 	OS << "\t"<< "\n";
 6860 	OS << "\t"<< "\n";
 6860 	OS << "\t"<< "\n";
 6864 	OS << "\t"<< "\n";
 6864 	OS << "\t"<< "\n";
 6868 	OS << "\t"<< "\n";
 6868 	OS << "\t"<< "\n";
 6872 	OS << "\t"<< "\n";
 6872 	OS << "\t"<< "\n";
 6876 	OS << "\t"<< "\n";
 6876 	OS << "\t"<< "\n";
 6880 	OS << "\t"<< "\n";
 6880 	OS << "\t"<< "\n";
 6884 	OS << "\t"<< "\n";
 6884 	OS << "\t"<< "\n";
 6888 	OS << "\t"<< "\n";
 6888 	OS << "\t"<< "\n";
 7084 	OS << "\t"<< "\n";
 7084 	OS << "\t"<< "\n";
 7088 	OS << "\t"<< "\n";
 7088 	OS << "\t"<< "\n";
 7092 	OS << "\t"<< "\n";
 7092 	OS << "\t"<< "\n";
 7096 	OS << "\t"<< "\n";
 7096 	OS << "\t"<< "\n";
 7100 	OS << "\t"<< "\n";
 7100 	OS << "\t"<< "\n";
 7104 	OS << "\t"<< "\n";
 7104 	OS << "\t"<< "\n";
 7108 	OS << "\t"<< "\n";
 7108 	OS << "\t"<< "\n";
 7112 	OS << "\t"<< "\n";
 7112 	OS << "\t"<< "\n";
 7116 	OS << "\t"<< "\n";
 7116 	OS << "\t"<< "\n";
 7308 	OS << "\t"<< "\n";
 7308 	OS << "\t"<< "\n";
 7312 	OS << "\t"<< "\n";
 7312 	OS << "\t"<< "\n";
 7316 	OS << "\t"<< "\n";
 7316 	OS << "\t"<< "\n";
 7320 	OS << "\t"<< "\n";
 7320 	OS << "\t"<< "\n";
 7324 	OS << "\t"<< "\n";
 7324 	OS << "\t"<< "\n";
 7328 	OS << "\t"<< "\n";
 7328 	OS << "\t"<< "\n";
 7332 	OS << "\t"<< "\n";
 7332 	OS << "\t"<< "\n";
 7336 	OS << "\t"<< "\n";
 7336 	OS << "\t"<< "\n";
 7340 	OS << "\t"<< "\n";
 7340 	OS << "\t"<< "\n";
 7344 	OS << "\t"<< "\n";
 7344 	OS << "\t"<< "\n";
 7492 	OS << "\t"<< "\n";
 7492 	OS << "\t"<< "\n";
 7523 	OS << "\t"<< "\n";
 7523 	OS << "\t"<< "\n";
 7554 	OS << "\t"<< "\n";
 7554 	OS << "\t"<< "\n";
 7639 	OS << "\t"<< "\n";
 7639 	OS << "\t"<< "\n";
 7643 	OS << "\t"<< "\n";
 7643 	OS << "\t"<< "\n";
 7647 	OS << "\t"<< "\n";
 7647 	OS << "\t"<< "\n";
 7651 	OS << "\t"<< "\n";
 7651 	OS << "\t"<< "\n";
 7655 	OS << "\t"<< "\n";
 7655 	OS << "\t"<< "\n";
 7659 	OS << "\t"<< "\n";
 7659 	OS << "\t"<< "\n";
 7663 	OS << "\t"<< "\n";
 7663 	OS << "\t"<< "\n";
 7667 	OS << "\t"<< "\n";
 7667 	OS << "\t"<< "\n";
 7671 	OS << "\t"<< "\n";
 7671 	OS << "\t"<< "\n";
 7675 	OS << "\t"<< "\n";
 7675 	OS << "\t"<< "\n";
 7897 	OS << "\t"<< "\n";
 7897 	OS << "\t"<< "\n";
 7901 	OS << "\t"<< "\n";
 7901 	OS << "\t"<< "\n";
 7905 	OS << "\t"<< "\n";
 7905 	OS << "\t"<< "\n";
 7909 	OS << "\t"<< "\n";
 7909 	OS << "\t"<< "\n";
 7913 	OS << "\t"<< "\n";
 7913 	OS << "\t"<< "\n";
 7917 	OS << "\t"<< "\n";
 7917 	OS << "\t"<< "\n";
 7921 	OS << "\t"<< "\n";
 7921 	OS << "\t"<< "\n";
 7925 	OS << "\t"<< "\n";
 7925 	OS << "\t"<< "\n";
 7929 	OS << "\t"<< "\n";
 7929 	OS << "\t"<< "\n";
 7933 	OS << "\t"<< "\n";
 7933 	OS << "\t"<< "\n";
 8085 	OS << "\t"<< "\n";
 8085 	OS << "\t"<< "\n";
 8111 	OS << "\t"<< "\n";
 8111 	OS << "\t"<< "\n";
 8199 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8199 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8199 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8203 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8203 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8203 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8207 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8207 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8207 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8211 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8211 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8211 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8215 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8215 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8215 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8219 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8219 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8219 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8223 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8223 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8223 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8227 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8227 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8227 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8231 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8231 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8231 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8235 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8235 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8235 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8447 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8447 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8447 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8451 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8451 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8451 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8455 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8455 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8455 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8459 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8459 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8459 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8463 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8463 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8463 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8467 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8467 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8467 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8471 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8471 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8471 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8475 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8475 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8475 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8479 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8479 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8479 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8483 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8483 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8483 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8695 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8695 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8695 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8699 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8699 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8699 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8703 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8703 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8703 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8707 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8707 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8707 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8711 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8711 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8711 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8715 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8715 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8715 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8719 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8719 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8719 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8723 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8723 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8723 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8727 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8727 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8727 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8731 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8731 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8731 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8945 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8945 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8945 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8949 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8949 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8949 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8953 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8953 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8953 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8957 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8957 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8957 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8961 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8961 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8961 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8965 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8965 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8965 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8969 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8969 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8969 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8973 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8973 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8973 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8977 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8977 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8977 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8981 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8981 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 8981 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9193 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9193 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9193 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9197 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9197 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9197 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9201 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9201 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9201 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9205 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9205 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9205 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9209 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9209 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9209 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9213 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9213 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9213 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9217 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9217 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9217 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9221 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9221 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9221 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9225 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9225 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9225 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9229 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9229 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9229 	OS << "\t" << PC.read<uint32_t>() << " "<< "\n";
 9431 	OS << "\t"<< "\n";
 9431 	OS << "\t"<< "\n";
 9435 	OS << "\t"<< "\n";
 9435 	OS << "\t"<< "\n";
 9439 	OS << "\t"<< "\n";
 9439 	OS << "\t"<< "\n";
 9443 	OS << "\t"<< "\n";
 9443 	OS << "\t"<< "\n";
 9447 	OS << "\t"<< "\n";
 9447 	OS << "\t"<< "\n";
 9451 	OS << "\t"<< "\n";
 9451 	OS << "\t"<< "\n";
 9455 	OS << "\t"<< "\n";
 9455 	OS << "\t"<< "\n";
 9459 	OS << "\t"<< "\n";
 9459 	OS << "\t"<< "\n";
 9463 	OS << "\t"<< "\n";
 9463 	OS << "\t"<< "\n";
 9467 	OS << "\t"<< "\n";
 9467 	OS << "\t"<< "\n";
 9663 	OS << "\t"<< "\n";
 9663 	OS << "\t"<< "\n";
 9667 	OS << "\t"<< "\n";
 9667 	OS << "\t"<< "\n";
 9671 	OS << "\t"<< "\n";
 9671 	OS << "\t"<< "\n";
 9675 	OS << "\t"<< "\n";
 9675 	OS << "\t"<< "\n";
 9679 	OS << "\t"<< "\n";
 9679 	OS << "\t"<< "\n";
 9683 	OS << "\t"<< "\n";
 9683 	OS << "\t"<< "\n";
 9687 	OS << "\t"<< "\n";
 9687 	OS << "\t"<< "\n";
 9691 	OS << "\t"<< "\n";
 9691 	OS << "\t"<< "\n";
 9695 	OS << "\t"<< "\n";
 9695 	OS << "\t"<< "\n";
 9881 	OS << "\t"<< "\n";
 9881 	OS << "\t"<< "\n";
 9885 	OS << "\t"<< "\n";
 9885 	OS << "\t"<< "\n";
 9889 	OS << "\t"<< "\n";
 9889 	OS << "\t"<< "\n";
 9893 	OS << "\t"<< "\n";
 9893 	OS << "\t"<< "\n";
 9897 	OS << "\t"<< "\n";
 9897 	OS << "\t"<< "\n";
 9901 	OS << "\t"<< "\n";
 9901 	OS << "\t"<< "\n";
 9905 	OS << "\t"<< "\n";
 9905 	OS << "\t"<< "\n";
 9909 	OS << "\t"<< "\n";
 9909 	OS << "\t"<< "\n";
 9913 	OS << "\t"<< "\n";
 9913 	OS << "\t"<< "\n";
10105 	OS << "\t"<< "\n";
10105 	OS << "\t"<< "\n";
10109 	OS << "\t"<< "\n";
10109 	OS << "\t"<< "\n";
10113 	OS << "\t"<< "\n";
10113 	OS << "\t"<< "\n";
10117 	OS << "\t"<< "\n";
10117 	OS << "\t"<< "\n";
10121 	OS << "\t"<< "\n";
10121 	OS << "\t"<< "\n";
10125 	OS << "\t"<< "\n";
10125 	OS << "\t"<< "\n";
10129 	OS << "\t"<< "\n";
10129 	OS << "\t"<< "\n";
10133 	OS << "\t"<< "\n";
10133 	OS << "\t"<< "\n";
10137 	OS << "\t"<< "\n";
10137 	OS << "\t"<< "\n";
10141 	OS << "\t"<< "\n";
10141 	OS << "\t"<< "\n";
10337 	OS << "\t"<< "\n";
10337 	OS << "\t"<< "\n";
10341 	OS << "\t"<< "\n";
10341 	OS << "\t"<< "\n";
10345 	OS << "\t"<< "\n";
10345 	OS << "\t"<< "\n";
10349 	OS << "\t"<< "\n";
10349 	OS << "\t"<< "\n";
10353 	OS << "\t"<< "\n";
10353 	OS << "\t"<< "\n";
10357 	OS << "\t"<< "\n";
10357 	OS << "\t"<< "\n";
10361 	OS << "\t"<< "\n";
10361 	OS << "\t"<< "\n";
10365 	OS << "\t"<< "\n";
10365 	OS << "\t"<< "\n";
10369 	OS << "\t"<< "\n";
10369 	OS << "\t"<< "\n";
10555 	OS << "\t"<< "\n";
10555 	OS << "\t"<< "\n";
10559 	OS << "\t"<< "\n";
10559 	OS << "\t"<< "\n";
10563 	OS << "\t"<< "\n";
10563 	OS << "\t"<< "\n";
10567 	OS << "\t"<< "\n";
10567 	OS << "\t"<< "\n";
10571 	OS << "\t"<< "\n";
10571 	OS << "\t"<< "\n";
10575 	OS << "\t"<< "\n";
10575 	OS << "\t"<< "\n";
10579 	OS << "\t"<< "\n";
10579 	OS << "\t"<< "\n";
10583 	OS << "\t"<< "\n";
10583 	OS << "\t"<< "\n";
10587 	OS << "\t"<< "\n";
10587 	OS << "\t"<< "\n";
10725 	OS << "\t"<< "\n";
10725 	OS << "\t"<< "\n";
10804 	OS << "\t"<< "\n";
10804 	OS << "\t"<< "\n";
10808 	OS << "\t"<< "\n";
10808 	OS << "\t"<< "\n";
10812 	OS << "\t"<< "\n";
10812 	OS << "\t"<< "\n";
10816 	OS << "\t"<< "\n";
10816 	OS << "\t"<< "\n";
10820 	OS << "\t"<< "\n";
10820 	OS << "\t"<< "\n";
10824 	OS << "\t"<< "\n";
10824 	OS << "\t"<< "\n";
10828 	OS << "\t"<< "\n";
10828 	OS << "\t"<< "\n";
10832 	OS << "\t"<< "\n";
10832 	OS << "\t"<< "\n";
10836 	OS << "\t"<< "\n";
10836 	OS << "\t"<< "\n";
include/llvm/ADT/Optional.h
  421     OS << *O;
include/llvm/ADT/SparseBitVector.h
  877   out << "[";
  884       out << " " << *bi;
  887   out << "]\n";
include/llvm/Analysis/BlockFrequencyInfoImpl.h
 1034   LLVM_DEBUG(dbgs() << "\nblock-frequency: " << F.getName()
 1035                     << "\n================="
 1036                     << std::string(F.getName().size(), '=') << "\n");
 1072   LLVM_DEBUG(dbgs() << "reverse-post-order-traversal\n");
 1075     LLVM_DEBUG(dbgs() << " - " << getIndex(I) << ": " << getBlockName(Node)
 1075     LLVM_DEBUG(dbgs() << " - " << getIndex(I) << ": " << getBlockName(Node)
 1076                       << "\n");
 1087   LLVM_DEBUG(dbgs() << "loop-detection\n");
 1105     LLVM_DEBUG(dbgs() << " - loop = " << getBlockName(Header) << "\n");
 1105     LLVM_DEBUG(dbgs() << " - loop = " << getBlockName(Header) << "\n");
 1134     LLVM_DEBUG(dbgs() << " - loop = " << getBlockName(Header)
 1135                       << ": member = " << getBlockName(Index) << "\n");
 1135                       << ": member = " << getBlockName(Index) << "\n");
 1156   LLVM_DEBUG(dbgs() << "compute-mass-in-loop: " << getLoopName(Loop) << "\n");
 1156   LLVM_DEBUG(dbgs() << "compute-mass-in-loop: " << getLoopName(Loop) << "\n");
 1159     LLVM_DEBUG(dbgs() << "isIrreducible = true\n");
 1171         LLVM_DEBUG(dbgs() << "Missing irr loop header metadata on "
 1172                           << getBlockName(HeaderNode) << "\n");
 1177                         << " has irr loop header weight "
 1178                         << HeaderWeight.getValue() << "\n");
 1200       LLVM_DEBUG(dbgs() << "Giving weight " << MinWeight << " to "
 1200       LLVM_DEBUG(dbgs() << "Giving weight " << MinWeight << " to "
 1201                         << getBlockName(HeaderNode) << "\n");
 1230   LLVM_DEBUG(dbgs() << "compute-mass-in-function\n");
 1282   LLVM_DEBUG(dbgs() << "analyze-irreducible-in-";
 1284              << "loop: " << getLoopName(*OuterLoop) << "\n";
 1284              << "loop: " << getLoopName(*OuterLoop) << "\n";
 1285              else dbgs() << "function\n");
 1311   LLVM_DEBUG(dbgs() << " - node: " << getBlockName(Node) << "\n");
 1311   LLVM_DEBUG(dbgs() << " - node: " << getBlockName(Node) << "\n");
 1341   OS << "block-frequency-info: " << F->getName() << "\n";
 1341   OS << "block-frequency-info: " << F->getName() << "\n";
 1343     OS << " - " << bfi_detail::getBlockName(&BB) << ": float = ";
 1343     OS << " - " << bfi_detail::getBlockName(&BB) << ": float = ";
 1345         << ", int = " << getBlockFreq(&BB).getFrequency();
 1349       OS << ", count = " << ProfileCount.getValue();
 1352       OS << ", irr_loop_header_weight = " << IrrLoopHeaderWeight.getValue();
 1353     OS << "\n";
 1357   OS << "\n";
 1407     OS << "color=\"red\"";
 1418       OS << Node->getName() << "[" << layout_order << "] : ";
 1418       OS << Node->getName() << "[" << layout_order << "] : ";
 1420       OS << Node->getName() << " : ";
 1433         OS << "Unknown";
 1464         OS << ",color=\"red\"";
include/llvm/Analysis/CFGPrinter.h
   82       OS << ":";
include/llvm/Analysis/CGSCCPassManager.h
  470     LLVM_DEBUG(dbgs() << "Running function passes across an SCC: " << C
  471                       << "\n");
  646         LLVM_DEBUG(dbgs() << "Found devirtualized call from "
  647                           << CS.getParent()->getParent()->getName() << " to "
  648                           << F->getName() << "\n");
  691             dbgs() << "Found another devirtualization after hitting the max "
  693                    << MaxIterations << ") on SCC: " << *C << "\n");
  693                    << MaxIterations << ") on SCC: " << *C << "\n");
  700           << "Repeating an SCC pass after finding a devirtualization in: " << *C
  701           << "\n");
  788         LLVM_DEBUG(dbgs() << "Skipping an invalid RefSCC...\n");
  795       LLVM_DEBUG(dbgs() << "Running an SCC pass across the RefSCC: " << *RC
  796                         << "\n");
  810           LLVM_DEBUG(dbgs() << "Skipping an invalid SCC...\n");
  814           LLVM_DEBUG(dbgs() << "Skipping an SCC that is now part of some other "
  877             LLVM_DEBUG(dbgs() << "Skipping invalidated root or island SCC!\n");
  909                        << "Re-running SCC passes after a refinement of the "
  911                        << *UR.UpdatedC << "\n");
include/llvm/Analysis/DOTGraphTraitsPass.h
  100     errs() << "Writing '" << Filename << "'...";
  100     errs() << "Writing '" << Filename << "'...";
  109       errs() << "  error opening file for writing!";
  110     errs() << "\n";
  163     errs() << "Writing '" << Filename << "'...";
  163     errs() << "Writing '" << Filename << "'...";
  171       errs() << "  error opening file for writing!";
  172     errs() << "\n";
include/llvm/Analysis/DominanceFrontierImpl.h
  131     OS << "  DomFrontier for BB ";
  135       OS << " <<exit node>>";
  136     OS << " is:\t";
  145         OS << "<<exit node>>";
include/llvm/Analysis/LazyCallGraph.h
  459           OS << ", ";
  462           OS << "..., " << *C.Nodes.back();
  580           OS << ", ";
  583           OS << "..., " << *RC.SCCs.back();
include/llvm/Analysis/LoopInfoImpl.h
  337     dbgs() << "The following blocks are unreachable in the loop: ";
  340         dbgs() << *BB << "\n";
  381     OS << "Parallel ";
  382   OS << "Loop at depth " << getLoopDepth() << " containing: ";
  382   OS << "Loop at depth " << getLoopDepth() << " containing: ";
  389         OS << ",";
  392       OS << "\n";
  395       OS << "<header>";
  397       OS << "<latch>";
  399       OS << "<exiting>";
  403   OS << "\n";
  729       dbgs() << "Found new loop: " << *HeaderAndLoop.second << "\n";
  729       dbgs() << "Found new loop: " << *HeaderAndLoop.second << "\n";
include/llvm/Analysis/RegionInfoImpl.h
  493     OS.indent(level * 2) << '[' << level << "] " << getNameStr();
  500     OS.indent(level * 2) << "{\n";
  505         OS << BB->getName() << ", "; // TODO: remove the last ","
  508         OS << *Element << ", "; // TODO: remove the last ",
  521     OS.indent(level * 2) << "} \n";
  787   OS << "Region tree:\n";
  789   OS << "End region tree\n";
include/llvm/Analysis/SparsePropagation.h
  207     OS << "undefined";
  209     OS << "overdefined";
  211     OS << "untracked";
  213     OS << "unknown lattice value";
  219   OS << "unknown lattice key";
  262   LLVM_DEBUG(dbgs() << "Marking Block Executable: " << BB->getName() << "\n");
  262   LLVM_DEBUG(dbgs() << "Marking Block Executable: " << BB->getName() << "\n");
  272   LLVM_DEBUG(dbgs() << "Marking Edge Executable: " << Source->getName()
  273                     << " -> " << Dest->getName() << "\n");
  273                     << " -> " << Dest->getName() << "\n");
  476       LLVM_DEBUG(dbgs() << "\nPopped off V-WL: " << *V << "\n");
  476       LLVM_DEBUG(dbgs() << "\nPopped off V-WL: " << *V << "\n");
  491       LLVM_DEBUG(dbgs() << "\nPopped off BBWL: " << *BB);
  510   OS << "ValueState:\n";
  515     OS << "\t";
  517     OS << ": ";
  519     OS << "\n";
include/llvm/BinaryFormat/Dwarf.h
  668       OS << "DW_" << dwarf::EnumTraits<Enum>::Type << "_unknown_"
  668       OS << "DW_" << dwarf::EnumTraits<Enum>::Type << "_unknown_"
  668       OS << "DW_" << dwarf::EnumTraits<Enum>::Type << "_unknown_"
include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
   63                     dbgs() << CurrentIdx << ": Rejected\n");
   68                     dbgs() << CurrentIdx << ": Resume at " << CurrentIdx << " ("
   68                     dbgs() << CurrentIdx << ": Resume at " << CurrentIdx << " ("
   69                            << OnFailResumeAt.size() << " try-blocks remain)\n");
   79                       dbgs() << CurrentIdx << ": Begin try-block\n");
   96                         dbgs() << CurrentIdx << ": Not a register\n");
  103                         dbgs() << CurrentIdx << ": Is a physical register\n");
  118                       dbgs() << CurrentIdx << ": MIs[" << NewInsnID
  119                              << "] = GIM_RecordInsn(" << InsnID << ", " << OpIdx
  119                              << "] = GIM_RecordInsn(" << InsnID << ", " << OpIdx
  120                              << ")\n");
  128                              << ": GIM_CheckFeatures(ExpectedBitsetID="
  129                              << ExpectedBitsetID << ")\n");
  146                       dbgs() << CurrentIdx << ": GIM_CheckOpcode(MIs[" << InsnID
  147                              << "], ExpectedOpcode=" << Expected
  148                              << ") // Got=" << Opcode << "\n");
  148                              << ") // Got=" << Opcode << "\n");
  166         dbgs() << CurrentIdx << ": GIM_SwitchOpcode(MIs[" << InsnID << "], ["
  166         dbgs() << CurrentIdx << ": GIM_SwitchOpcode(MIs[" << InsnID << "], ["
  167                << LowerBound << ", " << UpperBound << "), Default=" << Default
  167                << LowerBound << ", " << UpperBound << "), Default=" << Default
  168                << ", JumpTable...) // Got=" << Opcode << "\n";
  168                << ", JumpTable...) // Got=" << Opcode << "\n";
  194         dbgs() << CurrentIdx << ": GIM_SwitchType(MIs[" << InsnID
  195                << "]->getOperand(" << OpIdx << "), [" << LowerBound << ", "
  195                << "]->getOperand(" << OpIdx << "), [" << LowerBound << ", "
  195                << "]->getOperand(" << OpIdx << "), [" << LowerBound << ", "
  196                << UpperBound << "), Default=" << Default
  197                << ", JumpTable...) // Got=";
  199           dbgs() << "Not a VReg\n";
  201           dbgs() << MRI.getType(MO.getReg()) << "\n";
  231                       dbgs() << CurrentIdx << ": GIM_CheckNumOperands(MIs["
  232                              << InsnID << "], Expected=" << Expected << ")\n");
  232                              << InsnID << "], Expected=" << Expected << ")\n");
  245                           << CurrentIdx << ": GIM_CheckI64ImmPredicate(MIs["
  246                           << InsnID << "], Predicate=" << Predicate << ")\n");
  246                           << InsnID << "], Predicate=" << Predicate << ")\n");
  269                           << CurrentIdx << ": GIM_CheckAPIntImmPredicate(MIs["
  270                           << InsnID << "], Predicate=" << Predicate << ")\n");
  270                           << InsnID << "], Predicate=" << Predicate << ")\n");
  291                           << CurrentIdx << ": GIM_CheckAPFloatImmPredicate(MIs["
  292                           << InsnID << "], Predicate=" << Predicate << ")\n");
  292                           << InsnID << "], Predicate=" << Predicate << ")\n");
  310                           << CurrentIdx << ": GIM_CheckCxxPredicate(MIs["
  311                           << InsnID << "], Predicate=" << Predicate << ")\n");
  311                           << InsnID << "], Predicate=" << Predicate << ")\n");
  324                       dbgs() << CurrentIdx << ": GIM_CheckAtomicOrdering(MIs["
  325                              << InsnID << "], " << (uint64_t)Ordering << ")\n");
  325                              << InsnID << "], " << (uint64_t)Ordering << ")\n");
  342                              << ": GIM_CheckAtomicOrderingOrStrongerThan(MIs["
  343                              << InsnID << "], " << (uint64_t)Ordering << ")\n");
  343                              << InsnID << "], " << (uint64_t)Ordering << ")\n");
  360                              << ": GIM_CheckAtomicOrderingWeakerThan(MIs["
  361                              << InsnID << "], " << (uint64_t)Ordering << ")\n");
  361                              << InsnID << "], " << (uint64_t)Ordering << ")\n");
  398           dbgs() << "addrspace(" << MMOAddrSpace << ") vs "
  398           dbgs() << "addrspace(" << MMOAddrSpace << ") vs "
  428                       dbgs() << CurrentIdx << ": GIM_CheckMemoryAlignment"
  429                       << "(MIs[" << InsnID << "]->memoperands() + " << MMOIdx
  429                       << "(MIs[" << InsnID << "]->memoperands() + " << MMOIdx
  430                       << ")->getAlignment() >= " << MinAlign << ")\n");
  430                       << ")->getAlignment() >= " << MinAlign << ")\n");
  443                              << ": GIM_CheckMemorySizeEqual(MIs[" << InsnID
  444                              << "]->memoperands() + " << MMOIdx
  445                              << ", Size=" << Size << ")\n");
  445                              << ", Size=" << Size << ")\n");
  457                       dbgs() << MMO->getSize() << " bytes vs " << Size
  458                              << " bytes\n");
  474           dbgs() << CurrentIdx << ": GIM_CheckMemorySize"
  475                  << (MatcherOpcode == GIM_CheckMemorySizeEqualToLLT
  480                  << "LLT(MIs[" << InsnID << "]->memoperands() + " << MMOIdx
  480                  << "LLT(MIs[" << InsnID << "]->memoperands() + " << MMOIdx
  481                  << ", OpIdx=" << OpIdx << ")\n");
  481                  << ", OpIdx=" << OpIdx << ")\n");
  487                         dbgs() << CurrentIdx << ": Not a register\n");
  522                       dbgs() << CurrentIdx << ": GIM_CheckType(MIs[" << InsnID
  523                              << "]->getOperand(" << OpIdx
  524                              << "), TypeID=" << TypeID << ")\n");
  524                              << "), TypeID=" << TypeID << ")\n");
  540                       dbgs() << CurrentIdx << ": GIM_CheckPointerToAny(MIs["
  541                              << InsnID << "]->getOperand(" << OpIdx
  542                              << "), SizeInBits=" << SizeInBits << ")\n");
  542                              << "), SizeInBits=" << SizeInBits << ")\n");
  570                       dbgs() << CurrentIdx << ": GIM_CheckRegBankForClass(MIs["
  571                              << InsnID << "]->getOperand(" << OpIdx
  572                              << "), RCEnum=" << RCEnum << ")\n");
  572                              << "), RCEnum=" << RCEnum << ")\n");
  590                       dbgs() << CurrentIdx << ": State.Renderers[" << RendererID
  591                              << "] = GIM_CheckComplexPattern(MIs[" << InsnID
  592                              << "]->getOperand(" << OpIdx
  593                              << "), ComplexPredicateID=" << ComplexPredicateID
  594                              << ")\n");
  613                       dbgs() << CurrentIdx << ": GIM_CheckConstantInt(MIs["
  614                              << InsnID << "]->getOperand(" << OpIdx
  615                              << "), Value=" << Value << ")\n");
  615                              << "), Value=" << Value << ")\n");
  638                       dbgs() << CurrentIdx << ": GIM_CheckLiteralInt(MIs["
  639                              << InsnID << "]->getOperand(" << OpIdx
  640                              << "), Value=" << Value << ")\n");
  640                              << "), Value=" << Value << ")\n");
  655                       dbgs() << CurrentIdx << ": GIM_CheckIntrinsicID(MIs["
  656                              << InsnID << "]->getOperand(" << OpIdx
  657                              << "), Value=" << Value << ")\n");
  657                              << "), Value=" << Value << ")\n");
  670                       dbgs() << CurrentIdx << ": GIM_CheckCmpPredicate(MIs["
  671                              << InsnID << "]->getOperand(" << OpIdx
  672                              << "), Value=" << Value << ")\n");
  672                              << "), Value=" << Value << ")\n");
  684                       dbgs() << CurrentIdx << ": GIM_CheckIsMBB(MIs[" << InsnID
  685                              << "]->getOperand(" << OpIdx << "))\n");
  685                              << "]->getOperand(" << OpIdx << "))\n");
  697                       dbgs() << CurrentIdx << ": GIM_CheckIsImm(MIs[" << InsnID
  698                              << "]->getOperand(" << OpIdx << "))\n");
  698                              << "]->getOperand(" << OpIdx << "))\n");
  709                       dbgs() << CurrentIdx << ": GIM_CheckIsSafeToFold(MIs["
  710                              << InsnID << "])\n");
  724                       dbgs() << CurrentIdx << ": GIM_CheckIsSameOperand(MIs["
  725                              << InsnID << "][" << OpIdx << "], MIs["
  725                              << InsnID << "][" << OpIdx << "], MIs["
  726                              << OtherInsnID << "][" << OtherOpIdx << "])\n");
  726                              << OtherInsnID << "][" << OtherOpIdx << "])\n");
  738                       dbgs() << CurrentIdx << ": GIM_Reject\n");
  754                       dbgs() << CurrentIdx << ": GIR_MutateOpcode(OutMIs["
  755                              << NewInsnID << "], MIs[" << OldInsnID << "], "
  755                              << NewInsnID << "], MIs[" << OldInsnID << "], "
  756                              << NewOpcode << ")\n");
  769                       dbgs() << CurrentIdx << ": GIR_BuildMI(OutMIs["
  770                              << NewInsnID << "], " << Opcode << ")\n");
  770                              << NewInsnID << "], " << Opcode << ")\n");
  782                           << CurrentIdx << ": GIR_Copy(OutMIs[" << NewInsnID
  783                           << "], MIs[" << OldInsnID << "], " << OpIdx << ")\n");
  783                           << "], MIs[" << OldInsnID << "], " << OpIdx << ")\n");
  783                           << "], MIs[" << OldInsnID << "], " << OpIdx << ")\n");
  799                       dbgs() << CurrentIdx << ": GIR_CopyOrAddZeroReg(OutMIs["
  800                              << NewInsnID << "], MIs[" << OldInsnID << "], "
  800                              << NewInsnID << "], MIs[" << OldInsnID << "], "
  801                              << OpIdx << ", " << ZeroReg << ")\n");
  801                              << OpIdx << ", " << ZeroReg << ")\n");
  814                       dbgs() << CurrentIdx << ": GIR_CopySubReg(OutMIs["
  815                              << NewInsnID << "], MIs[" << OldInsnID << "], "
  815                              << NewInsnID << "], MIs[" << OldInsnID << "], "
  816                              << OpIdx << ", " << SubRegIdx << ")\n");
  816                              << OpIdx << ", " << SubRegIdx << ")\n");
  826                       dbgs() << CurrentIdx << ": GIR_AddImplicitDef(OutMIs["
  827                              << InsnID << "], " << RegNum << ")\n");
  827                              << InsnID << "], " << RegNum << ")\n");
  837                       dbgs() << CurrentIdx << ": GIR_AddImplicitUse(OutMIs["
  838                              << InsnID << "], " << RegNum << ")\n");
  838                              << InsnID << "], " << RegNum << ")\n");
  850         dbgs() << CurrentIdx << ": GIR_AddRegister(OutMIs["
  851         << InsnID << "], " << RegNum << ", " << RegFlags << ")\n");
  851         << InsnID << "], " << RegNum << ", " << RegFlags << ")\n");
  851         << InsnID << "], " << RegNum << ", " << RegFlags << ")\n");
  862                       dbgs() << CurrentIdx << ": GIR_AddTempRegister(OutMIs["
  863                              << InsnID << "], TempRegisters[" << TempRegID
  864                              << "], " << TempRegFlags << ")\n");
  864                              << "], " << TempRegFlags << ")\n");
  874                       dbgs() << CurrentIdx << ": GIR_AddImm(OutMIs[" << InsnID
  875                              << "], " << Imm << ")\n");
  875                              << "], " << Imm << ")\n");
  886                       dbgs() << CurrentIdx << ": GIR_ComplexRenderer(OutMIs["
  887                              << InsnID << "], " << RendererID << ")\n");
  887                              << InsnID << "], " << RendererID << ")\n");
  898                              << ": GIR_ComplexSubOperandRenderer(OutMIs["
  899                              << InsnID << "], " << RendererID << ", "
  899                              << InsnID << "], " << RendererID << ", "
  900                              << RenderOpID << ")\n");
  917                       dbgs() << CurrentIdx << ": GIR_CopyConstantAsSImm(OutMIs["
  918                              << NewInsnID << "], MIs[" << OldInsnID << "])\n");
  918                              << NewInsnID << "], MIs[" << OldInsnID << "])\n");
  934                       dbgs() << CurrentIdx << ": GIR_CopyFPConstantAsFPImm(OutMIs["
  935                              << NewInsnID << "], MIs[" << OldInsnID << "])\n");
  935                              << NewInsnID << "], MIs[" << OldInsnID << "])\n");
  945                       dbgs() << CurrentIdx << ": GIR_CustomRenderer(OutMIs["
  946                              << InsnID << "], MIs[" << OldInsnID << "], "
  946                              << InsnID << "], MIs[" << OldInsnID << "], "
  947                              << RendererFnID << ")\n");
  960                       dbgs() << CurrentIdx << ": GIR_ConstrainOperandRC(OutMIs["
  961                              << InsnID << "], " << OpIdx << ", " << RCEnum
  961                              << InsnID << "], " << OpIdx << ", " << RCEnum
  962                              << ")\n");
  973                              << ": GIR_ConstrainSelectedInstOperands(OutMIs["
  974                              << InsnID << "])\n");
  983                       dbgs() << CurrentIdx << ": GIR_MergeMemOperands(OutMIs["
  984                              << InsnID << "]");
  989                         dbgs() << ", MIs[" << MergeInsnID << "]");
  989                         dbgs() << ", MIs[" << MergeInsnID << "]");
  993       DEBUG_WITH_TYPE(TgtInstructionSelector::getName(), dbgs() << ")\n");
 1003                       dbgs() << CurrentIdx << ": GIR_EraseFromParent(MIs["
 1004                              << InsnID << "])\n");
 1015                       dbgs() << CurrentIdx << ": TempRegs[" << TempRegID
 1016                              << "] = GIR_MakeTempReg(" << TypeID << ")\n");
 1016                              << "] = GIR_MakeTempReg(" << TypeID << ")\n");
 1026                           << CurrentIdx << ": GIR_Coverage(" << RuleID << ")");
 1026                           << CurrentIdx << ": GIR_Coverage(" << RuleID << ")");
 1032                       dbgs() << CurrentIdx << ": GIR_Done\n");
include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
   59       LLVM_DEBUG(dbgs() << ".. Combine MI: " << MI;);
  108       LLVM_DEBUG(dbgs() << ".. Combine MI: " << MI;);
  148       LLVM_DEBUG(dbgs() << ".. Combine MI: " << MI;);
  203         LLVM_DEBUG(dbgs() << ".. Combine G_ANYEXT(G_IMPLICIT_DEF): " << MI;);
  210         LLVM_DEBUG(dbgs() << ".. Combine G_[SZ]EXT(G_IMPLICIT_DEF): " << MI;);
  526       LLVM_DEBUG(dbgs() << *DeadMI << "Is dead, eagerly deleting\n");
include/llvm/CodeGen/PBQP/Math.h
  112   OS << "[ " << V[0];
  114     OS << ", " << V[i];
  115   OS << " ]";
  250     OS << M.getRowAsVector(i) << "\n";
include/llvm/DebugInfo/CodeView/CodeViewRegisters.def
   36 CV_REGISTER(ERR, 30000)
   37 CV_REGISTER(TEB, 30001)
   38 CV_REGISTER(TIMER, 30002)
   39 CV_REGISTER(EFAD1, 30003)
   40 CV_REGISTER(EFAD2, 30004)
   41 CV_REGISTER(EFAD3, 30005)
   42 CV_REGISTER(VFRAME, 30006)
   43 CV_REGISTER(HANDLE, 30007)
   44 CV_REGISTER(PARAMS, 30008)
   45 CV_REGISTER(LOCALS, 30009)
   46 CV_REGISTER(TID, 30010)
   47 CV_REGISTER(ENV, 30011)
   48 CV_REGISTER(CMDLN, 30012)
   50 CV_REGISTER(NONE, 0)
   51 CV_REGISTER(AL, 1)
   52 CV_REGISTER(CL, 2)
   53 CV_REGISTER(DL, 3)
   54 CV_REGISTER(BL, 4)
   55 CV_REGISTER(AH, 5)
   56 CV_REGISTER(CH, 6)
   57 CV_REGISTER(DH, 7)
   58 CV_REGISTER(BH, 8)
   59 CV_REGISTER(AX, 9)
   60 CV_REGISTER(CX, 10)
   61 CV_REGISTER(DX, 11)
   62 CV_REGISTER(BX, 12)
   63 CV_REGISTER(SP, 13)
   64 CV_REGISTER(BP, 14)
   65 CV_REGISTER(SI, 15)
   66 CV_REGISTER(DI, 16)
   67 CV_REGISTER(EAX, 17)
   68 CV_REGISTER(ECX, 18)
   69 CV_REGISTER(EDX, 19)
   70 CV_REGISTER(EBX, 20)
   71 CV_REGISTER(ESP, 21)
   72 CV_REGISTER(EBP, 22)
   73 CV_REGISTER(ESI, 23)
   74 CV_REGISTER(EDI, 24)
   75 CV_REGISTER(ES, 25)
   76 CV_REGISTER(CS, 26)
   77 CV_REGISTER(SS, 27)
   78 CV_REGISTER(DS, 28)
   79 CV_REGISTER(FS, 29)
   80 CV_REGISTER(GS, 30)
   81 CV_REGISTER(IP, 31)
   82 CV_REGISTER(FLAGS, 32)
   83 CV_REGISTER(EIP, 33)
   84 CV_REGISTER(EFLAGS, 34)
   85 CV_REGISTER(TEMP, 40)
   86 CV_REGISTER(TEMPH, 41)
   87 CV_REGISTER(QUOTE, 42)
   88 CV_REGISTER(PCDR3, 43)
   89 CV_REGISTER(PCDR4, 44)
   90 CV_REGISTER(PCDR5, 45)
   91 CV_REGISTER(PCDR6, 46)
   92 CV_REGISTER(PCDR7, 47)
   93 CV_REGISTER(CR0, 80)
   94 CV_REGISTER(CR1, 81)
   95 CV_REGISTER(CR2, 82)
   96 CV_REGISTER(CR3, 83)
   97 CV_REGISTER(CR4, 84)
   98 CV_REGISTER(DR0, 90)
   99 CV_REGISTER(DR1, 91)
  100 CV_REGISTER(DR2, 92)
  101 CV_REGISTER(DR3, 93)
  102 CV_REGISTER(DR4, 94)
  103 CV_REGISTER(DR5, 95)
  104 CV_REGISTER(DR6, 96)
  105 CV_REGISTER(DR7, 97)
  106 CV_REGISTER(GDTR, 110)
  107 CV_REGISTER(GDTL, 111)
  108 CV_REGISTER(IDTR, 112)
  109 CV_REGISTER(IDTL, 113)
  110 CV_REGISTER(LDTR, 114)
  111 CV_REGISTER(TR, 115)
  113 CV_REGISTER(PSEUDO1, 116)
  114 CV_REGISTER(PSEUDO2, 117)
  115 CV_REGISTER(PSEUDO3, 118)
  116 CV_REGISTER(PSEUDO4, 119)
  117 CV_REGISTER(PSEUDO5, 120)
  118 CV_REGISTER(PSEUDO6, 121)
  119 CV_REGISTER(PSEUDO7, 122)
  120 CV_REGISTER(PSEUDO8, 123)
  121 CV_REGISTER(PSEUDO9, 124)
  123 CV_REGISTER(ST0, 128)
  124 CV_REGISTER(ST1, 129)
  125 CV_REGISTER(ST2, 130)
  126 CV_REGISTER(ST3, 131)
  127 CV_REGISTER(ST4, 132)
  128 CV_REGISTER(ST5, 133)
  129 CV_REGISTER(ST6, 134)
  130 CV_REGISTER(ST7, 135)
  131 CV_REGISTER(CTRL, 136)
  132 CV_REGISTER(STAT, 137)
  133 CV_REGISTER(TAG, 138)
  134 CV_REGISTER(FPIP, 139)
  135 CV_REGISTER(FPCS, 140)
  136 CV_REGISTER(FPDO, 141)
  137 CV_REGISTER(FPDS, 142)
  138 CV_REGISTER(ISEM, 143)
  139 CV_REGISTER(FPEIP, 144)
  140 CV_REGISTER(FPEDO, 145)
  142 CV_REGISTER(MM0, 146)
  143 CV_REGISTER(MM1, 147)
  144 CV_REGISTER(MM2, 148)
  145 CV_REGISTER(MM3, 149)
  146 CV_REGISTER(MM4, 150)
  147 CV_REGISTER(MM5, 151)
  148 CV_REGISTER(MM6, 152)
  149 CV_REGISTER(MM7, 153)
  151 CV_REGISTER(XMM0, 154)
  152 CV_REGISTER(XMM1, 155)
  153 CV_REGISTER(XMM2, 156)
  154 CV_REGISTER(XMM3, 157)
  155 CV_REGISTER(XMM4, 158)
  156 CV_REGISTER(XMM5, 159)
  157 CV_REGISTER(XMM6, 160)
  158 CV_REGISTER(XMM7, 161)
  160 CV_REGISTER(MXCSR, 211)
  162 CV_REGISTER(EDXEAX, 212)
  164 CV_REGISTER(EMM0L, 220)
  165 CV_REGISTER(EMM1L, 221)
  166 CV_REGISTER(EMM2L, 222)
  167 CV_REGISTER(EMM3L, 223)
  168 CV_REGISTER(EMM4L, 224)
  169 CV_REGISTER(EMM5L, 225)
  170 CV_REGISTER(EMM6L, 226)
  171 CV_REGISTER(EMM7L, 227)
  173 CV_REGISTER(EMM0H, 228)
  174 CV_REGISTER(EMM1H, 229)
  175 CV_REGISTER(EMM2H, 230)
  176 CV_REGISTER(EMM3H, 231)
  177 CV_REGISTER(EMM4H, 232)
  178 CV_REGISTER(EMM5H, 233)
  179 CV_REGISTER(EMM6H, 234)
  180 CV_REGISTER(EMM7H, 235)
  182 CV_REGISTER(MM00, 236)
  183 CV_REGISTER(MM01, 237)
  184 CV_REGISTER(MM10, 238)
  185 CV_REGISTER(MM11, 239)
  186 CV_REGISTER(MM20, 240)
  187 CV_REGISTER(MM21, 241)
  188 CV_REGISTER(MM30, 242)
  189 CV_REGISTER(MM31, 243)
  190 CV_REGISTER(MM40, 244)
  191 CV_REGISTER(MM41, 245)
  192 CV_REGISTER(MM50, 246)
  193 CV_REGISTER(MM51, 247)
  194 CV_REGISTER(MM60, 248)
  195 CV_REGISTER(MM61, 249)
  196 CV_REGISTER(MM70, 250)
  197 CV_REGISTER(MM71, 251)
  199 CV_REGISTER(BND0, 396)
  200 CV_REGISTER(BND1, 397)
  201 CV_REGISTER(BND2, 398)
  204 CV_REGISTER(XMM8, 252)
  205 CV_REGISTER(XMM9, 253)
  206 CV_REGISTER(XMM10, 254)
  207 CV_REGISTER(XMM11, 255)
  208 CV_REGISTER(XMM12, 256)
  209 CV_REGISTER(XMM13, 257)
  210 CV_REGISTER(XMM14, 258)
  211 CV_REGISTER(XMM15, 259)
  214 CV_REGISTER(SIL, 324)
  215 CV_REGISTER(DIL, 325)
  216 CV_REGISTER(BPL, 326)
  217 CV_REGISTER(SPL, 327)
  219 CV_REGISTER(RAX, 328)
  220 CV_REGISTER(RBX, 329)
  221 CV_REGISTER(RCX, 330)
  222 CV_REGISTER(RDX, 331)
  223 CV_REGISTER(RSI, 332)
  224 CV_REGISTER(RDI, 333)
  225 CV_REGISTER(RBP, 334)
  226 CV_REGISTER(RSP, 335)
  228 CV_REGISTER(R8, 336)
  229 CV_REGISTER(R9, 337)
  230 CV_REGISTER(R10, 338)
  231 CV_REGISTER(R11, 339)
  232 CV_REGISTER(R12, 340)
  233 CV_REGISTER(R13, 341)
  234 CV_REGISTER(R14, 342)
  235 CV_REGISTER(R15, 343)
  237 CV_REGISTER(R8B, 344)
  238 CV_REGISTER(R9B, 345)
  239 CV_REGISTER(R10B, 346)
  240 CV_REGISTER(R11B, 347)
  241 CV_REGISTER(R12B, 348)
  242 CV_REGISTER(R13B, 349)
  243 CV_REGISTER(R14B, 350)
  244 CV_REGISTER(R15B, 351)
  246 CV_REGISTER(R8W, 352)
  247 CV_REGISTER(R9W, 353)
  248 CV_REGISTER(R10W, 354)
  249 CV_REGISTER(R11W, 355)
  250 CV_REGISTER(R12W, 356)
  251 CV_REGISTER(R13W, 357)
  252 CV_REGISTER(R14W, 358)
  253 CV_REGISTER(R15W, 359)
  255 CV_REGISTER(R8D, 360)
  256 CV_REGISTER(R9D, 361)
  257 CV_REGISTER(R10D, 362)
  258 CV_REGISTER(R11D, 363)
  259 CV_REGISTER(R12D, 364)
  260 CV_REGISTER(R13D, 365)
  261 CV_REGISTER(R14D, 366)
  262 CV_REGISTER(R15D, 367)
  268 CV_REGISTER(AMD64_YMM0, 368)
  269 CV_REGISTER(AMD64_YMM1, 369)
  270 CV_REGISTER(AMD64_YMM2, 370)
  271 CV_REGISTER(AMD64_YMM3, 371)
  272 CV_REGISTER(AMD64_YMM4, 372)
  273 CV_REGISTER(AMD64_YMM5, 373)
  274 CV_REGISTER(AMD64_YMM6, 374)
  275 CV_REGISTER(AMD64_YMM7, 375)
  276 CV_REGISTER(AMD64_YMM8, 376)
  277 CV_REGISTER(AMD64_YMM9, 377)
  278 CV_REGISTER(AMD64_YMM10, 378)
  279 CV_REGISTER(AMD64_YMM11, 379)
  280 CV_REGISTER(AMD64_YMM12, 380)
  281 CV_REGISTER(AMD64_YMM13, 381)
  282 CV_REGISTER(AMD64_YMM14, 382)
  283 CV_REGISTER(AMD64_YMM15, 383)
  285 CV_REGISTER(AMD64_XMM16, 694)
  286 CV_REGISTER(AMD64_XMM17, 695)
  287 CV_REGISTER(AMD64_XMM18, 696)
  288 CV_REGISTER(AMD64_XMM19, 697)
  289 CV_REGISTER(AMD64_XMM20, 698)
  290 CV_REGISTER(AMD64_XMM21, 699)
  291 CV_REGISTER(AMD64_XMM22, 700)
  292 CV_REGISTER(AMD64_XMM23, 701)
  293 CV_REGISTER(AMD64_XMM24, 702)
  294 CV_REGISTER(AMD64_XMM25, 703)
  295 CV_REGISTER(AMD64_XMM26, 704)
  296 CV_REGISTER(AMD64_XMM27, 705)
  297 CV_REGISTER(AMD64_XMM28, 706)
  298 CV_REGISTER(AMD64_XMM29, 707)
  299 CV_REGISTER(AMD64_XMM30, 708)
  300 CV_REGISTER(AMD64_XMM31, 709)
  302 CV_REGISTER(AMD64_YMM16, 710)
  303 CV_REGISTER(AMD64_YMM17, 711)
  304 CV_REGISTER(AMD64_YMM18, 712)
  305 CV_REGISTER(AMD64_YMM19, 713)
  306 CV_REGISTER(AMD64_YMM20, 714)
  307 CV_REGISTER(AMD64_YMM21, 715)
  308 CV_REGISTER(AMD64_YMM22, 716)
  309 CV_REGISTER(AMD64_YMM23, 717)
  310 CV_REGISTER(AMD64_YMM24, 718)
  311 CV_REGISTER(AMD64_YMM25, 719)
  312 CV_REGISTER(AMD64_YMM26, 720)
  313 CV_REGISTER(AMD64_YMM27, 721)
  314 CV_REGISTER(AMD64_YMM28, 722)
  315 CV_REGISTER(AMD64_YMM29, 723)
  316 CV_REGISTER(AMD64_YMM30, 724)
  317 CV_REGISTER(AMD64_YMM31, 725)
  319 CV_REGISTER(AMD64_ZMM0, 726)
  320 CV_REGISTER(AMD64_ZMM1, 727)
  321 CV_REGISTER(AMD64_ZMM2, 728)
  322 CV_REGISTER(AMD64_ZMM3, 729)
  323 CV_REGISTER(AMD64_ZMM4, 730)
  324 CV_REGISTER(AMD64_ZMM5, 731)
  325 CV_REGISTER(AMD64_ZMM6, 732)
  326 CV_REGISTER(AMD64_ZMM7, 733)
  327 CV_REGISTER(AMD64_ZMM8, 734)
  328 CV_REGISTER(AMD64_ZMM9, 735)
  329 CV_REGISTER(AMD64_ZMM10, 736)
  330 CV_REGISTER(AMD64_ZMM11, 737)
  331 CV_REGISTER(AMD64_ZMM12, 738)
  332 CV_REGISTER(AMD64_ZMM13, 739)
  333 CV_REGISTER(AMD64_ZMM14, 740)
  334 CV_REGISTER(AMD64_ZMM15, 741)
  335 CV_REGISTER(AMD64_ZMM16, 742)
  336 CV_REGISTER(AMD64_ZMM17, 743)
  337 CV_REGISTER(AMD64_ZMM18, 744)
  338 CV_REGISTER(AMD64_ZMM19, 745)
  339 CV_REGISTER(AMD64_ZMM20, 746)
  340 CV_REGISTER(AMD64_ZMM21, 747)
  341 CV_REGISTER(AMD64_ZMM22, 748)
  342 CV_REGISTER(AMD64_ZMM23, 749)
  343 CV_REGISTER(AMD64_ZMM24, 750)
  344 CV_REGISTER(AMD64_ZMM25, 751)
  345 CV_REGISTER(AMD64_ZMM26, 752)
  346 CV_REGISTER(AMD64_ZMM27, 753)
  347 CV_REGISTER(AMD64_ZMM28, 754)
  348 CV_REGISTER(AMD64_ZMM29, 755)
  349 CV_REGISTER(AMD64_ZMM30, 756)
  350 CV_REGISTER(AMD64_ZMM31, 757)
  352 CV_REGISTER(AMD64_K0, 758)
  353 CV_REGISTER(AMD64_K1, 759)
  354 CV_REGISTER(AMD64_K2, 760)
  355 CV_REGISTER(AMD64_K3, 761)
  356 CV_REGISTER(AMD64_K4, 762)
  357 CV_REGISTER(AMD64_K5, 763)
  358 CV_REGISTER(AMD64_K6, 764)
  359 CV_REGISTER(AMD64_K7, 765)
  499 CV_REGISTER(ARM64_NOREG, 0)
  503 CV_REGISTER(ARM64_W0, 10)
  504 CV_REGISTER(ARM64_W1, 11)
  505 CV_REGISTER(ARM64_W2, 12)
  506 CV_REGISTER(ARM64_W3, 13)
  507 CV_REGISTER(ARM64_W4, 14)
  508 CV_REGISTER(ARM64_W5, 15)
  509 CV_REGISTER(ARM64_W6, 16)
  510 CV_REGISTER(ARM64_W7, 17)
  511 CV_REGISTER(ARM64_W8, 18)
  512 CV_REGISTER(ARM64_W9, 19)
  513 CV_REGISTER(ARM64_W10, 20)
  514 CV_REGISTER(ARM64_W11, 21)
  515 CV_REGISTER(ARM64_W12, 22)
  516 CV_REGISTER(ARM64_W13, 23)
  517 CV_REGISTER(ARM64_W14, 24)
  518 CV_REGISTER(ARM64_W15, 25)
  519 CV_REGISTER(ARM64_W16, 26)
  520 CV_REGISTER(ARM64_W17, 27)
  521 CV_REGISTER(ARM64_W18, 28)
  522 CV_REGISTER(ARM64_W19, 29)
  523 CV_REGISTER(ARM64_W20, 30)
  524 CV_REGISTER(ARM64_W21, 31)
  525 CV_REGISTER(ARM64_W22, 32)
  526 CV_REGISTER(ARM64_W23, 33)
  527 CV_REGISTER(ARM64_W24, 34)
  528 CV_REGISTER(ARM64_W25, 35)
  529 CV_REGISTER(ARM64_W26, 36)
  530 CV_REGISTER(ARM64_W27, 37)
  531 CV_REGISTER(ARM64_W28, 38)
  532 CV_REGISTER(ARM64_W29, 39)
  533 CV_REGISTER(ARM64_W30, 40)
  534 CV_REGISTER(ARM64_WZR, 41)
  538 CV_REGISTER(ARM64_X0, 50)
  539 CV_REGISTER(ARM64_X1, 51)
  540 CV_REGISTER(ARM64_X2, 52)
  541 CV_REGISTER(ARM64_X3, 53)
  542 CV_REGISTER(ARM64_X4, 54)
  543 CV_REGISTER(ARM64_X5, 55)
  544 CV_REGISTER(ARM64_X6, 56)
  545 CV_REGISTER(ARM64_X7, 57)
  546 CV_REGISTER(ARM64_X8, 58)
  547 CV_REGISTER(ARM64_X9, 59)
  548 CV_REGISTER(ARM64_X10, 60)
  549 CV_REGISTER(ARM64_X11, 61)
  550 CV_REGISTER(ARM64_X12, 62)
  551 CV_REGISTER(ARM64_X13, 63)
  552 CV_REGISTER(ARM64_X14, 64)
  553 CV_REGISTER(ARM64_X15, 65)
  554 CV_REGISTER(ARM64_X16, 66)
  555 CV_REGISTER(ARM64_X17, 67)
  556 CV_REGISTER(ARM64_X18, 68)
  557 CV_REGISTER(ARM64_X19, 69)
  558 CV_REGISTER(ARM64_X20, 70)
  559 CV_REGISTER(ARM64_X21, 71)
  560 CV_REGISTER(ARM64_X22, 72)
  561 CV_REGISTER(ARM64_X23, 73)
  562 CV_REGISTER(ARM64_X24, 74)
  563 CV_REGISTER(ARM64_X25, 75)
  564 CV_REGISTER(ARM64_X26, 76)
  565 CV_REGISTER(ARM64_X27, 77)
  566 CV_REGISTER(ARM64_X28, 78)
  567 CV_REGISTER(ARM64_FP, 79)
  568 CV_REGISTER(ARM64_LR, 80)
  569 CV_REGISTER(ARM64_SP, 81)
  570 CV_REGISTER(ARM64_ZR, 82)
  574 CV_REGISTER(ARM64_NZCV, 90)
  578 CV_REGISTER(ARM64_S0, 100)
  579 CV_REGISTER(ARM64_S1, 101)
  580 CV_REGISTER(ARM64_S2, 102)
  581 CV_REGISTER(ARM64_S3, 103)
  582 CV_REGISTER(ARM64_S4, 104)
  583 CV_REGISTER(ARM64_S5, 105)
  584 CV_REGISTER(ARM64_S6, 106)
  585 CV_REGISTER(ARM64_S7, 107)
  586 CV_REGISTER(ARM64_S8, 108)
  587 CV_REGISTER(ARM64_S9, 109)
  588 CV_REGISTER(ARM64_S10, 110)
  589 CV_REGISTER(ARM64_S11, 111)
  590 CV_REGISTER(ARM64_S12, 112)
  591 CV_REGISTER(ARM64_S13, 113)
  592 CV_REGISTER(ARM64_S14, 114)
  593 CV_REGISTER(ARM64_S15, 115)
  594 CV_REGISTER(ARM64_S16, 116)
  595 CV_REGISTER(ARM64_S17, 117)
  596 CV_REGISTER(ARM64_S18, 118)
  597 CV_REGISTER(ARM64_S19, 119)
  598 CV_REGISTER(ARM64_S20, 120)
  599 CV_REGISTER(ARM64_S21, 121)
  600 CV_REGISTER(ARM64_S22, 122)
  601 CV_REGISTER(ARM64_S23, 123)
  602 CV_REGISTER(ARM64_S24, 124)
  603 CV_REGISTER(ARM64_S25, 125)
  604 CV_REGISTER(ARM64_S26, 126)
  605 CV_REGISTER(ARM64_S27, 127)
  606 CV_REGISTER(ARM64_S28, 128)
  607 CV_REGISTER(ARM64_S29, 129)
  608 CV_REGISTER(ARM64_S30, 130)
  609 CV_REGISTER(ARM64_S31, 131)
  613 CV_REGISTER(ARM64_D0, 140)
  614 CV_REGISTER(ARM64_D1, 141)
  615 CV_REGISTER(ARM64_D2, 142)
  616 CV_REGISTER(ARM64_D3, 143)
  617 CV_REGISTER(ARM64_D4, 144)
  618 CV_REGISTER(ARM64_D5, 145)
  619 CV_REGISTER(ARM64_D6, 146)
  620 CV_REGISTER(ARM64_D7, 147)
  621 CV_REGISTER(ARM64_D8, 148)
  622 CV_REGISTER(ARM64_D9, 149)
  623 CV_REGISTER(ARM64_D10, 150)
  624 CV_REGISTER(ARM64_D11, 151)
  625 CV_REGISTER(ARM64_D12, 152)
  626 CV_REGISTER(ARM64_D13, 153)
  627 CV_REGISTER(ARM64_D14, 154)
  628 CV_REGISTER(ARM64_D15, 155)
  629 CV_REGISTER(ARM64_D16, 156)
  630 CV_REGISTER(ARM64_D17, 157)
  631 CV_REGISTER(ARM64_D18, 158)
  632 CV_REGISTER(ARM64_D19, 159)
  633 CV_REGISTER(ARM64_D20, 160)
  634 CV_REGISTER(ARM64_D21, 161)
  635 CV_REGISTER(ARM64_D22, 162)
  636 CV_REGISTER(ARM64_D23, 163)
  637 CV_REGISTER(ARM64_D24, 164)
  638 CV_REGISTER(ARM64_D25, 165)
  639 CV_REGISTER(ARM64_D26, 166)
  640 CV_REGISTER(ARM64_D27, 167)
  641 CV_REGISTER(ARM64_D28, 168)
  642 CV_REGISTER(ARM64_D29, 169)
  643 CV_REGISTER(ARM64_D30, 170)
  644 CV_REGISTER(ARM64_D31, 171)
  648 CV_REGISTER(ARM64_Q0, 180)
  649 CV_REGISTER(ARM64_Q1, 181)
  650 CV_REGISTER(ARM64_Q2, 182)
  651 CV_REGISTER(ARM64_Q3, 183)
  652 CV_REGISTER(ARM64_Q4, 184)
  653 CV_REGISTER(ARM64_Q5, 185)
  654 CV_REGISTER(ARM64_Q6, 186)
  655 CV_REGISTER(ARM64_Q7, 187)
  656 CV_REGISTER(ARM64_Q8, 188)
  657 CV_REGISTER(ARM64_Q9, 189)
  658 CV_REGISTER(ARM64_Q10, 190)
  659 CV_REGISTER(ARM64_Q11, 191)
  660 CV_REGISTER(ARM64_Q12, 192)
  661 CV_REGISTER(ARM64_Q13, 193)
  662 CV_REGISTER(ARM64_Q14, 194)
  663 CV_REGISTER(ARM64_Q15, 195)
  664 CV_REGISTER(ARM64_Q16, 196)
  665 CV_REGISTER(ARM64_Q17, 197)
  666 CV_REGISTER(ARM64_Q18, 198)
  667 CV_REGISTER(ARM64_Q19, 199)
  668 CV_REGISTER(ARM64_Q20, 200)
  669 CV_REGISTER(ARM64_Q21, 201)
  670 CV_REGISTER(ARM64_Q22, 202)
  671 CV_REGISTER(ARM64_Q23, 203)
  672 CV_REGISTER(ARM64_Q24, 204)
  673 CV_REGISTER(ARM64_Q25, 205)
  674 CV_REGISTER(ARM64_Q26, 206)
  675 CV_REGISTER(ARM64_Q27, 207)
  676 CV_REGISTER(ARM64_Q28, 208)
  677 CV_REGISTER(ARM64_Q29, 209)
  678 CV_REGISTER(ARM64_Q30, 210)
  679 CV_REGISTER(ARM64_Q31, 211)
  683 CV_REGISTER(ARM64_FPSR, 220)
include/llvm/DebugInfo/CodeView/Formatters.h
   54       Stream << "<no type>";
   58         Stream << " (" << codeview::TypeIndex::simpleTypeName(V) << ")";
   58         Stream << " (" << codeview::TypeIndex::simpleTypeName(V) << ")";
include/llvm/DebugInfo/DIContext.h
   67     OS << "Line info: ";
   69       OS << "file '" << FileName << "', ";
   69       OS << "file '" << FileName << "', ";
   71       OS << "function '" << FunctionName << "', ";
   71       OS << "function '" << FunctionName << "', ";
   72     OS << "line " << Line << ", ";
   72     OS << "line " << Line << ", ";
   73     OS << "column " << Column << ", ";
   73     OS << "column " << Column << ", ";
   74     OS << "start line " << StartLine << '\n';
include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
  327     void log(raw_ostream &OS) const override { OS << "Sentinel"; }
include/llvm/DebugInfo/DWARF/DWARFListTable.h
  248   OS << HeaderString << "\n";
include/llvm/DebugInfo/GSYM/LineEntry.h
   32   return OS << "addr=" << HEX64(LE.Addr) << ", file=" << format("%3u", LE.File)
   32   return OS << "addr=" << HEX64(LE.Addr) << ", file=" << format("%3u", LE.File)
   33       << ", line=" << format("%3u", LE.Line);
include/llvm/DebugInfo/GSYM/StringTable.h
   40   OS << "String table:\n";
   45     OS << HEX32(Offset) << ": \"" << Str << "\"\n";
   45     OS << HEX32(Offset) << ": \"" << Str << "\"\n";
include/llvm/DebugInfo/PDB/PDBExtras.h
   49   OS << "\n";
   51   OS << Name << ": " << Value;
include/llvm/ExecutionEngine/Orc/Core.h
  906         dbgs() << "Dispatching " << *MU << " for " << JD.getName() << "\n";
  906         dbgs() << "Dispatching " << *MU << " for " << JD.getName() << "\n";
  906         dbgs() << "Dispatching " << *MU << " for " << JD.getName() << "\n";
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
   65       LLVM_DEBUG(dbgs() << "Destroyed remote allocator " << Id << "\n");
   65       LLVM_DEBUG(dbgs() << "Destroyed remote allocator " << Id << "\n");
   80       LLVM_DEBUG(dbgs() << "Allocator " << Id << " allocated code for "
   80       LLVM_DEBUG(dbgs() << "Allocator " << Id << " allocated code for "
   81                         << SectionName << ": " << Alloc << " (" << Size
   81                         << SectionName << ": " << Alloc << " (" << Size
   82                         << " bytes, alignment " << Alignment << ")\n");
   82                         << " bytes, alignment " << Alignment << ")\n");
   93         LLVM_DEBUG(dbgs() << "Allocator " << Id << " allocated ro-data for "
   93         LLVM_DEBUG(dbgs() << "Allocator " << Id << " allocated ro-data for "
   94                           << SectionName << ": " << Alloc << " (" << Size
   94                           << SectionName << ": " << Alloc << " (" << Size
   95                           << " bytes, alignment " << Alignment << ")\n");
   95                           << " bytes, alignment " << Alignment << ")\n");
  102       LLVM_DEBUG(dbgs() << "Allocator " << Id << " allocated rw-data for "
  102       LLVM_DEBUG(dbgs() << "Allocator " << Id << " allocated rw-data for "
  103                         << SectionName << ": " << Alloc << " (" << Size
  103                         << SectionName << ": " << Alloc << " (" << Size
  104                         << " bytes, alignment " << Alignment << ")\n");
  104                         << " bytes, alignment " << Alignment << ")\n");
  114       LLVM_DEBUG(dbgs() << "Allocator " << Id << " reserved:\n");
  114       LLVM_DEBUG(dbgs() << "Allocator " << Id << " reserved:\n");
  121             dbgs() << "  code: "
  123                    << " (" << CodeSize << " bytes, alignment " << CodeAlign
  123                    << " (" << CodeSize << " bytes, alignment " << CodeAlign
  124                    << ")\n");
  132             dbgs() << "  ro-data: "
  134                    << " (" << RODataSize << " bytes, alignment " << RODataAlign
  134                    << " (" << RODataSize << " bytes, alignment " << RODataAlign
  135                    << ")\n");
  143             dbgs() << "  rw-data: "
  145                    << " (" << RWDataSize << " bytes, alignment " << RWDataAlign
  145                    << " (" << RWDataSize << " bytes, alignment " << RWDataAlign
  146                    << ")\n");
  166       LLVM_DEBUG(dbgs() << "Allocator " << Id << " applied mappings:\n");
  166       LLVM_DEBUG(dbgs() << "Allocator " << Id << " applied mappings:\n");
  180       LLVM_DEBUG(dbgs() << "Allocator " << Id << " finalizing:\n");
  180       LLVM_DEBUG(dbgs() << "Allocator " << Id << " finalizing:\n");
  265       LLVM_DEBUG(dbgs() << "Created remote allocator " << Id << "\n");
  265       LLVM_DEBUG(dbgs() << "Created remote allocator " << Id << "\n");
  275             dbgs() << "     " << static_cast<void *>(Alloc.getLocalAddress())
  276                    << " -> " << format("0x%016" PRIx64, NextAddr) << "\n");
  276                    << " -> " << format("0x%016" PRIx64, NextAddr) << "\n");
  295           LLVM_DEBUG(dbgs() << "  copying section: "
  297                             << " -> "
  299                             << " (" << Alloc.getSize() << " bytes)\n";);
  299                             << " (" << Alloc.getSize() << " bytes)\n";);
  306         LLVM_DEBUG(dbgs() << "  setting "
  310                           << " permissions on block: "
  312                           << "\n");
  516     LLVM_DEBUG(dbgs() << "Calling int(*)(void) "
  517                       << format("0x%016" PRIx64, Addr) << "\n");
  525     LLVM_DEBUG(dbgs() << "Calling int(*)(int, char*[]) "
  526                       << format("0x%016" PRIx64, Addr) << "\n");
  533     LLVM_DEBUG(dbgs() << "Calling void(*)(void) "
  534                       << format("0x%016" PRIx64, Addr) << "\n");
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
   47        << " " << ResourceId << " not found";
   47        << " " << ResourceId << " not found";
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
  163     LLVM_DEBUG(dbgs() << "  Calling " << format("0x%016x", Addr) << "\n");
  163     LLVM_DEBUG(dbgs() << "  Calling " << format("0x%016x", Addr) << "\n");
  165     LLVM_DEBUG(dbgs() << "  Result = " << Result << "\n");
  165     LLVM_DEBUG(dbgs() << "  Result = " << Result << "\n");
  183       llvm::dbgs() << "Arg " << Idx << ": " << ArgV[Idx] << "\n";
  183       llvm::dbgs() << "Arg " << Idx << ": " << ArgV[Idx] << "\n";
  183       llvm::dbgs() << "Arg " << Idx << ": " << ArgV[Idx] << "\n";
  183       llvm::dbgs() << "Arg " << Idx << ": " << ArgV[Idx] << "\n";
  186     LLVM_DEBUG(dbgs() << "  Calling " << format("0x%016x", Addr) << "\n");
  186     LLVM_DEBUG(dbgs() << "  Calling " << format("0x%016x", Addr) << "\n");
  188     LLVM_DEBUG(dbgs() << "  Result = " << Result << "\n");
  188     LLVM_DEBUG(dbgs() << "  Result = " << Result << "\n");
  199     LLVM_DEBUG(dbgs() << "  Calling " << format("0x%016x", Addr) << "\n");
  199     LLVM_DEBUG(dbgs() << "  Calling " << format("0x%016x", Addr) << "\n");
  201     LLVM_DEBUG(dbgs() << "  Complete.\n");
  211     LLVM_DEBUG(dbgs() << "  Created allocator " << Id << "\n");
  211     LLVM_DEBUG(dbgs() << "  Created allocator " << Id << "\n");
  221     LLVM_DEBUG(dbgs() << "  Create indirect stubs owner " << Id << "\n");
  221     LLVM_DEBUG(dbgs() << "  Create indirect stubs owner " << Id << "\n");
  228     LLVM_DEBUG(dbgs() << "  Registering EH frames at "
  229                       << format("0x%016x", TAddr) << ", Size = " << Size
  230                       << " bytes\n");
  241     LLVM_DEBUG(dbgs() << "  Destroyed allocator " << Id << "\n");
  241     LLVM_DEBUG(dbgs() << "  Destroyed allocator " << Id << "\n");
  257     LLVM_DEBUG(dbgs() << "  ISMgr " << Id << " request " << NumStubsRequired
  257     LLVM_DEBUG(dbgs() << "  ISMgr " << Id << " request " << NumStubsRequired
  258                       << " stubs.\n");
  329     LLVM_DEBUG(dbgs() << "  Symbol '" << Name
  330                       << "' =  " << format("0x%016x", Addr) << "\n");
  330                       << "' =  " << format("0x%016x", Addr) << "\n");
  341     LLVM_DEBUG(dbgs() << "  Remote info:\n"
  342                       << "    triple             = '" << ProcessTriple << "'\n"
  342                       << "    triple             = '" << ProcessTriple << "'\n"
  343                       << "    pointer size       = " << PointerSize << "\n"
  343                       << "    pointer size       = " << PointerSize << "\n"
  344                       << "    page size          = " << PageSize << "\n"
  344                       << "    page size          = " << PageSize << "\n"
  345                       << "    trampoline size    = " << TrampolineSize << "\n"
  345                       << "    trampoline size    = " << TrampolineSize << "\n"
  346                       << "    indirect stub size = " << IndirectStubSize
  347                       << "\n");
  356     LLVM_DEBUG(dbgs() << "  Reading " << Size << " bytes from "
  356     LLVM_DEBUG(dbgs() << "  Reading " << Size << " bytes from "
  357                       << format("0x%016x", RSrc) << "\n");
  369     LLVM_DEBUG(dbgs() << "  Registering EH frames at "
  370                       << format("0x%016x", TAddr) << ", Size = " << Size
  371                       << " bytes\n");
  387     LLVM_DEBUG(dbgs() << "  Allocator " << Id << " reserved " << LocalAllocAddr
  387     LLVM_DEBUG(dbgs() << "  Allocator " << Id << " reserved " << LocalAllocAddr
  388                       << " (" << Size << " bytes, alignment " << Align
  388                       << " (" << Size << " bytes, alignment " << Align
  389                       << ")\n");
  405     LLVM_DEBUG(dbgs() << "  Allocator " << Id << " set permissions on "
  405     LLVM_DEBUG(dbgs() << "  Allocator " << Id << " set permissions on "
  406                       << LocalAddr << " to "
  409                       << (Flags & sys::Memory::MF_EXEC ? 'X' : '-') << "\n");
  419     LLVM_DEBUG(dbgs() << "  Writing " << DBW.getSize() << " bytes to "
  419     LLVM_DEBUG(dbgs() << "  Writing " << DBW.getSize() << " bytes to "
  420                       << format("0x%016x", DBW.getDst()) << "\n");
  425     LLVM_DEBUG(dbgs() << "  Writing pointer *" << format("0x%016x", Addr)
  426                       << " = " << format("0x%016x", PtrVal) << "\n");
  426                       << " = " << format("0x%016x", PtrVal) << "\n");
include/llvm/ExecutionEngine/Orc/RPCSerialization.h
   41   OS << RPCTypeName<ArgT>::getName();
   49   OS << RPCTypeName<ArgT1>::getName() << ", "
   49   OS << RPCTypeName<ArgT1>::getName() << ", "
  132       raw_string_ostream(Name) << "Expected<"
  134                                << ">";
  147       raw_string_ostream(Name) << "std::pair<" << RPCTypeNameSequence<T1, T2>()
  148                                << ">";
  161       raw_string_ostream(Name) << "std::tuple<"
  162                                << RPCTypeNameSequence<ArgTs...>() << ">";
  175       raw_string_ostream(Name) << "std::vector<" << RPCTypeName<T>::getName()
  175       raw_string_ostream(Name) << "std::vector<" << RPCTypeName<T>::getName()
  176                                << ">";
  189           << "std::set<" << RPCTypeName<T>::getName() << ">";
  189           << "std::set<" << RPCTypeName<T>::getName() << ">";
  189           << "std::set<" << RPCTypeName<T>::getName() << ">";
  202           << "std::map<" << RPCTypeNameSequence<K, V>() << ">";
  202           << "std::map<" << RPCTypeNameSequence<K, V>() << ">";
include/llvm/ExecutionEngine/Orc/RPCUtils.h
   71     OS << "Call to invalid RPC function id '" << FnId << "' with "
   71     OS << "Call to invalid RPC function id '" << FnId << "' with "
  104     OS << "Response has unknown sequence number " << SeqNo;
  157           << RPCTypeName<RetT>::getName() << " " << DerivedFunc::getName()
  157           << RPCTypeName<RetT>::getName() << " " << DerivedFunc::getName()
  157           << RPCTypeName<RetT>::getName() << " " << DerivedFunc::getName()
  158           << "(" << llvm::orc::rpc::RPCTypeNameSequence<ArgTs...>() << ")";
  158           << "(" << llvm::orc::rpc::RPCTypeNameSequence<ArgTs...>() << ")";
include/llvm/ExecutionEngine/Orc/Speculation.h
  105       llvm::dbgs() << "\n In " << I.first->getName() << " JITDylib ";
  105       llvm::dbgs() << "\n In " << I.first->getName() << " JITDylib ";
  107         llvm::dbgs() << "\n Likely Symbol : " << N;
include/llvm/IR/CFGDiff.h
   93         OS << "(";
   95         OS << ", ";
   97         OS << ") ";
   99     OS << "\n";
  139     OS << "===== GraphDiff: CFG edge changes to create a CFG snapshot. \n"
  142     OS << "Children to insert:\n\t";
  144     OS << "Children to delete:\n\t";
  146     OS << "Inverse_children to insert:\n\t";
  148     OS << "Inverse_children to delete:\n\t";
  150     OS << "\n";
include/llvm/IR/LegacyPassNameParser.h
   71       errs() << "Two passes with the same argument (-"
   72            << P->getPassArgument() << ") attempted to be registered!\n";
include/llvm/IR/ModuleSummaryIndex.h
  233     OS << " (" << VI.name() << ")";
  233     OS << " (" << VI.name() << ")";
include/llvm/IR/PassManager.h
  502       dbgs() << "Starting " << getTypeName<IRUnitT>() << " pass manager run.\n";
  502       dbgs() << "Starting " << getTypeName<IRUnitT>() << " pass manager run.\n";
  507         dbgs() << "Running pass: " << P->name() << " on " << IR.getName()
  507         dbgs() << "Running pass: " << P->name() << " on " << IR.getName()
  508                << "\n";
  544       dbgs() << "Finished " << getTypeName<IRUnitT>() << " pass manager run.\n";
  544       dbgs() << "Finished " << getTypeName<IRUnitT>() << " pass manager run.\n";
  749       dbgs() << "Clearing all analysis results for: " << Name << "\n";
  749       dbgs() << "Clearing all analysis results for: " << Name << "\n";
  865       dbgs() << "Invalidating all non-preserved analyses for: " << IR.getName()
  866              << "\n";
  909           dbgs() << "Invalidating analysis: " << this->lookUpPass(ID).name()
  910                  << " on " << IR.getName() << "\n";
  910                  << " on " << IR.getName() << "\n";
  951         dbgs() << "Running analysis: " << P.name() << " on " << IR.getName()
  951         dbgs() << "Running analysis: " << P.name() << " on " << IR.getName()
  952                << "\n";
  991       dbgs() << "Invalidating analysis: " << this->lookUpPass(ID).name()
  992              << " on " << IR.getName() << "\n";
  992              << " on " << IR.getName() << "\n";
include/llvm/MC/MCELFObjectWriter.h
   46     Out << "Off=" << Offset << ", Sym=" << Symbol << ", Type=" << Type
   46     Out << "Off=" << Offset << ", Sym=" << Symbol << ", Type=" << Type
   46     Out << "Off=" << Offset << ", Sym=" << Symbol << ", Type=" << Type
   47         << ", Addend=" << Addend << ", OriginalSymbol=" << OriginalSymbol
   47         << ", Addend=" << Addend << ", OriginalSymbol=" << OriginalSymbol
   48         << ", OriginalAddend=" << OriginalAddend;
include/llvm/Object/COFFImportFile.h
   41       OS << "__imp_";
include/llvm/Object/SymbolicFile.h
   47   OS << "(" << format("0x%08" PRIxPTR, D.p) << " (" << format("0x%08x", D.d.a)
   47   OS << "(" << format("0x%08" PRIxPTR, D.p) << " (" << format("0x%08x", D.d.a)
   48      << ", " << format("0x%08x", D.d.b) << "))";
   48      << ", " << format("0x%08x", D.d.b) << "))";
include/llvm/ProfileData/GCOV.h
   75       errs() << "Unexpected file type: " << File << ".\n";
   75       errs() << "Unexpected file type: " << File << ".\n";
   86       errs() << "Unexpected file type: " << File << ".\n";
   86       errs() << "Unexpected file type: " << File << ".\n";
  111     errs() << "Unexpected version: " << VersionStr << ".\n";
  111     errs() << "Unexpected version: " << VersionStr << ".\n";
  201       errs() << "Unexpected end of memory buffer: " << Cursor + 4 << ".\n";
  201       errs() << "Unexpected end of memory buffer: " << Cursor + 4 << ".\n";
  227       errs() << "Unexpected end of memory buffer: " << Cursor + Len << ".\n";
  227       errs() << "Unexpected end of memory buffer: " << Cursor + Len << ".\n";
include/llvm/Remarks/RemarkParser.h
   32   void log(raw_ostream &OS) const override { OS << "End of file reached."; }
include/llvm/Support/CFGUpdate.h
   45     OS << (getKind() == UpdateKind::Insert ? "Insert " : "Delete ");
   47     OS << " -> ";
include/llvm/Support/Chrono.h
  164       Stream << " " << unit;
include/llvm/Support/Error.h
  314       OS << "success";
  370     OS << "Multiple errors:\n";
  373       OS << "\n";
  656     dbgs() << "Expected<T> must be checked before access or destruction.\n";
  658       dbgs() << "Unchecked Expected<T> contained error:\n";
  661       dbgs() << "Expected<T> value was in success state. (Note: Expected<T> "
  710     OS << Msg << "\n" << Err;
  710     OS << Msg << "\n" << Err;
  741     OS << Msg << "\n" << E;
  741     OS << Msg << "\n" << E;
  772     OS << Msg << "\n" << E;
  772     OS << Msg << "\n" << E;
 1229     OS << "'" << FileName << "': ";
 1229     OS << "'" << FileName << "': ";
 1231       OS << "line " << Line.getValue() << ": ";
 1231       OS << "line " << Line.getValue() << ": ";
include/llvm/Support/FormatProviders.h
  265     Stream << StringSwitch<const char *>(Style)
include/llvm/Support/FormatVariadicDetails.h
   83                                          << std::declval<U>()),
include/llvm/Support/GenericDomTree.h
  171     O << " <<exit node>>";
  173   O << " {" << Node->getDFSNumIn() << "," << Node->getDFSNumOut() << "} ["
  173   O << " {" << Node->getDFSNumIn() << "," << Node->getDFSNumOut() << "} ["
  173   O << " {" << Node->getDFSNumIn() << "," << Node->getDFSNumOut() << "} ["
  174     << Node->getLevel() << "]\n";
  182   O.indent(2 * Lev) << "[" << Lev << "] " << N;
  182   O.indent(2 * Lev) << "[" << Lev << "] " << N;
  661     O << "=============================--------------------------------\n";
  663       O << "Inorder PostDominator Tree: ";
  665       O << "Inorder Dominator Tree: ";
  667       O << "DFSNumbers invalid: " << SlowQueries << " slow queries.";
  667       O << "DFSNumbers invalid: " << SlowQueries << " slow queries.";
  668     O << "\n";
  672     O << "Roots: ";
  675       O << " ";
  677     O << "\n";
include/llvm/Support/GenericDomTreeConstruction.h
  152           LLVM_DEBUG(dbgs() << "\tHiding edge " << BlockNamePrinter(N) << " -> "
  152           LLVM_DEBUG(dbgs() << "\tHiding edge " << BlockNamePrinter(N) << " -> "
  153                             << BlockNamePrinter(Child) << "\n");
  159           LLVM_DEBUG(dbgs() << "\tShowing virtual edge " << BlockNamePrinter(N)
  160                             << " -> " << BlockNamePrinter(Child) << "\n");
  160                             << " -> " << BlockNamePrinter(Child) << "\n");
  203         O << "nullptr";
  399     LLVM_DEBUG(dbgs() << "\t\tLooking for trivial roots\n");
  416         LLVM_DEBUG(dbgs() << "Found a new trivial root: " << BlockNamePrinter(N)
  417                           << "\n");
  418         LLVM_DEBUG(dbgs() << "Last visited node: "
  419                           << BlockNamePrinter(SNCA.NumToNode[Num]) << "\n");
  423     LLVM_DEBUG(dbgs() << "\t\tLooking for non-trivial roots\n");
  444                      << "\t\t\tVisiting node " << BlockNamePrinter(I) << "\n");
  444                      << "\t\t\tVisiting node " << BlockNamePrinter(I) << "\n");
  455           LLVM_DEBUG(dbgs() << "\t\t\tRunning forward DFS\n");
  459           LLVM_DEBUG(dbgs() << "\t\t\tFound a new furthest away node "
  460                             << "(non-trivial root): "
  461                             << BlockNamePrinter(FurthestAway) << "\n");
  464           LLVM_DEBUG(dbgs() << "\t\t\tPrev DFSNum: " << Num << ", new DFSNum: "
  464           LLVM_DEBUG(dbgs() << "\t\t\tPrev DFSNum: " << Num << ", new DFSNum: "
  465                             << NewNum << "\n\t\t\tRemoving DFS info\n");
  468             LLVM_DEBUG(dbgs() << "\t\t\t\tRemoving DFS info for "
  469                               << BlockNamePrinter(N) << "\n");
  474           LLVM_DEBUG(dbgs() << "\t\t\tRunning reverse DFS\n");
  477             LLVM_DEBUG(dbgs() << "\t\t\t\tfound node "
  478                               << BlockNamePrinter(SNCA.NumToNode[i]) << "\n");
  483     LLVM_DEBUG(dbgs() << "Total: " << Total << ", Num: " << Num << "\n");
  483     LLVM_DEBUG(dbgs() << "Total: " << Total << ", Num: " << Num << "\n");
  483     LLVM_DEBUG(dbgs() << "Total: " << Total << ", Num: " << Num << "\n");
  484     LLVM_DEBUG(dbgs() << "Discovered CFG nodes:\n");
  486                << i << ": " << BlockNamePrinter(SNCA.NumToNode[i]) << "\n");
  486                << i << ": " << BlockNamePrinter(SNCA.NumToNode[i]) << "\n");
  493     LLVM_DEBUG(dbgs() << "Found roots: ");
  496                << BlockNamePrinter(Root) << " ");
  497     LLVM_DEBUG(dbgs() << "\n");
  513     LLVM_DEBUG(dbgs() << "Removing redundant roots\n");
  521       LLVM_DEBUG(dbgs() << "\tChecking if " << BlockNamePrinter(Root)
  522                         << " remains a root\n");
  534           LLVM_DEBUG(dbgs() << "\tForward DFS walk found another root "
  535                             << BlockNamePrinter(N) << "\n\tRemoving root "
  536                             << BlockNamePrinter(Root) << "\n");
  578           dbgs() << "DomTree recalculated, skipping future batch updates\n");
  600       LLVM_DEBUG(dbgs() << "\tdiscovered a new reachable node "
  601                         << BlockNamePrinter(W) << "\n");
  654     LLVM_DEBUG(dbgs() << "Inserting edge " << BlockNamePrinter(From) << " -> "
  654     LLVM_DEBUG(dbgs() << "Inserting edge " << BlockNamePrinter(From) << " -> "
  655                       << BlockNamePrinter(To) << "\n");
  694     LLVM_DEBUG(dbgs() << "\t\tAfter the insertion, " << BlockNamePrinter(To)
  695                       << " is no longer a root\n\t\tRebuilding the tree!!!\n");
  732       LLVM_DEBUG(dbgs() << "Roots are different in updated trees\n"
  733                         << "The entire tree needs to be rebuilt\n");
  743     LLVM_DEBUG(dbgs() << "\tReachable " << BlockNamePrinter(From->getBlock())
  744                       << " -> " << BlockNamePrinter(To->getBlock()) << "\n");
  744                       << " -> " << BlockNamePrinter(To->getBlock()) << "\n");
  757     LLVM_DEBUG(dbgs() << "\t\tNCA == " << BlockNamePrinter(NCD) << "\n");
  757     LLVM_DEBUG(dbgs() << "\t\tNCA == " << BlockNamePrinter(NCD) << "\n");
  784       LLVM_DEBUG(dbgs() << "Mark " << BlockNamePrinter(TN) <<
  784       LLVM_DEBUG(dbgs() << "Mark " << BlockNamePrinter(TN) <<
  785                  "as affected, CurrentLevel " << CurrentLevel << "\n");
  805           LLVM_DEBUG(dbgs() << "\tSuccessor " << BlockNamePrinter(Succ)
  806                             << ", level = " << SuccLevel << "\n");
  806                             << ", level = " << SuccLevel << "\n");
  821             LLVM_DEBUG(dbgs() << "\t\tMarking visited not affected "
  822                               << BlockNamePrinter(Succ) << "\n");
  830             LLVM_DEBUG(dbgs() << "\t\tAdd " << BlockNamePrinter(Succ)
  831                               << " to a Bucket\n");
  839         LLVM_DEBUG(dbgs() << " Next: " << BlockNamePrinter(TN) << "\n");
  839         LLVM_DEBUG(dbgs() << " Next: " << BlockNamePrinter(TN) << "\n");
  850     LLVM_DEBUG(dbgs() << "Updating NCD = " << BlockNamePrinter(NCD) << "\n");
  850     LLVM_DEBUG(dbgs() << "Updating NCD = " << BlockNamePrinter(NCD) << "\n");
  853       LLVM_DEBUG(dbgs() << "\tIDom(" << BlockNamePrinter(TN)
  854                         << ") = " << BlockNamePrinter(NCD) << "\n");
  854                         << ") = " << BlockNamePrinter(NCD) << "\n");
  870     LLVM_DEBUG(dbgs() << "Inserting " << BlockNamePrinter(From)
  871                       << " -> (unreachable) " << BlockNamePrinter(To) << "\n");
  871                       << " -> (unreachable) " << BlockNamePrinter(To) << "\n");
  878     LLVM_DEBUG(dbgs() << "Inserted " << BlockNamePrinter(From)
  879                       << " -> (prev unreachable) " << BlockNamePrinter(To)
  880                       << "\n");
  885       LLVM_DEBUG(dbgs() << "\tInserting discovered connecting edge "
  886                         << BlockNamePrinter(Edge.first) << " -> "
  887                         << BlockNamePrinter(Edge.second) << "\n");
  915     LLVM_DEBUG(dbgs() << "After adding unreachable nodes\n");
  921     LLVM_DEBUG(dbgs() << "Deleting edge " << BlockNamePrinter(From) << " -> "
  921     LLVM_DEBUG(dbgs() << "Deleting edge " << BlockNamePrinter(From) << " -> "
  922                       << BlockNamePrinter(To) << "\n");
  943           dbgs() << "\tTo (" << BlockNamePrinter(To)
  944                  << ") already unreachable -- there is no edge to delete\n");
  956       LLVM_DEBUG(dbgs() << "\tNCD " << BlockNamePrinter(NCD) << ", ToIDom "
  956       LLVM_DEBUG(dbgs() << "\tNCD " << BlockNamePrinter(NCD) << ", ToIDom "
  957                         << BlockNamePrinter(ToIDom) << "\n");
  974     LLVM_DEBUG(dbgs() << "Deleting reachable " << BlockNamePrinter(FromTN)
  975                       << " -> " << BlockNamePrinter(ToTN) << "\n");
  975                       << " -> " << BlockNamePrinter(ToTN) << "\n");
  976     LLVM_DEBUG(dbgs() << "\tRebuilding subtree\n");
  989       LLVM_DEBUG(dbgs() << "The entire tree needs to be rebuilt\n");
 1000     LLVM_DEBUG(dbgs() << "\tTop of subtree: " << BlockNamePrinter(ToIDomTN)
 1001                       << "\n");
 1005     LLVM_DEBUG(dbgs() << "\tRunning Semi-NCA\n");
 1014     LLVM_DEBUG(dbgs() << "IsReachableFromIDom " << BlockNamePrinter(TN)
 1015                       << "\n");
 1018       LLVM_DEBUG(dbgs() << "\tPred " << BlockNamePrinter(Pred) << "\n");
 1018       LLVM_DEBUG(dbgs() << "\tPred " << BlockNamePrinter(Pred) << "\n");
 1023       LLVM_DEBUG(dbgs() << "\tSupport " << BlockNamePrinter(Support) << "\n");
 1023       LLVM_DEBUG(dbgs() << "\tSupport " << BlockNamePrinter(Support) << "\n");
 1025         LLVM_DEBUG(dbgs() << "\t" << BlockNamePrinter(TN)
 1026                           << " is reachable from support "
 1027                           << BlockNamePrinter(Support) << "\n");
 1039     LLVM_DEBUG(dbgs() << "Deleting unreachable subtree "
 1040                       << BlockNamePrinter(ToTN) << "\n");
 1048       LLVM_DEBUG(dbgs() << "\tDeletion made a region reverse-unreachable\n");
 1049       LLVM_DEBUG(dbgs() << "\tAdding new root " << BlockNamePrinter(ToTN)
 1050                         << "\n");
 1087       LLVM_DEBUG(dbgs() << "Processing affected node " << BlockNamePrinter(TN)
 1088                         << " with NCD = " << BlockNamePrinter(NCD)
 1089                         << ", MinNode =" << BlockNamePrinter(MinNode) << "\n");
 1089                         << ", MinNode =" << BlockNamePrinter(MinNode) << "\n");
 1095       LLVM_DEBUG(dbgs() << "The entire tree needs to be rebuilt\n");
 1105       LLVM_DEBUG(dbgs() << "Erasing node " << BlockNamePrinter(TN) << "\n");
 1105       LLVM_DEBUG(dbgs() << "Erasing node " << BlockNamePrinter(TN) << "\n");
 1113     LLVM_DEBUG(dbgs() << "DeleteUnreachable: running DFS with MinNode = "
 1114                       << BlockNamePrinter(MinNode) << "\n");
 1127     LLVM_DEBUG(dbgs() << "Previous IDom(MinNode) = "
 1128                       << BlockNamePrinter(PrevIDom) << "\nRunning Semi-NCA\n");
 1173     LLVM_DEBUG(dbgs() << "Legalizing " << BUI.Updates.size() << " updates\n");
 1173     LLVM_DEBUG(dbgs() << "Legalizing " << BUI.Updates.size() << " updates\n");
 1266       errs() << "Tree has no parent but has roots!\n";
 1273         errs() << "Tree doesn't have a root!\n";
 1279         errs() << "Tree's root is not its parent's entry node!\n";
 1287       errs() << "Tree has different roots than freshly computed ones!\n";
 1288       errs() << "\tPDT roots: ";
 1289       for (const NodePtr N : DT.Roots) errs() << BlockNamePrinter(N) << ", ";
 1290       errs() << "\n\tComputed roots: ";
 1292         errs() << BlockNamePrinter(N) << ", ";
 1293       errs() << "\n";
 1315         errs() << "DomTree node " << BlockNamePrinter(BB)
 1316                << " not found by DFS walk!\n";
 1325         errs() << "CFG node " << BlockNamePrinter(N)
 1326                << " not found in the DomTree!\n";
 1347         errs() << "Node without an IDom " << BlockNamePrinter(BB)
 1348                << " has a nonzero level " << TN->getLevel() << "!\n";
 1348                << " has a nonzero level " << TN->getLevel() << "!\n";
 1355         errs() << "Node " << BlockNamePrinter(BB) << " has level "
 1355         errs() << "Node " << BlockNamePrinter(BB) << " has level "
 1356                << TN->getLevel() << " while its IDom "
 1357                << BlockNamePrinter(IDom->getBlock()) << " has level "
 1358                << IDom->getLevel() << "!\n";
 1379       errs() << BlockNamePrinter(TN) << " {" << TN->getDFSNumIn() << ", "
 1379       errs() << BlockNamePrinter(TN) << " {" << TN->getDFSNumIn() << ", "
 1386       errs() << "DFSIn number for the tree root is not:\n\t";
 1401           errs() << "Tree leaf should have DFSOut = DFSIn + 1:\n\t";
 1422         errs() << "Incorrect DFS numbers for:\n\tParent ";
 1425         errs() << "\n\tChild ";
 1429           errs() << "\n\tSecond child ";
 1433         errs() << "\nAll children: ";
 1436           errs() << ", ";
 1513       LLVM_DEBUG(dbgs() << "Verifying parent property of node "
 1514                         << BlockNamePrinter(TN) << "\n");
 1522           errs() << "Child " << BlockNamePrinter(Child)
 1523                  << " reachable after its parent " << BlockNamePrinter(BB)
 1524                  << " is removed!\n";
 1558             errs() << "Node " << BlockNamePrinter(S)
 1559                    << " not reachable when its sibling " << BlockNamePrinter(N)
 1560                    << " is removed!\n";
 1585       errs() << (DT.isPostDominator() ? "Post" : "")
 1586              << "DominatorTree is different than a freshly computed one!\n"
 1587              << "\tCurrent:\n";
 1589       errs() << "\n\tFreshly computed tree:\n";
 1608   LLVM_DEBUG(dbgs() << "Legalizing " << BUI.Updates.size() << " updates\n");
 1608   LLVM_DEBUG(dbgs() << "Legalizing " << BUI.Updates.size() << " updates\n");
include/llvm/Support/GraphWriter.h
   98         O << "|";
  100       O << "<s" << i << ">" << DOT::EscapeString(label);
  100       O << "<s" << i << ">" << DOT::EscapeString(label);
  104       O << "|<s64>truncated...";
  132       O << "digraph \"" << DOT::EscapeString(Title) << "\" {\n";
  132       O << "digraph \"" << DOT::EscapeString(Title) << "\" {\n";
  134       O << "digraph \"" << DOT::EscapeString(GraphName) << "\" {\n";
  134       O << "digraph \"" << DOT::EscapeString(GraphName) << "\" {\n";
  136       O << "digraph unnamed {\n";
  139       O << "\trankdir=\"BT\";\n";
  142       O << "\tlabel=\"" << DOT::EscapeString(Title) << "\";\n";
  142       O << "\tlabel=\"" << DOT::EscapeString(Title) << "\";\n";
  144       O << "\tlabel=\"" << DOT::EscapeString(GraphName) << "\";\n";
  144       O << "\tlabel=\"" << DOT::EscapeString(GraphName) << "\";\n";
  146     O << "\n";
  151     O << "}\n";
  168     O << "\tNode" << static_cast<const void*>(Node) << " [shape=record,";
  168     O << "\tNode" << static_cast<const void*>(Node) << " [shape=record,";
  169     if (!NodeAttributes.empty()) O << NodeAttributes << ",";
  170     O << "label=\"{";
  178         O << "|" << DOT::EscapeString(Id);
  182         O << "|" << DOT::EscapeString(NodeDesc);
  190       if (!DTraits.renderGraphFromBottomUp()) O << "|";
  192       O << "{" << EdgeSourceLabels.str() << "}";
  192       O << "{" << EdgeSourceLabels.str() << "}";
  194       if (DTraits.renderGraphFromBottomUp()) O << "|";
  203         O << "|" << DOT::EscapeString(Id);
  207         O << "|" << DOT::EscapeString(NodeDesc);
  211       O << "|{";
  215         if (i) O << "|";
  216         O << "<d" << i << ">"
  216         O << "<d" << i << ">"
  221         O << "|<d64>truncated...";
  222       O << "}";
  225     O << "}\"];\n";   // Finish printing the "node" line
  263     O << "\tNode" << ID << "[ ";
  263     O << "\tNode" << ID << "[ ";
  265       O << Attr << ",";
  266     O << " label =\"";
  267     if (NumEdgeSources) O << "{";
  270       O << "|{";
  273         if (i) O << "|";
  274         O << "<s" << i << ">";
  274         O << "<s" << i << ">";
  277       O << "}}";
  279     O << "\"];\n";
  289     O << "\tNode" << SrcNodeID;
  291       O << ":s" << SrcNodePort;
  292     O << " -> Node" << DestNodeID;
  294       O << ":d" << DestNodePort;
  297       O << "[" << Attrs << "]";
  297       O << "[" << Attrs << "]";
  298     O << ";\n";
  343       errs() << "file exists, overwriting" << "\n";
  343       errs() << "file exists, overwriting" << "\n";
  345       errs() << "error writing into file" << "\n";
  345       errs() << "error writing into file" << "\n";
  352     errs() << "error opening file '" << Filename << "' for writing!\n";
  352     errs() << "error opening file '" << Filename << "' for writing!\n";
  357   errs() << " done. \n";
include/llvm/Support/ScopedPrinter.h
   89       OS << "  ";
  108       startLine() << Label << ": " << Name << " (" << hex(Value) << ")\n";
  108       startLine() << Label << ": " << Name << " (" << hex(Value) << ")\n";
  108       startLine() << Label << ": " << Name << " (" << hex(Value) << ")\n";
  110       startLine() << Label << ": " << hex(Value) << "\n";
  110       startLine() << Label << ": " << hex(Value) << "\n";
  142     startLine() << Label << " [ (" << hex(Value) << ")\n";
  142     startLine() << Label << " [ (" << hex(Value) << ")\n";
  144       startLine() << "  " << Flag.Name << " (" << hex(Flag.Value) << ")\n";
  144       startLine() << "  " << Flag.Name << " (" << hex(Flag.Value) << ")\n";
  144       startLine() << "  " << Flag.Name << " (" << hex(Flag.Value) << ")\n";
  146     startLine() << "]\n";
  150     startLine() << Label << " [ (" << hex(Value) << ")\n";
  150     startLine() << Label << " [ (" << hex(Value) << ")\n";
  155         startLine() << "  " << hex(Flag) << "\n";
  155         startLine() << "  " << hex(Flag) << "\n";
  159     startLine() << "]\n";
  163     startLine() << Label << ": " << Value << "\n";
  163     startLine() << Label << ": " << Value << "\n";
  167     startLine() << Label << ": " << Value << "\n";
  167     startLine() << Label << ": " << Value << "\n";
  171     startLine() << Label << ": " << Value << "\n";
  171     startLine() << Label << ": " << Value << "\n";
  175     startLine() << Label << ": " << unsigned(Value) << "\n";
  175     startLine() << Label << ": " << unsigned(Value) << "\n";
  179     startLine() << Label << ": " << Value << "\n";
  179     startLine() << Label << ": " << Value << "\n";
  183     startLine() << Label << ": " << Value << "\n";
  183     startLine() << Label << ": " << Value << "\n";
  187     startLine() << Label << ": " << Value << "\n";
  187     startLine() << Label << ": " << Value << "\n";
  191     startLine() << Label << ": " << int(Value) << "\n";
  191     startLine() << Label << ": " << int(Value) << "\n";
  195     startLine() << Label << ": " << Value << "\n";
  195     startLine() << Label << ": " << Value << "\n";
  199     startLine() << Label << ": " << (Value ? "Yes" : "No") << '\n';
  199     startLine() << Label << ": " << (Value ? "Yes" : "No") << '\n';
  203     startLine() << Label << ": ";
  205     getOStream() << "\n";
  209     startLine() << Label << ": [";
  213         OS << ", ";
  217     OS << "]\n";
  222     startLine() << Label << ": [";
  226         OS << ", ";
  230     OS << "]\n";
  234     startLine() << Label << ": [";
  238         OS << ", ";
  242     OS << "]\n";
  246     startLine() << Label << ": " << hex(Value) << "\n";
  246     startLine() << Label << ": " << hex(Value) << "\n";
  250     startLine() << Label << ": " << Str << " (" << hex(Value) << ")\n";
  250     startLine() << Label << ": " << Str << " (" << hex(Value) << ")\n";
  250     startLine() << Label << ": " << Str << " (" << hex(Value) << ")\n";
  255     startLine() << Label << ": " << Symbol << '+' << hex(Value) << '\n';
  258   void printString(StringRef Value) { startLine() << Value << "\n"; }
  261     startLine() << Label << ": " << Value << "\n";
  261     startLine() << Label << ": " << Value << "\n";
  274     startLine() << Label << ": " << Str << " (" << Value << ")\n";
  274     startLine() << Label << ": " << Str << " (" << Value << ")\n";
  274     startLine() << Label << ": " << Str << " (" << Value << ")\n";
  319     startLine() << Label << ": " << Value << "\n";
  357   startLine() << Label << ": " << hex(Value) << "\n";
  357   startLine() << Label << ": " << hex(Value) << "\n";
include/llvm/Support/SymbolRemappingReader.h
   75     OS << File << ':' << Line << ": " << Message;
include/llvm/Support/UnicodeCharRanges.h
   76         LLVM_DEBUG(dbgs() << "Upper bound 0x");
   78         LLVM_DEBUG(dbgs() << " should be less than succeeding lower bound 0x");
   79         LLVM_DEBUG(dbgs().write_hex(I->Lower) << "\n");
   83         LLVM_DEBUG(dbgs() << "Upper bound 0x");
   85         LLVM_DEBUG(dbgs() << " should not be less than lower bound 0x");
   86         LLVM_DEBUG(dbgs().write_hex(I->Upper) << "\n");
include/llvm/Support/WithColor.h
   67     OS << O;
   71     OS << O;
include/llvm/Support/YAMLTraits.h
 1061       errs() << Err << "\n";
include/llvm/TableGen/Record.h
 1268       llvm::errs() << "In Record = " << Rec->getAsString()
 1269                    << ", got FieldName = " << *FieldName
 1270                    << " with non-record type!\n";
 1423   RV.print(OS << "  ");
include/llvm/TableGen/StringToOffsetTable.h
   50     O << "    \"";
   54         O << "\"\n    \"";
   78     O << "\"";
   89       O << " \'";
   91       O << "\',";
   94         O << "\n ";
include/llvm/Testing/Support/SupportHelpers.h
   38   OS << (Err.Success() ? "succeeded" : "failed");
   42       OS << Delim;
   46     OS << ")";
include/llvm/Transforms/InstCombine/InstCombineWorklist.h
   42       LLVM_DEBUG(dbgs() << "IC: ADD: " << *I << '\n');
   59     LLVM_DEBUG(dbgs() << "IC: ADDING: " << List.size()
   60                       << " instrs to worklist\n");
include/llvm/Transforms/Scalar/GVNExpression.h
  118       OS << "etype = " << getExpressionType() << ",";
  118       OS << "etype = " << getExpressionType() << ",";
  119     OS << "opcode = " << getOpcode() << ", ";
  119     OS << "opcode = " << getOpcode() << ", ";
  123     OS << "{ ";
  125     OS << "}";
  230       OS << "ExpressionTypeBasic, ";
  233     OS << "operands = {";
  235       OS << "[" << i << "] = ";
  235       OS << "[" << i << "] = ";
  237       OS << "  ";
  239     OS << "} ";
  316       OS << "ExpressionTypeCall, ";
  318     OS << " represents call at ";
  364       OS << "ExpressionTypeLoad, ";
  366     OS << " represents Load at ";
  368     OS << " with MemoryLeader " << *getMemoryLeader();
  404       OS << "ExpressionTypeStore, ";
  406     OS << " represents Store  " << *Store;
  407     OS << " with StoredValue ";
  409     OS << " and MemoryLeader " << *getMemoryLeader();
  472       OS << "ExpressionTypeAggregateValue, ";
  474     OS << ", intoperands = {";
  476       OS << "[" << i << "] = " << IntOperands[i] << "  ";
  476       OS << "[" << i << "] = " << IntOperands[i] << "  ";
  476       OS << "[" << i << "] = " << IntOperands[i] << "  ";
  478     OS << "}";
  532       OS << "ExpressionTypePhi, ";
  534     OS << "bb = " << BB;
  579       OS << "ExpressionTypeVariable, ";
  581     OS << " variable = " << *VariableValue;
  616       OS << "ExpressionTypeConstant, ";
  618     OS << " constant = " << *ConstantValue;
  651       OS << "ExpressionTypeUnknown, ";
  653     OS << " inst = " << *Inst;
include/llvm/Transforms/Utils/SSAUpdaterImpl.h
  380       LLVM_DEBUG(dbgs() << "  Inserted PHI: " << *PHI << "\n");
  380       LLVM_DEBUG(dbgs() << "  Inserted PHI: " << *PHI << "\n");
lib/Analysis/AliasAnalysis.cpp
  413     OS << "NoAlias";
  416     OS << "MustAlias";
  419     OS << "MayAlias";
  422     OS << "PartialAlias";
lib/Analysis/AliasAnalysisEvaluator.cpp
   55     errs() << "  " << AR << ":\t" << o1 << ", " << o2 << "\n";
   55     errs() << "  " << AR << ":\t" << o1 << ", " << o2 << "\n";
   55     errs() << "  " << AR << ":\t" << o1 << ", " << o2 << "\n";
   55     errs() << "  " << AR << ":\t" << o1 << ", " << o2 << "\n";
   62     errs() << "  " << Msg << ":  Ptr: ";
   62     errs() << "  " << Msg << ":  Ptr: ";
   62     errs() << "  " << Msg << ":  Ptr: ";
   64     errs() << "\t<->" << *I << '\n';
   71     errs() << "  " << Msg << ": " << *CallA << " <-> " << *CallB << '\n';
   71     errs() << "  " << Msg << ": " << *CallA << " <-> " << *CallB << '\n';
   71     errs() << "  " << Msg << ": " << *CallA << " <-> " << *CallB << '\n';
   71     errs() << "  " << Msg << ": " << *CallA << " <-> " << *CallB << '\n';
   79     errs() << "  " << AR << ": " << *V1 << " <-> " << *V2 << '\n';
   79     errs() << "  " << AR << ": " << *V1 << " <-> " << *V2 << '\n';
   79     errs() << "  " << AR << ": " << *V1 << " <-> " << *V2 << '\n';
  136     errs() << "Function: " << F.getName() << ": " << Pointers.size()
  136     errs() << "Function: " << F.getName() << ": " << Pointers.size()
  137            << " pointers, " << Calls.size() << " call sites\n";
  137            << " pointers, " << Calls.size() << " call sites\n";
  329   errs() << "(" << Num * 100LL / Sum << "." << ((Num * 1000LL / Sum) % 10)
  329   errs() << "(" << Num * 100LL / Sum << "." << ((Num * 1000LL / Sum) % 10)
  330          << "%)\n";
  339   errs() << "===== Alias Analysis Evaluator Report =====\n";
  341     errs() << "  Alias Analysis Evaluator Summary: No pointers!\n";
  343     errs() << "  " << AliasSum << " Total Alias Queries Performed\n";
  343     errs() << "  " << AliasSum << " Total Alias Queries Performed\n";
  344     errs() << "  " << NoAliasCount << " no alias responses ";
  344     errs() << "  " << NoAliasCount << " no alias responses ";
  346     errs() << "  " << MayAliasCount << " may alias responses ";
  346     errs() << "  " << MayAliasCount << " may alias responses ";
  348     errs() << "  " << PartialAliasCount << " partial alias responses ";
  348     errs() << "  " << PartialAliasCount << " partial alias responses ";
  350     errs() << "  " << MustAliasCount << " must alias responses ";
  350     errs() << "  " << MustAliasCount << " must alias responses ";
  352     errs() << "  Alias Analysis Evaluator Pointer Alias Summary: "
  353            << NoAliasCount * 100 / AliasSum << "%/"
  354            << MayAliasCount * 100 / AliasSum << "%/"
  355            << PartialAliasCount * 100 / AliasSum << "%/"
  356            << MustAliasCount * 100 / AliasSum << "%\n";
  363     errs() << "  Alias Analysis Mod/Ref Evaluator Summary: no "
  366     errs() << "  " << ModRefSum << " Total ModRef Queries Performed\n";
  366     errs() << "  " << ModRefSum << " Total ModRef Queries Performed\n";
  367     errs() << "  " << NoModRefCount << " no mod/ref responses ";
  367     errs() << "  " << NoModRefCount << " no mod/ref responses ";
  369     errs() << "  " << ModCount << " mod responses ";
  369     errs() << "  " << ModCount << " mod responses ";
  371     errs() << "  " << RefCount << " ref responses ";
  371     errs() << "  " << RefCount << " ref responses ";
  373     errs() << "  " << ModRefCount << " mod & ref responses ";
  373     errs() << "  " << ModRefCount << " mod & ref responses ";
  375     errs() << "  " << MustCount << " must responses ";
  375     errs() << "  " << MustCount << " must responses ";
  377     errs() << "  " << MustModCount << " must mod responses ";
  377     errs() << "  " << MustModCount << " must mod responses ";
  379     errs() << "  " << MustRefCount << " must ref responses ";
  379     errs() << "  " << MustRefCount << " must ref responses ";
  381     errs() << "  " << MustModRefCount << " must mod & ref responses ";
  381     errs() << "  " << MustModRefCount << " must mod & ref responses ";
  383     errs() << "  Alias Analysis Evaluator Mod/Ref Summary: "
  384            << NoModRefCount * 100 / ModRefSum << "%/"
  385            << ModCount * 100 / ModRefSum << "%/" << RefCount * 100 / ModRefSum
  386            << "%/" << ModRefCount * 100 / ModRefSum << "%/"
  386            << "%/" << ModRefCount * 100 / ModRefSum << "%/"
  387            << MustCount * 100 / ModRefSum << "%/"
  388            << MustRefCount * 100 / ModRefSum << "%/"
  389            << MustModCount * 100 / ModRefSum << "%/"
  390            << MustModRefCount * 100 / ModRefSum << "%\n";
lib/Analysis/AliasSetTracker.cpp
  660   OS << "  AliasSet[" << (const void*)this << ", " << RefCount << "] ";
  660   OS << "  AliasSet[" << (const void*)this << ", " << RefCount << "] ";
  660   OS << "  AliasSet[" << (const void*)this << ", " << RefCount << "] ";
  661   OS << (Alias == SetMustAlias ? "must" : "may") << " alias, ";
  661   OS << (Alias == SetMustAlias ? "must" : "may") << " alias, ";
  663   case NoAccess:     OS << "No access "; break;
  664   case RefAccess:    OS << "Ref       "; break;
  665   case ModAccess:    OS << "Mod       "; break;
  666   case ModRefAccess: OS << "Mod/Ref   "; break;
  670     OS << " forwarding to " << (void*)Forward;
  673     OS << "Pointers: ";
  675       if (I != begin()) OS << ", ";
  676       I.getPointer()->printAsOperand(OS << "(");
  678         OS << ", unknown)";
  680         OS << ", " << I.getSize() << ")";
  680         OS << ", " << I.getSize() << ")";
  684     OS << "\n    " << UnknownInsts.size() << " Unknown instructions: ";
  684     OS << "\n    " << UnknownInsts.size() << " Unknown instructions: ";
  686       if (i) OS << ", ";
  695   OS << "\n";
  699   OS << "Alias Set Tracker: " << AliasSets.size();
  701     OS << " (Saturated)";
  702   OS << " alias sets for " << PointerMap.size() << " pointer values.\n";
  702   OS << " alias sets for " << PointerMap.size() << " pointer values.\n";
  705   OS << "\n";
  759       errs() << "Alias sets for function '" << F.getName() << "':\n";
  759       errs() << "Alias sets for function '" << F.getName() << "':\n";
lib/Analysis/AssumptionCache.cpp
  232   OS << "Cached assumptions for function: " << F.getName() << "\n";
  232   OS << "Cached assumptions for function: " << F.getName() << "\n";
  235       OS << "  " << *cast<CallInst>(VH)->getArgOperand(0) << "\n";
  235       OS << "  " << *cast<CallInst>(VH)->getArgOperand(0) << "\n";
lib/Analysis/BlockFrequencyInfo.cpp
  337   OS << "Printing analysis results of BFI for function "
  338      << "'" << F.getName() << "':"
  338      << "'" << F.getName() << "':"
  339      << "\n";
lib/Analysis/BlockFrequencyInfoImpl.cpp
  306     dbgs() << "  =>"
  307            << " [" << Type << "] weight = " << Weight;
  307            << " [" << Type << "] weight = " << Weight;
  307            << " [" << Type << "] weight = " << Weight;
  309       dbgs() << ", succ = " << getBlockName(Succ);
  311       dbgs() << ", resolved = " << getBlockName(Resolved);
  312     dbgs() << "\n";
  367   LLVM_DEBUG(dbgs() << "compute-loop-scale: " << getLoopName(Loop) << "\n");
  367   LLVM_DEBUG(dbgs() << "compute-loop-scale: " << getLoopName(Loop) << "\n");
  393   LLVM_DEBUG(dbgs() << " - exit-mass = " << ExitMass << " ("
  393   LLVM_DEBUG(dbgs() << " - exit-mass = " << ExitMass << " ("
  394                     << BlockMass::getFull() << " - " << TotalBackedgeMass
  395                     << ")\n"
  396                     << " - scale = " << Loop.Scale << "\n");
  396                     << " - scale = " << Loop.Scale << "\n");
  401   LLVM_DEBUG(dbgs() << "packaging-loop: " << getLoopName(Loop) << "\n");
  401   LLVM_DEBUG(dbgs() << "packaging-loop: " << getLoopName(Loop) << "\n");
  407     LLVM_DEBUG(dbgs() << " - node: " << getBlockName(M.Index) << "\n");
  407     LLVM_DEBUG(dbgs() << " - node: " << getBlockName(M.Index) << "\n");
  416   dbgs() << "  => assign " << M << " (" << D.RemMass << ")";
  416   dbgs() << "  => assign " << M << " (" << D.RemMass << ")";
  416   dbgs() << "  => assign " << M << " (" << D.RemMass << ")";
  418     dbgs() << " [" << Desc << "]";
  418     dbgs() << " [" << Desc << "]";
  418     dbgs() << " [" << Desc << "]";
  420     dbgs() << " to " << BFI.getBlockName(T);
  421   dbgs() << "\n";
  429   LLVM_DEBUG(dbgs() << "  => mass:  " << Mass << "\n");
  429   LLVM_DEBUG(dbgs() << "  => mass:  " << Mass << "\n");
  484   LLVM_DEBUG(dbgs() << "float-to-int: min = " << Min << ", max = " << Max
  484   LLVM_DEBUG(dbgs() << "float-to-int: min = " << Min << ", max = " << Max
  485                     << ", factor = " << ScalingFactor << "\n");
  485                     << ", factor = " << ScalingFactor << "\n");
  489     LLVM_DEBUG(dbgs() << " - " << BFI.getBlockName(Index) << ": float = "
  489     LLVM_DEBUG(dbgs() << " - " << BFI.getBlockName(Index) << ": float = "
  490                       << BFI.Freqs[Index].Scaled << ", scaled = " << Scaled
  491                       << ", int = " << BFI.Freqs[Index].Integer << "\n");
  491                       << ", int = " << BFI.Freqs[Index].Integer << "\n");
  500   LLVM_DEBUG(dbgs() << "unwrap-loop-package: " << BFI.getLoopName(Loop)
  501                     << ": mass = " << Loop.Mass << ", scale = " << Loop.Scale
  501                     << ": mass = " << Loop.Mass << ", scale = " << Loop.Scale
  502                     << "\n");
  505   LLVM_DEBUG(dbgs() << "  => combined-scale = " << Loop.Scale << "\n");
  505   LLVM_DEBUG(dbgs() << "  => combined-scale = " << Loop.Scale << "\n");
  515     LLVM_DEBUG(dbgs() << " - " << BFI.getBlockName(N) << ": " << F << " => "
  515     LLVM_DEBUG(dbgs() << " - " << BFI.getBlockName(N) << ": " << F << " => "
  515     LLVM_DEBUG(dbgs() << " - " << BFI.getBlockName(N) << ": " << F << " => "
  516                       << New << "\n");
  703       LLVM_DEBUG(dbgs() << "  => entry = " << BFI.getBlockName(Irr.Node)
  704                         << "\n");
  735       LLVM_DEBUG(dbgs() << "  => extra = " << BFI.getBlockName(Irr.Node)
  736                         << "\n");
  745     LLVM_DEBUG(dbgs() << "  => other = " << BFI.getBlockName(Irr.Node) << "\n");
  745     LLVM_DEBUG(dbgs() << "  => other = " << BFI.getBlockName(Irr.Node) << "\n");
  756   LLVM_DEBUG(dbgs() << " - found-scc\n");
  817   LLVM_DEBUG(dbgs() << "adjust-loop-header-mass:\n");
  821     LLVM_DEBUG(dbgs() << " - Add back edge mass for node "
  822                       << getBlockName(HeaderNode) << ": " << BackedgeMass
  823                       << "\n");
  827       LLVM_DEBUG(dbgs() << "   Nothing added. Back edge mass is zero\n");
  832   LLVM_DEBUG(dbgs() << " Distribute loop mass " << LoopMass
  833                     << " to headers using above weights\n");
lib/Analysis/BranchProbabilityInfo.cpp
  837   OS << "---- Branch Probabilities ----\n";
  844       printEdgeProbability(OS << "  ", &BI, *SI);
  924   LLVM_DEBUG(dbgs() << "set edge " << Src->getName() << " -> "
  924   LLVM_DEBUG(dbgs() << "set edge " << Src->getName() << " -> "
  925                     << IndexInSuccessors << " successor probability to " << Prob
  926                     << "\n");
  934   OS << "edge " << Src->getName() << " -> " << Dst->getName()
  934   OS << "edge " << Src->getName() << " -> " << Dst->getName()
  935      << " probability is " << Prob
  936      << (isEdgeHot(Src, Dst) ? " [HOT edge]\n" : "\n");
  951   LLVM_DEBUG(dbgs() << "---- Branch Probability Info : " << F.getName()
  952                     << " ----\n\n");
  970     LLVM_DEBUG(dbgs() << "BPI: SCC " << SccNum << ":");
  970     LLVM_DEBUG(dbgs() << "BPI: SCC " << SccNum << ":");
  972       LLVM_DEBUG(dbgs() << " " << BB->getName());
  975     LLVM_DEBUG(dbgs() << "\n");
  981     LLVM_DEBUG(dbgs() << "Computing probabilities for " << BB->getName()
  982                       << "\n");
 1052   OS << "Printing analysis results of BPI for function "
 1053      << "'" << F.getName() << "':"
 1053      << "'" << F.getName() << "':"
 1054      << "\n";
lib/Analysis/CFGPrinter.cpp
   99   errs() << "Writing '" << Filename << "'...";
   99   errs() << "Writing '" << Filename << "'...";
  107     errs() << "  error opening file for writing!";
  108   errs() << "\n";
lib/Analysis/CFLAndersAliasAnalysis.cpp
  863           << "CFLAndersAA: could not extract parent function information.\n");
lib/Analysis/CFLSteensAliasAnalysis.cpp
  281         << "CFLSteensAA: could not extract parent function information.\n");
lib/Analysis/CGSCCPassManager.cpp
   64     dbgs() << "Starting CGSCC pass manager run.\n";
   72       dbgs() << "Running pass: " << Pass->name() << " on " << *C << "\n";
   72       dbgs() << "Running pass: " << Pass->name() << " on " << *C << "\n";
   72       dbgs() << "Running pass: " << Pass->name() << " on " << *C << "\n";
   92       LLVM_DEBUG(dbgs() << "Skipping invalidated root or island SCC!\n");
  126     dbgs() << "Finished CGSCC pass manager run.\n";
  376   LLVM_DEBUG(dbgs() << "Enqueuing the existing SCC in the worklist:" << *C
  377                     << "\n");
  413     LLVM_DEBUG(dbgs() << "Enqueuing a newly formed SCC:" << NewC << "\n");
  413     LLVM_DEBUG(dbgs() << "Enqueuing a newly formed SCC:" << NewC << "\n");
  538                         LLVM_DEBUG(dbgs() << "Deleting outgoing edge from '"
  539                                           << N << "' to '" << TargetN << "'\n");
  539                                           << N << "' to '" << TargetN << "'\n");
  570       LLVM_DEBUG(dbgs() << "Enqueuing a new RefSCC in the update worklist: "
  571                         << *NewRC << "\n");
  588       LLVM_DEBUG(dbgs() << "Switch outgoing call edge to a ref edge from '" << N
  589                         << "' to '" << *RefTarget << "'\n");
  589                         << "' to '" << *RefTarget << "'\n");
  617       LLVM_DEBUG(dbgs() << "Switch outgoing ref edge to a call edge from '" << N
  618                         << "' to '" << *CallTarget << "'\n");
  618                         << "' to '" << *CallTarget << "'\n");
  621     LLVM_DEBUG(dbgs() << "Switch an internal ref edge to a call edge from '"
  622                       << N << "' to '" << *CallTarget << "'\n");
  622                       << N << "' to '" << *CallTarget << "'\n");
  685       LLVM_DEBUG(dbgs() << "Enqueuing the existing SCC in the worklist: " << *C
  686                         << "\n");
  691         LLVM_DEBUG(dbgs() << "Enqueuing a newly earlier in post-order SCC: "
  692                           << MovedC << "\n");
lib/Analysis/CallGraph.cpp
  163     OS << "Call graph node for function: '" << F->getName() << "'";
  163     OS << "Call graph node for function: '" << F->getName() << "'";
  165     OS << "Call graph node <<null function>>";
  167   OS << "<<" << this << ">>  #uses=" << getNumReferences() << '\n';
  167   OS << "<<" << this << ">>  #uses=" << getNumReferences() << '\n';
  170     OS << "  CS<" << I.first << "> calls ";
  170     OS << "  CS<" << I.first << "> calls ";
  172       OS << "function '" << FI->getName() <<"'\n";
  172       OS << "function '" << FI->getName() <<"'\n";
  174       OS << "external node\n";
  285     OS << "No call graph has been built!\n";
lib/Analysis/CallGraphSCCPass.cpp
   86     errs().indent(Offset*2) << "Call Graph SCC Pass Manager\n";
  185     LLVM_DEBUG(dbgs() << "CGSCCPASSMGR: Pass Dirtied SCC: " << P->getPassName()
  205   LLVM_DEBUG(dbgs() << "CGSCCPASSMGR: Refreshing SCC with " << CurSCC.size()
  206                     << " nodes:\n";
  330               LLVM_DEBUG(dbgs() << "  CGSCCPASSMGR: Devirtualized call to '"
  331                                 << Callee->getName() << "'\n");
  387     dbgs() << "CGSCCPASSMGR: Refreshed SCC is now:\n";
  391       dbgs() << "CGSCCPASSMGR: Refresh devirtualized a call!\n";
  393     dbgs() << "CGSCCPASSMGR: SCC Refresh didn't change call graph.\n";
  429         if (I != CurSCC.begin()) OS << ", ";
  494                  << "  SCCPASSMGR: Re-visiting SCC, iteration #" << Iteration
  501       LLVM_DEBUG(dbgs() << "  CGSCCPASSMGR: Stopped iteration after "
  503                         << " times, due to -max-cg-scc-iterations\n");
  645         OS << "\n";
  661           OS << "\nPrinting <null> Function\n";
  666         OS << "\n";
lib/Analysis/CodeMetrics.cpp
   62     LLVM_DEBUG(dbgs() << "Ephemeral Value: " << *V << "\n");
   62     LLVM_DEBUG(dbgs() << "Ephemeral Value: " << *V << "\n");
lib/Analysis/CostModel.cpp
  104         OS << "Cost Model: Found an estimated cost of " << Cost;
  106         OS << "Cost Model: Unknown cost";
  108       OS << " for instruction: " << Inst << "\n";
  108       OS << " for instruction: " << Inst << "\n";
lib/Analysis/DDG.cpp
   56   OS << Out;
   61   OS << "Node Address:" << &N << ":" << N.getKind() << "\n";
   61   OS << "Node Address:" << &N << ":" << N.getKind() << "\n";
   61   OS << "Node Address:" << &N << ":" << N.getKind() << "\n";
   63     OS << " Instructions:\n";
   65       OS.indent(2) << *I << "\n";
   69   OS << (N.getEdges().empty() ? " Edges:none!\n" : " Edges:\n");
  121   OS << Out;
  126   OS << "[" << E.getKind() << "] to " << &E.getTargetNode() << "\n";
  126   OS << "[" << E.getKind() << "] to " << &E.getTargetNode() << "\n";
  126   OS << "[" << E.getKind() << "] to " << &E.getTargetNode() << "\n";
  180     OS << *Node << "\n";
  200   OS << "'DDG' for loop '" << L.getHeader()->getName() << "':\n";
  200   OS << "'DDG' for loop '" << L.getHeader()->getName() << "':\n";
lib/Analysis/Delinearization.cpp
   72   O << "Delinearization on function " << F->getName() << ":\n";
   72   O << "Delinearization on function " << F->getName() << ":\n";
   94       O << "\n";
   95       O << "Inst:" << *Inst << "\n";
   95       O << "Inst:" << *Inst << "\n";
   96       O << "In Loop with Header: " << L->getHeader()->getName() << "\n";
   96       O << "In Loop with Header: " << L->getHeader()->getName() << "\n";
   97       O << "AccessFunction: " << *AccessFn << "\n";
   97       O << "AccessFunction: " << *AccessFn << "\n";
  103         O << "failed to delinearize\n";
  107       O << "Base offset: " << *BasePointer << "\n";
  107       O << "Base offset: " << *BasePointer << "\n";
  108       O << "ArrayDecl[UnknownSize]";
  111         O << "[" << *Sizes[i] << "]";
  111         O << "[" << *Sizes[i] << "]";
  112       O << " with elements of " << *Sizes[Size - 1] << " bytes.\n";
  112       O << " with elements of " << *Sizes[Size - 1] << " bytes.\n";
  114       O << "ArrayRef";
  116         O << "[" << *Subscripts[i] << "]";
  116         O << "[" << *Subscripts[i] << "]";
  117       O << "\n";
lib/Analysis/DemandedBits.cpp
  323     LLVM_DEBUG(dbgs() << "DemandedBits: Root: " << I << "\n");
  323     LLVM_DEBUG(dbgs() << "DemandedBits: Root: " << I << "\n");
  357     LLVM_DEBUG(dbgs() << "DemandedBits: Visiting: " << *UserI);
  362       LLVM_DEBUG(dbgs() << " Alive Out: 0x"
  369     LLVM_DEBUG(dbgs() << "\n");
  466     OS << "DemandedBits: 0x" << Twine::utohexstr(KV.second.getLimitedValue())
  467        << " for " << *KV.first << '\n';
lib/Analysis/DependenceAnalysis.cpp
  180           OS << "da analyze - ";
  185                 OS << "da analyze - split level = " << Level;
  186                 OS << ", iteration = " << *DA->getSplitIteration(*D, Level);
  187                 OS << "!\n";
  192             OS << "none!\n";
  206   OS << "'Dependence Analysis' for function '" << F.getName() << "':\n";
  206   OS << "'Dependence Analysis' for function '" << F.getName() << "':\n";
  406     OS << " Empty\n";
  408     OS << " Any\n";
  410     OS << " Point is <" << *getX() << ", " << *getY() << ">\n";
  410     OS << " Point is <" << *getX() << ", " << *getY() << ">\n";
  410     OS << " Point is <" << *getX() << ", " << *getY() << ">\n";
  412     OS << " Distance is " << *getD() <<
  412     OS << " Distance is " << *getD() <<
  413       " (" << *getA() << "*X + " << *getB() << "*Y = " << *getC() << ")\n";
  413       " (" << *getA() << "*X + " << *getB() << "*Y = " << *getC() << ")\n";
  413       " (" << *getA() << "*X + " << *getB() << "*Y = " << *getC() << ")\n";
  415     OS << " Line is " << *getA() << "*X + " <<
  415     OS << " Line is " << *getA() << "*X + " <<
  416       *getB() << "*Y = " << *getC() << "\n";
  416       *getB() << "*Y = " << *getC() << "\n";
  432   LLVM_DEBUG(dbgs() << "\tintersect constraints\n");
  433   LLVM_DEBUG(dbgs() << "\t    X ="; X->dump(dbgs()));
  434   LLVM_DEBUG(dbgs() << "\t    Y ="; Y->dump(dbgs()));
  450     LLVM_DEBUG(dbgs() << "\t    intersect 2 distances\n");
  477     LLVM_DEBUG(dbgs() << "\t    intersect 2 lines\n");
  482       LLVM_DEBUG(dbgs() << "\t\tsame slope\n");
  496       LLVM_DEBUG(dbgs() << "\t\tdifferent slopes\n");
  518       LLVM_DEBUG(dbgs() << "\t\tXtop = " << Xtop << "\n");
  518       LLVM_DEBUG(dbgs() << "\t\tXtop = " << Xtop << "\n");
  519       LLVM_DEBUG(dbgs() << "\t\tXbot = " << Xbot << "\n");
  519       LLVM_DEBUG(dbgs() << "\t\tXbot = " << Xbot << "\n");
  520       LLVM_DEBUG(dbgs() << "\t\tYtop = " << Ytop << "\n");
  520       LLVM_DEBUG(dbgs() << "\t\tYtop = " << Ytop << "\n");
  521       LLVM_DEBUG(dbgs() << "\t\tYbot = " << Ybot << "\n");
  521       LLVM_DEBUG(dbgs() << "\t\tYbot = " << Ybot << "\n");
  533       LLVM_DEBUG(dbgs() << "\t\tX = " << Xq << ", Y = " << Yq << "\n");
  533       LLVM_DEBUG(dbgs() << "\t\tX = " << Xq << ", Y = " << Yq << "\n");
  533       LLVM_DEBUG(dbgs() << "\t\tX = " << Xq << ", Y = " << Yq << "\n");
  542         LLVM_DEBUG(dbgs() << "\t\tupper bound = " << UpperBound << "\n");
  542         LLVM_DEBUG(dbgs() << "\t\tupper bound = " << UpperBound << "\n");
  562     LLVM_DEBUG(dbgs() << "\t    intersect Point and Line\n");
  588     OS << "confused";
  591       OS << "consistent ";
  593       OS << "flow";
  595       OS << "output";
  597       OS << "anti";
  599       OS << "input";
  601     OS << " [";
  611         OS << "S";
  615           OS << "*";
  618             OS << "<";
  620             OS << "=";
  622             OS << ">";
  628         OS << " ";
  631       OS << "|<";
  632     OS << "]";
  634       OS << " splitable";
  636   OS << "!\n";
 1101   LLVM_DEBUG(dbgs() << "    src = " << *Src << "\n");
 1101   LLVM_DEBUG(dbgs() << "    src = " << *Src << "\n");
 1102   LLVM_DEBUG(dbgs() << "    dst = " << *Dst << "\n");
 1102   LLVM_DEBUG(dbgs() << "    dst = " << *Dst << "\n");
 1105     LLVM_DEBUG(dbgs() << "    provably dependent\n");
 1109     LLVM_DEBUG(dbgs() << "    provably independent\n");
 1113   LLVM_DEBUG(dbgs() << "    possibly dependent\n");
 1150   LLVM_DEBUG(dbgs() << "\tStrong SIV test\n");
 1151   LLVM_DEBUG(dbgs() << "\t    Coeff = " << *Coeff);
 1152   LLVM_DEBUG(dbgs() << ", " << *Coeff->getType() << "\n");
 1152   LLVM_DEBUG(dbgs() << ", " << *Coeff->getType() << "\n");
 1153   LLVM_DEBUG(dbgs() << "\t    SrcConst = " << *SrcConst);
 1154   LLVM_DEBUG(dbgs() << ", " << *SrcConst->getType() << "\n");
 1154   LLVM_DEBUG(dbgs() << ", " << *SrcConst->getType() << "\n");
 1155   LLVM_DEBUG(dbgs() << "\t    DstConst = " << *DstConst);
 1156   LLVM_DEBUG(dbgs() << ", " << *DstConst->getType() << "\n");
 1156   LLVM_DEBUG(dbgs() << ", " << *DstConst->getType() << "\n");
 1162   LLVM_DEBUG(dbgs() << "\t    Delta = " << *Delta);
 1163   LLVM_DEBUG(dbgs() << ", " << *Delta->getType() << "\n");
 1163   LLVM_DEBUG(dbgs() << ", " << *Delta->getType() << "\n");
 1167     LLVM_DEBUG(dbgs() << "\t    UpperBound = " << *UpperBound);
 1168     LLVM_DEBUG(dbgs() << ", " << *UpperBound->getType() << "\n");
 1168     LLVM_DEBUG(dbgs() << ", " << *UpperBound->getType() << "\n");
 1189     LLVM_DEBUG(dbgs() << "\t    Distance = " << Distance << "\n");
 1189     LLVM_DEBUG(dbgs() << "\t    Distance = " << Distance << "\n");
 1190     LLVM_DEBUG(dbgs() << "\t    Remainder = " << Remainder << "\n");
 1190     LLVM_DEBUG(dbgs() << "\t    Remainder = " << Remainder << "\n");
 1217       LLVM_DEBUG(dbgs() << "\t    Distance = " << *Delta << "\n");
 1217       LLVM_DEBUG(dbgs() << "\t    Distance = " << *Delta << "\n");
 1286   LLVM_DEBUG(dbgs() << "\tWeak-Crossing SIV test\n");
 1287   LLVM_DEBUG(dbgs() << "\t    Coeff = " << *Coeff << "\n");
 1287   LLVM_DEBUG(dbgs() << "\t    Coeff = " << *Coeff << "\n");
 1288   LLVM_DEBUG(dbgs() << "\t    SrcConst = " << *SrcConst << "\n");
 1288   LLVM_DEBUG(dbgs() << "\t    SrcConst = " << *SrcConst << "\n");
 1289   LLVM_DEBUG(dbgs() << "\t    DstConst = " << *DstConst << "\n");
 1289   LLVM_DEBUG(dbgs() << "\t    DstConst = " << *DstConst << "\n");
 1295   LLVM_DEBUG(dbgs() << "\t    Delta = " << *Delta << "\n");
 1295   LLVM_DEBUG(dbgs() << "\t    Delta = " << *Delta << "\n");
 1325   LLVM_DEBUG(dbgs() << "\t    Split iter = " << *SplitIter << "\n");
 1325   LLVM_DEBUG(dbgs() << "\t    Split iter = " << *SplitIter << "\n");
 1333   LLVM_DEBUG(dbgs() << "\t    Delta = " << *Delta << "\n");
 1333   LLVM_DEBUG(dbgs() << "\t    Delta = " << *Delta << "\n");
 1334   LLVM_DEBUG(dbgs() << "\t    ConstCoeff = " << *ConstCoeff << "\n");
 1334   LLVM_DEBUG(dbgs() << "\t    ConstCoeff = " << *ConstCoeff << "\n");
 1345     LLVM_DEBUG(dbgs() << "\t    UpperBound = " << *UpperBound << "\n");
 1345     LLVM_DEBUG(dbgs() << "\t    UpperBound = " << *UpperBound << "\n");
 1349     LLVM_DEBUG(dbgs() << "\t    ML = " << *ML << "\n");
 1349     LLVM_DEBUG(dbgs() << "\t    ML = " << *ML << "\n");
 1377   LLVM_DEBUG(dbgs() << "\t    Remainder = " << Remainder << "\n");
 1377   LLVM_DEBUG(dbgs() << "\t    Remainder = " << Remainder << "\n");
 1384   LLVM_DEBUG(dbgs() << "\t    Distance = " << Distance << "\n");
 1384   LLVM_DEBUG(dbgs() << "\t    Distance = " << Distance << "\n");
 1389   LLVM_DEBUG(dbgs() << "\t    Remainder = " << Remainder << "\n");
 1389   LLVM_DEBUG(dbgs() << "\t    Remainder = " << Remainder << "\n");
 1425   LLVM_DEBUG(dbgs() << "\t    GCD = " << G << "\n");
 1425   LLVM_DEBUG(dbgs() << "\t    GCD = " << G << "\n");
 1498   LLVM_DEBUG(dbgs() << "\tExact SIV test\n");
 1499   LLVM_DEBUG(dbgs() << "\t    SrcCoeff = " << *SrcCoeff << " = AM\n");
 1499   LLVM_DEBUG(dbgs() << "\t    SrcCoeff = " << *SrcCoeff << " = AM\n");
 1500   LLVM_DEBUG(dbgs() << "\t    DstCoeff = " << *DstCoeff << " = BM\n");
 1500   LLVM_DEBUG(dbgs() << "\t    DstCoeff = " << *DstCoeff << " = BM\n");
 1501   LLVM_DEBUG(dbgs() << "\t    SrcConst = " << *SrcConst << "\n");
 1501   LLVM_DEBUG(dbgs() << "\t    SrcConst = " << *SrcConst << "\n");
 1502   LLVM_DEBUG(dbgs() << "\t    DstConst = " << *DstConst << "\n");
 1502   LLVM_DEBUG(dbgs() << "\t    DstConst = " << *DstConst << "\n");
 1508   LLVM_DEBUG(dbgs() << "\t    Delta = " << *Delta << "\n");
 1508   LLVM_DEBUG(dbgs() << "\t    Delta = " << *Delta << "\n");
 1529   LLVM_DEBUG(dbgs() << "\t    X = " << X << ", Y = " << Y << "\n");
 1529   LLVM_DEBUG(dbgs() << "\t    X = " << X << ", Y = " << Y << "\n");
 1529   LLVM_DEBUG(dbgs() << "\t    X = " << X << ", Y = " << Y << "\n");
 1538     LLVM_DEBUG(dbgs() << "\t    UM = " << UM << "\n");
 1538     LLVM_DEBUG(dbgs() << "\t    UM = " << UM << "\n");
 1549     LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 1549     LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 1552       LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1552       LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1557     LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1557     LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1560       LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 1560       LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 1568     LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 1568     LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 1571       LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1571       LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1576     LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1576     LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1579       LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 1579       LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 1594   LLVM_DEBUG(dbgs() << "\t    exploring LT direction\n");
 1598     LLVM_DEBUG(dbgs() << "\t\t    TL = " << TL << "\n");
 1598     LLVM_DEBUG(dbgs() << "\t\t    TL = " << TL << "\n");
 1602     LLVM_DEBUG(dbgs() << "\t\t    TU = " << TU << "\n");
 1602     LLVM_DEBUG(dbgs() << "\t\t    TU = " << TU << "\n");
 1612   LLVM_DEBUG(dbgs() << "\t    exploring EQ direction\n");
 1615     LLVM_DEBUG(dbgs() << "\t\t    TL = " << TL << "\n");
 1615     LLVM_DEBUG(dbgs() << "\t\t    TL = " << TL << "\n");
 1619     LLVM_DEBUG(dbgs() << "\t\t    TU = " << TU << "\n");
 1619     LLVM_DEBUG(dbgs() << "\t\t    TU = " << TU << "\n");
 1624     LLVM_DEBUG(dbgs() << "\t\t    TL = " << TL << "\n");
 1624     LLVM_DEBUG(dbgs() << "\t\t    TL = " << TL << "\n");
 1628     LLVM_DEBUG(dbgs() << "\t\t    TU = " << TU << "\n");
 1628     LLVM_DEBUG(dbgs() << "\t\t    TU = " << TU << "\n");
 1638   LLVM_DEBUG(dbgs() << "\t    exploring GT direction\n");
 1641     LLVM_DEBUG(dbgs() << "\t\t    TL = " << TL << "\n");
 1641     LLVM_DEBUG(dbgs() << "\t\t    TL = " << TL << "\n");
 1645     LLVM_DEBUG(dbgs() << "\t\t    TU = " << TU << "\n");
 1645     LLVM_DEBUG(dbgs() << "\t\t    TU = " << TU << "\n");
 1711   LLVM_DEBUG(dbgs() << "\tWeak-Zero (src) SIV test\n");
 1712   LLVM_DEBUG(dbgs() << "\t    DstCoeff = " << *DstCoeff << "\n");
 1712   LLVM_DEBUG(dbgs() << "\t    DstCoeff = " << *DstCoeff << "\n");
 1713   LLVM_DEBUG(dbgs() << "\t    SrcConst = " << *SrcConst << "\n");
 1713   LLVM_DEBUG(dbgs() << "\t    SrcConst = " << *SrcConst << "\n");
 1714   LLVM_DEBUG(dbgs() << "\t    DstConst = " << *DstConst << "\n");
 1714   LLVM_DEBUG(dbgs() << "\t    DstConst = " << *DstConst << "\n");
 1722   LLVM_DEBUG(dbgs() << "\t    Delta = " << *Delta << "\n");
 1722   LLVM_DEBUG(dbgs() << "\t    Delta = " << *Delta << "\n");
 1743     LLVM_DEBUG(dbgs() << "\t    UpperBound = " << *UpperBound << "\n");
 1743     LLVM_DEBUG(dbgs() << "\t    UpperBound = " << *UpperBound << "\n");
 1820   LLVM_DEBUG(dbgs() << "\tWeak-Zero (dst) SIV test\n");
 1821   LLVM_DEBUG(dbgs() << "\t    SrcCoeff = " << *SrcCoeff << "\n");
 1821   LLVM_DEBUG(dbgs() << "\t    SrcCoeff = " << *SrcCoeff << "\n");
 1822   LLVM_DEBUG(dbgs() << "\t    SrcConst = " << *SrcConst << "\n");
 1822   LLVM_DEBUG(dbgs() << "\t    SrcConst = " << *SrcConst << "\n");
 1823   LLVM_DEBUG(dbgs() << "\t    DstConst = " << *DstConst << "\n");
 1823   LLVM_DEBUG(dbgs() << "\t    DstConst = " << *DstConst << "\n");
 1831   LLVM_DEBUG(dbgs() << "\t    Delta = " << *Delta << "\n");
 1831   LLVM_DEBUG(dbgs() << "\t    Delta = " << *Delta << "\n");
 1852     LLVM_DEBUG(dbgs() << "\t    UpperBound = " << *UpperBound << "\n");
 1852     LLVM_DEBUG(dbgs() << "\t    UpperBound = " << *UpperBound << "\n");
 1901   LLVM_DEBUG(dbgs() << "\tExact RDIV test\n");
 1902   LLVM_DEBUG(dbgs() << "\t    SrcCoeff = " << *SrcCoeff << " = AM\n");
 1902   LLVM_DEBUG(dbgs() << "\t    SrcCoeff = " << *SrcCoeff << " = AM\n");
 1903   LLVM_DEBUG(dbgs() << "\t    DstCoeff = " << *DstCoeff << " = BM\n");
 1903   LLVM_DEBUG(dbgs() << "\t    DstCoeff = " << *DstCoeff << " = BM\n");
 1904   LLVM_DEBUG(dbgs() << "\t    SrcConst = " << *SrcConst << "\n");
 1904   LLVM_DEBUG(dbgs() << "\t    SrcConst = " << *SrcConst << "\n");
 1905   LLVM_DEBUG(dbgs() << "\t    DstConst = " << *DstConst << "\n");
 1905   LLVM_DEBUG(dbgs() << "\t    DstConst = " << *DstConst << "\n");
 1909   LLVM_DEBUG(dbgs() << "\t    Delta = " << *Delta << "\n");
 1909   LLVM_DEBUG(dbgs() << "\t    Delta = " << *Delta << "\n");
 1927   LLVM_DEBUG(dbgs() << "\t    X = " << X << ", Y = " << Y << "\n");
 1927   LLVM_DEBUG(dbgs() << "\t    X = " << X << ", Y = " << Y << "\n");
 1927   LLVM_DEBUG(dbgs() << "\t    X = " << X << ", Y = " << Y << "\n");
 1936     LLVM_DEBUG(dbgs() << "\t    SrcUM = " << SrcUM << "\n");
 1936     LLVM_DEBUG(dbgs() << "\t    SrcUM = " << SrcUM << "\n");
 1946     LLVM_DEBUG(dbgs() << "\t    DstUM = " << DstUM << "\n");
 1946     LLVM_DEBUG(dbgs() << "\t    DstUM = " << DstUM << "\n");
 1957     LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 1957     LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 1960       LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1960       LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1965     LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1965     LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1968       LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 1968       LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 1976     LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 1976     LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 1979       LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1979       LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1984     LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1984     LLVM_DEBUG(dbgs() << "\t    TU = " << TU << "\n");
 1987       LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 1987       LLVM_DEBUG(dbgs() << "\t    TL = " << TL << "\n");
 2043   LLVM_DEBUG(dbgs() << "\ttry symbolic RDIV test\n");
 2044   LLVM_DEBUG(dbgs() << "\t    A1 = " << *A1);
 2045   LLVM_DEBUG(dbgs() << ", type = " << *A1->getType() << "\n");
 2045   LLVM_DEBUG(dbgs() << ", type = " << *A1->getType() << "\n");
 2046   LLVM_DEBUG(dbgs() << "\t    A2 = " << *A2 << "\n");
 2046   LLVM_DEBUG(dbgs() << "\t    A2 = " << *A2 << "\n");
 2047   LLVM_DEBUG(dbgs() << "\t    C1 = " << *C1 << "\n");
 2047   LLVM_DEBUG(dbgs() << "\t    C1 = " << *C1 << "\n");
 2048   LLVM_DEBUG(dbgs() << "\t    C2 = " << *C2 << "\n");
 2048   LLVM_DEBUG(dbgs() << "\t    C2 = " << *C2 << "\n");
 2051   LLVM_DEBUG(if (N1) dbgs() << "\t    N1 = " << *N1 << "\n");
 2051   LLVM_DEBUG(if (N1) dbgs() << "\t    N1 = " << *N1 << "\n");
 2052   LLVM_DEBUG(if (N2) dbgs() << "\t    N2 = " << *N2 << "\n");
 2052   LLVM_DEBUG(if (N2) dbgs() << "\t    N2 = " << *N2 << "\n");
 2055   LLVM_DEBUG(dbgs() << "\t    C2 - C1 = " << *C2_C1 << "\n");
 2055   LLVM_DEBUG(dbgs() << "\t    C2 - C1 = " << *C2_C1 << "\n");
 2056   LLVM_DEBUG(dbgs() << "\t    C1 - C2 = " << *C1_C2 << "\n");
 2056   LLVM_DEBUG(dbgs() << "\t    C1 - C2 = " << *C1_C2 << "\n");
 2063         LLVM_DEBUG(dbgs() << "\t    A1*N1 = " << *A1N1 << "\n");
 2063         LLVM_DEBUG(dbgs() << "\t    A1*N1 = " << *A1N1 << "\n");
 2072         LLVM_DEBUG(dbgs() << "\t    A2*N2 = " << *A2N2 << "\n");
 2072         LLVM_DEBUG(dbgs() << "\t    A2*N2 = " << *A2N2 << "\n");
 2086         LLVM_DEBUG(dbgs() << "\t    A1*N1 - A2*N2 = " << *A1N1_A2N2 << "\n");
 2086         LLVM_DEBUG(dbgs() << "\t    A1*N1 - A2*N2 = " << *A1N1_A2N2 << "\n");
 2107         LLVM_DEBUG(dbgs() << "\t    A1*N1 - A2*N2 = " << *A1N1_A2N2 << "\n");
 2107         LLVM_DEBUG(dbgs() << "\t    A1*N1 - A2*N2 = " << *A1N1_A2N2 << "\n");
 2124         LLVM_DEBUG(dbgs() << "\t    A1*N1 = " << *A1N1 << "\n");
 2124         LLVM_DEBUG(dbgs() << "\t    A1*N1 = " << *A1N1 << "\n");
 2133         LLVM_DEBUG(dbgs() << "\t    A2*N2 = " << *A2N2 << "\n");
 2133         LLVM_DEBUG(dbgs() << "\t    A2*N2 = " << *A2N2 << "\n");
 2156   LLVM_DEBUG(dbgs() << "    src = " << *Src << "\n");
 2156   LLVM_DEBUG(dbgs() << "    src = " << *Src << "\n");
 2157   LLVM_DEBUG(dbgs() << "    dst = " << *Dst << "\n");
 2157   LLVM_DEBUG(dbgs() << "    dst = " << *Dst << "\n");
 2233   LLVM_DEBUG(dbgs() << "    src = " << *Src << "\n");
 2233   LLVM_DEBUG(dbgs() << "    src = " << *Src << "\n");
 2234   LLVM_DEBUG(dbgs() << "    dst = " << *Dst << "\n");
 2234   LLVM_DEBUG(dbgs() << "    dst = " << *Dst << "\n");
 2290   LLVM_DEBUG(dbgs() << "    src = " << *Src << "\n");
 2290   LLVM_DEBUG(dbgs() << "    src = " << *Src << "\n");
 2291   LLVM_DEBUG(dbgs() << "    dst = " << *Dst << "\n");
 2291   LLVM_DEBUG(dbgs() << "    dst = " << *Dst << "\n");
 2331   LLVM_DEBUG(dbgs() << "starting gcd\n");
 2376   LLVM_DEBUG(dbgs() << "    Delta = " << *Delta << "\n");
 2376   LLVM_DEBUG(dbgs() << "    Delta = " << *Delta << "\n");
 2403   LLVM_DEBUG(dbgs() << "    ConstDelta = " << ConstDelta << "\n");
 2403   LLVM_DEBUG(dbgs() << "    ConstDelta = " << ConstDelta << "\n");
 2407   LLVM_DEBUG(dbgs() << "    RunningGCD = " << RunningGCD << "\n");
 2407   LLVM_DEBUG(dbgs() << "    RunningGCD = " << RunningGCD << "\n");
 2426   LLVM_DEBUG(dbgs() << "    ExtraGCD = " << ExtraGCD << '\n');
 2481     LLVM_DEBUG(dbgs() << "\tRunningGCD = " << RunningGCD << "\n");
 2481     LLVM_DEBUG(dbgs() << "\tRunningGCD = " << RunningGCD << "\n");
 2484       LLVM_DEBUG(dbgs() << "\tRemainder = " << Remainder << "\n");
 2484       LLVM_DEBUG(dbgs() << "\tRemainder = " << Remainder << "\n");
 2494   LLVM_DEBUG(dbgs() << "all done\n");
 2535   LLVM_DEBUG(dbgs() << "starting Banerjee\n");
 2537   LLVM_DEBUG(dbgs() << "    Src = " << *Src << '\n');
 2540   LLVM_DEBUG(dbgs() << "    Dst = " << *Dst << '\n');
 2545   LLVM_DEBUG(dbgs() << "\tDelta = " << *Delta << '\n');
 2548   LLVM_DEBUG(dbgs() << "\tBounds[*]\n");
 2555     LLVM_DEBUG(dbgs() << "\t    " << K << '\t');
 2559       LLVM_DEBUG(dbgs() << "-inf\t");
 2563       LLVM_DEBUG(dbgs() << "+inf\n");
 2619     LLVM_DEBUG(dbgs() << "\t[");
 2626           LLVM_DEBUG(dbgs() << " <");
 2629           LLVM_DEBUG(dbgs() << " =");
 2632           LLVM_DEBUG(dbgs() << " >");
 2635           LLVM_DEBUG(dbgs() << " *");
 2643     LLVM_DEBUG(dbgs() << " ]\n");
 2654       LLVM_DEBUG(dbgs() << "\tBound for level = " << Level << '\n');
 2655       LLVM_DEBUG(dbgs() << "\t    <\t");
 2660         LLVM_DEBUG(dbgs() << "-inf\t");
 2665         LLVM_DEBUG(dbgs() << "+inf\n");
 2666       LLVM_DEBUG(dbgs() << "\t    =\t");
 2671         LLVM_DEBUG(dbgs() << "-inf\t");
 2676         LLVM_DEBUG(dbgs() << "+inf\n");
 2677       LLVM_DEBUG(dbgs() << "\t    >\t");
 2682         LLVM_DEBUG(dbgs() << "-inf\t");
 2687         LLVM_DEBUG(dbgs() << "+inf\n");
 2934   LLVM_DEBUG(dbgs() << "\tCoefficient Info\n");
 2936     LLVM_DEBUG(dbgs() << "\t    " << K << "\t" << *CI[K].Coeff);
 2936     LLVM_DEBUG(dbgs() << "\t    " << K << "\t" << *CI[K].Coeff);
 2937     LLVM_DEBUG(dbgs() << "\tPos Part = ");
 2939     LLVM_DEBUG(dbgs() << "\tNeg Part = ");
 2941     LLVM_DEBUG(dbgs() << "\tUpper Bound = ");
 2945       LLVM_DEBUG(dbgs() << "+inf");
 2948   LLVM_DEBUG(dbgs() << "\t    Constant = " << *Subscript << '\n');
 3073     LLVM_DEBUG(dbgs() << "\t    Constraint[" << LI << "] is");
 3073     LLVM_DEBUG(dbgs() << "\t    Constraint[" << LI << "] is");
 3095   LLVM_DEBUG(dbgs() << "\t\tSrc is " << *Src << "\n");
 3095   LLVM_DEBUG(dbgs() << "\t\tSrc is " << *Src << "\n");
 3102   LLVM_DEBUG(dbgs() << "\t\tnew Src is " << *Src << "\n");
 3102   LLVM_DEBUG(dbgs() << "\t\tnew Src is " << *Src << "\n");
 3103   LLVM_DEBUG(dbgs() << "\t\tDst is " << *Dst << "\n");
 3103   LLVM_DEBUG(dbgs() << "\t\tDst is " << *Dst << "\n");
 3105   LLVM_DEBUG(dbgs() << "\t\tnew Dst is " << *Dst << "\n");
 3105   LLVM_DEBUG(dbgs() << "\t\tnew Dst is " << *Dst << "\n");
 3124   LLVM_DEBUG(dbgs() << "\t\tA = " << *A << ", B = " << *B << ", C = " << *C
 3124   LLVM_DEBUG(dbgs() << "\t\tA = " << *A << ", B = " << *B << ", C = " << *C
 3124   LLVM_DEBUG(dbgs() << "\t\tA = " << *A << ", B = " << *B << ", C = " << *C
 3125                     << "\n");
 3126   LLVM_DEBUG(dbgs() << "\t\tSrc = " << *Src << "\n");
 3126   LLVM_DEBUG(dbgs() << "\t\tSrc = " << *Src << "\n");
 3127   LLVM_DEBUG(dbgs() << "\t\tDst = " << *Dst << "\n");
 3127   LLVM_DEBUG(dbgs() << "\t\tDst = " << *Dst << "\n");
 3183   LLVM_DEBUG(dbgs() << "\t\tnew Src = " << *Src << "\n");
 3183   LLVM_DEBUG(dbgs() << "\t\tnew Src = " << *Src << "\n");
 3184   LLVM_DEBUG(dbgs() << "\t\tnew Dst = " << *Dst << "\n");
 3184   LLVM_DEBUG(dbgs() << "\t\tnew Dst = " << *Dst << "\n");
 3199   LLVM_DEBUG(dbgs() << "\t\tSrc is " << *Src << "\n");
 3199   LLVM_DEBUG(dbgs() << "\t\tSrc is " << *Src << "\n");
 3202   LLVM_DEBUG(dbgs() << "\t\tnew Src is " << *Src << "\n");
 3202   LLVM_DEBUG(dbgs() << "\t\tnew Src is " << *Src << "\n");
 3203   LLVM_DEBUG(dbgs() << "\t\tDst is " << *Dst << "\n");
 3203   LLVM_DEBUG(dbgs() << "\t\tDst is " << *Dst << "\n");
 3205   LLVM_DEBUG(dbgs() << "\t\tnew Dst is " << *Dst << "\n");
 3205   LLVM_DEBUG(dbgs() << "\t\tnew Dst is " << *Dst << "\n");
 3213   LLVM_DEBUG(dbgs() << "\tUpdate direction, constraint =");
 3343     dbgs() << "\nSrcSubscripts: ";
 3346     dbgs() << "\nDstSubscripts: ";
 3370   dbgs() << "{";
 3376   dbgs() << "}\n";
 3417     LLVM_DEBUG(dbgs() << "can only handle simple loads and stores\n");
 3432     LLVM_DEBUG(dbgs() << "can't analyze may or partial alias\n");
 3436     LLVM_DEBUG(dbgs() << "no alias\n");
 3444   LLVM_DEBUG(dbgs() << "    common nesting levels = " << CommonLevels << "\n");
 3444   LLVM_DEBUG(dbgs() << "    common nesting levels = " << CommonLevels << "\n");
 3445   LLVM_DEBUG(dbgs() << "    maximum nesting levels = " << MaxLevels << "\n");
 3445   LLVM_DEBUG(dbgs() << "    maximum nesting levels = " << MaxLevels << "\n");
 3454   LLVM_DEBUG(dbgs() << "    SrcSCEV = " << *SrcSCEV << "\n");
 3454   LLVM_DEBUG(dbgs() << "    SrcSCEV = " << *SrcSCEV << "\n");
 3455   LLVM_DEBUG(dbgs() << "    DstSCEV = " << *DstSCEV << "\n");
 3455   LLVM_DEBUG(dbgs() << "    DstSCEV = " << *DstSCEV << "\n");
 3461       LLVM_DEBUG(dbgs() << "    delinearized\n");
 3477     LLVM_DEBUG(dbgs() << "    subscript " << P << "\n");
 3477     LLVM_DEBUG(dbgs() << "    subscript " << P << "\n");
 3478     LLVM_DEBUG(dbgs() << "\tsrc = " << *Pair[P].Src << "\n");
 3478     LLVM_DEBUG(dbgs() << "\tsrc = " << *Pair[P].Src << "\n");
 3479     LLVM_DEBUG(dbgs() << "\tdst = " << *Pair[P].Dst << "\n");
 3479     LLVM_DEBUG(dbgs() << "\tdst = " << *Pair[P].Dst << "\n");
 3480     LLVM_DEBUG(dbgs() << "\tclass = " << Pair[P].Classification << "\n");
 3480     LLVM_DEBUG(dbgs() << "\tclass = " << Pair[P].Classification << "\n");
 3481     LLVM_DEBUG(dbgs() << "\tloops = ");
 3587   LLVM_DEBUG(dbgs() << "    Separable = ");
 3589   LLVM_DEBUG(dbgs() << "    Coupled = ");
 3597     LLVM_DEBUG(dbgs() << "testing subscript " << SI);
 3600       LLVM_DEBUG(dbgs() << ", ZIV\n");
 3605       LLVM_DEBUG(dbgs() << ", SIV\n");
 3614       LLVM_DEBUG(dbgs() << ", RDIV\n");
 3619       LLVM_DEBUG(dbgs() << ", MIV\n");
 3630     LLVM_DEBUG(dbgs() << "starting on coupled subscripts\n");
 3631     LLVM_DEBUG(dbgs() << "MaxLevels + 1 = " << MaxLevels + 1 << "\n");
 3631     LLVM_DEBUG(dbgs() << "MaxLevels + 1 = " << MaxLevels + 1 << "\n");
 3636       LLVM_DEBUG(dbgs() << "testing subscript group " << SI << " { ");
 3636       LLVM_DEBUG(dbgs() << "testing subscript group " << SI << " { ");
 3643         LLVM_DEBUG(dbgs() << SJ << " ");
 3651       LLVM_DEBUG(dbgs() << "}\n");
 3655           LLVM_DEBUG(dbgs() << "testing subscript " << SJ << ", SIV\n");
 3655           LLVM_DEBUG(dbgs() << "testing subscript " << SJ << ", SIV\n");
 3659           LLVM_DEBUG(dbgs() << "SIV\n");
 3675           LLVM_DEBUG(dbgs() << "    propagating\n");
 3676           LLVM_DEBUG(dbgs() << "\tMivs = ");
 3680             LLVM_DEBUG(dbgs() << "\tSJ = " << SJ << "\n");
 3680             LLVM_DEBUG(dbgs() << "\tSJ = " << SJ << "\n");
 3683               LLVM_DEBUG(dbgs() << "\t    Changed\n");
 3691                 LLVM_DEBUG(dbgs() << "ZIV\n");
 3714           LLVM_DEBUG(dbgs() << "RDIV test\n");
 3727           LLVM_DEBUG(dbgs() << "MIV test\n");
 3736       LLVM_DEBUG(dbgs() << "    updating\n");
 3862       LLVM_DEBUG(dbgs() << "    delinearized\n");
lib/Analysis/DependenceGraphBuilder.cpp
  103               << "skipped def-use edge since the sink" << *UI
  104               << " is outside the range of instructions being considered.\n");
  112                      << "skipped def-use edge since the sink and the source ("
  113                      << N << ") are the same.\n");
lib/Analysis/DivergenceAnalysis.cpp
  279   LLVM_DEBUG(dbgs() << "\tpropJoinDiv " << JoinBlock.getName() << "\n");
  279   LLVM_DEBUG(dbgs() << "\tpropJoinDiv " << JoinBlock.getName() << "\n");
  300   LLVM_DEBUG(dbgs() << "propBranchDiv " << Term.getParent()->getName() << "\n");
  300   LLVM_DEBUG(dbgs() << "propBranchDiv " << Term.getParent()->getName() << "\n");
  326   LLVM_DEBUG(dbgs() << "propLoopDiv " << ExitingLoop.getName() << "\n");
  326   LLVM_DEBUG(dbgs() << "propLoopDiv " << ExitingLoop.getName() << "\n");
  427       OS << "DIVERGENT:" << I << '\n';
  463   OS << "Divergence of kernel " << DA.getFunction().getName() << " {\n";
  463   OS << "Divergence of kernel " << DA.getFunction().getName() << " {\n";
  465   OS << "}\n";
lib/Analysis/DomTreeUpdater.cpp
  435   OS << "Available Trees: ";
  438       OS << "DomTree ";
  440       OS << "PostDomTree ";
  441     OS << "\n";
  443     OS << "None\n";
  445   OS << "UpdateStrategy: ";
  447     OS << "Eager\n";
  450     OS << "Lazy\n";
  457           OS << "  None\n";
  461           OS << "  " << Index << " : ";
  461           OS << "  " << Index << " : ";
  464             OS << "Insert, ";
  466             OS << "Delete, ";
  472             OS << S << "(" << From << "), ";
  472             OS << S << "(" << From << "), ";
  474             OS << "(badref), ";
  481             OS << S << "(" << To << ")\n";
  481             OS << S << "(" << To << ")\n";
  483             OS << "(badref)\n";
  492     OS << "Applied but not cleared DomTreeUpdates:\n";
  494     OS << "Pending DomTreeUpdates:\n";
  502     OS << "Applied but not cleared PostDomTreeUpdates:\n";
  504     OS << "Pending PostDomTreeUpdates:\n";
  508   OS << "Pending DeletedBBs:\n";
  511     OS << "  " << Index << " : ";
  511     OS << "  " << Index << " : ";
  514       OS << BB->getName() << "(";
  516       OS << "(no_name)(";
  517     OS << BB << ")\n";
  520   OS << "Pending Callbacks:\n";
  523     OS << "  " << Index << " : ";
  523     OS << "  " << Index << " : ";
  526       OS << BB->getName() << "(";
  528       OS << "(no_name)(";
  529     OS << BB << ")\n";
lib/Analysis/DominanceFrontier.cpp
   92   OS << "DominanceFrontier for function: " << F.getName() << "\n";
   92   OS << "DominanceFrontier for function: " << F.getName() << "\n";
lib/Analysis/EHPersonalities.cpp
   92   DEBUG_WITH_TYPE("winehprepare-coloring", dbgs() << "\nColoring funclets for "
   93                                                   << F.getName() << "\n");
  102                     dbgs() << "Visiting " << Visiting->getName() << ", "
  102                     dbgs() << "Visiting " << Visiting->getName() << ", "
  103                            << Color->getName() << "\n");
  117                     dbgs() << "  Assigned color \'" << Color->getName()
  118                            << "\' to block \'" << Visiting->getName()
  119                            << "\'.\n");
lib/Analysis/IVDescriptors.cpp
  623     LLVM_DEBUG(dbgs() << "Found an ADD reduction PHI." << *Phi << "\n");
  623     LLVM_DEBUG(dbgs() << "Found an ADD reduction PHI." << *Phi << "\n");
  628     LLVM_DEBUG(dbgs() << "Found a MUL reduction PHI." << *Phi << "\n");
  628     LLVM_DEBUG(dbgs() << "Found a MUL reduction PHI." << *Phi << "\n");
  633     LLVM_DEBUG(dbgs() << "Found an OR reduction PHI." << *Phi << "\n");
  633     LLVM_DEBUG(dbgs() << "Found an OR reduction PHI." << *Phi << "\n");
  638     LLVM_DEBUG(dbgs() << "Found an AND reduction PHI." << *Phi << "\n");
  638     LLVM_DEBUG(dbgs() << "Found an AND reduction PHI." << *Phi << "\n");
  643     LLVM_DEBUG(dbgs() << "Found a XOR reduction PHI." << *Phi << "\n");
  643     LLVM_DEBUG(dbgs() << "Found a XOR reduction PHI." << *Phi << "\n");
  648     LLVM_DEBUG(dbgs() << "Found a MINMAX reduction PHI." << *Phi << "\n");
  648     LLVM_DEBUG(dbgs() << "Found a MINMAX reduction PHI." << *Phi << "\n");
  653     LLVM_DEBUG(dbgs() << "Found an FMult reduction PHI." << *Phi << "\n");
  653     LLVM_DEBUG(dbgs() << "Found an FMult reduction PHI." << *Phi << "\n");
  658     LLVM_DEBUG(dbgs() << "Found an FAdd reduction PHI." << *Phi << "\n");
  658     LLVM_DEBUG(dbgs() << "Found an FAdd reduction PHI." << *Phi << "\n");
  663     LLVM_DEBUG(dbgs() << "Found an float MINMAX reduction PHI." << *Phi
  664                       << "\n");
 1009     LLVM_DEBUG(dbgs() << "LV: PHI is not a poly recurrence.\n");
 1043     LLVM_DEBUG(dbgs() << "LV: PHI is not a poly recurrence.\n");
 1051         dbgs() << "LV: PHI is a recurrence with respect to an outer loop.\n");
lib/Analysis/IVUsers.cpp
  237         LLVM_DEBUG(dbgs() << "FOUND USER in other loop: " << *User << '\n'
  238                           << "   OF SCEV: " << *ISE << '\n');
  242       LLVM_DEBUG(dbgs() << "FOUND USER: " << *User << '\n'
  243                         << "   OF SCEV: " << *ISE << '\n');
  277                      << "   DISCARDING (NORMALIZATION ISN'T INVERTIBLE): "
  284                  << "   NORMALIZED TO: " << *ISE << '\n');
  319   OS << "IV Users for loop ";
  322     OS << " with backedge-taken count " << *SE->getBackedgeTakenCount(L);
  324   OS << ":\n";
  327     OS << "  ";
  329     OS << " = " << *getReplacementExpr(IVUse);
  331       OS << " (post-inc with loop ";
  333       OS << ")";
  335     OS << " in  ";
  339       OS << "Printing <null> User";
lib/Analysis/IndirectCallPromotionAnalysis.cpp
   73   LLVM_DEBUG(dbgs() << " \nWork on callsite " << *Inst
   74                     << " Num_targets: " << NumVals << "\n");
   74                     << " Num_targets: " << NumVals << "\n");
   81     LLVM_DEBUG(dbgs() << " Candidate " << I << " Count=" << Count
   81     LLVM_DEBUG(dbgs() << " Candidate " << I << " Count=" << Count
   82                       << "  Target_func: " << ValueDataRef[I].Value << "\n");
   82                       << "  Target_func: " << ValueDataRef[I].Value << "\n");
   85       LLVM_DEBUG(dbgs() << " Not promote: Cold target.\n");
lib/Analysis/InlineCost.cpp
  931       LLVM_DEBUG(dbgs() << "Hot callsite.\n");
  938       LLVM_DEBUG(dbgs() << "Cold callsite.\n");
  949         LLVM_DEBUG(dbgs() << "Hot callee.\n");
  955         LLVM_DEBUG(dbgs() << "Cold callee.\n");
 1944   DEBUG_PRINT_STAT(NumConstantArgs);
 1945   DEBUG_PRINT_STAT(NumConstantOffsetPtrArgs);
 1946   DEBUG_PRINT_STAT(NumAllocaArgs);
 1947   DEBUG_PRINT_STAT(NumConstantPtrCmps);
 1948   DEBUG_PRINT_STAT(NumConstantPtrDiffs);
 1949   DEBUG_PRINT_STAT(NumInstructionsSimplified);
 1950   DEBUG_PRINT_STAT(NumInstructions);
 1951   DEBUG_PRINT_STAT(SROACostSavings);
 1952   DEBUG_PRINT_STAT(SROACostSavingsLost);
 1953   DEBUG_PRINT_STAT(LoadEliminationCost);
 1954   DEBUG_PRINT_STAT(ContainsNoDuplicateCall);
 1955   DEBUG_PRINT_STAT(Cost);
 1956   DEBUG_PRINT_STAT(Threshold);
 2073   LLVM_DEBUG(llvm::dbgs() << "      Analyzing call of " << Callee->getName()
 2074                           << "... (caller:" << Caller->getName() << ")\n");
 2074                           << "... (caller:" << Caller->getName() << ")\n");
lib/Analysis/InstCount.cpp
   47       errs() << "Instruction Count does not know about " << I;
lib/Analysis/Interval.cpp
   37   OS << "-------------------------------------------------------------\n"
   38        << "Interval Contents:\n";
   42     OS << *Node << "\n";
   44   OS << "Interval Predecessors:\n";
   46     OS << *Predecessor << "\n";
   48   OS << "Interval Successors:\n";
   50     OS << *Successor << "\n";
lib/Analysis/LazyCallGraph.cpp
   68   LLVM_DEBUG(dbgs() << "    Added callable function: " << N.getName() << "\n");
   68   LLVM_DEBUG(dbgs() << "    Added callable function: " << N.getName() << "\n");
   75   LLVM_DEBUG(dbgs() << "  Adding functions called by '" << getName()
   76                     << "' to the graph.\n");
  155   LLVM_DEBUG(dbgs() << "Building CG for module: " << M.getModuleIdentifier()
  156                     << "\n");
  171     LLVM_DEBUG(dbgs() << "  Adding '" << F.getName()
  172                       << "' to entry set of the graph.\n");
  182       LLVM_DEBUG(dbgs() << "  Adding '" << F->getName()
  183                         << "' with alias '" << A.getName()
  184                         << "' to entry set of the graph.\n");
  198       dbgs() << "  Adding functions referenced by global initializers to the "
 1746   OS << "  Edges in function: " << N.getFunction().getName() << "\n";
 1746   OS << "  Edges in function: " << N.getFunction().getName() << "\n";
 1748     OS << "    " << (E.isCall() ? "call" : "ref ") << " -> "
 1748     OS << "    " << (E.isCall() ? "call" : "ref ") << " -> "
 1748     OS << "    " << (E.isCall() ? "call" : "ref ") << " -> "
 1749        << E.getFunction().getName() << "\n";
 1751   OS << "\n";
 1755   OS << "    SCC with " << C.size() << " functions:\n";
 1755   OS << "    SCC with " << C.size() << " functions:\n";
 1758     OS << "      " << N.getFunction().getName() << "\n";
 1758     OS << "      " << N.getFunction().getName() << "\n";
 1762   OS << "  RefSCC with " << C.size() << " call SCCs:\n";
 1762   OS << "  RefSCC with " << C.size() << " call SCCs:\n";
 1767   OS << "\n";
 1774   OS << "Printing the call graph for module: " << M.getModuleIdentifier()
 1775      << "\n\n";
 1794     OS << "  " << Name << " -> \""
 1794     OS << "  " << Name << " -> \""
 1795        << DOT::EscapeString(E.getFunction().getName()) << "\"";
 1797       OS << " [style=dashed,label=\"ref\"]";
 1798     OS << ";\n";
 1801   OS << "\n";
 1808   OS << "digraph \"" << DOT::EscapeString(M.getModuleIdentifier()) << "\" {\n";
 1808   OS << "digraph \"" << DOT::EscapeString(M.getModuleIdentifier()) << "\" {\n";
 1813   OS << "}\n";
lib/Analysis/LazyValueInfo.cpp
  395       LLVM_DEBUG(dbgs() << "PUSH: " << *BV.second << " in "
  395       LLVM_DEBUG(dbgs() << "PUSH: " << *BV.second << " in "
  396                         << BV.first->getName() << "\n");
  526           dbgs() << "Giving up on stack because we are getting too deep\n");
  548           dbgs() << "POP " << *e.second << " in " << e.first->getName() << " = "
  548           dbgs() << "POP " << *e.second << " in " << e.first->getName() << " = "
  548           dbgs() << "POP " << *e.second << " in " << e.first->getName() << " = "
  549                  << TheCache.getCachedValueInfo(e.second, e.first) << "\n");
  600     LLVM_DEBUG(dbgs() << "  reuse BB '" << BB->getName() << "' val="
  600     LLVM_DEBUG(dbgs() << "  reuse BB '" << BB->getName() << "' val="
  661   LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
  662                     << "' - unknown inst def found.\n");
  759       LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
  760                         << "' - overdefined because of pred (non local).\n");
  803       LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
  804                         << "' - overdefined because of pred (local).\n");
 1036     LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
 1037                       << "' - overdefined (unknown cast).\n");
 1089     LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
 1090                       << "' - overdefined (unknown binary operator).\n");
 1157   LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
 1158                     << "' - overdefined (unknown intrinsic).\n");
 1184   LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
 1185                     << "' - overdefined (unknown extractvalue).\n");
 1553   LLVM_DEBUG(dbgs() << "LVI Getting block end value " << *V << " at '"
 1553   LLVM_DEBUG(dbgs() << "LVI Getting block end value " << *V << " at '"
 1554                     << BB->getName() << "'\n");
 1564   LLVM_DEBUG(dbgs() << "  Result = " << Result << "\n");
 1564   LLVM_DEBUG(dbgs() << "  Result = " << Result << "\n");
 1569   LLVM_DEBUG(dbgs() << "LVI Getting value " << *V << " at '" << CxtI->getName()
 1569   LLVM_DEBUG(dbgs() << "LVI Getting value " << *V << " at '" << CxtI->getName()
 1570                     << "'\n");
 1580   LLVM_DEBUG(dbgs() << "  Result = " << Result << "\n");
 1580   LLVM_DEBUG(dbgs() << "  Result = " << Result << "\n");
 1587   LLVM_DEBUG(dbgs() << "LVI Getting edge value " << *V << " from '"
 1587   LLVM_DEBUG(dbgs() << "LVI Getting edge value " << *V << " from '"
 1588                     << FromBB->getName() << "' to '" << ToBB->getName()
 1589                     << "'\n");
 1599   LLVM_DEBUG(dbgs() << "  Result = " << Result << "\n");
 1599   LLVM_DEBUG(dbgs() << "  Result = " << Result << "\n");
 1992     OS << "; LatticeVal for: '" << Arg << "' is: " << Result << "\n";
 1992     OS << "; LatticeVal for: '" << Arg << "' is: " << Result << "\n";
 1992     OS << "; LatticeVal for: '" << Arg << "' is: " << Result << "\n";
 2015       OS << "; LatticeVal for: '" << *I << "' in BB: '";
 2015       OS << "; LatticeVal for: '" << *I << "' in BB: '";
 2017       OS << "' is: " << Result << "\n";
 2017       OS << "' is: " << Result << "\n";
 2053     dbgs() << "LVI for function '" << F.getName() << "':\n";
 2053     dbgs() << "LVI for function '" << F.getName() << "':\n";
lib/Analysis/LegacyDivergenceAnalysis.cpp
  347   LLVM_DEBUG(dbgs() << "\nAfter divergence analysis on " << F.getName()
  348                     << ":\n";
  391     OS << (isDivergent(&Arg) ? "DIVERGENT: " : "           ");
  392     OS << Arg << "\n";
  397     OS << "\n           " << BB.getName() << ":\n";
  397     OS << "\n           " << BB.getName() << ":\n";
  399       OS << (isDivergent(&I) ? "DIVERGENT:     " : "               ");
  400       OS << I << "\n";
  403   OS << "\n";
lib/Analysis/LoopAccessAnalysis.cpp
  167     LLVM_DEBUG(dbgs() << "LAA: Replacing SCEV: " << *OrigSCEV
  168                       << " by: " << *Expr << "\n");
  168                       << " by: " << *Expr << "\n");
  459     OS.indent(Depth) << "Check " << N++ << ":\n";
  459     OS.indent(Depth) << "Check " << N++ << ":\n";
  461     OS.indent(Depth + 2) << "Comparing group (" << Check.first << "):\n";
  461     OS.indent(Depth + 2) << "Comparing group (" << Check.first << "):\n";
  463       OS.indent(Depth + 2) << *Pointers[First[K]].PointerValue << "\n";
  465     OS.indent(Depth + 2) << "Against group (" << Check.second << "):\n";
  465     OS.indent(Depth + 2) << "Against group (" << Check.second << "):\n";
  467       OS.indent(Depth + 2) << *Pointers[Second[K]].PointerValue << "\n";
  473   OS.indent(Depth) << "Run-time memory checks:\n";
  476   OS.indent(Depth) << "Grouped accesses:\n";
  480     OS.indent(Depth + 2) << "Group " << &CG << ":\n";
  480     OS.indent(Depth + 2) << "Group " << &CG << ":\n";
  481     OS.indent(Depth + 4) << "(Low: " << *CG.Low << " High: " << *CG.High
  481     OS.indent(Depth + 4) << "(Low: " << *CG.Low << " High: " << *CG.High
  482                          << ")\n";
  484       OS.indent(Depth + 6) << "Member: " << *Pointers[CG.Members[J]].Expr
  485                            << "\n";
  689   LLVM_DEBUG(dbgs() << "LAA: Found a runtime check ptr:" << *Ptr << '\n');
  734         LLVM_DEBUG(dbgs() << "LAA: Can't find bounds for ptr:" << *Ptr << '\n');
  797             dbgs() << "LAA: Runtime check would require comparison between"
  807   LLVM_DEBUG(dbgs() << "LAA: We need to do " << RtCheck.getNumberOfChecks()
  808                     << " pointer comparisons.\n");
  823   LLVM_DEBUG(dbgs() << "LAA: Processing memory accesses...\n");
  824   LLVM_DEBUG(dbgs() << "  AST: "; AST.dump());
  825   LLVM_DEBUG(dbgs() << "LAA:   Accesses(" << Accesses.size() << "):\n");
  825   LLVM_DEBUG(dbgs() << "LAA:   Accesses(" << Accesses.size() << "):\n");
  828       dbgs() << "\t" << *A.getPointer() << " (" <<
  828       dbgs() << "\t" << *A.getPointer() << " (" <<
  828       dbgs() << "\t" << *A.getPointer() << " (" <<
  830                                          "read-only" : "read")) << ")\n";
  911                      << "Underlying objects for pointer " << *Ptr << "\n");
  911                      << "Underlying objects for pointer " << *Ptr << "\n");
  927             LLVM_DEBUG(dbgs() << "  " << *UnderlyingObj << "\n");
  927             LLVM_DEBUG(dbgs() << "  " << *UnderlyingObj << "\n");
  999     LLVM_DEBUG(dbgs() << "LAA: Bad stride - Not a pointer to a scalar type"
 1000                       << *Ptr << "\n");
 1011     LLVM_DEBUG(dbgs() << "LAA: Bad stride - Not an AddRecExpr pointer " << *Ptr
 1012                       << " SCEV: " << *PtrScev << "\n");
 1012                       << " SCEV: " << *PtrScev << "\n");
 1018     LLVM_DEBUG(dbgs() << "LAA: Bad stride - Not striding over innermost loop "
 1019                       << *Ptr << " SCEV: " << *AR << "\n");
 1019                       << *Ptr << " SCEV: " << *AR << "\n");
 1040       LLVM_DEBUG(dbgs() << "LAA: Pointer may wrap in the address space:\n"
 1041                         << "LAA:   Pointer: " << *Ptr << "\n"
 1041                         << "LAA:   Pointer: " << *Ptr << "\n"
 1042                         << "LAA:   SCEV: " << *AR << "\n"
 1042                         << "LAA:   SCEV: " << *AR << "\n"
 1043                         << "LAA:   Added an overflow assumption\n");
 1046           dbgs() << "LAA: Bad stride - Pointer may wrap in the address space "
 1047                  << *Ptr << " SCEV: " << *AR << "\n");
 1047                  << *Ptr << " SCEV: " << *AR << "\n");
 1058     LLVM_DEBUG(dbgs() << "LAA: Bad stride - Not a constant strided " << *Ptr
 1059                       << " SCEV: " << *AR << "\n");
 1059                       << " SCEV: " << *AR << "\n");
 1087       LLVM_DEBUG(dbgs() << "LAA: Non unit strided pointer which is not either "
 1088                         << "inbounds or in address space 0 may wrap:\n"
 1089                         << "LAA:   Pointer: " << *Ptr << "\n"
 1089                         << "LAA:   Pointer: " << *Ptr << "\n"
 1090                         << "LAA:   SCEV: " << *AR << "\n"
 1090                         << "LAA:   SCEV: " << *AR << "\n"
 1091                         << "LAA:   Added an overflow assumption\n");
 1321         dbgs() << "LAA: Distance " << Distance
 1322                << " that could cause a store-load forwarding conflict\n");
 1479   LLVM_DEBUG(dbgs() << "LAA: Src Scev: " << *Src << "Sink Scev: " << *Sink
 1479   LLVM_DEBUG(dbgs() << "LAA: Src Scev: " << *Src << "Sink Scev: " << *Sink
 1480                     << "(Induction step: " << StrideAPtr << ")\n");
 1480                     << "(Induction step: " << StrideAPtr << ")\n");
 1481   LLVM_DEBUG(dbgs() << "LAA: Distance for " << *InstMap[AIdx] << " to "
 1481   LLVM_DEBUG(dbgs() << "LAA: Distance for " << *InstMap[AIdx] << " to "
 1482                     << *InstMap[BIdx] << ": " << *Dist << "\n");
 1482                     << *InstMap[BIdx] << ": " << *Dist << "\n");
 1488     LLVM_DEBUG(dbgs() << "Pointer access with non-constant stride\n");
 1505     LLVM_DEBUG(dbgs() << "LAA: Dependence because of non-constant distance\n");
 1516     LLVM_DEBUG(dbgs() << "LAA: Strided accesses are independent\n");
 1526       LLVM_DEBUG(dbgs() << "LAA: Forward but may prevent st->ld forwarding\n");
 1530     LLVM_DEBUG(dbgs() << "LAA: Dependence is negative\n");
 1540         dbgs() << "LAA: Zero dependence difference but different types\n");
 1549         << "LAA: ReadWrite-Write positive dependency with different types\n");
 1590     LLVM_DEBUG(dbgs() << "LAA: Failure because of positive distance "
 1597     LLVM_DEBUG(dbgs() << "LAA: Failure because it needs at least "
 1598                       << MinDistanceNeeded << " size in bytes");
 1627   LLVM_DEBUG(dbgs() << "LAA: Positive distance " << Val.getSExtValue()
 1628                     << " with max VF = " << MaxVF << '\n');
 1695                            << "Too many dependences, stopped recording\n");
 1707   LLVM_DEBUG(dbgs() << "Total Dependences: " << Dependences.size() << "\n");
 1707   LLVM_DEBUG(dbgs() << "Total Dependences: " << Dependences.size() << "\n");
 1730   OS.indent(Depth) << DepName[Type] << ":\n";
 1730   OS.indent(Depth) << DepName[Type] << ":\n";
 1731   OS.indent(Depth + 2) << *Instrs[Source] << " -> \n";
 1732   OS.indent(Depth + 2) << *Instrs[Destination] << "\n";
 1737   LLVM_DEBUG(dbgs() << "LAA: Found a loop in "
 1738                     << TheLoop->getHeader()->getParent()->getName() << ": "
 1743     LLVM_DEBUG(dbgs() << "LAA: loop is not the innermost loop\n");
 1751         dbgs() << "LAA: loop control flow is not understood by analyzer\n");
 1760         dbgs() << "LAA: loop control flow is not understood by analyzer\n");
 1771         dbgs() << "LAA: loop control flow is not understood by analyzer\n");
 1782     LLVM_DEBUG(dbgs() << "LAA: SCEV could not compute the loop exit count.\n");
 1860           LLVM_DEBUG(dbgs() << "LAA: Found a non-simple load.\n");
 1884           LLVM_DEBUG(dbgs() << "LAA: Found a non-simple store.\n");
 1908     LLVM_DEBUG(dbgs() << "LAA: Found a read-only loop!\n");
 1953         dbgs() << "LAA: A loop annotated parallel, ignore memory dependency "
 1954                << "checks.\n");
 1979       LLVM_DEBUG(dbgs() << "LAA: Found an unsafe dependency between a uniform "
 1997     LLVM_DEBUG(dbgs() << "LAA: Found a write-only loop!\n");
 2012     LLVM_DEBUG(dbgs() << "LAA: We can't vectorize because we can't find "
 2013                       << "the array bounds.\n");
 2019     dbgs() << "LAA: May be able to perform a memory runtime check if needed.\n");
 2023     LLVM_DEBUG(dbgs() << "LAA: Checking memory dependencies\n");
 2029       LLVM_DEBUG(dbgs() << "LAA: Retrying with memory checks\n");
 2045         LLVM_DEBUG(dbgs() << "LAA: Can't vectorize with memory checks\n");
 2057     LLVM_DEBUG(dbgs() << "LAA: We can't vectorize because a runtime check "
 2065         dbgs() << "LAA: No unsafe dependent memory operations in loop.  We"
 2066                << (PtrRtChecking->Need ? "" : " don't")
 2067                << " need runtime memory checks.\n");
 2074     LLVM_DEBUG(dbgs() << "LAA: unsafe dependent memory operations in loop\n");
 2158     LLVM_DEBUG(dbgs() << "LAA: Adding RT check for a loop invariant ptr:"
 2159                       << *Ptr << "\n");
 2172     LLVM_DEBUG(dbgs() << "LAA: Adding RT check for range:\n");
 2175     LLVM_DEBUG(dbgs() << "Start: " << *CG->Low << " End: " << *CG->High
 2175     LLVM_DEBUG(dbgs() << "Start: " << *CG->Low << " End: " << *CG->High
 2176                       << "\n");
 2294   LLVM_DEBUG(dbgs() << "LAA: Found a strided access that is a candidate for "
 2296   LLVM_DEBUG(dbgs() << "  Ptr: " << *Ptr << " Stride: " << *Stride << "\n");
 2296   LLVM_DEBUG(dbgs() << "  Ptr: " << *Ptr << " Stride: " << *Stride << "\n");
 2296   LLVM_DEBUG(dbgs() << "  Ptr: " << *Ptr << " Stride: " << *Stride << "\n");
 2333         dbgs() << "LAA: Stride>=TripCount; No point in versioning as the "
 2338   LLVM_DEBUG(dbgs() << "LAA: Found a strided access that we can version.");
 2359     OS.indent(Depth) << "Memory dependences are safe";
 2361       OS << " with a maximum dependence distance of " << MaxSafeDepDistBytes
 2362          << " bytes";
 2364       OS << " with run-time checks";
 2365     OS << "\n";
 2369     OS.indent(Depth) << "Has convergent operation in loop\n";
 2372     OS.indent(Depth) << "Report: " << Report->getMsg() << "\n";
 2372     OS.indent(Depth) << "Report: " << Report->getMsg() << "\n";
 2375     OS.indent(Depth) << "Dependences:\n";
 2378       OS << "\n";
 2381     OS.indent(Depth) << "Too many dependences, not recorded\n";
 2385   OS << "\n";
 2387   OS.indent(Depth) << "Non vectorizable stores to invariant address were "
 2388                    << (HasDependenceInvolvingLoopInvariantAddress ? "" : "not ")
 2389                    << "found in loop.\n";
 2391   OS.indent(Depth) << "SCEV assumptions:\n";
 2394   OS << "\n";
 2396   OS.indent(Depth) << "Expressions re-written:\n";
 2414       OS.indent(2) << L->getHeader()->getName() << ":\n";
lib/Analysis/LoopCacheAnalysis.cpp
  113     OS << ", IsValid=false.";
  119     OS << "[" << *Subscript << "]";
  119     OS << "[" << *Subscript << "]";
  121   OS << ", Sizes: ";
  123     OS << "[" << *Size << "]";
  123     OS << "[" << *Size << "]";
  136     LLVM_DEBUG(dbgs().indent(2) << "Succesfully delinearized: " << *this
  137                                 << "\n");
  147                << "No spacial reuse: different base pointers\n");
  154                << "No spacial reuse: different number of subscripts\n");
  161       LLVM_DEBUG(dbgs().indent(2) << "No spacial reuse, different subscripts: "
  162                                   << "\n\t" << *getSubscript(SubNum) << "\n\t"
  162                                   << "\n\t" << *getSubscript(SubNum) << "\n\t"
  163                                   << *Other.getSubscript(SubNum) << "\n");
  177                << "No spacial reuse, difference between subscript:\n\t"
  178                << *LastSubscript << "\n\t" << OtherLastSubscript
  179                << "\nis not constant.\n");
  187       dbgs().indent(2) << "Found spacial reuse.\n";
  189       dbgs().indent(2) << "No spacial reuse.\n";
  204                << "No temporal reuse: different base pointer\n");
  212     LLVM_DEBUG(dbgs().indent(2) << "No temporal reuse: no dependence\n");
  217     LLVM_DEBUG(dbgs().indent(2) << "Found temporal reuse\n");
  231       LLVM_DEBUG(dbgs().indent(2) << "No temporal reuse: distance unknown\n");
  238                  << "No temporal reuse: distance is not zero at depth=" << Level
  239                  << "\n");
  244           << "No temporal reuse: distance is greater than MaxDistance at depth="
  245           << Level << "\n");
  250   LLVM_DEBUG(dbgs().indent(2) << "Found temporal reuse\n");
  258     dbgs().indent(2) << "Computing cache cost for:\n";
  259     dbgs().indent(4) << *this << "\n";
  264     LLVM_DEBUG(dbgs().indent(4) << "Reference is loop invariant: RefCost=1\n");
  270     LLVM_DEBUG(dbgs() << "Trip count of loop " << L.getName()
  271                       << " could not be computed, using DefaultTripCount\n");
  275   LLVM_DEBUG(dbgs() << "TripCount=" << *TripCount << "\n");
  275   LLVM_DEBUG(dbgs() << "TripCount=" << *TripCount << "\n");
  289                << "Access is consecutive: RefCost=(TripCount*Stride)/CLS="
  290                << *RefCost << "\n");
  293                << "Access is not consecutive: RefCost=TripCount=" << *RefCost
  294                << "\n");
  301              << "RefCost is not a constant! Setting to RefCost=InvalidCost "
  311   LLVM_DEBUG(dbgs() << "Delinearizing: " << StoreOrLoadInst << "\n");
  311   LLVM_DEBUG(dbgs() << "Delinearizing: " << StoreOrLoadInst << "\n");
  324           << "ERROR: failed to delinearize, can't identify base pointer\n");
  330     LLVM_DEBUG(dbgs().indent(2) << "In Loop '" << L->getName()
  331                                 << "', AccessFn: " << *AccessFn << "\n");
  331                                 << "', AccessFn: " << *AccessFn << "\n");
  342                    << "ERROR: failed to delinearize reference\n");
  446     OS << "Loop '" << L->getName() << "' has cost = " << LC.second << "\n";
  446     OS << "Loop '" << L->getName() << "' has cost = " << LC.second << "\n";
  446     OS << "Loop '" << L->getName() << "' has cost = " << LC.second << "\n";
  473     LLVM_DEBUG(dbgs() << "Expecting the outermost loop in a loop nest\n");
  482     LLVM_DEBUG(dbgs() << "Cannot compute cache cost of loop nest with more "
  491   LLVM_DEBUG(dbgs() << "POPULATING REFERENCE GROUPS\n");
  496   LLVM_DEBUG(dbgs() << "COMPUTING LOOP CACHE COSTS\n");
  531           dbgs() << "References:\n";
  532           dbgs().indent(2) << *R << "\n";
  533           dbgs().indent(2) << Representative << "\n";
  561     dbgs() << "\nIDENTIFIED REFERENCE GROUPS:\n";
  564       dbgs().indent(2) << "RefGroup " << n << ":\n";
  564       dbgs().indent(2) << "RefGroup " << n << ":\n";
  566         dbgs().indent(4) << *IR << "\n";
  569     dbgs() << "\n";
  581   LLVM_DEBUG(dbgs() << "Considering loop '" << L.getName()
  582                     << "' as innermost loop.\n");
  598   LLVM_DEBUG(dbgs().indent(2) << "Loop '" << L.getName()
  599                               << "' has cost=" << LoopCost << "\n");
  599                               << "' has cost=" << LoopCost << "\n");
lib/Analysis/LoopInfo.cpp
  940     OS << Banner << " (loop: ";
  942     OS << ")\n";
  953     OS << "\n; Preheader:";
  955     OS << "\n; Loop:";
  962       OS << "Printing <null> block";
  967     OS << "\n; Exit blocks";
  972         OS << "Printing <null> block";
lib/Analysis/LoopPass.cpp
  315   errs().indent(Offset*2) << "Loop Pass Manager\n";
  404     LLVM_DEBUG(dbgs() << "Skipping pass '" << getPassName() << "' in function "
  404     LLVM_DEBUG(dbgs() << "Skipping pass '" << getPassName() << "' in function "
  405                       << F->getName() << "\n");
lib/Analysis/MemDepPrinter.cpp
  148       OS << "    ";
  149       OS << DepTypeStr[type];
  151         OS << " in block ";
  155         OS << " from: ";
  158       OS << "\n";
  162     OS << "\n\n";
lib/Analysis/MemDerefPrinter.cpp
   67   OS << "The following are dereferenceable:\n";
   71       OS << "\t(aligned)";
   73       OS << "\t(unaligned)";
   74     OS << "\n\n";
lib/Analysis/MemoryBuiltins.cpp
  610   LLVM_DEBUG(dbgs() << "ObjectSizeOffsetVisitor::compute() unhandled value: "
  818   LLVM_DEBUG(dbgs() << "ObjectSizeOffsetVisitor unknown instruction:" << I
  906         dbgs() << "ObjectSizeOffsetEvaluator::compute() unhandled value: " << *V
 1048   LLVM_DEBUG(dbgs() << "ObjectSizeOffsetEvaluator unknown instruction:" << I
lib/Analysis/MemoryLocation.cpp
   21   OS << "LocationSize::";
   23     OS << "unknown";
   25     OS << "mapEmpty";
   27     OS << "mapTombstone";
   29     OS << "precise(" << getValue() << ')';
   31     OS << "upperBound(" << getValue() << ')';
lib/Analysis/MemorySSA.cpp
  109       OS << "; " << *MA << "\n";
  109       OS << "; " << *MA << "\n";
  115       OS << "; " << *MA << "\n";
  115       OS << "; " << *MA << "\n";
 1412       LLVM_DEBUG(dbgs() << "MemorySSA skipping optimization of " << *MU << " ("
 1412       LLVM_DEBUG(dbgs() << "MemorySSA skipping optimization of " << *MU << " ("
 1413                         << *(MU->getMemoryInst()) << ")"
 1414                         << " because there are "
 1416                         << " stores to disambiguate\n");
 2184       OS << LiveOnEntryStr;
 2187   OS << getID() << " = MemoryDef(";
 2189   OS << ")";
 2192     OS << "->";
 2196       OS << " " << *AR;
 2202   OS << getID() << " = MemoryPhi(";
 2220       OS << LiveOnEntryStr;
 2228   OS << "MemoryUse(";
 2232     OS << LiveOnEntryStr;
 2236     OS << " " << *AR;
 2243   dbgs() << "\n";
 2286   OS << "MemorySSA for function: " << F.getName() << "\n";
 2286   OS << "MemorySSA for function: " << F.getName() << "\n";
 2366   LLVM_DEBUG(dbgs() << "Starting Memory SSA clobber for " << *I << " is ");
 2366   LLVM_DEBUG(dbgs() << "Starting Memory SSA clobber for " << *I << " is ");
 2367   LLVM_DEBUG(dbgs() << *StartingUseOrDef << "\n");
 2368   LLVM_DEBUG(dbgs() << "Final Memory SSA clobber for " << *I << " is ");
 2368   LLVM_DEBUG(dbgs() << "Final Memory SSA clobber for " << *I << " is ");
 2369   LLVM_DEBUG(dbgs() << *Clobber << "\n");
 2431   LLVM_DEBUG(dbgs() << "Starting Memory SSA clobber for " << *I << " is ");
 2431   LLVM_DEBUG(dbgs() << "Starting Memory SSA clobber for " << *I << " is ");
 2432   LLVM_DEBUG(dbgs() << *StartingAccess << "\n");
 2433   LLVM_DEBUG(dbgs() << "Optimized Memory SSA clobber for " << *I << " is ");
 2433   LLVM_DEBUG(dbgs() << "Optimized Memory SSA clobber for " << *I << " is ");
 2434   LLVM_DEBUG(dbgs() << *OptimizedAccess << "\n");
 2445   LLVM_DEBUG(dbgs() << "Result Memory SSA clobber [SkipSelf = " << SkipSelf);
 2446   LLVM_DEBUG(dbgs() << "] for " << *I << " is " << *Result << "\n");
 2446   LLVM_DEBUG(dbgs() << "] for " << *I << " is " << *Result << "\n");
 2446   LLVM_DEBUG(dbgs() << "] for " << *I << " is " << *Result << "\n");
lib/Analysis/MemorySSAUpdater.cpp
  938           << "Adding a predecessor to a block with no predecessors. "
lib/Analysis/ModuleDebugInfoPrinter.cpp
   61   O << " from ";
   63     O << Directory << "/";
   66     O << ":" << Line;
   74     O << "Compile unit: ";
   79       O << "unknown-language(" << CU->getSourceLanguage() << ")";
   79       O << "unknown-language(" << CU->getSourceLanguage() << ")";
   85     O << "Subprogram: " << S->getName();
   88       O << " ('" << S->getLinkageName() << "')";
   88       O << " ('" << S->getLinkageName() << "')";
   94     O << "Global variable: " << GV->getName();
   97       O << " ('" << GV->getLinkageName() << "')";
   97       O << " ('" << GV->getLinkageName() << "')";
  102     O << "Type:";
  107       O << " ";
  112         O << "unknown-encoding(" << BT->getEncoding() << ')';
  119         O << "unknown-tag(" << T->getTag() << ")";
  119         O << "unknown-tag(" << T->getTag() << ")";
  123         O << " (identifier: '" << S->getString() << "')";
  123         O << " (identifier: '" << S->getString() << "')";
lib/Analysis/MustExecute.cpp
  359       dbgs() << "-- Explore context of: " << I << "\n";
  359       dbgs() << "-- Explore context of: " << I << "\n";
  361         dbgs() << "  [F: " << CI->getFunction()->getName() << "] " << *CI
  361         dbgs() << "  [F: " << CI->getFunction()->getName() << "] " << *CI
  362                << "\n";
  420       OS << " ; (mustexec in " << NumLoops << " loops: ";
  420       OS << " ; (mustexec in " << NumLoops << " loops: ";
  422       OS << " ; (mustexec in: ";
  427         OS << ", ";
  431     OS << ")";
  451   LLVM_DEBUG(dbgs() << "Find next instruction for " << *PP << "\n");
  451   LLVM_DEBUG(dbgs() << "Find next instruction for " << *PP << "\n");
  455     LLVM_DEBUG(dbgs() << "\tReached terminator in intra-block mode, done\n");
  472     LLVM_DEBUG(dbgs() << "\tIntermediate instruction does transfer control\n");
  481     LLVM_DEBUG(dbgs() << "\tUnhandled terminator\n");
  489         dbgs() << "\tUnconditional terminator, continue with successor\n");
  493   LLVM_DEBUG(dbgs() << "\tNo join point found\n");
lib/Analysis/ObjCARCInstKind.cpp
   33     return OS << "ARCInstKind::Retain";
   35     return OS << "ARCInstKind::RetainRV";
   37     return OS << "ARCInstKind::ClaimRV";
   39     return OS << "ARCInstKind::RetainBlock";
   41     return OS << "ARCInstKind::Release";
   43     return OS << "ARCInstKind::Autorelease";
   45     return OS << "ARCInstKind::AutoreleaseRV";
   47     return OS << "ARCInstKind::AutoreleasepoolPush";
   49     return OS << "ARCInstKind::AutoreleasepoolPop";
   51     return OS << "ARCInstKind::NoopCast";
   53     return OS << "ARCInstKind::FusedRetainAutorelease";
   55     return OS << "ARCInstKind::FusedRetainAutoreleaseRV";
   57     return OS << "ARCInstKind::LoadWeakRetained";
   59     return OS << "ARCInstKind::StoreWeak";
   61     return OS << "ARCInstKind::InitWeak";
   63     return OS << "ARCInstKind::LoadWeak";
   65     return OS << "ARCInstKind::MoveWeak";
   67     return OS << "ARCInstKind::CopyWeak";
   69     return OS << "ARCInstKind::DestroyWeak";
   71     return OS << "ARCInstKind::StoreStrong";
   73     return OS << "ARCInstKind::CallOrUser";
   75     return OS << "ARCInstKind::Call";
   77     return OS << "ARCInstKind::User";
   79     return OS << "ARCInstKind::IntrinsicUser";
   81     return OS << "ARCInstKind::None";
lib/Analysis/PHITransAddr.cpp
   47     dbgs() << "PHITransAddr: null\n";
   50   dbgs() << "PHITransAddr: " << *Addr << "\n";
   50   dbgs() << "PHITransAddr: " << *Addr << "\n";
   52     dbgs() << "  Input #" << i << " is " << *InstInputs[i] << "\n";
   52     dbgs() << "  Input #" << i << " is " << *InstInputs[i] << "\n";
   52     dbgs() << "  Input #" << i << " is " << *InstInputs[i] << "\n";
   74     errs() << "Instruction in PHITransAddr is not phi-translatable:\n";
  100     errs() << "PHITransAddr contains extra instructions:\n";
  102       errs() << "  InstInput #" << i << " is " << *InstInputs[i] << "\n";
  102       errs() << "  InstInput #" << i << " is " << *InstInputs[i] << "\n";
  102       errs() << "  InstInput #" << i << " is " << *InstInputs[i] << "\n";
lib/Analysis/PhiValues.cpp
  154       OS << "PHI ";
  156       OS << " has values:\n";
  160         OS << "  UNKNOWN\n";
  162         OS << "  NONE\n";
  169             OS << *I << "\n";
  171             OS << "  " << *V << "\n";
  171             OS << "  " << *V << "\n";
  183   OS << "PHI Values for function: " << F.getName() << "\n";
  183   OS << "PHI Values for function: " << F.getName() << "\n";
lib/Analysis/PostDominators.cpp
   80   OS << "PostDominatorTree for function: " << F.getName() << "\n";
   80   OS << "PostDominatorTree for function: " << F.getName() << "\n";
lib/Analysis/ProfileSummaryInfo.cpp
  380   OS << "Functions in " << M.getName() << " with hot/cold annotations: \n";
  380   OS << "Functions in " << M.getName() << " with hot/cold annotations: \n";
  384       OS << " :hot entry ";
  386       OS << " :cold entry ";
  387     OS << "\n";
lib/Analysis/RegionInfo.cpp
  204   OS << "Region Tree for function: " << F.getName() << "\n";
  204   OS << "Region Tree for function: " << F.getName() << "\n";
lib/Analysis/RegionPass.cpp
  161   LLVM_DEBUG(dbgs() << "\nRegion tree of function " << F.getName()
  162                     << " after all region Pass:\n";
  163              RI->dump(); dbgs() << "\n";);
  170   errs().indent(Offset*2) << "Region Pass Manager\n";
  201         Out << "Printing <null> Block";
  294       LLVM_DEBUG(dbgs() << "Skipping pass '" << getPassName()
  295                         << "' on function " << F.getName() << "\n");
  295                         << "' on function " << F.getName() << "\n");
lib/Analysis/RegionPrinter.cpp
  104     O.indent(2 * depth) << "subgraph cluster_" << static_cast<const void*>(&R)
  105       << " {\n";
  106     O.indent(2 * (depth + 1)) << "label = \"\";\n";
  109       O.indent(2 * (depth + 1)) << "style = filled;\n";
  110       O.indent(2 * (depth + 1)) << "color = "
  111         << ((R.getDepth() * 2 % 12) + 1) << "\n";
  114       O.indent(2 * (depth + 1)) << "style = solid;\n";
  115       O.indent(2 * (depth + 1)) << "color = "
  116         << ((R.getDepth() * 2 % 12) + 2) << "\n";
  126         O.indent(2 * (depth + 1)) << "Node"
  128           << ";\n";
  130     O.indent(2 * depth) << "}\n";
  136     O << "\tcolorscheme = \"paired12\"\n";
lib/Analysis/ScalarEvolution.cpp
  246     OS << "(trunc " << *Op->getType() << " " << *Op << " to "
  246     OS << "(trunc " << *Op->getType() << " " << *Op << " to "
  246     OS << "(trunc " << *Op->getType() << " " << *Op << " to "
  247        << *Trunc->getType() << ")";
  253     OS << "(zext " << *Op->getType() << " " << *Op << " to "
  253     OS << "(zext " << *Op->getType() << " " << *Op << " to "
  253     OS << "(zext " << *Op->getType() << " " << *Op << " to "
  254        << *ZExt->getType() << ")";
  260     OS << "(sext " << *Op->getType() << " " << *Op << " to "
  260     OS << "(sext " << *Op->getType() << " " << *Op << " to "
  260     OS << "(sext " << *Op->getType() << " " << *Op << " to "
  261        << *SExt->getType() << ")";
  266     OS << "{" << *AR->getOperand(0);
  268       OS << ",+," << *AR->getOperand(i);
  269     OS << "}<";
  271       OS << "nuw><";
  273       OS << "nsw><";
  276       OS << "nw><";
  278     OS << ">";
  301     OS << "(";
  306         OS << OpStr;
  308     OS << ")";
  313         OS << "<nuw>";
  315         OS << "<nsw>";
  321     OS << "(" << *UDiv->getLHS() << " /u " << *UDiv->getRHS() << ")";
  321     OS << "(" << *UDiv->getLHS() << " /u " << *UDiv->getRHS() << ")";
  321     OS << "(" << *UDiv->getLHS() << " /u " << *UDiv->getRHS() << ")";
  328       OS << "sizeof(" << *AllocTy << ")";
  328       OS << "sizeof(" << *AllocTy << ")";
  332       OS << "alignof(" << *AllocTy << ")";
  332       OS << "alignof(" << *AllocTy << ")";
  339       OS << "offsetof(" << *CTy << ", ";
  339       OS << "offsetof(" << *CTy << ", ";
  341       OS << ")";
  350     OS << "***COULDNOTCOMPUTE***";
 4856     LLVM_DEBUG(dbgs() << "P2 is compile-time false\n";);
 4864     LLVM_DEBUG(dbgs() << "P3 is compile-time false\n";);
 4873       LLVM_DEBUG(dbgs() << "Added Predicate: " << *Pred);
 8447   LLVM_DEBUG(dbgs() << __func__ << ": analyzing quadratic addrec: "
 8447   LLVM_DEBUG(dbgs() << __func__ << ": analyzing quadratic addrec: "
 8452     LLVM_DEBUG(dbgs() << __func__ << ": coefficients are not constant\n");
 8452     LLVM_DEBUG(dbgs() << __func__ << ": coefficients are not constant\n");
 8463   LLVM_DEBUG(dbgs() << __func__ << ": addrec coeff bw: "
 8463   LLVM_DEBUG(dbgs() << __func__ << ": addrec coeff bw: "
 8485   LLVM_DEBUG(dbgs() << __func__ << ": equation " << A << "x^2 + " << B
 8485   LLVM_DEBUG(dbgs() << __func__ << ": equation " << A << "x^2 + " << B
 8485   LLVM_DEBUG(dbgs() << __func__ << ": equation " << A << "x^2 + " << B
 8486                     << "x + " << C << ", coeff bw: " << NewWidth
 8486                     << "x + " << C << ", coeff bw: " << NewWidth
 8487                     << ", multiplied by " << T << '\n');
 8550   LLVM_DEBUG(dbgs() << __func__ << ": solving for unsigned overflow\n");
 8550   LLVM_DEBUG(dbgs() << __func__ << ": solving for unsigned overflow\n");
 8578   LLVM_DEBUG(dbgs() << __func__ << ": solving boundary crossing for range "
 8578   LLVM_DEBUG(dbgs() << __func__ << ": solving boundary crossing for range "
 8579                     << Range << ", addrec " << *AddRec << '\n');
 8602     LLVM_DEBUG(dbgs() << "SolveQuadraticAddRecRange: checking boundary "
 8603                       << Bound << " (before multiplying by " << M << ")\n");
 8603                       << Bound << " (before multiplying by " << M << ")\n");
 8608       LLVM_DEBUG(dbgs() << "SolveQuadraticAddRecRange: solving for "
 8612     LLVM_DEBUG(dbgs() << "SolveQuadraticAddRecRange: solving for "
11033     dbgs() << "Strides:\n";
11035       dbgs() << *S << "\n";
11044     dbgs() << "Terms:\n";
11046       dbgs() << *T << "\n";
11159     dbgs() << "Terms:\n";
11161       dbgs() << *T << "\n";
11190     dbgs() << "Terms after sorting:\n";
11192       dbgs() << *T << "\n";
11204     dbgs() << "Sizes:\n";
11206       dbgs() << *S << "\n";
11228       dbgs() << "Res: " << *Res << "\n";
11228       dbgs() << "Res: " << *Res << "\n";
11229       dbgs() << "Sizes[i]: " << *Sizes[i] << "\n";
11229       dbgs() << "Sizes[i]: " << *Sizes[i] << "\n";
11230       dbgs() << "Res divided by Sizes[i]:\n";
11231       dbgs() << "Quotient: " << *Q << "\n";
11231       dbgs() << "Quotient: " << *Q << "\n";
11232       dbgs() << "Remainder: " << *R << "\n";
11232       dbgs() << "Remainder: " << *R << "\n";
11262     dbgs() << "Subscripts:\n";
11264       dbgs() << *S << "\n";
11340     dbgs() << "succeeded to delinearize " << *Expr << "\n";
11340     dbgs() << "succeeded to delinearize " << *Expr << "\n";
11341     dbgs() << "ArrayDecl[UnknownSize]";
11343       dbgs() << "[" << *S << "]";
11343       dbgs() << "[" << *S << "]";
11345     dbgs() << "\nArrayRef";
11347       dbgs() << "[" << *S << "]";
11347       dbgs() << "[" << *S << "]";
11348     dbgs() << "\n";
11487   OS << "Loop ";
11489   OS << ": ";
11494     OS << "<multiple exits> ";
11497     OS << "backedge-taken count is " << *SE->getBackedgeTakenCount(L) << "\n";
11497     OS << "backedge-taken count is " << *SE->getBackedgeTakenCount(L) << "\n";
11499     OS << "Unpredictable backedge-taken count.\n";
11503       OS << "  exit count for " << ExitingBlock->getName() << ": "
11503       OS << "  exit count for " << ExitingBlock->getName() << ": "
11504          << *SE->getExitCount(L, ExitingBlock) << "\n";
11507   OS << "Loop ";
11509   OS << ": ";
11512     OS << "max backedge-taken count is " << *SE->getConstantMaxBackedgeTakenCount(L);
11514       OS << ", actual taken count either this or zero.";
11516     OS << "Unpredictable max backedge-taken count. ";
11519   OS << "\n"
11522   OS << ": ";
11527     OS << "Predicated backedge-taken count is " << *PBT << "\n";
11527     OS << "Predicated backedge-taken count is " << *PBT << "\n";
11528     OS << " Predicates:\n";
11531     OS << "Unpredictable predicated backedge-taken count. ";
11533   OS << "\n";
11536     OS << "Loop ";
11538     OS << ": ";
11539     OS << "Trip multiple is " << SE->getSmallConstantTripMultiple(L) << "\n";
11539     OS << "Trip multiple is " << SE->getSmallConstantTripMultiple(L) << "\n";
11564   OS << "Classifying expressions for: ";
11566   OS << "\n";
11570       OS << "  -->  ";
11574         OS << " U: ";
11576         OS << " S: ";
11584         OS << "  -->  ";
11587           OS << " U: ";
11589           OS << " S: ";
11595         OS << "\t\t" "Exits: ";
11598           OS << "<<Unknown>>";
11606             OS << "\t\t" "LoopDispositions: { ";
11609             OS << ", ";
11613           OS << ": " << loopDispositionToStr(SE.getLoopDisposition(SV, Iter));
11620             OS << "\t\t" "LoopDispositions: { ";
11623             OS << ", ";
11627           OS << ": " << loopDispositionToStr(SE.getLoopDisposition(SV, InnerL));
11630         OS << " }";
11633       OS << "\n";
11636   OS << "Determining loop execution counts for: ";
11638   OS << "\n";
11982       dbgs() << "Trip Count for " << *L << " Changed!\n";
11982       dbgs() << "Trip Count for " << *L << " Changed!\n";
11983       dbgs() << "Old: " << *CurBECount << "\n";
11983       dbgs() << "Old: " << *CurBECount << "\n";
11984       dbgs() << "New: " << *NewBECount << "\n";
11984       dbgs() << "New: " << *NewBECount << "\n";
11985       dbgs() << "Delta: " << *Delta << "\n";
11985       dbgs() << "Delta: " << *Delta << "\n";
12265   OS.indent(Depth) << "Equal predicate: " << *LHS << " == " << *RHS << "\n";
12265   OS.indent(Depth) << "Equal predicate: " << *LHS << " == " << *RHS << "\n";
12265   OS.indent(Depth) << "Equal predicate: " << *LHS << " == " << *RHS << "\n";
12292   OS.indent(Depth) << *getExpr() << " Added Flags: ";
12294     OS << "<nusw>";
12296     OS << "<nssw>";
12297   OS << "\n";
12503       OS.indent(Depth) << "[PSE]" << I << ":\n";
12503       OS.indent(Depth) << "[PSE]" << I << ":\n";
12504       OS.indent(Depth + 2) << *Expr << "\n";
12505       OS.indent(Depth + 2) << "--> " << *II->second.second << "\n";
12505       OS.indent(Depth + 2) << "--> " << *II->second.second << "\n";
lib/Analysis/ScalarEvolutionExpander.cpp
 1991                       << "INDVARS: Eliminated constant iv: " << *Phi << '\n');
 2049                           dbgs() << "INDVARS: Eliminated congruent iv.inc: "
 2069     DEBUG_WITH_TYPE(DebugType, dbgs() << "INDVARS: Eliminated congruent iv: "
lib/Analysis/StackSafetyAnalysis.cpp
   74   return OS << "@" << P.getName() << "(arg" << P.ParamNo << ", " << P.Offset
   74   return OS << "@" << P.getName() << "(arg" << P.ParamNo << ", " << P.Offset
   74   return OS << "@" << P.getName() << "(arg" << P.ParamNo << ", " << P.Offset
   75             << ")";
   95     OS << ", " << Call;
  111   return OS << A.getName() << "[" << A.Size << "]: " << A.Use;
  111   return OS << A.getName() << "[" << A.Size << "]: " << A.Use;
  125   return OS << P.getName() << "[]: " << P.Use;
  174     O << "  @" << getName() << (IsDSOLocal() ? "" : " dso_preemptable")
  174     O << "  @" << getName() << (IsDSOLocal() ? "" : " dso_preemptable")
  175       << (IsInterposable() ? " interposable" : "") << "\n";
  175       << (IsInterposable() ? " interposable" : "") << "\n";
  176     O << "    args uses:\n";
  178       O << "      " << P << "\n";
  178       O << "      " << P << "\n";
  179     O << "    allocas uses:\n";
  181       O << "      " << AS << "\n";
  181       O << "      " << AS << "\n";
  371   LLVM_DEBUG(dbgs() << "[StackSafety] " << F.getName() << "\n");
  371   LLVM_DEBUG(dbgs() << "[StackSafety] " << F.getName() << "\n");
  388   LLVM_DEBUG(dbgs() << "[StackSafety] done\n");
  489     LLVM_DEBUG(dbgs() << "=== update [" << FS.UpdateCount
  490                       << (UpdateToFullSet ? ", full-set" : "") << "] "
  490                       << (UpdateToFullSet ? ", full-set" : "") << "] "
  491                       << FS.getName() << "\n");
  554       O << "\n";
  559     O << "\n";
  588   OS << "'Stack Safety Local Analysis' for function '" << F.getName() << "'\n";
  588   OS << "'Stack Safety Local Analysis' for function '" << F.getName() << "'\n";
  631   OS << "'Stack Safety Analysis' for module '" << M.getName() << "'\n";
  631   OS << "'Stack Safety Analysis' for module '" << M.getName() << "'\n";
lib/Analysis/SyncDependenceAnalysis.cpp
  165     Out << "Propagator::DefMap {\n";
  168       Out << Block->getName() << " : ";
  170         Out << "\n";
  173         Out << (DefBlock ? DefBlock->getName() : "<null>") << "\n";
  176     Out << "}\n";
  224     LLVM_DEBUG(dbgs() << "SDA:computeJoinPoints. Parent loop: " << (ParentLoop ? ParentLoop->getName() : "<null>") << "\n" );
  224     LLVM_DEBUG(dbgs() << "SDA:computeJoinPoints. Parent loop: " << (ParentLoop ? ParentLoop->getName() : "<null>") << "\n" );
  240       dbgs() << "SDA: rpo order:\n";
  242         dbgs() << "- " << RpoBlock->getName() << "\n";
  242         dbgs() << "- " << RpoBlock->getName() << "\n";
  259       LLVM_DEBUG(dbgs() << "SDA::joins. visiting " << Block->getName() << "\n");
  259       LLVM_DEBUG(dbgs() << "SDA::joins. visiting " << Block->getName() << "\n");
  291     LLVM_DEBUG(dbgs() << "SDA::joins. After propagation:\n"; printDefs(dbgs()));
lib/Analysis/Trace.cpp
   38   O << "; Trace from function " << F->getName() << ", blocks:\n";
   38   O << "; Trace from function " << F->getName() << ", blocks:\n";
   40     O << "; ";
   42     O << "\n";
   44   O << "; Trace parent function: \n" << *F;
lib/Analysis/ValueLattice.cpp
   14     return OS << "undefined";
   16     return OS << "overdefined";
   19     return OS << "notconstant<" << *Val.getNotConstant() << ">";
   19     return OS << "notconstant<" << *Val.getNotConstant() << ">";
   21     return OS << "constantrange<" << Val.getConstantRange().getLower() << ", "
   21     return OS << "constantrange<" << Val.getConstantRange().getLower() << ", "
   22               << Val.getConstantRange().getUpper() << ">";
   23   return OS << "constant<" << *Val.getConstant() << ">";
   23   return OS << "constant<" << *Val.getConstant() << ">";
lib/Analysis/VectorUtils.cpp
  885   LLVM_DEBUG(dbgs() << "LV: Analyzing interleaved accesses...\n");
  928         LLVM_DEBUG(dbgs() << "LV: Creating an interleave group with:" << *B
  970           LLVM_DEBUG(dbgs() << "LV: Invalidated store group due to "
  971                                "dependence between " << *A << " and "<< *B << '\n');
 1038         LLVM_DEBUG(dbgs() << "LV: Inserted:" << *A << '\n'
 1039                           << "    into the interleave group with" << *B
 1054           dbgs() << "LV: Invalidate candidate interleaved store group due "
 1088           dbgs() << "LV: Invalidate candidate interleaved group due to "
 1099             dbgs() << "LV: Invalidate candidate interleaved group due to "
 1111             dbgs() << "LV: Invalidate candidate interleaved group due to "
 1117           dbgs() << "LV: Interleaved group requires epilogue iteration.\n");
 1139         << "LV: Invalidate candidate interleaved group due to gaps that "
lib/BinaryFormat/MsgPackDocumentYAML.cpp
   46     OS << (Bool ? "true" : "false");
lib/Bitcode/Reader/BitcodeAnalyzer.cpp
  479       O->OS << "<BITCODE_WRAPPER_HEADER"
  480             << " Magic=" << format_hex(Magic, 10)
  481             << " Version=" << format_hex(Version, 10)
  482             << " Offset=" << format_hex(Offset, 10)
  483             << " Size=" << format_hex(Size, 10)
  484             << " CPUType=" << format_hex(CPUType, 10) << "/>\n";
  484             << " CPUType=" << format_hex(CPUType, 10) << "/>\n";
  514   OS << " num-strings = " << NumStrings << " {\n";
  514   OS << " num-strings = " << NumStrings << " {\n";
  530     OS << Indent << "    '";
  532     OS << "'\n";
  536   OS << Indent << "  }";
  617   O.OS << "Summary ";
  619     O.OS << "of " << Filename->data() << ":\n";
  619     O.OS << "of " << Filename->data() << ":\n";
  619     O.OS << "of " << Filename->data() << ":\n";
  620   O.OS << "         Total size: ";
  622   O.OS << "\n";
  623   O.OS << "        Stream type: ";
  626     O.OS << "unknown\n";
  629     O.OS << "LLVM IR\n";
  632     O.OS << "Clang Serialized AST\n";
  635     O.OS << "Clang Serialized Diagnostics\n";
  638     O.OS << "LLVM Remarks\n";
  641   O.OS << "  # Toplevel Blocks: " << NumTopBlocks << "\n";
  641   O.OS << "  # Toplevel Blocks: " << NumTopBlocks << "\n";
  642   O.OS << "\n";
  645   O.OS << "Per-block Summary:\n";
  649     O.OS << "  Block ID #" << I->first;
  652       O.OS << " (" << *BlockName << ")";
  652       O.OS << " (" << *BlockName << ")";
  652       O.OS << " (" << *BlockName << ")";
  653     O.OS << ":\n";
  656     O.OS << "      Num Instances: " << Stats.NumInstances << "\n";
  656     O.OS << "      Num Instances: " << Stats.NumInstances << "\n";
  657     O.OS << "         Total Size: ";
  659     O.OS << "\n";
  661     O.OS << "    Percent of file: " << format("%2.4f%%", pct) << "\n";
  661     O.OS << "    Percent of file: " << format("%2.4f%%", pct) << "\n";
  663       O.OS << "       Average Size: ";
  665       O.OS << "\n";
  666       O.OS << "  Tot/Avg SubBlocks: " << Stats.NumSubBlocks << "/"
  666       O.OS << "  Tot/Avg SubBlocks: " << Stats.NumSubBlocks << "/"
  667            << Stats.NumSubBlocks / (double)Stats.NumInstances << "\n";
  668       O.OS << "    Tot/Avg Abbrevs: " << Stats.NumAbbrevs << "/"
  668       O.OS << "    Tot/Avg Abbrevs: " << Stats.NumAbbrevs << "/"
  669            << Stats.NumAbbrevs / (double)Stats.NumInstances << "\n";
  670       O.OS << "    Tot/Avg Records: " << Stats.NumRecords << "/"
  670       O.OS << "    Tot/Avg Records: " << Stats.NumRecords << "/"
  671            << Stats.NumRecords / (double)Stats.NumInstances << "\n";
  673       O.OS << "      Num SubBlocks: " << Stats.NumSubBlocks << "\n";
  673       O.OS << "      Num SubBlocks: " << Stats.NumSubBlocks << "\n";
  674       O.OS << "        Num Abbrevs: " << Stats.NumAbbrevs << "\n";
  674       O.OS << "        Num Abbrevs: " << Stats.NumAbbrevs << "\n";
  675       O.OS << "        Num Records: " << Stats.NumRecords << "\n";
  675       O.OS << "        Num Records: " << Stats.NumRecords << "\n";
  679       O.OS << "    Percent Abbrevs: " << format("%2.4f%%", pct) << "\n";
  679       O.OS << "    Percent Abbrevs: " << format("%2.4f%%", pct) << "\n";
  681     O.OS << "\n";
  692       O.OS << "\tRecord Histogram:\n";
  693       O.OS << "\t\t  Count    # Bits     b/Rec   % Abv  Record Kind\n";
  704           O.OS << "          ";
  710           O.OS << "        ";
  712         O.OS << "  ";
  715           O.OS << *CodeName << "\n";
  715           O.OS << *CodeName << "\n";
  717           O.OS << "UnknownCode" << FreqPairs[i].second << "\n";
  717           O.OS << "UnknownCode" << FreqPairs[i].second << "\n";
  719       O.OS << "\n";
  739       O->OS << Indent << "<BLOCKINFO_BLOCK/>\n";
  765     O->OS << Indent << "<";
  767       O->OS << *BlockName;
  769       O->OS << "UnknownBlock" << BlockID;
  772       O->OS << " BlockID=" << BlockID;
  774     O->OS << " NumWords=" << NumWords
  775           << " BlockCodeSize=" << Stream.getAbbrevIDWidth() << ">\n";
  775           << " BlockCodeSize=" << Stream.getAbbrevIDWidth() << ">\n";
  803         O->OS << Indent << "</";
  805           O->OS << *BlockName << ">\n";
  805           O->OS << *BlockName << ">\n";
  807           O->OS << "UnknownBlock" << BlockID << ">\n";
  807           O->OS << "UnknownBlock" << BlockID << ">\n";
  858       O->OS << Indent << "  <";
  862         O->OS << *CodeName;
  864         O->OS << "UnknownCode" << Code;
  866         O->OS << " codeid=" << Code;
  870         O->OS << " abbrevid=" << Entry.ID;
  874         O->OS << " op" << i << "=" << (int64_t)Record[i];
  874         O->OS << " op" << i << "=" << (int64_t)Record[i];
  881             O->OS << "(Invalid record)";
  888           O->OS << " (offset ";
  890             O->OS << "match)";
  892             O->OS << "mismatch: " << MetadataIndexOffset << " vs "
  892             O->OS << "mismatch: " << MetadataIndexOffset << " vs "
  893                   << RecordStartBit << ")";
  901           O->OS << " (invalid)";
  924             O->OS << " (match)";
  926             O->OS << " (!mismatch!)";
  930       O->OS << "/>";
  948             O->OS << " record string = '" << Str << "'";
  948             O->OS << " record string = '" << Str << "'";
  958           O->OS << " blob data = ";
  960             O->OS << "'";
  961             O->OS.write_escaped(Blob, /*hex=*/true) << "'";
  971               O->OS << "'" << Blob << "'";
  971               O->OS << "'" << Blob << "'";
  973               O->OS << "unprintable, " << Blob.size() << " bytes.";
  973               O->OS << "unprintable, " << Blob.size() << " bytes.";
  978       O->OS << "\n";
lib/Bitcode/Reader/BitcodeReader.cpp
 5380     dbgs() << "GUID " << ValueGUID << "(" << OriginalNameID << ") is "
 5380     dbgs() << "GUID " << ValueGUID << "(" << OriginalNameID << ") is "
 5380     dbgs() << "GUID " << ValueGUID << "(" << OriginalNameID << ") is "
 5381            << ValueName << "\n";
lib/Bitcode/Writer/ValueEnumerator.cpp
  477   OS << "Map Name: " << Name << "\n";
  477   OS << "Map Name: " << Name << "\n";
  477   OS << "Map Name: " << Name << "\n";
  478   OS << "Size: " << Map.size() << "\n";
  478   OS << "Size: " << Map.size() << "\n";
  483       OS << "Value: " << V->getName();
  485       OS << "Value: [null]\n";
  489     OS << " Uses(" << V->getNumUses() << "):";
  489     OS << " Uses(" << V->getNumUses() << "):";
  492         OS << ",";
  494         OS << " " << U->getName();
  496         OS << " [null]";
  499     OS <<  "\n\n";
  505   OS << "Map Name: " << Name << "\n";
  505   OS << "Map Name: " << Name << "\n";
  505   OS << "Map Name: " << Name << "\n";
  506   OS << "Size: " << Map.size() << "\n";
  506   OS << "Size: " << Map.size() << "\n";
  509     OS << "Metadata: slot = " << I->second.ID << "\n";
  509     OS << "Metadata: slot = " << I->second.ID << "\n";
  510     OS << "Metadata: function = " << I->second.F << "\n";
  510     OS << "Metadata: function = " << I->second.F << "\n";
  512     OS << "\n";
lib/CodeGen/AggressiveAntiDepBreaker.cpp
  141    LLVM_DEBUG(dbgs() << "AntiDep Critical-Path Registers:");
  144               << " " << printReg(r, TRI));
  205   LLVM_DEBUG(dbgs() << "Observe: ");
  207   LLVM_DEBUG(dbgs() << "\tRegs:");
  219                  << " " << printReg(Reg, TRI) << "=g" << State->GetGroup(Reg)
  219                  << " " << printReg(Reg, TRI) << "=g" << State->GetGroup(Reg)
  220                  << "->g0(region live-out)");
  316       LLVM_DEBUG(if (!header && footer) dbgs() << footer);
  326       dbgs() << header << printReg(Reg, TRI);
  329     LLVM_DEBUG(dbgs() << "->g" << State->GetGroup(Reg) << tag);
  329     LLVM_DEBUG(dbgs() << "->g" << State->GetGroup(Reg) << tag);
  342           dbgs() << header << printReg(Reg, TRI);
  345         LLVM_DEBUG(dbgs() << " " << printReg(SubregReg, TRI) << "->g"
  345         LLVM_DEBUG(dbgs() << " " << printReg(SubregReg, TRI) << "->g"
  346                           << State->GetGroup(SubregReg) << tag);
  351   LLVM_DEBUG(if (!header && footer) dbgs() << footer);
  374   LLVM_DEBUG(dbgs() << "\tDef Groups:");
  381     LLVM_DEBUG(dbgs() << " " << printReg(Reg, TRI) << "=g"
  381     LLVM_DEBUG(dbgs() << " " << printReg(Reg, TRI) << "=g"
  391       LLVM_DEBUG(if (State->GetGroup(Reg) != 0) dbgs() << "->g0(alloc-req)");
  401         LLVM_DEBUG(dbgs() << "->g" << State->GetGroup(Reg) << "(via "
  401         LLVM_DEBUG(dbgs() << "->g" << State->GetGroup(Reg) << "(via "
  402                           << printReg(AliasReg, TRI) << ")");
  445   LLVM_DEBUG(dbgs() << "\tUse Groups:");
  477     LLVM_DEBUG(dbgs() << " " << printReg(Reg, TRI) << "=g"
  477     LLVM_DEBUG(dbgs() << " " << printReg(Reg, TRI) << "=g"
  486       LLVM_DEBUG(if (State->GetGroup(Reg) != 0) dbgs() << "->g0(alloc-req)");
  503     LLVM_DEBUG(dbgs() << "\tKill Group:");
  513         LLVM_DEBUG(dbgs() << "=" << printReg(Reg, TRI));
  516         LLVM_DEBUG(dbgs() << " " << printReg(Reg, TRI));
  521     LLVM_DEBUG(dbgs() << "->g" << State->GetGroup(FirstReg) << '\n');
  544     LLVM_DEBUG(dbgs() << " " << TRI->getRegClassName(RC));
  544     LLVM_DEBUG(dbgs() << " " << TRI->getRegClassName(RC));
  571   LLVM_DEBUG(dbgs() << "\tRename Candidates for Group g" << AntiDepGroupIndex
  572                     << ":\n");
  582       LLVM_DEBUG(dbgs() << "\t\t" << printReg(Reg, TRI) << ":");
  582       LLVM_DEBUG(dbgs() << "\t\t" << printReg(Reg, TRI) << ":");
  589         dbgs() << " ::";
  591           dbgs() << " " << printReg(r, TRI);
  592         dbgs() << "\n";
  616     dbgs() << "*** Performing rename " << printReg(SuperReg, TRI)
  617            << " for debug ***\n";
  634     LLVM_DEBUG(dbgs() << "\tEmpty Super Regclass!!\n");
  638   LLVM_DEBUG(dbgs() << "\tFind Registers:");
  654     LLVM_DEBUG(dbgs() << " [" << printReg(NewSuperReg, TRI) << ':');
  671       LLVM_DEBUG(dbgs() << " " << printReg(NewReg, TRI));
  675         LLVM_DEBUG(dbgs() << "(no rename)");
  684         LLVM_DEBUG(dbgs() << "(live)");
  693                        << "(alias " << printReg(AliasReg, TRI) << " live)");
  693                        << "(alias " << printReg(AliasReg, TRI) << " live)");
  711           LLVM_DEBUG(dbgs() << "(ec)");
  725           LLVM_DEBUG(dbgs() << "(ec)");
  738     LLVM_DEBUG(dbgs() << "]\n");
  798   LLVM_DEBUG(dbgs() << "\n===== Aggressive anti-dependency breaking\n");
  799   LLVM_DEBUG(dbgs() << "Available regs:");
  802       LLVM_DEBUG(dbgs() << " " << printReg(Reg, TRI));
  821     LLVM_DEBUG(dbgs() << "Anti: ");
  858         LLVM_DEBUG(dbgs() << "\tAntidep reg: " << printReg(AntiDepReg, TRI));
  863           LLVM_DEBUG(dbgs() << " (non-allocatable)\n");
  868           LLVM_DEBUG(dbgs() << " (not critical-path)\n");
  874           LLVM_DEBUG(dbgs() << " (passthru)\n");
  881             LLVM_DEBUG(dbgs() << " (implicit)\n");
  907               LLVM_DEBUG(dbgs() << " (real dependency)\n");
  913               LLVM_DEBUG(dbgs() << " (other dependency)\n");
  951           LLVM_DEBUG(dbgs() << " (zero group)\n");
  960           LLVM_DEBUG(dbgs() << "\tBreaking anti-dependence edge on "
  961                             << printReg(AntiDepReg, TRI) << ":");
  969             LLVM_DEBUG(dbgs() << " " << printReg(CurrReg, TRI) << "->"
  969             LLVM_DEBUG(dbgs() << " " << printReg(CurrReg, TRI) << "->"
  970                               << printReg(NewReg, TRI) << "("
  971                               << RegRefs.count(CurrReg) << " refs)");
lib/CodeGen/AllocationOrder.cpp
   43       dbgs() << "hints:";
lib/CodeGen/AsmPrinter/AccelTable.cpp
  624   OS << "Magic: " << format("0x%x", Magic) << "\n"
  624   OS << "Magic: " << format("0x%x", Magic) << "\n"
  625      << "Version: " << Version << "\n"
  625      << "Version: " << Version << "\n"
  626      << "Hash Function: " << HashFunction << "\n"
  626      << "Hash Function: " << HashFunction << "\n"
  627      << "Bucket Count: " << BucketCount << "\n"
  627      << "Bucket Count: " << BucketCount << "\n"
  628      << "Header Data Length: " << HeaderDataLength << "\n";
  628      << "Header Data Length: " << HeaderDataLength << "\n";
  632   OS << "Type: " << dwarf::AtomTypeString(Type) << "\n"
  632   OS << "Type: " << dwarf::AtomTypeString(Type) << "\n"
  633      << "Form: " << dwarf::FormEncodingString(Form) << "\n";
  633      << "Form: " << dwarf::FormEncodingString(Form) << "\n";
  637   OS << "DIE Offset Base: " << DieOffsetBase << "\n";
  637   OS << "DIE Offset Base: " << DieOffsetBase << "\n";
  650   OS << "Name: " << Name.getString() << "\n";
  650   OS << "Name: " << Name.getString() << "\n";
  651   OS << "  Hash Value: " << format("0x%x", HashValue) << "\n";
  651   OS << "  Hash Value: " << format("0x%x", HashValue) << "\n";
  652   OS << "  Symbol: ";
  656     OS << "<none>";
  657   OS << "\n";
  664   OS << "Entries: \n";
  666     OS << "Name: " << Entry.first() << "\n";
  666     OS << "Name: " << Entry.first() << "\n";
  671   OS << "Buckets and Hashes: \n";
  676   OS << "Data: \n";
  682   OS << "  Offset: " << getDieOffset() << "\n";
  682   OS << "  Offset: " << getDieOffset() << "\n";
  683   OS << "  Tag: " << dwarf::TagString(getDieTag()) << "\n";
  683   OS << "  Tag: " << dwarf::TagString(getDieTag()) << "\n";
  687   OS << "  Offset: " << getDieOffset() << "\n";
  687   OS << "  Offset: " << getDieOffset() << "\n";
  688   OS << "  Tag: " << dwarf::TagString(getDieTag()) << "\n";
  688   OS << "  Tag: " << dwarf::TagString(getDieTag()) << "\n";
  692   OS << "  Offset: " << Die.getOffset() << "\n";
  692   OS << "  Offset: " << Die.getOffset() << "\n";
  696   OS << "  Offset: " << Die.getOffset() << "\n";
  696   OS << "  Offset: " << Die.getOffset() << "\n";
  697   OS << "  Tag: " << dwarf::TagString(Die.getTag()) << "\n";
  697   OS << "  Tag: " << dwarf::TagString(Die.getTag()) << "\n";
  701   OS << "  Static Offset: " << Offset << "\n";
  701   OS << "  Static Offset: " << Offset << "\n";
  705   OS << "  Static Offset: " << Offset << "\n";
  705   OS << "  Static Offset: " << Offset << "\n";
  706   OS << "  QualifiedNameHash: " << format("%x\n", QualifiedNameHash) << "\n";
  706   OS << "  QualifiedNameHash: " << format("%x\n", QualifiedNameHash) << "\n";
  707   OS << "  Tag: " << dwarf::TagString(Tag) << "\n";
  707   OS << "  Tag: " << dwarf::TagString(Tag) << "\n";
  708   OS << "  ObjCClassIsImplementation: "
  709      << (ObjCClassIsImplementation ? "true" : "false");
  710   OS << "\n";
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  655         << "-- Begin function "
  774     CommentOS << *Size << "-byte Reload\n";
  777       CommentOS << *Size << "-byte Folded Reload\n";
  779     CommentOS << *Size << "-byte Spill\n";
  782       CommentOS << *Size << "-byte Folded Spill\n";
  787     CommentOS << " Reload Reuse\n";
  797   OS << "implicit-def: "
  807   OS << "kill:";
  811     OS << ' ' << (Op.isDef() ? "def " : "killed ")
  828   OS << "DEBUG_VALUE: ";
  834       OS << Name << ":";
  837   OS << " <- ";
  848         OS << ", ";
  855     OS << "] ";
  871       OS << "(long double) " << APF.convertToDouble();
  890       OS << "undef";
  917   OS << "DEBUG_LABEL: ";
  924       OS << Name << ":";
 1217     OutStreamer->GetCommentOS() << "-- End function\n";
 2198       OS << "Unsupported expression in static initializer: ";
 2847     << "Parent Loop BB" << FunctionNumber << "_"
 2847     << "Parent Loop BB" << FunctionNumber << "_"
 2849     << " Depth=" << Loop->getLoopDepth() << '\n';
 2859       << "Child Loop BB" << FunctionNumber << "_"
 2859       << "Child Loop BB" << FunctionNumber << "_"
 2860       << CL->getHeader()->getNumber() << " Depth " << CL->getLoopDepth()
 2893   OS << "=>";
 2896   OS << "This ";
 2898     OS << "Inner ";
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
  175   OS << "\t.intel_syntax\n\t";
  273         Msg << "invalid operand in inline asm: '" << AsmStr << "'";
  273         Msg << "invalid operand in inline asm: '" << AsmStr << "'";
  273         Msg << "invalid operand in inline asm: '" << AsmStr << "'";
  280   OS << "\n\t.att_syntax\n" << (char)0;  // null terminate string.
  455           Msg << "invalid operand in inline asm: '" << AsmStr << "'";
  455           Msg << "invalid operand in inline asm: '" << AsmStr << "'";
  455           Msg << "invalid operand in inline asm: '" << AsmStr << "'";
  597     Msg << "Unknown special formatter '" << Code
  597     Msg << "Unknown special formatter '" << Code
  598          << "' for machine instr: " << *MI;
lib/CodeGen/AsmPrinter/DIE.cpp
   89       LLVM_DEBUG(dbgs() << "Invalid form " << format("0x%x", AttrData.getForm())
   90                         << " for DWARF version " << AP->getDwarfVersion()
   91                         << "\n");
  110   O << "Abbreviation @"
  112     << "  "
  114     << " "
  119     O << "  "
  121       << "  "
  125       O << " " << Data[i].getValue();
  233   O << Type << ": Size: " << Size << "\n";
  233   O << Type << ": Size: " << Size << "\n";
  239     O << "Blk[" << I++ << "]";
  239     O << "Blk[" << I++ << "]";
  240     O << "  " << dwarf::FormEncodingString(V.getForm()) << " ";
  240     O << "  " << dwarf::FormEncodingString(V.getForm()) << " ";
  242     O << "\n";
  249   O << Indent << "Die: " << format("0x%lx", (long)(intptr_t) this)
  250     << ", Offset: " << Offset << ", Size: " << Size << "\n";
  250     << ", Offset: " << Offset << ", Size: " << Size << "\n";
  250     << ", Offset: " << Offset << ", Size: " << Size << "\n";
  252   O << Indent << dwarf::TagString(getTag()) << " "
  253     << dwarf::ChildrenString(hasChildren()) << "\n";
  259     O << "  " << dwarf::FormEncodingString(V.getForm()) << " ";
  259     O << "  " << dwarf::FormEncodingString(V.getForm()) << " ";
  261     O << "\n";
  268   O << "\n";
  456   O << "Int: " << (int64_t)Integer << "  0x";
  456   O << "Int: " << (int64_t)Integer << "  0x";
  480 void DIEExpr::print(raw_ostream &O) const { O << "Expr: " << *Expr; }
  506 void DIELabel::print(raw_ostream &O) const { O << "Lbl: " << Label->getName(); }
  523 void DIEBaseTypeRef::print(raw_ostream &O) const { O << "BaseTypeRef: " << Index; }
  546   O << "Del: " << LabelHi->getName() << "-" << LabelLo->getName();
  546   O << "Del: " << LabelHi->getName() << "-" << LabelLo->getName();
  600   O << "String: " << S.getString();
  622   O << "InlineString: " << S;
  817 void DIELocList::print(raw_ostream &O) const { O << "LocList: " << Index; }
lib/CodeGen/AsmPrinter/DIEHash.cpp
   45   LLVM_DEBUG(dbgs() << "Adding string " << Str << " to hash.\n");
   45   LLVM_DEBUG(dbgs() << "Adding string " << Str << " to hash.\n");
   55   LLVM_DEBUG(dbgs() << "Adding ULEB128 " << Value << " to hash.\n");
   55   LLVM_DEBUG(dbgs() << "Adding ULEB128 " << Value << " to hash.\n");
   66   LLVM_DEBUG(dbgs() << "Adding ULEB128 " << Value << " to hash.\n");
   66   LLVM_DEBUG(dbgs() << "Adding ULEB128 " << Value << " to hash.\n");
   82   LLVM_DEBUG(dbgs() << "Adding parent context to hash...\n");
  110     LLVM_DEBUG(dbgs() << "... adding context: " << Name << "\n");
  110     LLVM_DEBUG(dbgs() << "... adding context: " << Name << "\n");
  120     LLVM_DEBUG(dbgs() << "Attribute: "
  122                       << " added.\n");
lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
   63     LLVM_DEBUG(dbgs() << "Coalescing identical DBG_VALUE entries:\n"
   64                       << "\t" << Entries.back().getInstr() << "\t" << MI
   64                       << "\t" << Entries.back().getInstr() << "\t" << MI
   65                       << "\n");
  339   dbgs() << "DbgValueHistoryMap:\n";
  347     dbgs() << " - " << LocalVar->getName() << " at ";
  347     dbgs() << " - " << LocalVar->getName() << " at ";
  350       dbgs() << Location->getFilename() << ":" << Location->getLine() << ":"
  350       dbgs() << Location->getFilename() << ":" << Location->getLine() << ":"
  353       dbgs() << "<unknown location>";
  355     dbgs() << " --\n";
  359       dbgs() << "  Entry[" << E.index() << "]: ";
  359       dbgs() << "  Entry[" << E.index() << "]: ";
  361         dbgs() << "Debug value\n";
  363         dbgs() << "Clobber\n";
  364       dbgs() << "   Instr: " << *Entry.getInstr();
  367           dbgs() << "   - Valid until end of function\n";
  369           dbgs() << "   - Closed by Entry[" << Entry.getEndIndex() << "]\n";
  369           dbgs() << "   - Closed by Entry[" << Entry.getEndIndex() << "]\n";
  371       dbgs() << "\n";
lib/CodeGen/AsmPrinter/DebugLocEntry.h
   76       llvm::dbgs() << "Loc = { reg=" << Loc.getReg() << " ";
   76       llvm::dbgs() << "Loc = { reg=" << Loc.getReg() << " ";
   78         llvm::dbgs() << "+0";
   79       llvm::dbgs() << "} ";
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  761       LLVM_DEBUG(dbgs() << "CallSiteEntry: " << MF.getName() << " -> "
  761       LLVM_DEBUG(dbgs() << "CallSiteEntry: " << MF.getName() << " -> "
  766                         << (IsTail ? " [IsTail]" : "") << "\n");
  766                         << (IsTail ? " [IsTail]" : "") << "\n");
 1423       LLVM_DEBUG(dbgs() << "DotDebugLoc: " << *Instr << "\n");
 1423       LLVM_DEBUG(dbgs() << "DotDebugLoc: " << *Instr << "\n");
 1457       LLVM_DEBUG(dbgs() << "Omitting location list entry with empty range.\n");
 1470       dbgs() << CurEntry->getValues().size() << " Values:\n";
 1473       dbgs() << "-----\n";
lib/CodeGen/AtomicExpandPass.cpp
  388   LLVM_DEBUG(dbgs() << "Replaced " << *LI << " with " << *NewLI << "\n");
  388   LLVM_DEBUG(dbgs() << "Replaced " << *LI << " with " << *NewLI << "\n");
  388   LLVM_DEBUG(dbgs() << "Replaced " << *LI << " with " << *NewLI << "\n");
  475   LLVM_DEBUG(dbgs() << "Replaced " << *SI << " with " << *NewSI << "\n");
  475   LLVM_DEBUG(dbgs() << "Replaced " << *SI << " with " << *NewSI << "\n");
  475   LLVM_DEBUG(dbgs() << "Replaced " << *SI << " with " << *NewSI << "\n");
 1075   LLVM_DEBUG(dbgs() << "Replaced " << *CI << " with " << *NewCI << "\n");
 1075   LLVM_DEBUG(dbgs() << "Replaced " << *CI << " with " << *NewCI << "\n");
 1075   LLVM_DEBUG(dbgs() << "Replaced " << *CI << " with " << *NewCI << "\n");
lib/CodeGen/BranchFolding.cpp
  155   LLVM_DEBUG(dbgs() << "\nRemoving MBB: " << *MBB);
  658   LLVM_DEBUG(dbgs() << "Common tail length of " << printMBBReference(*MBB1)
  659                     << " and " << printMBBReference(*MBB2) << " is "
  659                     << " and " << printMBBReference(*MBB2) << " is "
  815   LLVM_DEBUG(dbgs() << "\nSplitting " << printMBBReference(*MBB) << ", size "
  815   LLVM_DEBUG(dbgs() << "\nSplitting " << printMBBReference(*MBB) << ", size "
  825     LLVM_DEBUG(dbgs() << "... failed!");
  966       dbgs() << "\nTryTailMergeBlocks: ";
  969       << (i == e - 1 ? "" : ", ");
  970       dbgs() << "\n"; if (SuccBB) {
  971         dbgs() << "  with successor " << printMBBReference(*SuccBB) << '\n';
  973           dbgs() << "  which has fall-through from "
  974                  << printMBBReference(*PredBB) << "\n";
  975       } dbgs() << "Looking for common tails of at least "
  976                << MinCommonTailLength << " instruction"
  977                << (MinCommonTailLength == 1 ? "" : "s") << '\n';);
 1057     LLVM_DEBUG(dbgs() << "\nUsing common tail in " << printMBBReference(*MBB)
 1058                       << " for ");
 1063                         << (i == e - 1 ? "" : ", "));
 1069     LLVM_DEBUG(dbgs() << "\n");
 1350       LLVM_DEBUG(dbgs() << "Copied debug entity from empty block to pred: "
 1362       LLVM_DEBUG(dbgs() << "Copied debug entity from empty block to succ: "
 1478       LLVM_DEBUG(dbgs() << "\nMerging into block: " << PrevBB
 1479                         << "From MBB: " << *MBB);
 1565           LLVM_DEBUG(dbgs() << "\nMoving MBB: " << *MBB
 1566                             << "To make fallthrough to: " << *PriorTBB << "\n");
 1566                             << "To make fallthrough to: " << *PriorTBB << "\n");
lib/CodeGen/BranchRelaxation.cpp
  288   LLVM_DEBUG(dbgs() << "Out of range branch to destination "
  289                     << printMBBReference(DestBB) << " from "
  290                     << printMBBReference(*MI.getParent()) << " to "
  291                     << DestOffset << " offset " << DestOffset - BrOffset << '\t'
  361       LLVM_DEBUG(dbgs() << "  Invert condition and swap "
  386     LLVM_DEBUG(dbgs() << "  Insert B to " << printMBBReference(*TBB)
  387                       << ", invert condition and change dest. to "
  399   LLVM_DEBUG(dbgs() << "  The branch condition can't be inverted. "
  400                     << "  Insert a new BB after " << MBB->back());
  419   LLVM_DEBUG(dbgs() << "  Insert cond B to the new BB "
  421                     << "  Keep the exiting condition.\n"
  422                     << "  Insert B to " << printMBBReference(*FBB) << ".\n"
  422                     << "  Insert B to " << printMBBReference(*FBB) << ".\n"
  423                     << "  In the new BB: Insert B to "
  424                     << printMBBReference(*TBB) << ".\n");
  544   LLVM_DEBUG(dbgs() << "***** BranchRelaxation *****\n");
  561   LLVM_DEBUG(dbgs() << "  Basic blocks before relaxation\n"; dumpBBs(););
  570   LLVM_DEBUG(dbgs() << "  Basic blocks after relaxation\n\n"; dumpBBs());
lib/CodeGen/BreakFalseDeps.cpp
  167   LLVM_DEBUG(dbgs() << "Clearance: " << Clearance << ", want " << Pref);
  167   LLVM_DEBUG(dbgs() << "Clearance: " << Clearance << ", want " << Pref);
  170     LLVM_DEBUG(dbgs() << ": Break dependency.\n");
  173   LLVM_DEBUG(dbgs() << ": OK .\n");
  273   LLVM_DEBUG(dbgs() << "********** BREAK FALSE DEPENDENCIES **********\n");
lib/CodeGen/CFGuardLongjmp.cpp
  110     raw_svector_ostream(SymbolName) << "$cfgsj_" << MF.getName() << SetjmpNum++;
lib/CodeGen/CFIInstrInserter.cpp
  296   errs() << "*** Inconsistent CFA register and/or offset between pred and succ "
  298   errs() << "Pred: " << Pred.MBB->getName() << " #" << Pred.MBB->getNumber()
  298   errs() << "Pred: " << Pred.MBB->getName() << " #" << Pred.MBB->getNumber()
  299          << " in " << Pred.MBB->getParent()->getName()
  300          << " outgoing CFA Reg:" << Pred.OutgoingCFARegister << "\n";
  300          << " outgoing CFA Reg:" << Pred.OutgoingCFARegister << "\n";
  301   errs() << "Pred: " << Pred.MBB->getName() << " #" << Pred.MBB->getNumber()
  301   errs() << "Pred: " << Pred.MBB->getName() << " #" << Pred.MBB->getNumber()
  302          << " in " << Pred.MBB->getParent()->getName()
  303          << " outgoing CFA Offset:" << Pred.OutgoingCFAOffset << "\n";
  303          << " outgoing CFA Offset:" << Pred.OutgoingCFAOffset << "\n";
  304   errs() << "Succ: " << Succ.MBB->getName() << " #" << Succ.MBB->getNumber()
  304   errs() << "Succ: " << Succ.MBB->getName() << " #" << Succ.MBB->getNumber()
  305          << " incoming CFA Reg:" << Succ.IncomingCFARegister << "\n";
  305          << " incoming CFA Reg:" << Succ.IncomingCFARegister << "\n";
  306   errs() << "Succ: " << Succ.MBB->getName() << " #" << Succ.MBB->getNumber()
  306   errs() << "Succ: " << Succ.MBB->getName() << " #" << Succ.MBB->getNumber()
  307          << " incoming CFA Offset:" << Succ.IncomingCFAOffset << "\n";
  307          << " incoming CFA Offset:" << Succ.IncomingCFAOffset << "\n";
lib/CodeGen/CalcSpillWeights.cpp
   37   LLVM_DEBUG(dbgs() << "********** Compute Spill Weights **********\n"
   38                     << "********** Function: " << MF.getName() << '\n');
lib/CodeGen/CallingConvLower.cpp
  135       dbgs() << "Call operand #" << i << " has unhandled type "
  135       dbgs() << "Call operand #" << i << " has unhandled type "
  153       dbgs() << "Call operand #" << i << " has unhandled type "
  153       dbgs() << "Call operand #" << i << " has unhandled type "
  170       dbgs() << "Call result #" << i << " has unhandled type "
  170       dbgs() << "Call result #" << i << " has unhandled type "
  182     dbgs() << "Call result has unhandled type "
  216       dbgs() << "Call has unhandled type " << EVT(VT).getEVTString()
  217              << " while computing remaining regparms\n";
lib/CodeGen/CodeGenPrepare.cpp
  585       LLVM_DEBUG(dbgs() << "To merge:\n" << *BB << "\n\n\n");
  585       LLVM_DEBUG(dbgs() << "To merge:\n" << *BB << "\n\n\n");
  823   LLVM_DEBUG(dbgs() << "MERGING MOSTLY EMPTY BLOCKS - BEFORE:\n"
  836       LLVM_DEBUG(dbgs() << "AFTER:\n" << *SinglePred << "\n\n\n");
  836       LLVM_DEBUG(dbgs() << "AFTER:\n" << *SinglePred << "\n\n\n");
  874   LLVM_DEBUG(dbgs() << "AFTER:\n" << *DestBB << "\n\n\n");
  874   LLVM_DEBUG(dbgs() << "AFTER:\n" << *DestBB << "\n\n\n");
 1465   LLVM_DEBUG(dbgs() << "found 'and' feeding only icmp 0;\n");
 1479     LLVM_DEBUG(dbgs() << "sinking 'and' use: " << *User << "\n");
 1479     LLVM_DEBUG(dbgs() << "sinking 'and' use: " << *User << "\n");
 2212   OS << "[";
 2214     OS << "inbounds ";
 2216     OS << (NeedPlus ? " + " : "")
 2217        << "GV:";
 2223     OS << (NeedPlus ? " + " : "")
 2229     OS << (NeedPlus ? " + " : "")
 2230        << "Base:";
 2235     OS << (NeedPlus ? " + " : "")
 2236        << Scale << "*";
 2335       LLVM_DEBUG(dbgs() << "Do: move: " << *Inst << "\nbefore: " << *Before
 2335       LLVM_DEBUG(dbgs() << "Do: move: " << *Inst << "\nbefore: " << *Before
 2336                         << "\n");
 2342       LLVM_DEBUG(dbgs() << "Undo: moveBefore: " << *Inst << "\n");
 2342       LLVM_DEBUG(dbgs() << "Undo: moveBefore: " << *Inst << "\n");
 2359       LLVM_DEBUG(dbgs() << "Do: setOperand: " << Idx << "\n"
 2359       LLVM_DEBUG(dbgs() << "Do: setOperand: " << Idx << "\n"
 2360                         << "for:" << *Inst << "\n"
 2360                         << "for:" << *Inst << "\n"
 2361                         << "with:" << *NewVal << "\n");
 2361                         << "with:" << *NewVal << "\n");
 2368       LLVM_DEBUG(dbgs() << "Undo: setOperand:" << Idx << "\n"
 2368       LLVM_DEBUG(dbgs() << "Undo: setOperand:" << Idx << "\n"
 2369                         << "for: " << *Inst << "\n"
 2369                         << "for: " << *Inst << "\n"
 2370                         << "with: " << *Origin << "\n");
 2370                         << "with: " << *Origin << "\n");
 2384       LLVM_DEBUG(dbgs() << "Do: OperandsHider: " << *Inst << "\n");
 2384       LLVM_DEBUG(dbgs() << "Do: OperandsHider: " << *Inst << "\n");
 2400       LLVM_DEBUG(dbgs() << "Undo: OperandsHider: " << *Inst << "\n");
 2400       LLVM_DEBUG(dbgs() << "Undo: OperandsHider: " << *Inst << "\n");
 2417       LLVM_DEBUG(dbgs() << "Do: TruncBuilder: " << *Val << "\n");
 2417       LLVM_DEBUG(dbgs() << "Do: TruncBuilder: " << *Val << "\n");
 2425       LLVM_DEBUG(dbgs() << "Undo: TruncBuilder: " << *Val << "\n");
 2425       LLVM_DEBUG(dbgs() << "Undo: TruncBuilder: " << *Val << "\n");
 2443       LLVM_DEBUG(dbgs() << "Do: SExtBuilder: " << *Val << "\n");
 2443       LLVM_DEBUG(dbgs() << "Do: SExtBuilder: " << *Val << "\n");
 2451       LLVM_DEBUG(dbgs() << "Undo: SExtBuilder: " << *Val << "\n");
 2451       LLVM_DEBUG(dbgs() << "Undo: SExtBuilder: " << *Val << "\n");
 2469       LLVM_DEBUG(dbgs() << "Do: ZExtBuilder: " << *Val << "\n");
 2469       LLVM_DEBUG(dbgs() << "Do: ZExtBuilder: " << *Val << "\n");
 2477       LLVM_DEBUG(dbgs() << "Undo: ZExtBuilder: " << *Val << "\n");
 2477       LLVM_DEBUG(dbgs() << "Undo: ZExtBuilder: " << *Val << "\n");
 2492       LLVM_DEBUG(dbgs() << "Do: MutateType: " << *Inst << " with " << *NewTy
 2492       LLVM_DEBUG(dbgs() << "Do: MutateType: " << *Inst << " with " << *NewTy
 2493                         << "\n");
 2499       LLVM_DEBUG(dbgs() << "Undo: MutateType: " << *Inst << " with " << *OrigTy
 2499       LLVM_DEBUG(dbgs() << "Undo: MutateType: " << *Inst << " with " << *OrigTy
 2500                         << "\n");
 2529       LLVM_DEBUG(dbgs() << "Do: UsersReplacer: " << *Inst << " with " << *New
 2529       LLVM_DEBUG(dbgs() << "Do: UsersReplacer: " << *Inst << " with " << *New
 2530                         << "\n");
 2546       LLVM_DEBUG(dbgs() << "Undo: UsersReplacer: " << *Inst << "\n");
 2546       LLVM_DEBUG(dbgs() << "Undo: UsersReplacer: " << *Inst << "\n");
 2590       LLVM_DEBUG(dbgs() << "Do: InstructionRemover: " << *Inst << "\n");
 2590       LLVM_DEBUG(dbgs() << "Do: InstructionRemover: " << *Inst << "\n");
 2603       LLVM_DEBUG(dbgs() << "Undo: InstructionRemover: " << *Inst << "\n");
 2603       LLVM_DEBUG(dbgs() << "Undo: InstructionRemover: " << *Inst << "\n");
 3945   LLVM_DEBUG(dbgs() << "Propagate Ext to operands\n");
 3948     LLVM_DEBUG(dbgs() << "Operand:\n" << *(ExtOpnd->getOperand(OpIdx)) << '\n');
 3951       LLVM_DEBUG(dbgs() << "No need to propagate\n");
 3957       LLVM_DEBUG(dbgs() << "Statically extend\n");
 3966       LLVM_DEBUG(dbgs() << "Statically extend\n");
 3975       LLVM_DEBUG(dbgs() << "More operands to ext\n");
 3996     LLVM_DEBUG(dbgs() << "Extension is useless now\n");
 4012   LLVM_DEBUG(dbgs() << "OldCost: " << OldCost << "\tNewCost: " << NewCost
 4012   LLVM_DEBUG(dbgs() << "OldCost: " << OldCost << "\tNewCost: " << NewCost
 4291       LLVM_DEBUG(dbgs() << "Sign extension does not pay off: rollback\n");
 4753     LLVM_DEBUG(dbgs() << "CGP: Found      local addrmode: " << AddrMode
 4754                       << "\n");
 4773     LLVM_DEBUG(dbgs() << "CGP: Reusing nonlocal addrmode: " << AddrMode
 4774                       << " for " << *MemoryInst << "\n");
 4774                       << " for " << *MemoryInst << "\n");
 4781     LLVM_DEBUG(dbgs() << "CGP: SINKING nonlocal addrmode: " << AddrMode
 4782                       << " for " << *MemoryInst << "\n");
 4782                       << " for " << *MemoryInst << "\n");
 4929     LLVM_DEBUG(dbgs() << "CGP: SINKING nonlocal addrmode: " << AddrMode
 4930                       << " for " << *MemoryInst << "\n");
 4930                       << " for " << *MemoryInst << "\n");
 6197     LLVM_DEBUG(dbgs() << "Sinking " << *UI << " to user " << *I << "\n");
 6197     LLVM_DEBUG(dbgs() << "Sinking " << *UI << " to user " << *I << "\n");
 6197     LLVM_DEBUG(dbgs() << "Sinking " << *UI << " to user " << *I << "\n");
 6216       LLVM_DEBUG(dbgs() << "Removing dead instruction: " << *I << "\n");
 6216       LLVM_DEBUG(dbgs() << "Removing dead instruction: " << *I << "\n");
 6399         dbgs() << "Estimated cost of computation to be promoted:\nScalar: "
 6400                << ScalarCost << "\nVector: " << VectorCost << '\n');
 6605   LLVM_DEBUG(dbgs() << "Found an interesting transition: " << *Inst << '\n');
 6611     LLVM_DEBUG(dbgs() << "Use: " << *ToBePromoted << '\n');
 6614       LLVM_DEBUG(dbgs() << "Instruction to promote is in a different block ("
 6616                         << ") than the transition (" << Parent->getName()
 6617                         << ").\n");
 6622       LLVM_DEBUG(dbgs() << "Assume " << *Inst << '\n'
 6623                         << "will be combined with: " << *ToBePromoted << '\n');
 6630     LLVM_DEBUG(dbgs() << "Try promoting.\n");
 6634     LLVM_DEBUG(dbgs() << "Promoting is possible... Enqueue for promotion!\n");
 7139         LLVM_DEBUG(dbgs() << "Moving Debug Value before :\n"
 7219     LLVM_DEBUG(dbgs() << "Before branch condition splitting\n"; BB.dump());
 7340     LLVM_DEBUG(dbgs() << "After branch condition splitting\n"; BB.dump();
lib/CodeGen/CriticalAntiDepBreaker.cpp
  464     LLVM_DEBUG(dbgs() << "Critical path has total latency "
  465                       << (Max->getDepth() + Max->Latency) << "\n");
  466     LLVM_DEBUG(dbgs() << "Available regs:");
  469         LLVM_DEBUG(dbgs() << " " << printReg(Reg, TRI));
  648         LLVM_DEBUG(dbgs() << "Breaking anti-dependence edge on "
  649                           << printReg(AntiDepReg, TRI) << " with "
  650                           << RegRefs.count(AntiDepReg) << " references"
  651                           << " using " << printReg(NewReg, TRI) << "!\n");
  651                           << " using " << printReg(NewReg, TRI) << "!\n");
lib/CodeGen/DFAPacketizer.cpp
  212       dbgs() << "Finalizing packet:\n";
  216         dbgs() << " * [res:0x" << utohexstr(R) << "] " << *MI;
  216         dbgs() << " * [res:0x" << utohexstr(R) << "] " << *MI;
  226   LLVM_DEBUG(dbgs() << "End packet\n");
  240     dbgs() << "Scheduling DAG of the packetize region\n";
  277     LLVM_DEBUG(dbgs() << "Checking resources for adding MI to packet " << MI);
  282         dbgs() << "  Resources are available for adding MI to packet\n";
  284         dbgs() << "  Resources NOT available\n";
  292         LLVM_DEBUG(dbgs() << "  Checking against MJ " << *MJ);
  295           LLVM_DEBUG(dbgs() << "  Not legal to add MI, try to prune\n");
  300                        << "  Could not prune dependencies for adding MI\n");
  304           LLVM_DEBUG(dbgs() << "  Pruned dependence for adding MI\n");
  309                  << "Resources are available, but instruction should not be "
  318     LLVM_DEBUG(dbgs() << "* Adding MI to packet " << MI << '\n');
lib/CodeGen/DeadMachineInstructionElim.cpp
  129         LLVM_DEBUG(dbgs() << "DeadMachineInstructionElim: DELETING: " << *MI);
lib/CodeGen/DetectDeadLanes.cpp
  441             LLVM_DEBUG(dbgs() << "Copy across incompatible classes: " << UseMI);
  522   LLVM_DEBUG(dbgs() << "Defined/Used lanes:\n"; for (unsigned RegIdx = 0;
  528            << " Used: " << PrintLaneMask(Info.UsedLanes)
  529            << " Def: " << PrintLaneMask(Info.DefinedLanes) << '\n';
  530   } dbgs() << "\n";);
  546                      << "Marking operand '" << MO << "' as dead in " << MI);
  546                      << "Marking operand '" << MO << "' as dead in " << MI);
  553                        << "Marking operand '" << MO << "' as undef in " << MI);
  553                        << "Marking operand '" << MO << "' as undef in " << MI);
  557                        << "Marking operand '" << MO << "' as undef in " << MI);
  557                        << "Marking operand '" << MO << "' as undef in " << MI);
  578     LLVM_DEBUG(dbgs() << "Skipping Detect dead lanes pass\n");
lib/CodeGen/EarlyIfConversion.cpp
  203     LLVM_DEBUG(dbgs() << printMBBReference(*MBB) << " has live-ins.\n");
  217       LLVM_DEBUG(dbgs() << printMBBReference(*MBB) << " has more than "
  218                         << BlockInstrLimit << " instructions.\n");
  224       LLVM_DEBUG(dbgs() << "Can't hoist: " << *I);
  232       LLVM_DEBUG(dbgs() << "Won't speculate load: " << *I);
  239       LLVM_DEBUG(dbgs() << "Can't speculate: " << *I);
  257       LLVM_DEBUG(dbgs() << "Won't speculate regmask: " << *I);
  275       LLVM_DEBUG(dbgs() << printMBBReference(*I->getParent()) << " depends on "
  278       LLVM_DEBUG(dbgs() << "Can't insert instructions below terminator.\n");
  297     LLVM_DEBUG(dbgs() << printMBBReference(*MBB) << " has live-ins.\n");
  312       LLVM_DEBUG(dbgs() << printMBBReference(*MBB) << " has more than "
  313                         << BlockInstrLimit << " instructions.\n");
  319       LLVM_DEBUG(dbgs() << "Can't predicate: " << *I);
  373       LLVM_DEBUG(dbgs() << "Can't insert code after " << *I);
  408         dbgs() << "Would clobber";
  412         dbgs() << " live before " << *I;
  419     LLVM_DEBUG(dbgs() << "Can insert before " << *I);
  422   LLVM_DEBUG(dbgs() << "No legal insertion point found.\n");
  455     LLVM_DEBUG(dbgs() << "\nDiamond: " << printMBBReference(*Head) << " -> "
  455     LLVM_DEBUG(dbgs() << "\nDiamond: " << printMBBReference(*Head) << " -> "
  456                       << printMBBReference(*Succ0) << "/"
  457                       << printMBBReference(*Succ1) << " -> "
  462       LLVM_DEBUG(dbgs() << "Tail has live-ins.\n");
  466     LLVM_DEBUG(dbgs() << "\nTriangle: " << printMBBReference(*Head) << " -> "
  466     LLVM_DEBUG(dbgs() << "\nTriangle: " << printMBBReference(*Head) << " -> "
  467                       << printMBBReference(*Succ0) << " -> "
  475     LLVM_DEBUG(dbgs() << "No phis in tail.\n");
  482     LLVM_DEBUG(dbgs() << "Branch not analyzable.\n");
  488     LLVM_DEBUG(dbgs() << "AnalyzeBranch didn't find conditional branch.\n");
  495     LLVM_DEBUG(dbgs() << "AnalyzeBranch found an unconditional branch.\n");
  524       LLVM_DEBUG(dbgs() << "Can't convert: " << *PI.PHI);
  568     LLVM_DEBUG(dbgs() << "If-converting " << *PI.PHI);
  571     LLVM_DEBUG(dbgs() << "          --> " << *std::prev(FirstTerm));
  590     LLVM_DEBUG(dbgs() << "If-converting " << *PI.PHI);
  600       LLVM_DEBUG(dbgs() << "          --> " << *std::prev(FirstTerm));
  614     LLVM_DEBUG(dbgs() << "          --> " << *PI.PHI);
  678     LLVM_DEBUG(dbgs() << "Joining tail " << printMBBReference(*Tail)
  679                       << " into head " << printMBBReference(*Head) << '\n');
  687     LLVM_DEBUG(dbgs() << "Converting to unconditional branch.\n");
  808   LLVM_DEBUG(dbgs() << "TBB: " << TBBTrace << "FBB: " << FBBTrace);
  808   LLVM_DEBUG(dbgs() << "TBB: " << TBBTrace << "FBB: " << FBBTrace);
  822   LLVM_DEBUG(dbgs() << "Resource length " << ResLength
  823                     << ", minimal critical path " << MinCrit << '\n');
  825     LLVM_DEBUG(dbgs() << "Not enough available ILP.\n");
  835   LLVM_DEBUG(dbgs() << "Branch depth: " << BranchDepth << '\n');
  844     LLVM_DEBUG(dbgs() << "Slack " << Slack << ":\t" << *PI.PHI);
  844     LLVM_DEBUG(dbgs() << "Slack " << Slack << ":\t" << *PI.PHI);
  850       LLVM_DEBUG(dbgs() << "Condition adds " << Extra << " cycles.\n");
  850       LLVM_DEBUG(dbgs() << "Condition adds " << Extra << " cycles.\n");
  852         LLVM_DEBUG(dbgs() << "Exceeds limit of " << CritLimit << '\n');
  861       LLVM_DEBUG(dbgs() << "TBB data adds " << Extra << " cycles.\n");
  861       LLVM_DEBUG(dbgs() << "TBB data adds " << Extra << " cycles.\n");
  863         LLVM_DEBUG(dbgs() << "Exceeds limit of " << CritLimit << '\n');
  872       LLVM_DEBUG(dbgs() << "FBB data adds " << Extra << " cycles.\n");
  872       LLVM_DEBUG(dbgs() << "FBB data adds " << Extra << " cycles.\n");
  874         LLVM_DEBUG(dbgs() << "Exceeds limit of " << CritLimit << '\n');
  899   LLVM_DEBUG(dbgs() << "********** EARLY IF-CONVERSION **********\n"
  900                     << "********** Function: " << MF.getName() << '\n');
 1034   LLVM_DEBUG(dbgs() << "********** EARLY IF-PREDICATOR **********\n"
 1035                     << "********** Function: " << MF.getName() << '\n');
lib/CodeGen/EdgeBundles.cpp
   79   O << "digraph {\n";
   82     O << "\t\"" << printMBBReference(MBB) << "\" [ shape=box ]\n"
   82     O << "\t\"" << printMBBReference(MBB) << "\" [ shape=box ]\n"
   83       << '\t' << G.getBundle(BB, false) << " -> \"" << printMBBReference(MBB)
   84       << "\"\n"
   85       << "\t\"" << printMBBReference(MBB) << "\" -> " << G.getBundle(BB, true)
   85       << "\t\"" << printMBBReference(MBB) << "\" -> " << G.getBundle(BB, true)
   89       O << "\t\"" << printMBBReference(MBB) << "\" -> \""
   89       O << "\t\"" << printMBBReference(MBB) << "\" -> \""
   90         << printMBBReference(**SI) << "\" [ color=lightgray ]\n";
   92   O << "}\n";
lib/CodeGen/ExecutionDomainFix.cpp
  164     LLVM_DEBUG(dbgs() << printMBBReference(*MBB) << ": entry\n");
  204                     << (!TraversedMBB.IsDone ? ": incomplete\n"
  248       LLVM_DEBUG(dbgs() << printReg(RC->getRegister(rx), TRI) << ":\t" << *MI);
  422   LLVM_DEBUG(dbgs() << "********** FIX EXECUTION DOMAIN: "
  423                     << TRI->getRegClassName(RC) << " **********\n");
  423                     << TRI->getRegClassName(RC) << " **********\n");
lib/CodeGen/ExpandPostRAPseudos.cpp
   95   LLVM_DEBUG(dbgs() << "subreg: CONVERTING: " << *MI);
  101     LLVM_DEBUG(dbgs() << "subreg: replaced by: " << *MI);
  114       LLVM_DEBUG(dbgs() << "subreg: replace by: " << *MI);
  117     LLVM_DEBUG(dbgs() << "subreg: eliminated!");
  126     LLVM_DEBUG(dbgs() << "subreg: " << *CopyMI);
  137     LLVM_DEBUG(dbgs() << "dead copy: " << *MI);
  139     LLVM_DEBUG(dbgs() << "replaced by: " << *MI);
  148     LLVM_DEBUG(dbgs() << (IdentityCopy ? "identity copy: " : "undef copy:    ")
  156       LLVM_DEBUG(dbgs() << "replaced by:   " << *MI);
  164   LLVM_DEBUG(dbgs() << "real copy:   " << *MI);
  172     dbgs() << "replaced by: " << *(--dMI);
  182   LLVM_DEBUG(dbgs() << "Machine Function\n"
  183                     << "********** EXPANDING POST-RA PSEUDO INSTRS **********\n"
  184                     << "********** Function: " << MF.getName() << '\n');
lib/CodeGen/FaultMaps.cpp
   64   LLVM_DEBUG(dbgs() << "********** Fault Map Output **********\n");
   71   LLVM_DEBUG(dbgs() << WFMP << "#functions = " << FunctionInfos.size() << "\n");
   71   LLVM_DEBUG(dbgs() << WFMP << "#functions = " << FunctionInfos.size() << "\n");
   71   LLVM_DEBUG(dbgs() << WFMP << "#functions = " << FunctionInfos.size() << "\n");
   74   LLVM_DEBUG(dbgs() << WFMP << "functions:\n");
   74   LLVM_DEBUG(dbgs() << WFMP << "functions:\n");
   84   LLVM_DEBUG(dbgs() << WFMP << "  function addr: " << *FnLabel << "\n");
   84   LLVM_DEBUG(dbgs() << WFMP << "  function addr: " << *FnLabel << "\n");
   84   LLVM_DEBUG(dbgs() << WFMP << "  function addr: " << *FnLabel << "\n");
   87   LLVM_DEBUG(dbgs() << WFMP << "  #faulting PCs: " << FFI.size() << "\n");
   87   LLVM_DEBUG(dbgs() << WFMP << "  #faulting PCs: " << FFI.size() << "\n");
   87   LLVM_DEBUG(dbgs() << WFMP << "  #faulting PCs: " << FFI.size() << "\n");
   93     LLVM_DEBUG(dbgs() << WFMP << "    fault type: "
   93     LLVM_DEBUG(dbgs() << WFMP << "    fault type: "
   94                       << faultTypeToString(Fault.Kind) << "\n");
   94                       << faultTypeToString(Fault.Kind) << "\n");
   97     LLVM_DEBUG(dbgs() << WFMP << "    faulting PC offset: "
   97     LLVM_DEBUG(dbgs() << WFMP << "    faulting PC offset: "
   98                       << *Fault.FaultingOffsetExpr << "\n");
  101     LLVM_DEBUG(dbgs() << WFMP << "    fault handler PC offset: "
  101     LLVM_DEBUG(dbgs() << WFMP << "    fault handler PC offset: "
  102                       << *Fault.HandlerOffsetExpr << "\n");
  123   OS << "Fault kind: "
  124      << FaultMaps::faultTypeToString((FaultMaps::FaultKind)FFI.getFaultKind())
  125      << ", faulting PC offset: " << FFI.getFaultingPCOffset()
  126      << ", handling PC offset: " << FFI.getHandlerPCOffset();
  132   OS << "FunctionAddress: " << format_hex(FI.getFunctionAddr(), 8)
  133      << ", NumFaultingPCs: " << FI.getNumFaultingPCs() << "\n";
  133      << ", NumFaultingPCs: " << FI.getNumFaultingPCs() << "\n";
  135     OS << FI.getFunctionFaultInfoAt(i) << "\n";
  140   OS << "Version: " << format_hex(FMP.getFaultMapVersion(), 2) << "\n";
  140   OS << "Version: " << format_hex(FMP.getFaultMapVersion(), 2) << "\n";
  141   OS << "NumFunctions: " << FMP.getNumFunctions() << "\n";
  141   OS << "NumFunctions: " << FMP.getNumFunctions() << "\n";
lib/CodeGen/GCMetadata.cpp
  111   OS << "GC roots for " << FD->getFunction().getName() << ":\n";
  111   OS << "GC roots for " << FD->getFunction().getName() << ":\n";
  115     OS << "\t" << RI->Num << "\t" << RI->StackOffset << "[sp]\n";
  115     OS << "\t" << RI->Num << "\t" << RI->StackOffset << "[sp]\n";
  115     OS << "\t" << RI->Num << "\t" << RI->StackOffset << "[sp]\n";
  117   OS << "GC safe points for " << FD->getFunction().getName() << ":\n";
  117   OS << "GC safe points for " << FD->getFunction().getName() << ":\n";
  121     OS << "\t" << PI->Label->getName() << ": " << "post-call"
  121     OS << "\t" << PI->Label->getName() << ": " << "post-call"
  121     OS << "\t" << PI->Label->getName() << ": " << "post-call"
  122        << ", live = {";
  127       OS << " " << RI->Num;
  130       OS << ",";
  133     OS << " }\n";
lib/CodeGen/GlobalISel/CSEInfo.cpp
  153     LLVM_DEBUG(dbgs() << "CSEInfo::Found Instr " << *Inst->MI;);
  172     LLVM_DEBUG(dbgs() << "CSEInfo::Recording new MI " << *MI);
  179   LLVM_DEBUG(dbgs() << "CSEInfo::Handling recorded MI " << *MI);
  238       LLVM_DEBUG(dbgs() << "CSEInfo::Add MI: " << MI);
  261     dbgs() << "CSEInfo::CSE Hit for Opc " << It.first << " : " << It.second
  261     dbgs() << "CSEInfo::CSE Hit for Opc " << It.first << " : " << It.second
  262            << "\n";
lib/CodeGen/GlobalISel/CallLowering.cpp
  334                        << "Incoming promoted vector arg has too many elts");
  361             << "Load/store a split arg to/from the stack not implemented yet");
  388       LLVM_DEBUG(dbgs() << "Cannot analyze " << EVT(VT).getEVTString()
  389                         << " (arg number = " << i << "\n");
  389                         << " (arg number = " << i << "\n");
lib/CodeGen/GlobalISel/Combiner.cpp
   65     LLVM_DEBUG(dbgs() << "Erasing: " << MI << "\n");
   65     LLVM_DEBUG(dbgs() << "Erasing: " << MI << "\n");
   69     LLVM_DEBUG(dbgs() << "Creating: " << MI << "\n");
   69     LLVM_DEBUG(dbgs() << "Creating: " << MI << "\n");
   74     LLVM_DEBUG(dbgs() << "Changing: " << MI << "\n");
   74     LLVM_DEBUG(dbgs() << "Changing: " << MI << "\n");
   78     LLVM_DEBUG(dbgs() << "Changed: " << MI << "\n");
   78     LLVM_DEBUG(dbgs() << "Changed: " << MI << "\n");
   85       dbgs() << "Created: ";
  113   LLVM_DEBUG(dbgs() << "Generic MI Combiner for: " << MF.getName() << '\n');
  140           LLVM_DEBUG(dbgs() << *CurMI << "Is dead; erasing.\n");
  151       LLVM_DEBUG(dbgs() << "\nTry combining " << *CurrInst;);
lib/CodeGen/GlobalISel/CombinerHelper.cpp
  419   LLVM_DEBUG(dbgs() << "Preferred use is: " << *Preferred.MI);
  571   LLVM_DEBUG(dbgs() << "Searching for post-indexing opportunity for: " << MI);
  580       LLVM_DEBUG(dbgs() << "    Ignoring candidate with illegal addrmode: "
  590       LLVM_DEBUG(dbgs() << "    Ignoring candidate with offset after mem-op: "
  609           dbgs() << "    Ignoring candidate as memop does not dominate uses: "
  614     LLVM_DEBUG(dbgs() << "    Found match: " << Use);
  641   LLVM_DEBUG(dbgs() << "Found potential pre-indexed load_store: " << MI);
  645     LLVM_DEBUG(dbgs() << "    Skipping, not legal for target");
  651     LLVM_DEBUG(dbgs() << "    Skipping, frame index would need copy anyway.");
  658       LLVM_DEBUG(dbgs() << "    Skipping, storing base so need copy anyway.");
  665       LLVM_DEBUG(dbgs() << "    Skipping, does not dominate all addr uses");
  675       LLVM_DEBUG(dbgs() << "    Skipping, does not dominate all addr uses.");
  731   LLVM_DEBUG(dbgs() << "    Combinined to indexed operation");
 1095   LLVM_DEBUG(dbgs() << "Inlining memcpy: " << MI << " into loads & stores\n");
 1095   LLVM_DEBUG(dbgs() << "Inlining memcpy: " << MI << " into loads & stores\n");
 1202   LLVM_DEBUG(dbgs() << "Inlining memmove: " << MI << " into loads & stores\n");
 1202   LLVM_DEBUG(dbgs() << "Inlining memmove: " << MI << " into loads & stores\n");
lib/CodeGen/GlobalISel/GISelKnownBits.cpp
  317           dbgs() << '[' << Depth << "] Shift not known constant: " << *RHSMI);
  321     LLVM_DEBUG(dbgs() << '[' << Depth << "] Shift is " << Shift << '\n');
  366   LLVM_DEBUG(dbgs() << "[" << Depth << "] Compute known bits: " << MI << "["
  366   LLVM_DEBUG(dbgs() << "[" << Depth << "] Compute known bits: " << MI << "["
  366   LLVM_DEBUG(dbgs() << "[" << Depth << "] Compute known bits: " << MI << "["
  367                     << Depth << "] Computed for: " << MI << "[" << Depth
  367                     << Depth << "] Computed for: " << MI << "[" << Depth
  368                     << "] Known: 0x"
  369                     << (Known.Zero | Known.One).toString(16, false) << "\n"
  370                     << "[" << Depth << "] Zero: 0x"
  370                     << "[" << Depth << "] Zero: 0x"
  371                     << Known.Zero.toString(16, false) << "\n"
  372                     << "[" << Depth << "] One:  0x"
  372                     << "[" << Depth << "] One:  0x"
  373                     << Known.One.toString(16, false) << "\n");
lib/CodeGen/GlobalISel/IRTranslator.cpp
  137     LLVM_DEBUG(dbgs() << "Checking DILocation from " << *CurrInst
  138                       << " was copied to " << MI);
  472     dbgs() << "Case clusters: ";
  475         dbgs() << "JT:";
  477         dbgs() << "BT:";
  808       LLVM_DEBUG(dbgs() << "Switch to bit test optimization unimplemented");
  815         LLVM_DEBUG(dbgs() << "Failed to lower jump table");
  824         LLVM_DEBUG(dbgs() << "Failed to lower switch range");
 1323       LLVM_DEBUG(dbgs() << "Dropping debug info for " << DI << "\n");
 1323       LLVM_DEBUG(dbgs() << "Dropping debug info for " << DI << "\n");
lib/CodeGen/GlobalISel/InstructionSelect.cpp
   72   LLVM_DEBUG(dbgs() << "Selecting function: " << MF.getName() << '\n');
  125       LLVM_DEBUG(dbgs() << "Selecting: \n  " << MI);
  130         LLVM_DEBUG(dbgs() << "Is dead; erasing.\n");
  145         dbgs() << "Into:\n";
  147           dbgs() << "  " << InsertedMI;
  245     dbgs() << "Rules covered by selecting function: " << MF.getName() << ":";
  245     dbgs() << "Rules covered by selecting function: " << MF.getName() << ":";
  247       dbgs() << " id" << RuleID;
  248     dbgs() << "\n\n";
lib/CodeGen/GlobalISel/Legalizer.cpp
  110     LLVM_DEBUG(dbgs() << ".. .. New MI: " << MI);
  118         dbgs() << ".. .. New MI: " << *MI;
  124     LLVM_DEBUG(dbgs() << ".. .. Erasing: " << MI);
  130     LLVM_DEBUG(dbgs() << ".. .. Changing MI: " << MI);
  136     LLVM_DEBUG(dbgs() << ".. .. Changed MI: " << MI);
  147   LLVM_DEBUG(dbgs() << "Legalize Machine IR for: " << MF.getName() << '\n');
  223         LLVM_DEBUG(dbgs() << MI << "Is dead; erasing.\n");
  262         LLVM_DEBUG(dbgs() << MI << "Is dead\n");
  272           LLVM_DEBUG(dbgs() << *DeadMI << "Is dead\n");
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
   84   LLVM_DEBUG(dbgs() << "Legalizing: "; MI.print(dbgs()));
   93     LLVM_DEBUG(dbgs() << ".. Already legal\n");
   96     LLVM_DEBUG(dbgs() << ".. Convert to libcall\n");
   99     LLVM_DEBUG(dbgs() << ".. Narrow scalar\n");
  102     LLVM_DEBUG(dbgs() << ".. Widen scalar\n");
  105     LLVM_DEBUG(dbgs() << ".. Lower\n");
  108     LLVM_DEBUG(dbgs() << ".. Reduce number of elements\n");
  111     LLVM_DEBUG(dbgs() << ".. Increase number of elements\n");
  114     LLVM_DEBUG(dbgs() << ".. Custom legalization\n");
  118     LLVM_DEBUG(dbgs() << ".. Unable to legalize\n");
  528       LLVM_DEBUG(dbgs() << "Size " << Size << " too large to legalize.\n");
  528       LLVM_DEBUG(dbgs() << "Size " << Size << " too large to legalize.\n");
  671       LLVM_DEBUG(dbgs() << "Can't narrow sext to type " << NarrowTy << "\n");
  671       LLVM_DEBUG(dbgs() << "Can't narrow sext to type " << NarrowTy << "\n");
  709       LLVM_DEBUG(dbgs() << "Can't narrow trunc to type " << NarrowTy << "\n");
  709       LLVM_DEBUG(dbgs() << "Can't narrow trunc to type " << NarrowTy << "\n");
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
   48     OS << "Legal";
   51     OS << "NarrowScalar";
   54     OS << "WidenScalar";
   57     OS << "FewerElements";
   60     OS << "MoreElements";
   63     OS << "Lower";
   66     OS << "Libcall";
   69     OS << "Custom";
   72     OS << "Unsupported";
   75     OS << "NotFound";
   78     OS << "UseLegacyRules";
   85   OS << Opcode << ", Tys={";
   87     OS << Type << ", ";
   89   OS << "}, Opcode=";
   91   OS << Opcode << ", MMOs={";
   93     OS << MMODescr.SizeInBits << ", ";
   95   OS << "}";
  181   LLVM_DEBUG(dbgs() << "Applying legalizer ruleset to: "; Query.print(dbgs());
  182              dbgs() << "\n");
  184     LLVM_DEBUG(dbgs() << ".. fallback to legacy rules (no rules defined)\n");
  189       LLVM_DEBUG(dbgs() << ".. match\n");
  191       LLVM_DEBUG(dbgs() << ".. .. " << Rule.getAction() << ", "
  191       LLVM_DEBUG(dbgs() << ".. .. " << Rule.getAction() << ", "
  192                         << Mutation.first << ", " << Mutation.second << "\n");
  192                         << Mutation.first << ", " << Mutation.second << "\n");
  198       LLVM_DEBUG(dbgs() << ".. no match\n");
  200   LLVM_DEBUG(dbgs() << ".. unsupported\n");
  208         dbgs() << ".. type index coverage check SKIPPED: no rules defined\n");
  213     LLVM_DEBUG(dbgs() << ".. type index coverage check SKIPPED:"
  219     LLVM_DEBUG(dbgs() << ".. the first uncovered type index: " << FirstUncovered
  220                       << ", " << (AllCovered ? "OK" : "FAIL") << "\n");
  220                       << ", " << (AllCovered ? "OK" : "FAIL") << "\n");
  220                       << ", " << (AllCovered ? "OK" : "FAIL") << "\n");
  231         dbgs() << ".. imm index coverage check SKIPPED: no rules defined\n");
  236     LLVM_DEBUG(dbgs() << ".. imm index coverage check SKIPPED:"
  241   LLVM_DEBUG(dbgs() << ".. the first uncovered imm index: " << FirstUncovered
  242                     << ", " << (AllCovered ? "OK" : "FAIL") << "\n");
  242                     << ", " << (AllCovered ? "OK" : "FAIL") << "\n");
  242                     << ", " << (AllCovered ? "OK" : "FAIL") << "\n");
  410     LLVM_DEBUG(dbgs() << ".. opcode " << Opcode << " is aliased to " << Alias
  410     LLVM_DEBUG(dbgs() << ".. opcode " << Opcode << " is aliased to " << Alias
  411                       << "\n");
  465       LLVM_DEBUG(dbgs() << ".. (legacy) Type " << i << " Action="
  465       LLVM_DEBUG(dbgs() << ".. (legacy) Type " << i << " Action="
  466                         << Action.first << ", " << Action.second << "\n");
  466                         << Action.first << ", " << Action.second << "\n");
  469       LLVM_DEBUG(dbgs() << ".. (legacy) Type " << i << " Legal\n");
  469       LLVM_DEBUG(dbgs() << ".. (legacy) Type " << i << " Legal\n");
  471   LLVM_DEBUG(dbgs() << ".. (legacy) Legal\n");
  708     LLVM_DEBUG(dbgs() << MII.getName(Opcode) << " (opcode " << Opcode
  709                       << "): " << NumTypeIdxs << " type ind"
  709                       << "): " << NumTypeIdxs << " type ind"
  710                       << (NumTypeIdxs == 1 ? "ex" : "ices") << ", "
  710                       << (NumTypeIdxs == 1 ? "ex" : "ices") << ", "
  711                       << NumImmIdxs << " imm ind"
  712                       << (NumImmIdxs == 1 ? "ex" : "ices") << "\n");
  712                       << (NumImmIdxs == 1 ? "ex" : "ices") << "\n");
  720     errs() << "The following opcodes have ill-defined legalization rules:";
  722       errs() << " " << MII.getName(Opcode);
  723     errs() << "\n";
lib/CodeGen/GlobalISel/Localizer.cpp
  121     LLVM_DEBUG(dbgs() << "Should localize: " << MI);
  134                  dbgs() << "Checking use: " << MIUse
  135                         << " #Opd: " << MIUse.getOperandNo(&MOUse) << '\n');
  138       LLVM_DEBUG(dbgs() << "Fixing non-local use\n");
  159         LLVM_DEBUG(dbgs() << "Inserted: " << *LocalizedMI);
  161       LLVM_DEBUG(dbgs() << "Update use with: " << printReg(NewVRegIt->second)
  198     LLVM_DEBUG(dbgs() << "Intra-block: moving " << *MI << " before " << *&*II
  198     LLVM_DEBUG(dbgs() << "Intra-block: moving " << *MI << " before " << *&*II
  199                       << "\n");
  214   LLVM_DEBUG(dbgs() << "Localize instructions for: " << MF.getName() << '\n');
lib/CodeGen/GlobalISel/RegBankSelect.cpp
   77       LLVM_DEBUG(dbgs() << "RegBankSelect mode overrided by command line\n");
  125   LLVM_DEBUG(dbgs() << "Does assignment already match: ";
  126              if (CurRegBank) dbgs() << *CurRegBank; else dbgs() << "none";
  127              dbgs() << " against ";
  166     LLVM_DEBUG(dbgs() << "Copy: " << printReg(Src) << " to: " << printReg(Dst)
  166     LLVM_DEBUG(dbgs() << "Copy: " << printReg(Src) << " to: " << printReg(Dst)
  302       LLVM_DEBUG(dbgs() << "New best: " << CurCost << '\n');
  454   LLVM_DEBUG(dbgs() << "Evaluating mapping cost for: " << MI);
  455   LLVM_DEBUG(dbgs() << "With: " << InstrMapping << '\n');
  458     LLVM_DEBUG(dbgs() << "Mapping is too expensive from the start\n");
  474     LLVM_DEBUG(dbgs() << "Opd" << OpIdx << '\n');
  480       LLVM_DEBUG(dbgs() << "=> is free (match).\n");
  484       LLVM_DEBUG(dbgs() << "=> is free (simple assignment).\n");
  503       LLVM_DEBUG(dbgs() << "Mapping involves impossible repairing\n");
  566         LLVM_DEBUG(dbgs() << "Mapping is too expensive, stop processing\n");
  576   LLVM_DEBUG(dbgs() << "Total cost is: " << Cost << "\n");
  576   LLVM_DEBUG(dbgs() << "Total cost is: " << Cost << "\n");
  616   LLVM_DEBUG(dbgs() << "Actual mapping of the operands: " << OpdMapper << '\n');
  623   LLVM_DEBUG(dbgs() << "Assign: " << MI);
  644   LLVM_DEBUG(dbgs() << "Best Mapping: " << *BestMapping << '\n');
  657   LLVM_DEBUG(dbgs() << "Assign register banks for: " << MF.getName() << '\n');
  706           LLVM_DEBUG(dbgs() << "Instruction mapping changed control flow\n");
 1065     OS << "impossible";
 1069     OS << "saturated";
 1072   OS << LocalFreq << " * " << LocalCost << " + " << NonLocalCost;
 1072   OS << LocalFreq << " * " << LocalCost << " + " << NonLocalCost;
lib/CodeGen/GlobalISel/RegisterBank.cpp
   88   OS << getName();
   91   OS << "(ID:" << getID() << ", Size:" << getSize() << ")\n"
   91   OS << "(ID:" << getID() << ", Size:" << getSize() << ")\n"
   91   OS << "(ID:" << getID() << ", Size:" << getSize() << ")\n"
   92      << "isValid:" << isValid() << '\n'
   93      << "Number of Covered register classes: " << ContainedRegClasses.count()
  102   OS << "Covered register classes:\n";
  110       OS << ", ";
  111     OS << TRI->getRegClassName(&RC);
lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
   75     LLVM_DEBUG(dbgs() << "Verify " << RegBank << '\n');
  436   LLVM_DEBUG(dbgs() << "Applying default-like mapping\n");
  440     LLVM_DEBUG(dbgs() << "OpIdx " << OpIdx);
  443       LLVM_DEBUG(dbgs() << " is not a register, nothing to be done\n");
  447       LLVM_DEBUG(dbgs() << " is %%noreg, nothing to be done\n");
  459       LLVM_DEBUG(dbgs() << " has not been repaired, nothing to be done\n");
  464     LLVM_DEBUG(dbgs() << " changed, replace " << printReg(OrigReg, nullptr));
  466     LLVM_DEBUG(dbgs() << " with " << printReg(NewReg, nullptr));
  480       LLVM_DEBUG(dbgs() << "\nChange type of new opd from " << NewTy << " to "
  480       LLVM_DEBUG(dbgs() << "\nChange type of new opd from " << NewTy << " to "
  523   OS << "[" << StartIdx << ", " << getHighBitIdx() << "], RegBank = ";
  523   OS << "[" << StartIdx << ", " << getHighBitIdx() << "], RegBank = ";
  523   OS << "[" << StartIdx << ", " << getHighBitIdx() << "], RegBank = ";
  527     OS << "nullptr";
  580   OS << "#BreakDown: " << NumBreakDowns << " ";
  580   OS << "#BreakDown: " << NumBreakDowns << " ";
  584       OS << ", ";
  634   OS << "ID: " << getID() << " Cost: " << getCost() << " Mapping: ";
  634   OS << "ID: " << getID() << " Cost: " << getCost() << " Mapping: ";
  634   OS << "ID: " << getID() << " Cost: " << getCost() << " Mapping: ";
  639       OS << ", ";
  640     OS << "{ Idx: " << OpIdx << " Map: " << ValMapping << '}';
  640     OS << "{ Idx: " << OpIdx << " Map: " << ValMapping << '}';
  760     OS << "Mapping for " << getMI() << "\nwith " << getInstrMapping() << '\n';
  760     OS << "Mapping for " << getMI() << "\nwith " << getInstrMapping() << '\n';
  762     OS << "Populated indices (CellNumber, IndexInNewVRegs): ";
  767           OS << ", ";
  768         OS << '(' << Idx << ", " << OpToNewVRegIdx[Idx] << ')';
  774     OS << "Mapping ID: " << getInstrMapping().getID() << ' ';
  776   OS << "Operand Mapping: ";
  788       OS << ", ";
  790     OS << '(' << printReg(getMI().getOperand(Idx).getReg(), TRI) << ", [";
  794         OS << ", ";
  798     OS << "])";
lib/CodeGen/GlobalISel/Utils.cpp
  128     LLVM_DEBUG(dbgs() << "Converting operand: " << MO << '\n');
lib/CodeGen/GlobalMerge.cpp
  445   LLVM_DEBUG(dbgs() << " Trying to merge set, starts with #"
  446                     << GlobalSet.find_first() << "\n");
lib/CodeGen/HardwareLoops.cpp
  178   LLVM_DEBUG(dbgs() << "HWLoops: Running on " << F.getName() << "\n");
  178   LLVM_DEBUG(dbgs() << "HWLoops: Running on " << F.getName() << "\n");
  234   LLVM_DEBUG(dbgs() << "HWLoops: Try to convert profitable loop: " << *L);
  259   LLVM_DEBUG(dbgs() << "HWLoops: Converting loop..\n");
  297   LLVM_DEBUG(dbgs() << " - Found condition: " << *ICmp << "\n");
  297   LLVM_DEBUG(dbgs() << " - Found condition: " << *ICmp << "\n");
  318   LLVM_DEBUG(dbgs() << "HWLoops: Initialising loop counter value:\n");
  335     LLVM_DEBUG(dbgs() << " - Attempting to use test.set counter.\n");
  346     LLVM_DEBUG(dbgs() << "- Bailing, unsafe to expand ExitCount "
  347                << *ExitCount << "\n");
  363   LLVM_DEBUG(dbgs() << " - Loop Count: " << *Count << "\n"
  363   LLVM_DEBUG(dbgs() << " - Loop Count: " << *Count << "\n"
  364              << " - Expanded Count in " << BB->getName() << "\n"
  364              << " - Expanded Count in " << BB->getName() << "\n"
  365              << " - Will insert set counter intrinsic into: "
  366              << BeginBB->getName() << "\n");
  388   LLVM_DEBUG(dbgs() << "HWLoops: Inserted loop counter: "
  389              << *SetCount << "\n");
  411   LLVM_DEBUG(dbgs() << "HWLoops: Inserted loop dec: " << *NewCond << "\n");
  411   LLVM_DEBUG(dbgs() << "HWLoops: Inserted loop dec: " << *NewCond << "\n");
  425   LLVM_DEBUG(dbgs() << "HWLoops: Inserted loop dec: " << *Call << "\n");
  425   LLVM_DEBUG(dbgs() << "HWLoops: Inserted loop dec: " << *Call << "\n");
  437   LLVM_DEBUG(dbgs() << "HWLoops: PHI Counter: " << *Index << "\n");
  437   LLVM_DEBUG(dbgs() << "HWLoops: PHI Counter: " << *Index << "\n");
lib/CodeGen/IfConversion.cpp
  309           LLVM_DEBUG(dbgs() << "Common inst: " << I);
  313           LLVM_DEBUG(dbgs() << "Common inst: " << I);
  323             LLVM_DEBUG(dbgs() << "Saving branch: " << I);
  326             LLVM_DEBUG(dbgs() << "Common inst: " << I);
  332             LLVM_DEBUG(dbgs() << "Saving branch: " << I);
  335             LLVM_DEBUG(dbgs() << "Common inst: " << I);
  341             LLVM_DEBUG(dbgs() << "Saving branch: " << I);
  354             LLVM_DEBUG(dbgs() << "Predicating: " << I);
  360             LLVM_DEBUG(dbgs() << "Predicating: " << I);
  375         LLVM_DEBUG(dbgs() << "MeetIfcvtSizeLimit(BranchBytes=" << BranchBytes
  376                           << ", CommonBytes=" << CommonBytes
  377                           << ", NumPredicatedInstructions="
  379                           << ", ExtraPredicateBytes=" << ExtraPredicateBytes
  380                           << ")\n");
  389         LLVM_DEBUG(dbgs() << "MeetIfcvtSizeLimit(TCycle=" << TCycle
  390                           << ", FCycle=" << FCycle
  391                           << ", TExtra=" << TBBInfo.ExtraCost2 << ", FExtra="
  391                           << ", TExtra=" << TBBInfo.ExtraCost2 << ", FExtra="
  392                           << FBBInfo.ExtraCost2 << ") = " << Res << "\n");
  392                           << FBBInfo.ExtraCost2 << ") = " << Res << "\n");
  464   LLVM_DEBUG(dbgs() << "\nIfcvt: function (" << ++FnNum << ") \'"
  464   LLVM_DEBUG(dbgs() << "\nIfcvt: function (" << ++FnNum << ") \'"
  465                     << MF.getName() << "\'");
  468     LLVM_DEBUG(dbgs() << " skipped\n");
  471   LLVM_DEBUG(dbgs() << "\n");
  509         LLVM_DEBUG(dbgs() << "Ifcvt (Simple"
  510                           << (Kind == ICSimpleFalse ? " false" : "")
  511                           << "): " << printMBBReference(*BBI.BB) << " ("
  511                           << "): " << printMBBReference(*BBI.BB) << " ("
  514                           << ") ");
  516         LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n");
  516         LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n");
  533         LLVM_DEBUG(dbgs() << "Ifcvt (Triangle");
  535           LLVM_DEBUG(dbgs() << " false");
  537           LLVM_DEBUG(dbgs() << " rev");
  538         LLVM_DEBUG(dbgs() << "): " << printMBBReference(*BBI.BB)
  539                           << " (T:" << BBI.TrueBB->getNumber()
  540                           << ",F:" << BBI.FalseBB->getNumber() << ") ");
  540                           << ",F:" << BBI.FalseBB->getNumber() << ") ");
  542         LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n");
  542         LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n");
  556         LLVM_DEBUG(dbgs() << "Ifcvt (Diamond): " << printMBBReference(*BBI.BB)
  557                           << " (T:" << BBI.TrueBB->getNumber()
  558                           << ",F:" << BBI.FalseBB->getNumber() << ") ");
  558                           << ",F:" << BBI.FalseBB->getNumber() << ") ");
  562         LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n");
  562         LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n");
  567         LLVM_DEBUG(dbgs() << "Ifcvt (Forked Diamond): "
  569                           << " (T:" << BBI.TrueBB->getNumber()
  570                           << ",F:" << BBI.FalseBB->getNumber() << ") ");
  570                           << ",F:" << BBI.FalseBB->getNumber() << ") ");
  574         LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n");
  574         LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n");
 2149       dbgs() << "Unable to predicate " << I << "!\n";
 2149       dbgs() << "Unable to predicate " << I << "!\n";
 2198         dbgs() << "Unable to predicate " << I << "!\n";
 2198         dbgs() << "Unable to predicate " << I << "!\n";
lib/CodeGen/InlineSpiller.cpp
  343     LLVM_DEBUG(dbgs() << "\talso spill snippet " << SnipLI << '\n');
  394   LLVM_DEBUG(dbgs() << "\tmerged orig valno " << OrigVNI->id << ": "
  394   LLVM_DEBUG(dbgs() << "\tmerged orig valno " << OrigVNI->id << ": "
  416   LLVM_DEBUG(dbgs() << "\thoisted: " << SrcVNI->def << '\t' << *MII);
  435     LLVM_DEBUG(dbgs() << "Checking redundant spills for " << VNI->id << '@'
  436                       << VNI->def << " in " << *LI << '\n');
  444     LLVM_DEBUG(dbgs() << "Merged to stack int: " << *StackInt << '\n');
  472         LLVM_DEBUG(dbgs() << "Redundant spill " << Idx << '\t' << MI);
  556     LLVM_DEBUG(dbgs() << "\tadding <undef> flags: ");
  576     LLVM_DEBUG(dbgs() << "\tcannot remat for " << UseIdx << '\t' << MI);
  584     LLVM_DEBUG(dbgs() << "\tcannot remat tied reg: " << UseIdx << '\t' << MI);
  601     LLVM_DEBUG(dbgs() << "\tcannot remat for " << UseIdx << '\t' << MI);
  618   LLVM_DEBUG(dbgs() << "\tremat:  " << DefIdx << '\t'
  629   LLVM_DEBUG(dbgs() << "\t        " << UseIdx << '\t' << MI << '\n');
  677       LLVM_DEBUG(dbgs() << "All defs dead: " << *MI);
  686   LLVM_DEBUG(dbgs() << "Remat created " << DeadDefs.size() << " dead defs.\n");
  686   LLVM_DEBUG(dbgs() << "Remat created " << DeadDefs.size() << " dead defs.\n");
  710                     << " registers to spill after remat.\n");
  732   LLVM_DEBUG(dbgs() << "Coalescing stack access: " << *MI);
  763   dbgs() << '\t' << header << ": " << NextLine;
  763   dbgs() << '\t' << header << ": " << NextLine;
  963   LLVM_DEBUG(dbgs() << "spillAroundUses " << printReg(Reg) << '\n');
  976       LLVM_DEBUG(dbgs() << "Modifying debug info due to spill:\t" << *MI);
 1010         LLVM_DEBUG(dbgs() << "Found new snippet copy: " << *MI);
 1053     LLVM_DEBUG(dbgs() << "\trewrite: " << Idx << '\t' << *MI << '\n');
 1079   LLVM_DEBUG(dbgs() << "Merged spilled regs: " << *StackInt << '\n');
 1087     LLVM_DEBUG(dbgs() << "Eliminating " << DeadDefs.size() << " dead defs\n");
 1087     LLVM_DEBUG(dbgs() << "Eliminating " << DeadDefs.size() << " dead defs\n");
 1119   LLVM_DEBUG(dbgs() << "Inline spilling "
 1120                     << TRI.getRegClassName(MRI.getRegClass(edit.getReg()))
 1121                     << ':' << edit.getParent() << "\nFrom original "
 1306   LLVM_DEBUG(dbgs() << "Orders size is " << Orders.size() << "\n");
 1306   LLVM_DEBUG(dbgs() << "Orders size is " << Orders.size() << "\n");
 1309     LLVM_DEBUG(dbgs() << "BB" << (*RIt)->getBlock()->getNumber() << ",");
 1309     LLVM_DEBUG(dbgs() << "BB" << (*RIt)->getBlock()->getNumber() << ",");
 1310   LLVM_DEBUG(dbgs() << "\n");
 1420         dbgs() << "spills in BB: ";
 1422           dbgs() << Rspill->getBlock()->getNumber() << " ";
 1423         dbgs() << "were promoted to BB" << (*RIt)->getBlock()->getNumber()
 1424                << "\n";
 1476       dbgs() << "\nFor Slot" << Slot << " and VN" << OrigVNI->id << ":\n"
 1476       dbgs() << "\nFor Slot" << Slot << " and VN" << OrigVNI->id << ":\n"
 1476       dbgs() << "\nFor Slot" << Slot << " and VN" << OrigVNI->id << ":\n"
 1477              << "Equal spills in BB: ";
 1479         dbgs() << spill->getParent()->getNumber() << " ";
 1480       dbgs() << "\n";
 1491       dbgs() << "Finally inserted spills in BB: ";
 1493         dbgs() << Ispill.first->getNumber() << " ";
 1494       dbgs() << "\nFinally removed spills in BB: ";
 1496         dbgs() << Rspill->getParent()->getNumber() << " ";
 1497       dbgs() << "\n";
lib/CodeGen/InterleavedAccessPass.cpp
  340   LLVM_DEBUG(dbgs() << "IA: Found an interleaved load: " << *LI << "\n");
  340   LLVM_DEBUG(dbgs() << "IA: Found an interleaved load: " << *LI << "\n");
  432   LLVM_DEBUG(dbgs() << "IA: Found an interleaved store: " << *SI << "\n");
  432   LLVM_DEBUG(dbgs() << "IA: Found an interleaved store: " << *SI << "\n");
  449   LLVM_DEBUG(dbgs() << "*** " << getPassName() << ": " << F.getName() << "\n");
  449   LLVM_DEBUG(dbgs() << "*** " << getPassName() << ": " << F.getName() << "\n");
  449   LLVM_DEBUG(dbgs() << "*** " << getPassName() << ": " << F.getName() << "\n");
lib/CodeGen/InterleavedLoadCombinePass.cpp
  577     OS << "[{#ErrBits:" << ErrorMSBs << "} ";
  577     OS << "[{#ErrBits:" << ErrorMSBs << "} ";
  581         OS << "(";
  582       OS << "(" << *V << ") ";
  582       OS << "(" << *V << ") ";
  587           OS << "LShr ";
  590           OS << "Mul ";
  593           OS << "SExt ";
  596           OS << "Trunc ";
  600         OS << b.second << ") ";
  604     OS << "+ " << A << "]";
  604     OS << "+ " << A << "]";
 1041       OS << "(none)";
 1042     OS << " + ";
 1044       OS << ((i == 0) ? "[" : ", ") << EI[i].Ofs;
 1045     OS << "]";
 1117   LLVM_DEBUG(dbgs() << "Checking interleaved load\n");
 1322     LLVM_DEBUG(dbgs() << "*** " << getPassName() << ": " << F.getName()
 1322     LLVM_DEBUG(dbgs() << "*** " << getPassName() << ": " << F.getName()
 1323                       << "\n");
lib/CodeGen/IntrinsicLowering.cpp
  312       errs() << "WARNING: this target does not support the llvm.stack"
  313              << (Callee->getIntrinsicID() == Intrinsic::stacksave ?
  314                "save" : "restore") << " intrinsic.\n";
  322     errs() << "WARNING: this target does not support the custom llvm.get."
  330     errs() << "WARNING: this target does not support the llvm."
  331            << (Callee->getIntrinsicID() == Intrinsic::returnaddress ?
  332              "return" : "frame") << "address intrinsic.\n";
  337     errs() << "WARNING: this target does not support the "
  349     errs() << "WARNING: this target does not support the llvm.readcyclecoun"
  350            << "ter intrinsic.  It is being lowered to a constant 0\n";
lib/CodeGen/LatencyPriorityQueue.cpp
  145   dbgs() << "Latency Priority Queue\n";
  146   dbgs() << "  Number of Queue Entries: " << Queue.size() << "\n";
  146   dbgs() << "  Number of Queue Entries: " << Queue.size() << "\n";
  148     dbgs() << "    ";
lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
   59     LLVM_DEBUG(dbgs() << "MachineBlockFrequencyInfo is available\n");
   66   LLVM_DEBUG(dbgs() << "Building MachineBlockFrequencyInfo on the fly\n");
   67   LLVM_DEBUG(if (MLI) dbgs() << "LoopInfo is available\n");
   70     LLVM_DEBUG(dbgs() << "Building LoopInfo on the fly\n");
   72     LLVM_DEBUG(if (MDT) dbgs() << "DominatorTree is available\n");
   75       LLVM_DEBUG(dbgs() << "Building DominatorTree on the fly\n");
lib/CodeGen/LexicalScopes.cpp
  325   err << "DFSIn: " << DFSIn << " DFSOut: " << DFSOut << "\n";
  325   err << "DFSIn: " << DFSIn << " DFSOut: " << DFSOut << "\n";
  325   err << "DFSIn: " << DFSIn << " DFSOut: " << DFSOut << "\n";
  330     err << std::string(Indent, ' ') << "Abstract Scope\n";
  333     err << std::string(Indent + 2, ' ') << "Children ...\n";
lib/CodeGen/LiveDebugValues.cpp
  335       dbgs() << "VarLoc(";
  343         dbgs() << "[" << Loc.SpillLocation.SpillOffset << "]";
  343         dbgs() << "[" << Loc.SpillLocation.SpillOffset << "]";
  352       dbgs() << ", \"" << Var.getVar()->getName() << "\", " << *Expr << ", ";
  352       dbgs() << ", \"" << Var.getVar()->getName() << "\", " << *Expr << ", ";
  352       dbgs() << ", \"" << Var.getVar()->getName() << "\", " << *Expr << ", ";
  354         dbgs() << "!" << Var.getInlinedAt()->getMetadataID() << ")\n";
  354         dbgs() << "!" << Var.getInlinedAt()->getMetadataID() << ")\n";
  356         dbgs() << "(null))\n";
  635   Out << '\n' << msg << '\n';
  640     Out << "MBB: " << BB.getNumber() << ":\n";
  640     Out << "MBB: " << BB.getNumber() << ":\n";
  643       Out << " Var: " << VL.Var.getVar()->getName();
  644       Out << " MI: ";
  648   Out << "\n";
  768       dbgs() << "Creating VarLoc for register copy:";
  781       dbgs() << "Creating VarLoc for spill:";
  794       dbgs() << "Creating VarLoc for restore:";
  929   LLVM_DEBUG(dbgs() << "Examining instruction: "; MI.dump(););
  963     LLVM_DEBUG(dbgs() << "Recognized as spill: "; MI.dump(););
  964     LLVM_DEBUG(dbgs() << "Register: " << Reg << " " << printReg(Reg, TRI)
  964     LLVM_DEBUG(dbgs() << "Register: " << Reg << " " << printReg(Reg, TRI)
  965                       << "\n");
  970     LLVM_DEBUG(dbgs() << "Recognized as restore: "; MI.dump(););
  971     LLVM_DEBUG(dbgs() << "Register: " << Reg << " " << printReg(Reg, TRI)
  971     LLVM_DEBUG(dbgs() << "Register: " << Reg << " " << printReg(Reg, TRI)
  972                       << "\n");
  978       LLVM_DEBUG(dbgs() << "Spilling Register " << printReg(Reg, TRI) << '('
  979                         << VarLocIDs[ID].Var.getVar()->getName() << ")\n");
  983       LLVM_DEBUG(dbgs() << "Restoring Register " << printReg(Reg, TRI) << '('
  984                         << VarLocIDs[ID].Var.getVar()->getName() << ")\n");
 1043     dbgs() << "Add to OutLocs in MBB #" << CurMBB->getNumber() << ":  ";
 1043     dbgs() << "Add to OutLocs in MBB #" << CurMBB->getNumber() << ":  ";
 1136   LLVM_DEBUG(dbgs() << "join MBB: " << MBB.getNumber() << "\n");
 1136   LLVM_DEBUG(dbgs() << "join MBB: " << MBB.getNumber() << "\n");
 1151       LLVM_DEBUG(dbgs() << "  ignoring unvisited pred MBB: " << p->getNumber()
 1152                         << "\n");
 1170           dbgs() << "  gathered candidate incoming var: "
 1171                  << VarLocIDs[ID].Var.getVar()->getName() << "\n";
 1187           dbgs() << "  killing " << Name << ", it doesn't dominate MBB\n";
 1187           dbgs() << "  killing " << Name << ", it doesn't dominate MBB\n";
 1247       LLVM_DEBUG(dbgs() << "Inserted: "; MI->dump(););
 1255   LLVM_DEBUG(dbgs() << "\nDebug Range Extension\n");
 1365     LLVM_DEBUG(dbgs() << "Processing Worklist\n");
lib/CodeGen/LiveDebugVariables.cpp
  497   CommentOS << " @[ ";
  499   CommentOS << " ]";
  516     OS << Res << "," << Line;
  520       OS << " @[";
  522       OS << "]";
  528   OS << "!\"";
  531   OS << "\"\t";
  533     OS << " [" << I.start() << ';' << I.stop() << "):";
  533     OS << " [" << I.start() << ';' << I.stop() << "):";
  535       OS << "undef";
  541     OS << " Loc" << i << '=';
  548   OS << "!\"";
  551   OS << "\"\t";
  557   OS << "********** DEBUG VARIABLES **********\n";
  560   OS << "********** DEBUG LABELS **********\n";
  604     LLVM_DEBUG(dbgs() << "Can't handle " << MI);
  623       LLVM_DEBUG(dbgs() << "Discarding debug info (no LIS interval): " << Idx
  624                         << " " << MI);
  635         LLVM_DEBUG(dbgs() << "Discarding debug info (reg not live): " << Idx
  636                           << " " << MI);
  661     LLVM_DEBUG(dbgs() << "Can't handle " << MI);
  805   LLVM_DEBUG(dbgs() << "Got " << CopyValues.size() << " copies of " << *LI
  805   LLVM_DEBUG(dbgs() << "Got " << CopyValues.size() << " copies of " << *LI
  820       LLVM_DEBUG(dbgs() << "Kill at " << Idx << " covered by valno #"
  820       LLVM_DEBUG(dbgs() << "Kill at " << Idx << " covered by valno #"
  821                         << DstVNI->id << " in " << *DstLI << '\n');
  961   LLVM_DEBUG(dbgs() << "********** COMPUTING LIVE DEBUG VARIABLES: "
  962                     << mf.getName() << " **********\n");
 1013     dbgs() << "Splitting Loc" << OldLocNo << '\t';
 1095       LLVM_DEBUG(dbgs() << "Erasing [" << LocMapI.start() << ';'
 1096                         << LocMapI.stop() << ")\n");
 1108     dbgs() << "Split result: \t";
 1352     LLVM_DEBUG(dbgs() << "\t[" << Start << ';' << Stop << "):" << Loc.locNo());
 1352     LLVM_DEBUG(dbgs() << "\t[" << Start << ';' << Stop << "):" << Loc.locNo());
 1380   LLVM_DEBUG(dbgs() << "\t" << loc);
 1390   LLVM_DEBUG(dbgs() << "********** EMITTING LIVE DEBUG VARIABLES **********\n");
 1400   LLVM_DEBUG(dbgs() << "********** EMITTING LIVE DEBUG LABELS **********\n");
lib/CodeGen/LiveInterval.cpp
 1003     OS << "EMPTY";
 1013     OS << "  ";
 1025           OS << "-phi";
 1032   OS << " L" << PrintLaneMask(LaneMask) << ' '
 1042   OS << " weight:" << weight;
 1133       OS << "Clean updater: " << *LR << '\n';
 1135       OS << "Null updater.\n";
 1139   OS << " updater with gap = " << (ReadI - WriteI)
 1140      << ", last start = " << LastStart
 1141      << ":\n  Area 1:";
 1144   OS << "\n  Spills:";
 1147   OS << "\n  Area 2:";
lib/CodeGen/LiveIntervalUnion.cpp
   84     OS << " empty\n";
   88     OS << " [" << SI.start() << ' ' << SI.stop() << "):"
   88     OS << " [" << SI.start() << ' ' << SI.stop() << "):"
lib/CodeGen/LiveIntervals.cpp
  155   OS << "********** INTERVALS **********\n";
  169   OS << "RegMasks:";
  178   OS << "********** MACHINEINSTRS **********\n";
  313   LLVM_DEBUG(dbgs() << "Computing live-in reg-units in ABI blocks.\n");
  326     LLVM_DEBUG(dbgs() << Begin << "\t" << printMBBReference(MBB));
  343   LLVM_DEBUG(dbgs() << "Created " << NewRanges.size() << " new intervals.\n");
  343   LLVM_DEBUG(dbgs() << "Created " << NewRanges.size() << " new intervals.\n");
  413     LLVM_DEBUG(dbgs() << " live-in at " << BlockStart << '\n');
  443   LLVM_DEBUG(dbgs() << "Shrink: " << *li << '\n');
  474                  << "Warning: Instr claims to read non-existent value in "
  496   LLVM_DEBUG(dbgs() << "Shrunk: " << *li << '\n');
  526       LLVM_DEBUG(dbgs() << "Dead PHI at " << Def << " may separate interval\n");
  526       LLVM_DEBUG(dbgs() << "Dead PHI at " << Def << " may separate interval\n");
  534         LLVM_DEBUG(dbgs() << "All defs dead: " << Def << '\t' << *MI);
  543   LLVM_DEBUG(dbgs() << "Shrink: " << SR << '\n');
  602       LLVM_DEBUG(dbgs() << "Dead PHI at " << VNI->def
  603                         << " may separate interval\n");
  609   LLVM_DEBUG(dbgs() << "Shrunk: " << SR << '\n');
  973     LLVM_DEBUG(dbgs() << "handleMove " << OldIdx << " -> " << NewIdx << ": "
  973     LLVM_DEBUG(dbgs() << "handleMove " << OldIdx << " -> " << NewIdx << ": "
  973     LLVM_DEBUG(dbgs() << "handleMove " << OldIdx << " -> " << NewIdx << ": "
 1025       dbgs() << "     ";
 1029           dbgs() << " L" << PrintLaneMask(LaneMask);
 1033       dbgs() << ":\t" << LR << '\n';
 1039     LLVM_DEBUG(dbgs() << "        -->\t" << LR << '\n');
 1658   LLVM_DEBUG(dbgs() << "  Split " << NumComp << " components: " << LI << '\n');
 1658   LLVM_DEBUG(dbgs() << "  Split " << NumComp << " components: " << LI << '\n');
lib/CodeGen/LivePhysRegs.cpp
  121   OS << "Live Registers:";
  123     OS << " (uninitialized)\n";
  128     OS << " (empty)\n";
  133     OS << " " << printReg(*I, TRI);
  134   OS << "\n";
  139   dbgs() << "  " << *this;
lib/CodeGen/LiveRangeCalc.cpp
  367       errs() << "Use of " << printReg(PhysReg, MRI->getTargetRegisterInfo())
  368              << " does not have a corresponding definition on every path:\n";
  371         errs() << Use << " " << *MI;
  378       errs() << "The register " << printReg(PhysReg, TRI)
  379              << " needs to be live in to " << printMBBReference(*MBB)
  380              << ", but is missing from the live-in list.\n";
lib/CodeGen/LiveRangeEdit.cpp
  222   LLVM_DEBUG(dbgs() << "Try to fold single def: " << *DefMI
  223                     << "       into single use: " << *UseMI);
  232   LLVM_DEBUG(dbgs() << "                folded: " << *FoldMI);
  271     LLVM_DEBUG(dbgs() << "Won't delete: " << Idx << '\t' << *MI);
  278     LLVM_DEBUG(dbgs() << "Can't delete: " << Idx << '\t' << *MI);
  282   LLVM_DEBUG(dbgs() << "Deleting dead def " << Idx << '\t' << *MI);
  356     LLVM_DEBUG(dbgs() << "Converted physregs to:\t" << *MI);
  471         dbgs() << "Inflated " << printReg(LI.reg) << " to "
  471         dbgs() << "Inflated " << printReg(LI.reg) << " to "
  472                << TRI->getRegClassName(MRI.getRegClass(LI.reg)) << '\n';
lib/CodeGen/LiveRangeShrink.cpp
  113   LLVM_DEBUG(dbgs() << "**** Analysing " << MF.getName() << '\n');
lib/CodeGen/LiveRegMatrix.cpp
  104   LLVM_DEBUG(dbgs() << "assigning " << printReg(VirtReg.reg, TRI) << " to "
  104   LLVM_DEBUG(dbgs() << "assigning " << printReg(VirtReg.reg, TRI) << " to "
  122   LLVM_DEBUG(dbgs() << "unassigning " << printReg(VirtReg.reg, TRI) << " from "
  122   LLVM_DEBUG(dbgs() << "unassigning " << printReg(VirtReg.reg, TRI) << " from "
lib/CodeGen/LiveStacks.cpp
   78   OS << "********** INTERVALS **********\n";
   84       OS << " [" << TRI->getRegClassName(RC) << "]\n";
   84       OS << " [" << TRI->getRegClassName(RC) << "]\n";
   84       OS << " [" << TRI->getRegClassName(RC) << "]\n";
   86       OS << " [Unknown]\n";
lib/CodeGen/LiveVariables.cpp
   69   dbgs() << "  Alive in blocks: ";
   72     dbgs() << *I << ", ";
   73   dbgs() << "\n  Killed by:";
   75     dbgs() << " No instructions.\n";
   78       dbgs() << "\n    #" << i << ": " << *Kills[i];
   78       dbgs() << "\n    #" << i << ": " << *Kills[i];
   79     dbgs() << "\n";
lib/CodeGen/LocalStackSlotAllocation.cpp
  160   LLVM_DEBUG(dbgs() << "Allocate FI(" << FrameIdx << ") to local offset "
  160   LLVM_DEBUG(dbgs() << "Allocate FI(" << FrameIdx << ") to local offset "
  161                     << LocalOffset << "\n");
  362     LLVM_DEBUG(dbgs() << "Considering: " << MI);
  378     LLVM_DEBUG(dbgs() << "  Replacing FI in: " << MI);
  388       LLVM_DEBUG(dbgs() << "  Reusing base register " << BaseReg << "\n");
  388       LLVM_DEBUG(dbgs() << "  Reusing base register " << BaseReg << "\n");
  416       LLVM_DEBUG(dbgs() << "  Materializing base register " << BaseReg
  417                         << " at frame local offset "
  418                         << LocalOffset + InstrOffset << "\n");
  439     LLVM_DEBUG(dbgs() << "Resolved: " << MI);
lib/CodeGen/MIRCanonicalizerPass.cpp
  126       dbgs() << "Splicing ";
  128       dbgs() << " right before: ";
  219     LLVM_DEBUG(dbgs() << "Operand " << 0 << " of "; II->dump(); MO.dump(););
  219     LLVM_DEBUG(dbgs() << "Operand " << 0 << " of "; II->dump(); MO.dump(););
  268       dbgs() << "Splicing ";
  270       dbgs() << " right before: ";
  290         dbgs() << "Rescheduling Multi-Use Instructions Lexographically.";);
  298       dbgs() << "Rescheduling Idempotent Instructions Lexographically.";);
  382     LLVM_DEBUG(dbgs() << "\n Canonicalizing BasicBlock " << MBB->getName()
  383                       << "\n";);
  388       dbgs() << "Found potentially duplicate BasicBlocks: " << MBB->getName()
  389              << "\n";
  395     dbgs() << "\n\n  NEW BASIC BLOCK: " << MBB->getName() << "  \n\n";
  395     dbgs() << "\n\n  NEW BASIC BLOCK: " << MBB->getName() << "  \n\n";
  396     dbgs() << "\n\n================================================\n\n";
  404   LLVM_DEBUG(dbgs() << "\n\n NEW BASIC BLOCK: " << MBB->getName() << "\n\n";);
  404   LLVM_DEBUG(dbgs() << "\n\n NEW BASIC BLOCK: " << MBB->getName() << "\n\n";);
  406   LLVM_DEBUG(dbgs() << "MBB Before Canonical Copy Propagation:\n";
  409   LLVM_DEBUG(dbgs() << "MBB After Canonical Copy Propagation:\n"; MBB->dump(););
  411   LLVM_DEBUG(dbgs() << "MBB Before Scheduling:\n"; MBB->dump(););
  414   LLVM_DEBUG(dbgs() << "MBB After Scheduling:\n"; MBB->dump(););
  444   LLVM_DEBUG(dbgs() << "Updated MachineBasicBlock:\n"; MBB->dump();
  445              dbgs() << "\n";);
  447       dbgs() << "\n\n================================================\n\n");
  457     LLVM_DEBUG(dbgs() << "\n Canonicalizing Function " << MF.getName()
  458                       << "\n";);
  466       dbgs() << "\n\n  NEW MACHINE FUNCTION: " << MF.getName() << "  \n\n";
  466       dbgs() << "\n\n  NEW MACHINE FUNCTION: " << MF.getName() << "  \n\n";
  467       dbgs() << "\n\n================================================\n\n";
  468       dbgs() << "Total Basic Blocks: " << RPOList.size() << "\n";
  468       dbgs() << "Total Basic Blocks: " << RPOList.size() << "\n";
  470            : RPOList) { dbgs() << MBB->getName() << "\n"; } dbgs()
  471       << "\n\n================================================\n\n";);
lib/CodeGen/MIRPrinter.cpp
  232       StrOS << "\n";
  607   OS << "bb." << MBB.getNumber();
  611       OS << "." << BB->getName();
  614       OS << " (";
  617         OS << "<ir-block badref>";
  623     OS << (HasAttributes ? ", " : " (");
  624     OS << "address-taken";
  628     OS << (HasAttributes ? ", " : " (");
  629     OS << "landing-pad";
  633     OS << (HasAttributes ? ", " : " (");
  634     OS << "align " << MBB.getAlignment().value();
  638     OS << ")";
  639   OS << ":\n";
  652     OS.indent(2) << "successors: ";
  655         OS << ", ";
  662     OS << "\n";
  670     OS.indent(2) << "liveins: ";
  674         OS << ", ";
  678         OS << ":0x" << PrintLaneMask(LI.LaneMask);
  680     OS << "\n";
  685     OS << "\n";
  690       OS.indent(2) << "}\n";
  696       OS << " {";
  699     OS << "\n";
  702     OS.indent(2) << "}\n";
  723       OS << ", ";
  730     OS << " = ";
  732     OS << "frame-setup ";
  734     OS << "frame-destroy ";
  736     OS << "nnan ";
  738     OS << "ninf ";
  740     OS << "nsz ";
  742     OS << "arcp ";
  744     OS << "contract ";
  746     OS << "afn ";
  748     OS << "reassoc ";
  750     OS << "nuw ";
  752     OS << "nsw ";
  754     OS << "exact ";
  756     OS << "fpexcept ";
  765       OS << ", ";
  776     OS << " pre-instr-symbol ";
  783     OS << " post-instr-symbol ";
  791     OS << " debug-location ";
  796     OS << " :: ";
  802         OS << ", ";
lib/CodeGen/MIRVRegNamerUtils.cpp
   74     LLVM_DEBUG(dbgs() << "Found Candidate:  "; MI->dump(););
   95       LLVM_DEBUG(dbgs() << "Popping frame index.\n";);
  105         dbgs() << "Popping vreg ";
  107         dbgs() << "\n";
  116       LLVM_DEBUG(dbgs() << "Popping physreg.\n";);
  133         dbgs() << "\n========================\n";
  134         dbgs() << "Visited MI: ";
  136         dbgs() << "BB Name: " << Def->getParent()->getName() << "\n";
  136         dbgs() << "BB Name: " << Def->getParent()->getName() << "\n";
  137         dbgs() << "\n========================\n";
  144           LLVM_DEBUG(dbgs() << "Pushing frame index.\n";);
  171       LLVM_DEBUG(dbgs() << "Skipping rename for FI " << LastRenameReg << "\n";);
  171       LLVM_DEBUG(dbgs() << "Skipping rename for FI " << LastRenameReg << "\n";);
  189         dbgs() << "Skipping rename for Phys Reg " << LastRenameReg << "\n";
  189         dbgs() << "Skipping rename for Phys Reg " << LastRenameReg << "\n";
  196       LLVM_DEBUG(dbgs() << "Vreg " << Reg
  197                         << " already renamed in other BB.\n";);
  204       LLVM_DEBUG(dbgs() << "Mapping vreg ";);
  210       LLVM_DEBUG(dbgs() << " to ";);
  216       LLVM_DEBUG(dbgs() << "\n";);
  282       LLVM_DEBUG(dbgs() << "Enqueue register"; MO.dump(); dbgs() << "\n";);
  282       LLVM_DEBUG(dbgs() << "Enqueue register"; MO.dump(); dbgs() << "\n";);
  299       LLVM_DEBUG(dbgs() << "Enqueue Reg/FI"; MO.dump(); dbgs() << "\n";);
  299       LLVM_DEBUG(dbgs() << "Enqueue Reg/FI"; MO.dump(); dbgs() << "\n";);
  338   OS << "namedVReg" << (virtualVRegNumber & ~0x80000000);
lib/CodeGen/MachineBasicBlock.cpp
  279     OS << "Can't print out MachineBasicBlock because parent MachineFunction"
  280        << " is null\n";
  295     OS << "Can't print out MachineBasicBlock because parent MachineFunction"
  296        << " is null\n";
  303   OS << "bb." << getNumber();
  307       OS << "." << BB->getName();
  310       OS << " (";
  313         OS << "<ir-block badref>";
  320     OS << (HasAttributes ? ", " : " (");
  321     OS << "address-taken";
  325     OS << (HasAttributes ? ", " : " (");
  326     OS << "landing-pad";
  330     OS << (HasAttributes ? ", " : " (");
  331     OS << "align " << Log2(getAlignment());
  335     OS << ")";
  336   OS << ":\n";
  347     OS << "; predecessors: ";
  350         OS << ", ";
  360     OS.indent(2) << "successors: ";
  363         OS << ", ";
  372       OS << "; ";
  376           OS << ", ";
  392     OS.indent(2) << "liveins: ";
  397         OS << ", ";
  401         OS << ":0x" << PrintLaneMask(LI.LaneMask);
  418       OS.indent(2) << "}\n";
  427       OS << " {";
  434     OS.indent(2) << "}\n";
  438     OS.indent(2) << "; Irreducible loop header weight: "
  445   OS << "%bb." << getNumber();
  884   LLVM_DEBUG(dbgs() << "Splitting critical edge: " << printMBBReference(*this)
  885                     << " -- " << printMBBReference(*NMBB) << " -- "
  885                     << " -- " << printMBBReference(*NMBB) << " -- "
  915           LLVM_DEBUG(dbgs() << "Removing terminator kill: " << *MI);
 1001         LLVM_DEBUG(dbgs() << "Restored terminator kill: " << *I);
 1134     LLVM_DEBUG(dbgs() << "Won't split critical edge after degenerate "
lib/CodeGen/MachineBlockPlacement.cpp
  568   OS << " ('" << BB->getName() << "')";
  568   OS << " ('" << BB->getName() << "')";
  659         LLVM_DEBUG(dbgs() << "    " << getBlockName(Succ)
  660                           << " -> Mid chain!\n");
 1027     LLVM_DEBUG(dbgs() << "Trellis, but not one of the chosen edges.\n");
 1046                  dbgs() << "    Selected: " << getBlockName(Succ2)
 1047                         << ", probability: " << Succ2Prob
 1048                         << " (Tail Duplicate)\n");
 1061              dbgs() << "    Selected: " << getBlockName(TrellisSucc)
 1062                     << ", probability: " << SuccProb << " (Trellis)\n");
 1062                     << ", probability: " << SuccProb << " (Trellis)\n");
 1168   LLVM_DEBUG(dbgs() << "Pre-computing triangle chains.\n");
 1242       LLVM_DEBUG(dbgs() << "Marking edge: " << getBlockName(src) << "->"
 1242       LLVM_DEBUG(dbgs() << "Marking edge: " << getBlockName(src) << "->"
 1244                         << " as pre-computed based on triangles.\n");
 1450     LLVM_DEBUG(dbgs() << "    Not a candidate: " << getBlockName(Succ) << " -> "
 1450     LLVM_DEBUG(dbgs() << "    Not a candidate: " << getBlockName(Succ) << " -> "
 1451                       << SuccProb << " (prob) (non-cold CFG conflict)\n");
 1481   LLVM_DEBUG(dbgs() << "Selecting best successor for: " << getBlockName(BB)
 1482                     << "\n");
 1524         dbgs() << "    Candidate: " << getBlockName(Succ)
 1525                << ", probability: " << SuccProb
 1526                << (SuccChain.UnscheduledPredecessors != 0 ? " (CFG break)" : "")
 1527                << "\n");
 1530       LLVM_DEBUG(dbgs() << "    Not the best candidate, continuing\n");
 1534     LLVM_DEBUG(dbgs() << "    Setting it as best candidate\n");
 1556       LLVM_DEBUG(dbgs() << "    Candidate: " << getBlockName(Succ)
 1557                         << ", probability: " << DupProb
 1558                         << " (Tail Duplicate)\n");
 1566     LLVM_DEBUG(dbgs() << "    Selected: " << getBlockName(BestSucc.BB) << "\n");
 1566     LLVM_DEBUG(dbgs() << "    Selected: " << getBlockName(BestSucc.BB) << "\n");
 1612     LLVM_DEBUG(dbgs() << "    " << getBlockName(MBB) << " -> ";
 1612     LLVM_DEBUG(dbgs() << "    " << getBlockName(MBB) << " -> ";
 1613                MBFI->printBlockFreq(dbgs(), CandidateFreq) << " (freq)\n");
 1739       LLVM_DEBUG(dbgs() << "Unnatural loop CFG detected, forcibly merging the "
 1759     LLVM_DEBUG(dbgs() << "Merging from " << getBlockName(BB) << " to "
 1759     LLVM_DEBUG(dbgs() << "Merging from " << getBlockName(BB) << " to "
 1760                       << getBlockName(BestSucc) << "\n");
 1766   LLVM_DEBUG(dbgs() << "Finished forming chain for header block "
 1767                     << getBlockName(*Chain.begin()) << "\n");
 1963   LLVM_DEBUG(dbgs() << "Finding best loop top for: " << getBlockName(OldTop)
 1964                     << "\n");
 1973     LLVM_DEBUG(dbgs() << "   old top pred: " << getBlockName(Pred) << ", has "
 1973     LLVM_DEBUG(dbgs() << "   old top pred: " << getBlockName(Pred) << ", has "
 1974                       << Pred->succ_size() << " successors, ";
 1975                MBFI->printBlockFreq(dbgs(), Pred) << " freq\n");
 2000     LLVM_DEBUG(dbgs() << "    final top unchanged\n");
 2010   LLVM_DEBUG(dbgs() << "    final top: " << getBlockName(BestPred) << "\n");
 2010   LLVM_DEBUG(dbgs() << "    final top: " << getBlockName(BestPred) << "\n");
 2071   LLVM_DEBUG(dbgs() << "Finding best loop exit for: "
 2072                     << getBlockName(L.getHeader()) << "\n");
 2095         LLVM_DEBUG(dbgs() << "    exiting: " << getBlockName(MBB) << " -> "
 2095         LLVM_DEBUG(dbgs() << "    exiting: " << getBlockName(MBB) << " -> "
 2096                           << getBlockName(Succ) << " (chain conflict)\n");
 2102         LLVM_DEBUG(dbgs() << "    looping: " << getBlockName(MBB) << " -> "
 2102         LLVM_DEBUG(dbgs() << "    looping: " << getBlockName(MBB) << " -> "
 2103                           << getBlockName(Succ) << " (" << SuccProb << ")\n");
 2103                           << getBlockName(Succ) << " (" << SuccProb << ")\n");
 2116       LLVM_DEBUG(dbgs() << "    exiting: " << getBlockName(MBB) << " -> "
 2116       LLVM_DEBUG(dbgs() << "    exiting: " << getBlockName(MBB) << " -> "
 2117                         << getBlockName(Succ) << " [L:" << SuccLoopDepth
 2118                         << "] (";
 2119                  MBFI->printBlockFreq(dbgs(), ExitEdgeFreq) << ")\n");
 2144         dbgs() << "    No other candidate exit blocks, using loop header\n");
 2148     LLVM_DEBUG(dbgs() << "    Loop has 1 block, using loop header as exit\n");
 2159   LLVM_DEBUG(dbgs() << "  Best exiting block: " << getBlockName(ExitingBB)
 2160                     << "\n");
 2270   LLVM_DEBUG(dbgs() << "Rotating loop to put exit " << getBlockName(ExitingBB)
 2271                     << " at bottom\n");
 2405     LLVM_DEBUG(dbgs() << "The cost of loop rotation by making "
 2407                       << " to the top: " << Cost.getFrequency() << "\n");
 2407                       << " to the top: " << Cost.getFrequency() << "\n");
 2416     LLVM_DEBUG(dbgs() << "Rotate loop by making " << getBlockName(*RotationPos)
 2417                       << " to the top\n");
 2525       dbgs() << "Loop chain contains a block without its preds placed!\n"
 2526              << "  Loop header:  " << getBlockName(*L.block_begin()) << "\n"
 2526              << "  Loop header:  " << getBlockName(*L.block_begin()) << "\n"
 2527              << "  Chain header: " << getBlockName(*LoopChain.begin()) << "\n";
 2527              << "  Chain header: " << getBlockName(*LoopChain.begin()) << "\n";
 2530       dbgs() << "          ... " << getBlockName(ChainBB) << "\n";
 2530       dbgs() << "          ... " << getBlockName(ChainBB) << "\n";
 2535         dbgs() << "Loop chain contains a block not contained by the loop!\n"
 2536                << "  Loop header:  " << getBlockName(*L.block_begin()) << "\n"
 2536                << "  Loop header:  " << getBlockName(*L.block_begin()) << "\n"
 2537                << "  Chain header: " << getBlockName(*LoopChain.begin()) << "\n"
 2537                << "  Chain header: " << getBlockName(*LoopChain.begin()) << "\n"
 2538                << "  Bad block:    " << getBlockName(ChainBB) << "\n";
 2538                << "  Bad block:    " << getBlockName(ChainBB) << "\n";
 2545         dbgs() << "Loop contains blocks never placed into a chain!\n"
 2546                << "  Loop header:  " << getBlockName(*L.block_begin()) << "\n"
 2546                << "  Loop header:  " << getBlockName(*L.block_begin()) << "\n"
 2547                << "  Chain header: " << getBlockName(*LoopChain.begin()) << "\n"
 2547                << "  Chain header: " << getBlockName(*LoopChain.begin()) << "\n"
 2548                << "  Bad block:    " << getBlockName(LoopBB) << "\n";
 2548                << "  Bad block:    " << getBlockName(LoopBB) << "\n";
 2579       LLVM_DEBUG(dbgs() << "Pre-merging due to unanalyzable fallthrough: "
 2580                         << getBlockName(BB) << " -> " << getBlockName(NextBB)
 2581                         << "\n");
 2621         dbgs() << "Function chain contains a block not in the function!\n"
 2622                << "  Bad block:    " << getBlockName(ChainBB) << "\n";
 2622                << "  Bad block:    " << getBlockName(ChainBB) << "\n";
 2628         dbgs() << "Function contains blocks never placed into a chain!\n"
 2629                << "  Bad block:    " << getBlockName(RemainingBB) << "\n";
 2629                << "  Bad block:    " << getBlockName(RemainingBB) << "\n";
 2636   LLVM_DEBUG(dbgs() << "[MBP] Function: " << F->getName() << "\n");
 2636   LLVM_DEBUG(dbgs() << "[MBP] Function: " << F->getName() << "\n");
 2638     LLVM_DEBUG(dbgs() << (ChainBB == *FunctionChain.begin() ? "Placing chain "
 2640                       << getBlockName(ChainBB) << "\n");
 2725         LLVM_DEBUG(dbgs() << "Reverse order of the two branches: "
 2726                           << getBlockName(ChainBB) << "\n");
 2727         LLVM_DEBUG(dbgs() << "    Edge probability: "
 2728                           << MBPI->getEdgeProbability(ChainBB, FBB) << " vs "
 2729                           << MBPI->getEdgeProbability(ChainBB, TBB) << "\n");
 2894   LLVM_DEBUG(dbgs() << "Redoing tail duplication for Succ#" << BB->getNumber()
 2895                     << "\n");
 2943         LLVM_DEBUG(dbgs() << "TailDuplicator deleted block: "
 2944                           << getBlockName(RemBB) << "\n");
lib/CodeGen/MachineBranchProbabilityInfo.cpp
   86   OS << "edge " << printMBBReference(*Src) << " -> " << printMBBReference(*Dst)
   86   OS << "edge " << printMBBReference(*Src) << " -> " << printMBBReference(*Dst)
   87      << " probability is " << Prob
   88      << (isEdgeHot(Src, Dst) ? " [HOT edge]\n" : "\n");
lib/CodeGen/MachineCSE.cpp
  198     LLVM_DEBUG(dbgs() << "Coalescing: " << *DefMI);
  199     LLVM_DEBUG(dbgs() << "***     to: " << *MI);
  497   LLVM_DEBUG(dbgs() << "Entering: " << MBB->getName() << '\n');
  503   LLVM_DEBUG(dbgs() << "Exiting: " << MBB->getName() << '\n');
  587     LLVM_DEBUG(dbgs() << "Examining: " << *MI);
  588     LLVM_DEBUG(dbgs() << "*** Found a common subexpression: " << *CSMI);
  621         LLVM_DEBUG(dbgs() << "*** Not profitable, avoid CSE!\n");
  631             dbgs() << "*** Not the same register constraints, avoid CSE!\n");
lib/CodeGen/MachineCombiner.cpp
  312   LLVM_DEBUG(dbgs() << "  Dependence data for " << *Root << "\tNewRootDepth: "
  312   LLVM_DEBUG(dbgs() << "  Dependence data for " << *Root << "\tNewRootDepth: "
  313                     << NewRootDepth << "\tRootDepth: " << RootDepth);
  321     LLVM_DEBUG(dbgs() << "\tIt MustReduceDepth ");
  323                    ? dbgs() << "\t  and it does it\n"
  324                    : dbgs() << "\t  but it does NOT do it\n");
  341   LLVM_DEBUG(dbgs() << "\n\tNewRootLatency: " << NewRootLatency
  342                     << "\tRootLatency: " << RootLatency << "\n\tRootSlack: "
  342                     << "\tRootLatency: " << RootLatency << "\n\tRootSlack: "
  343                     << RootSlack << " SlackIsAccurate=" << SlackIsAccurate
  344                     << "\n\tNewRootDepth + NewRootLatency = " << NewCycleCount
  345                     << "\n\tRootDepth + RootLatency + RootSlack = "
  348                  ? dbgs() << "\n\t  It IMPROVES PathLen because"
  349                  : dbgs() << "\n\t  It DOES NOT improve PathLen because");
  350   LLVM_DEBUG(dbgs() << "\n\t\tNewCycleCount = " << NewCycleCount
  351                     << ", OldCycleCount = " << OldCycleCount << "\n");
  351                     << ", OldCycleCount = " << OldCycleCount << "\n");
  397   LLVM_DEBUG(dbgs() << "\t\tResource length before replacement: "
  399                     << " and after: " << ResLenAfterCombine << "\n";);
  399                     << " and after: " << ResLenAfterCombine << "\n";);
  402           ? dbgs() << "\t\t  As result it IMPROVES/PRESERVES Resource Length\n"
  403           : dbgs() << "\t\t  As result it DOES NOT improve/preserve Resource "
  497   LLVM_DEBUG(dbgs() << "Combining MBB " << MBB->getName() << "\n");
  497   LLVM_DEBUG(dbgs() << "Combining MBB " << MBB->getName() << "\n");
  561         dbgs() << "\tFor the Pattern (" << (int)P
  562                << ") these instructions could be removed\n";
  566         dbgs() << "\tThese instructions could replace the removed ones\n";
  644   LLVM_DEBUG(dbgs() << getPassName() << ": " << MF.getName() << '\n');
  648         << "  Skipping pass: Target does not support machine combiner\n");
lib/CodeGen/MachineCopyPropagation.cpp
  248         LLVM_DEBUG(dbgs() << "MCP: Copy is used - not dead: "; Copy->dump());
  298   LLVM_DEBUG(dbgs() << "MCP: copy is a NOP, removing: "; Copy.dump());
  420           dbgs() << "MCP: FIXME! Not forwarding COPY to sub-register use:\n  "
  436       LLVM_DEBUG(dbgs() << "MCP: Skipping forwarding due to debug counter:\n  "
  441     LLVM_DEBUG(dbgs() << "MCP: Replacing " << printReg(MOUse.getReg(), TRI)
  442                       << "\n     with " << printReg(CopySrcReg, TRI)
  443                       << "\n     in " << MI << "     from " << *Copy);
  443                       << "\n     in " << MI << "     from " << *Copy);
  449     LLVM_DEBUG(dbgs() << "MCP: After replacement: " << MI << "\n");
  449     LLVM_DEBUG(dbgs() << "MCP: After replacement: " << MI << "\n");
  462   LLVM_DEBUG(dbgs() << "MCP: CopyPropagateBlock " << MBB.getName() << "\n");
  462   LLVM_DEBUG(dbgs() << "MCP: CopyPropagateBlock " << MBB.getName() << "\n");
  513       LLVM_DEBUG(dbgs() << "MCP: Copy is a deletion candidate: "; MI->dump());
  594         LLVM_DEBUG(dbgs() << "MCP: Removing copy due to regmask clobbering: ";
  620       LLVM_DEBUG(dbgs() << "MCP: Removing copy due to no live-out succ: ";
lib/CodeGen/MachineDominators.cpp
   76       errs() << "MachineDominatorTree verification failed\n";
lib/CodeGen/MachineFrameInfo.cpp
   44   LLVM_DEBUG(dbgs() << "Warning: requested alignment " << Alignment.value()
   45                     << " exceeds the stack alignment " << StackAlignment.value()
   46                     << " when stack realignment is off" << '\n');
  220   OS << "Frame Objects:\n";
  224     OS << "  fi#" << (int)(i-NumFixedObjects) << ": ";
  224     OS << "  fi#" << (int)(i-NumFixedObjects) << ": ";
  227       OS << "id=" << static_cast<unsigned>(SO.StackID) << ' ';
  230       OS << "dead\n";
  234       OS << "variable sized";
  236       OS << "size=" << SO.Size;
  237     OS << ", align=" << SO.Alignment.value();
  240       OS << ", fixed";
  243       OS << ", at location [SP";
  245         OS << "+" << Off;
  248       OS << "]";
  250     OS << "\n";
lib/CodeGen/MachineFunction.cpp
  111     OS << Separator << getPropertyName(static_cast<Property>(I));
  111     OS << Separator << getPropertyName(static_cast<Property>(I));
  483   OS << "# Machine code for function " << getName() << ": ";
  483   OS << "# Machine code for function " << getName() << ": ";
  500     OS << "Function Live Ins: ";
  505         OS << " in " << printReg(I->second, TRI);
  507         OS << ", ";
  520   OS << "\n# End machine code for function " << getName() << ".\n\n";
  520   OS << "\n# End machine code for function " << getName() << ".\n\n";
  542             OSS << ": " << BB->getName();
  618     << Prefix << "JTI" << getFunctionNumber() << '_' << JTI;
  941   OS << "Jump Tables:\n";
  959   return Printable([Idx](raw_ostream &OS) { OS << "%jump-table." << Idx; });
 1101   OS << "Constant Pool:\n";
 1103     OS << "  cp#" << i << ": ";
 1103     OS << "  cp#" << i << ": ";
 1108     OS << ", align=" << Constants[i].getAlignment();
 1109     OS << "\n";
lib/CodeGen/MachineFunctionPass.cpp
   51     errs() << "MachineFunctionProperties required by " << getPassName()
   52            << " pass are not met by function " << F.getName() << ".\n"
   52            << " pass are not met by function " << F.getName() << ".\n"
   53            << "Required properties: ";
   55     errs() << "\nCurrent properties: ";
   57     errs() << "\n";
lib/CodeGen/MachineFunctionPrinterPass.cpp
   48     OS << "# " << Banner << ":\n";
   48     OS << "# " << Banner << ":\n";
lib/CodeGen/MachineInstr.cpp
 1449   dbgs() << "  ";
 1505       OS << ", ";
 1515     OS << " = ";
 1518     OS << "frame-setup ";
 1520     OS << "frame-destroy ";
 1522     OS << "nnan ";
 1524     OS << "ninf ";
 1526     OS << "nsz ";
 1528     OS << "arcp ";
 1530     OS << "contract ";
 1532     OS << "afn ";
 1534     OS << "reassoc ";
 1536     OS << "nuw ";
 1538     OS << "nsw ";
 1540     OS << "exact ";
 1542     OS << "fpexcept ";
 1548     OS << "UNKNOWN";
 1560     OS << " ";
 1571       OS << " [sideeffect]";
 1573       OS << " [mayload]";
 1575       OS << " [maystore]";
 1577       OS << " [isconvergent]";
 1579       OS << " [alignstack]";
 1581       OS << " [attdialect]";
 1583       OS << " [inteldialect]";
 1592     if (FirstOp) FirstOp = false; else OS << ",";
 1593     OS << " ";
 1599         OS << "!\"" << DIV->getName() << '\"';
 1610         OS << "\"" << DIL->getName() << '\"';
 1622       case InlineAsm::Kind_RegUse:             OS << ":[reguse"; break;
 1623       case InlineAsm::Kind_RegDef:             OS << ":[regdef"; break;
 1624       case InlineAsm::Kind_RegDefEarlyClobber: OS << ":[regdef-ec"; break;
 1625       case InlineAsm::Kind_Clobber:            OS << ":[clobber"; break;
 1626       case InlineAsm::Kind_Imm:                OS << ":[imm"; break;
 1627       case InlineAsm::Kind_Mem:                OS << ":[mem"; break;
 1628       default: OS << ":[??" << InlineAsm::getKind(Flag); break;
 1635           OS << ':' << TRI->getRegClassName(TRI->getRegClass(RCID));
 1637           OS << ":RC" << RCID;
 1643         case InlineAsm::Constraint_es: OS << ":es"; break;
 1644         case InlineAsm::Constraint_i:  OS << ":i"; break;
 1645         case InlineAsm::Constraint_m:  OS << ":m"; break;
 1646         case InlineAsm::Constraint_o:  OS << ":o"; break;
 1647         case InlineAsm::Constraint_v:  OS << ":v"; break;
 1648         case InlineAsm::Constraint_Q:  OS << ":Q"; break;
 1649         case InlineAsm::Constraint_R:  OS << ":R"; break;
 1650         case InlineAsm::Constraint_S:  OS << ":S"; break;
 1651         case InlineAsm::Constraint_T:  OS << ":T"; break;
 1652         case InlineAsm::Constraint_Um: OS << ":Um"; break;
 1653         case InlineAsm::Constraint_Un: OS << ":Un"; break;
 1654         case InlineAsm::Constraint_Uq: OS << ":Uq"; break;
 1655         case InlineAsm::Constraint_Us: OS << ":Us"; break;
 1656         case InlineAsm::Constraint_Ut: OS << ":Ut"; break;
 1657         case InlineAsm::Constraint_Uv: OS << ":Uv"; break;
 1658         case InlineAsm::Constraint_Uy: OS << ":Uy"; break;
 1659         case InlineAsm::Constraint_X:  OS << ":X"; break;
 1660         case InlineAsm::Constraint_Z:  OS << ":Z"; break;
 1661         case InlineAsm::Constraint_ZC: OS << ":ZC"; break;
 1662         case InlineAsm::Constraint_Zy: OS << ":Zy"; break;
 1663         default: OS << ":?"; break;
 1669         OS << " tiedto:$" << TiedTo;
 1693     OS << " pre-instr-symbol ";
 1701     OS << " post-instr-symbol ";
 1709     OS << " heap-alloc-marker";
 1716       OS << " debug-location ";
 1734     OS << " :: ";
 1738         OS << ", ";
 1762       OS << ";";
 1766     OS << " line no:" <<  DV->getLine();
 1770         OS << " inlined @[ ";
 1772         OS << " ]";
 1776       OS << " indirect";
lib/CodeGen/MachineLICM.cpp
  320     LLVM_DEBUG(dbgs() << "******** Pre-regalloc Machine LICM: ");
  322     LLVM_DEBUG(dbgs() << "******** Post-regalloc Machine LICM: ");
  323   LLVM_DEBUG(dbgs() << MF.getName() << " ********\n");
  594   LLVM_DEBUG(dbgs() << "Hoisting to " << printMBBReference(*Preheader)
  595                     << " from " << printMBBReference(*MI->getParent()) << ": "
  595                     << " from " << printMBBReference(*MI->getParent()) << ": "
  633   LLVM_DEBUG(dbgs() << "Entering " << printMBBReference(*MBB) << '\n');
  640   LLVM_DEBUG(dbgs() << "Exiting " << printMBBReference(*MBB) << '\n');
 1212     LLVM_DEBUG(dbgs() << "Won't hoist cheap instr with loop PHI use: " << MI);
 1231       LLVM_DEBUG(dbgs() << "Hoist High Latency: " << MI);
 1249     LLVM_DEBUG(dbgs() << "Hoist non-reg-pressure: " << MI);
 1256     LLVM_DEBUG(dbgs() << "Won't hoist instr with loop PHI use: " << MI);
 1265     LLVM_DEBUG(dbgs() << "Won't speculate: " << MI);
 1273     LLVM_DEBUG(dbgs() << "Can't remat / high reg-pressure: " << MI);
 1370     LLVM_DEBUG(dbgs() << "CSEing " << *MI << " with " << *Dup);
 1370     LLVM_DEBUG(dbgs() << "CSEing " << *MI << " with " << *Dup);
 1451     dbgs() << "Hoisting " << *MI;
 1453       dbgs() << " from " << printMBBReference(*MI->getParent());
 1455       dbgs() << " to " << printMBBReference(*Preheader);
 1456     dbgs() << "\n";
lib/CodeGen/MachineOperand.cpp
  428     OS << "%dwarfreg." << DwarfReg;
  435     OS << "<badreg>";
  440   OS << "%ir-block.";
  458     OS << "<unknown>";
  474   OS << "%ir.";
  493     OS << "syncscope(\"";
  495     OS << "\") ";
  527   OS << "%subreg.";
  529     OS << TRI->getSubRegIndexName(Index);
  545   OS << "target-flags(";
  549     OS << "<unknown>) ";
  554       OS << Name;
  556       OS << "<unknown target flag>";
  559     OS << ") ";
  569         OS << ", ";
  571       OS << Mask.second;
  580       OS << ", ";
  581     OS << "<unknown bitmask target flag>";
  583   OS << ") ";
  587   OS << "<mcsymbol " << Sym << ">";
  587   OS << "<mcsymbol " << Sym << ">";
  594     OS << "%fixed-stack." << FrameIndex;
  598   OS << "%stack." << FrameIndex;
  607     OS << " - " << -Offset;
  610   OS << " + " << Offset;
  615     OS << "<badref>";
  624     OS << "same_value ";
  630     OS << "remember_state ";
  635     OS << "restore_state ";
  640     OS << "offset ";
  644     OS << ", " << CFI.getOffset();
  647     OS << "def_cfa_register ";
  653     OS << "def_cfa_offset ";
  659     OS << "def_cfa ";
  663     OS << ", " << CFI.getOffset();
  666     OS << "rel_offset ";
  670     OS << ", " << CFI.getOffset();
  673     OS << "adjust_cfa_offset ";
  679     OS << "restore ";
  685     OS << "escape ";
  691         OS << format("0x%02x", uint8_t(CFI.getValues()[i])) << ", ";
  692       OS << format("0x%02x", uint8_t(CFI.getValues()[e])) << ", ";
  697     OS << "undefined ";
  703     OS << "register ";
  707     OS << ", ";
  711     OS << "window_save ";
  716     OS << "negate_ra_sign_state ";
  722     OS << "<unserializable cfi directive>";
  753       OS << (isDef() ? "implicit-def " : "implicit ");
  756       OS << "def ";
  758       OS << "internal ";
  760       OS << "dead ";
  762       OS << "killed ";
  764       OS << "undef ";
  766       OS << "early-clobber ";
  768       OS << "renamable ";
  783         OS << '.' << TRI->getSubRegIndexName(SubReg);
  785         OS << ".subreg" << SubReg;
  799       OS << "(tied-def " << TiedOperandIdx << ")";
  799       OS << "(tied-def " << TiedOperandIdx << ")";
  827     OS << "%const." << getIndex();
  831     OS << "target-index(";
  836     OS << Name << ')';
  851       OS << "\"\"";
  859     OS << "blockaddress(";
  862     OS << ", ";
  869     OS << "<regmask";
  879             OS << " " << printReg(i, TRI);
  886         OS << " and " << (NumRegsInMask - NumRegsEmitted) << " more...";
  886         OS << " and " << (NumRegsInMask - NumRegsEmitted) << " more...";
  888       OS << " ...";
  890     OS << ">";
  895     OS << "liveout(";
  897       OS << "<unknown>";
  903             OS << ", ";
  909     OS << ")";
  922       OS << "<cfi directive>";
  928       OS << "intrinsic(@" << Intrinsic::getName(ID, None) << ')';
  930       OS << "intrinsic(@" << IntrinsicInfo->getName(ID) << ')';
  932       OS << "intrinsic(" << ID << ')';
  937     OS << (CmpInst::isIntPredicate(Pred) ? "int" : "float") << "pred("
  937     OS << (CmpInst::isIntPredicate(Pred) ? "int" : "float") << "pred("
  942     OS << "shufflemask(";
 1076     OS << "volatile ";
 1078     OS << "non-temporal ";
 1080     OS << "dereferenceable ";
 1082     OS << "invariant ";
 1084     OS << '"' << getTargetMMOFlagName(*TII, MachineMemOperand::MOTargetFlag1)
 1085        << "\" ";
 1087     OS << '"' << getTargetMMOFlagName(*TII, MachineMemOperand::MOTargetFlag2)
 1088        << "\" ";
 1090     OS << '"' << getTargetMMOFlagName(*TII, MachineMemOperand::MOTargetFlag3)
 1091        << "\" ";
 1096     OS << "load ";
 1098     OS << "store ";
 1103     OS << toIRString(getOrdering()) << ' ';
 1105     OS << toIRString(getFailureOrdering()) << ' ';
 1108     OS << "unknown-size";
 1113     OS << ((isLoad() && isStore()) ? " on " : isLoad() ? " from " : " into ");
 1116     OS << ((isLoad() && isStore()) ? " on " : isLoad() ? " from " : " into ");
 1120       OS << "stack";
 1123       OS << "got";
 1126       OS << "jump-table";
 1129       OS << "constant-pool";
 1138       OS << "call-entry ";
 1143       OS << "call-entry &";
 1152       OS << "custom ";
 1159     OS << ", align " << getBaseAlignment();
 1162     OS << ", !tbaa ";
 1166     OS << ", !alias.scope ";
 1170     OS << ", !noalias ";
 1174     OS << ", !range ";
 1180     OS << ", addrspace " << AS;
lib/CodeGen/MachineOutliner.cpp
 1286   LLVM_DEBUG(dbgs() << "OutlinedSomething = " << OutlinedSomething << "\n";);
 1286   LLVM_DEBUG(dbgs() << "OutlinedSomething = " << OutlinedSomething << "\n";);
 1442     dbgs() << "Machine Outliner: Running on ";
 1444       dbgs() << "all functions";
 1446       dbgs() << "target-default functions";
 1447     dbgs() << "\n";
lib/CodeGen/MachinePipeliner.cpp
  250     LLVM_DEBUG(dbgs() << "\n!!! Can not pipeline loop.\n");
  322         dbgs() << "Unable to analyzeBranch, can NOT pipeline current Loop\n");
  331         dbgs() << "Unable to analyzeLoop, can NOT pipeline current Loop\n");
  338         dbgs() << "Preheader not found, can NOT pipeline current Loop\n");
  452   LLVM_DEBUG(dbgs() << "MII = " << MII << " MAX_II = " << MAX_II
  452   LLVM_DEBUG(dbgs() << "MII = " << MII << " MAX_II = " << MAX_II
  453                     << " (rec=" << RecMII << ", res=" << ResMII << ")\n");
  453                     << " (rec=" << RecMII << ", res=" << ResMII << ")\n");
  453                     << " (rec=" << RecMII << ", res=" << ResMII << ")\n");
  459         << "0 is not a valid Minimal Initiation Interval, can NOT schedule\n");
  466     LLVM_DEBUG(dbgs() << "MII > " << SwpMaxMii
  467                       << ", we don't pipleline large loops\n");
  482       dbgs() << "  Rec NodeSet ";
  495       dbgs() << "  NodeSet ";
  509     LLVM_DEBUG(dbgs() << "No schedule found, return\n");
  518         dbgs() << "No overlapped iterations, no need to generate pipeline\n");
  524     LLVM_DEBUG(dbgs() << "numStages:" << numStages << ">" << SwpMaxStages
  524     LLVM_DEBUG(dbgs() << "numStages:" << numStages << ">" << SwpMaxStages
  525                       << " : too many stages, abort\n");
 1016   LLVM_DEBUG(dbgs() << "calculateResMII:\n");
 1048       dbgs() << "Trying to reserve resource for " << NumCycles
 1049              << " cycles for \n";
 1061     LLVM_DEBUG(dbgs() << "ReservedCycles:" << ReservedCycles
 1062                       << ", NumCycles:" << NumCycles << "\n");
 1062                       << ", NumCycles:" << NumCycles << "\n");
 1066                  << "NewResource created to reserve resources"
 1067                  << "\n");
 1075   LLVM_DEBUG(dbgs() << "Retrun Res MII:" << Resmii << "\n");
 1075   LLVM_DEBUG(dbgs() << "Retrun Res MII:" << Resmii << "\n");
 1430       dbgs() << "\tNode " << i << ":\n";
 1430       dbgs() << "\tNode " << i << ":\n";
 1431       dbgs() << "\t   ASAP = " << getASAP(&SUnits[i]) << "\n";
 1431       dbgs() << "\t   ASAP = " << getASAP(&SUnits[i]) << "\n";
 1432       dbgs() << "\t   ALAP = " << getALAP(&SUnits[i]) << "\n";
 1432       dbgs() << "\t   ALAP = " << getALAP(&SUnits[i]) << "\n";
 1433       dbgs() << "\t   MOV  = " << getMOV(&SUnits[i]) << "\n";
 1433       dbgs() << "\t   MOV  = " << getMOV(&SUnits[i]) << "\n";
 1434       dbgs() << "\t   D    = " << getDepth(&SUnits[i]) << "\n";
 1434       dbgs() << "\t   D    = " << getDepth(&SUnits[i]) << "\n";
 1435       dbgs() << "\t   H    = " << getHeight(&SUnits[i]) << "\n";
 1435       dbgs() << "\t   H    = " << getHeight(&SUnits[i]) << "\n";
 1436       dbgs() << "\t   ZLD  = " << getZeroLatencyDepth(&SUnits[i]) << "\n";
 1436       dbgs() << "\t   ZLD  = " << getZeroLatencyDepth(&SUnits[i]) << "\n";
 1437       dbgs() << "\t   ZLH  = " << getZeroLatencyHeight(&SUnits[i]) << "\n";
 1437       dbgs() << "\t   ZLH  = " << getZeroLatencyHeight(&SUnits[i]) << "\n";
 1615             dbgs() << "Excess register pressure: SU(" << SU->NodeNum << ") "
 1615             dbgs() << "Excess register pressure: SU(" << SU->NodeNum << ") "
 1616                    << TRI->getRegPressureSetName(RPDelta.Excess.getPSet())
 1617                    << ":" << RPDelta.Excess.getUnitInc());
 1668   LLVM_DEBUG(dbgs() << "Clear recurrence node-sets\n");
 1814     LLVM_DEBUG(dbgs() << "NodeSet size " << Nodes.size() << "\n");
 1814     LLVM_DEBUG(dbgs() << "NodeSet size " << Nodes.size() << "\n");
 1820       LLVM_DEBUG(dbgs() << "  Bottom up (preds) ");
 1824       LLVM_DEBUG(dbgs() << "  Top down (succs) ");
 1829       LLVM_DEBUG(dbgs() << "  Top down (intersect) ");
 1835       LLVM_DEBUG(dbgs() << "  Bottom up (all) ");
 1846       LLVM_DEBUG(dbgs() << "  Bottom up (default) ");
 1869           LLVM_DEBUG(dbgs() << maxHeight->NodeNum << " ");
 1892         LLVM_DEBUG(dbgs() << "\n   Switching order to bottom up ");
 1914           LLVM_DEBUG(dbgs() << maxDepth->NodeNum << " ");
 1941         LLVM_DEBUG(dbgs() << "\n   Switching order to top down ");
 1947     LLVM_DEBUG(dbgs() << "\nDone with Nodeset\n");
 1951     dbgs() << "Node order: ";
 1953       dbgs() << " " << I->NodeNum << " ";
 1953       dbgs() << " " << I->NodeNum << " ";
 1954     dbgs() << "\n";
 1963     LLVM_DEBUG(dbgs() << "NodeOrder is empty! abort scheduling\n" );
 1973     LLVM_DEBUG(dbgs() << "Try to schedule with " << II << "\n");
 1973     LLVM_DEBUG(dbgs() << "Try to schedule with " << II << "\n");
 1991         dbgs() << "\n";
 1992         dbgs() << "Inst (" << SU->NodeNum << ") ";
 1992         dbgs() << "Inst (" << SU->NodeNum << ") ";
 1994         dbgs() << "\n";
 2034           dbgs() << "\tCan't schedule\n";
 2043   LLVM_DEBUG(dbgs() << "Schedule Found? " << scheduleFound << " (II=" << II
 2043   LLVM_DEBUG(dbgs() << "Schedule Found? " << scheduleFound << " (II=" << II
 2044                     << ")\n");
 2287     dbgs() << "Trying to insert node between " << StartCycle << " and "
 2287     dbgs() << "Trying to insert node between " << StartCycle << " and "
 2288            << EndCycle << " II: " << II << "\n";
 2288            << EndCycle << " II: " << II << "\n";
 2318         dbgs() << "\tinsert at cycle " << curCycle << " ";
 2318         dbgs() << "\tinsert at cycle " << curCycle << " ";
 2331       dbgs() << "\tfailed to insert at cycle " << curCycle << " ";
 2331       dbgs() << "\tfailed to insert at cycle " << curCycle << " ";
 2736         LLVM_DEBUG(dbgs() << "In a circuit, predecessor ";);
 2740         LLVM_DEBUG(dbgs() << "Predecessor ";);
 2742       LLVM_DEBUG(dbgs() << Pred->NodeNum << " and successor " << Succ->NodeNum
 2743                         << " are scheduled before node " << SU->NodeNum
 2744                         << "\n";);
 2750       dbgs() << "Invalid node order found!\n";
 2861   os << "Num nodes " << size() << " rec " << RecMII << " mov " << MaxMOV
 2861   os << "Num nodes " << size() << " rec " << RecMII << " mov " << MaxMOV
 2861   os << "Num nodes " << size() << " rec " << RecMII << " mov " << MaxMOV
 2862      << " depth " << MaxDepth << " col " << Colocate << "\n";
 2862      << " depth " << MaxDepth << " col " << Colocate << "\n";
 2862      << " depth " << MaxDepth << " col " << Colocate << "\n";
 2864     os << "   SU(" << I->NodeNum << ") " << *(I->getInstr());
 2864     os << "   SU(" << I->NodeNum << ") " << *(I->getInstr());
 2865   os << "\n";
 2876       os << "cycle " << cycle << " (" << stageScheduled(CI) << ") ";
 2876       os << "cycle " << cycle << " (" << stageScheduled(CI) << ") ";
 2876       os << "cycle " << cycle << " (" << stageScheduled(CI) << ") ";
 2877       os << "(" << CI->NodeNum << ") ";
 2877       os << "(" << CI->NodeNum << ") ";
 2879       os << "\n";
 2920       dbgs() << "ProcResourceDesc:\n";
 2927       dbgs() << " -----------------\n";
 2936       dbgs() << "canReserveResources:\n";
 2945       dbgs() << "No valid Schedule Class Desc for schedClass!\n";
 2946       dbgs() << "isPseduo:" << MID->isPseudo() << "\n";
 2946       dbgs() << "isPseduo:" << MID->isPseudo() << "\n";
 2969   LLVM_DEBUG(if (SwpDebugResource) dbgs() << "return true\n\n";);
 2976       dbgs() << "reserveResources:\n";
 2985       dbgs() << "No valid Schedule Class Desc for schedClass!\n";
 2986       dbgs() << "isPseduo:" << MID->isPseudo() << "\n";
 2986       dbgs() << "isPseduo:" << MID->isPseudo() << "\n";
 3009       dbgs() << "reserveResources: done!\n\n";
lib/CodeGen/MachinePostDominators.cpp
   69       errs() << "MachinePostDominatorTree verification failed\n";
lib/CodeGen/MachineRegisterInfo.cpp
  225              << " use list MachineOperand " << MO
  226              << " has no parent instruction.\n";
  234              << " use list MachineOperand " << MO
  235              << " doesn't belong to parent MI: " << *MI;
  240              << " MachineOperand " << MO << ": " << *MO
  240              << " MachineOperand " << MO << ": " << *MO
  241              << " is not a register\n";
  246              << " use-list MachineOperand " << MO << ": "
  246              << " use-list MachineOperand " << MO << ": "
  247              << *MO << " is the wrong register\n";
lib/CodeGen/MachineSSAUpdater.cpp
  206   LLVM_DEBUG(dbgs() << "  Inserted PHI: " << *InsertedPHI << "\n");
  206   LLVM_DEBUG(dbgs() << "  Inserted PHI: " << *InsertedPHI << "\n");
lib/CodeGen/MachineScheduler.cpp
  370   LLVM_DEBUG(dbgs() << "Before MISched:\n"; mf.print(dbgs()));
  406     LLVM_DEBUG(dbgs() << "Subtarget disables post-MI-sched.\n");
  409   LLVM_DEBUG(dbgs() << "Before post-MI-sched:\n"; mf.print(dbgs()));
  561       LLVM_DEBUG(dbgs() << "********** MI Scheduling **********\n");
  562       LLVM_DEBUG(dbgs() << MF->getName() << ":" << printMBBReference(*MBB)
  563                         << " " << MBB->getName() << "\n  From: " << *I
  563                         << " " << MBB->getName() << "\n  From: " << *I
  564                         << "    To: ";
  566                  else dbgs() << "End";
  567                  dbgs() << " RegionInstrs: " << NumRegionInstrs << '\n');
  570         errs() << ":%bb. " << MBB->getNumber();
  571         errs() << " " << MBB->getName() << " \n";
  571         errs() << " " << MBB->getName() << " \n";
  597   dbgs() << "Queue " << Name << ": ";
  597   dbgs() << "Queue " << Name << ": ";
  599     dbgs() << SU->NodeNum << " ";
  600   dbgs() << "\n";
  628     dbgs() << "*** Scheduling failed! ***\n";
  630     dbgs() << " has been released too many times!\n";
  665     dbgs() << "*** Scheduling failed! ***\n";
  667     dbgs() << " has been released too many times!\n";
  747   LLVM_DEBUG(dbgs() << "ScheduleDAGMI::schedule starting\n");
  771     LLVM_DEBUG(dbgs() << "** ScheduleDAGMI::schedule picking next node\n");
  812     dbgs() << "*** Final schedule for "
  813            << printMBBReference(*begin()->getParent()) << " ***\n";
  914       dbgs() << "Missing SUnit\n";
 1021     LLVM_DEBUG(dbgs() << "Live Thru: ";
 1036   LLVM_DEBUG(dbgs() << "Top Pressure:\n";
 1038              dbgs() << "Bottom Pressure:\n";
 1054       LLVM_DEBUG(dbgs() << TRI->getRegPressureSetName(i) << " Limit " << Limit
 1054       LLVM_DEBUG(dbgs() << TRI->getRegPressureSetName(i) << " Limit " << Limit
 1055                         << " Actual " << RegionPressure[i] << "\n");
 1055                         << " Actual " << RegionPressure[i] << "\n");
 1059   LLVM_DEBUG(dbgs() << "Excess PSets: ";
 1062              << TRI->getRegPressureSetName(RCPS.getPSet()) << " ";
 1062              << TRI->getRegPressureSetName(RCPS.getPSet()) << " ";
 1063              dbgs() << "\n");
 1084       LLVM_DEBUG(dbgs() << "  " << TRI->getRegPressureSetName(ID) << ": "
 1084       LLVM_DEBUG(dbgs() << "  " << TRI->getRegPressureSetName(ID) << ": "
 1084       LLVM_DEBUG(dbgs() << "  " << TRI->getRegPressureSetName(ID) << ": "
 1086                         << ((NewMaxPressure[ID] > Limit) ? " > " : " <= ")
 1087                         << Limit << "(+ " << BotRPTracker.getLiveThru()[ID]
 1088                         << " livethru)\n");
 1118         LLVM_DEBUG(dbgs() << "  UpdateRegP: SU(" << SU.NodeNum << ") "
 1118         LLVM_DEBUG(dbgs() << "  UpdateRegP: SU(" << SU.NodeNum << ") "
 1121                    dbgs() << "              to "; PDiff.dump(*TRI););
 1125       LLVM_DEBUG(dbgs() << "  LiveReg: " << printVRegOrUnit(Reg, TRI) << "\n");
 1125       LLVM_DEBUG(dbgs() << "  LiveReg: " << printVRegOrUnit(Reg, TRI) << "\n");
 1153             LLVM_DEBUG(dbgs() << "  UpdateRegP: SU(" << SU->NodeNum << ") "
 1153             LLVM_DEBUG(dbgs() << "  UpdateRegP: SU(" << SU->NodeNum << ") "
 1155                        dbgs() << "              to "; PDiff.dump(*TRI););
 1170       dbgs() << "  Pressure Diff      : ";
 1173     dbgs() << "  Single Issue       : ";
 1176       dbgs() << "true;";
 1178       dbgs() << "false;";
 1197   LLVM_DEBUG(dbgs() << "ScheduleDAGMILive::schedule starting\n");
 1219     LLVM_DEBUG(dbgs() << "** ScheduleDAGMILive::schedule picking next node\n");
 1248     dbgs() << "*** Final schedule for "
 1249            << printMBBReference(*begin()->getParent()) << " ***\n";
 1364       LLVM_DEBUG(dbgs() << "Cyclic Path: SU(" << DefSU->NodeNum << ") -> SU("
 1364       LLVM_DEBUG(dbgs() << "Cyclic Path: SU(" << DefSU->NodeNum << ") -> SU("
 1365                         << SU->NodeNum << ") = " << CyclicLatency << "c\n");
 1365                         << SU->NodeNum << ") = " << CyclicLatency << "c\n");
 1370   LLVM_DEBUG(dbgs() << "Cyclic Critical Path: " << MaxCyclicLatency << "c\n");
 1370   LLVM_DEBUG(dbgs() << "Cyclic Critical Path: " << MaxCyclicLatency << "c\n");
 1414       LLVM_DEBUG(dbgs() << "Top Pressure:\n"; dumpRegSetPressure(
 1451       LLVM_DEBUG(dbgs() << "Bottom Pressure:\n"; dumpRegSetPressure(
 1577       LLVM_DEBUG(dbgs() << "Cluster ld/st SU(" << SUa->NodeNum << ") - SU("
 1577       LLVM_DEBUG(dbgs() << "Cluster ld/st SU(" << SUa->NodeNum << ") - SU("
 1578                         << SUb->NodeNum << ")\n");
 1586         LLVM_DEBUG(dbgs() << "  Copy Succ SU(" << Succ.getSUnit()->NodeNum
 1587                           << ")\n");
 1794   LLVM_DEBUG(dbgs() << "Constraining copy SU(" << CopySU->NodeNum << ")\n");
 1794   LLVM_DEBUG(dbgs() << "Constraining copy SU(" << CopySU->NodeNum << ")\n");
 1798     LLVM_DEBUG(dbgs() << "  Local use SU(" << (*I)->NodeNum << ") -> SU("
 1798     LLVM_DEBUG(dbgs() << "  Local use SU(" << (*I)->NodeNum << ") -> SU("
 1799                       << GlobalSU->NodeNum << ")\n");
 1804     LLVM_DEBUG(dbgs() << "  Global use SU(" << (*I)->NodeNum << ") -> SU("
 1804     LLVM_DEBUG(dbgs() << "  Global use SU(" << (*I)->NodeNum << ") -> SU("
 1805                       << FirstLocalSU->NodeNum << ")\n");
 2002     LLVM_DEBUG(dbgs() << "  SU(" << SU->NodeNum << ") uops="
 2002     LLVM_DEBUG(dbgs() << "  SU(" << SU->NodeNum << ") uops="
 2010     LLVM_DEBUG(dbgs() << "  hazard: SU(" << SU->NodeNum << ") must "
 2010     LLVM_DEBUG(dbgs() << "  hazard: SU(" << SU->NodeNum << ") must "
 2011                       << (isTop() ? "begin" : "end") << " group\n");
 2011                       << (isTop() ? "begin" : "end") << " group\n");
 2028         LLVM_DEBUG(dbgs() << "  SU(" << SU->NodeNum << ") "
 2028         LLVM_DEBUG(dbgs() << "  SU(" << SU->NodeNum << ") "
 2029                           << SchedModel->getResourceName(ResIdx)
 2031                           << "=" << NRCycle << "c\n");
 2031                           << "=" << NRCycle << "c\n");
 2052     LLVM_DEBUG(dbgs() << Available.getName() << " RemLatency SU("
 2053                       << LateSU->NodeNum << ") " << RemLatency << "c\n");
 2053                       << LateSU->NodeNum << ") " << RemLatency << "c\n");
 2069   LLVM_DEBUG(dbgs() << "  " << Available.getName() << " + Remain MOps: "
 2069   LLVM_DEBUG(dbgs() << "  " << Available.getName() << " + Remain MOps: "
 2081         dbgs() << "  " << Available.getName() << " + Remain CritRes: "
 2081         dbgs() << "  " << Available.getName() << " + Remain CritRes: "
 2083                << " " << SchedModel->getResourceName(OtherCritIdx) << "\n");
 2083                << " " << SchedModel->getResourceName(OtherCritIdx) << "\n");
 2083                << " " << SchedModel->getResourceName(OtherCritIdx) << "\n");
 2147   LLVM_DEBUG(dbgs() << "Cycle: " << CurrCycle << ' ' << Available.getName()
 2168   LLVM_DEBUG(dbgs() << "  " << SchedModel->getResourceName(PIdx) << " +"
 2168   LLVM_DEBUG(dbgs() << "  " << SchedModel->getResourceName(PIdx) << " +"
 2168   LLVM_DEBUG(dbgs() << "  " << SchedModel->getResourceName(PIdx) << " +"
 2169                     << Cycles << "x" << Factor << "u\n");
 2169                     << Cycles << "x" << Factor << "u\n");
 2180     LLVM_DEBUG(dbgs() << "  *** Critical resource "
 2181                       << SchedModel->getResourceName(PIdx) << ": "
 2181                       << SchedModel->getResourceName(PIdx) << ": "
 2183                       << "c\n");
 2189     LLVM_DEBUG(dbgs() << "  Resource conflict: "
 2190                       << SchedModel->getResourceName(PIdx)
 2192                       << " reserved until @" << NextAvailable << "\n");
 2192                       << " reserved until @" << NextAvailable << "\n");
 2219   LLVM_DEBUG(dbgs() << "  Ready @" << ReadyCycle << "c\n");
 2219   LLVM_DEBUG(dbgs() << "  Ready @" << ReadyCycle << "c\n");
 2229       LLVM_DEBUG(dbgs() << "  *** Stall until: " << ReadyCycle << "\n");
 2229       LLVM_DEBUG(dbgs() << "  *** Stall until: " << ReadyCycle << "\n");
 2258         LLVM_DEBUG(dbgs() << "  *** Critical resource NumMicroOps: "
 2260                           << "c\n");
 2297     LLVM_DEBUG(dbgs() << "  " << Available.getName() << " TopLatency SU("
 2297     LLVM_DEBUG(dbgs() << "  " << Available.getName() << " TopLatency SU("
 2298                       << SU->NodeNum << ") " << TopLatency << "c\n");
 2298                       << SU->NodeNum << ") " << TopLatency << "c\n");
 2302     LLVM_DEBUG(dbgs() << "  " << Available.getName() << " BotLatency SU("
 2302     LLVM_DEBUG(dbgs() << "  " << Available.getName() << " BotLatency SU("
 2303                       << SU->NodeNum << ") " << BotLatency << "c\n");
 2303                       << SU->NodeNum << ") " << BotLatency << "c\n");
 2327     LLVM_DEBUG(dbgs() << "  Bump cycle to " << (isTop() ? "end" : "begin")
 2327     LLVM_DEBUG(dbgs() << "  Bump cycle to " << (isTop() ? "end" : "begin")
 2328                       << " group\n");
 2333     LLVM_DEBUG(dbgs() << "  *** Max MOps " << CurrMOps << " at cycle "
 2333     LLVM_DEBUG(dbgs() << "  *** Max MOps " << CurrMOps << " at cycle "
 2432   dbgs() << Available.getName() << " @" << CurrCycle << "c\n"
 2432   dbgs() << Available.getName() << " @" << CurrCycle << "c\n"
 2433          << "  Retired: " << RetiredMOps;
 2434   dbgs() << "\n  Executed: " << getExecutedCount() / LFactor << "c";
 2434   dbgs() << "\n  Executed: " << getExecutedCount() / LFactor << "c";
 2435   dbgs() << "\n  Critical: " << ResCount / LFactor << "c, "
 2435   dbgs() << "\n  Critical: " << ResCount / LFactor << "c, "
 2436          << ResCount / ResFactor << " "
 2437          << SchedModel->getResourceName(ZoneCritResIdx)
 2438          << "\n  ExpectedLatency: " << ExpectedLatency << "c\n"
 2438          << "\n  ExpectedLatency: " << ExpectedLatency << "c\n"
 2439          << (IsResourceLimited ? "  - Resource" : "  - Latency")
 2440          << " limited.\n";
 2542     LLVM_DEBUG(dbgs() << "  " << CurrZone.Available.getName()
 2543                       << " RemainingLatency " << RemLatency << " + "
 2543                       << " RemainingLatency " << RemLatency << " + "
 2544                       << CurrZone.getCurrCycle() << "c > CritPath "
 2545                       << Rem.CriticalPath << "\n");
 2552     dbgs() << "  " << CurrZone.Available.getName() << " ResourceLimited: "
 2552     dbgs() << "  " << CurrZone.Available.getName() << " ResourceLimited: "
 2553            << SchedModel->getResourceName(CurrZone.getZoneCritResIdx()) << "\n";
 2553            << SchedModel->getResourceName(CurrZone.getZoneCritResIdx()) << "\n";
 2555                  << "  RemainingLimit: "
 2556                  << SchedModel->getResourceName(OtherCritIdx) << "\n";
 2556                  << SchedModel->getResourceName(OtherCritIdx) << "\n";
 2558              << "  Latency limited both directions.\n");
 2627   dbgs() << "  Cand SU(" << Cand.SU->NodeNum << ") " << getReasonStr(Cand.Reason);
 2627   dbgs() << "  Cand SU(" << Cand.SU->NodeNum << ") " << getReasonStr(Cand.Reason);
 2627   dbgs() << "  Cand SU(" << Cand.SU->NodeNum << ") " << getReasonStr(Cand.Reason);
 2629     dbgs() << " " << TRI->getRegPressureSetName(P.getPSet())
 2629     dbgs() << " " << TRI->getRegPressureSetName(P.getPSet())
 2630            << ":" << P.getUnitInc() << " ";
 2630            << ":" << P.getUnitInc() << " ";
 2632     dbgs() << "      ";
 2634     dbgs() << " " << SchedModel->getProcResource(ResIdx)->Name << " ";
 2634     dbgs() << " " << SchedModel->getProcResource(ResIdx)->Name << " ";
 2634     dbgs() << " " << SchedModel->getProcResource(ResIdx)->Name << " ";
 2636     dbgs() << "         ";
 2638     dbgs() << " " << Latency << " cycles ";
 2638     dbgs() << " " << Latency << " cycles ";
 2640     dbgs() << "          ";
 2706   LLVM_DEBUG(dbgs() << "Pick " << (IsTop ? "Top " : "Bot ")
 2706   LLVM_DEBUG(dbgs() << "Pick " << (IsTop ? "Top " : "Bot ")
 2707                     << GenericSchedulerBase::getReasonStr(Reason) << '\n');
 2796   dbgs() << "GenericScheduler RegionPolicy: "
 2797          << " ShouldTrackPressure=" << RegionPolicy.ShouldTrackPressure
 2798          << " OnlyTopDown=" << RegionPolicy.OnlyTopDown
 2799          << " OnlyBottomUp=" << RegionPolicy.OnlyBottomUp
 2800          << "\n";
 2832       dbgs() << "IssueCycles="
 2833              << Rem.RemIssueCount / SchedModel->getLatencyFactor() << "c "
 2834              << "IterCycles=" << IterCount / SchedModel->getLatencyFactor()
 2835              << "c NumIters=" << (AcyclicCount + IterCount - 1) / IterCount
 2836              << " InFlight=" << InFlightCount / SchedModel->getMicroOpFactor()
 2837              << "m BufferLim=" << SchedModel->getMicroOpBufferSize() << "m\n";
 2837              << "m BufferLim=" << SchedModel->getMicroOpBufferSize() << "m\n";
 2838       if (Rem.IsAcyclicLatencyLimited) dbgs() << "  ACYCLIC LATENCY LIMIT\n");
 2849   LLVM_DEBUG(dbgs() << "Critical Path(GS-RR ): " << Rem.CriticalPath << '\n');
 2851     errs() << "Critical Path(GS-RR ): " << Rem.CriticalPath << " \n";
 2851     errs() << "Critical Path(GS-RR ): " << Rem.CriticalPath << " \n";
 2980              << "  Try  SU(" << Cand.SU->NodeNum << ") "
 2980              << "  Try  SU(" << Cand.SU->NodeNum << ") "
 2981              << TRI->getRegPressureSetName(Cand.RPDelta.Excess.getPSet()) << ":"
 2981              << TRI->getRegPressureSetName(Cand.RPDelta.Excess.getPSet()) << ":"
 2982              << Cand.RPDelta.Excess.getUnitInc() << "\n");
 3152   LLVM_DEBUG(dbgs() << "Picking from Bot:\n");
 3172   LLVM_DEBUG(dbgs() << "Picking from Top:\n");
 3248   LLVM_DEBUG(dbgs() << "Scheduling SU(" << SU->NodeNum << ") "
 3248   LLVM_DEBUG(dbgs() << "Scheduling SU(" << SU->NodeNum << ") "
 3271     LLVM_DEBUG(dbgs() << "  Rescheduling physreg copy ";
 3351   LLVM_DEBUG(dbgs() << "Critical Path: (PGS-RR) " << Rem.CriticalPath << '\n');
 3353     errs() << "Critical Path(PGS-RR ): " << Rem.CriticalPath << " \n";
 3353     errs() << "Critical Path(PGS-RR ): " << Rem.CriticalPath << " \n";
 3441   LLVM_DEBUG(dbgs() << "Scheduling SU(" << SU->NodeNum << ") "
 3441   LLVM_DEBUG(dbgs() << "Scheduling SU(" << SU->NodeNum << ") "
 3531     LLVM_DEBUG(dbgs() << "Pick node "
 3532                       << "SU(" << SU->NodeNum << ") "
 3532                       << "SU(" << SU->NodeNum << ") "
 3533                       << " ILP: " << DAG->getDFSResult()->getILP(SU)
 3534                       << " Tree: " << DAG->getDFSResult()->getSubtreeID(SU)
 3535                       << " @"
 3539                       << "Scheduling " << *SU->getInstr());
 3717     SS << "SU:" << SU->NodeNum;
 3719       SS << " I:" << DFS->getNumInstrs(SU);
lib/CodeGen/MachineSink.cpp
  220   LLVM_DEBUG(dbgs() << "Coalescing: " << *DefMI);
  221   LLVM_DEBUG(dbgs() << "*** to: " << MI);
  304   LLVM_DEBUG(dbgs() << "******** Machine Sinking ********\n");
  331         LLVM_DEBUG(dbgs() << " *** Splitting critical edge: "
  332                           << printMBBReference(*Pair.first) << " -- "
  333                           << printMBBReference(*NewSucc) << " -- "
  338         LLVM_DEBUG(dbgs() << " *** Not legal to break critical edge\n");
  888   LLVM_DEBUG(dbgs() << "Sink instr " << MI << "\tinto block " << *SuccToSinkTo);
  888   LLVM_DEBUG(dbgs() << "Sink instr " << MI << "\tinto block " << *SuccToSinkTo);
  898       LLVM_DEBUG(dbgs() << " *** NOTE: Won't sink load along critical edge.\n");
  905       LLVM_DEBUG(dbgs() << " *** NOTE: Critical edge found\n");
  911       LLVM_DEBUG(dbgs() << " *** NOTE: Loop header found\n");
  917       LLVM_DEBUG(dbgs() << "Sinking along critical edge.\n");
  925         LLVM_DEBUG(dbgs() << " *** PUNTING: Not legal or profitable to "
  939       LLVM_DEBUG(dbgs() << " *** PUNTING: Not legal or profitable to "
lib/CodeGen/MachineTraceMetrics.cpp
  397   LLVM_DEBUG(dbgs() << "Invalidate traces through " << printMBBReference(*MBB)
  478   LLVM_DEBUG(dbgs() << "Computing " << getName() << " trace through "
  478   LLVM_DEBUG(dbgs() << "Computing " << getName() << " trace through "
  478   LLVM_DEBUG(dbgs() << "Computing " << getName() << " trace through "
  487     LLVM_DEBUG(dbgs() << "  pred for " << printMBBReference(*I) << ": ");
  487     LLVM_DEBUG(dbgs() << "  pred for " << printMBBReference(*I) << ": ");
  495         dbgs() << "null\n";
  505     LLVM_DEBUG(dbgs() << "  succ for " << printMBBReference(*I) << ": ");
  505     LLVM_DEBUG(dbgs() << "  succ for " << printMBBReference(*I) << ": ");
  513         dbgs() << "null\n";
  532       LLVM_DEBUG(dbgs() << "Invalidate " << printMBBReference(*MBB) << ' '
  533                         << getName() << " height.\n");
  533                         << getName() << " height.\n");
  557       LLVM_DEBUG(dbgs() << "Invalidate " << printMBBReference(*MBB) << ' '
  558                         << getName() << " depth.\n");
  558                         << getName() << " depth.\n");
  861     LLVM_DEBUG(dbgs() << "\nDepths for " << printMBBReference(*MBB) << ":\n");
  861     LLVM_DEBUG(dbgs() << "\nDepths for " << printMBBReference(*MBB) << ":\n");
  874                  << MTM.SchedModel.getProcResource(K)->Name << " ("
  874                  << MTM.SchedModel.getProcResource(K)->Name << " ("
  875                  << PRDepths[K]/Factor << " ops x" << Factor << ")\n";
  875                  << PRDepths[K]/Factor << " ops x" << Factor << ")\n";
 1046     LLVM_DEBUG(dbgs() << "Heights for " << printMBBReference(*MBB) << ":\n");
 1046     LLVM_DEBUG(dbgs() << "Heights for " << printMBBReference(*MBB) << ":\n");
 1058                  << MTM.SchedModel.getProcResource(K)->Name << " ("
 1058                  << MTM.SchedModel.getProcResource(K)->Name << " ("
 1059                  << PRHeights[K]/Factor << " ops x" << Factor << ")\n";
 1059                  << PRHeights[K]/Factor << " ops x" << Factor << ")\n";
 1082           LLVM_DEBUG(dbgs() << "pred\t" << Height << '\t' << PHI);
 1133     LLVM_DEBUG(dbgs() << printMBBReference(*MBB) << " Live-ins:");
 1154     LLVM_DEBUG(dbgs() << "Critical path: " << TBI.CriticalPath << '\n');
 1289   OS << getName() << " ensemble:\n";
 1289   OS << getName() << " ensemble:\n";
 1291     OS << "  %bb." << i << '\t';
 1299     OS << "depth=" << InstrDepth;
 1301       OS << " pred=" << printMBBReference(*Pred);
 1303       OS << " pred=null";
 1304     OS << " head=%bb." << Head;
 1306       OS << " +instrs";
 1308     OS << "depth invalid";
 1309   OS << ", ";
 1311     OS << "height=" << InstrHeight;
 1313       OS << " succ=" << printMBBReference(*Succ);
 1315       OS << " succ=null";
 1316     OS << " tail=%bb." << Tail;
 1318       OS << " +instrs";
 1320     OS << "height invalid";
 1322     OS << ", crit=" << CriticalPath;
 1328   OS << TE.getName() << " trace %bb." << TBI.Head << " --> %bb." << MBBNum
 1328   OS << TE.getName() << " trace %bb." << TBI.Head << " --> %bb." << MBBNum
 1328   OS << TE.getName() << " trace %bb." << TBI.Head << " --> %bb." << MBBNum
 1329      << " --> %bb." << TBI.Tail << ':';
 1331     OS << ' ' << getInstrCount() << " instrs.";
 1333     OS << ' ' << TBI.CriticalPath << " cycles.";
 1336   OS << "\n%bb." << MBBNum;
 1339     OS << " <- " << printMBBReference(*Block->Pred);
 1344   OS << "\n    ";
 1347     OS << " -> " << printMBBReference(*Block->Succ);
lib/CodeGen/MachineVerifier.cpp
  415         errs() << "Instruction: " << *MBBI;
  479       errs() << "# " << Banner << '\n';
  479       errs() << "# " << Banner << '\n';
  485   errs() << "*** Bad machine code: " << msg << " ***\n"
  485   errs() << "*** Bad machine code: " << msg << " ***\n"
  485   errs() << "*** Bad machine code: " << msg << " ***\n"
  486       << "- function:    " << MF->getName() << "\n";
  486       << "- function:    " << MF->getName() << "\n";
  492   errs() << "- basic block: " << printMBBReference(*MBB) << ' '
  493          << MBB->getName() << " (" << (const void *)MBB << ')';
  495     errs() << " [" << Indexes->getMBBStartIdx(MBB)
  503   errs() << "- instruction: ";
  513   errs() << "- operand " << MONum << ":   ";
  513   errs() << "- operand " << MONum << ":   ";
  515   errs() << "\n";
  519   errs() << "- at:          " << Pos << '\n';
  523   errs() << "- interval:    " << LI << '\n';
  535   errs() << "- segment:     " << S << '\n';
  539   errs() << "- ValNo:       " << VNI.id << " (def " << VNI.def << ")\n";
  539   errs() << "- ValNo:       " << VNI.id << " (def " << VNI.def << ")\n";
  539   errs() << "- ValNo:       " << VNI.id << " (def " << VNI.def << ")\n";
  543   errs() << "- liverange:   " << LR << '\n';
  547   errs() << "- p. register: " << printReg(PReg, TRI) << '\n';
  551   errs() << "- v. register: " << printReg(VReg, TRI) << '\n';
  558     errs() << "- regunit:     " << printRegUnit(VRegOrUnit, TRI) << '\n';
  563   errs() << "- lanemask:    " << PrintLaneMask(LaneMask) << '\n';
  644       errs() << "MBB is not in the predecessor list of the successor "
  645              << printMBBReference(*(*I)) << ".\n";
  656       errs() << "MBB is not in the successor list of the predecessor "
  657              << printMBBReference(*(*I)) << ".\n";
  832       errs() << "Last instruction was at " << lastIndex << '\n';
  845     errs() << "First terminator was:\t" << *FirstTerminator;
 1484     errs() << MCID.getNumOperands() << " operands expected, but "
 1485            << MI->getNumOperands() << " given.\n";
 1550         errs() << "Def = " << DstTy << ", Src = " << SrcTy << "\n";
 1550         errs() << "Def = " << DstTy << ", Src = " << SrcTy << "\n";
 1550         errs() << "Def = " << DstTy << ", Src = " << SrcTy << "\n";
 1563           errs() << "Def Size = " << DstSize << ", Src Size = " << SrcSize
 1563           errs() << "Def Size = " << DstSize << ", Src Size = " << SrcSize
 1564                  << "\n";
 1695             errs() << printReg(Reg, TRI) << " is not a "
 1696                    << TRI->getRegClassName(DRC) << " register.\n";
 1696                    << TRI->getRegClassName(DRC) << " register.\n";
 1746           errs() << "Register bank " << RegBank->getName() << " too small("
 1746           errs() << "Register bank " << RegBank->getName() << " too small("
 1746           errs() << "Register bank " << RegBank->getName() << " too small("
 1747                  << RegBank->getSize() << ") to fit " << Ty.getSizeInBits()
 1748                  << "-bits\n";
 1765           errs() << "Expect register class "
 1766                  << TRI->getRegClassName(
 1768                  << " but got nothing\n";
 1779           errs() << "Register class " << TRI->getRegClassName(RC)
 1779           errs() << "Register class " << TRI->getRegClassName(RC)
 1780               << " does not support subreg index " << SubIdx << "\n";
 1780               << " does not support subreg index " << SubIdx << "\n";
 1785           errs() << "Register class " << TRI->getRegClassName(RC)
 1785           errs() << "Register class " << TRI->getRegClassName(RC)
 1786               << " does not fully support subreg index " << SubIdx << "\n";
 1786               << " does not fully support subreg index " << SubIdx << "\n";
 1808             errs() << "Expected a " << TRI->getRegClassName(DRC)
 1808             errs() << "Expected a " << TRI->getRegClassName(DRC)
 1809                 << " register, but got a " << TRI->getRegClassName(RC)
 1809                 << " register, but got a " << TRI->getRegClassName(RC)
 1810                 << " register\n";
 1859         errs() << "Live stack: " << LI << '\n';
 1863         errs() << "Live stack: " << LI << '\n';
 2127       errs() << "Block ends at " << stop
 2128           << " last instruction was at " << lastIndex << '\n';
 2263                  << " is a predecessor according to the CFG.\n";
 2287         errs() << "Virtual register " << printReg(*I)
 2288                << " is used after the block.\n";
 2324           errs() << "Virtual register " << printReg(Reg)
 2325                  << " must be live through the block.\n";
 2330           errs() << "Virtual register " << printReg(Reg)
 2331                  << " is not needed live through the block.\n";
 2349       errs() << printReg(Reg, TRI) << " still has defs or uses\n";
 2649         errs() << " live into " << printMBBReference(*MFI) << '@'
 2650                << LiveInts->getMBBStartIdx(&*MFI) << ", not live before "
 2659         errs() << "Valno #" << PVNI->id << " live out of "
 2659         errs() << "Valno #" << PVNI->id << " live out of "
 2660                << printMBBReference(*(*PI)) << '@' << PEnd << "\nValno #"
 2661                << VNI->id << " live into " << printMBBReference(*MFI) << '@'
 2715       errs() << comp << ": valnos";
 2795           errs() << "FrameDestroy <" << Size << "> is after FrameSetup <"
 2795           errs() << "FrameDestroy <" << Size << "> is after FrameSetup <"
 2796               << AbsSPAdj << ">.\n";
 2812         errs() << "Predecessor " << printMBBReference(*(*I))
 2813                << " has exit state (" << SPState[(*I)->getNumber()].ExitValue
 2814                << ", " << SPState[(*I)->getNumber()].ExitIsSetup << "), while "
 2814                << ", " << SPState[(*I)->getNumber()].ExitIsSetup << "), while "
 2815                << printMBBReference(*MBB) << " has entry state ("
 2816                << BBState.EntryValue << ", " << BBState.EntryIsSetup << ").\n";
 2816                << BBState.EntryValue << ", " << BBState.EntryIsSetup << ").\n";
 2828         errs() << "Successor " << printMBBReference(*(*I))
 2829                << " has entry state (" << SPState[(*I)->getNumber()].EntryValue
 2830                << ", " << SPState[(*I)->getNumber()].EntryIsSetup << "), while "
 2830                << ", " << SPState[(*I)->getNumber()].EntryIsSetup << "), while "
 2831                << printMBBReference(*MBB) << " has exit state ("
 2832                << BBState.ExitValue << ", " << BBState.ExitIsSetup << ").\n";
 2832                << BBState.ExitValue << ", " << BBState.ExitIsSetup << ").\n";
lib/CodeGen/MacroFusion.cpp
   69       dbgs() << "Macro fuse: "; DAG.dumpNodeName(FirstSU); dbgs() << " - ";
   69       dbgs() << "Macro fuse: "; DAG.dumpNodeName(FirstSU); dbgs() << " - ";
   70       DAG.dumpNodeName(SecondSU); dbgs() << " /  ";
   71       dbgs() << DAG.TII->getName(FirstSU.getInstr()->getOpcode()) << " - "
   82       LLVM_DEBUG(dbgs() << "  Bind "; DAG.dumpNodeName(SecondSU);
   83                  dbgs() << " - "; DAG.dumpNodeName(*SU); dbgs() << '\n';);
   94       LLVM_DEBUG(dbgs() << "  Bind "; DAG.dumpNodeName(*SU); dbgs() << " - ";
   94       LLVM_DEBUG(dbgs() << "  Bind "; DAG.dumpNodeName(*SU); dbgs() << " - ";
lib/CodeGen/ModuloSchedule.cpp
   26     OS << "[stage " << getStage(MI) << " @" << getCycle(MI) << "c] " << *MI;
   26     OS << "[stage " << getStage(MI) << " @" << getCycle(MI) << "c] " << *MI;
   26     OS << "[stage " << getStage(MI) << " @" << getCycle(MI) << "c] " << *MI;
  162   LLVM_DEBUG(dbgs() << "New block\n"; KernelBB->dump(););
  229       dbgs() << "prolog:\n";
  311       dbgs() << "epilog:\n";
 1413       LLVM_DEBUG(dbgs() << " -- padding defaults array from " << Defaults.size()
 1414                         << " to " << (Defaults.size() + StageDiff) << "\n");
 1414                         << " to " << (Defaults.size() + StageDiff) << "\n");
 1556     OS << "use of " << *Source << ": distance(" << PhiDefaults.size() << ") in "
 1556     OS << "use of " << *Source << ": distance(" << PhiDefaults.size() << ") in "
 1556     OS << "use of " << *Source << ": distance(" << PhiDefaults.size() << ") in "
 1779       LLVM_DEBUG(dbgs() << "Dynamic: TC > " << TC << "\n");
 1779       LLVM_DEBUG(dbgs() << "Dynamic: TC > " << TC << "\n");
 1783       LLVM_DEBUG(dbgs() << "Static-false: TC > " << TC << "\n");
 1783       LLVM_DEBUG(dbgs() << "Static-false: TC > " << TC << "\n");
 1794       LLVM_DEBUG(dbgs() << "Static-true: TC > " << TC << "\n");
 1794       LLVM_DEBUG(dbgs() << "Static-true: TC > " << TC << "\n");
 1889     errs() << "Modulo kernel validation error: [\n";
 1890     errs() << " [golden] ";
 1892     errs() << "          ";
 1894     errs() << "]\n";
 1898     errs() << "Golden reference kernel:\n";
 1900     errs() << "New kernel:\n";
 1982   dbgs() << "  Stage=" << Stage << ", Cycle=" << Cycle << "\n";
 1982   dbgs() << "  Stage=" << Stage << ", Cycle=" << Cycle << "\n";
 1982   dbgs() << "  Stage=" << Stage << ", Cycle=" << Cycle << "\n";
 1988   dbgs() << "--- ModuloScheduleTest running on BB#" << BB->getNumber() << "\n";
 1988   dbgs() << "--- ModuloScheduleTest running on BB#" << BB->getNumber() << "\n";
 1997       dbgs() << "Parsing post-instr symbol for " << MI;
 2018     OS << "Stage-" << S.getStage(MI) << "_Cycle-" << S.getCycle(MI);
 2018     OS << "Stage-" << S.getStage(MI) << "_Cycle-" << S.getCycle(MI);
lib/CodeGen/PHIElimination.cpp
  278       LLVM_DEBUG(dbgs() << "Reusing " << printReg(IncomingReg) << " for "
  278       LLVM_DEBUG(dbgs() << "Reusing " << printReg(IncomingReg) << " for "
  302           LLVM_DEBUG(dbgs() << "Remove old kill from " << *OldKill);
  599         LLVM_DEBUG(dbgs() << printReg(Reg) << " live-out before critical edge "
  600                           << printMBBReference(*PreMBB) << " -> "
  601                           << printMBBReference(MBB) << ": " << *BBI);
  617           dbgs() << "Split wouldn't help, maybe avoid loop copies?\n";
  619             dbgs() << "PreLoop: " << *PreLoop;
  621             dbgs() << "CurLoop: " << *CurLoop;
  632         LLVM_DEBUG(dbgs() << "Failed to split critical edge.\n");
lib/CodeGen/PeepholeOptimizer.cpp
  699                      << "findNextSource: found PHI cycle, aborting...\n");
  712           LLVM_DEBUG(dbgs() << "findNextSource: PHI limit reached\n");
 1146     LLVM_DEBUG(dbgs() << "-- getNewSource\n");
 1147     LLVM_DEBUG(dbgs() << "   Replacing: " << OrigPHI);
 1148     LLVM_DEBUG(dbgs() << "        With: " << NewPHI);
 1244   LLVM_DEBUG(dbgs() << "-- RewriteSource\n");
 1245   LLVM_DEBUG(dbgs() << "   Replacing: " << CopyLike);
 1246   LLVM_DEBUG(dbgs() << "        With: " << *NewCopy);
 1463     LLVM_DEBUG(dbgs() << "NAPhysCopy: intervening clobber forbids erasing "
 1472     LLVM_DEBUG(dbgs() << "NAPhysCopy: erasing " << MI);
 1481   LLVM_DEBUG(dbgs() << "NAPhysCopy: missed opportunity " << MI);
 1577     LLVM_DEBUG(dbgs() << "Optimize recurrence chain from " << PHI);
 1579       LLVM_DEBUG(dbgs() << "\tInst: " << *(RI.getMI()));
 1585         LLVM_DEBUG(dbgs() << "\t\tCommuted: " << *(RI.getMI()));
 1597   LLVM_DEBUG(dbgs() << "********** PEEPHOLE OPTIMIZER **********\n");
 1598   LLVM_DEBUG(dbgs() << "********** Function: " << MF.getName() << '\n');
 1670                            << "NAPhysCopy: invalidating because of " << *MI);
 1680                            << "NAPhysCopy: invalidating because of " << *MI);
 1696         LLVM_DEBUG(dbgs() << "NAPhysCopy: blowing away all info due to "
 1773               LLVM_DEBUG(dbgs() << "Replacing: " << *MI);
 1774               LLVM_DEBUG(dbgs() << "     With: " << *FoldMI);
 1798         LLVM_DEBUG(dbgs() << "Encountered load fold barrier on " << *MI);
lib/CodeGen/PostRASchedulerList.cpp
  246     dbgs() << "*** Final schedule ***\n";
  260       dbgs() << "**** NOOP ****\n";
  311   LLVM_DEBUG(dbgs() << "PostRAScheduler\n");
  324       dbgs() << "*** DEBUG scheduling " << Fn.getName() << ":"
  324       dbgs() << "*** DEBUG scheduling " << Fn.getName() << ":"
  325              << printMBBReference(MBB) << " ***\n";
  415   LLVM_DEBUG(dbgs() << "********** List Scheduling **********\n");
  462     dbgs() << "*** Scheduling failed! ***\n";
  464     dbgs() << " has been released too many times!\n";
  499   LLVM_DEBUG(dbgs() << "*** Scheduling [" << CurCycle << "]: ");
  499   LLVM_DEBUG(dbgs() << "*** Scheduling [" << CurCycle << "]: ");
  514   LLVM_DEBUG(dbgs() << "*** Emitting noop in cycle " << CurCycle << '\n');
  566     LLVM_DEBUG(dbgs() << "\n*** Examining Available\n";
  604             dbgs() << "*** Will schedule a non-preferred instruction...\n");
  631         LLVM_DEBUG(dbgs() << "*** Max instructions per cycle " << CurCycle
  639         LLVM_DEBUG(dbgs() << "*** Finished cycle " << CurCycle << '\n');
  644         LLVM_DEBUG(dbgs() << "*** Stall in cycle " << CurCycle << '\n');
lib/CodeGen/ProcessImplicitDefs.cpp
   75   LLVM_DEBUG(dbgs() << "Processing " << *MI);
   86       LLVM_DEBUG(dbgs() << "Converting to IMPLICIT_DEF: " << *UserMI);
  118     LLVM_DEBUG(dbgs() << "Physreg user: " << *UserMI);
  127   LLVM_DEBUG(dbgs() << "Keeping physreg: " << *MI);
  134   LLVM_DEBUG(dbgs() << "********** PROCESS IMPLICIT DEFS **********\n"
  135                     << "********** Function: " << MF.getName() << '\n');
  156     LLVM_DEBUG(dbgs() << printMBBReference(*MFI) << " has " << WorkList.size()
  157                       << " implicit defs.\n");
lib/CodeGen/PrologEpilogInserter.cpp
  651     LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset
  651     LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset
  652                       << "]\n");
  655     LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset
  655     LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset
  656                       << "]\n");
  752     LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") scavenged at SP["
  752     LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") scavenged at SP["
  753                       << ObjStart << "]\n");
  756     LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") scavenged at SP["
  756     LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") scavenged at SP["
  757                       << FreeStart << "]\n");
  852       LLVM_DEBUG(dbgs() << "alloc FI(" << i << ") at SP[" << -Offset << "]\n");
  852       LLVM_DEBUG(dbgs() << "alloc FI(" << i << ") at SP[" << -Offset << "]\n");
  852       LLVM_DEBUG(dbgs() << "alloc FI(" << i << ") at SP[" << -Offset << "]\n");
  869       LLVM_DEBUG(dbgs() << "alloc FI(" << i << ") at SP[" << Offset << "]\n");
  869       LLVM_DEBUG(dbgs() << "alloc FI(" << i << ") at SP[" << Offset << "]\n");
  869       LLVM_DEBUG(dbgs() << "alloc FI(" << i << ") at SP[" << Offset << "]\n");
  906     LLVM_DEBUG(dbgs() << "Local frame base offset: " << Offset << "\n");
  906     LLVM_DEBUG(dbgs() << "Local frame base offset: " << Offset << "\n");
  912       LLVM_DEBUG(dbgs() << "alloc FI(" << Entry.first << ") at SP[" << FIOffset
  912       LLVM_DEBUG(dbgs() << "alloc FI(" << Entry.first << ") at SP[" << FIOffset
  913                         << "]\n");
lib/CodeGen/PseudoSourceValue.cpp
   37     O << PSVNames[Kind];
   39     O << "TargetCustom" << Kind;
   79   OS << "FixedStack" << FI;
lib/CodeGen/ReachingDefAnalysis.cpp
   50     LLVM_DEBUG(dbgs() << printMBBReference(*MBB) << ": entry\n");
   73                     << (!TraversedMBB.IsDone ? ": incomplete\n"
  112       LLVM_DEBUG(dbgs() << printReg(MO.getReg(), TRI) << ":\t" << CurInstr
  145   LLVM_DEBUG(dbgs() << "********** REACHING DEFINITION ANALYSIS **********\n");
lib/CodeGen/RegAllocBase.cpp
   94       LLVM_DEBUG(dbgs() << "Dropping unused " << *VirtReg << '\n');
  106     LLVM_DEBUG(dbgs() << "\nselectOrSplit "
  107                       << TRI->getRegClassName(MRI->getRegClass(VirtReg->reg))
  108                       << ':' << *VirtReg << " w=" << VirtReg->weight << '\n');
  151         LLVM_DEBUG(dbgs() << "not queueing unused  " << *SplitVirtReg << '\n');
  156       LLVM_DEBUG(dbgs() << "queuing new interval: " << *SplitVirtReg << "\n");
  156       LLVM_DEBUG(dbgs() << "queuing new interval: " << *SplitVirtReg << "\n");
lib/CodeGen/RegAllocBasic.cpp
  221   LLVM_DEBUG(dbgs() << "spilling " << printReg(PhysReg, TRI)
  222                     << " interferences with " << VirtReg << "\n");
  222                     << " interferences with " << VirtReg << "\n");
  294   LLVM_DEBUG(dbgs() << "spilling: " << VirtReg << '\n');
  306   LLVM_DEBUG(dbgs() << "********** BASIC REGISTER ALLOCATION **********\n"
  307                     << "********** Function: " << mf.getName() << '\n');
  324   LLVM_DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << *VRM << "\n");
  324   LLVM_DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << *VRM << "\n");
lib/CodeGen/RegAllocFast.cpp
  316   LLVM_DEBUG(dbgs() << "Spilling " << printReg(VirtReg, TRI)
  317                     << " in " << printReg(AssignedReg, TRI));
  319   LLVM_DEBUG(dbgs() << " to stack slot #" << FI << '\n');
  333     LLVM_DEBUG(dbgs() << "Inserting debug info due to spill:\n" << *NewDV);
  344   LLVM_DEBUG(dbgs() << "Reloading " << printReg(VirtReg, TRI) << " into "
  344   LLVM_DEBUG(dbgs() << "Reloading " << printReg(VirtReg, TRI) << " into "
  562                       << " is already used in instr.\n");
  571     LLVM_DEBUG(dbgs() << printReg(VirtReg, TRI) << " corresponding "
  572                       << printReg(PhysReg, TRI) << " is reserved already.\n");
  583   LLVM_DEBUG(dbgs() << printReg(PhysReg, TRI) << " is disabled.\n");
  612   LLVM_DEBUG(dbgs() << "Assigning " << printReg(VirtReg, TRI) << " to "
  612   LLVM_DEBUG(dbgs() << "Assigning " << printReg(VirtReg, TRI) << " to "
  668   LLVM_DEBUG(dbgs() << "Search register for " << printReg(VirtReg)
  669                     << " in class " << TRI->getRegClassName(&RC)
  669                     << " in class " << TRI->getRegClassName(&RC)
  670                     << " with hint " << printReg(Hint0, TRI) << '\n');
  678       LLVM_DEBUG(dbgs() << "\tPreferred Register 1: " << printReg(Hint0, TRI)
  685       LLVM_DEBUG(dbgs() << "\tPreferred Register 1: " << printReg(Hint0, TRI)
  686                         << "occupied\n");
  699       LLVM_DEBUG(dbgs() << "\tPreferred Register 0: " << printReg(Hint1, TRI)
  706       LLVM_DEBUG(dbgs() << "\tPreferred Register 0: " << printReg(Hint1, TRI)
  707                         << "occupied\n");
  717     LLVM_DEBUG(dbgs() << "\tRegister: " << printReg(PhysReg, TRI) << ' ');
  719     LLVM_DEBUG(dbgs() << "Cost: " << Cost << " BestCost: " << BestCost << '\n');
  719     LLVM_DEBUG(dbgs() << "Cost: " << Cost << " BestCost: " << BestCost << '\n');
  822       LLVM_DEBUG(dbgs() << "Killing last use: " << MO << '\n');
  828       LLVM_DEBUG(dbgs() << "Clearing dubious kill: " << MO << '\n');
  831       LLVM_DEBUG(dbgs() << "Clearing dubious dead: " << MO << '\n');
  839     LLVM_DEBUG(dbgs() << "Clearing clean kill: " << MO << '\n');
  842     LLVM_DEBUG(dbgs() << "Clearing clean dead: " << MO << '\n');
  888   LLVM_DEBUG(dbgs() << "Scanning for through registers:");
  904   LLVM_DEBUG(dbgs() << "\nChecking for physdef collisions.\n");
  918   LLVM_DEBUG(dbgs() << "Allocating tied uses.\n");
  927       LLVM_DEBUG(dbgs() << "Operand " << I << "(" << MO
  927       LLVM_DEBUG(dbgs() << "Operand " << I << "(" << MO
  928                         << ") is tied to operand " << MI.findTiedOperandIdx(I)
  929                         << ".\n");
  936       LLVM_DEBUG(dbgs() << "Partial redefine: " << MO << '\n');
  944   LLVM_DEBUG(dbgs() << "Allocating early clobbers.\n");
  966     LLVM_DEBUG(dbgs() << "\tSetting " << printReg(Reg, TRI)
  967                       << " as used in instr\n");
  980     dbgs() << " " << printReg(Reg, TRI);
  985       dbgs() << "*";
  993         dbgs() << "*";
 1159     LLVM_DEBUG(dbgs() << "  Spilling remaining registers before call.\n");
 1203   LLVM_DEBUG(dbgs() << "<< " << MI);
 1205     LLVM_DEBUG(dbgs() << "Mark identity copy for removal\n");
 1231       LLVM_DEBUG(dbgs() << "Modifying debug info due to spill:" << "\t" << MI);
 1231       LLVM_DEBUG(dbgs() << "Modifying debug info due to spill:" << "\t" << MI);
 1236     LLVM_DEBUG(dbgs() << "Unable to allocate vreg used by DBG_VALUE");
 1247   LLVM_DEBUG(dbgs() << "\nAllocating " << MBB);
 1265       dbgs() << "\n>> " << MI << "Regs:";
 1265       dbgs() << "\n>> " << MI << "Regs:";
 1280   LLVM_DEBUG(dbgs() << "Spilling live registers at end of block.\n");
 1293   LLVM_DEBUG(dbgs() << "********** FAST REGISTER ALLOCATION **********\n"
 1294                     << "********** Function: " << MF.getName() << '\n');
lib/CodeGen/RegAllocGreedy.cpp
  780       LLVM_DEBUG(dbgs() << "missed hint " << printReg(Hint, TRI) << '\n');
  799   LLVM_DEBUG(dbgs() << printReg(PhysReg, TRI) << " is available at cost "
  828     LLVM_DEBUG(dbgs() << "can reassign: " << VirtReg << " from "
  828     LLVM_DEBUG(dbgs() << "can reassign: " << VirtReg << " from "
  829                       << printReg(PrevReg, TRI) << " to "
  857     LLVM_DEBUG(dbgs() << "should evict: " << B << " w= " << B.weight << '\n');
  857     LLVM_DEBUG(dbgs() << "should evict: " << B << " w= " << B.weight << '\n');
 1057   LLVM_DEBUG(dbgs() << "evicting " << printReg(PhysReg, TRI)
 1058                     << " interference: Cascade " << Cascade << '\n');
 1130       LLVM_DEBUG(dbgs() << TRI->getRegClassName(RC) << " minimum cost = "
 1130       LLVM_DEBUG(dbgs() << TRI->getRegClassName(RC) << " minimum cost = "
 1131                         << MinCost << ", no cheaper registers to be found.\n");
 1139       LLVM_DEBUG(dbgs() << "Only trying the first " << OrderLimit
 1140                         << " regs.\n");
 1152           dbgs() << printReg(PhysReg, TRI) << " would clobber CSR "
 1360   LLVM_DEBUG(dbgs() << ", v=" << Visited);
 1379   LLVM_DEBUG(dbgs() << "Compact region bundles");
 1388     LLVM_DEBUG(dbgs() << ", none.\n");
 1393     LLVM_DEBUG(dbgs() << ", cannot spill all interferences.\n");
 1400     LLVM_DEBUG(dbgs() << ", none.\n");
 1406       dbgs() << " EB#" << i;
 1407     dbgs() << ".\n";
 1682   LLVM_DEBUG(dbgs() << "splitAroundRegion with " << NumGlobalIntvs
 1683                     << " globals.\n");
 1720       LLVM_DEBUG(dbgs() << printMBBReference(*BI.MBB) << " isolated.\n");
 1802         LLVM_DEBUG(dbgs() << "Main interval covers the same " << OrigBlocks
 1803                           << " blocks as original.\n");
 1847     LLVM_DEBUG(dbgs() << "Cost of isolating all blocks = ";
 1911       LLVM_DEBUG(dbgs() << printReg(PhysReg, TRI) << "\tno positive bundles\n");
 1914     LLVM_DEBUG(dbgs() << printReg(PhysReg, TRI) << "\tstatic = ";
 1919           dbgs() << " worse than no bundles\n";
 1921           dbgs() << " worse than "
 1927       LLVM_DEBUG(dbgs() << ", cannot spill all interferences.\n");
 1935       LLVM_DEBUG(dbgs() << " no bundles.\n");
 1942       dbgs() << ", total = ";
 1943       MBFI->printBlockFreq(dbgs(), Cost) << " with bundles";
 1945         dbgs() << " EB#" << i;
 1946       dbgs() << ".\n";
 1962     LLVM_DEBUG(dbgs() << "Best split candidate of vreg "
 1963                       << printReg(VirtReg.reg, TRI) << "  may ");
 1965       LLVM_DEBUG(dbgs() << "not ");
 1966     LLVM_DEBUG(dbgs() << "cause bad eviction chain\n");
 1989       LLVM_DEBUG(dbgs() << "Split for " << printReg(Cand.PhysReg, TRI) << " in "
 1989       LLVM_DEBUG(dbgs() << "Split for " << printReg(Cand.PhysReg, TRI) << " in "
 1990                         << B << " bundles, intv " << Cand.IntvIdx << ".\n");
 1990                         << B << " bundles, intv " << Cand.IntvIdx << ".\n");
 2002       LLVM_DEBUG(dbgs() << "Split for compact region in " << B
 2003                         << " bundles, intv " << Cand.IntvIdx << ".\n");
 2003                         << " bundles, intv " << Cand.IntvIdx << ".\n");
 2102   LLVM_DEBUG(dbgs() << "Split around " << Uses.size()
 2103                     << " individual instrs.\n");
 2118         LLVM_DEBUG(dbgs() << "    skip:\t" << Uses[i] << '\t' << *MI);
 2128     LLVM_DEBUG(dbgs() << "All uses were copies.\n");
 2251     dbgs() << "tryLocalSplit: ";
 2263     LLVM_DEBUG(dbgs() << RMS.size() << " regmasks in block:");
 2345                         << '-' << Uses[SplitAfter] << " i=" << MaxGap);
 2349         LLVM_DEBUG(dbgs() << " all\n");
 2374         LLVM_DEBUG(dbgs() << " w=" << EstWeight);
 2379             LLVM_DEBUG(dbgs() << " (best)");
 2390           LLVM_DEBUG(dbgs() << " shrink\n");
 2404         LLVM_DEBUG(dbgs() << " end\n");
 2408       LLVM_DEBUG(dbgs() << " extend\n");
 2417   LLVM_DEBUG(dbgs() << "Best local split range: " << Uses[BestBefore] << '-'
 2418                     << Uses[BestAfter] << ", " << BestDiff << ", "
 2418                     << Uses[BestAfter] << ", " << BestDiff << ", "
 2419                     << (BestAfter - BestBefore + 1) << " instrs\n");
 2439     LLVM_DEBUG(dbgs() << "Tagging non-progress ranges: ");
 2540       LLVM_DEBUG(dbgs() << "Early abort: too many interferences.\n");
 2555             dbgs() << "Early abort: the interference is not recolorable.\n");
 2608   LLVM_DEBUG(dbgs() << "Try last chance recoloring for " << VirtReg << '\n');
 2617     LLVM_DEBUG(dbgs() << "Abort because max depth has been reached.\n");
 2635     LLVM_DEBUG(dbgs() << "Try to assign: " << VirtReg << " to "
 2635     LLVM_DEBUG(dbgs() << "Try to assign: " << VirtReg << " to "
 2645           dbgs() << "Some interferences are not with virtual registers.\n");
 2654       LLVM_DEBUG(dbgs() << "Some interferences cannot be recolored.\n");
 2696     LLVM_DEBUG(dbgs() << "Fail to assign: " << VirtReg << " to "
 2696     LLVM_DEBUG(dbgs() << "Fail to assign: " << VirtReg << " to "
 2744     LLVM_DEBUG(dbgs() << "Try to recolor: " << *LI << '\n');
 2756       LLVM_DEBUG(dbgs() << "Recoloring of " << *LI
 2757                         << " succeeded. Empty LI.\n");
 2760     LLVM_DEBUG(dbgs() << "Recoloring of " << *LI
 2761                       << " succeeded with: " << printReg(PhysReg, TRI) << '\n');
 2928   LLVM_DEBUG(dbgs() << "Trying to reconcile hints for: " << printReg(Reg, TRI)
 2929                     << '(' << printReg(PhysReg, TRI) << ")\n");
 2951                       << ") is recolorable.\n");
 2959       LLVM_DEBUG(dbgs() << "Checking profitability:\n");
 2962       LLVM_DEBUG(dbgs() << "Old Cost: " << OldCopiesCost.getFrequency()
 2963                         << "\nNew Cost: " << NewCopiesCost.getFrequency()
 2966         LLVM_DEBUG(dbgs() << "=> Not profitable.\n");
 2972       LLVM_DEBUG(dbgs() << "=> Profitable.\n");
 3060   LLVM_DEBUG(dbgs() << StageName[Stage] << " Cascade "
 3060   LLVM_DEBUG(dbgs() << StageName[Stage] << " Cascade "
 3091     LLVM_DEBUG(dbgs() << "wait for second round\n");
 3120     LLVM_DEBUG(dbgs() << "Do as if this register is in memory\n");
 3211   LLVM_DEBUG(dbgs() << "********** GREEDY REGISTER ALLOCATION **********\n"
 3212                     << "********** Function: " << mf.getName() << '\n');
lib/CodeGen/RegAllocPBQP.cpp
  687   LLVM_DEBUG(dbgs() << "VREG " << printReg(VReg, &TRI) << " -> SPILLED (Cost: "
  687   LLVM_DEBUG(dbgs() << "VREG " << printReg(VReg, &TRI) << " -> SPILLED (Cost: "
  688                     << LRE.getParent().weight << ", New vregs: ");
  696     LLVM_DEBUG(dbgs() << printReg(LI.reg, &TRI) << " ");
  700   LLVM_DEBUG(dbgs() << ")\n");
  726       LLVM_DEBUG(dbgs() << "VREG " << printReg(VReg, &TRI) << " -> "
  726       LLVM_DEBUG(dbgs() << "VREG " << printReg(VReg, &TRI) << " -> "
  727                         << TRI.getName(PReg) << "\n");
  727                         << TRI.getName(PReg) << "\n");
  803   LLVM_DEBUG(dbgs() << "PBQP Register Allocating for " << MF.getName() << "\n");
  803   LLVM_DEBUG(dbgs() << "PBQP Register Allocating for " << MF.getName() << "\n");
  838       LLVM_DEBUG(dbgs() << "  PBQP Regalloc round " << Round << ":\n");
  838       LLVM_DEBUG(dbgs() << "  PBQP Regalloc round " << Round << ":\n");
  852         LLVM_DEBUG(dbgs() << "Dumping graph for round " << Round << " to \""
  852         LLVM_DEBUG(dbgs() << "Dumping graph for round " << Round << " to \""
  853                           << GraphFileName << "\"\n");
  870   LLVM_DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << VRM << "\n");
  870   LLVM_DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << VRM << "\n");
  883     OS << NId << " (" << RegClassName << ':' << printReg(VReg, TRI) << ')';
  883     OS << NId << " (" << RegClassName << ':' << printReg(VReg, TRI) << ')';
  892     OS << PrintNodeInfo(NId, *this) << ": " << Costs << '\n';
  903     OS << PrintNodeInfo(N1Id, *this) << ' ' << M.getRows() << " rows / ";
  904     OS << PrintNodeInfo(N2Id, *this) << ' ' << M.getCols() << " cols:\n";
  915   OS << "graph {\n";
  917     OS << "  node" << NId << " [ label=\""
  917     OS << "  node" << NId << " [ label=\""
  918        << PrintNodeInfo(NId, *this) << "\\n"
  919        << getNodeCosts(NId) << "\" ]\n";
  922   OS << "  edge [ len=" << nodeIds().size() << " ]\n";
  922   OS << "  edge [ len=" << nodeIds().size() << " ]\n";
  924     OS << "  node" << getEdgeNode1Id(EId)
  925        << " -- node" << getEdgeNode2Id(EId)
  926        << " [ label=\"";
  929       OS << EdgeCosts.getRowAsVector(i) << "\\n";
  931     OS << "\" ]\n";
  933   OS << "}\n";
lib/CodeGen/RegUsageInfoCollector.cpp
  106   LLVM_DEBUG(dbgs() << " -------------------- " << getPassName()
  107                     << " -------------------- \nFunction Name : "
  112     LLVM_DEBUG(dbgs() << "Not analyzing non-callable function\n");
  119     LLVM_DEBUG(dbgs() << "Not analyzing function with no callers\n");
  136   LLVM_DEBUG(dbgs() << "Clobbered Registers: ");
  178                       << " function optimized for not having CSR.\n");
  184         dbgs() << printReg(PReg, TRI) << " ";
  187     dbgs() << " \n----------------------------------------\n";
lib/CodeGen/RegUsageInfoPropagate.cpp
  105   LLVM_DEBUG(dbgs() << " ++++++++++++++++++++ " << getPassName()
  106                     << " ++++++++++++++++++++  \n");
  107   LLVM_DEBUG(dbgs() << "MachineFunction : " << MF.getName() << "\n");
  107   LLVM_DEBUG(dbgs() << "MachineFunction : " << MF.getName() << "\n");
  121           << "Call Instruction Before Register Usage Info Propagation : \n");
  122       LLVM_DEBUG(dbgs() << MI << "\n");
  136           LLVM_DEBUG(dbgs() << "Function definition is not exact\n");
  139         LLVM_DEBUG(dbgs() << "Failed to find call target function\n");
  143           dbgs() << "Call Instruction After Register Usage Info Propagation : "
  149       dbgs() << " +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
lib/CodeGen/RegisterClassInfo.cpp
  156     dbgs() << "AllocationOrder(" << TRI->getRegClassName(RC) << ") = [";
  156     dbgs() << "AllocationOrder(" << TRI->getRegClassName(RC) << ") = [";
  156     dbgs() << "AllocationOrder(" << TRI->getRegClassName(RC) << ") = [";
  159     dbgs() << (RCI.ProperSubClass ? " ] (sub-class)\n" : " ]\n");
lib/CodeGen/RegisterCoalescer.cpp
  623   LLVM_DEBUG(dbgs() << "Extending: " << printReg(IntB.reg, TRI));
  656   LLVM_DEBUG(dbgs() << "   result = " << IntB << '\n');
  828   LLVM_DEBUG(dbgs() << "\tremoveCopyByCommutingDef: " << AValNo->def << '\t'
  898     LLVM_DEBUG(dbgs() << "\t\tnoop: " << DefIdx << '\t' << *UseMI);
  969   LLVM_DEBUG(dbgs() << "\t\textended: " << IntB << '\n');
  973   LLVM_DEBUG(dbgs() << "\t\ttrimmed:  " << IntA << '\n');
 1119     LLVM_DEBUG(dbgs() << "\tremovePartialRedundancy: Move the copy to "
 1137     LLVM_DEBUG(dbgs() << "\tremovePartialRedundancy: Remove the copy from "
 1416                      << "Removing undefined SubRange "
 1417                      << PrintLaneMask(SR.LaneMask) << " : " << SR << "\n");
 1417                      << PrintLaneMask(SR.LaneMask) << " : " << SR << "\n");
 1474   LLVM_DEBUG(dbgs() << "Remat: " << NewMI);
 1490         LLVM_DEBUG(dbgs() << "\t\tupdated: " << *UseMI);
 1558       LLVM_DEBUG(dbgs() << "\tReplaced copy of <undef> value with an "
 1565   LLVM_DEBUG(dbgs() << "\tEliminating copy of <undef> value\n");
 1609     LLVM_DEBUG(dbgs() << "\tnew undef: " << UseIdx << '\t' << MI);
 1725       dbgs() << "\t\tupdated: ";
 1727         dbgs() << LIS->getInstructionIndex(*UseMI) << "\t";
 1738     LLVM_DEBUG(dbgs() << "\tCan only merge into reserved registers.\n");
 1747       dbgs() << "\tCannot join complex intervals into reserved register.\n");
 1757     LLVM_DEBUG(dbgs() << "\tNot coalescable.\n");
 1772       LLVM_DEBUG(dbgs() << "\tSubtarget bailed on coalescing.\n");
 1781     LLVM_DEBUG(dbgs() << "\tCopy is dead.\n");
 1803     LLVM_DEBUG(dbgs() << "\tCopy already coalesced: " << LI << '\n');
 1820       LLVM_DEBUG(dbgs() << "\tMerged values:          " << LI << '\n');
 1828     LLVM_DEBUG(dbgs() << "\tConsidering merging "
 1829                       << printReg(CP.getSrcReg(), TRI) << " with "
 1848       dbgs() << "\tConsidering merging to "
 1849              << TRI->getRegClassName(CP.getNewRC()) << " with ";
 1849              << TRI->getRegClassName(CP.getNewRC()) << " with ";
 1851         dbgs() << printReg(CP.getDstReg()) << " in "
 1852                << TRI->getSubRegIndexName(CP.getDstIdx()) << " and "
 1852                << TRI->getSubRegIndexName(CP.getDstIdx()) << " and "
 1853                << printReg(CP.getSrcReg()) << " in "
 1854                << TRI->getSubRegIndexName(CP.getSrcIdx()) << '\n';
 1856         dbgs() << printReg(CP.getSrcReg(), TRI) << " in "
 1890           LLVM_DEBUG(dbgs() << "\t\tshrunk:   " << DstLI << '\n');
 1892         LLVM_DEBUG(dbgs() << "\tTrivial!\n");
 1904     LLVM_DEBUG(dbgs() << "\tInterference!\n");
 1938       LLVM_DEBUG(dbgs() << "Shrink LaneUses (Lane " << PrintLaneMask(S.LaneMask)
 1939                         << ")\n");
 1964     dbgs() << "\tSuccess: " << printReg(CP.getSrcReg(), TRI, CP.getSrcIdx())
 1965            << " -> " << printReg(CP.getDstReg(), TRI, CP.getDstIdx()) << '\n';
 1966     dbgs() << "\tResult = ";
 1984   LLVM_DEBUG(dbgs() << "\t\tRHS = " << RHS << '\n');
 2003         LLVM_DEBUG(dbgs() << "\t\tInterference: " << printRegUnit(*UI, TRI)
 2013       LLVM_DEBUG(dbgs() << "\t\tRegMask interference\n");
 2043       LLVM_DEBUG(dbgs() << "\t\tMultiple vreg uses!\n");
 2048       LLVM_DEBUG(dbgs() << "\t\tComplex control flow!\n");
 2066           LLVM_DEBUG(dbgs() << "\t\tInterference (read): " << *MI);
 2074     LLVM_DEBUG(dbgs() << "\t\tRemoving phys reg def of "
 2075                       << printReg(DstReg, TRI) << " at " << CopyRegIdx << "\n");
 2075                       << printReg(DstReg, TRI) << " at " << CopyRegIdx << "\n");
 2610       LLVM_DEBUG(dbgs() << "IMPLICIT_DEF defined at " << V.OtherVNI->def
 2611                  << " extends into "
 2613                  << ", keeping it.\n");
 2735     LLVM_DEBUG(dbgs() << "\t\tmerge " << printReg(Reg) << ':' << ValNo << '@'
 2736                       << LR.getValNumInfo(ValNo)->def << " into "
 2738                       << V.OtherVNI->def << " --> @"
 2751       LLVM_DEBUG(dbgs() << "Cannot erase implicit_def with missing values\n");
 2775       LLVM_DEBUG(dbgs() << "\t\tinterference at " << printReg(Reg) << ':' << i
 2798       LLVM_DEBUG(dbgs() << "\t\ttaints global " << printReg(Other.Reg) << ':'
 2802     LLVM_DEBUG(dbgs() << "\t\ttaints local " << printReg(Other.Reg) << ':'
 2803                       << OtherI->valno->id << '@' << OtherI->start << " to "
 2845     LLVM_DEBUG(dbgs() << "\t\tconflict at " << printReg(Reg) << ':' << i << '@'
 2883         LLVM_DEBUG(dbgs() << "\t\ttainted lanes used by: " << *MI);
 2956       LLVM_DEBUG(dbgs() << "\t\tpruned " << printReg(Other.Reg) << " at " << Def
 2956       LLVM_DEBUG(dbgs() << "\t\tpruned " << printReg(Other.Reg) << " at " << Def
 2957                         << ": " << Other.LR << '\n');
 2968         LLVM_DEBUG(dbgs() << "\t\tpruned all of " << printReg(Reg) << " at "
 2968         LLVM_DEBUG(dbgs() << "\t\tpruned all of " << printReg(Reg) << " at "
 2969                           << Def << ": " << LR << '\n');
 3036     LLVM_DEBUG(dbgs() << "\t\tExpecting instruction removal at " << Def
 3047         LLVM_DEBUG(dbgs() << "\t\tPrune sublane " << PrintLaneMask(S.LaneMask)
 3048                           << " at " << Def << "\n");
 3048                           << " at " << Def << "\n");
 3066         LLVM_DEBUG(dbgs() << "\t\tDead uses at sublane "
 3067                           << PrintLaneMask(S.LaneMask) << " at " << Def
 3068                           << "\n");
 3181         dbgs() << "\t\tremoved " << i << '@' << Def << ": " << LR << '\n';
 3181         dbgs() << "\t\tremoved " << i << '@' << Def << ": " << LR << '\n';
 3183           dbgs() << "\t\t  LHS = " << *LI << '\n';
 3198       LLVM_DEBUG(dbgs() << "\t\terased:\t" << Def << '\t' << *MI);
 3253   LLVM_DEBUG(dbgs() << "\t\tjoined lanes: " << PrintLaneMask(LaneMask)
 3254                     << ' ' << LRange << "\n");
 3261     dbgs() << "\t\trestoring liveness to " << EndPoints.size() << " points: ";
 3261     dbgs() << "\t\trestoring liveness to " << EndPoints.size() << " points: ";
 3267     dbgs() << ":  " << LRange << '\n';
 3312   LLVM_DEBUG(dbgs() << "\t\tRHS = " << RHS << "\n\t\tLHS = " << LHS << '\n');
 3312   LLVM_DEBUG(dbgs() << "\t\tRHS = " << RHS << "\n\t\tLHS = " << LHS << '\n');
 3346     LLVM_DEBUG(dbgs() << "\t\tLHST = " << printReg(CP.getDstReg()) << ' ' << LHS
 3362     LLVM_DEBUG(dbgs() << "\tJoined SubRanges " << LHS << "\n");
 3362     LLVM_DEBUG(dbgs() << "\tJoined SubRanges " << LHS << "\n");
 3401       dbgs() << "\t\trestoring liveness to " << EndPoints.size() << " points: ";
 3401       dbgs() << "\t\trestoring liveness to " << EndPoints.size() << " points: ";
 3407       dbgs() << ":  " << LHS << '\n';
 3561       LLVM_DEBUG(dbgs() << "Apply terminal rule for: " << printReg(DstReg)
 3571   LLVM_DEBUG(dbgs() << MBB->getName() << ":\n");
 3636   LLVM_DEBUG(dbgs() << "********** JOINING INTERVALS ***********\n");
 3695   LLVM_DEBUG(dbgs() << "********** SIMPLE REGISTER COALESCING **********\n"
 3696                     << "********** Function: " << MF->getName() << '\n');
 3713   LLVM_DEBUG(dbgs() << "Trying to inflate " << InflateRegs.size()
 3714                     << " regs.\n");
 3720       LLVM_DEBUG(dbgs() << printReg(Reg) << " inflated to "
 3721                         << TRI->getRegClassName(MRI->getRegClass(Reg)) << '\n');
lib/CodeGen/RegisterPressure.cpp
   86       dbgs() << TRI->getRegPressureSetName(i) << "=" << SetPressure[i] << '\n';
   86       dbgs() << TRI->getRegPressureSetName(i) << "=" << SetPressure[i] << '\n';
   91     dbgs() << "\n";
   96   dbgs() << "Max Pressure: ";
   98   dbgs() << "Live In: ";
  106   dbgs() << "Live Out: ";
  119     dbgs() << "Curr Pressure: ";
  131     dbgs() << sep << TRI.getRegPressureSetName(Change.getPSet())
  131     dbgs() << sep << TRI.getRegPressureSetName(Change.getPSet())
  132            << " " << Change.getUnitInc();
  140   dbgs() << "[" << getPSetOrMax() << ", " << getUnitInc() << "]\n";
  140   dbgs() << "[" << getPSetOrMax() << ", " << getUnitInc() << "]\n";
  140   dbgs() << "[" << getPSetOrMax() << ", " << getUnitInc() << "]\n";
  144   dbgs() << "[Excess=";
  146   dbgs() << ", CriticalMax=";
  148   dbgs() << ", CurrentMax=";
  150   dbgs() << "]\n";
 1124     dbgs() << "PDiff: ";
 1126     dbgs() << "DELTA: " << *MI;
 1128       dbgs() << "Excess1 " << TRI->getRegPressureSetName(Delta.Excess.getPSet())
 1128       dbgs() << "Excess1 " << TRI->getRegPressureSetName(Delta.Excess.getPSet())
 1129              << " " << Delta.Excess.getUnitInc() << "\n";
 1129              << " " << Delta.Excess.getUnitInc() << "\n";
 1131       dbgs() << "Critic1 " << TRI->getRegPressureSetName(Delta.CriticalMax.getPSet())
 1131       dbgs() << "Critic1 " << TRI->getRegPressureSetName(Delta.CriticalMax.getPSet())
 1132              << " " << Delta.CriticalMax.getUnitInc() << "\n";
 1132              << " " << Delta.CriticalMax.getUnitInc() << "\n";
 1134       dbgs() << "CurrMx1 " << TRI->getRegPressureSetName(Delta.CurrentMax.getPSet())
 1134       dbgs() << "CurrMx1 " << TRI->getRegPressureSetName(Delta.CurrentMax.getPSet())
 1135              << " " << Delta.CurrentMax.getUnitInc() << "\n";
 1135              << " " << Delta.CurrentMax.getUnitInc() << "\n";
 1137       dbgs() << "Excess2 " << TRI->getRegPressureSetName(Delta2.Excess.getPSet())
 1137       dbgs() << "Excess2 " << TRI->getRegPressureSetName(Delta2.Excess.getPSet())
 1138              << " " << Delta2.Excess.getUnitInc() << "\n";
 1138              << " " << Delta2.Excess.getUnitInc() << "\n";
 1140       dbgs() << "Critic2 " << TRI->getRegPressureSetName(Delta2.CriticalMax.getPSet())
 1140       dbgs() << "Critic2 " << TRI->getRegPressureSetName(Delta2.CriticalMax.getPSet())
 1141              << " " << Delta2.CriticalMax.getUnitInc() << "\n";
 1141              << " " << Delta2.CriticalMax.getUnitInc() << "\n";
 1143       dbgs() << "CurrMx2 " << TRI->getRegPressureSetName(Delta2.CurrentMax.getPSet())
 1143       dbgs() << "CurrMx2 " << TRI->getRegPressureSetName(Delta2.CurrentMax.getPSet())
 1144              << " " << Delta2.CurrentMax.getUnitInc() << "\n";
 1144              << " " << Delta2.CurrentMax.getUnitInc() << "\n";
lib/CodeGen/RegisterScavenging.cpp
  290       LLVM_DEBUG(dbgs() << "Scavenger found unused reg: " << printReg(Reg, TRI)
  291                         << "\n");
  563     LLVM_DEBUG(dbgs() << "Scavenged register: " << printReg(SReg, TRI) << "\n");
  563     LLVM_DEBUG(dbgs() << "Scavenged register: " << printReg(SReg, TRI) << "\n");
  573   LLVM_DEBUG(dbgs() << "Scavenged register (with spill): "
  574                     << printReg(SReg, TRI) << "\n");
  597     LLVM_DEBUG(dbgs() << "Scavenged free register: " << printReg(Reg, TRI)
  609     LLVM_DEBUG(dbgs() << "Reload before: " << *ReloadBefore << '\n');
  613   LLVM_DEBUG(dbgs() << "Scavenged register with spill: " << printReg(Reg, TRI)
  614              << " until " << *SpillBefore);
  769       LLVM_DEBUG(dbgs() << "Warning: Required two scavenging passes for block "
lib/CodeGen/RegisterUsageInfo.cpp
   89     OS << FPRMPair->first->getName() << " "
   90        << "Clobbered Registers: ";
   97         OS << printReg(PReg, TRI) << " ";
   99     OS << "\n";
lib/CodeGen/RenameIndependentSubregs.cpp
  136   LLVM_DEBUG(dbgs() << printReg(Reg) << ": Found " << Classes.getNumClasses()
  137                     << " equivalence classes.\n");
  138   LLVM_DEBUG(dbgs() << printReg(Reg) << ": Splitting into newly created:");
  382   LLVM_DEBUG(dbgs() << "Renaming independent subregister live ranges in "
lib/CodeGen/ResetMachineFunctionPass.cpp
   65         LLVM_DEBUG(dbgs() << "Resetting: " << MF.getName() << '\n');
lib/CodeGen/SafeStack.cpp
  245       dbgs() << "[SafeStack] "
  246              << (isa<AllocaInst>(AllocaPtr) ? "Alloca " : "ByValArgument ")
  247              << *AllocaPtr << "\n"
  248              << "            Access " << *Addr << "\n"
  248              << "            Access " << *Addr << "\n"
  249              << "            SCEV " << *Expr
  250              << " U: " << SE.getUnsignedRange(Expr)
  251              << ", S: " << SE.getSignedRange(Expr) << "\n"
  251              << ", S: " << SE.getSignedRange(Expr) << "\n"
  252              << "            Range " << AccessRange << "\n"
  252              << "            Range " << AccessRange << "\n"
  253              << "            AllocaRange " << AllocaRange << "\n"
  253              << "            AllocaRange " << AllocaRange << "\n"
  254              << "            " << (Safe ? "safe" : "unsafe") << "\n");
  254              << "            " << (Safe ? "safe" : "unsafe") << "\n");
  254              << "            " << (Safe ? "safe" : "unsafe") << "\n");
  308                      << "[SafeStack] Unsafe alloca: " << *AllocaPtr
  309                      << "\n            store of address: " << *I << "\n");
  309                      << "\n            store of address: " << *I << "\n");
  332                        << "[SafeStack] Unsafe alloca: " << *AllocaPtr
  333                        << "\n            unsafe memintrinsic: " << *I << "\n");
  333                        << "\n            unsafe memintrinsic: " << *I << "\n");
  351               LLVM_DEBUG(dbgs() << "[SafeStack] Unsafe alloca: " << *AllocaPtr
  352                                 << "\n            unsafe call: " << *I << "\n");
  352                                 << "\n            unsafe call: " << *I << "\n");
  833   LLVM_DEBUG(dbgs() << "[SafeStack]     safestack applied\n");
  854     LLVM_DEBUG(dbgs() << "[SafeStack] Function: " << F.getName() << "\n");
  854     LLVM_DEBUG(dbgs() << "[SafeStack] Function: " << F.getName() << "\n");
  857       LLVM_DEBUG(dbgs() << "[SafeStack]     safestack is not requested"
  863       LLVM_DEBUG(dbgs() << "[SafeStack]     function definition"
lib/CodeGen/SafeStackColoring.cpp
  103   LLVM_DEBUG(dbgs() << "Instructions:\n");
  106     LLVM_DEBUG(dbgs() << "  " << InstNo << ": BB " << BB->getName() << "\n");
  106     LLVM_DEBUG(dbgs() << "  " << InstNo << ": BB " << BB->getName() << "\n");
  106     LLVM_DEBUG(dbgs() << "  " << InstNo << ": BB " << BB->getName() << "\n");
  123       LLVM_DEBUG(dbgs() << "  " << InstNo << ":  "
  123       LLVM_DEBUG(dbgs() << "  " << InstNo << ":  "
  124                         << (M.IsStart ? "start " : "end   ") << M.AllocaNo
  125                         << ", " << *I << "\n");
  125                         << ", " << *I << "\n");
  256   dbgs() << "Allocas:\n";
  258     dbgs() << "  " << AllocaNo << ": " << *Allocas[AllocaNo] << "\n";
  258     dbgs() << "  " << AllocaNo << ": " << *Allocas[AllocaNo] << "\n";
  258     dbgs() << "  " << AllocaNo << ": " << *Allocas[AllocaNo] << "\n";
  262   dbgs() << "Block liveness:\n";
  267     dbgs() << "  BB [" << BlockRange.first << ", " << BlockRange.second
  267     dbgs() << "  BB [" << BlockRange.first << ", " << BlockRange.second
  268            << "): begin " << BlockInfo.Begin << ", end " << BlockInfo.End
  268            << "): begin " << BlockInfo.Begin << ", end " << BlockInfo.End
  269            << ", livein " << BlockInfo.LiveIn << ", liveout "
  269            << ", livein " << BlockInfo.LiveIn << ", liveout "
  270            << BlockInfo.LiveOut << "\n";
  275   dbgs() << "Alloca liveness:\n";
  278     dbgs() << "  " << AllocaNo << ": " << Range << "\n";
  278     dbgs() << "  " << AllocaNo << ": " << Range << "\n";
  278     dbgs() << "  " << AllocaNo << ": " << Range << "\n";
lib/CodeGen/SafeStackColoring.h
  141   OS << "{";
  146       OS << ", ";
  152   OS << "}";
lib/CodeGen/SafeStackLayout.cpp
   30   OS << "Stack regions:\n";
   32     OS << "  " << i << ": [" << Regions[i].Start << ", " << Regions[i].End
   32     OS << "  " << i << ": [" << Regions[i].Start << ", " << Regions[i].End
   32     OS << "  " << i << ": [" << Regions[i].Start << ", " << Regions[i].End
   33        << "), range " << Regions[i].Range << "\n";
   33        << "), range " << Regions[i].Range << "\n";
   35   OS << "Stack objects:\n";
   37     OS << "  at " << IT.getSecond() << ": " << *IT.getFirst() << "\n";
   37     OS << "  at " << IT.getSecond() << ": " << *IT.getFirst() << "\n";
   37     OS << "  at " << IT.getSecond() << ": " << *IT.getFirst() << "\n";
   65   LLVM_DEBUG(dbgs() << "Layout: size " << Obj.Size << ", align "
   65   LLVM_DEBUG(dbgs() << "Layout: size " << Obj.Size << ", align "
   66                     << Obj.Alignment << ", range " << Obj.Range << "\n");
   66                     << Obj.Alignment << ", range " << Obj.Range << "\n");
   70   LLVM_DEBUG(dbgs() << "  First candidate: " << Start << " .. " << End << "\n");
   70   LLVM_DEBUG(dbgs() << "  First candidate: " << Start << " .. " << End << "\n");
   70   LLVM_DEBUG(dbgs() << "  First candidate: " << Start << " .. " << End << "\n");
   72     LLVM_DEBUG(dbgs() << "  Examining region: " << R.Start << " .. " << R.End
   72     LLVM_DEBUG(dbgs() << "  Examining region: " << R.Start << " .. " << R.End
   73                       << ", range " << R.Range << "\n");
   73                       << ", range " << R.Range << "\n");
   76       LLVM_DEBUG(dbgs() << "  Does not intersect, skip.\n");
   83       LLVM_DEBUG(dbgs() << "  Overlaps. Next candidate: " << Start << " .. "
   83       LLVM_DEBUG(dbgs() << "  Overlaps. Next candidate: " << Start << " .. "
   84                         << End << "\n");
   88       LLVM_DEBUG(dbgs() << "  Reusing region(s).\n");
   97       LLVM_DEBUG(dbgs() << "  Creating gap region: " << LastRegionEnd << " .. "
   97       LLVM_DEBUG(dbgs() << "  Creating gap region: " << LastRegionEnd << " .. "
   98                         << Start << "\n");
  102     LLVM_DEBUG(dbgs() << "  Creating new region: " << LastRegionEnd << " .. "
  102     LLVM_DEBUG(dbgs() << "  Creating new region: " << LastRegionEnd << " .. "
  103                       << End << ", range " << Obj.Range << "\n");
  103                       << End << ", range " << Obj.Range << "\n");
lib/CodeGen/ScheduleDAG.cpp
   77   case Data:   dbgs() << "Data"; break;
   78   case Anti:   dbgs() << "Anti"; break;
   79   case Output: dbgs() << "Out "; break;
   80   case Order:  dbgs() << "Ord "; break;
   85     dbgs() << " Latency=" << getLatency();
   87       dbgs() << " Reg=" << printReg(getReg(), TRI);
   91     dbgs() << " Latency=" << getLatency();
   94     dbgs() << " Latency=" << getLatency();
   96     case Barrier:      dbgs() << " Barrier"; break;
   98     case MustAliasMem: dbgs() << " Memory"; break;
   99     case Artificial:   dbgs() << " Artificial"; break;
  100     case Weak:         dbgs() << " Weak"; break;
  101     case Cluster:      dbgs() << " Cluster"; break;
  342   dbgs() << "  # preds left       : " << NumPredsLeft << "\n";
  342   dbgs() << "  # preds left       : " << NumPredsLeft << "\n";
  343   dbgs() << "  # succs left       : " << NumSuccsLeft << "\n";
  343   dbgs() << "  # succs left       : " << NumSuccsLeft << "\n";
  345     dbgs() << "  # weak preds left  : " << WeakPredsLeft << "\n";
  345     dbgs() << "  # weak preds left  : " << WeakPredsLeft << "\n";
  347     dbgs() << "  # weak succs left  : " << WeakSuccsLeft << "\n";
  347     dbgs() << "  # weak succs left  : " << WeakSuccsLeft << "\n";
  348   dbgs() << "  # rdefs left       : " << NumRegDefsLeft << "\n";
  348   dbgs() << "  # rdefs left       : " << NumRegDefsLeft << "\n";
  349   dbgs() << "  Latency            : " << Latency << "\n";
  349   dbgs() << "  Latency            : " << Latency << "\n";
  350   dbgs() << "  Depth              : " << getDepth() << "\n";
  350   dbgs() << "  Depth              : " << getDepth() << "\n";
  351   dbgs() << "  Height             : " << getHeight() << "\n";
  351   dbgs() << "  Height             : " << getHeight() << "\n";
  356     dbgs() << "EntrySU";
  358     dbgs() << "ExitSU";
  360     dbgs() << "SU(" << SU.NodeNum << ")";
  360     dbgs() << "SU(" << SU.NodeNum << ")";
  367     dbgs() << "  Predecessors:\n";
  369       dbgs() << "    ";
  371       dbgs() << ": ";
  377     dbgs() << "  Successors:\n";
  379       dbgs() << "    ";
  381       dbgs() << ": ";
  400         dbgs() << "*** Scheduling failed! ***\n";
  402       dbgs() << "has not been scheduled!\n";
  409         dbgs() << "*** Scheduling failed! ***\n";
  411       dbgs() << "has an unexpected "
  412            << (isBottomUp ? "Height" : "Depth") << " value!\n";
  412            << (isBottomUp ? "Height" : "Depth") << " value!\n";
  418           dbgs() << "*** Scheduling failed! ***\n";
  420         dbgs() << "has successors left!\n";
  426           dbgs() << "*** Scheduling failed! ***\n";
  428         dbgs() << "has predecessors left!\n";
lib/CodeGen/ScheduleDAGInstrs.cpp
  100   dbgs() << "{ ";
  102     dbgs() << "SU(" << su->NodeNum << ")";
  102     dbgs() << "SU(" << su->NodeNum << ")";
  104       dbgs() << ", ";
  106   dbgs() << "}\n";
  890       LLVM_DEBUG(dbgs() << "Global memory object and new barrier chain: SU("
  891                         << BarrierChain->NodeNum << ").\n";);
  912         LLVM_DEBUG(dbgs() << "Reducing FPExceptions map.\n";);
  995       LLVM_DEBUG(dbgs() << "Reducing Stores and Loads maps.\n";);
 1000           dbgs() << "Reducing NonAliasStores and NonAliasLoads maps.\n";);
 1026         dbgs() << "Unknown";
 1035     dbgs() << " : ";
 1042   LLVM_DEBUG(dbgs() << "Before reduction:\nStoring SUnits:\n"; stores.dump();
 1043              dbgs() << "Loading SUnits:\n"; loads.dump());
 1069       LLVM_DEBUG(dbgs() << "Inserting new barrier chain: SU("
 1070                         << BarrierChain->NodeNum << ").\n";);
 1073       LLVM_DEBUG(dbgs() << "Keeping old barrier chain: SU("
 1074                         << BarrierChain->NodeNum << ").\n";);
 1082   LLVM_DEBUG(dbgs() << "After reduction:\nStoring SUnits:\n"; stores.dump();
 1083              dbgs() << "Loading SUnits:\n"; loads.dump());
 1104   LLVM_DEBUG(dbgs() << "Fixup kills for " << printMBBReference(MBB) << '\n');
 1157   dbgs() << ": ";
 1177     oss << "<entry>";
 1179     oss << "<exit>";
 1333     LLVM_DEBUG(dbgs() << R.getNumSubtrees() << " subtrees:\n");
 1336       LLVM_DEBUG(dbgs() << "  SU(" << Idx << ") in tree "
 1336       LLVM_DEBUG(dbgs() << "  SU(" << Idx << ") in tree "
 1492     LLVM_DEBUG(dbgs() << "  Tree: " << C.TreeID << " @"
 1492     LLVM_DEBUG(dbgs() << "  Tree: " << C.TreeID << " @"
 1499   OS << InstrCount << " / " << Length << " = ";
 1499   OS << InstrCount << " / " << Length << " = ";
 1501     OS << "BADILP";
lib/CodeGen/ScoreboardHazardRecognizer.cpp
   71     LLVM_DEBUG(dbgs() << "Disabled scoreboard hazard recognizer\n");
   75     LLVM_DEBUG(dbgs() << "Using scoreboard hazard recognizer: Depth = "
   88   dbgs() << "Scoreboard:\n";
   96     dbgs() << "\t";
  158         LLVM_DEBUG(dbgs() << "*** Hazard in cycle +" << StageCycle << ", ");
  158         LLVM_DEBUG(dbgs() << "*** Hazard in cycle +" << StageCycle << ", ");
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  993   LLVM_DEBUG(dbgs() << "\nReplacing.1 "; N->dump(&DAG); dbgs() << "\nWith: ";
  993   LLVM_DEBUG(dbgs() << "\nReplacing.1 "; N->dump(&DAG); dbgs() << "\nWith: ";
  995              dbgs() << " and " << NumTo - 1 << " other values\n");
  995              dbgs() << " and " << NumTo - 1 << " other values\n");
 1053   LLVM_DEBUG(dbgs() << "\nReplacing.2 "; TLO.Old.getNode()->dump(&DAG);
 1054              dbgs() << "\nWith: "; TLO.New.getNode()->dump(&DAG);
 1078   LLVM_DEBUG(dbgs() << "\nReplacing.2 "; TLO.Old.getNode()->dump(&DAG);
 1079              dbgs() << "\nWith: "; TLO.New.getNode()->dump(&DAG);
 1091   LLVM_DEBUG(dbgs() << "\nReplacing.9 "; Load->dump(&DAG); dbgs() << "\nWith: ";
 1091   LLVM_DEBUG(dbgs() << "\nReplacing.9 "; Load->dump(&DAG); dbgs() << "\nWith: ";
 1191     LLVM_DEBUG(dbgs() << "\nPromoting "; Op.getNode()->dump(&DAG));
 1256     LLVM_DEBUG(dbgs() << "\nPromoting "; Op.getNode()->dump(&DAG));
 1307     LLVM_DEBUG(dbgs() << "\nPromoting "; Op.getNode()->dump(&DAG));
 1347     LLVM_DEBUG(dbgs() << "\nPromoting "; N->dump(&DAG); dbgs() << "\nTo: ";
 1347     LLVM_DEBUG(dbgs() << "\nPromoting "; N->dump(&DAG); dbgs() << "\nTo: ";
 1434     LLVM_DEBUG(dbgs() << "\nCombining: "; N->dump(&DAG));
 1462     LLVM_DEBUG(dbgs() << " ... into: "; RV.getNode()->dump(&DAG));
 4878     LLVM_DEBUG(dbgs() << "Backwards propagate AND: "; N->dump());
 4884       LLVM_DEBUG(dbgs() << "First, need to fix up: "; FixupNode->dump());
 4909       LLVM_DEBUG(dbgs() << "Propagate AND back to: "; Load->dump());
13654   LLVM_DEBUG(dbgs() << "\nReplacing.4 "; N->dump(&DAG); dbgs() << "\nWith: ";
13654   LLVM_DEBUG(dbgs() << "\nReplacing.4 "; N->dump(&DAG); dbgs() << "\nWith: ";
13827         LLVM_DEBUG(dbgs() << "\nReplacing.5 "; N->dump(&DAG);
13828                    dbgs() << "\nWith: "; Result.getNode()->dump(&DAG);
14048         LLVM_DEBUG(dbgs() << "\nReplacing.6 "; N->dump(&DAG);
14049                    dbgs() << "\nWith chain: "; Chain.getNode()->dump(&DAG);
14050                    dbgs() << "\n");
14081         LLVM_DEBUG(dbgs() << "\nReplacing.7 "; N->dump(&DAG);
14082                    dbgs() << "\nWith: "; Undef.getNode()->dump(&DAG);
14083                    dbgs() << " and 2 other values\n");
16373         LLVM_DEBUG(dbgs() << "\nRemoving store:"; StoreBase.dump();
16374                    dbgs() << "\nwithin LIFETIME_END of : ";
16375                    LifetimeEndBase.dump(); dbgs() << "\n");
lib/CodeGen/SelectionDAG/FastISel.cpp
  265     LLVM_DEBUG(dbgs() << "removing dead local value materialization "
  317   LLVM_DEBUG(dbgs() << "sinking local value to first use " << LocalMI);
 1349       LLVM_DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
 1349       LLVM_DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
 1355       LLVM_DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
 1355       LLVM_DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
 1400       LLVM_DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
 1400       LLVM_DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
 1443       LLVM_DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
 1443       LLVM_DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
 1451       LLVM_DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
 1451       LLVM_DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  514   LLVM_DEBUG(dbgs() << "Argument does not have assigned frame index!\n");
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  207     LLVM_DEBUG(dbgs() << " ... replacing: "; Old->dump(&DAG);
  208                dbgs() << "     with:      "; New->dump(&DAG));
  220     LLVM_DEBUG(dbgs() << " ... replacing: "; Old->dump(&DAG);
  221                dbgs() << "     with:      "; New->dump(&DAG));
  230     LLVM_DEBUG(dbgs() << " ... replacing: "; Old->dump(&DAG));
  234       LLVM_DEBUG(dbgs() << (i == 0 ? "     with:      " : "      and:      ");
  243     LLVM_DEBUG(dbgs() << " ... replacing: "; Old->dump(&DAG);
  244                dbgs() << "     with:      "; New->dump(&DAG));
  424   LLVM_DEBUG(dbgs() << "Optimizing float store operations\n");
  493     LLVM_DEBUG(dbgs() << "Legalizing store operation\n");
  510         LLVM_DEBUG(dbgs() << "Expanding unsupported unaligned store\n");
  514         LLVM_DEBUG(dbgs() << "Legal store\n");
  518       LLVM_DEBUG(dbgs() << "Trying custom lowering\n");
  539   LLVM_DEBUG(dbgs() << "Legalizing truncating store operations\n");
  672     LLVM_DEBUG(dbgs() << "Legalizing non-extending load operation\n");
  721   LLVM_DEBUG(dbgs() << "Legalizing extending load operation\n");
  964   LLVM_DEBUG(dbgs() << "\nLegalizing: "; Node->dump(&DAG));
 1220       LLVM_DEBUG(dbgs() << "Legal node: nothing to do\n");
 1223       LLVM_DEBUG(dbgs() << "Trying custom legalization\n");
 1231           LLVM_DEBUG(dbgs() << "Successfully custom legalized node\n");
 1240         LLVM_DEBUG(dbgs() << "Successfully custom legalized node\n");
 1244       LLVM_DEBUG(dbgs() << "Could not custom legalize node\n");
 1262     dbgs() << "NODE: ";
 1264     dbgs() << "\n";
 2071     LLVM_DEBUG(dbgs() << "Created tailcall: "; DAG.getRoot().dump(&DAG));
 2076   LLVM_DEBUG(dbgs() << "Created libcall: "; CallInfo.first.dump(&DAG));
 2353   LLVM_DEBUG(dbgs() << "Legalizing INT_TO_FP\n");
 2355     LLVM_DEBUG(dbgs() << "32-bit [signed|unsigned] integer to float/double "
 2654   LLVM_DEBUG(dbgs() << "Trying to expand node\n");
 2825     LLVM_DEBUG(dbgs() << "Successfully expanded STRICT_FP_ROUND node\n");
 2845     LLVM_DEBUG(dbgs() << "Successfully expanded STRICT_FP_EXTEND node\n");
 2903       LLVM_DEBUG(dbgs() << "Successfully expanded STRICT_FP_TO_SINT node\n");
 2917       LLVM_DEBUG(dbgs() << "Successfully expanded STRICT_FP_TO_UINT node\n");
 3144     LLVM_DEBUG(dbgs() << "Legalizing FP_TO_FP16\n");
 3740     LLVM_DEBUG(dbgs() << "Cannot expand node\n");
 3744   LLVM_DEBUG(dbgs() << "Successfully expanded node\n");
 3750   LLVM_DEBUG(dbgs() << "Trying to convert node to libcall\n");
 4105     LLVM_DEBUG(dbgs() << "Successfully converted node to libcall\n");
 4108     LLVM_DEBUG(dbgs() << "Could not convert node to libcall\n");
 4122   LLVM_DEBUG(dbgs() << "Trying to promote node\n");
 4579     LLVM_DEBUG(dbgs() << "Successfully promoted node\n");
 4582     LLVM_DEBUG(dbgs() << "Could not promote node\n");
lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
   49   LLVM_DEBUG(dbgs() << "Soften float result " << ResNo << ": "; N->dump(&DAG);
   49   LLVM_DEBUG(dbgs() << "Soften float result " << ResNo << ": "; N->dump(&DAG);
   50              dbgs() << "\n");
   56     dbgs() << "SoftenFloatResult #" << ResNo << ": ";
   56     dbgs() << "SoftenFloatResult #" << ResNo << ": ";
   57     N->dump(&DAG); dbgs() << "\n";
  827   LLVM_DEBUG(dbgs() << "Soften float operand " << OpNo << ": "; N->dump(&DAG);
  827   LLVM_DEBUG(dbgs() << "Soften float operand " << OpNo << ": "; N->dump(&DAG);
  828              dbgs() << "\n");
  834     dbgs() << "SoftenFloatOperand Op #" << OpNo << ": ";
  834     dbgs() << "SoftenFloatOperand Op #" << OpNo << ": ";
  835     N->dump(&DAG); dbgs() << "\n";
 1112   LLVM_DEBUG(dbgs() << "Expand float result: "; N->dump(&DAG); dbgs() << "\n");
 1112   LLVM_DEBUG(dbgs() << "Expand float result: "; N->dump(&DAG); dbgs() << "\n");
 1123     dbgs() << "ExpandFloatResult #" << ResNo << ": ";
 1123     dbgs() << "ExpandFloatResult #" << ResNo << ": ";
 1124     N->dump(&DAG); dbgs() << "\n";
 1627   LLVM_DEBUG(dbgs() << "Expand float operand: "; N->dump(&DAG); dbgs() << "\n");
 1627   LLVM_DEBUG(dbgs() << "Expand float operand: "; N->dump(&DAG); dbgs() << "\n");
 1637     dbgs() << "ExpandFloatOperand Op #" << OpNo << ": ";
 1637     dbgs() << "ExpandFloatOperand Op #" << OpNo << ": ";
 1638     N->dump(&DAG); dbgs() << "\n";
 1895   LLVM_DEBUG(dbgs() << "Promote float operand " << OpNo << ": "; N->dump(&DAG);
 1895   LLVM_DEBUG(dbgs() << "Promote float operand " << OpNo << ": "; N->dump(&DAG);
 1896              dbgs() << "\n");
 1900     LLVM_DEBUG(dbgs() << "Node has been custom lowered, done\n");
 1912       dbgs() << "PromoteFloatOperand Op #" << OpNo << ": ";
 1912       dbgs() << "PromoteFloatOperand Op #" << OpNo << ": ";
 1913       N->dump(&DAG); dbgs() << "\n";
 2025   LLVM_DEBUG(dbgs() << "Promote float result " << ResNo << ": "; N->dump(&DAG);
 2025   LLVM_DEBUG(dbgs() << "Promote float result " << ResNo << ": "; N->dump(&DAG);
 2026              dbgs() << "\n");
 2031     LLVM_DEBUG(dbgs() << "Node has been custom expanded, done\n");
 2042       dbgs() << "PromoteFloatResult #" << ResNo << ": ";
 2042       dbgs() << "PromoteFloatResult #" << ResNo << ": ";
 2043       N->dump(&DAG); dbgs() << "\n";
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
   38   LLVM_DEBUG(dbgs() << "Promote integer result: "; N->dump(&DAG);
   39              dbgs() << "\n");
   44     LLVM_DEBUG(dbgs() << "Node has been custom expanded, done\n");
   51     dbgs() << "PromoteIntegerResult #" << ResNo << ": ";
   51     dbgs() << "PromoteIntegerResult #" << ResNo << ": ";
   52     N->dump(&DAG); dbgs() << "\n";
 1138   LLVM_DEBUG(dbgs() << "Promote integer operand: "; N->dump(&DAG);
 1139              dbgs() << "\n");
 1143     LLVM_DEBUG(dbgs() << "Node has been custom lowered, done\n");
 1150     dbgs() << "PromoteIntegerOperand Op #" << OpNo << ": ";
 1150     dbgs() << "PromoteIntegerOperand Op #" << OpNo << ": ";
 1151     N->dump(&DAG); dbgs() << "\n";
 1657   LLVM_DEBUG(dbgs() << "Expand integer result: "; N->dump(&DAG);
 1658              dbgs() << "\n");
 1669     dbgs() << "ExpandIntegerResult #" << ResNo << ": ";
 1669     dbgs() << "ExpandIntegerResult #" << ResNo << ": ";
 1670     N->dump(&DAG); dbgs() << "\n";
 3587   LLVM_DEBUG(dbgs() << "Expand integer operand: "; N->dump(&DAG);
 3588              dbgs() << "\n");
 3597     dbgs() << "ExpandIntegerOperand Op #" << OpNo << ": ";
 3597     dbgs() << "ExpandIntegerOperand Op #" << OpNo << ": ";
 3598     N->dump(&DAG); dbgs() << "\n";
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
  134           dbgs() << "Unprocessed value in a map!";
  139           dbgs() << "Value with legal type was transformed!";
  144           dbgs() << "Processed value not in any map!";
  147           dbgs() << "Value in multiple maps!";
  154           dbgs() << " ReplacedValues";
  156           dbgs() << " PromotedIntegers";
  158           dbgs() << " SoftenedFloats";
  160           dbgs() << " ScalarizedVectors";
  162           dbgs() << " ExpandedIntegers";
  164           dbgs() << " ExpandedFloats";
  166           dbgs() << " SplitVectors";
  168           dbgs() << " WidenedVectors";
  170           dbgs() << " PromotedFloats";
  171         dbgs() << "\n";
  225     LLVM_DEBUG(dbgs() << "Legalizing node: "; N->dump(&DAG));
  227       LLVM_DEBUG(dbgs() << "Ignoring node results\n");
  235       LLVM_DEBUG(dbgs() << "Analyzing result type: " << ResultVT.getEVTString()
  236                         << "\n");
  239         LLVM_DEBUG(dbgs() << "Legal result type\n");
  293       LLVM_DEBUG(dbgs() << "Analyzing operand: "; Op.dump(&DAG));
  297         LLVM_DEBUG(dbgs() << "Legal operand\n");
  367       LLVM_DEBUG(dbgs() << "Legally typed node: "; N->dump(&DAG);
  368                  dbgs() << "\n");
  436           dbgs() << "Result type " << i << " illegal: ";
  436           dbgs() << "Result type " << i << " illegal: ";
  445         dbgs() << "Operand type " << i << " illegal: ";
  445         dbgs() << "Operand type " << i << " illegal: ";
  452          dbgs() << "New node not analyzed?\n";
  454          dbgs() << "Unanalyzed node not noticed?\n";
  456          dbgs() << "Operand not processed?\n";
  458          dbgs() << "Not added to worklist?\n";
  463       Node.dump(&DAG); dbgs() << "\n";
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
  249       LLVM_DEBUG(dbgs() << "\nLegalizing extending vector load: ";
  278       LLVM_DEBUG(dbgs() << "\nLegalizing truncating vector store: ";
  483   LLVM_DEBUG(dbgs() << "\nLegalizing vector op: "; Node->dump(&DAG));
  492     LLVM_DEBUG(dbgs() << "Legal node: nothing to do\n");
  495     LLVM_DEBUG(dbgs() << "Trying custom legalization\n");
  497       LLVM_DEBUG(dbgs() << "Successfully custom legalized node\n");
  501     LLVM_DEBUG(dbgs() << "Could not custom legalize node\n");
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
   35   LLVM_DEBUG(dbgs() << "Scalarize node result " << ResNo << ": "; N->dump(&DAG);
   35   LLVM_DEBUG(dbgs() << "Scalarize node result " << ResNo << ": "; N->dump(&DAG);
   36              dbgs() << "\n");
   42     dbgs() << "ScalarizeVectorResult #" << ResNo << ": ";
   42     dbgs() << "ScalarizeVectorResult #" << ResNo << ": ";
   44     dbgs() << "\n";
  582   LLVM_DEBUG(dbgs() << "Scalarize node operand " << OpNo << ": "; N->dump(&DAG);
  582   LLVM_DEBUG(dbgs() << "Scalarize node operand " << OpNo << ": "; N->dump(&DAG);
  583              dbgs() << "\n");
  590       dbgs() << "ScalarizeVectorOperand Op #" << OpNo << ": ";
  590       dbgs() << "ScalarizeVectorOperand Op #" << OpNo << ": ";
  592       dbgs() << "\n";
  827   LLVM_DEBUG(dbgs() << "Split node result: "; N->dump(&DAG); dbgs() << "\n");
  827   LLVM_DEBUG(dbgs() << "Split node result: "; N->dump(&DAG); dbgs() << "\n");
  837     dbgs() << "SplitVectorResult #" << ResNo << ": ";
  837     dbgs() << "SplitVectorResult #" << ResNo << ": ";
  839     dbgs() << "\n";
 1806       LLVM_DEBUG(dbgs() << "Split vector extend via incremental extend:";
 1807                  N->dump(&DAG); dbgs() << "\n");
 1962   LLVM_DEBUG(dbgs() << "Split node operand: "; N->dump(&DAG); dbgs() << "\n");
 1962   LLVM_DEBUG(dbgs() << "Split node operand: "; N->dump(&DAG); dbgs() << "\n");
 1973       dbgs() << "SplitVectorOperand Op #" << OpNo << ": ";
 1973       dbgs() << "SplitVectorOperand Op #" << OpNo << ": ";
 1975       dbgs() << "\n";
 2691   LLVM_DEBUG(dbgs() << "Widen node result " << ResNo << ": "; N->dump(&DAG);
 2691   LLVM_DEBUG(dbgs() << "Widen node result " << ResNo << ": "; N->dump(&DAG);
 2692              dbgs() << "\n");
 2702     dbgs() << "WidenVectorResult #" << ResNo << ": ";
 2702     dbgs() << "WidenVectorResult #" << ResNo << ": ";
 2704     dbgs() << "\n";
 4127   LLVM_DEBUG(dbgs() << "Widen node operand " << OpNo << ": "; N->dump(&DAG);
 4127   LLVM_DEBUG(dbgs() << "Widen node operand " << OpNo << ": "; N->dump(&DAG);
 4128              dbgs() << "\n");
 4138     dbgs() << "WidenVectorOperand op #" << OpNo << ": ";
 4138     dbgs() << "WidenVectorOperand op #" << OpNo << ": ";
 4140     dbgs() << "\n";
lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
  118   LLVM_DEBUG(dbgs() << "********** List Scheduling **********\n");
  144     dbgs() << "*** Scheduling failed! ***\n";
  146     dbgs() << " has been released too many times!\n";
  182   LLVM_DEBUG(dbgs() << "*** Scheduling [" << CurCycle << "]: ");
  182   LLVM_DEBUG(dbgs() << "*** Scheduling [" << CurCycle << "]: ");
  238     LLVM_DEBUG(dbgs() << "Unfolding SU # " << SU->NodeNum << "\n");
  238     LLVM_DEBUG(dbgs() << "Unfolding SU # " << SU->NodeNum << "\n");
  348   LLVM_DEBUG(dbgs() << "Duplicating SU # " << SU->NodeNum << "\n");
  348   LLVM_DEBUG(dbgs() << "Duplicating SU # " << SU->NodeNum << "\n");
  595           LLVM_DEBUG(dbgs() << "Adding an edge from SU # " << TrySU->NodeNum
  596                             << " to SU #" << Copies.front()->NodeNum << "\n");
  596                             << " to SU #" << Copies.front()->NodeNum << "\n");
  601         LLVM_DEBUG(dbgs() << "Adding an edge from SU # " << NewDef->NodeNum
  602                           << " to SU #" << TrySU->NodeNum << "\n");
  602                           << " to SU #" << TrySU->NodeNum << "\n");
  669   LLVM_DEBUG(dbgs() << "\n*** Scheduling: ");
  716   LLVM_DEBUG(dbgs() << "********** DAG Linearization **********\n");
  766   LLVM_DEBUG({ dbgs() << "\n*** Final schedule ***\n"; });
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
  355   LLVM_DEBUG(dbgs() << "********** List Scheduling " << printMBBReference(*BB)
  356                     << " '" << BB->getName() << "' **********\n");
  356                     << " '" << BB->getName() << "' **********\n");
  386     dbgs() << "*** Final schedule ***\n";
  403     dbgs() << "*** Scheduling failed! ***\n";
  405     dbgs() << " has been released too many times!\n";
  737   LLVM_DEBUG(dbgs() << "\n*** Scheduling [" << CurCycle << "]: ");
  737   LLVM_DEBUG(dbgs() << "\n*** Scheduling [" << CurCycle << "]: ");
  742     LLVM_DEBUG(dbgs() << "   Height [" << SU->getHeight()
  743                       << "] pipeline stall!\n");
  836   LLVM_DEBUG(dbgs() << "*** Unscheduling [" << SU->getHeight() << "]: ");
  836   LLVM_DEBUG(dbgs() << "*** Unscheduling [" << SU->getHeight() << "]: ");
 1048   LLVM_DEBUG(dbgs() << "Unfolding SU #" << SU->NodeNum << "\n");
 1048   LLVM_DEBUG(dbgs() << "Unfolding SU #" << SU->NodeNum << "\n");
 1139   LLVM_DEBUG(dbgs() << "Considering duplicating the SU\n");
 1146         << "Giving up because it has incoming glue and the target does not "
 1156       LLVM_DEBUG(dbgs() << "Giving up because it has outgoing glue\n");
 1165           dbgs() << "Giving up because it one of the operands is glue and "
 1183   LLVM_DEBUG(dbgs() << "    Duplicating SU #" << SU->NodeNum << "\n");
 1183   LLVM_DEBUG(dbgs() << "    Duplicating SU #" << SU->NodeNum << "\n");
 1449       LLVM_DEBUG(dbgs() << "    Repushing SU #" << SU->NodeNum << '\n');
 1470       LLVM_DEBUG(dbgs() << "    Interfering reg ";
 1471                  if (LRegs[0] == TRI->getNumRegs()) dbgs() << "CallResource";
 1473                  dbgs() << " SU #" << CurSU->NodeNum << '\n');
 1524       LLVM_DEBUG(dbgs() << "ARTIFICIAL edge from SU(" << BtSU->NodeNum
 1525                         << ") to SU(" << TrySU->NodeNum << ")\n");
 1525                         << ") to SU(" << TrySU->NodeNum << ")\n");
 1531         LLVM_DEBUG(dbgs() << "TrySU not available; choosing node from queue\n");
 1534         LLVM_DEBUG(dbgs() << "TrySU available\n");
 1578       LLVM_DEBUG(dbgs() << "    Adding an edge from SU #" << TrySU->NodeNum
 1579                         << " to SU #" << Copies.front()->NodeNum << "\n");
 1579                         << " to SU #" << Copies.front()->NodeNum << "\n");
 1584     LLVM_DEBUG(dbgs() << "    Adding an edge from SU #" << NewDef->NodeNum
 1585                       << " to SU #" << TrySU->NodeNum << "\n");
 1585                       << " to SU #" << TrySU->NodeNum << "\n");
 1613     LLVM_DEBUG(dbgs() << "\nExamining Available:\n";
 1907       dbgs() << "Height " << SU->getHeight() << ": ";
 1907       dbgs() << "Height " << SU->getHeight() << ": ";
 2077     LLVM_DEBUG(dbgs() << TRI->getRegClassName(RC) << ": " << RP << " / "
 2077     LLVM_DEBUG(dbgs() << TRI->getRegClassName(RC) << ": " << RP << " / "
 2077     LLVM_DEBUG(dbgs() << TRI->getRegClassName(RC) << ": " << RP << " / "
 2230       LLVM_DEBUG(dbgs() << "  SU(" << SU->NodeNum
 2231                         << ") has too many regdefs\n");
 2413   LLVM_DEBUG(dbgs() << "VRegCycle: SU(" << SU->NodeNum << ")\n");
 2413   LLVM_DEBUG(dbgs() << "VRegCycle: SU(" << SU->NodeNum << ")\n");
 2451       LLVM_DEBUG(dbgs() << "  VReg cycle use: SU (" << SU->NodeNum << ")\n");
 2451       LLVM_DEBUG(dbgs() << "  VReg cycle use: SU (" << SU->NodeNum << ")\n");
 2511       LLVM_DEBUG(dbgs() << "  Comparing latency of SU (" << left->NodeNum
 2512                         << ") depth " << LDepth << " vs SU (" << right->NodeNum
 2512                         << ") depth " << LDepth << " vs SU (" << right->NodeNum
 2513                         << ") depth " << RDepth << "\n");
 2513                         << ") depth " << RDepth << "\n");
 2535       LLVM_DEBUG(dbgs() << "  SU (" << left->NodeNum << ") "
 2535       LLVM_DEBUG(dbgs() << "  SU (" << left->NodeNum << ") "
 2536                         << PhysRegMsg[LHasPhysReg] << " SU(" << right->NodeNum
 2536                         << PhysRegMsg[LHasPhysReg] << " SU(" << right->NodeNum
 2537                         << ") " << PhysRegMsg[RHasPhysReg] << "\n");
 2537                         << ") " << PhysRegMsg[RHasPhysReg] << "\n");
 2537                         << ") " << PhysRegMsg[RHasPhysReg] << "\n");
 2681     LLVM_DEBUG(dbgs() << "  pressure SU(" << left->NodeNum << ") > SU("
 2681     LLVM_DEBUG(dbgs() << "  pressure SU(" << left->NodeNum << ") > SU("
 2682                       << right->NodeNum << ")\n");
 2686     LLVM_DEBUG(dbgs() << "  pressure SU(" << right->NodeNum << ") > SU("
 2686     LLVM_DEBUG(dbgs() << "  pressure SU(" << right->NodeNum << ") > SU("
 2687                       << left->NodeNum << ")\n");
 2749     LLVM_DEBUG(dbgs() << "RegPressureDiff SU(" << left->NodeNum
 2750                       << "): " << LPDiff << " != SU(" << right->NodeNum
 2750                       << "): " << LPDiff << " != SU(" << right->NodeNum
 2751                       << "): " << RPDiff << "\n");
 2751                       << "): " << RPDiff << "\n");
 2763     LLVM_DEBUG(dbgs() << "Live uses SU(" << left->NodeNum << "): " << LLiveUses
 2763     LLVM_DEBUG(dbgs() << "Live uses SU(" << left->NodeNum << "): " << LLiveUses
 2764                       << " != SU(" << right->NodeNum << "): " << RLiveUses
 2764                       << " != SU(" << right->NodeNum << "): " << RLiveUses
 2765                       << "\n");
 2779       LLVM_DEBUG(dbgs() << "Depth of SU(" << left->NodeNum << "): "
 2779       LLVM_DEBUG(dbgs() << "Depth of SU(" << left->NodeNum << "): "
 2780                         << left->getDepth() << " != SU(" << right->NodeNum
 2781                         << "): " << right->getDepth() << "\n");
 2781                         << "): " << right->getDepth() << "\n");
 3026         dbgs() << "    Prescheduling SU #" << SU.NodeNum << " next to PredSU #"
 3026         dbgs() << "    Prescheduling SU #" << SU.NodeNum << " next to PredSU #"
 3028                << " to guide scheduling in the presence of multiple uses\n");
 3118                      << "    Adding a pseudo-two-addr edge from SU #"
 3119                      << SU.NodeNum << " to SU #" << SuccSU->NodeNum << "\n");
 3119                      << SU.NodeNum << " to SU #" << SuccSU->NodeNum << "\n");
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  672   dbgs() << ": ";
  675     dbgs() << "PHYS REG COPY\n";
  680   dbgs() << "\n";
  685     dbgs() << "    ";
  687     dbgs() << "\n";
  710       dbgs() << "**** NOOP ****\n";
lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
   94   LLVM_DEBUG(dbgs() << "********** List Scheduling " << printMBBReference(*BB)
   95                     << " '" << BB->getName() << "' **********\n");
   95                     << " '" << BB->getName() << "' **********\n");
  118     dbgs() << "*** Scheduling failed! ***\n";
  120     dbgs() << " has been released too many times!\n";
  152   LLVM_DEBUG(dbgs() << "*** Scheduling [" << CurCycle << "]: ");
  152   LLVM_DEBUG(dbgs() << "*** Scheduling [" << CurCycle << "]: ");
  247       LLVM_DEBUG(dbgs() << "*** Advancing cycle, no work to do\n");
  255       LLVM_DEBUG(dbgs() << "*** Emitting noop\n");
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  895     dbgs() << "\n";
 8111         LLVM_DEBUG(dbgs() << "SALVAGE: Rewriting";
 8113                    dbgs() << " into " << *DIExpr << '\n');
 8582       dbgs() << "Overran sorted position:\n";
 8583       S->dumprFull(this); dbgs() << "\n";
 8584       dbgs() << "Checking if this is due to cycles\n";
 8659   ErrorFormatter << "Undefined external symbol ";
 8660   ErrorFormatter << '"' << Symbol << '"';
 9609     errs() << "Detected cycle in SelectionDAG\n";
 9610     dbgs() << "Offending node:\n";
 9611     N->dumprFull(DAG); dbgs() << "\n";
lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
  290   OS << "BaseIndexOffset base=[";
  292   OS << "] index=[";
  295   OS << "] offset=" << Offset;
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 1138       LLVM_DEBUG(dbgs() << "Dropping dangling debug info for " << *DI << "\n");
 1138       LLVM_DEBUG(dbgs() << "Dropping dangling debug info for " << *DI << "\n");
 1185         LLVM_DEBUG(dbgs() << "Resolve dangling debug info [order="
 1186                           << DbgSDNodeOrder << "] for:\n  " << *DI << "\n");
 1186                           << DbgSDNodeOrder << "] for:\n  " << *DI << "\n");
 1187         LLVM_DEBUG(dbgs() << "  By mapping to:\n    "; Val.dump());
 1193                    << "changing SDNodeOrder from " << DbgSDNodeOrder << " to "
 1193                    << "changing SDNodeOrder from " << DbgSDNodeOrder << " to "
 1194                    << ValSDNodeOrder << "\n");
 1199         LLVM_DEBUG(dbgs() << "Resolved dangling debug info for " << *DI
 1200                           << "in EmitFuncArgumentDbgValue\n");
 1202       LLVM_DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
 1202       LLVM_DEBUG(dbgs() << "Dropping debug info for " << *DI << "\n");
 1249       LLVM_DEBUG(dbgs() << "Salvaged debug location info for:\n  "
 1250                         << DDI.getDI() << "\nBy stripping back to:\n  " << V);
 1262   LLVM_DEBUG(dbgs() << "Dropping debug value info for:\n  " << DDI.getDI()
 1263                     << "\n");
 1264   LLVM_DEBUG(dbgs() << "  Last seen at:\n    " << *DDI.getDI()->getOperand(0)
 1265                     << "\n");
 3122     LLVM_DEBUG(dbgs() << "Detected a reduction operation:" << I << "\n");
 3122     LLVM_DEBUG(dbgs() << "Detected a reduction operation:" << I << "\n");
 5817       LLVM_DEBUG(dbgs() << "Dropping debug info for " << DI << "\n");
 5817       LLVM_DEBUG(dbgs() << "Dropping debug info for " << DI << "\n");
 5880         LLVM_DEBUG(dbgs() << "Dropping debug info for " << DI << "\n");
 5880         LLVM_DEBUG(dbgs() << "Dropping debug info for " << DI << "\n");
 9493     LLVM_DEBUG(dbgs() << "Found argument copy elision candidate: " << *AI
 9536         dbgs() << "  argument copy elision failed due to bad fixed stack "
 9546     LLVM_DEBUG(dbgs() << "  argument copy elision failed: alignment of alloca "
 9548                       << RequiredAlignment << " vs "
 9549                       << MFI.getObjectAlignment(FixedIndex) << ")\n");
 9556     dbgs() << "Eliding argument copy from " << Arg << " to " << *AI << '\n'
 9556     dbgs() << "Eliding argument copy from " << Arg << " to " << *AI << '\n'
 9557            << "  Replacing frame index " << OldIndex << " with " << FixedIndex
 9557            << "  Replacing frame index " << OldIndex << " with " << FixedIndex
10466   LLVM_DEBUG(dbgs() << "Peeled one top case in switch stmt, prob: "
10467                     << TopCaseProb << "\n");
10485         dbgs() << "Scale the probablity for one cluster, before scaling: "
10486                << CC.Prob << "\n");
10488     LLVM_DEBUG(dbgs() << "After scaling: " << CC.Prob << "\n");
10488     LLVM_DEBUG(dbgs() << "After scaling: " << CC.Prob << "\n");
10536     dbgs() << "Case clusters: ";
10539         dbgs() << "JT:";
10541         dbgs() << "BT:";
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  502     if (i) OS << ",";
  504       OS << "ch";
  512     OS << " nuw";
  515     OS << " nsw";
  518     OS << " exact";
  521     OS << " nnan";
  524     OS << " ninf";
  527     OS << " nsz";
  530     OS << " arcp";
  533     OS << " contract";
  536     OS << " afn";
  539     OS << " reassoc";
  542     OS << " vector-reduction";
  546       OS << "<";
  547       OS << "Mem:";
  552           OS << " ";
  554       OS << ">";
  558     OS << "<";
  561       if (i) OS << ",";
  563         OS << "u";
  567     OS << ">";
  576       OS << "<APFloat(";
  578       OS << ")>";
  587       OS << " + " << offset;
  589       OS << " " << offset;
  591       OS << " [TF=" << TF << ']';
  593     OS << "<" << FIDN->getIndex() << ">";
  593     OS << "<" << FIDN->getIndex() << ">";
  595     OS << "<" << JTDN->getIndex() << ">";
  595     OS << "<" << JTDN->getIndex() << ">";
  597       OS << " [TF=" << TF << ']';
  601       OS << "<" << *CP->getMachineCPVal() << ">";
  601       OS << "<" << *CP->getMachineCPVal() << ">";
  603       OS << "<" << *CP->getConstVal() << ">";
  603       OS << "<" << *CP->getConstVal() << ">";
  605       OS << " + " << offset;
  607       OS << " " << offset;
  609       OS << " [TF=" << TF << ']';
  611     OS << "<" << TI->getIndex() << '+' << TI->getOffset() << ">";
  611     OS << "<" << TI->getIndex() << '+' << TI->getOffset() << ">";
  613       OS << " [TF=" << TF << ']';
  615     OS << "<";
  618       OS << LBB->getName() << " ";
  619     OS << (const void*)BBDN->getBasicBlock() << ">";
  625     OS << "'" << ES->getSymbol() << "'";
  625     OS << "'" << ES->getSymbol() << "'";
  625     OS << "'" << ES->getSymbol() << "'";
  627       OS << " [TF=" << TF << ']';
  630       OS << "<" << M->getValue() << ">";
  630       OS << "<" << M->getValue() << ">";
  632       OS << "<null>";
  635       OS << "<" << MD->getMD() << ">";
  635       OS << "<" << MD->getMD() << ">";
  637       OS << "<null>";
  639     OS << ":" << N->getVT().getEVTString();
  642     OS << "<";
  649     case ISD::EXTLOAD:  OS << ", anyext"; break;
  650     case ISD::SEXTLOAD: OS << ", sext"; break;
  651     case ISD::ZEXTLOAD: OS << ", zext"; break;
  654       OS << " from " << LD->getMemoryVT().getEVTString();
  658       OS << ", " << AM;
  658       OS << ", " << AM;
  660     OS << ">";
  662     OS << "<";
  666       OS << ", trunc to " << ST->getMemoryVT().getEVTString();
  670       OS << ", " << AM;
  670       OS << ", " << AM;
  672     OS << ">";
  674     OS << "<";
  681     case ISD::EXTLOAD:  OS << ", anyext"; break;
  682     case ISD::SEXTLOAD: OS << ", sext"; break;
  683     case ISD::ZEXTLOAD: OS << ", zext"; break;
  686       OS << " from " << MLd->getMemoryVT().getEVTString();
  689       OS << ", expanding";
  691     OS << ">";
  693     OS << "<";
  697       OS << ", trunc to " << MSt->getMemoryVT().getEVTString();
  700       OS << ", compressing";
  702     OS << ">";
  704     OS << "<";
  706     OS << ">";
  710     OS << "<";
  712     OS << ", ";
  714     OS << ">";
  716       OS << " + " << offset;
  718       OS << " " << offset;
  720       OS << " [TF=" << TF << ']';
  725        << " -> "
  730       OS << "<" << LN->getOffset() << " to " << LN->getOffset() + LN->getSize() << ">";
  730       OS << "<" << LN->getOffset() << " to " << LN->getOffset() + LN->getSize() << ">";
  730       OS << "<" << LN->getOffset() << " to " << LN->getOffset() + LN->getSize() << ">";
  735         OS << " [ORD=" << Order << ']';
  738       OS << " [ID=" << getNodeId() << ']';
  740       OS << " # D:" << isDivergent();
  743       OS << " [NoOfDbgValues=" << G->GetDbgValues(this).size() << ']';
  748       OS << " [NoOfDbgValues>0]";
  753   OS << " DbgVal(Order=" << getOrder() << ')';
  754   if (isInvalidated()) OS << "(Invalidated)";
  755   if (isEmitted()) OS << "(Emitted)";
  759       OS << "(SDNODE=" << PrintNodeId(*getSDNode()) << ':' <<  getResNo() << ')';
  761       OS << "(SDNODE)";
  764     OS << "(CONST)";
  767     OS << "(FRAMEIX=" << getFrameIx() << ')';
  770     OS << "(VREG=" << getVReg() << ')';
  773   if (isIndirect()) OS << "(Indirect)";
  774   OS << ":\"" << Var->getName() << '"';
  786   dbgs() << "\n";
  816   dbgs() << "SelectionDAG has " << AllNodes.size() << " nodes:\n";
  816   dbgs() << "SelectionDAG has " << AllNodes.size() << " nodes:\n";
  827   dbgs() << "\n";
  831       dbgs() << "SDDbgValues:\n";
  835       dbgs() << "Byval SDDbgValues:\n";
  839   dbgs() << "\n";
  844   OS << PrintNodeId(*this) << ": ";
  846   OS << " = " << getOperationName(G);
  853     OS << "<null>";
  882     if (i) OS << ",";
  883     OS << " ";
  891   OS << "\n";
  956     if (i) OS << ", "; else OS << " ";
  956     if (i) OS << ", "; else OS << " ";
  960     OS << ", ";
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  220       LLVM_DEBUG(dbgs() << "\nChanging optimization level for Function "
  221                         << IS.MF->getFunction().getName() << "\n");
  222       LLVM_DEBUG(dbgs() << "\tBefore: -O" << SavedOptLevel << " ; After: -O"
  222       LLVM_DEBUG(dbgs() << "\tBefore: -O" << SavedOptLevel << " ; After: -O"
  223                         << NewOptLevel << "\n");
  228             dbgs() << "\tFastISel is "
  229                    << (IS.TM.Options.EnableFastISel ? "enabled" : "disabled")
  230                    << "\n");
  237       LLVM_DEBUG(dbgs() << "\nRestoring optimization level for Function "
  238                         << IS.MF->getFunction().getName() << "\n");
  239       LLVM_DEBUG(dbgs() << "\tBefore: -O" << IS.OptLevel << " ; After: -O"
  239       LLVM_DEBUG(dbgs() << "\tBefore: -O" << IS.OptLevel << " ; After: -O"
  240                         << SavedOptLevel << "\n");
  290   dbgs() << "If a target marks an instruction with "
  446   LLVM_DEBUG(dbgs() << "\n\n\n=== " << Fn.getName() << "\n");
  446   LLVM_DEBUG(dbgs() << "\n\n\n=== " << Fn.getName() << "\n");
  584         LLVM_DEBUG(dbgs() << "Dropping debug info for dead vreg"
  585                           << Register::virtReg2Index(Reg) << "\n");
  693   LLVM_DEBUG(dbgs() << "*** MachineFunction at end of ISel ***\n");
  804   LLVM_DEBUG(dbgs() << "Initial selection DAG: "
  805                     << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
  806                     << "'\n";
  824   LLVM_DEBUG(dbgs() << "Optimized lowered selection DAG: "
  825                     << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
  826                     << "'\n";
  846   LLVM_DEBUG(dbgs() << "Type-legalized selection DAG: "
  847                     << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
  848                     << "'\n";
  870     LLVM_DEBUG(dbgs() << "Optimized type-legalized selection DAG: "
  871                       << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
  872                       << "'\n";
  883     LLVM_DEBUG(dbgs() << "Vector-legalized selection DAG: "
  884                       << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
  885                       << "'\n";
  894     LLVM_DEBUG(dbgs() << "Vector/type-legalized selection DAG: "
  895                       << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
  896                       << "'\n";
  909     LLVM_DEBUG(dbgs() << "Optimized vector-legalized selection DAG: "
  910                       << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
  911                       << "'\n";
  934   LLVM_DEBUG(dbgs() << "Legalized selection DAG: "
  935                     << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
  936                     << "'\n";
  954   LLVM_DEBUG(dbgs() << "Optimized legalized selection DAG: "
  955                     << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
  956                     << "'\n";
  973   LLVM_DEBUG(dbgs() << "Selected selection DAG: "
  974                     << printMBBReference(*FuncInfo->MBB) << " '" << BlockName
  975                     << "'\n";
 1095   LLVM_DEBUG(dbgs() << "===== Instruction selection begins: "
 1096                     << printMBBReference(*FuncInfo->MBB) << " '"
 1097                     << FuncInfo->MBB->getName() << "'\n");
 1167       LLVM_DEBUG(dbgs() << "\nISEL: Starting selection on root node: ";
 1176   LLVM_DEBUG(dbgs() << "\n===== Instruction selection ends:\n");
 1341     LLVM_DEBUG(dbgs() << "Enabling fast-isel\n");
 1697   LLVM_DEBUG(dbgs() << "Total amount of phi nodes to update: "
 1698                     << FuncInfo->PHINodesToUpdate.size() << "\n";
 1701              << "Node " << i << " : (" << FuncInfo->PHINodesToUpdate[i].first
 1701              << "Node " << i << " : (" << FuncInfo->PHINodesToUpdate[i].first
 1702              << ", " << FuncInfo->PHINodesToUpdate[i].second << ")\n");
 1702              << ", " << FuncInfo->PHINodesToUpdate[i].second << ")\n");
 2331   LLVM_DEBUG(dbgs() << "ISEL: Match complete!\n");
 2832   LLVM_DEBUG(dbgs() << "ISEL: Starting pattern match\n");
 2844     LLVM_DEBUG(dbgs() << "  Initial Opcode index to " << MatcherIndex << "\n");
 2844     LLVM_DEBUG(dbgs() << "  Initial Opcode index to " << MatcherIndex << "\n");
 2912             dbgs() << "  Skipped scope entry (due to false predicate) at "
 2913                    << "index " << MatcherIndexOfPredicate << ", continuing at "
 2913                    << "index " << MatcherIndexOfPredicate << ", continuing at "
 2914                    << FailIndex << "\n");
 2963         LLVM_DEBUG(dbgs() << "Expected MemSDNode "; N->dump(CurDAG);
 3097       LLVM_DEBUG(dbgs() << "  OpcodeSwitch from " << SwitchStart << " to "
 3097       LLVM_DEBUG(dbgs() << "  OpcodeSwitch from " << SwitchStart << " to "
 3098                         << MatcherIndex << "\n");
 3129       LLVM_DEBUG(dbgs() << "  TypeSwitch[" << EVT(CurNodeVT).getEVTString()
 3130                         << "] from " << SwitchStart << " to " << MatcherIndex
 3130                         << "] from " << SwitchStart << " to " << MatcherIndex
 3356       dbgs() << "COVERED: " << getPatternForIndex(index) << "\n";
 3356       dbgs() << "COVERED: " << getPatternForIndex(index) << "\n";
 3357       dbgs() << "INCLUDED: " << getIncludePathForIndex(index) << "\n";
 3357       dbgs() << "INCLUDED: " << getIncludePathForIndex(index) << "\n";
 3508                      << "  Dropping mem operands\n";
 3509                  dbgs() << "  " << (IsMorphNodeTo ? "Morphed" : "Created")
 3509                  dbgs() << "  " << (IsMorphNodeTo ? "Morphed" : "Created")
 3510                         << " node: ";
 3573     LLVM_DEBUG(dbgs() << "  Match failed at index " << CurrentOpcodeIndex
 3574                       << "\n");
 3594       LLVM_DEBUG(dbgs() << "  Continuing at " << MatcherIndex << "\n");
 3594       LLVM_DEBUG(dbgs() << "  Continuing at " << MatcherIndex << "\n");
 3644   Msg << "Cannot select: ";
 3650     Msg << "\nIn function: " << MF->getName();
 3656       Msg << "intrinsic %" << Intrinsic::getName((Intrinsic::ID)iid, None);
 3658       Msg << "target intrinsic %" << TII->getName(iid);
 3660       Msg << "unknown intrinsic #" << iid;
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
  231       LLVM_DEBUG(dbgs() << "setSubgraphColor hit max level\n");
  277   O << "SU(" << SU->NodeNum << "): ";
  277   O << "SU(" << SU->NodeNum << "): ";
  287         O << "\n    ";
  290     O << "CROSS RC COPY";
lib/CodeGen/ShrinkWrap.cpp
  272     LLVM_DEBUG(dbgs() << "Frame instruction: " << MI << '\n');
  303       LLVM_DEBUG(dbgs() << "Use or define CSR(" << UseOrDefCSR << ") or FI("
  303       LLVM_DEBUG(dbgs() << "Use or define CSR(" << UseOrDefCSR << ") or FI("
  304                         << MO.isFI() << "): " << MI << '\n');
  335     LLVM_DEBUG(dbgs() << "Found a block that is not reachable from Entry\n");
  370         dbgs() << "Restore point needs to be spanned on several blocks\n");
  466   LLVM_DEBUG(dbgs() << "**** Analysing " << MF.getName() << '\n');
  488     LLVM_DEBUG(dbgs() << "Look into: " << MBB.getNumber() << ' '
  506         LLVM_DEBUG(dbgs() << "EHPad prevents shrink-wrapping\n");
  521         LLVM_DEBUG(dbgs() << "No Shrink wrap candidate found\n");
  534     LLVM_DEBUG(dbgs() << "Nothing to shrink-wrap\n");
  538   LLVM_DEBUG(dbgs() << "\n ** Results **\nFrequency of the Entry: " << EntryFreq
  543     LLVM_DEBUG(dbgs() << "Shrink wrap candidates (#, Name, Freq):\nSave: "
  546                       << "\nRestore: " << Restore->getNumber() << ' '
  557         dbgs() << "New points are too expensive or invalid for the target\n");
  579   LLVM_DEBUG(dbgs() << "Final shrink wrap candidates:\nSave: "
  581                     << "\nRestore: " << Restore->getNumber() << ' '
lib/CodeGen/SjLjEHPrepare.cpp
  311           LLVM_DEBUG(dbgs() << "SJLJ Spill: " << Inst << " around "
  311           LLVM_DEBUG(dbgs() << "SJLJ Spill: " << Inst << " around "
  312                             << UnwindBlock->getName() << "\n");
lib/CodeGen/SlotIndexes.cpp
  161   LLVM_DEBUG(dbgs() << "\n*** Renumbered SlotIndexes " << startItr->getIndex()
  162                     << '-' << index << " ***\n");
  241     dbgs() << itr->getIndex() << " ";
  246       dbgs() << "\n";
  251     dbgs() << "%bb." << i << "\t[" << MBBRanges[i].first << ';'
  251     dbgs() << "%bb." << i << "\t[" << MBBRanges[i].first << ';'
  252            << MBBRanges[i].second << ")\n";
  261     os << "invalid";
  268   dbgs() << "\n";
lib/CodeGen/SplitKit.cpp
  194     LLVM_DEBUG(dbgs() << "*** Fixing inconsistent live interval! ***\n");
  204   LLVM_DEBUG(dbgs() << "Analyze counted " << UseSlots.size() << " instrs in "
  204   LLVM_DEBUG(dbgs() << "Analyze counted " << UseSlots.size() << " instrs in "
  205                     << UseBlocks.size() << " blocks, through "
  206                     << NumThroughBlocks << " blocks.\n");
  397     dbgs() << " empty\n";
  402     dbgs() << " [" << I.start() << ';' << I.stop() << "):" << I.value();
  402     dbgs() << " [" << I.start() << ';' << I.stop() << "):" << I.value();
  688   LLVM_DEBUG(dbgs() << "    selectIntv " << OpenIdx << " -> " << Idx << '\n');
  688   LLVM_DEBUG(dbgs() << "    selectIntv " << OpenIdx << " -> " << Idx << '\n');
  694   LLVM_DEBUG(dbgs() << "    enterIntvBefore " << Idx);
  698     LLVM_DEBUG(dbgs() << ": not live\n");
  701   LLVM_DEBUG(dbgs() << ": valno " << ParentVNI->id << '\n');
  711   LLVM_DEBUG(dbgs() << "    enterIntvAfter " << Idx);
  715     LLVM_DEBUG(dbgs() << ": not live\n");
  718   LLVM_DEBUG(dbgs() << ": valno " << ParentVNI->id << '\n');
  731   LLVM_DEBUG(dbgs() << "    enterIntvAtEnd " << printMBBReference(MBB) << ", "
  731   LLVM_DEBUG(dbgs() << "    enterIntvAtEnd " << printMBBReference(MBB) << ", "
  735     LLVM_DEBUG(dbgs() << ": not live\n");
  738   LLVM_DEBUG(dbgs() << ": valno " << ParentVNI->id);
  753   LLVM_DEBUG(dbgs() << "    useIntv [" << Start << ';' << End << "):");
  753   LLVM_DEBUG(dbgs() << "    useIntv [" << Start << ';' << End << "):");
  760   LLVM_DEBUG(dbgs() << "    leaveIntvAfter " << Idx);
  766     LLVM_DEBUG(dbgs() << ": not live\n");
  769   LLVM_DEBUG(dbgs() << ": valno " << ParentVNI->id << '\n');
  791   LLVM_DEBUG(dbgs() << "    leaveIntvBefore " << Idx);
  797     LLVM_DEBUG(dbgs() << ": not live\n");
  800   LLVM_DEBUG(dbgs() << ": valno " << ParentVNI->id << '\n');
  811   LLVM_DEBUG(dbgs() << "    leaveIntvAtTop " << printMBBReference(MBB) << ", "
  811   LLVM_DEBUG(dbgs() << "    leaveIntvAtTop " << printMBBReference(MBB) << ", "
  816     LLVM_DEBUG(dbgs() << ": not live\n");
  838   LLVM_DEBUG(dbgs() << "    overlapIntv [" << Start << ';' << End << "):");
  838   LLVM_DEBUG(dbgs() << "    overlapIntv [" << Start << ';' << End << "):");
  849   LLVM_DEBUG(dbgs() << "Removing " << Copies.size() << " back-copies.\n");
  849   LLVM_DEBUG(dbgs() << "Removing " << Copies.size() << " back-copies.\n");
  864     LLVM_DEBUG(dbgs() << "Removing " << Def << '\t' << *MI);
  879       LLVM_DEBUG(dbgs() << "  cannot find simple kill of RegIdx " << RegIdx
  884       LLVM_DEBUG(dbgs() << "  move kill to " << Kill << '\t' << *MBBI);
  911       LLVM_DEBUG(dbgs() << "Def in " << printMBBReference(*DefMBB)
  912                         << " dominates " << printMBBReference(*MBB)
  913                         << " at depth 0\n");
  919       LLVM_DEBUG(dbgs() << "Def in " << printMBBReference(*DefMBB)
  920                         << " dominates " << printMBBReference(*MBB)
  921                         << " in the same loop\n");
  930       LLVM_DEBUG(dbgs() << "Def in " << printMBBReference(*DefMBB)
  931                         << " dominates " << printMBBReference(*MBB)
  932                         << " at depth " << Depth << '\n');
 1038       LLVM_DEBUG(dbgs() << "Direct complement def at " << VNI->def << '\n');
 1045       LLVM_DEBUG(dbgs() << "Single complement def at " << VNI->def << '\n');
 1069     LLVM_DEBUG(dbgs() << "Multi-mapped complement " << VNI->id << '@'
 1070                       << VNI->def << " for parent " << ParentVNI->id << '@'
 1071                       << ParentVNI->def << " hoist to "
 1126     LLVM_DEBUG(dbgs() << "  blit " << S << ':');
 1148       LLVM_DEBUG(dbgs() << " [" << Start << ';' << End << ")=" << RegIdx << '('
 1148       LLVM_DEBUG(dbgs() << " [" << Start << ';' << End << ")=" << RegIdx << '('
 1163         LLVM_DEBUG(dbgs() << "(recalc)");
 1182         LLVM_DEBUG(dbgs() << ':' << VNI->id << "*" << printMBBReference(*MBB));
 1195         LLVM_DEBUG(dbgs() << ">" << printMBBReference(*MBB));
 1322       LLVM_DEBUG(dbgs() << "Zapping " << *MI);
 1338     LLVM_DEBUG(dbgs() << "  rewr " << printMBBReference(*MI->getParent())
 1424       LLVM_DEBUG(dbgs() << "All defs dead: " << *MI);
 1606   LLVM_DEBUG(dbgs() << "%bb." << MBBNum << " [" << Start << ';' << Stop
 1606   LLVM_DEBUG(dbgs() << "%bb." << MBBNum << " [" << Start << ';' << Stop
 1607                     << ") intf " << LeaveBefore << '-' << EnterAfter
 1608                     << ", live-through " << IntvIn << " -> " << IntvOut);
 1608                     << ", live-through " << IntvIn << " -> " << IntvOut);
 1619     LLVM_DEBUG(dbgs() << ", spill on entry.\n");
 1633     LLVM_DEBUG(dbgs() << ", reload on exit.\n");
 1647     LLVM_DEBUG(dbgs() << ", straight through.\n");
 1663     LLVM_DEBUG(dbgs() << ", switch avoiding interference.\n");
 1684   LLVM_DEBUG(dbgs() << ", create local intv for interference.\n");
 1708   LLVM_DEBUG(dbgs() << printMBBReference(*BI.MBB) << " [" << Start << ';'
 1709                     << Stop << "), uses " << BI.FirstInstr << '-'
 1710                     << BI.LastInstr << ", reg-in " << IntvIn
 1711                     << ", leave before " << LeaveBefore
 1712                     << (BI.LiveOut ? ", stack-out" : ", killed in block"));
 1719     LLVM_DEBUG(dbgs() << " before interference.\n");
 1744       LLVM_DEBUG(dbgs() << ", spill after last use before interference.\n");
 1750       LLVM_DEBUG(dbgs() << ", spill before last split point.\n");
 1765   LLVM_DEBUG(dbgs() << ", creating local interval " << LocalIntv << ".\n");
 1765   LLVM_DEBUG(dbgs() << ", creating local interval " << LocalIntv << ".\n");
 1801   LLVM_DEBUG(dbgs() << printMBBReference(*BI.MBB) << " [" << Start << ';'
 1802                     << Stop << "), uses " << BI.FirstInstr << '-'
 1803                     << BI.LastInstr << ", reg-out " << IntvOut
 1804                     << ", enter after " << EnterAfter
 1805                     << (BI.LiveIn ? ", stack-in" : ", defined in block"));
 1814     LLVM_DEBUG(dbgs() << " after interference.\n");
 1826     LLVM_DEBUG(dbgs() << ", reload after interference.\n");
 1842   LLVM_DEBUG(dbgs() << ", interference overlaps uses.\n");
lib/CodeGen/StackColoring.cpp
  533   dbgs() << tag << " : { ";
  533   dbgs() << tag << " : { ";
  535     dbgs() << BV.test(I) << " ";
  536   dbgs() << "}\n";
  552     dbgs() << "Inspecting block #" << MBB->getNumber() << " ["
  552     dbgs() << "Inspecting block #" << MBB->getNumber() << " ["
  553            << MBB->getName() << "]\n";
  560     dbgs() << "Interval[" << I << "]:\n";
  560     dbgs() << "Interval[" << I << "]:\n";
  669           LLVM_DEBUG(dbgs() << "Found a lifetime ");
  670           LLVM_DEBUG(dbgs() << (MI.getOpcode() == TargetOpcode::LIFETIME_START
  673           LLVM_DEBUG(dbgs() << " marker for slot #" << Slot);
  675                      << " with allocation: " << Allocation->getName() << "\n");
  675                      << " with allocation: " << Allocation->getName() << "\n");
  735             LLVM_DEBUG(dbgs() << "Found a use of slot #" << Slot);
  737                        << " at " << printMBBReference(*MBB) << " index ");
  737                        << " at " << printMBBReference(*MBB) << " index ");
  742                          << " with allocation: " << Allocation->getName());
  744             LLVM_DEBUG(dbgs() << "\n");
  882   LLVM_DEBUG(dbgs() << "Removed " << Count << " markers.\n");
  882   LLVM_DEBUG(dbgs() << "Removed " << Count << " markers.\n");
  896       LLVM_DEBUG(dbgs() << "Remapping debug info for ["
  897                         << cast<DILocalVariable>(VI.Var)->getName() << "].\n");
 1072   LLVM_DEBUG(dbgs() << "Fixed " << FixedMemOp << " machine memory operands.\n");
 1072   LLVM_DEBUG(dbgs() << "Fixed " << FixedMemOp << " machine memory operands.\n");
 1073   LLVM_DEBUG(dbgs() << "Fixed " << FixedDbg << " debug locations.\n");
 1073   LLVM_DEBUG(dbgs() << "Fixed " << FixedDbg << " debug locations.\n");
 1074   LLVM_DEBUG(dbgs() << "Fixed " << FixedInstr << " machine instructions.\n");
 1074   LLVM_DEBUG(dbgs() << "Fixed " << FixedInstr << " machine instructions.\n");
 1112           LLVM_DEBUG(dbgs() << "Invalidating range #" << Slot << "\n");
 1112           LLVM_DEBUG(dbgs() << "Invalidating range #" << Slot << "\n");
 1136   LLVM_DEBUG(dbgs() << "********** Stack Coloring **********\n"
 1137                     << "********** Function: " << Func.getName() << '\n');
 1163   LLVM_DEBUG(dbgs() << "Found " << NumMarkers << " markers and " << NumSlots
 1163   LLVM_DEBUG(dbgs() << "Found " << NumMarkers << " markers and " << NumSlots
 1164                     << " slots\n");
 1165   LLVM_DEBUG(dbgs() << "Slot structure:\n");
 1168     LLVM_DEBUG(dbgs() << "Slot #" << i << " - " << MFI->getObjectSize(i)
 1168     LLVM_DEBUG(dbgs() << "Slot #" << i << " - " << MFI->getObjectSize(i)
 1169                       << " bytes.\n");
 1173   LLVM_DEBUG(dbgs() << "Total Stack size: " << TotalSize << " bytes\n\n");
 1173   LLVM_DEBUG(dbgs() << "Total Stack size: " << TotalSize << " bytes\n\n");
 1179     LLVM_DEBUG(dbgs() << "Will not try to merge slots.\n");
 1192   LLVM_DEBUG(dbgs() << "Dataflow iterations: " << NumIterations << "\n");
 1192   LLVM_DEBUG(dbgs() << "Dataflow iterations: " << NumIterations << "\n");
 1269           LLVM_DEBUG(dbgs() << "Merging #" << FirstSlot << " and slots #"
 1269           LLVM_DEBUG(dbgs() << "Merging #" << FirstSlot << " and slots #"
 1270                             << SecondSlot << " together.\n");
 1290   LLVM_DEBUG(dbgs() << "Merge " << RemovedSlots << " slots. Saved "
 1290   LLVM_DEBUG(dbgs() << "Merge " << RemovedSlots << " slots. Saved "
 1291                     << ReducedSize << " bytes\n");
lib/CodeGen/StackMapLivenessAnalysis.cpp
  108   LLVM_DEBUG(dbgs() << "********** COMPUTING STACKMAP LIVENESS: "
  109                     << MF.getName() << " **********\n");
  126     LLVM_DEBUG(dbgs() << "****** BB " << MBB.getName() << " ******\n");
  126     LLVM_DEBUG(dbgs() << "****** BB " << MBB.getName() << " ******\n");
  140       LLVM_DEBUG(dbgs() << "   " << LiveRegs << "   " << *I);
  140       LLVM_DEBUG(dbgs() << "   " << LiveRegs << "   " << *I);
lib/CodeGen/StackMaps.cpp
  177   OS << WSMP << "callsites:\n";
  177   OS << WSMP << "callsites:\n";
  182     OS << WSMP << "callsite " << CSI.ID << "\n";
  182     OS << WSMP << "callsite " << CSI.ID << "\n";
  182     OS << WSMP << "callsite " << CSI.ID << "\n";
  183     OS << WSMP << "  has " << CSLocs.size() << " locations\n";
  183     OS << WSMP << "  has " << CSLocs.size() << " locations\n";
  183     OS << WSMP << "  has " << CSLocs.size() << " locations\n";
  187       OS << WSMP << "\t\tLoc " << Idx << ": ";
  187       OS << WSMP << "\t\tLoc " << Idx << ": ";
  187       OS << WSMP << "\t\tLoc " << Idx << ": ";
  190         OS << "<Unprocessed operand>";
  193         OS << "Register ";
  200         OS << "Direct ";
  206           OS << " + " << Loc.Offset;
  209         OS << "Indirect ";
  214         OS << "+" << Loc.Offset;
  217         OS << "Constant " << Loc.Offset;
  220         OS << "Constant Index " << Loc.Offset;
  223       OS << "\t[encoding: .byte " << Loc.Type << ", .byte 0"
  223       OS << "\t[encoding: .byte " << Loc.Type << ", .byte 0"
  224          << ", .short " << Loc.Size << ", .short " << Loc.Reg << ", .short 0"
  224          << ", .short " << Loc.Size << ", .short " << Loc.Reg << ", .short 0"
  224          << ", .short " << Loc.Size << ", .short " << Loc.Reg << ", .short 0"
  225          << ", .int " << Loc.Offset << "]\n";
  225          << ", .int " << Loc.Offset << "]\n";
  229     OS << WSMP << "\thas " << LiveOuts.size() << " live-out registers\n";
  229     OS << WSMP << "\thas " << LiveOuts.size() << " live-out registers\n";
  229     OS << WSMP << "\thas " << LiveOuts.size() << " live-out registers\n";
  233       OS << WSMP << "\t\tLO " << Idx << ": ";
  233       OS << WSMP << "\t\tLO " << Idx << ": ";
  233       OS << WSMP << "\t\tLO " << Idx << ": ";
  238       OS << "\t[encoding: .short " << LO.DwarfRegNum << ", .byte 0, .byte "
  238       OS << "\t[encoding: .short " << LO.DwarfRegNum << ", .byte 0, .byte "
  239          << LO.Size << "]\n";
  421   LLVM_DEBUG(dbgs() << WSMP << "#functions = " << FnInfos.size() << '\n');
  421   LLVM_DEBUG(dbgs() << WSMP << "#functions = " << FnInfos.size() << '\n');
  424   LLVM_DEBUG(dbgs() << WSMP << "#constants = " << ConstPool.size() << '\n');
  424   LLVM_DEBUG(dbgs() << WSMP << "#constants = " << ConstPool.size() << '\n');
  427   LLVM_DEBUG(dbgs() << WSMP << "#callsites = " << CSInfos.size() << '\n');
  427   LLVM_DEBUG(dbgs() << WSMP << "#callsites = " << CSInfos.size() << '\n');
  440   LLVM_DEBUG(dbgs() << WSMP << "functions:\n");
  440   LLVM_DEBUG(dbgs() << WSMP << "functions:\n");
  442     LLVM_DEBUG(dbgs() << WSMP << "function addr: " << FR.first
  442     LLVM_DEBUG(dbgs() << WSMP << "function addr: " << FR.first
  443                       << " frame size: " << FR.second.StackSize
  444                       << " callsite count: " << FR.second.RecordCount << '\n');
  456   LLVM_DEBUG(dbgs() << WSMP << "constants:\n");
  456   LLVM_DEBUG(dbgs() << WSMP << "constants:\n");
  458     LLVM_DEBUG(dbgs() << WSMP << ConstEntry.second << '\n');
  570   LLVM_DEBUG(dbgs() << "********** Stack Map Output **********\n");
lib/CodeGen/StackSlotColoring.cpp
  220   LLVM_DEBUG(dbgs() << "Spill slot intervals:\n");
  289     LLVM_DEBUG(dbgs() << "cannot share FIs with different stack IDs\n");
  306   LLVM_DEBUG(dbgs() << "Assigning fi#" << FI << " to fi#" << Color << "\n");
  306   LLVM_DEBUG(dbgs() << "Assigning fi#" << FI << " to fi#" << Color << "\n");
  306   LLVM_DEBUG(dbgs() << "Assigning fi#" << FI << " to fi#" << Color << "\n");
  329   LLVM_DEBUG(dbgs() << "Color spill slot intervals:\n");
  343   LLVM_DEBUG(dbgs() << "\nSpill slots after coloring:\n");
  384       LLVM_DEBUG(dbgs() << "Removing unused stack object fi#" << NextColor << "\n");
  384       LLVM_DEBUG(dbgs() << "Removing unused stack object fi#" << NextColor << "\n");
  484     dbgs() << "********** Stack Slot Coloring **********\n"
  485            << "********** Function: " << MF.getName() << '\n';
lib/CodeGen/TailDuplicator.cpp
  114           dbgs() << "Malformed PHI in " << printMBBReference(*MBB) << ": "
  114           dbgs() << "Malformed PHI in " << printMBBReference(*MBB) << ": "
  116           dbgs() << "  missing input from predecessor "
  125           dbgs() << "Warning: malformed PHI in " << printMBBReference(*MBB)
  126                  << ": " << *MI;
  127           dbgs() << "  extra input from predecessor "
  132           dbgs() << "Malformed PHI in " << printMBBReference(*MBB) << ": "
  132           dbgs() << "Malformed PHI in " << printMBBReference(*MBB) << ": "
  134           dbgs() << "  non-existing " << printMBBReference(*PHIBB) << '\n';
  264     LLVM_DEBUG(dbgs() << "\n*** Before tail-duplicating\n");
  720     LLVM_DEBUG(dbgs() << "\nTail-duplicating into PredBB: " << *PredBB
  721                       << "From simple Succ: " << *TailBB);
  801   LLVM_DEBUG(dbgs() << "\n*** Tail-duplicating " << printMBBReference(*TailBB)
  832     LLVM_DEBUG(dbgs() << "\nTail-duplicating into PredBB: " << *PredBB
  833                       << "From Succ: " << *TailBB);
  890     LLVM_DEBUG(dbgs() << "\nMerging into block: " << *PrevBB
  891                       << "From MBB: " << *TailBB);
  996   LLVM_DEBUG(dbgs() << "\nRemoving MBB: " << *MBB);
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
 1524     OS << ".CRT$X" << (IsCtor ? "C" : "T") <<
 1524     OS << ".CRT$X" << (IsCtor ? "C" : "T") <<
lib/CodeGen/TargetRegisterInfo.cpp
   73         dbgs() << "Error: Super register " << printReg(*SR, this)
   74                << " of reserved register " << printReg(Reg, this)
   75                << " is not reserved.\n";
   93       OS << "$noreg";
   95       OS << "SS#" << Register::stackSlot2Index(Reg);
  104       OS << '$' << "physreg" << Reg;
  113         OS << ':' << TRI->getSubRegIndexName(SubIdx);
  115         OS << ":sub(" << SubIdx << ')';
  124       OS << "Unit~" << Unit;
  130       OS << "BadUnit~" << Unit;
  137     OS << TRI->getName(*Roots);
  139       OS << '~' << TRI->getName(*Roots);
  161       OS << "_";
  457     LLVM_DEBUG(dbgs() << "Can't realign function's stack: " << F.getName()
  458                       << "\n");
  521   dbgs() << printReg(Reg, TRI, SubRegIndex) << "\n";
lib/CodeGen/TargetSchedule.cpp
  244     errs() << "DefIdx " << DefIdx << " exceeds machine model writes for "
  244     errs() << "DefIdx " << DefIdx << " exceeds machine model writes for "
  245            << *DefMI << " (Try with MCSchedModel.CompleteModel set to false)";
lib/CodeGen/TwoAddressInstructionPass.cpp
  686   LLVM_DEBUG(dbgs() << "2addr: COMMUTING  : " << *MI);
  690     LLVM_DEBUG(dbgs() << "2addr: COMMUTING FAILED!\n");
  694   LLVM_DEBUG(dbgs() << "2addr: COMMUTED TO: " << *NewMI);
  741   LLVM_DEBUG(dbgs() << "2addr: CONVERTING 2-ADDR: " << *mi);
  742   LLVM_DEBUG(dbgs() << "2addr:         TO 3-ADDR: " << *NewMI);
 1018   LLVM_DEBUG(dbgs() << "\trescheduled below kill: " << *KillMI);
 1184   LLVM_DEBUG(dbgs() << "\trescheduled kill: " << *KillMI);
 1360         LLVM_DEBUG(dbgs() << "2addr:   UNFOLDING: " << MI);
 1369           LLVM_DEBUG(dbgs() << "2addr: ABANDONING UNFOLD\n");
 1382         LLVM_DEBUG(dbgs() << "2addr:    NEW LOAD: " << *NewMIs[0]
 1383                           << "2addr:    NEW INST: " << *NewMIs[1]);
 1447           LLVM_DEBUG(dbgs() << "2addr: ABANDONING UNFOLD\n");
 1491       LLVM_DEBUG(dbgs() << "\t\trewrite undef:\t" << *MI);
 1589     LLVM_DEBUG(dbgs() << "\t\tprepend:\t" << *MIB);
 1687   LLVM_DEBUG(dbgs() << "********** REWRITING TWO-ADDR INSTRS **********\n");
 1688   LLVM_DEBUG(dbgs() << "********** Function: " << MF->getName() << '\n');
 1758         LLVM_DEBUG(dbgs() << "\t\trewrite to:\t" << *mi);
 1772         LLVM_DEBUG(dbgs() << "\t\tconvert to:\t" << *mi);
 1804     LLVM_DEBUG(dbgs() << "Illegal REG_SEQUENCE instruction:" << MI);
 1855     LLVM_DEBUG(dbgs() << "Inserted: " << *CopyMI);
 1862     LLVM_DEBUG(dbgs() << "Turned: " << MI << " into an IMPLICIT_DEF");
 1862     LLVM_DEBUG(dbgs() << "Turned: " << MI << " into an IMPLICIT_DEF");
 1867     LLVM_DEBUG(dbgs() << "Eliminated: " << MI);
lib/CodeGen/VirtRegMap.cpp
  138   OS << "********** REGISTER MAP **********\n";
  142       OS << '[' << printReg(Reg, TRI) << " -> "
  143          << printReg(Virt2PhysMap[Reg], TRI) << "] "
  144          << TRI->getRegClassName(MRI->getRegClass(Reg)) << "\n";
  144          << TRI->getRegClassName(MRI->getRegClass(Reg)) << "\n";
  151       OS << '[' << printReg(Reg, TRI) << " -> fi#" << Virt2StackSlotMap[Reg]
  152          << "] " << TRI->getRegClassName(MRI->getRegClass(Reg)) << "\n";
  152          << "] " << TRI->getRegClassName(MRI->getRegClass(Reg)) << "\n";
  152          << "] " << TRI->getRegClassName(MRI->getRegClass(Reg)) << "\n";
  243   LLVM_DEBUG(dbgs() << "********** REWRITE VIRTUAL REGISTERS **********\n"
  244                     << "********** Function: " << MF->getName() << '\n');
  377   LLVM_DEBUG(dbgs() << "Identity copy: " << MI);
  388     LLVM_DEBUG(dbgs() << "  replace by: " << MI);
  395   LLVM_DEBUG(dbgs() << "  deleted.\n");
  584       LLVM_DEBUG(dbgs() << "> " << *MI);
lib/CodeGen/WinEHPrepare.cpp
  282     LLVM_DEBUG(dbgs() << "TryLow[" << BB->getName() << "]: " << TryLow << '\n');
  282     LLVM_DEBUG(dbgs() << "TryLow[" << BB->getName() << "]: " << TryLow << '\n');
  283     LLVM_DEBUG(dbgs() << "TryHigh[" << BB->getName() << "]: " << TryHigh
  283     LLVM_DEBUG(dbgs() << "TryHigh[" << BB->getName() << "]: " << TryHigh
  285     LLVM_DEBUG(dbgs() << "CatchHigh[" << BB->getName() << "]: " << CatchHigh
  285     LLVM_DEBUG(dbgs() << "CatchHigh[" << BB->getName() << "]: " << CatchHigh
  297     LLVM_DEBUG(dbgs() << "Assigning state #" << CleanupState << " to BB "
  297     LLVM_DEBUG(dbgs() << "Assigning state #" << CleanupState << " to BB "
  363     LLVM_DEBUG(dbgs() << "Assigning state #" << TryState << " to BB "
  363     LLVM_DEBUG(dbgs() << "Assigning state #" << TryState << " to BB "
  399     LLVM_DEBUG(dbgs() << "Assigning state #" << CleanupState << " to BB "
  399     LLVM_DEBUG(dbgs() << "Assigning state #" << CleanupState << " to BB "
  745                       dbgs() << "  Cloning block \'" << BB->getName()
  746                               << "\' for funclet \'" << FuncletPadBB->getName()
  747                               << "\'.\n");
  779                       dbgs() << "  Assigned color \'" << FuncletPadBB->getName()
  780                               << "\' to block \'" << NewBlock->getName()
  781                               << "\'.\n");
  792                       dbgs() << "  Removed color \'" << FuncletPadBB->getName()
  793                               << "\' from block \'" << OldBlock->getName()
  794                               << "\'.\n");
lib/DebugInfo/CodeView/Formatters.cpp
   30   Stream << "{";
   38       Stream << "-";
   40   Stream << "}";
lib/DebugInfo/CodeView/SymbolDumper.cpp
  105   W.getOStream() << " {\n";
  116   W.startLine() << "}\n";
  490       W.startLine() << "ChangeCodeOffsetAndLineOffset: {CodeOffset: "
  491                     << W.hex(Annotation.U1) << ", LineOffset: " << Annotation.S1
  492                     << "}\n";
  496       W.startLine() << "ChangeCodeLengthAndCodeOffset: {CodeOffset: "
  498                     << ", Length: " << W.hex(Annotation.U1) << "}\n";
  498                     << ", Length: " << W.hex(Annotation.U1) << "}\n";
lib/DebugInfo/CodeView/TypeDumpVisitor.cpp
  175   W->getOStream() << " (" << HexNumber(Index.getIndex()) << ")";
  175   W->getOStream() << " (" << HexNumber(Index.getIndex()) << ")";
  176   W->getOStream() << " {\n";
  188   W->startLine() << "}\n";
  194   W->getOStream() << " {\n";
  206   W->startLine() << "}\n";
lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
  129   OS << '[' << getCode() << "] ";
  131   OS << "\tDW_CHILDREN_" << (hasChildren() ? "yes" : "no") << '\n';
  131   OS << "\tDW_CHILDREN_" << (hasChildren() ? "yes" : "no") << '\n';
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
   36   return OS << "DW_ATOM_unknown_" << format("%x", A.Value);
  179   W.getOStream() << " \"" << StringSection.getCStr(&StringOffset) << "\"\n";
  179   W.getOStream() << " \"" << StringSection.getCStr(&StringOffset) << "\"\n";
  179   W.getOStream() << " \"" << StringSection.getCStr(&StringOffset) << "\"\n";
  192             W.getOStream() << " (" << Str << ")";
  192             W.getOStream() << " (" << Str << ")";
  195         W.getOStream() << "Error extracting the value";
  196       W.getOStream() << "\n";
  219       W.startLine() << "Type: " << formatAtom(Atom.first) << '\n';
  220       W.startLine() << "Form: " << formatv("{0}", Atom.second) << '\n';
  376   W.startLine() << "Augmentation: '" << AugmentationString << "'\n";
  376   W.startLine() << "Augmentation: '" << AugmentationString << "'\n";
  678   W.getOStream() << " \"" << NTE.getString() << "\"\n";
  678   W.getOStream() << " \"" << NTE.getString() << "\"\n";
  678   W.getOStream() << " \"" << NTE.getString() << "\"\n";
  754   W.startLine() << "Hash table not present\n";
lib/DebugInfo/DWARF/DWARFAddressRange.cpp
   19   OS << (DumpOpts.DisplayRawContents ? " " : "[");
   22   OS << (DumpOpts.DisplayRawContents ? "" : ")");
lib/DebugInfo/DWARF/DWARFCompileUnit.cpp
   18   OS << format("0x%08" PRIx64, getOffset()) << ": Compile Unit:"
   19      << " length = " << format("0x%08" PRIx64, getLength())
   20      << " version = " << format("0x%04x", getVersion());
   22     OS << " unit_type = " << dwarf::UnitTypeString(getUnitType());
   23   OS << " abbr_offset = "
   25      << " addr_size = " << format("0x%02x", getAddressByteSize());
   27     OS << " DWO_id = " << format("0x%016" PRIx64, *getDWOId());
   28   OS << " (next unit at " << format("0x%08" PRIx64, getNextUnitOffset())
   29      << ")\n";
   34     OS << "<compile unit can't be parsed!>\n\n";
lib/DebugInfo/DWARF/DWARFContext.cpp
   83         OS << "error: UUID load command is too short.\n";
   86       OS << "UUID: ";
   90       OS << " (" << T.getArchName() << ')';
  145       OS << "error: invalid contribution to string offsets table in section ."
  146          << SectionName << ".\n";
  163           << "overlapping contributions to string offsets table in section ."
  164           << SectionName << ".\n";
  170       OS << (ContributionHeader - Offset) << "\n";
  177     OS << "Contribution size = " << (Contribution->Size + (Version < 5 ? 0 : 4))
  178        << ", Format = " << (Format == DWARF32 ? "DWARF32" : "DWARF64")
  178        << ", Format = " << (Format == DWARF32 ? "DWARF32" : "DWARF64")
  179        << ", Version = " << Version << "\n";
  179        << ", Version = " << Version << "\n";
  191       OS << "\n";
  197     OS << (SectionSize - Offset) << "\n";
  225       OS << "error: size of ." << SectionName << " is not a multiple of "
  225       OS << "error: size of ." << SectionName << " is not a multiple of "
  226          << sizeof(uint32_t) << ".\n";
  237       OS << "\n";
  338     OS << "\n" << Name << " contents:\n";
  338     OS << "\n" << Name << " contents:\n";
  338     OS << "\n" << Name << " contents:\n";
  351     OS << '\n' << Name << " contents:\n";
  351     OS << '\n' << Name << " contents:\n";
  368     OS << '\n' << Name << " contents:\n";
  368     OS << '\n' << Name << " contents:\n";
  410       OS << "\n.debug_macinfo contents:\n";
  432       OS << "debug_line[" << format("0x%8.8" PRIx64, Parser.getOffset())
  433          << "]\n";
  501       OS << "\"\n";
lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp
  103     OS << "< EMPTY >\n";
lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
  153     OS << "Addrs: [\n";
  156     OS << "]\n";
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
  226     OS << " Unsupported " << (OperandIdx ? "second" : "first") << " operand to";
  226     OS << " Unsupported " << (OperandIdx ? "second" : "first") << " operand to";
  226     OS << " Unsupported " << (OperandIdx ? "second" : "first") << " operand to";
  229       OS << " " << OpcodeName;
  268     OS << " ";
  281     OS << CallFrameString(Opcode, Arch) << ":";
  291      << "\n";
  293   OS << "  Augmentation:          \"" << Augmentation << "\"\n";
  293   OS << "  Augmentation:          \"" << Augmentation << "\"\n";
  305     OS << "  Augmentation data:    ";
  308     OS << "\n";
  310   OS << "\n";
  312   OS << "\n";
  324   OS << "\n";
  335   errs() << "DUMP: ";
  338     errs().write_hex(c); errs() << " ";
  340   errs() << "\n";
  551   OS << "\n";
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  102   OS << "Line table prologue:\n"
  136       OS <<          "           name: ";
  141         OS <<        "   md5_checksum: " << FileEntry.Checksum.digest() << '\n';
  147         OS <<        "         source: ";
  426   OS << "Address            Line   Column File   ISA Discriminator Flags\n"
  427      << "------------------ ------ ------ ------ --- ------------- "
  434      << (IsStmt ? " is_stmt" : "") << (BasicBlock ? " basic_block" : "")
  434      << (IsStmt ? " is_stmt" : "") << (BasicBlock ? " basic_block" : "")
  435      << (PrologueEnd ? " prologue_end" : "")
  436      << (EpilogueBegin ? " epilogue_begin" : "")
  437      << (EndSequence ? " end_sequence" : "") << '\n';
  581           *OS << "Badly formed extended line op (length 0)\n";
  600           *OS << "\n";
  663             *OS << " (" << Name << ", dir=" << FileEntry.DirIdx << ", mod_time="
  663             *OS << " (" << Name << ", dir=" << FileEntry.DirIdx << ", mod_time="
  663             *OS << " (" << Name << ", dir=" << FileEntry.DirIdx << ", mod_time="
  663             *OS << " (" << Name << ", dir=" << FileEntry.DirIdx << ", mod_time="
  665                 << ", length=" << FileEntry.Length << ")";
  665                 << ", length=" << FileEntry.Length << ")";
  672           *OS << " (" << State.Row.Discriminator << ")";
  672           *OS << " (" << State.Row.Discriminator << ")";
  700           *OS << "\n";
  703           *OS << "\n";
  717             *OS << " (" << AddrOffset << ")";
  717             *OS << " (" << AddrOffset << ")";
  726           *OS << " (" << State.Row.Line << ")";
  726           *OS << " (" << State.Row.Line << ")";
  734           *OS << " (" << State.Row.File << ")";
  734           *OS << " (" << State.Row.File << ")";
  742           *OS << " (" << State.Row.Column << ")";
  742           *OS << " (" << State.Row.Column << ")";
  816           *OS << " (" << State.Row.Isa << ")";
  816           *OS << " (" << State.Row.Isa << ")";
  878         *OS << "address += " << AddrOffset << ",  line += " << LineOffset
  878         *OS << "address += " << AddrOffset << ",  line += " << LineOffset
  879             << "\n";
  887       *OS << "\n";
lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
   51     OS << ": ";
   71     OS << "\n";
  232     OS << "\n";
  258     OS << "\n";
  266     OS << "Addr idx " << Value0 << " (w/ length " << Value1 << "): ";
  266     OS << "Addr idx " << Value0 << " (w/ length " << Value1 << "): ";
  266     OS << "Addr idx " << Value0 << " (w/ length " << Value1 << "): ";
  272     OS << ": ";
  278     OS << ": ";
  325     OS << "\n";
lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
   27       OS << "  ";
   37       OS << " - lineno: " << E.Line;
   38       OS << " macro: " << E.MacroStr;
   38       OS << " macro: " << E.MacroStr;
   41       OS << " - lineno: " << E.Line;
   42       OS << " filenum: " << E.File;
   47       OS << " - constant: " << E.ExtConstant;
   48       OS << " string: " << E.ExtStr;
   48       OS << " string: " << E.ExtStr;
   51     OS << "\n";
lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
   50     OS << "length = " << format("0x%08x", S.Length);
   51     OS << " version = " << format("0x%04x", S.Version);
   52     OS << " unit_offset = " << format("0x%08" PRIx64, S.Offset);
   53     OS << " unit_size = " << format("0x%08x", S.Size) << '\n';
   54     OS << (GnuStyle ? "Offset     Linkage  Kind     Name\n"
   66       OS << '\"' << E.Name << "\"\n";
lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp
  184       OS << " => ";
  197       OS << ": ";
  202     OS << (DumpOpts.Verbose ? "" : "<End of list>");
  244   OS << "\n";
lib/DebugInfo/DWARF/DWARFDie.cpp
   41   OS << " (";
   53     OS << ", ";
   55   OS << ")";
  144   OS << TagStr.substr(7, TagStr.size() - 12) << " ";
  169         OS << "[]";
  173         OS << "[[";
  178         OS << ", ";
  183             OS << "? + " << *Count;
  188         OS << ")]";
  199     OS << Name;
  225       OS << "void";
  231           OS << ", ";
  250       OS << "::";
  258     OS << "&&";
  272   OS << BaseIndent;
  282   OS << "\t(";
  328       OS << Space << "\"" << Name << '\"';
  328       OS << Space << "\"" << Name << '\"';
  330     OS << Space << "\"";
  351       WithColor::error() << "decoding address ranges: "
  355   OS << ")\n";
  618         OS << "Abbreviation code not found in 'debug_abbrev' class for code: "
  622       OS.indent(Indent) << "NULL\n";
lib/DebugInfo/DWARF/DWARFExpression.cpp
  227         OS << ' ' << RegName;
  241     OS << "<decoding error>";
  267           OS << " \"" << Name->getAsCString() << "\"";
  267           OS << " \"" << Name->getAsCString() << "\"";
  300       OS << "(";
  308         OS << ")";
  312       OS << ", ";
lib/DebugInfo/DWARF/DWARFFormValue.cpp
  381   OS << " \"" << SecRef.Name << '\"';
  405       OS << "<invalid dwarf unit>";
  414       OS << "<no .debug_addr section>";
  418     OS << "true";
  477         OS << "NULL";
  547     OS << "DW_FORM_indirect";
  566       OS << " => {";
  571       OS << "}";
lib/DebugInfo/DWARF/DWARFGdbIndex.cpp
  100     OS << "\n<error parsing>\n";
  105     OS << "  Version = " << Version << '\n';
lib/DebugInfo/DWARF/DWARFListTable.cpp
  101     OS << "offsets: [";
  108     OS << "\n]\n";
lib/DebugInfo/DWARF/DWARFTypeUnit.cpp
   25     OS << "name = '" << Name << "'"
   25     OS << "name = '" << Name << "'"
   25     OS << "name = '" << Name << "'"
   26        << " type_signature = " << format("0x%016" PRIx64, getTypeHash())
   27        << " length = " << format("0x%08" PRIx64, getLength()) << '\n';
   31   OS << format("0x%08" PRIx64, getOffset()) << ": Type Unit:"
   32      << " length = " << format("0x%08" PRIx64, getLength())
   33      << " version = " << format("0x%04x", getVersion());
   35     OS << " unit_type = " << dwarf::UnitTypeString(getUnitType());
   36   OS << " abbr_offset = "
   38      << " addr_size = " << format("0x%02x", getAddressByteSize())
   39      << " name = '" << Name << "'"
   39      << " name = '" << Name << "'"
   39      << " name = '" << Name << "'"
   40      << " type_signature = " << format("0x%016" PRIx64, getTypeHash())
   41      << " type_offset = " << format("0x%04" PRIx64, getTypeOffset())
   42      << " (next unit at " << format("0x%08" PRIx64, getNextUnitOffset())
   43      << ")\n";
   48     OS << "<type unit can't be parsed!>\n\n";
lib/DebugInfo/DWARF/DWARFUnit.cpp
  534       WithColor::error() << "parsing a range list table: "
lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
  129   OS << "Index Signature         ";
  132   OS << "\n----- ------------------";
  134     OS << " ------------------------";
lib/DebugInfo/DWARF/DWARFVerifier.cpp
  145       note() << "The length for this unit is too "
  148       note() << "The 16 bit unit header version is not valid.\n";
  150       note() << "The unit type encoding is not valid.\n";
  152       note() << "The offset into the .debug_abbrev section is "
  155       note() << "The address size is unsupported.\n";
  180     error() << "Compilation unit without DIE.\n";
  186     error() << "Compilation unit root DIE is not a unit DIE: "
  187             << dwarf::TagString(Die.getTag()) << ".\n";
  193     error() << "Compilation unit type (" << dwarf::UnitTypeString(UnitType)
  194             << ") and root DIE (" << dwarf::TagString(Die.getTag())
  195             << ") do not match.\n";
  212       error() << "Call site entry nested within inlined subroutine:";
  219     error() << "Call site entry not nested within a valid subprogram:";
  230     error() << "Subprogram with call site entry has no DW_AT_call attribute:";
  249           error() << "Abbreviation declaration contains multiple "
  250                   << AttributeString(Attribute.Attr) << " attributes.\n";
  261   OS << "Verifying .debug_abbrev...\n";
  329     warn() << "Section is empty.\n";
  342   OS << "Verifying .debug_info Unit Header Chain...\n";
  347   OS << "Verifying .debug_types Unit Header Chain...\n";
  397         error() << "Invalid address range " << Range << "\n";
  397         error() << "Invalid address range " << Range << "\n";
  405         error() << "DIE has overlapping address ranges: " << Range << " and "
  405         error() << "DIE has overlapping address ranges: " << Range << " and "
  406                 << *IntersectingRange << "\n";
  416     error() << "DIEs have overlapping address ranges:";
  427     error() << "DIE address ranges are not contained in its parent's ranges:";
  550         error() << FormEncodingString(Form) << " CU offset "
  552                 << " is invalid (must be less than CU size of "
  553                 << format("0x%08" PRIx64, CUSize) << "):\n";
  572         error() << "DW_FORM_ref_addr offset beyond .debug_info "
  588       error() << "DW_FORM_strp offset beyond .debug_str bounds:\n";
  604               << " used without a valid string offsets table:\n";
  615       error() << FormEncodingString(Form) << " uses index "
  616               << format("%" PRIu64, Index) << ", which is too large:\n";
  624       error() << FormEncodingString(Form) << " uses index "
  626               << ", but the referenced string"
  641   OS << "Verifying .debug_info references...\n";
  648     error() << "invalid DIE reference " << format("0x%08" PRIx64, Pair.first)
  649             << ". Offset is in between DIEs:\n";
  652     OS << "\n";
  672         error() << ".debug_line[" << format("0x%08" PRIx64, LineTableOffset)
  673                 << "] was not able to be parsed for CU:\n";
  687       error() << "two compile unit DIEs, "
  688               << format("0x%08" PRIx64, Iter->second.getOffset()) << " and "
  690               << ", have the same DW_AT_stmt_list section offset:\n";
  717         error() << ".debug_line["
  720                 << "].prologue.file_names[" << FileIndex
  721                 << "].dir_idx contains an invalid index: " << FileName.DirIdx
  722                 << "\n";
  736         warn() << ".debug_line["
  739                << "].prologue.file_names[" << FileIndex
  740                << "] is a duplicate of file_names[" << It->second << "]\n";
  740                << "] is a duplicate of file_names[" << It->second << "]\n";
  753         error() << ".debug_line["
  756                 << "] row[" << RowIndex
  757                 << "] decreases in address from previous row:\n";
  770         error() << ".debug_line["
  773                 << "][" << RowIndex << "] has invalid file index " << Row.File
  773                 << "][" << RowIndex << "] has invalid file index " << Row.File
  774                 << " (valid values are [" << (isDWARF5 ? "0," : "1,")
  774                 << " (valid values are [" << (isDWARF5 ? "0," : "1,")
  776                 << (isDWARF5 ? ")" : "]") << "):\n";
  776                 << (isDWARF5 ? ")" : "]") << "):\n";
  802   OS << "Verifying .debug_line...\n";
  816   OS << "Verifying " << SectionName << "...\n";
  816   OS << "Verifying " << SectionName << "...\n";
  816   OS << "Verifying " << SectionName << "...\n";
  820     error() << "Section is too small to fit a section header.\n";
  848     error() << "No atoms: failed to read HashData.\n";
  852     error() << "Unsupported form: failed to read HashData.\n";
  900           error() << "Tag " << dwarf::TagString(Tag)
  901                   << " in accelerator table does not match Tag "
  902                   << dwarf::TagString(Die.getTag()) << " of DIE[" << HashDataIdx
  903                   << "].\n";
 1426   OS << "Verifying .debug_names...\n";
lib/DebugInfo/GSYM/FunctionInfo.cpp
   27   OS << '[' << HEX64(FI.Range.Start) << '-' << HEX64(FI.Range.End) << "): "
   28      << "Name=" << HEX32(FI.Name) << '\n' << FI.OptLineTable << FI.Inline;
lib/DebugInfo/GSYM/GsymCreator.cpp
  206             OS << "warning: duplicate function info entries, removing "
  216               OS << "warning: same address range contains different debug "
  217                  << "info. Removing:\n"
  218                  << *Prev << "\nIn favor of this one:\n"
  219                  << *Curr << "\n";
  225           OS << "warning: function ranges overlap:\n"
  226              << *Prev << "\n"
  227              << *Curr << "\n";
  231         OS << "warning: removing symbol:\n"
  232            << *Prev << "\nKeeping:\n"
  233            << *Curr << "\n";
  242   OS << "Pruned " << NumBefore - Funcs.size() << " functions, ended with "
  242   OS << "Pruned " << NumBefore - Funcs.size() << " functions, ended with "
  243      << Funcs.size() << " total\n";
lib/DebugInfo/GSYM/Header.cpp
   24   OS << "Header:\n";
   25   OS << "  Magic        = " << HEX32(H.Magic) << "\n";
   25   OS << "  Magic        = " << HEX32(H.Magic) << "\n";
   26   OS << "  Version      = " << HEX16(H.Version) << '\n';
   27   OS << "  AddrOffSize  = " << HEX8(H.AddrOffSize) << '\n';
   28   OS << "  UUIDSize     = " << HEX8(H.UUIDSize) << '\n';
   29   OS << "  BaseAddress  = " << HEX64(H.BaseAddress) << '\n';
   30   OS << "  NumAddresses = " << HEX32(H.NumAddresses) << '\n';
   31   OS << "  StrtabOffset = " << HEX32(H.StrtabOffset) << '\n';
   32   OS << "  StrtabSize   = " << HEX32(H.StrtabSize) << '\n';
   33   OS << "  UUID         = ";
lib/DebugInfo/GSYM/InlineInfo.cpp
   32   OS << " Name = " << HEX32(II.Name) << ", CallFile = " << II.CallFile
   32   OS << " Name = " << HEX32(II.Name) << ", CallFile = " << II.CallFile
   33      << ", CallLine = " << II.CallFile << '\n';
lib/DebugInfo/GSYM/Range.cpp
   57   return OS << '[' << HEX64(R.Start) << " - " << HEX64(R.End) << ")";
   57   return OS << '[' << HEX64(R.Start) << " - " << HEX64(R.End) << ")";
lib/DebugInfo/PDB/IPDBSourceFile.cpp
   25   OS << "[";
   27     OS << ChecksumType << ": ";
   32     OS << "No checksum";
   33   OS << "] " << getFileName() << "\n";
   33   OS << "] " << getFileName() << "\n";
lib/DebugInfo/PDB/PDBExtras.cpp
   27     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Bool, OS)
   28     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Single, OS)
   29     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Double, OS)
   30     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int8, OS)
   31     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int16, OS)
   32     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int32, OS)
   33     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int64, OS)
   34     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt8, OS)
   35     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt16, OS)
   36     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt32, OS)
   37     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt64, OS)
   39       OS << "Unknown";
   47     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, None, OS)
   48     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, Void, OS)
   49     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, Char, OS)
   50     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, WCharT, OS)
   51     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, Int, OS)
   52     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, UInt, OS)
   53     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, Float, OS)
   54     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, BCD, OS)
   55     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, Bool, OS)
   56     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, Long, OS)
   57     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, ULong, OS)
   58     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, Currency, OS)
   59     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, Date, OS)
   60     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, Variant, OS)
   61     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, Complex, OS)
   62     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, Bitfield, OS)
   63     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, BSTR, OS)
   64     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, HResult, OS)
   65     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, Char16, OS)
   66     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_BuiltinType, Char32, OS)
   73   OS << "__";
   75     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, NearC      , "cdecl", OS)
   76     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, FarC       , "cdecl", OS)
   77     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, NearPascal , "pascal", OS)
   78     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, FarPascal  , "pascal", OS)
   79     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, NearFast   , "fastcall", OS)
   80     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, FarFast    , "fastcall", OS)
   81     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, NearStdCall, "stdcall", OS)
   82     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, FarStdCall , "stdcall", OS)
   83     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, NearSysCall, "syscall", OS)
   84     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, FarSysCall , "syscall", OS)
   85     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, ThisCall   , "thiscall", OS)
   86     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, MipsCall   , "mipscall", OS)
   87     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, Generic    , "genericcall", OS)
   88     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, AlphaCall  , "alphacall", OS)
   89     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, PpcCall    , "ppccall", OS)
   90     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, SHCall     , "superhcall", OS)
   91     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, ArmCall    , "armcall", OS)
   92     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, AM33Call   , "am33call", OS)
   93     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, TriCall    , "tricall", OS)
   94     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, SH5Call    , "sh5call", OS)
   95     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, M32RCall   , "m32rcall", OS)
   96     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, ClrCall    , "clrcall", OS)
   97     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, Inline     , "inlinecall", OS)
   98     CASE_OUTPUT_ENUM_CLASS_STR(PDB_CallingConv, NearVector , "vectorcall", OS)
  105     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, Unknown, "unknown", OS)
  106     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, Local, "local", OS)
  107     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, StaticLocal, "static local", OS)
  108     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, Param, "param", OS)
  109     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, ObjectPtr, "this ptr", OS)
  110     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, FileStatic, "static global", OS)
  111     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, Global, "global", OS)
  112     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, Member, "member", OS)
  113     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, StaticMember, "static member", OS)
  114     CASE_OUTPUT_ENUM_CLASS_STR(PDB_DataKind, Constant, "const", OS)
  156     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, Static, "static", OS)
  157     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, TLS, "tls", OS)
  158     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, RegRel, "regrel", OS)
  159     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, ThisRel, "thisrel", OS)
  160     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, Enregistered, "register", OS)
  161     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, BitField, "bitfield", OS)
  162     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, Slot, "slot", OS)
  163     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, IlRel, "IL rel", OS)
  164     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, MetaData, "metadata", OS)
  165     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, Constant, "constant", OS)
  166     CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, RegRelAliasIndir,
  169     OS << "Unknown";
  177     CASE_OUTPUT_ENUM_CLASS_NAME(codeview::ThunkOrdinal, BranchIsland, OS)
  178     CASE_OUTPUT_ENUM_CLASS_NAME(codeview::ThunkOrdinal, Pcode, OS)
  179     CASE_OUTPUT_ENUM_CLASS_NAME(codeview::ThunkOrdinal, Standard, OS)
  180     CASE_OUTPUT_ENUM_CLASS_NAME(codeview::ThunkOrdinal, ThisAdjustor, OS)
  181     CASE_OUTPUT_ENUM_CLASS_NAME(codeview::ThunkOrdinal, TrampIncremental, OS)
  182     CASE_OUTPUT_ENUM_CLASS_NAME(codeview::ThunkOrdinal, UnknownLoad, OS)
  183     CASE_OUTPUT_ENUM_CLASS_NAME(codeview::ThunkOrdinal, Vcall, OS)
  191     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Checksum, None, OS)
  192     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Checksum, MD5, OS)
  193     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Checksum, SHA1, OS)
  194     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Checksum, SHA256, OS)
  201     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, C, OS)
  202     CASE_OUTPUT_ENUM_CLASS_STR(PDB_Lang, Cpp, "C++", OS)
  203     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Fortran, OS)
  204     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Masm, OS)
  205     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Pascal, OS)
  206     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Basic, OS)
  207     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Cobol, OS)
  208     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Link, OS)
  209     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Cvtres, OS)
  210     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Cvtpgd, OS)
  211     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, CSharp, OS)
  212     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, VB, OS)
  213     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, ILAsm, OS)
  214     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Java, OS)
  215     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, JScript, OS)
  216     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, MSIL, OS)
  217     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, HLSL, OS)
  218     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, D, OS)
  219     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, Swift, OS)
  226     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Exe, OS)
  227     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Compiland, OS)
  228     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, CompilandDetails, OS)
  229     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, CompilandEnv, OS)
  230     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Function, OS)
  231     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Block, OS)
  232     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Data, OS)
  233     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Annotation, OS)
  234     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Label, OS)
  235     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, PublicSymbol, OS)
  236     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, UDT, OS)
  237     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Enum, OS)
  238     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, FunctionSig, OS)
  239     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, PointerType, OS)
  240     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, ArrayType, OS)
  241     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, BuiltinType, OS)
  242     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Typedef, OS)
  243     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, BaseClass, OS)
  244     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Friend, OS)
  245     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, FunctionArg, OS)
  246     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, FuncDebugStart, OS)
  247     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, FuncDebugEnd, OS)
  248     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, UsingNamespace, OS)
  249     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, VTableShape, OS)
  250     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, VTable, OS)
  251     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Custom, OS)
  252     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Thunk, OS)
  253     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, CustomType, OS)
  254     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, ManagedType, OS)
  255     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Dimension, OS)
  256     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, CallSite, OS)
  257     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, InlineSite, OS)
  258     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, BaseInterface, OS)
  259     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, VectorType, OS)
  260     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, MatrixType, OS)
  261     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, HLSLType, OS)
  262     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Caller, OS)
  263     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Callee, OS)
  264     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Export, OS)
  265     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, HeapAllocationSite, OS)
  266     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, CoffGroup, OS)
  267     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SymType, Inlinee, OS)
  269     OS << "Unknown SymTag " << uint32_t(Tag);
  277     CASE_OUTPUT_ENUM_CLASS_STR(PDB_MemberAccess, Public, "public", OS)
  278     CASE_OUTPUT_ENUM_CLASS_STR(PDB_MemberAccess, Protected, "protected", OS)
  279     CASE_OUTPUT_ENUM_CLASS_STR(PDB_MemberAccess, Private, "private", OS)
  286     CASE_OUTPUT_ENUM_CLASS_STR(PDB_UdtType, Class, "class", OS)
  287     CASE_OUTPUT_ENUM_CLASS_STR(PDB_UdtType, Struct, "struct", OS)
  288     CASE_OUTPUT_ENUM_CLASS_STR(PDB_UdtType, Interface, "interface", OS)
  289     CASE_OUTPUT_ENUM_CLASS_STR(PDB_UdtType, Union, "union", OS)
  297     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, Am33, OS)
  298     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, Amd64, OS)
  299     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, Arm, OS)
  300     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, ArmNT, OS)
  301     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, Ebc, OS)
  302     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, x86, OS)
  303     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, Ia64, OS)
  304     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, M32R, OS)
  305     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, Mips16, OS)
  306     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, MipsFpu, OS)
  307     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, MipsFpu16, OS)
  308     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, PowerPC, OS)
  309     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, PowerPCFP, OS)
  310     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, R4000, OS)
  311     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, SH3, OS)
  312     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, SH3DSP, OS)
  313     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, SH4, OS)
  314     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, SH5, OS)
  315     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, Thumb, OS)
  316     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Machine, WceMipsV2, OS)
  318     OS << "Unknown";
  326     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SourceCompression, None, OS)
  327     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SourceCompression, Huffman, OS)
  328     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SourceCompression, LZ, OS)
  329     CASE_OUTPUT_ENUM_CLASS_STR(PDB_SourceCompression, RunLengthEncoded, "RLE",
  331     CASE_OUTPUT_ENUM_CLASS_NAME(PDB_SourceCompression, DotNet, OS)
  333     OS << "Unknown (" << Compression << ")";
  333     OS << "Unknown (" << Compression << ")";
  341       OS << (Value.Value.Bool ? "true" : "false");
  374       OS << Value.Value.String;
  384   OS << Version.Major << "." << Version.Minor << "." << Version.Build;
  384   OS << Version.Major << "." << Version.Minor << "." << Version.Build;
  390     OS << Tag.first << ":" << Tag.second << " ";
  390     OS << Tag.first << ":" << Tag.second << " ";
lib/DebugInfo/PDB/PDBSymbol.cpp
  124   outs() << "\n";
  132   outs() << "\n";
  134     outs() << Stat.first << ": " << Stat.second << "\n";
  134     outs() << Stat.first << ": " << Stat.second << "\n";
  194   OS << "\n";
  196   OS << Name << ": " << Value;
lib/DebugInfo/Symbolize/DIPrinter.cpp
   55         OS << " >: ";
   57         OS << "  : ";
   58       OS << *I << "\n";
   79     OS << Filename << ":" << Info.Line;
   81       OS << ":" << Info.Column;
   82     OS << "\n";
   86   OS << "  Filename: " << Filename << "\n";
   86   OS << "  Filename: " << Filename << "\n";
   88     OS << "Function start line: " << Info.StartLine << "\n";
   88     OS << "Function start line: " << Info.StartLine << "\n";
   89   OS << "  Line: " << Info.Line << "\n";
   89   OS << "  Line: " << Info.Line << "\n";
   90   OS << "  Column: " << Info.Column << "\n";
   90   OS << "  Column: " << Info.Column << "\n";
   92     OS << "  Discriminator: " << Info.Discriminator << "\n";
   92     OS << "  Discriminator: " << Info.Discriminator << "\n";
  115   OS << Name << "\n";
  116   OS << Global.Start << " " << Global.Size << "\n";
  116   OS << Global.Start << " " << Global.Size << "\n";
  124     OS << "??";
  131     OS << "?? ";
  135     OS << "?? ";
  139     OS << "??\n";
lib/ExecutionEngine/ExecutionEngine.cpp
  216   LLVM_DEBUG(dbgs() << "JIT: Map \'" << Name << "\' to [" << Addr << "]\n";);
  216   LLVM_DEBUG(dbgs() << "JIT: Map \'" << Name << "\' to [" << Addr << "]\n";);
  216   LLVM_DEBUG(dbgs() << "JIT: Map \'" << Name << "\' to [" << Addr << "]\n";);
  345   LLVM_DEBUG(dbgs() << "JIT: ARGV = " << (void *)Array.get() << "\n");
  345   LLVM_DEBUG(dbgs() << "JIT: ARGV = " << (void *)Array.get() << "\n");
  351     LLVM_DEBUG(dbgs() << "JIT: ARGV[" << i << "] = " << (void *)Dest.get()
  351     LLVM_DEBUG(dbgs() << "JIT: ARGV[" << i << "] = " << (void *)Dest.get()
  352                       << "\n");
  535       errs() << "WARNING: This target JIT is not designed for the host"
  536              << " you are running.  If bad things happen, please choose"
  537              << " a different -march switch.\n";
  883     OS << "ConstantExpr not handled: " << *CE;
 1015     OS << "ERROR: Constant unimplemented for type: " << *C->getType();
 1028     dbgs() << "Cannot store value of type " << *Ty << "!\n";
 1028     dbgs() << "Cannot store value of type " << *Ty << "!\n";
 1127     OS << "Cannot load value of type " << *Ty << "!";
 1127     OS << "Cannot load value of type " << *Ty << "!";
 1133   LLVM_DEBUG(dbgs() << "JIT: Initializing " << Addr << " ");
 1133   LLVM_DEBUG(dbgs() << "JIT: Initializing " << Addr << " ");
 1181   LLVM_DEBUG(dbgs() << "Bad Type: " << *Init->getType() << "\n");
 1181   LLVM_DEBUG(dbgs() << "Bad Type: " << *Init->getType() << "\n");
lib/ExecutionEngine/Interpreter/Execution.cpp
  114     dbgs() << "Unhandled type for FAdd instruction: " << *Ty << "\n";
  114     dbgs() << "Unhandled type for FAdd instruction: " << *Ty << "\n";
  125     dbgs() << "Unhandled type for FSub instruction: " << *Ty << "\n";
  125     dbgs() << "Unhandled type for FSub instruction: " << *Ty << "\n";
  136     dbgs() << "Unhandled type for FMul instruction: " << *Ty << "\n";
  136     dbgs() << "Unhandled type for FMul instruction: " << *Ty << "\n";
  147     dbgs() << "Unhandled type for FDiv instruction: " << *Ty << "\n";
  147     dbgs() << "Unhandled type for FDiv instruction: " << *Ty << "\n";
  162     dbgs() << "Unhandled type for Rem instruction: " << *Ty << "\n";
  162     dbgs() << "Unhandled type for Rem instruction: " << *Ty << "\n";
  199     dbgs() << "Unhandled type for ICMP_EQ predicate: " << *Ty << "\n";
  199     dbgs() << "Unhandled type for ICMP_EQ predicate: " << *Ty << "\n";
  213     dbgs() << "Unhandled type for ICMP_NE predicate: " << *Ty << "\n";
  213     dbgs() << "Unhandled type for ICMP_NE predicate: " << *Ty << "\n";
  227     dbgs() << "Unhandled type for ICMP_ULT predicate: " << *Ty << "\n";
  227     dbgs() << "Unhandled type for ICMP_ULT predicate: " << *Ty << "\n";
  241     dbgs() << "Unhandled type for ICMP_SLT predicate: " << *Ty << "\n";
  241     dbgs() << "Unhandled type for ICMP_SLT predicate: " << *Ty << "\n";
  255     dbgs() << "Unhandled type for ICMP_UGT predicate: " << *Ty << "\n";
  255     dbgs() << "Unhandled type for ICMP_UGT predicate: " << *Ty << "\n";
  269     dbgs() << "Unhandled type for ICMP_SGT predicate: " << *Ty << "\n";
  269     dbgs() << "Unhandled type for ICMP_SGT predicate: " << *Ty << "\n";
  283     dbgs() << "Unhandled type for ICMP_ULE predicate: " << *Ty << "\n";
  283     dbgs() << "Unhandled type for ICMP_ULE predicate: " << *Ty << "\n";
  297     dbgs() << "Unhandled type for ICMP_SLE predicate: " << *Ty << "\n";
  297     dbgs() << "Unhandled type for ICMP_SLE predicate: " << *Ty << "\n";
  311     dbgs() << "Unhandled type for ICMP_UGE predicate: " << *Ty << "\n";
  311     dbgs() << "Unhandled type for ICMP_UGE predicate: " << *Ty << "\n";
  325     dbgs() << "Unhandled type for ICMP_SGE predicate: " << *Ty << "\n";
  325     dbgs() << "Unhandled type for ICMP_SGE predicate: " << *Ty << "\n";
  350     dbgs() << "Don't know how to handle this ICmp predicate!\n-->" << I;
  386     dbgs() << "Unhandled type for FCmp EQ instruction: " << *Ty << "\n";
  386     dbgs() << "Unhandled type for FCmp EQ instruction: " << *Ty << "\n";
  442       dbgs() << "Unhandled type for FCmp NE instruction: " << *Ty << "\n";
  442       dbgs() << "Unhandled type for FCmp NE instruction: " << *Ty << "\n";
  462     dbgs() << "Unhandled type for FCmp LE instruction: " << *Ty << "\n";
  462     dbgs() << "Unhandled type for FCmp LE instruction: " << *Ty << "\n";
  476     dbgs() << "Unhandled type for FCmp GE instruction: " << *Ty << "\n";
  476     dbgs() << "Unhandled type for FCmp GE instruction: " << *Ty << "\n";
  490     dbgs() << "Unhandled type for FCmp LT instruction: " << *Ty << "\n";
  490     dbgs() << "Unhandled type for FCmp LT instruction: " << *Ty << "\n";
  504     dbgs() << "Unhandled type for FCmp GT instruction: " << *Ty << "\n";
  504     dbgs() << "Unhandled type for FCmp GT instruction: " << *Ty << "\n";
  672     dbgs() << "Don't know how to handle this FCmp predicate!\n-->" << I;
  729     dbgs() << "Unhandled Cmp predicate\n";
  783       dbgs() << "Don't know how to handle this binary operator!\n-->" << I;
  811           dbgs() << "Unhandled type for Rem instruction: " << *Ty << "\n";
  811           dbgs() << "Unhandled type for Rem instruction: " << *Ty << "\n";
  820       dbgs() << "Don't know how to handle this binary operator!\n-->" << I;
 1032   LLVM_DEBUG(dbgs() << "Allocated Type: " << *Ty << " (" << TypeSize
 1032   LLVM_DEBUG(dbgs() << "Allocated Type: " << *Ty << " (" << TypeSize
 1033                     << " bytes) x " << NumElements << " (Total: " << MemToAlloc
 1033                     << " bytes) x " << NumElements << " (Total: " << MemToAlloc
 1034                     << ") at " << uintptr_t(Memory) << '\n');
 1081   LLVM_DEBUG(dbgs() << "GEP Index " << Total << " bytes.\n");
 1081   LLVM_DEBUG(dbgs() << "GEP Index " << Total << " bytes.\n");
 1099     dbgs() << "Volatile load " << I;
 1109     dbgs() << "Volatile store: " << I;
 1788     dbgs() << "Unhandled dest type for vaarg instruction: " << *Ty << "\n";
 1788     dbgs() << "Unhandled dest type for vaarg instruction: " << *Ty << "\n";
 1811       dbgs() << "Unhandled destination type for extractelement instruction: "
 1812       << *Ty << "\n";
 1826     dbgs() << "Invalid index in extractelement instruction\n";
 2098     dbgs() << "Unhandled ConstantExpr: " << *CE << "\n";
 2098     dbgs() << "Unhandled ConstantExpr: " << *CE << "\n";
 2169     LLVM_DEBUG(dbgs() << "About to interpret: " << I << "\n");
 2169     LLVM_DEBUG(dbgs() << "About to interpret: " << I << "\n");
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
  294     errs() << "Tried to execute an unknown external function: "
  295       << *F->getType() << " __main\n";
  300   errs() << "Recompiling LLVM with --enable-libffi might help.\n";
  402         errs() << "<unknown printf code '" << *FmtStr << "'!>";
  402         errs() << "<unknown printf code '" << *FmtStr << "'!>";
  424   outs() << Buffer;
lib/ExecutionEngine/Interpreter/Interpreter.h
  171     errs() << I << "\n";
lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
   32       dbgs() << "Processing eh-frame record at "
   34              << " (offset " << RecordOffset << ")\n";
   34              << " (offset " << RecordOffset << ")\n";
   69     LLVM_DEBUG(dbgs() << "  length: " << RecordLength << "\n");
   69     LLVM_DEBUG(dbgs() << "  length: " << RecordLength << "\n");
  159   LLVM_DEBUG(dbgs() << "  Record is CIE\n");
  279   LLVM_DEBUG(dbgs() << "  Record is FDE\n");
  282     dbgs() << "  CIE pointer: "
  283            << format("0x%016" PRIx64, CIEPointerAddress - CIEPointer) << "\n";
  303     dbgs() << "    PC begin: " << format("0x%016" PRIx64, PCBegin) << "\n";
  303     dbgs() << "    PC begin: " << format("0x%016" PRIx64, PCBegin) << "\n";
  319   LLVM_DEBUG(dbgs() << "  FDE target: " << *TargetSymbol << "\n");
  319   LLVM_DEBUG(dbgs() << "  FDE target: " << *TargetSymbol << "\n");
  355     LLVM_DEBUG(dbgs() << "  FDE LSDA: " << *LSDASymbol << "\n");
  355     LLVM_DEBUG(dbgs() << "  FDE LSDA: " << *LSDASymbol << "\n");
lib/ExecutionEngine/JITLink/JITLink.cpp
   53 void JITLinkError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; }
   93   return OS << formatv("{0:x16}", B.getAddress()) << " -- "
   94             << formatv("{0:x16}", B.getAddress() + B.getSize()) << ": "
   95             << (B.isZeroFill() ? "zero-fill" : "content")
   96             << ", align = " << B.getAlignment()
   97             << ", align-ofs = " << B.getAlignmentOffset()
   98             << ", section = " << B.getSection().getName();
  102   OS << "<";
  104     OS << "*anon*";
  107   OS << ": flags = ";
  128      << ", size = " << formatv("{0:x8}", Sym.getSize())
  129      << ", addr = " << formatv("{0:x16}", Sym.getAddress()) << " ("
  129      << ", addr = " << formatv("{0:x16}", Sym.getAddress()) << " ("
  130      << formatv("{0:x16}", Sym.getAddressable().getAddress()) << " + "
  133     OS << " " << Sym.getBlock().getSection().getName();
  134   OS << ")>";
  140   OS << "edge@" << formatv("{0:x16}", B.getAddress() + E.getOffset()) << ": "
  140   OS << "edge@" << formatv("{0:x16}", B.getAddress() + E.getOffset()) << ": "
  141      << formatv("{0:x16}", B.getAddress()) << " + " << E.getOffset() << " -- "
  141      << formatv("{0:x16}", B.getAddress()) << " + " << E.getOffset() << " -- "
  142      << EdgeKindName << " -> " << E.getTarget() << " + " << E.getAddend();
  142      << EdgeKindName << " -> " << E.getTarget() << " + " << E.getAddend();
  161   OS << "Symbols:\n";
  163     OS << "  " << format("0x%016" PRIx64, Sym->getAddress()) << ": " << *Sym
  163     OS << "  " << format("0x%016" PRIx64, Sym->getAddress()) << ": " << *Sym
  164        << "\n";
  167         OS << "    ";
  178         OS << "\n";
  183   OS << "Absolute symbols:\n";
  185     OS << "  " << format("0x%016" PRIx64, Sym->getAddress()) << ": " << *Sym
  185     OS << "  " << format("0x%016" PRIx64, Sym->getAddress()) << ": " << *Sym
  186        << "\n";
  188   OS << "External symbols:\n";
  190     OS << "  " << format("0x%016" PRIx64, Sym->getAddress()) << ": " << *Sym
  190     OS << "  " << format("0x%016" PRIx64, Sym->getAddress()) << ": " << *Sym
  191        << "\n";
lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
   39     dbgs() << "Link graph \"" << G->getName() << "\" pre-pruning:\n";
   39     dbgs() << "Link graph \"" << G->getName() << "\" pre-pruning:\n";
   46     dbgs() << "Link graph \"" << G->getName() << "\" post-pruning:\n";
   46     dbgs() << "Link graph \"" << G->getName() << "\" post-pruning:\n";
   98     dbgs() << "Link graph \"" << G->getName() << "\" before copy-and-fixup:\n";
   98     dbgs() << "Link graph \"" << G->getName() << "\" before copy-and-fixup:\n";
  107     dbgs() << "Link graph \"" << G->getName() << "\" after copy-and-fixup:\n";
  107     dbgs() << "Link graph \"" << G->getName() << "\" after copy-and-fixup:\n";
  165     dbgs() << "Segment ordering:\n";
  167       dbgs() << "  Segment "
  168              << static_cast<sys::Memory::ProtectionFlags>(KV.first) << ":\n";
  173         dbgs() << "    " << SIEntry.second << ":\n";
  173         dbgs() << "    " << SIEntry.second << ":\n";
  173         dbgs() << "    " << SIEntry.second << ":\n";
  175           dbgs() << "      " << *B << "\n";
  175           dbgs() << "      " << *B << "\n";
  186   LLVM_DEBUG(dbgs() << "JIT linker requesting: { ");
  215       dbgs() << (&KV == &*Layout.begin() ? "" : "; ")
  217              << ": alignment = " << SegAlign
  218              << ", content size = " << SegContentSize
  219              << ", zero-fill size = " << (SegZeroFillEnd - SegZeroFillStart);
  222   LLVM_DEBUG(dbgs() << " }\n");
  230     dbgs() << "JIT linker got working memory:\n";
  233       dbgs() << "  " << Prot << ": "
  233       dbgs() << "  " << Prot << ": "
  234              << (const void *)Alloc->getWorkingMemory(Prot).data() << "\n";
  279     dbgs() << "Externals after applying lookup result:\n";
  281       dbgs() << "  " << Sym->getName() << ": "
  281       dbgs() << "  " << Sym->getName() << ": "
  282              << formatv("{0:x16}", Sym->getAddress()) << "\n";
  332     LLVM_DEBUG(dbgs() << "Dead-stripping symbols:\n");
  338       LLVM_DEBUG(dbgs() << "  " << *Sym << "...\n");
  338       LLVM_DEBUG(dbgs() << "  " << *Sym << "...\n");
  345     LLVM_DEBUG(dbgs() << "Dead-stripping blocks:\n");
  351       LLVM_DEBUG(dbgs() << "  " << *B << "...\n");
  351       LLVM_DEBUG(dbgs() << "  " << *B << "...\n");
lib/ExecutionEngine/JITLink/JITLinkGeneric.h
  150     LLVM_DEBUG(dbgs() << "Copying and fixing up blocks:\n");
  161         dbgs() << "  Processing segment "
  162                << static_cast<sys::Memory::ProtectionFlags>(Prot) << " [ "
  163                << (const void *)SegMem.data() << " .. "
  165                << " ]\n    Processing content sections:\n";
  169         LLVM_DEBUG(dbgs() << "    " << *B << ":\n");
  169         LLVM_DEBUG(dbgs() << "    " << *B << ":\n");
  175           dbgs() << "      Bumped block pointer to "
  176                  << (const void *)BlockDataPtr << " to meet block alignment "
  177                  << B->getAlignment() << " and alignment offset "
  178                  << B->getAlignmentOffset() << "\n";
  184             dbgs() << "      Zero padding from " << (const void *)LastBlockEnd
  185                    << " to " << (const void *)BlockDataPtr << "\n";
  185                    << " to " << (const void *)BlockDataPtr << "\n";
  193           dbgs() << "      Copying block " << *B << " content, "
  193           dbgs() << "      Copying block " << *B << " content, "
  194                  << B->getContent().size() << " bytes, from "
  195                  << (const void *)B->getContent().data() << " to "
  196                  << (const void *)BlockDataPtr << "\n";
  201         LLVM_DEBUG(dbgs() << "      Applying fixups.\n");
  223         dbgs() << "    Zero padding end of segment from "
  224                << (const void *)LastBlockEnd << " to "
  225                << (const void *)((char *)SegMem.data() + SegMem.size()) << "\n";
lib/ExecutionEngine/JITLink/MachO.cpp
   44     dbgs() << "jitLink_MachO: magic = " << format("0x%08" PRIx32, Magic)
   45            << ", identifier = \""
   46            << Ctx->getObjectBuffer().getBufferIdentifier() << "\"\n";
   61       dbgs() << "jitLink_MachO: cputype = "
   63              << ", cpusubtype = " << format("0x%08" PRIx32, Header.cpusubtype)
   64              << "\n";
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
  103   LLVM_DEBUG(dbgs() << "Creating normalized sections...\n");
  134       dbgs() << "  " << *Name << ": " << formatv("{0:x16}", NSec.Address)
  134       dbgs() << "  " << *Name << ": " << formatv("{0:x16}", NSec.Address)
  135              << " -- " << formatv("{0:x16}", NSec.Address + NSec.Size)
  136              << ", align: " << NSec.Alignment << ", index: " << SecIndex
  136              << ", align: " << NSec.Alignment << ", index: " << SecIndex
  137              << "\n";
  204   LLVM_DEBUG(dbgs() << "Creating normalized symbols...\n");
  247       dbgs() << "  ";
  249         dbgs() << "<anonymous symbol>";
  252       dbgs() << ": value = " << formatv("{0:x16}", Value)
  253              << ", type = " << formatv("{0:x2}", Type)
  254              << ", desc = " << formatv("{0:x4}", Desc) << ", sect = ";
  254              << ", desc = " << formatv("{0:x4}", Desc) << ", sect = ";
  258         dbgs() << "none";
  259       dbgs() << "\n";
  298   LLVM_DEBUG(dbgs() << "Creating graph symbols...\n");
  366         dbgs() << "  Skipping section " << NSec.GraphSection->getName()
  367                << " as it has a custom parser.\n";
  372         dbgs() << "  Processing section " << NSec.GraphSection->getName()
  373                << "...\n";
  386           dbgs() << "    Section non-empty, but contains no symbols. "
  388                  << formatv("{0:x16}", NSec.Address) << " -- "
  389                  << formatv("{0:x16}", NSec.Address + NSec.Size) << "\n";
  396           dbgs() << "    Section empty and contains no symbols. Skipping.\n";
  425         dbgs() << "    Section start not covered by symbol. "
  426                << "Creating anonymous block to cover [ "
  427                << formatv("{0:x16}", NSec.Address) << " -- "
  428                << formatv("{0:x16}", NSec.Address + AnonBlockSize) << " ]\n";
  458         dbgs() << "    Creating block for " << formatv("{0:x16}", BlockStart)
  459                << " -- " << formatv("{0:x16}", BlockEnd) << ": "
  459                << " -- " << formatv("{0:x16}", BlockEnd) << ": "
  460                << NSec.GraphSection->getName() << " + "
  461                << formatv("{0:x16}", BlockOffset) << " with "
  462                << BlockSyms.size() << " symbol(s)...\n";
  485           dbgs() << "      " << formatv("{0:x16}", NSym.Value) << " -- "
  485           dbgs() << "      " << formatv("{0:x16}", NSym.Value) << " -- "
  486                  << formatv("{0:x16}", SymEnd) << ": ";
  488             dbgs() << "<anonymous symbol>";
  492             dbgs() << " [no-dead-strip]";
  494             dbgs() << " [non-canonical]";
  495           dbgs() << "\n";
lib/ExecutionEngine/JITLink/MachO_arm64.cpp
  223           dbgs() << "Processing " << getMachOARM64RelocationKindName(*Kind)
  224                  << " relocation at " << format("0x%016" PRIx64, FixupAddress)
  225                  << "\n";
  272               dbgs() << "  pair is " << getMachOARM64RelocationKindName(*Kind)
  273                      << "`\n";
  383           dbgs() << "\n";
  512       ErrStream << "Relocation target out of range: ";
  514       ErrStream << "\n";
lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
  232           dbgs() << "Processing relocation at "
  233                  << format("0x%016" PRIx64, FixupAddress) << "\n";
  352           dbgs() << "\n";
  472       ErrStream << "Relocation target out of range: ";
  474       ErrStream << "\n";
lib/ExecutionEngine/Orc/Core.cpp
   89     OS << "{";
   98     OS << " }";
  155     OS << "[*ERROR*]";
  157     OS << "[Callable]";
  159     OS << "[Data]";
  161     OS << "[Weak]";
  163     OS << "[Common]";
  166     OS << "[Hidden]";
  172   return OS << format("0x%016" PRIx64, Sym.getAddress()) << " "
  177   return OS << "(\"" << KV.first << "\", " << KV.second << ")";
  177   return OS << "(\"" << KV.first << "\", " << KV.second << ")";
  177   return OS << "(\"" << KV.first << "\", " << KV.second << ")";
  181   return OS << "(\"" << KV.first << "\": " << KV.second << ")";
  181   return OS << "(\"" << KV.first << "\": " << KV.second << ")";
  181   return OS << "(\"" << KV.first << "\": " << KV.second << ")";
  194   return OS << "(" << KV.first << ", " << KV.second << ")";
  194   return OS << "(" << KV.first << ", " << KV.second << ")";
  194   return OS << "(" << KV.first << ", " << KV.second << ")";
  202   OS << "MU@" << &MU << " (\"" << MU.getName() << "\"";
  202   OS << "MU@" << &MU << " (\"" << MU.getName() << "\"";
  202   OS << "MU@" << &MU << " (\"" << MU.getName() << "\"";
  204     OS << ", " << MU.getSymbols();
  205   return OS << ")";
  209   OS << "[";
  212     OS << " (\"" << JDs.front().first->getName() << "\", "
  212     OS << " (\"" << JDs.front().first->getName() << "\", "
  213        << (JDs.front().second ? "true" : "false") << ")";
  213        << (JDs.front().second ? "true" : "false") << ")";
  216       OS << ", (\"" << KV.first->getName() << "\", "
  216       OS << ", (\"" << KV.first->getName() << "\", "
  217          << (KV.second ? "true" : "false") << ")";
  217          << (KV.second ? "true" : "false") << ")";
  220   OS << " ]";
  225   OS << "{";
  227     OS << " " << *KV.first << ": " << KV.second.Aliasee << " "
  227     OS << " " << *KV.first << ": " << KV.second.Aliasee << " "
  227     OS << " " << *KV.first << ": " << KV.second.Aliasee << " "
  229   OS << " }";
  236     return OS << "Invalid";
  238     return OS << "Never-Searched";
  240     return OS << "Materializing";
  242     return OS << "Resolved";
  244     return OS << "Emitted";
  246     return OS << "Ready";
  262   OS << "Failed to materialize symbols: " << *Symbols;
  275   OS << "Symbols not found: " << Symbols;
  288   OS << "Symbols could not be removed: " << Symbols;
  377     dbgs() << "In " << JD.getName() << " resolving " << Symbols << "\n";
  377     dbgs() << "In " << JD.getName() << " resolving " << Symbols << "\n";
  377     dbgs() << "In " << JD.getName() << " resolving " << Symbols << "\n";
  396     dbgs() << "In " << JD.getName() << " emitting " << SymbolFlags << "\n";
  396     dbgs() << "In " << JD.getName() << " emitting " << SymbolFlags << "\n";
  396     dbgs() << "In " << JD.getName() << " emitting " << SymbolFlags << "\n";
  421     dbgs() << "In " << JD.getName() << " failing materialization for "
  421     dbgs() << "In " << JD.getName() << " failing materialization for "
  422            << SymbolFlags << "\n";
  440     dbgs() << "In " << JD.getName() << " replacing symbols with " << *MU
  440     dbgs() << "In " << JD.getName() << " replacing symbols with " << *MU
  441            << "\n";
  546       dbgs() << "materializing reexports: target = " << TgtJD.getName()
  547              << ", source = " << SrcJD.getName() << " " << RequestedAliases
  547              << ", source = " << SrcJD.getName() << " " << RequestedAliases
  548              << "\n";
 1643     OS << "JITDylib \"" << JITDylibName << "\" (ES: "
 1643     OS << "JITDylib \"" << JITDylibName << "\" (ES: "
 1644        << format("0x%016" PRIx64, reinterpret_cast<uintptr_t>(&ES)) << "):\n"
 1645        << "Search order: [";
 1647       OS << " (\"" << KV.first->getName() << "\", "
 1647       OS << " (\"" << KV.first->getName() << "\", "
 1648          << (KV.second ? "all" : "exported only") << ")";
 1648          << (KV.second ? "all" : "exported only") << ")";
 1649     OS << " ]\n"
 1650        << "Symbol table:\n";
 1653       OS << "    \"" << *KV.first << "\": ";
 1653       OS << "    \"" << *KV.first << "\": ";
 1655         OS << format("0x%016" PRIx64, Addr) << ", " << KV.second.getFlags()
 1656            << " ";
 1658         OS << "<not resolved> ";
 1663         OS << " (Materializer ";
 1667         OS << I->second->MU.get() << ")\n";
 1669         OS << "\n";
 1673       OS << "  MaterializingInfos entries:\n";
 1675       OS << "    \"" << *KV.first << "\":\n"
 1675       OS << "    \"" << *KV.first << "\":\n"
 1676          << "      " << KV.second.pendingQueries().size()
 1677          << " pending queries: { ";
 1679         OS << Q.get() << " (" << Q->getRequiredState() << ") ";
 1679         OS << Q.get() << " (" << Q->getRequiredState() << ") ";
 1680       OS << "}\n      Dependants:\n";
 1682         OS << "        " << KV2.first->getName() << ": " << KV2.second << "\n";
 1682         OS << "        " << KV2.first->getName() << ": " << KV2.second << "\n";
 1682         OS << "        " << KV2.first->getName() << ": " << KV2.second << "\n";
 1683       OS << "      Unemitted Dependencies:\n";
 1685         OS << "        " << KV2.first->getName() << ": " << KV2.second << "\n";
 1685         OS << "        " << KV2.first->getName() << ": " << KV2.second << "\n";
 1685         OS << "        " << KV2.first->getName() << ": " << KV2.second << "\n";
 1941       dbgs() << "Looking up " << Symbols << " in " << SearchOrder
 1941       dbgs() << "Looking up " << Symbols << " in " << SearchOrder
 1942              << " (required state: " << RequiredState << ")\n";
 1942              << " (required state: " << RequiredState << ")\n";
lib/ExecutionEngine/Orc/ExecutionUtils.cpp
  109       dbgs() << "  Skipping because why now?\n";
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
   94         ErrMsgStream << "No compile callback for trampoline at "
  107     llvm::dbgs() << "Didn't find callback.\n";
lib/ExecutionEngine/Orc/Layer.cpp
   61     dbgs() << "In " << JD.getName() << " discarding " << *Name << " from MU@"
   61     dbgs() << "In " << JD.getName() << " discarding " << *Name << " from MU@"
   61     dbgs() << "In " << JD.getName() << " discarding " << *Name << " from MU@"
   62            << this << " (" << getName() << ")\n";
   62            << this << " (" << getName() << ")\n";
   97       [&]() { dbgs() << "Emitting, for " << N << ", " << *this << "\n"; }););
   97       [&]() { dbgs() << "Emitting, for " << N << ", " << *this << "\n"; }););
   97       [&]() { dbgs() << "Emitting, for " << N << ", " << *this << "\n"; }););
  100     dbgs() << "Finished emitting, for " << N << ", " << *this << "\n";
  100     dbgs() << "Finished 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 << "'";
   90   OS << "Duplicate definition of symbol '" << SymbolName << "'";
  107   OS << "Could not find symbol '" << SymbolName << "'";
  107   OS << "Could not find symbol '" << SymbolName << "'";
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
  282         dbgs() << "Found dtor: " << NewDtorName << "\n";
  282         dbgs() << "Found dtor: " << NewDtorName << "\n";
lib/ExecutionEngine/Orc/RPCUtils.cpp
   29   OS << "RPC connection already closed";
   37   OS << "RPC response abandoned";
   48   OS << "Could not negotiate RPC function " << Signature;
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
   61   OS << ErrMsg << "\n";
   84   dbgs() << "----- Contents of section " << S.getName() << " " << State
   84   dbgs() << "----- Contents of section " << S.getName() << " " << State
   85          << " -----";
   88     dbgs() << "\n          <section not emitted>\n";
  101     dbgs() << "\n" << format("0x%016" PRIx64,
  102                              LoadAddr & ~(uint64_t)(ColsPerRow - 1)) << ":";
  104       dbgs() << "   ";
  109       dbgs() << "\n" << format("0x%016" PRIx64, LoadAddr) << ":";
  109       dbgs() << "\n" << format("0x%016" PRIx64, LoadAddr) << ":";
  111     dbgs() << " " << format("%02x", *DataAddr);
  118   dbgs() << "\n";
  151     LLVM_DEBUG(dbgs() << "Resolving relocations Section #" << Idx << "\t"
  151     LLVM_DEBUG(dbgs() << "Resolving relocations Section #" << Idx << "\t"
  152                       << format("%p", (uintptr_t)Addr) << "\n");
  234   LLVM_DEBUG(dbgs() << "Parse symbols:\n");
  300       LLVM_DEBUG(dbgs() << "\tType: " << SymType << " (absolute) Name: " << Name
  300       LLVM_DEBUG(dbgs() << "\tType: " << SymType << " (absolute) Name: " << Name
  301                         << " SID: " << SectionID
  302                         << " Offset: " << format("%p", (uintptr_t)Addr)
  303                         << " flags: " << Flags << "\n");
  303                         << " flags: " << Flags << "\n");
  332       LLVM_DEBUG(dbgs() << "\tType: " << SymType << " Name: " << Name
  332       LLVM_DEBUG(dbgs() << "\tType: " << SymType << " Name: " << Name
  333                         << " SID: " << SectionID
  334                         << " Offset: " << format("%p", (uintptr_t)SectOffset)
  335                         << " flags: " << Flags << "\n");
  335                         << " flags: " << Flags << "\n");
  347   LLVM_DEBUG(dbgs() << "Parse relocations:\n");
  374     LLVM_DEBUG(dbgs() << "\tSectionID: " << SectionID << "\n");
  374     LLVM_DEBUG(dbgs() << "\tSectionID: " << SectionID << "\n");
  416     LLVM_DEBUG(dbgs() << "Process remaining sections:\n");
  427         LLVM_DEBUG(dbgs() << "\tSectionID: " << (*SectionIDOrErr) << "\n");
  427         LLVM_DEBUG(dbgs() << "\tSectionID: " << (*SectionIDOrErr) << "\n");
  735   LLVM_DEBUG(dbgs() << "emitCommonSection SectionID: " << SectionID
  736                     << " new addr: " << format("%p", Addr)
  737                     << " DataSize: " << CommonSize << "\n");
  737                     << " DataSize: " << CommonSize << "\n");
  760     LLVM_DEBUG(dbgs() << "Allocating common symbol " << Name << " address "
  760     LLVM_DEBUG(dbgs() << "Allocating common symbol " << Name << " address "
  761                       << format("%p", Addr) << "\n");
  861     LLVM_DEBUG(dbgs() << "emitSection SectionID: " << SectionID << " Name: "
  861     LLVM_DEBUG(dbgs() << "emitSection SectionID: " << SectionID << " Name: "
  862                       << Name << " obj addr: " << format("%p", pData)
  863                       << " new addr: " << format("%p", Addr) << " DataSize: "
  863                       << " new addr: " << format("%p", Addr) << " DataSize: "
  864                       << DataSize << " StubBufSize: " << StubBufSize
  865                       << " Allocate: " << Allocate << "\n");
  865                       << " Allocate: " << Allocate << "\n");
  873         dbgs() << "emitSection SectionID: " << SectionID << " Name: " << Name
  873         dbgs() << "emitSection SectionID: " << SectionID << " Name: " << Name
  874                << " obj addr: " << format("%p", data.data()) << " new addr: 0"
  874                << " obj addr: " << format("%p", data.data()) << " new addr: 0"
  875                << " DataSize: " << DataSize << " StubBufSize: " << StubBufSize
  875                << " DataSize: " << DataSize << " StubBufSize: " << StubBufSize
  876                << " Allocate: " << Allocate << "\n");
  876                << " Allocate: " << Allocate << "\n");
 1052       dbgs() << "Reassigning address for section " << SectionID << " ("
 1052       dbgs() << "Reassigning address for section " << SectionID << " ("
 1053              << Sections[SectionID].getName() << "): "
 1055              << " -> " << format("0x%016" PRIx64, Addr) << "\n");
 1055              << " -> " << format("0x%016" PRIx64, Addr) << "\n");
 1079       LLVM_DEBUG(dbgs() << "Resolving absolute relocations."
 1080                         << "\n");
 1122         LLVM_DEBUG(dbgs() << "Resolving relocations Name: " << Name << "\t"
 1122         LLVM_DEBUG(dbgs() << "Resolving relocations Name: " << Name << "\t"
 1123                           << format("0x%lx", Addr) << "\n");
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
   64       Checker.ErrStream << "Expression '" << Expr << "' is false: "
   64       Checker.ErrStream << "Expression '" << Expr << "' is false: "
   66                         << " != " << format("0x%" PRIx64, RHSResult.getValue())
   67                         << "\n";
  148     Checker.ErrStream << "Error evaluating expression '" << Expr
  149                       << "': " << R.getErrorMsg() << "\n";
  149                       << "': " << R.getErrorMsg() << "\n";
  260       ErrMsgStream << "Invalid operand index '" << format("%i", OpIdx)
  261                    << "' for instruction '" << Symbol
  262                    << "'. Instruction has only "
  264                    << " operands.\nInstruction is:\n  ";
  273       ErrMsgStream << "Operand '" << format("%i", OpIdx) << "' of instruction '"
  273       ErrMsgStream << "Operand '" << format("%i", OpIdx) << "' of instruction '"
  274                    << Symbol << "' is not an immediate.\nInstruction is:\n  ";
  692   LLVM_DEBUG(dbgs() << "RuntimeDyldChecker: Checking '" << CheckExpr
  693                     << "'...\n");
  697   LLVM_DEBUG(dbgs() << "RuntimeDyldChecker: '" << CheckExpr << "' "
  697   LLVM_DEBUG(dbgs() << "RuntimeDyldChecker: '" << CheckExpr << "' "
  698                     << (Result ? "passed" : "FAILED") << ".\n");
  698                     << (Result ? "passed" : "FAILED") << ".\n");
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  279     LLVM_DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at "
  279     LLVM_DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at "
  292     LLVM_DEBUG(dbgs() << "Writing " << format("%p", TruncatedAddr) << " at "
  292     LLVM_DEBUG(dbgs() << "Writing " << format("%p", TruncatedAddr) << " at "
  318     LLVM_DEBUG(dbgs() << "Writing " << format("%p", RealOffset) << " at "
  318     LLVM_DEBUG(dbgs() << "Writing " << format("%p", RealOffset) << " at "
  376   LLVM_DEBUG(dbgs() << "resolveAArch64Relocation, LocalAddress: 0x"
  378                     << " FinalAddress: 0x" << format("%llx", FinalAddress)
  379                     << " Value: 0x" << format("%llx", Value) << " Type: 0x"
  379                     << " Value: 0x" << format("%llx", Value) << " Type: 0x"
  380                     << format("%x", Type) << " Addend: 0x"
  381                     << format("%llx", Addend) << "\n");
  496   LLVM_DEBUG(dbgs() << "resolveARMRelocation, LocalAddress: "
  498                     << " FinalAddress: " << format("%p", FinalAddress)
  499                     << " Value: " << format("%x", Value)
  500                     << " Type: " << format("%x", Type)
  501                     << " Addend: " << format("%x", Addend) << "\n");
  501                     << " Addend: " << format("%x", Addend) << "\n");
  892     LLVM_DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at "
  892     LLVM_DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at "
  900     LLVM_DEBUG(dbgs() << "Writing " << format("%p", Value) << " at "
  900     LLVM_DEBUG(dbgs() << "Writing " << format("%p", Value) << " at "
 1058   LLVM_DEBUG(dbgs() << "\t\tThis is an AArch64 branch relocation.");
 1069     LLVM_DEBUG(dbgs() << " Stub function found\n");
 1072     LLVM_DEBUG(dbgs() << " Create a new stub function\n");
 1129   LLVM_DEBUG(dbgs() << "\t\tRelType: " << RelType << " Addend: " << Addend
 1129   LLVM_DEBUG(dbgs() << "\t\tRelType: " << RelType << " Addend: " << Addend
 1130                     << " TargetName: " << TargetName << "\n");
 1130                     << " TargetName: " << TargetName << "\n");
 1171       LLVM_DEBUG(dbgs() << "\t\tThis is section symbol\n");
 1203   LLVM_DEBUG(dbgs() << "\t\tSectionID: " << SectionID << " Offset: " << Offset
 1203   LLVM_DEBUG(dbgs() << "\t\tSectionID: " << SectionID << " Offset: " << Offset
 1204                     << "\n");
 1226       LLVM_DEBUG(dbgs() << "\t\tThis is an ARM branch relocation.\n");
 1236         LLVM_DEBUG(dbgs() << " Stub function found\n");
 1239         LLVM_DEBUG(dbgs() << " Create a new stub function\n");
 1274       LLVM_DEBUG(dbgs() << "\t\tThis is a Mips branch relocation.");
 1289         LLVM_DEBUG(dbgs() << " Stub function found\n");
 1292         LLVM_DEBUG(dbgs() << " Create a new stub function\n");
 1376       LLVM_DEBUG(dbgs() << "\t\tThis is a Mips branch relocation.");
 1384         LLVM_DEBUG(dbgs() << " Stub function found\n");
 1387         LLVM_DEBUG(dbgs() << " Create a new stub function\n");
 1495           LLVM_DEBUG(dbgs() << " Stub function found\n");
 1498           LLVM_DEBUG(dbgs() << " Create a new stub function\n");
 1615     LLVM_DEBUG(dbgs() << "\t\tThis is a SystemZ indirect relocation.");
 1623       LLVM_DEBUG(dbgs() << " Stub function found\n");
 1626       LLVM_DEBUG(dbgs() << " Create a new stub function\n");
 1677           LLVM_DEBUG(dbgs() << " Stub function found\n");
 1680           LLVM_DEBUG(dbgs() << " Create a new stub function\n");
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
  154   dbgs() << "resolveRelocation Section: " << RE.SectionID
  155          << " LocalAddress: " << format("%p", LocalAddress)
  156          << " FinalAddress: " << format("0x%016" PRIx64, FinalAddress)
  157          << " Value: " << format("0x%016" PRIx64, Value) << " Addend: " << RE.Addend
  157          << " Value: " << format("0x%016" PRIx64, Value) << " Addend: " << RE.Addend
  158          << " isPCRel: " << RE.IsPCRel << " MachoType: " << RE.RelType
  158          << " isPCRel: " << RE.IsPCRel << " MachoType: " << RE.RelType
  159          << " Size: " << (1 << RE.Size) << "\n";
  159          << " Size: " << (1 << RE.Size) << "\n";
  198   LLVM_DEBUG(dbgs() << "Populating pointer table section "
  199                     << Sections[PTSectionID].getName() << ", Section ID "
  200                     << PTSectionID << ", " << NumPTEntries << " entries, "
  200                     << PTSectionID << ", " << NumPTEntries << " entries, "
  201                     << PTEntrySize << " bytes each:\n");
  212     LLVM_DEBUG(dbgs() << "  " << IndirectSymbolName << ": index " << SymbolIndex
  212     LLVM_DEBUG(dbgs() << "  " << IndirectSymbolName << ": index " << SymbolIndex
  213                       << ", PT offset: " << PTEntryOffset << "\n");
  213                       << ", PT offset: " << PTEntryOffset << "\n");
  280   LLVM_DEBUG(dbgs() << "Processing FDE: Delta for text: " << DeltaForText
  281                     << ", Delta for EH: " << DeltaForEH << "\n");
  281                     << ", Delta for EH: " << DeltaForEH << "\n");
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h
   82     LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset
   82     LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset
   83                       << " RelType: " << RelTypeName << " TargetName: "
   83                       << " RelType: " << RelTypeName << " TargetName: "
   84                       << TargetName << " Addend " << Addend << "\n");
   84                       << TargetName << " Addend " << Addend << "\n");
  147       LLVM_DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
  148                         << " RelType: IMAGE_REL_I386_DIR32"
  149                         << " TargetSection: " << RE.Sections.SectionA
  150                         << " Value: " << format("0x%08" PRIx32, Result)
  162       LLVM_DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
  163                         << " RelType: IMAGE_REL_I386_DIR32NB"
  164                         << " TargetSection: " << RE.Sections.SectionA
  165                         << " Value: " << format("0x%08" PRIx32, Result)
  180       LLVM_DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
  181                         << " RelType: IMAGE_REL_I386_REL32"
  182                         << " TargetSection: " << RE.Sections.SectionA
  183                         << " Value: " << format("0x%08" PRIx32, Result)
  192       LLVM_DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
  193                         << " RelType: IMAGE_REL_I386_SECTION Value: "
  201       LLVM_DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
  202                         << " RelType: IMAGE_REL_I386_SECREL Value: "
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h
  102     LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset
  102     LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset
  103                       << " RelType: " << RelTypeName << " TargetName: "
  103                       << " RelType: " << RelTypeName << " TargetName: "
  104                       << TargetName << " Addend " << Addend << "\n");
  104                       << TargetName << " Addend " << Addend << "\n");
  192       LLVM_DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
  193                         << " RelType: IMAGE_REL_ARM_ADDR32"
  194                         << " TargetSection: " << RE.Sections.SectionA
  195                         << " Value: " << format("0x%08" PRIx32, Result)
  206       LLVM_DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
  207                         << " RelType: IMAGE_REL_ARM_ADDR32NB"
  208                         << " TargetSection: " << RE.Sections.SectionA
  209                         << " Value: " << format("0x%08" PRIx32, Result)
  219       LLVM_DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
  220                         << " RelType: IMAGE_REL_ARM_SECTION Value: "
  228       LLVM_DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
  229                         << " RelType: IMAGE_REL_ARM_SECREL Value: " << RE.Addend
  238       LLVM_DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
  239                         << " RelType: IMAGE_REL_ARM_MOV32T"
  240                         << " TargetSection: " << RE.Sections.SectionA
  241                         << " Value: " << format("0x%08" PRIx32, Result)
  270       LLVM_DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
  271                         << " RelType: IMAGE_REL_ARM_BRANCH20T"
  272                         << " Value: " << static_cast<int32_t>(Value) << '\n');
  285       LLVM_DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
  286                         << " RelType: IMAGE_REL_ARM_BRANCH24T"
  287                         << " Value: " << static_cast<int32_t>(Value) << '\n');
  300       LLVM_DEBUG(dbgs() << "\t\tOffset: " << RE.Offset
  301                         << " RelType: IMAGE_REL_ARM_BLX23T"
  302                         << " Value: " << static_cast<int32_t>(Value) << '\n');
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h
  116         llvm::errs() << "IMAGE_REL_AMD64_ADDR32NB relocation requires an"
  117                      << "ordered section layout.\n";
  158       LLVM_DEBUG(dbgs() << " Create a new stub function for "
  159                         << TargetName.data() << "\n");
  159                         << TargetName.data() << "\n");
  166       LLVM_DEBUG(dbgs() << " Stub function found for " << TargetName.data()
  166       LLVM_DEBUG(dbgs() << " Stub function found for " << TargetName.data()
  167                         << "\n");
  248     LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset
  248     LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset
  249                       << " RelType: " << RelType << " TargetName: "
  249                       << " RelType: " << RelType << " TargetName: "
  250                       << TargetName << " Addend " << Addend << "\n");
  250                       << TargetName << " Addend " << Addend << "\n");
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp
   57   LLVM_DEBUG(dbgs() << "evaluateMIPS32Relocation, LocalAddress: 0x"
   59                     << " FinalAddress: 0x"
   61                     << " Value: 0x" << format("%llx", Value) << " Type: 0x"
   61                     << " Value: 0x" << format("%llx", Value) << " Type: 0x"
   62                     << format("%x", Type) << "\n");
  112   LLVM_DEBUG(dbgs() << "evaluateMIPS64Relocation, LocalAddress: 0x"
  114                     << " FinalAddress: 0x"
  116                     << " Value: 0x" << format("%llx", Value) << " Type: 0x"
  116                     << " Value: 0x" << format("%llx", Value) << " Type: 0x"
  117                     << format("%x", Type) << " Addend: 0x"
  119                     << " Offset: " << format("%llx" PRIx64, Offset)
  120                     << " SID: " << format("%d", SectionID)
  121                     << " SymOffset: " << format("%x", SymOffset) << "\n");
  121                     << " SymOffset: " << format("%x", SymOffset) << "\n");
  310   LLVM_DEBUG(dbgs() << "resolveMIPSO32Relocation, LocalAddress: "
  311                     << Section.getAddressWithOffset(Offset) << " FinalAddress: "
  313                     << " Value: " << format("%x", Value) << " Type: "
  313                     << " Value: " << format("%x", Value) << " Type: "
  314                     << format("%x", Type) << " Addend: " << format("%x", Addend)
  315                     << " SymOffset: " << format("%x", Offset) << "\n");
  315                     << " SymOffset: " << format("%x", Offset) << "\n");
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h
   45         ErrStream << "Unsupported relocation type: "
   46                   << getRelocName(RE.RelType);
   57           ErrStream << "Invalid relocation size for relocation "
   58                     << getRelocName(RE.RelType);
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h
  413     LLVM_DEBUG(dbgs() << "Found SECTDIFF: AddrA: " << AddrA
  414                       << ", AddrB: " << AddrB << ", Addend: " << Addend
  414                       << ", AddrB: " << AddrB << ", Addend: " << Addend
  415                       << ", SectionA ID: " << SectionAID << ", SectionAOffset: "
  415                       << ", SectionA ID: " << SectionAID << ", SectionAOffset: "
  416                       << SectionAOffset << ", SectionB ID: " << SectionBID
  417                       << ", SectionBOffset: " << SectionBOffset << "\n");
  417                       << ", SectionBOffset: " << SectionBOffset << "\n");
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h
  197     LLVM_DEBUG(dbgs() << "Found SECTDIFF: AddrA: " << AddrA
  198                       << ", AddrB: " << AddrB << ", Addend: " << Addend
  198                       << ", AddrB: " << AddrB << ", Addend: " << Addend
  199                       << ", SectionA ID: " << SectionAID << ", SectionAOffset: "
  199                       << ", SectionA ID: " << SectionAID << ", SectionAOffset: "
  200                       << SectionAOffset << ", SectionB ID: " << SectionBID
  201                       << ", SectionBOffset: " << SectionBOffset << "\n");
  201                       << ", SectionBOffset: " << SectionBOffset << "\n");
lib/FuzzMutate/FuzzerCLI.cpp
   57       errs() << ExecName << ": Unknown option: " << Opt << ".\n";
   57       errs() << ExecName << ": Unknown option: " << Opt << ".\n";
   61   errs() << NameAndArgs.first << ": Injected args:";
   63     errs() << " " << Args[I];
   64   errs() << "\n";
  120       errs() << ExecName << ": Unknown option: " << Opt << ".\n";
  120       errs() << ExecName << ": Unknown option: " << Opt << ".\n";
  125   errs() << NameAndArgs.first << ": Injected args:";
  127     errs() << " " << Args[I];
  128   errs() << "\n";
  140   errs() << "*** This tool was not linked to libFuzzer.\n"
  141          << "*** No fuzzing will be performed.\n";
  143     errs() << "Initialization failed\n";
  158       errs() << "Error reading file: " << Arg << ": " << EC.message() << "\n";
  158       errs() << "Error reading file: " << Arg << ": " << EC.message() << "\n";
  158       errs() << "Error reading file: " << Arg << ": " << EC.message() << "\n";
  162     errs() << "Running: " << Arg << " (" << Buf->getBufferSize() << " bytes)\n";
  162     errs() << "Running: " << Arg << " (" << Buf->getBufferSize() << " bytes)\n";
  162     errs() << "Running: " << Arg << " (" << Buf->getBufferSize() << " bytes)\n";
  183     errs() << toString(std::move(E)) << "\n";
lib/IR/AsmWriter.cpp
  346   default:                         Out << "cc" << cc; break;
  347   case CallingConv::Fast:          Out << "fastcc"; break;
  348   case CallingConv::Cold:          Out << "coldcc"; break;
  349   case CallingConv::WebKit_JS:     Out << "webkit_jscc"; break;
  350   case CallingConv::AnyReg:        Out << "anyregcc"; break;
  351   case CallingConv::PreserveMost:  Out << "preserve_mostcc"; break;
  352   case CallingConv::PreserveAll:   Out << "preserve_allcc"; break;
  353   case CallingConv::CXX_FAST_TLS:  Out << "cxx_fast_tlscc"; break;
  354   case CallingConv::GHC:           Out << "ghccc"; break;
  355   case CallingConv::Tail:          Out << "tailcc"; break;
  356   case CallingConv::CFGuard_Check: Out << "cfguard_checkcc"; break;
  357   case CallingConv::X86_StdCall:   Out << "x86_stdcallcc"; break;
  358   case CallingConv::X86_FastCall:  Out << "x86_fastcallcc"; break;
  359   case CallingConv::X86_ThisCall:  Out << "x86_thiscallcc"; break;
  360   case CallingConv::X86_RegCall:   Out << "x86_regcallcc"; break;
  361   case CallingConv::X86_VectorCall:Out << "x86_vectorcallcc"; break;
  362   case CallingConv::Intel_OCL_BI:  Out << "intel_ocl_bicc"; break;
  363   case CallingConv::ARM_APCS:      Out << "arm_apcscc"; break;
  364   case CallingConv::ARM_AAPCS:     Out << "arm_aapcscc"; break;
  365   case CallingConv::ARM_AAPCS_VFP: Out << "arm_aapcs_vfpcc"; break;
  366   case CallingConv::AArch64_VectorCall: Out << "aarch64_vector_pcs"; break;
  367   case CallingConv::MSP430_INTR:   Out << "msp430_intrcc"; break;
  368   case CallingConv::AVR_INTR:      Out << "avr_intrcc "; break;
  369   case CallingConv::AVR_SIGNAL:    Out << "avr_signalcc "; break;
  370   case CallingConv::PTX_Kernel:    Out << "ptx_kernel"; break;
  371   case CallingConv::PTX_Device:    Out << "ptx_device"; break;
  372   case CallingConv::X86_64_SysV:   Out << "x86_64_sysvcc"; break;
  373   case CallingConv::Win64:         Out << "win64cc"; break;
  374   case CallingConv::SPIR_FUNC:     Out << "spir_func"; break;
  375   case CallingConv::SPIR_KERNEL:   Out << "spir_kernel"; break;
  376   case CallingConv::Swift:         Out << "swiftcc"; break;
  377   case CallingConv::X86_INTR:      Out << "x86_intrcc"; break;
  378   case CallingConv::HHVM:          Out << "hhvmcc"; break;
  379   case CallingConv::HHVM_C:        Out << "hhvm_ccc"; break;
  380   case CallingConv::AMDGPU_VS:     Out << "amdgpu_vs"; break;
  381   case CallingConv::AMDGPU_LS:     Out << "amdgpu_ls"; break;
  382   case CallingConv::AMDGPU_HS:     Out << "amdgpu_hs"; break;
  383   case CallingConv::AMDGPU_ES:     Out << "amdgpu_es"; break;
  384   case CallingConv::AMDGPU_GS:     Out << "amdgpu_gs"; break;
  385   case CallingConv::AMDGPU_PS:     Out << "amdgpu_ps"; break;
  386   case CallingConv::AMDGPU_CS:     Out << "amdgpu_cs"; break;
  387   case CallingConv::AMDGPU_KERNEL: Out << "amdgpu_kernel"; break;
  559   case Type::VoidTyID:      OS << "void"; return;
  560   case Type::HalfTyID:      OS << "half"; return;
  561   case Type::FloatTyID:     OS << "float"; return;
  562   case Type::DoubleTyID:    OS << "double"; return;
  563   case Type::X86_FP80TyID:  OS << "x86_fp80"; return;
  564   case Type::FP128TyID:     OS << "fp128"; return;
  565   case Type::PPC_FP128TyID: OS << "ppc_fp128"; return;
  566   case Type::LabelTyID:     OS << "label"; return;
  567   case Type::MetadataTyID:  OS << "metadata"; return;
  568   case Type::X86_MMXTyID:   OS << "x86_mmx"; return;
  569   case Type::TokenTyID:     OS << "token"; return;
  577     OS << " (";
  581         OS << ", ";
  585       if (FTy->getNumParams()) OS << ", ";
  586       OS << "...";
  605       OS << "%\"type " << STy << '\"';
  612       OS << " addrspace(" << AddressSpace << ')';
  618     OS << '[' << ATy->getNumElements() << " x ";
  625     OS << "<";
  627       OS << "vscale x ";
  628     OS << PTy->getNumElements() << " x ";
  639     OS << "opaque";
  647     OS << "{}";
  650     OS << "{ ";
  653       OS << ", ";
  657     OS << " }";
 1254       Out << " fast";
 1257         Out << " reassoc";
 1259         Out << " nnan";
 1261         Out << " ninf";
 1263         Out << " nsz";
 1265         Out << " arcp";
 1267         Out << " contract";
 1269         Out << " afn";
 1276       Out << " nuw";
 1278       Out << " nsw";
 1282       Out << " exact";
 1285       Out << " inbounds";
 1295       Out << (CI->getZExtValue() ? "true" : "false");
 1351     Out << "0x";
 1382     Out << "zeroinitializer";
 1387     Out << "blockaddress(";
 1390     Out << ", ";
 1393     Out << ")";
 1406       Out << ", ";
 1420       Out << "c\"";
 1434       Out << ", ";
 1458         Out << ", ";
 1482       Out << ", ";
 1493     Out << "null";
 1498     Out << "none";
 1503     Out << "undef";
 1508     Out << CE->getOpcodeName();
 1513     Out << " (";
 1518       Out << ", ";
 1526         Out << "inrange ";
 1531         Out << ", ";
 1537         Out << ", " << Indices[i];
 1541       Out << " to ";
 1549   Out << "<placeholder or erroneous Constant>";
 1555   Out << "!{";
 1559       Out << "null";
 1569       Out << ", ";
 1572   Out << "}";
 1589   return OS << FS.Sep;
 1628   Out << FS << "tag: ";
 1637   Out << FS << "type: ";
 1647   Out << FS << "checksumkind: " << Checksum.getKindAsString();
 1656   Out << FS << Name << ": \"";
 1658   Out << "\"";
 1666     Out << "null";
 1677   Out << FS << Name << ": ";
 1686   Out << FS << Name << ": " << Int;
 1693   Out << FS << Name << ": " << (Value ? "true" : "false");
 1693   Out << FS << Name << ": " << (Value ? "true" : "false");
 1700   Out << FS << Name << ": ";
 1719   Out << FS << Name << ": ";
 1741   Out << FS << Name << ": " << DICompileUnit::emissionKindString(EK);
 1741   Out << FS << Name << ": " << DICompileUnit::emissionKindString(EK);
 1748   Out << FS << Name << ": " << DICompileUnit::nameTableKindString(NTK);
 1748   Out << FS << Name << ": " << DICompileUnit::nameTableKindString(NTK);
 1757   Out << FS << Name << ": ";
 1768   Out << "!GenericDINode(";
 1773     Out << Printer.FS << "operands: {";
 1779     Out << "}";
 1781   Out << ")";
 1787   Out << "!DILocation(";
 1796   Out << ")";
 1802   Out << "!DISubrange(";
 1810   Out << ")";
 1815   Out << "!DIEnumerator(";
 1825   Out << ")";
 1830   Out << "!DIBasicType(";
 1840   Out << ")";
 1846   Out << "!DIDerivedType(";
 1863   Out << ")";
 1869   Out << "!DICompositeType(";
 1888   Out << ")";
 1894   Out << "!DISubroutineType(";
 1900   Out << ")";
 1905   Out << "!DIFile(";
 1916   Out << ")";
 1922   Out << "!DICompileUnit(";
 1945   Out << ")";
 1951   Out << "!DISubprogram(";
 1972   Out << ")";
 1978   Out << "!DILexicalBlock(";
 1984   Out << ")";
 1992   Out << "!DILexicalBlockFile(";
 1998   Out << ")";
 2004   Out << "!DINamespace(";
 2009   Out << ")";
 2015   Out << "!DICommonBlock(";
 2022   Out << ")";
 2028   Out << "!DIMacro(";
 2034   Out << ")";
 2040   Out << "!DIMacroFile(";
 2045   Out << ")";
 2051   Out << "!DIModule(";
 2058   Out << ")";
 2067   Out << "!DITemplateTypeParameter(";
 2071   Out << ")";
 2079   Out << "!DITemplateValueParameter(";
 2086   Out << ")";
 2092   Out << "!DIGlobalVariable(";
 2105   Out << ")";
 2111   Out << "!DILocalVariable(";
 2121   Out << ")";
 2127   Out << "!DILabel(";
 2133   Out << ")";
 2139   Out << "!DIExpression(";
 2159   Out << ")";
 2167   Out << "!DIGlobalVariableExpression(";
 2171   Out << ")";
 2177   Out << "!DIObjCProperty(";
 2186   Out << ")";
 2192   Out << "!DIImportedEntity(";
 2200   Out << ")";
 2208     Out << "distinct ";
 2210     Out << "<temporary!> "; // Handle broken code.
 2242     Out << "asm ";
 2244       Out << "sideeffect ";
 2246       Out << "alignstack ";
 2249       Out << "inteldialect ";
 2252     Out << "\", \"";
 2300     Out << "<badref>";
 2328       Out << "<" << N << ">";
 2328       Out << "<" << N << ">";
 2335     Out << "!\"";
 2471     Out << "<null operand!>";
 2491     Out << " syncscope(\"";
 2493     Out << "\")";
 2506   Out << " " << toIRString(Ordering);
 2506   Out << " " << toIRString(Ordering);
 2517   Out << " " << toIRString(SuccessOrdering);
 2517   Out << " " << toIRString(SuccessOrdering);
 2518   Out << " " << toIRString(FailureOrdering);
 2518   Out << " " << toIRString(FailureOrdering);
 2524     Out << "<null operand!>";
 2542   Out << " [ ";
 2549       Out << ", ";
 2561         Out << ", ";
 2565       Out << " ";
 2572   Out << " ]";
 2585     Out << "; ModuleID = '" << M->getModuleIdentifier() << "'\n";
 2585     Out << "; ModuleID = '" << M->getModuleIdentifier() << "'\n";
 2588     Out << "source_filename = \"";
 2590     Out << "\"\n";
 2595     Out << "target datalayout = \"" << DL << "\"\n";
 2595     Out << "target datalayout = \"" << DL << "\"\n";
 2597     Out << "target triple = \"" << M->getTargetTriple() << "\"\n";
 2597     Out << "target triple = \"" << M->getTargetTriple() << "\"\n";
 2610       Out << "module asm \"";
 2612       Out << "\"\n";
 2634   if (!M->alias_empty()) Out << "\n";
 2639   if (!M->ifunc_empty()) Out << "\n";
 2674   Out << "\n";
 2691     Out << "^" << i++ << " = module: (";
 2691     Out << "^" << i++ << " = module: (";
 2692     Out << "path: \"";
 2694     Out << "\", hash: (";
 2698     Out << "))\n";
 2719     Out << "^" << Machine.getTypeIdSlot(TidIter->second.first)
 2720         << " = typeid: (name: \"" << TidIter->second.first << "\"";
 2720         << " = typeid: (name: \"" << TidIter->second.first << "\"";
 2722     Out << ") ; guid = " << TidIter->first << "\n";
 2722     Out << ") ; guid = " << TidIter->first << "\n";
 2728     Out << "^" << Machine.getGUIDSlot(GUID)
 2729         << " = typeidCompatibleVTable: (name: \"" << TId.first << "\"";
 2729         << " = typeidCompatibleVTable: (name: \"" << TId.first << "\"";
 2731     Out << ") ; guid = " << GUID << "\n";
 2731     Out << ") ; guid = " << GUID << "\n";
 2780   Out << "typeTestRes: (kind: " << getTTResKindName(TTRes.TheKind)
 2780   Out << "typeTestRes: (kind: " << getTTResKindName(TTRes.TheKind)
 2781       << ", sizeM1BitWidth: " << TTRes.SizeM1BitWidth;
 2786     Out << ", alignLog2: " << TTRes.AlignLog2;
 2788     Out << ", sizeM1: " << TTRes.SizeM1;
 2791     Out << ", bitMask: " << (unsigned)TTRes.BitMask;
 2793     Out << ", inlineBits: " << TTRes.InlineBits;
 2795   Out << ")";
 2799   Out << ", summary: (";
 2802     Out << ", wpdResolutions: (";
 2806       Out << "(offset: " << WPDRes.first << ", ";
 2806       Out << "(offset: " << WPDRes.first << ", ";
 2808       Out << ")";
 2810     Out << ")";
 2812   Out << ")";
 2817   Out << ", summary: (";
 2821     Out << "(offset: " << P.AddressPointOffset << ", ";
 2821     Out << "(offset: " << P.AddressPointOffset << ", ";
 2822     Out << "^" << Machine.getGUIDSlot(P.VTableVI.getGUID());
 2823     Out << ")";
 2825   Out << ")";
 2829   Out << "args: (";
 2835   Out << ")";
 2839   Out << "wpdRes: (kind: ";
 2840   Out << getWholeProgDevirtResKindName(WPDRes.TheKind);
 2843     Out << ", singleImplName: \"" << WPDRes.SingleImplName << "\"";
 2843     Out << ", singleImplName: \"" << WPDRes.SingleImplName << "\"";
 2846     Out << ", resByArg: (";
 2851       Out << ", byArg: (kind: ";
 2852       Out << getWholeProgDevirtResByArgKindName(ResByArg.second.TheKind);
 2857         Out << ", info: " << ResByArg.second.Info;
 2862         Out << ", byte: " << ResByArg.second.Byte
 2863             << ", bit: " << ResByArg.second.Bit;
 2865       Out << ")";
 2867     Out << ")";
 2869   Out << ")";
 2885   Out << ", aliasee: ";
 2890     Out << "^" << Machine.getGUIDSlot(SummaryToGUIDMap[&AS->getAliasee()]);
 2892     Out << "null";
 2896   Out << ", varFlags: (readonly: " << GS->VarFlags.MaybeReadOnly << ", "
 2896   Out << ", varFlags: (readonly: " << GS->VarFlags.MaybeReadOnly << ", "
 2897       << "writeonly: " << GS->VarFlags.MaybeWriteOnly << ")";
 2897       << "writeonly: " << GS->VarFlags.MaybeWriteOnly << ")";
 2901     Out << ", vTableFuncs: (";
 2905       Out << "(virtFunc: ^" << Machine.getGUIDSlot(P.FuncVI.getGUID())
 2906           << ", offset: " << P.VTableOffset;
 2907       Out << ")";
 2909     Out << ")";
 2951   Out << ", insts: " << FS->instCount();
 2956     Out << ", funcFlags: (";
 2957     Out << "readNone: " << FFlags.ReadNone;
 2958     Out << ", readOnly: " << FFlags.ReadOnly;
 2959     Out << ", noRecurse: " << FFlags.NoRecurse;
 2960     Out << ", returnDoesNotAlias: " << FFlags.ReturnDoesNotAlias;
 2961     Out << ", noInline: " << FFlags.NoInline;
 2962     Out << ")";
 2965     Out << ", calls: (";
 2969       Out << "(callee: ^" << Machine.getGUIDSlot(Call.first.getGUID());
 2971         Out << ", hotness: " << getHotnessName(Call.second.getHotness());
 2971         Out << ", hotness: " << getHotnessName(Call.second.getHotness());
 2973         Out << ", relbf: " << Call.second.RelBlockFreq;
 2974       Out << ")";
 2976     Out << ")";
 2985   Out << ", typeIdInfo: (";
 2989     Out << "typeTests: (";
 3003         Out << "^" << Slot;
 3006     Out << ")";
 3026   Out << ")";
 3032     Out << "vFuncId: (";
 3033     Out << "guid: " << VFId.GUID;
 3034     Out << ", offset: " << VFId.Offset;
 3035     Out << ")";
 3042     Out << "vFuncId: (";
 3045     Out << "^" << Slot;
 3046     Out << ", offset: " << VFId.Offset;
 3047     Out << ")";
 3053   Out << Tag << ": (";
 3053   Out << Tag << ": (";
 3059   Out << ")";
 3064   Out << Tag << ": (";
 3064   Out << Tag << ": (";
 3068     Out << "(";
 3071       Out << ", ";
 3074     Out << ")";
 3076   Out << ")";
 3082   Out << getSummaryKindName(Summary.getSummaryKind()) << ": ";
 3082   Out << getSummaryKindName(Summary.getSummaryKind()) << ": ";
 3083   Out << "(module: ^" << Machine.getModulePathSlot(Summary.modulePath())
 3084       << ", flags: (";
 3085   Out << "linkage: " << getLinkageName(LT);
 3086   Out << ", notEligibleToImport: " << GVFlags.NotEligibleToImport;
 3087   Out << ", live: " << GVFlags.Live;
 3088   Out << ", dsoLocal: " << GVFlags.DSOLocal;
 3089   Out << ", canAutoHide: " << GVFlags.CanAutoHide;
 3090   Out << ")";
 3101     Out << ", refs: (";
 3106         Out << "readonly ";
 3108         Out << "writeonly ";
 3109       Out << "^" << Machine.getGUIDSlot(Ref.getGUID());
 3111     Out << ")";
 3114   Out << ")";
 3118   Out << "^" << Slot << " = gv: (";
 3118   Out << "^" << Slot << " = gv: (";
 3120     Out << "name: \"" << VI.name() << "\"";
 3120     Out << "name: \"" << VI.name() << "\"";
 3122     Out << "guid: " << VI.getGUID();
 3124     Out << ", summaries: (";
 3130     Out << ")";
 3132   Out << ")";
 3134     Out << " ; guid = " << VI.getGUID();
 3135   Out << "\n";
 3141     Out << "<empty name> ";
 3162   Out << " = !{";
 3165       Out << ", ";
 3177       Out << "<badref>";
 3181   Out << "}\n";
 3188   case GlobalValue::HiddenVisibility:    Out << "hidden "; break;
 3189   case GlobalValue::ProtectedVisibility: Out << "protected "; break;
 3200     Out << "dso_local ";
 3207   case GlobalValue::DLLImportStorageClass: Out << "dllimport "; break;
 3208   case GlobalValue::DLLExportStorageClass: Out << "dllexport "; break;
 3218       Out << "thread_local ";
 3221       Out << "thread_local(localdynamic) ";
 3224       Out << "thread_local(initialexec) ";
 3227       Out << "thread_local(localexec) ";
 3252   Out << " comdat";
 3264     Out << "; Materializable\n";
 3267   Out << " = ";
 3270     Out << "external ";
 3282     Out << "addrspace(" << AddressSpace << ") ";
 3282     Out << "addrspace(" << AddressSpace << ") ";
 3283   if (GV->isExternallyInitialized()) Out << "externally_initialized ";
 3284   Out << (GV->isConstant() ? "constant " : "global ");
 3293     Out << ", section \"";
 3298     Out << ", partition \"";
 3305     Out << ", align " << GV->getAlignment();
 3313     Out << " #" << Machine.getAttributeGroupSlot(Attrs);
 3320     Out << "; Materializable\n";
 3323   Out << " = ";
 3335     Out << "alias ";
 3337     Out << "ifunc ";
 3343   Out << ", ";
 3349     Out << " <<NULL ALIASEE>>";
 3355     Out << ", partition \"";
 3377     Out << '%' << I << " = type ";
 3388     Out << " = type ";
 3405     Out << "; Materializable\n";
 3420       Out << "; Function Attrs: " << AttrStr << '\n';
 3426     Out << "declare";
 3432     Out << "define ";
 3442     Out << " ";
 3459         Out << ", ";
 3472         Out << ", ";
 3479     if (FT->getNumParams()) Out << ", ";
 3480     Out << "...";  // Output varargs portion of signature!
 3492     Out << " addrspace(" << F->getAddressSpace() << ")";
 3492     Out << " addrspace(" << F->getAddressSpace() << ")";
 3494     Out << " #" << Machine.getAttributeGroupSlot(Attrs.getFnAttributes());
 3496     Out << " section \"";
 3501     Out << " partition \"";
 3507     Out << " align " << F->getAlignment();
 3509     Out << " gc \"" << F->getGC() << '"';
 3511     Out << " prefix ";
 3515     Out << " prologue ";
 3519     Out << " personality ";
 3530     Out << " {";
 3538     Out << "}\n";
 3561     Out << " %" << Slot;
 3569     Out << "\n";
 3573     Out << "\n";
 3576       Out << Slot << ":";
 3578       Out << "<badref>:";
 3583     Out << "; Error: Block without parent!";
 3587     Out << ";";
 3591       Out << " No predecessors!";
 3593       Out << " preds = ";
 3596         Out << ", ";
 3602   Out << "\n";
 3623   Out << " ; (";
 3625   Out << ", ";
 3627   Out << ")";
 3654     Out << " addrspace(" << CallAddrSpace << ")";
 3654     Out << " addrspace(" << CallAddrSpace << ")";
 3662   Out << "  ";
 3667     Out << " = ";
 3672       Out << "<badref> = ";
 3674       Out << '%' << SlotNum << " = ";
 3679       Out << "musttail ";
 3681       Out << "tail ";
 3683       Out << "notail ";
 3687   Out << I.getOpcodeName();
 3692     Out << " atomic";
 3695     Out << " weak";
 3702     Out << " volatile";
 3723     Out << ", ";
 3725     Out << ", ";
 3733     Out << ", ";
 3735     Out << " [";
 3737       Out << "\n    ";
 3739       Out << ", ";
 3742     Out << "\n  ]";
 3747     Out << ", [";
 3751         Out << ", ";
 3761       if (op) Out << ", ";
 3762       Out << "[ ";
 3763       writeOperand(PN->getIncomingValue(op), false); Out << ", ";
 3764       writeOperand(PN->getIncomingBlock(op), false); Out << " ]";
 3770       Out << ", " << *i;
 3773     writeOperand(I.getOperand(0), true); Out << ", ";
 3776       Out << ", " << *i;
 3784       Out << "          cleanup";
 3787       if (i != 0 || LPI->isCleanup()) Out << "\n";
 3789         Out << "          catch ";
 3791         Out << "          filter ";
 3796     Out << " within ";
 3798     Out << " [";
 3802         Out << ", ";
 3806     Out << "] unwind ";
 3810       Out << "to caller";
 3812     Out << " within ";
 3814     Out << " [";
 3818         Out << ", ";
 3823     Out << " void";
 3825     Out << " from ";
 3828     Out << " to ";
 3831     Out << " from ";
 3834     Out << " unwind ";
 3838       Out << "to caller";
 3842       Out << " ";
 3868         Out << ", ";
 3877       Out << ", ...";
 3881       Out << " #" << Machine.getAttributeGroupSlot(PAL.getFnAttributes());
 3892       Out << " ";
 3913         Out << ", ";
 3919       Out << " #" << Machine.getAttributeGroupSlot(PAL.getFnAttributes());
 3923     Out << "\n          to ";
 3925     Out << " unwind ";
 3935       Out << " ";
 3953         Out << ", ";
 3959       Out << " #" << Machine.getAttributeGroupSlot(PAL.getFnAttributes());
 3963     Out << "\n          to ";
 3965     Out << " [";
 3968         Out << ", ";
 3975       Out << "inalloca ";
 3977       Out << "swifterror ";
 3986       Out << ", ";
 3990       Out << ", align " << AI->getAlignment();
 3995       Out << ", addrspace(" << AddrSpace << ')';
 4002     Out << " to ";
 4009     Out << ", ";
 4051       if (i) Out << ", ";
 4061       Out << ", align " << LI->getAlignment();
 4066       Out << ", align " << SI->getAlignment();
 4099       Out << "!";
 4102       Out << "!<unknown kind #" << Kind << ">";
 4102       Out << "!<unknown kind #" << Kind << ">";
 4109   Out << '!' << Slot << " = ";
 4111   Out << "\n";
 4139     Out << "attributes #" << I.second << " = { "
 4139     Out << "attributes #" << I.second << " = { "
 4140         << I.first.getAsString(true) << " }\n";
 4146     Out << "  ";
 4148   Out << "uselistorder";
 4151     Out << "_bb ";
 4153     Out << ", ";
 4156     Out << " ";
 4159   Out << ", { ";
 4164     Out << ", " << Order.Shuffle[I];
 4165   Out << " }\n";
 4175   Out << "\n; uselistorder directives\n";
 4231   ROS << " = comdat ";
 4235     ROS << "any";
 4238     ROS << "exactmatch";
 4241     ROS << "largest";
 4244     ROS << "noduplicates";
 4247     ROS << "samesize";
 4264       OS << " = type ";
 4395   OS << " = ";
lib/IR/Attributes.cpp
  477       OS << "=\"";
  479       OS << "\"";
  709   dbgs() << "AS =\n";
  710     dbgs() << "  { ";
  711     dbgs() << getAsString(true) << " }\n";
 1409   dbgs() << "PAL[\n";
 1413       dbgs() << "  { " << i << " => " << getAsString(i) << " }\n";
 1413       dbgs() << "  { " << i << " => " << getAsString(i) << " }\n";
 1413       dbgs() << "  { " << i << " => " << getAsString(i) << " }\n";
 1416   dbgs() << "]\n";
lib/IR/ConstantRange.cpp
 1481     OS << "full-set";
 1483     OS << "empty-set";
 1485     OS << "[" << Lower << "," << Upper << ")";
 1485     OS << "[" << Lower << "," << Upper << ")";
 1485     OS << "[" << Lower << "," << Upper << ")";
lib/IR/Constants.cpp
  410       dbgs() << "While deleting: " << *this
  411              << "\n\nUse still stuck around after Def is destroyed: " << *V
  412              << "\n\n";
lib/IR/ConstantsContext.h
  702     LLVM_DEBUG(dbgs() << "Constant.cpp: ConstantUniqueMap\n");
lib/IR/Core.cpp
  537     os << "Printing <null> Type";
  848     os << "Printing <null> Value";
 1875         errs() << "LLVMSetLinkage(): LLVMLinkOnceODRAutoHideLinkage is no "
 1902         << "LLVMSetLinkage(): LLVMDLLImportLinkage is no longer supported.");
 1907         << "LLVMSetLinkage(): LLVMDLLExportLinkage is no longer supported.");
 1914         errs() << "LLVMSetLinkage(): LLVMGhostLinkage is no longer supported.");
lib/IR/DebugLoc.cpp
  130     OS << " @[ ";
  132     OS << " ]";
lib/IR/DiagnosticInfo.cpp
  336   OS << getLocationStr() << ": in function " << getFunction().getName() << ' '
  337      << *getFunction().getFunctionType() << ": " << Msg << '\n';
lib/IR/DiagnosticPrinter.cpp
   43   Stream << Str;
lib/IR/Dominators.cpp
  336   OS << "DominatorTree for function: " << F.getName() << "\n";
  336   OS << "DominatorTree for function: " << F.getName() << "\n";
lib/IR/IRPrintingPasses.cpp
   31       OS << Banner << "\n";
   39           OS << Banner << "\n";
   57       OS << Banner << " (function: " << F.getName() << ")\n" << *F.getParent();
   57       OS << Banner << " (function: " << F.getName() << ")\n" << *F.getParent();
lib/IR/Instructions.cpp
  477     LLVM_DEBUG(dbgs() << "Attempting to update profile weights will result in "
  480                       << " has 0 entry count, and contains call instructions "
lib/IR/LLVMContext.cpp
  231   errs() << getDiagnosticMessagePrefix(DI.getSeverity()) << ": ";
  231   errs() << getDiagnosticMessagePrefix(DI.getSeverity()) << ": ";
  233   errs() << "\n";
lib/IR/LegacyPassManager.cpp
  289     OS << "Releasing pass '";
  291     OS << "Running pass '";
  293   OS << P->getPassName() << "'";
  296     OS << " on module '" << M->getModuleIdentifier() << "'.\n";
  296     OS << " on module '" << M->getModuleIdentifier() << "'.\n";
  304   OS << " on ";
  306     OS << "function";
  308     OS << "basic block";
  310     OS << "value";
  312   OS << " '";
  314   OS << "'\n";
  353     dbgs().indent(Offset*2) << "BasicBlockPass Manager\n";
  501     dbgs().indent(Offset*2) << "ModulePass Manager\n";
  736           dbgs() << "Pass '"  << P->getPassName() << "' is not initialized." << "\n";
  736           dbgs() << "Pass '"  << P->getPassName() << "' is not initialized." << "\n";
  736           dbgs() << "Pass '"  << P->getPassName() << "' is not initialized." << "\n";
  737           dbgs() << "Verify if there is a pass dependency cycle." << "\n";
  737           dbgs() << "Verify if there is a pass dependency cycle." << "\n";
  738           dbgs() << "Required Passes:" << "\n";
  738           dbgs() << "Required Passes:" << "\n";
  744               dbgs() << "\t" << AnalysisPass2->getPassName() << "\n";
  744               dbgs() << "\t" << AnalysisPass2->getPassName() << "\n";
  746               dbgs() << "\t"   << "Error: Required pass not found! Possible causes:"  << "\n";
  746               dbgs() << "\t"   << "Error: Required pass not found! Possible causes:"  << "\n";
  746               dbgs() << "\t"   << "Error: Required pass not found! Possible causes:"  << "\n";
  747               dbgs() << "\t\t" << "- Pass misconfiguration (e.g.: missing macros)"    << "\n";
  747               dbgs() << "\t\t" << "- Pass misconfiguration (e.g.: missing macros)"    << "\n";
  747               dbgs() << "\t\t" << "- Pass misconfiguration (e.g.: missing macros)"    << "\n";
  748               dbgs() << "\t\t" << "- Corruption of the global PassRegistry"           << "\n";
  748               dbgs() << "\t\t" << "- Corruption of the global PassRegistry"           << "\n";
  748               dbgs() << "\t\t" << "- Corruption of the global PassRegistry"           << "\n";
  878   dbgs() << "Pass Arguments: ";
  883         dbgs() << " -" << PI->getPassArgument();
  887   dbgs() << "\n";
  983         dbgs() << " -- '" <<  P->getPassName() << "' is not preserving '";
  983         dbgs() << " -- '" <<  P->getPassName() << "' is not preserving '";
  984         dbgs() << S->getPassName() << "'\n";
 1006           dbgs() << " -- '" <<  P->getPassName() << "' is not preserving '";
 1006           dbgs() << " -- '" <<  P->getPassName() << "' is not preserving '";
 1007           dbgs() << S->getPassName() << "'\n";
 1028     dbgs() << " -*- '" <<  P->getPassName();
 1029     dbgs() << "' is the last user of following pass instances.";
 1030     dbgs() << " Free these instances\n";
 1214     dbgs() << "--" << std::string(Offset*2, ' ');
 1227           dbgs() << " -" << PI->getPassArgument();
 1236   dbgs() << "[" << std::chrono::system_clock::now() << "] " << (void *)this
 1236   dbgs() << "[" << std::chrono::system_clock::now() << "] " << (void *)this
 1240     dbgs() << "Executing Pass '" << P->getPassName();
 1243     dbgs() << "Made Modification '" << P->getPassName();
 1246     dbgs() << " Freeing Pass '" << P->getPassName();
 1253     dbgs() << "' on BasicBlock '" << Msg << "'...\n";
 1253     dbgs() << "' on BasicBlock '" << Msg << "'...\n";
 1256     dbgs() << "' on Function '" << Msg << "'...\n";
 1256     dbgs() << "' on Function '" << Msg << "'...\n";
 1259     dbgs() << "' on Module '"  << Msg << "'...\n";
 1259     dbgs() << "' on Module '"  << Msg << "'...\n";
 1262     dbgs() << "' on Region '"  << Msg << "'...\n";
 1262     dbgs() << "' on Region '"  << Msg << "'...\n";
 1265     dbgs() << "' on Loop '" << Msg << "'...\n";
 1265     dbgs() << "' on Loop '" << Msg << "'...\n";
 1268     dbgs() << "' on Call Graph Nodes '" << Msg << "'...\n";
 1268     dbgs() << "' on Call Graph Nodes '" << Msg << "'...\n";
 1307   dbgs() << (const void*)P << std::string(getDepth()*2+3, ' ') << Msg << " Analyses:";
 1314       dbgs() << " Uninitialized Pass";
 1342   dbgs() << "Unable to schedule '" << RequiredPass->getPassName();
 1343   dbgs() << "' required by '" << P->getPassName() << "'\n";
 1343   dbgs() << "' required by '" << P->getPassName() << "'\n";
 1602   dbgs().indent(Offset*2) << "FunctionPass Manager\n";
lib/IR/Mangler.cpp
  190     OS << " /EXPORT:";
  192     OS << " -export:";
  209       OS << ",DATA";
  211       OS << ",data";
  220   OS << " /INCLUDE:";
lib/IR/ModuleSummaryIndex.cpp
  203     O << "SCC (" << utostr(I->size()) << " node" << (I->size() == 1 ? "" : "s")
  203     O << "SCC (" << utostr(I->size()) << " node" << (I->size() == 1 ? "" : "s")
  203     O << "SCC (" << utostr(I->size()) << " node" << (I->size() == 1 ? "" : "s")
  204       << ") {\n";
  209       O << " " << (F == nullptr ? "External" : "") << " " << utostr(V.getGUID())
  209       O << " " << (F == nullptr ? "External" : "") << " " << utostr(V.getGUID())
  209       O << " " << (F == nullptr ? "External" : "") << " " << utostr(V.getGUID())
  210         << (I.hasLoop() ? " (has loop)" : "") << "\n";
  210         << (I.hasLoop() ? " (has loop)" : "") << "\n";
  212     O << "}\n";
  344   OS << "  " << StrId << " [label=\"";
  344   OS << "  " << StrId << " [label=\"";
  351   OS << "\"]; // defined externally\n";
  403     OS << Pfx << NodeId(SrcMod, SrcId) << " -> " << NodeId(DstMod, DstId)
  403     OS << Pfx << NodeId(SrcMod, SrcId) << " -> " << NodeId(DstMod, DstId)
  404        << EdgeAttrs[TypeOrHotness] << "\n";
  404        << EdgeAttrs[TypeOrHotness] << "\n";
  407   OS << "digraph Summary {\n";
  410     OS << "  // Module: " << ModIt.first << "\n";
  410     OS << "  // Module: " << ModIt.first << "\n";
  411     OS << "  subgraph cluster_" << std::to_string(ModId) << " {\n";
  411     OS << "  subgraph cluster_" << std::to_string(ModId) << " {\n";
  412     OS << "    style = filled;\n";
  413     OS << "    color = lightgrey;\n";
  414     OS << "    label = \"" << sys::path::filename(ModIt.first) << "\";\n";
  414     OS << "    label = \"" << sys::path::filename(ModIt.first) << "\";\n";
  415     OS << "    node [style=filled,fillcolor=lightblue];\n";
  454       OS << "    " << NodeId(ModId, SummaryIt.first) << " " << A.getAsString()
  454       OS << "    " << NodeId(ModId, SummaryIt.first) << " " << A.getAsString()
  455          << "\n";
  457     OS << "    // Edges:\n";
  475     OS << "  }\n";
  478   OS << "  // Cross-module edges:\n";
  497   OS << "}";
lib/IR/OptBisect.cpp
   38   errs() << "BISECT: " << Status << "running pass "
   38   errs() << "BISECT: " << Status << "running pass "
   39          << "(" << PassNum << ") " << Name << " on " << TargetDesc << "\n";
   39          << "(" << PassNum << ") " << Name << " on " << TargetDesc << "\n";
   39          << "(" << PassNum << ") " << Name << " on " << TargetDesc << "\n";
   39          << "(" << PassNum << ") " << Name << " on " << TargetDesc << "\n";
lib/IR/Pass.cpp
   73   dbgs().indent(Offset*2) << getPassName() << "\n";
  129   OS << "Pass::print not implemented for pass: '" << getPassName() << "'!\n";
  129   OS << "Pass::print not implemented for pass: '" << getPassName() << "'!\n";
  172     LLVM_DEBUG(dbgs() << "Skipping pass '" << getPassName() << "' on function "
  172     LLVM_DEBUG(dbgs() << "Skipping pass '" << getPassName() << "' on function "
  173                       << F.getName() << "\n");
  213       LLVM_DEBUG(dbgs() << "Skipping pass '" << getPassName()
  214                         << "' on function " << F->getName() << "\n");
  214                         << "' on function " << F->getName() << "\n");
lib/IR/PassTimingInfo.cpp
  198   dbgs() << "Dumping timers for " << getTypeName<TimePassesHandler>()
  199          << ":\n\tRunning:\n";
  203       dbgs() << "\tTimer " << MyTimer << " for pass " << I.first.first << "("
  203       dbgs() << "\tTimer " << MyTimer << " for pass " << I.first.first << "("
  203       dbgs() << "\tTimer " << MyTimer << " for pass " << I.first.first << "("
  204              << I.first.second << ")\n";
  206   dbgs() << "\tTriggered:\n";
  210       dbgs() << "\tTimer " << MyTimer << " for pass " << I.first.first << "("
  210       dbgs() << "\tTimer " << MyTimer << " for pass " << I.first.first << "("
  210       dbgs() << "\tTimer " << MyTimer << " for pass " << I.first.first << "("
  211              << I.first.second << ")\n";
  245   LLVM_DEBUG(dbgs() << "after runBeforePass(" << PassID << ")\n");
  245   LLVM_DEBUG(dbgs() << "after runBeforePass(" << PassID << ")\n");
  258   LLVM_DEBUG(dbgs() << "after runAfterPass(" << PassID << ")\n");
  258   LLVM_DEBUG(dbgs() << "after runAfterPass(" << PassID << ")\n");
lib/IR/SafepointIRVerifier.cpp
  277   OS << "[ ";
  279     OS << **Begin << " ";
  282   OS << "]";
  713       LLVM_DEBUG(dbgs() << "Removing urelocated " << I
  714                         << " from Contribution of " << BB->getName() << "\n");
  714                         << " from Contribution of " << BB->getName() << "\n");
  721       LLVM_DEBUG(dbgs() << "Removing poisoned " << I << " from Contribution of "
  721       LLVM_DEBUG(dbgs() << "Removing poisoned " << I << " from Contribution of "
  722                         << BB->getName() << "\n");
  775   LLVM_DEBUG(dbgs() << "Transfered block " << BB->getName() << " from ";
  775   LLVM_DEBUG(dbgs() << "Transfered block " << BB->getName() << " from ";
  777              dbgs() << " to ";
  779              dbgs() << "\n";);
  875   errs() << "Illegal use of unrelocated value found!\n";
  876   errs() << "Def: " << V << "\n";
  876   errs() << "Def: " << V << "\n";
  877   errs() << "Use: " << I << "\n";
  877   errs() << "Use: " << I << "\n";
  885   LLVM_DEBUG(dbgs() << "Verifying gc pointers in function: " << F.getName()
  886                     << "\n");
  888     dbgs() << "Verifying gc pointers in function: " << F.getName() << "\n";
  888     dbgs() << "Verifying gc pointers in function: " << F.getName() << "\n";
  899     dbgs() << "No illegal uses found by SafepointIRVerifier in: " << F.getName()
  900            << "\n";
lib/IR/Value.cpp
   86     dbgs() << "While deleting: " << *VTy << " %" << getName() << "\n";
   86     dbgs() << "While deleting: " << *VTy << " %" << getName() << "\n";
   86     dbgs() << "While deleting: " << *VTy << " %" << getName() << "\n";
   88       dbgs() << "Use still stuck around after Def is destroyed:" << *U << "\n";
   88       dbgs() << "Use still stuck around after Def is destroyed:" << *U << "\n";
  912     dbgs() << "While deleting: " << *V->getType() << " %" << V->getName()
  912     dbgs() << "While deleting: " << *V->getType() << " %" << V->getName()
  913            << "\n";
  968         dbgs() << "After RAUW from " << *Old->getType() << " %"
  968         dbgs() << "After RAUW from " << *Old->getType() << " %"
  969                << Old->getName() << " to " << *New->getType() << " %"
  969                << Old->getName() << " to " << *New->getType() << " %"
  970                << New->getName() << "\n";
lib/IR/ValueSymbolTable.cpp
   36     dbgs() << "Value still in symbol table! Type = '"
   37            << *VI.getValue()->getType() << "' Name = '" << VI.getKeyData()
   37            << *VI.getValue()->getType() << "' Name = '" << VI.getKeyData()
   38            << "'\n";
   59         S << ".";
lib/IR/Verifier.cpp
  139     *OS << "; ModuleID = '" << M->getModuleIdentifier() << "'\n";
  139     *OS << "; ModuleID = '" << M->getModuleIdentifier() << "'\n";
  341         *OS << "Basic Block in function '" << F.getName()
  342             << "' does not have terminator!\n";
  344         *OS << "\n";
 5162       errs() << "in function " << F.getName() << '\n'; 
lib/LTO/Caching.cpp
  140         errs() << "Error: " << toString(Temp.takeError()) << "\n";
  140         errs() << "Error: " << toString(Temp.takeError()) << "\n";
lib/LTO/LTO.cpp
  553     OS << "-r=" << Path << ',' << Sym.getName() << ',';
 1184       llvm::errs() << "warning: could not create directory '" << ParentPath
 1185                    << "': " << EC.message() << '\n';
lib/LTO/LTOBackend.cpp
   51   errs() << "failed to open " << Path << ": " << Msg << '\n';
   51   errs() << "failed to open " << Path << ": " << Msg << '\n';
lib/LTO/LTOCodeGenerator.cpp
  532     errs() << "Error: " << toString(DiagFileOrErr.takeError()) << "\n";
  532     errs() << "Error: " << toString(DiagFileOrErr.takeError()) << "\n";
  540     errs() << "Error: " << toString(StatsFileOrErr.takeError()) << "\n";
  540     errs() << "Error: " << toString(StatsFileOrErr.takeError()) << "\n";
lib/LTO/LTOModule.cpp
  635         OS << " " << MDOption->getString();
lib/LTO/ThinLTOCodeGenerator.cpp
  388                 errs() << "Error: " << ErrorMsgBuffer << "\n";
  388                 errs() << "Error: " << ErrorMsgBuffer << "\n";
  882     errs() << "error: can't link or copy from cached entry '" << CacheEntryPath
  883            << "' to '" << OutputPath << "'\n";
  883            << "' to '" << OutputPath << "'\n";
 1059           LLVM_DEBUG(dbgs() << "Cache " << (ErrOrBuffer ? "hit" : "miss")
 1059           LLVM_DEBUG(dbgs() << "Cache " << (ErrOrBuffer ? "hit" : "miss")
 1060                             << " '" << CacheEntryPath << "' for buffer "
 1060                             << " '" << CacheEntryPath << "' for buffer "
 1061                             << count << " " << ModuleIdentifier << "\n");
 1061                             << count << " " << ModuleIdentifier << "\n");
 1081           errs() << "Error: " << toString(DiagFileOrErr.takeError()) << "\n";
 1081           errs() << "Error: " << toString(DiagFileOrErr.takeError()) << "\n";
 1116               errs() << "error: can't reload cached file '" << CacheEntryPath
 1117                      << "': " << EC.message() << "\n";
 1117                      << "': " << EC.message() << "\n";
lib/LineEditor/LineEditor.cpp
  170         OS << "\n";
  176           OS << *I << "\n";
lib/Linker/IRMover.cpp
 1311             << "linking module flags '" << ID->getString()
 1312             << "': IDs have conflicting values ('" << *SrcOp->getOperand(2)
 1313             << "' from " << SrcM->getModuleIdentifier() << " with '"
 1313             << "' from " << SrcM->getModuleIdentifier() << " with '"
 1314             << *DstOp->getOperand(2) << "' from " << DstM.getModuleIdentifier()
lib/MC/ELFObjectWriter.cpp
  418   W.OS << ELF::ElfMagic; // e_ident[EI_MAG0] to e_ident[EI_MAG3]
lib/MC/MCAsmMacro.cpp
   16   OS << "\"" << Name << "\"";
   16   OS << "\"" << Name << "\"";
   18     OS << ":req";
   20     OS << ":vararg";
   22     OS << " = ";
   26         OS << ", ";
   31   OS << "\n";
   35   OS << "Macro " << Name << ":\n";
   35   OS << "Macro " << Name << ":\n";
   36   OS << "  Parameters:\n";
   38     OS << "    ";
   41   OS << "  (BEGIN BODY)" << Body << "(END BODY)\n";
   41   OS << "  (BEGIN BODY)" << Body << "(END BODY)\n";
lib/MC/MCAsmStreamer.cpp
  457   OS << ".symver ";
  459   OS << ", " << AliasName;
  467   OS << MAI->getLabelSuffix();
  481   OS << "\t" << MCLOHDirectiveName() << " " << str << "\t";
  481   OS << "\t" << MCLOHDirectiveName() << " " << str << "\t";
  481   OS << "\t" << MCLOHDirectiveName() << " " << str << "\t";
  485       OS << ", ";
  494   case MCAF_SyntaxUnified:         OS << "\t.syntax unified"; break;
  495   case MCAF_SubsectionsViaSymbols: OS << ".subsections_via_symbols"; break;
  496   case MCAF_Code16:                OS << '\t'<< MAI->getCode16Directive();break;
  497   case MCAF_Code32:                OS << '\t'<< MAI->getCode32Directive();break;
  498   case MCAF_Code64:                OS << '\t'<< MAI->getCode64Directive();break;
  505   OS << "\t.linker_option \"" << Options[0] << '"';
  508     OS << ", " << '"' << *it << '"';
  517   case MCDR_DataRegion:            OS << "\t.data_region"; break;
  518   case MCDR_DataRegionJT8:         OS << "\t.data_region jt8"; break;
  519   case MCDR_DataRegionJT16:        OS << "\t.data_region jt16"; break;
  520   case MCDR_DataRegionJT32:        OS << "\t.data_region jt32"; break;
  521   case MCDR_DataRegionEnd:         OS << "\t.end_data_region"; break;
  540   OS << '\t' << "sdk_version " << SDKVersion.getMajor();
  542     OS << ", " << *Minor;
  544       OS << ", " << *Subminor;
  552   OS << '\t' << getVersionMinDirective(Type) << ' ' << Major << ", " << Minor;
  552   OS << '\t' << getVersionMinDirective(Type) << ' ' << Major << ", " << Minor;
  554     OS << ", " << Update;
  578   OS << "\t.build_version " << PlatformName << ", " << Major << ", " << Minor;
  578   OS << "\t.build_version " << PlatformName << ", " << Major << ", " << Minor;
  578   OS << "\t.build_version " << PlatformName << ", " << Major << ", " << Minor;
  578   OS << "\t.build_version " << PlatformName << ", " << Major << ", " << Minor;
  580     OS << ", " << Update;
  588   OS << "\t.thumb_func";
  604     OS << ".set ";
  606     OS << ", ";
  616   OS << ".weakref ";
  618   OS << ", ";
  636     OS << "\t.type\t";
  641     case MCSA_ELF_TypeFunction:    OS << "function"; break;
  642     case MCSA_ELF_TypeIndFunction: OS << "gnu_indirect_function"; break;
  643     case MCSA_ELF_TypeObject:      OS << "object"; break;
  644     case MCSA_ELF_TypeTLS:         OS << "tls_object"; break;
  645     case MCSA_ELF_TypeCommon:      OS << "common"; break;
  646     case MCSA_ELF_TypeNoType:      OS << "notype"; break;
  647     case MCSA_ELF_TypeGnuUniqueObject: OS << "gnu_unique_object"; break;
  652     OS << MAI->getGlobalDirective();
  654   case MCSA_LGlobal:        OS << "\t.lglobl\t";          break;
  655   case MCSA_Hidden:         OS << "\t.hidden\t";          break;
  656   case MCSA_IndirectSymbol: OS << "\t.indirect_symbol\t"; break;
  657   case MCSA_Internal:       OS << "\t.internal\t";        break;
  658   case MCSA_LazyReference:  OS << "\t.lazy_reference\t";  break;
  659   case MCSA_Local:          OS << "\t.local\t";           break;
  663     OS << "\t.no_dead_strip\t";
  665   case MCSA_SymbolResolver: OS << "\t.symbol_resolver\t"; break;
  666   case MCSA_AltEntry:       OS << "\t.alt_entry\t";       break;
  668     OS << "\t.private_extern\t";
  670   case MCSA_Protected:      OS << "\t.protected\t";       break;
  671   case MCSA_Reference:      OS << "\t.reference\t";       break;
  672   case MCSA_Weak:           OS << MAI->getWeakDirective(); break;
  674     OS << "\t.weak_definition\t";
  677   case MCSA_WeakReference:  OS << MAI->getWeakRefDirective(); break;
  678   case MCSA_WeakDefAutoPrivate: OS << "\t.weak_def_can_be_hidden\t"; break;
  691   OS << ".desc" << ' ';
  699     OS << "\t.intel_syntax noprefix";
  708   OS << "\t.def\t ";
  715   OS << "\t.scl\t" << StorageClass << ';';
  720   OS << "\t.type\t" << Type << ';';
  725   OS << "\t.endef";
  730   OS << "\t.safeseh\t";
  736   OS << "\t.symidx\t";
  742   OS << "\t.secidx\t";
  748   OS << "\t.secrel32\t";
  756   OS << "\t.rva\t";
  774   OS << "\t.lcomm\t";
  785   OS << "\t.size\t";
  787   OS << ", ";
  794   OS << "\t.comm\t";
  809   OS << "\t.lcomm\t";
  836   OS << ".zerofill ";
  843   OS << MOSection->getSegmentName() << "," << MOSection->getSectionName();
  869   OS << ".tbss ";
  871   OS << ", " << Size;
  875   if (ByteAlignment > 1) OS << ", " << Log2_32(ByteAlignment);
  898       case '\b': OS << "\\b"; break;
  899       case '\f': OS << "\\f"; break;
  900       case '\n': OS << "\\n"; break;
  901       case '\r': OS << "\\r"; break;
  902       case '\t': OS << "\\t"; break;
  929         OS << Directive << (unsigned)C;
  939     OS << MAI->getAscizDirective();
  942     OS << MAI->getAsciiDirective();
  955     OS << MAI->getData8bitsDirective();
  957       OS << format("0x%02x", uint8_t(Data[J])) << ", ";
 1020   OS << Directive;
 1035   OS << "\t.uleb128 ";
 1046   OS << "\t.sleb128 ";
 1053   OS << MAI->getDTPRel64Directive();
 1060   OS << MAI->getDTPRel32Directive();
 1067   OS << MAI->getTPRel64Directive();
 1074   OS << MAI->getTPRel32Directive();
 1081   OS << MAI->getGPRel64Directive();
 1088   OS << MAI->getGPRel32Directive();
 1101     OS << ZeroDirective;
 1115   OS << "\t.fill\t";
 1117   OS << ", " << Size << ", 0x";
 1117   OS << ", " << Size << ", 0x";
 1129     OS << "\t.align\t";
 1142       OS << "\t.p2align\t";
 1145       OS << ".p2alignw ";
 1148       OS << ".p2alignl ";
 1157       OS << ", 0x";
 1161         OS << ", " << MaxBytesToEmit;
 1171   case 1: OS << ".balign";  break;
 1172   case 2: OS << ".balignw"; break;
 1173   case 4: OS << ".balignl"; break;
 1178   OS << ", " << truncateToSize(Value, ValueSize);
 1180     OS << ", " << MaxBytesToEmit;
 1195   OS << ".org ";
 1197   OS << ", " << (unsigned)Value;
 1203   OS << "\t.file\t";
 1227   OS << "\t.file\t" << FileNo << ' ';
 1234     OS << " md5 0x" << Checksum->digest();
 1236     OS << " source ";
 1299   OS << "\t.loc\t" << FileNo << " " << Line << " " << Column;
 1299   OS << "\t.loc\t" << FileNo << " " << Line << " " << Column;
 1299   OS << "\t.loc\t" << FileNo << " " << Line << " " << Column;
 1302       OS << " basic_block";
 1304       OS << " prologue_end";
 1306       OS << " epilogue_begin";
 1310       OS << " is_stmt ";
 1313         OS << "1";
 1315         OS << "0";
 1319       OS << " isa " << Isa;
 1321       OS << " discriminator " << Discriminator;
 1347   OS << "\t.cv_file\t" << FileNo << ' ';
 1364   OS << "\t.cv_func_id " << FuncId << '\n';
 1373   OS << "\t.cv_inline_site_id " << FunctionId << " within " << IAFunc
 1373   OS << "\t.cv_inline_site_id " << FunctionId << " within " << IAFunc
 1374      << " inlined_at " << IAFile << ' ' << IALine << ' ' << IACol << '\n';
 1387   OS << "\t.cv_loc\t" << FunctionId << " " << FileNo << " " << Line << " "
 1387   OS << "\t.cv_loc\t" << FunctionId << " " << FileNo << " " << Line << " "
 1387   OS << "\t.cv_loc\t" << FunctionId << " " << FileNo << " " << Line << " "
 1387   OS << "\t.cv_loc\t" << FunctionId << " " << FileNo << " " << Line << " "
 1390     OS << " prologue_end";
 1393     OS << " is_stmt 1";
 1406   OS << "\t.cv_linetable\t" << FunctionId << ", ";
 1406   OS << "\t.cv_linetable\t" << FunctionId << ", ";
 1408   OS << ", ";
 1419   OS << "\t.cv_inline_linetable\t" << PrimaryFunctionId << ' ' << SourceFileId
 1431   OS << "\t.cv_def_range\t";
 1444   OS << ", reg_rel, ";
 1445   OS << DRHdr.Register << ", " << DRHdr.Flags << ", "
 1445   OS << DRHdr.Register << ", " << DRHdr.Flags << ", "
 1454   OS << ", subfield_reg, ";
 1455   OS << DRHdr.Register << ", " << DRHdr.OffsetInParent;
 1463   OS << ", reg, ";
 1472   OS << ", frame_ptr_rel, ";
 1478   OS << "\t.cv_stringtable";
 1483   OS << "\t.cv_filechecksums";
 1488   OS << "\t.cv_filechecksumoffset\t" << FileNo;
 1493   OS << "\t.cv_fpo_data\t";
 1500   OS << "\t.ident\t";
 1507   OS << "\t.cfi_sections ";
 1509     OS << ".eh_frame";
 1511       OS << ", .debug_frame";
 1513     OS << ".debug_frame";
 1520   OS << "\t.cfi_startproc";
 1522     OS << " simple";
 1528   OS << "\t.cfi_endproc";
 1548   OS << "\t.cfi_def_cfa ";
 1550   OS << ", " << Offset;
 1556   OS << "\t.cfi_def_cfa_offset " << Offset;
 1561   OS << "\t.cfi_escape ";
 1565       OS << format("0x%02x", uint8_t(Values[i])) << ", ";
 1588   OS << "\t.cfi_def_cfa_register ";
 1595   OS << "\t.cfi_offset ";
 1597   OS << ", " << Offset;
 1604   OS << "\t.cfi_personality " << Encoding << ", ";
 1604   OS << "\t.cfi_personality " << Encoding << ", ";
 1611   OS << "\t.cfi_lsda " << Encoding << ", ";
 1611   OS << "\t.cfi_lsda " << Encoding << ", ";
 1618   OS << "\t.cfi_remember_state";
 1624   OS << "\t.cfi_restore_state";
 1630   OS << "\t.cfi_restore ";
 1637   OS << "\t.cfi_same_value ";
 1644   OS << "\t.cfi_rel_offset ";
 1646   OS << ", " << Offset;
 1652   OS << "\t.cfi_adjust_cfa_offset " << Adjustment;
 1658   OS << "\t.cfi_signal_frame";
 1664   OS << "\t.cfi_undefined " << Register;
 1670   OS << "\t.cfi_register " << Register1 << ", " << Register2;
 1670   OS << "\t.cfi_register " << Register1 << ", " << Register2;
 1676   OS << "\t.cfi_window_save";
 1682   OS << "\t.cfi_negate_ra_state";
 1688   OS << "\t.cfi_return_column " << Register;
 1694   OS << "\t.cfi_b_key_frame";
 1701   OS << ".seh_proc ";
 1709   OS << "\t.seh_endproc";
 1720   OS << "\t.seh_startchained";
 1727   OS << "\t.seh_endchained";
 1735   OS << "\t.seh_handler ";
 1738     OS << ", @unwind";
 1740     OS << ", @except";
 1762   OS << "\t.seh_handlerdata";
 1769   OS << "\t.seh_pushreg ";
 1778   OS << "\t.seh_setframe ";
 1780   OS << ", " << Offset;
 1787   OS << "\t.seh_stackalloc " << Size;
 1795   OS << "\t.seh_savereg ";
 1797   OS << ", " << Offset;
 1805   OS << "\t.seh_savexmm ";
 1807   OS << ", " << Offset;
 1814   OS << "\t.seh_pushframe";
 1816     OS << " @code";
 1823   OS << "\t.seh_endprologue";
 1830   OS << "\t.cg_profile ";
 1832   OS << ", ";
 1834   OS << ", " << Count;
 1872   OS << "encoding: [";
 1900       OS << "0b";
 1918   OS << "]\n";
 1924     OS << "  fixup " << char('A' + i) << " - " << "offset: " << F.getOffset()
 1924     OS << "  fixup " << char('A' + i) << " - " << "offset: " << F.getOffset()
 1924     OS << "  fixup " << char('A' + i) << " - " << "offset: " << F.getOffset()
 1925        << ", value: " << *F.getValue() << ", kind: " << Info.Name << "\n";
 1925        << ", value: " << *F.getValue() << ", kind: " << Info.Name << "\n";
 1925        << ", value: " << *F.getValue() << ", kind: " << Info.Name << "\n";
 1925        << ", value: " << *F.getValue() << ", kind: " << Info.Name << "\n";
 1940     GetCommentOS() << "\n";
 1950     GetCommentOS() << "\n";
 1956   OS << "\t.bundle_align_mode " << AlignPow2;
 1961   OS << "\t.bundle_lock";
 1963     OS << " align_to_end";
 1968   OS << "\t.bundle_unlock";
 1975   OS << "\t.reloc ";
 1977   OS << ", " << Name;
 1979     OS << ", ";
 1987   OS << "\t.addrsig";
 1992   OS << "\t.addrsig_sym ";
lib/MC/MCAssembler.cpp
  761       errs() << "assembler backend - pre-layout\n--\n";
  791       errs() << "assembler backend - post-relaxation\n--\n";
  798       errs() << "assembler backend - final-layout\n--\n";
 1137   OS << "<MCAssembler\n";
 1138   OS << "  Sections:[\n    ";
 1140     if (it != begin()) OS << ",\n    ";
 1143   OS << "],\n";
 1144   OS << "  Symbols:[";
 1147     if (it != symbol_begin()) OS << ",\n           ";
 1148     OS << "(";
 1150     OS << ", Index:" << it->getIndex() << ", ";
 1150     OS << ", Index:" << it->getIndex() << ", ";
 1151     OS << ")";
 1153   OS << "]>\n";
lib/MC/MCCodeView.cpp
  487       errs() << ".cv_loc " << Loc.getFunctionId() << ' ' << Loc.getFileNum()
  489              << " is in the wrong section\n";
lib/MC/MCContext.cpp
  221   raw_svector_ostream(NameSV) << MAI->getLinkerPrivateGlobalPrefix() << "tmp";
lib/MC/MCDisassembler/Disassembler.cpp
  237   DC->CommentStream << "Latency: " << Latency << '\n';
lib/MC/MCDisassembler/MCExternalSymbolizer.cpp
   75         cStream << ReferenceName;
   82       cStream << "symbol stub for: " << ReferenceName;
   82       cStream << "symbol stub for: " << ReferenceName;
   84       cStream << "Objc message: " << ReferenceName;
   84       cStream << "Objc message: " << ReferenceName;
  164       cStream << "literal pool symbol address: " << ReferenceName;
  164       cStream << "literal pool symbol address: " << ReferenceName;
  167       cStream << "literal pool for: \"";
  169       cStream << "\"";
  173       cStream << "Objc cfstring ref: @\"" << ReferenceName << "\"";
  173       cStream << "Objc cfstring ref: @\"" << ReferenceName << "\"";
  173       cStream << "Objc cfstring ref: @\"" << ReferenceName << "\"";
  176       cStream << "Objc message: " << ReferenceName;
  176       cStream << "Objc message: " << ReferenceName;
  179       cStream << "Objc message ref: " << ReferenceName;
  179       cStream << "Objc message ref: " << ReferenceName;
  182       cStream << "Objc selector ref: " << ReferenceName;
  182       cStream << "Objc selector ref: " << ReferenceName;
  185       cStream << "Objc class ref: " << ReferenceName;
  185       cStream << "Objc class ref: " << ReferenceName;
lib/MC/MCExpr.cpp
   50       OS << "0x" << Twine::utohexstr(Value);
   84     if (Binary) OS << "(";
   86     if (Binary) OS << ")";
  114     case MCBinaryExpr::AShr: OS << ">>"; break;
  117     case MCBinaryExpr::EQ:   OS << "=="; break;
  119     case MCBinaryExpr::GTE:  OS << ">="; break;
  120     case MCBinaryExpr::LAnd: OS << "&&"; break;
  121     case MCBinaryExpr::LOr:  OS << "||"; break;
  122     case MCBinaryExpr::LShr: OS << ">>"; break;
  124     case MCBinaryExpr::LTE:  OS << "<="; break;
  127     case MCBinaryExpr::NE:   OS << "!="; break;
  129     case MCBinaryExpr::Shl:  OS << "<<"; break;
lib/MC/MCFragment.cpp
  303   OS << "<MCFixup" << " Offset:" << AF.getOffset()
  303   OS << "<MCFixup" << " Offset:" << AF.getOffset()
  304      << " Value:" << *AF.getValue()
  305      << " Kind:" << AF.getKind() << ">";
  305      << " Kind:" << AF.getKind() << ">";
  315   OS << "<";
  317   case MCFragment::FT_Align: OS << "MCAlignFragment"; break;
  318   case MCFragment::FT_Data:  OS << "MCDataFragment"; break;
  320     OS << "MCCompactEncodedInstFragment"; break;
  321   case MCFragment::FT_Fill:  OS << "MCFillFragment"; break;
  322   case MCFragment::FT_Relaxable:  OS << "MCRelaxableFragment"; break;
  323   case MCFragment::FT_Org:   OS << "MCOrgFragment"; break;
  324   case MCFragment::FT_Dwarf: OS << "MCDwarfFragment"; break;
  325   case MCFragment::FT_DwarfFrame: OS << "MCDwarfCallFrameFragment"; break;
  326   case MCFragment::FT_LEB:   OS << "MCLEBFragment"; break;
  327   case MCFragment::FT_Padding: OS << "MCPaddingFragment"; break;
  328   case MCFragment::FT_SymbolId:    OS << "MCSymbolIdFragment"; break;
  329   case MCFragment::FT_CVInlineLines: OS << "MCCVInlineLineTableFragment"; break;
  330   case MCFragment::FT_CVDefRange: OS << "MCCVDefRangeTableFragment"; break;
  331   case MCFragment::FT_Dummy: OS << "MCDummyFragment"; break;
  334   OS << "<MCFragment " << (const void *)this << " LayoutOrder:" << LayoutOrder
  334   OS << "<MCFragment " << (const void *)this << " LayoutOrder:" << LayoutOrder
  335      << " Offset:" << Offset << " HasInstructions:" << hasInstructions();
  335      << " Offset:" << Offset << " HasInstructions:" << hasInstructions();
  337     OS << " BundlePadding:" << static_cast<unsigned>(EF->getBundlePadding());
  338   OS << ">";
  344       OS << " (emit nops)";
  345     OS << "\n       ";
  346     OS << " Alignment:" << AF->getAlignment()
  347        << " Value:" << AF->getValue() << " ValueSize:" << AF->getValueSize()
  347        << " Value:" << AF->getValue() << " ValueSize:" << AF->getValueSize()
  348        << " MaxBytesToEmit:" << AF->getMaxBytesToEmit() << ">";
  348        << " MaxBytesToEmit:" << AF->getMaxBytesToEmit() << ">";
  353     OS << "\n       ";
  354     OS << " Contents:[";
  357       if (i) OS << ",";
  360     OS << "] (" << Contents.size() << " bytes)";
  360     OS << "] (" << Contents.size() << " bytes)";
  363       OS << ",\n       ";
  364       OS << " Fixups:[";
  367         if (it != DF->fixup_begin()) OS << ",\n                ";
  370       OS << "]";
  377     OS << "\n       ";
  378     OS << " Contents:[";
  381       if (i) OS << ",";
  384     OS << "] (" << Contents.size() << " bytes)";
  384     OS << "] (" << Contents.size() << " bytes)";
  389     OS << " Value:" << static_cast<unsigned>(FF->getValue())
  390        << " ValueSize:" << static_cast<unsigned>(FF->getValueSize())
  391        << " NumValues:" << FF->getNumValues();
  396     OS << "\n       ";
  397     OS << " Inst:";
  403     OS << "\n       ";
  404     OS << " Offset:" << OF->getOffset()
  405        << " Value:" << static_cast<unsigned>(OF->getValue());
  410     OS << "\n       ";
  411     OS << " AddrDelta:" << OF->getAddrDelta()
  412        << " LineDelta:" << OF->getLineDelta();
  417     OS << "\n       ";
  418     OS << " AddrDelta:" << CF->getAddrDelta();
  423     OS << "\n       ";
  424     OS << " Value:" << LF->getValue() << " Signed:" << LF->isSigned();
  424     OS << " Value:" << LF->getValue() << " Signed:" << LF->isSigned();
  429     OS << "\n       ";
  430     OS << " PaddingPoliciesMask:" << F->getPaddingPoliciesMask()
  431        << " IsInsertionPoint:" << F->isInsertionPoint()
  432        << " Size:" << F->getSize();
  433     OS << "\n       ";
  434     OS << " Inst:";
  436     OS << " InstSize:" << F->getInstSize();
  437     OS << "\n       ";
  442     OS << "\n       ";
  443     OS << " Sym:" << F->getSymbol();
  448     OS << "\n       ";
  449     OS << " Sym:" << *F->getFnStartSym();
  454     OS << "\n       ";
  457       OS << " RangeStart:" << RangeStartEnd.first;
  458       OS << " RangeEnd:" << RangeStartEnd.second;
  465   OS << ">";
lib/MC/MCInst.cpp
   21   OS << "<MCOperand ";
   23     OS << "INVALID";
   25     OS << "Reg:" << getReg();
   27     OS << "Imm:" << getImm();
   29     OS << "FPImm:" << getFPImm();
   31     OS << "Expr:(" << *getExpr() << ")";
   31     OS << "Expr:(" << *getExpr() << ")";
   33     OS << "Inst:(" << *getInst() << ")";
   33     OS << "Inst:(" << *getInst() << ")";
   35     OS << "UNDEFINED";
   36   OS << ">";
   59   dbgs() << "\n";
   64   OS << "<MCInst " << getOpcode();
   66     OS << " ";
   69   OS << ">";
   80   OS << "<MCInst #" << getOpcode();
   90   OS << ">";
   96   dbgs() << "\n";
lib/MC/MCInstPrinter.cpp
   56       OS << " " << MAI.getCommentString() << " " << Annot;
   56       OS << " " << MAI.getCommentString() << " " << Annot;
lib/MC/MCParser/AsmParser.cpp
 2224     OS << "parsed instruction: [";
 2227         OS << ", ";
 2230     OS << "]";
 2795   OS << ".endmacro\n";
 4484   DEBUG_WITH_TYPE("asm-macros", dbgs() << "Defining new macro:\n";
 4650                                     << "Un-defining macro: " << Name << "\n");
 4650                                     << "Un-defining macro: " << Name << "\n");
 5540   OS << ".endr\n";
 5921         OS << "[";
 5925         OS << (AR.IntelExp.hasBaseReg() ? " + " : "")
 5928           OS << " * $$" << AR.IntelExp.Scale;
 5930         OS << (AR.IntelExp.hasRegs() ? " + $$" : "$$") << AR.IntelExp.Imm;
 5932         OS << "]";
 5946       case 8:  OS << "byte ptr "; break;
 5947       case 16: OS << "word ptr "; break;
 5948       case 32: OS << "dword ptr "; break;
 5949       case 64: OS << "qword ptr "; break;
 5950       case 80: OS << "xword ptr "; break;
 5951       case 128: OS << "xmmword ptr "; break;
 5952       case 256: OS << "ymmword ptr "; break;
 5956       OS << ".byte";
 5961       OS << ".align";
 5974       OS << ".even";
 5977       OS << "\n\t";
lib/MC/MCParser/DarwinAsmParser.cpp
  793       << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":"
  793       << ":" << getSourceManager().FindLineNumber(IDLoc, CurBuf) << ":"
lib/MC/MCParser/MCAsmLexer.cpp
   42     OS << "error";
   45     OS << "identifier: " << getString();
   48     OS << "int: " << getString();
   51     OS << "real: " << getString();
   54     OS << "string: " << getString();
   57   case AsmToken::Amp:                OS << "Amp"; break;
   58   case AsmToken::AmpAmp:             OS << "AmpAmp"; break;
   59   case AsmToken::At:                 OS << "At"; break;
   60   case AsmToken::BackSlash:          OS << "BackSlash"; break;
   61   case AsmToken::BigNum:             OS << "BigNum"; break;
   62   case AsmToken::Caret:              OS << "Caret"; break;
   63   case AsmToken::Colon:              OS << "Colon"; break;
   64   case AsmToken::Comma:              OS << "Comma"; break;
   65   case AsmToken::Comment:            OS << "Comment"; break;
   66   case AsmToken::Dollar:             OS << "Dollar"; break;
   67   case AsmToken::Dot:                OS << "Dot"; break;
   68   case AsmToken::EndOfStatement:     OS << "EndOfStatement"; break;
   69   case AsmToken::Eof:                OS << "Eof"; break;
   70   case AsmToken::Equal:              OS << "Equal"; break;
   71   case AsmToken::EqualEqual:         OS << "EqualEqual"; break;
   72   case AsmToken::Exclaim:            OS << "Exclaim"; break;
   73   case AsmToken::ExclaimEqual:       OS << "ExclaimEqual"; break;
   74   case AsmToken::Greater:            OS << "Greater"; break;
   75   case AsmToken::GreaterEqual:       OS << "GreaterEqual"; break;
   76   case AsmToken::GreaterGreater:     OS << "GreaterGreater"; break;
   77   case AsmToken::Hash:               OS << "Hash"; break;
   78   case AsmToken::HashDirective:      OS << "HashDirective"; break;
   79   case AsmToken::LBrac:              OS << "LBrac"; break;
   80   case AsmToken::LCurly:             OS << "LCurly"; break;
   81   case AsmToken::LParen:             OS << "LParen"; break;
   82   case AsmToken::Less:               OS << "Less"; break;
   83   case AsmToken::LessEqual:          OS << "LessEqual"; break;
   84   case AsmToken::LessGreater:        OS << "LessGreater"; break;
   85   case AsmToken::LessLess:           OS << "LessLess"; break;
   86   case AsmToken::Minus:              OS << "Minus"; break;
   87   case AsmToken::MinusGreater:       OS << "MinusGreater"; break;
   88   case AsmToken::Percent:            OS << "Percent"; break;
   89   case AsmToken::Pipe:               OS << "Pipe"; break;
   90   case AsmToken::PipePipe:           OS << "PipePipe"; break;
   91   case AsmToken::Plus:               OS << "Plus"; break;
   92   case AsmToken::RBrac:              OS << "RBrac"; break;
   93   case AsmToken::RCurly:             OS << "RCurly"; break;
   94   case AsmToken::RParen:             OS << "RParen"; break;
   95   case AsmToken::Slash:              OS << "Slash"; break;
   96   case AsmToken::Space:              OS << "Space"; break;
   97   case AsmToken::Star:               OS << "Star"; break;
   98   case AsmToken::Tilde:              OS << "Tilde"; break;
   99   case AsmToken::PercentCall16:      OS << "PercentCall16"; break;
  100   case AsmToken::PercentCall_Hi:     OS << "PercentCall_Hi"; break;
  101   case AsmToken::PercentCall_Lo:     OS << "PercentCall_Lo"; break;
  102   case AsmToken::PercentDtprel_Hi:   OS << "PercentDtprel_Hi"; break;
  103   case AsmToken::PercentDtprel_Lo:   OS << "PercentDtprel_Lo"; break;
  104   case AsmToken::PercentGot:         OS << "PercentGot"; break;
  105   case AsmToken::PercentGot_Disp:    OS << "PercentGot_Disp"; break;
  106   case AsmToken::PercentGot_Hi:      OS << "PercentGot_Hi"; break;
  107   case AsmToken::PercentGot_Lo:      OS << "PercentGot_Lo"; break;
  108   case AsmToken::PercentGot_Ofst:    OS << "PercentGot_Ofst"; break;
  109   case AsmToken::PercentGot_Page:    OS << "PercentGot_Page"; break;
  110   case AsmToken::PercentGottprel:    OS << "PercentGottprel"; break;
  111   case AsmToken::PercentGp_Rel:      OS << "PercentGp_Rel"; break;
  112   case AsmToken::PercentHi:          OS << "PercentHi"; break;
  113   case AsmToken::PercentHigher:      OS << "PercentHigher"; break;
  114   case AsmToken::PercentHighest:     OS << "PercentHighest"; break;
  115   case AsmToken::PercentLo:          OS << "PercentLo"; break;
  116   case AsmToken::PercentNeg:         OS << "PercentNeg"; break;
  117   case AsmToken::PercentPcrel_Hi:    OS << "PercentPcrel_Hi"; break;
  118   case AsmToken::PercentPcrel_Lo:    OS << "PercentPcrel_Lo"; break;
  119   case AsmToken::PercentTlsgd:       OS << "PercentTlsgd"; break;
  120   case AsmToken::PercentTlsldm:      OS << "PercentTlsldm"; break;
  121   case AsmToken::PercentTprel_Hi:    OS << "PercentTprel_Hi"; break;
  122   case AsmToken::PercentTprel_Lo:    OS << "PercentTprel_Lo"; break;
  126   OS << " (\"";
  128   OS << "\")";
lib/MC/MCParser/MCAsmParser.cpp
  134   dbgs() << "  " << *this;
lib/MC/MCSection.cpp
   93   OS << "<MCSection";
   94   OS << " Fragments:[\n      ";
   97       OS << ",\n      ";
  100   OS << "]>";
lib/MC/MCSectionCOFF.cpp
   46   OS << "\t.section\t" << getSectionName() << ",\"";
   46   OS << "\t.section\t" << getSectionName() << ",\"";
   70       OS << ",";
   72       OS << "\n\t.linkonce\t";
   75         OS << "one_only";
   78         OS << "discard";
   81         OS << "same_size";
   84         OS << "same_contents";
   87         OS << "associative";
   90         OS << "largest";
   93         OS << "newest";
  100       OS << ",";
lib/MC/MCSectionELF.cpp
   40       OS << "\\\"";
   44       OS << "\\\\";
   66   OS << "\t.section\t";
   73       OS << ",#alloc";
   75       OS << ",#execinstr";
   77       OS << ",#write";
   79       OS << ",#exclude";
   81       OS << ",#tls";
   86   OS << ",\"";
  132     OS << "init_array";
  134     OS << "fini_array";
  136     OS << "preinit_array";
  138     OS << "nobits";
  140     OS << "note";
  142     OS << "progbits";
  144     OS << "unwind";
  148     OS << "0x7000001e";
  150     OS << "llvm_odrtab";
  152     OS << "llvm_linker_options";
  154     OS << "llvm_call_graph_profile";
  156     OS << "llvm_dependent_libraries";
  158     OS << "llvm_sympart";
  165     OS << "," << EntrySize;
  169     OS << ",";
  171     OS << ",comdat";
  176     OS << ",";
  181     OS << ",unique," << UniqueID;
  186     OS << "\t.subsection\t";
lib/MC/MCSectionMachO.cpp
  106   OS << "\t.section\t" << getSegmentName() << ',' << getSectionName();
  134       OS << ",none," << Reserved2;
  155       OS << "<<" << SectionAttrDescriptors[i].EnumName << ">>";
  155       OS << "<<" << SectionAttrDescriptors[i].EnumName << ">>";
lib/MC/MCSectionWasm.cpp
   34       OS << "\\\"";
   38       OS << "\\\\";
   61   OS << "\t.section\t";
   63   OS << ",\"";
   66     OS << "passive";
   81     OS << ",unique," << UniqueID;
   86     OS << "\t.subsection\t";
lib/MC/MCSectionXCOFF.cpp
   38     OS << "\t.csect " << getSectionName() << "["
   38     OS << "\t.csect " << getSectionName() << "["
   40        << "]" << '\n';
   48       OS << "\t.csect " << getSectionName() << "["
   48       OS << "\t.csect " << getSectionName() << "["
   49          << getMappingClassString(getMappingClass()) << "]" << '\n';
   52       OS << "\t.toc\n";
lib/MC/MCStreamer.cpp
   84     OS << Directive << (unsigned)C;
lib/MC/MCSubtargetInfo.cpp
   81     errs() << "'" << Feature << "' is not a recognized feature for this target"
   81     errs() << "'" << Feature << "' is not a recognized feature for this target"
   82            << " (ignoring feature)\n";
  110   errs() << "Available CPUs for this target:\n\n";
  117   errs() << "Available features for this target:\n\n";
  122   errs() << "Use +feature to enable a feature, or -feature to disable it.\n"
  138   errs() << "Available CPUs for this target:\n\n";
  140     errs() << "\t" << CPU.Key << "\n";
  140     errs() << "\t" << CPU.Key << "\n";
  140     errs() << "\t" << CPU.Key << "\n";
  143   errs() << "Use -mcpu or -mtune to specify the target's processor.\n"
  178       errs() << "'" << CPU << "' is not a recognized processor for this target"
  178       errs() << "'" << CPU << "' is not a recognized processor for this target"
  179              << " (ignoring processor)\n";
  266     errs() << "'" << Feature << "' is not a recognized feature for this target"
  266     errs() << "'" << Feature << "' is not a recognized feature for this target"
  267            << " (ignoring feature)\n";
  299       errs() << "'" << CPU
  300              << "' is not a recognized processor for this target"
  301              << " (ignoring processor)\n";
lib/MC/MCSymbol.cpp
   75       OS << "\\n";
   77       OS << "\\\"";
lib/MC/MCValue.cpp
   32     OS << " - ";
   37     OS << " + " << getConstant();
lib/MC/MCWinCOFFStreamer.cpp
  287     OS << " -aligncomm:\"" << Symbol->getName() << "\","
  287     OS << " -aligncomm:\"" << Symbol->getName() << "\","
lib/MC/MachObjectWriter.cpp
  986     LLVM_DEBUG(dbgs() << "data in code region-- kind: " << Data->Kind
  987                       << "  start: " << Start << "(" << Data->Start->getName()
  987                       << "  start: " << Start << "(" << Data->Start->getName()
  988                       << ")"
  989                       << "  end: " << End << "(" << Data->End->getName() << ")"
  989                       << "  end: " << End << "(" << Data->End->getName() << ")"
  989                       << "  end: " << End << "(" << Data->End->getName() << ")"
  990                       << "  size: " << End - Start << "\n");
  990                       << "  size: " << End - Start << "\n");
lib/MC/SubtargetFeature.cpp
   58     OS << F << " ";
   59   OS << "\n";
lib/MC/WasmObjectWriter.cpp
  153     Out << wasm::relocTypetoString(Type) << " Off=" << Offset
  154         << ", Sym=" << *Symbol << ", Addend=" << Addend
  154         << ", Sym=" << *Symbol << ", Addend=" << Addend
  155         << ", FixupSection=" << FixupSection->getSectionName();
  352   LLVM_DEBUG(dbgs() << "startSection " << SectionId << "\n");
  352   LLVM_DEBUG(dbgs() << "startSection " << SectionId << "\n");
  369   LLVM_DEBUG(dbgs() << "startCustomSection " << Name << "\n");
  369   LLVM_DEBUG(dbgs() << "startCustomSection " << Name << "\n");
  395   LLVM_DEBUG(dbgs() << "endSection size=" << Size << "\n");
  395   LLVM_DEBUG(dbgs() << "endSection size=" << Size << "\n");
  509   LLVM_DEBUG(dbgs() << "WasmReloc: " << Rec << "\n");
  509   LLVM_DEBUG(dbgs() << "WasmReloc: " << Rec << "\n");
  588   LLVM_DEBUG(errs() << "addData: " << DataSection.getSectionName() << "\n");
  588   LLVM_DEBUG(errs() << "addData: " << DataSection.getSectionName() << "\n");
  621   LLVM_DEBUG(dbgs() << "addData -> " << DataBytes.size() << "\n");
  621   LLVM_DEBUG(dbgs() << "addData -> " << DataBytes.size() << "\n");
  646     LLVM_DEBUG(dbgs() << "applyRelocation: " << RelEntry << "\n");
  646     LLVM_DEBUG(dbgs() << "applyRelocation: " << RelEntry << "\n");
 1060   LLVM_DEBUG(dbgs() << "registerFunctionType: " << Symbol
 1061                     << " new:" << Pair.second << "\n");
 1061                     << " new:" << Pair.second << "\n");
 1062   LLVM_DEBUG(dbgs() << "  -> type index: " << Pair.first->second << "\n");
 1062   LLVM_DEBUG(dbgs() << "  -> type index: " << Pair.first->second << "\n");
 1081   LLVM_DEBUG(dbgs() << "registerEventType: " << Symbol << " new:" << Pair.second
 1081   LLVM_DEBUG(dbgs() << "registerEventType: " << Symbol << " new:" << Pair.second
 1082                     << "\n");
 1083   LLVM_DEBUG(dbgs() << "  -> type index: " << Pair.first->second << "\n");
 1083   LLVM_DEBUG(dbgs() << "  -> type index: " << Pair.first->second << "\n");
 1109   LLVM_DEBUG(dbgs() << "WasmObjectWriter::writeObject\n");
 1292         dbgs() << "MCSymbol: " << toString(WS.getType()) << " '" << S << "'"
 1292         dbgs() << "MCSymbol: " << toString(WS.getType()) << " '" << S << "'"
 1292         dbgs() << "MCSymbol: " << toString(WS.getType()) << " '" << S << "'"
 1293                << " isDefined=" << S.isDefined() << " isExternal="
 1293                << " isDefined=" << S.isDefined() << " isExternal="
 1294                << S.isExternal() << " isTemporary=" << S.isTemporary()
 1295                << " isWeak=" << WS.isWeak() << " isHidden=" << WS.isHidden()
 1295                << " isWeak=" << WS.isWeak() << " isHidden=" << WS.isHidden()
 1296                << " isVariable=" << WS.isVariable() << "\n");
 1296                << " isVariable=" << WS.isVariable() << "\n");
 1332       LLVM_DEBUG(dbgs() << "  -> function index: " << Index << "\n");
 1332       LLVM_DEBUG(dbgs() << "  -> function index: " << Index << "\n");
 1339         LLVM_DEBUG(dbgs() << "  -> segment index: -1"
 1340                           << "\n");
 1364       LLVM_DEBUG(dbgs() << "  -> segment index: " << Ref.Segment << "\n");
 1364       LLVM_DEBUG(dbgs() << "  -> segment index: " << Ref.Segment << "\n");
 1372       LLVM_DEBUG(dbgs() << "  -> global index: "
 1373                         << WasmIndices.find(&WS)->second << "\n");
 1390       LLVM_DEBUG(dbgs() << "  -> event index: " << WasmIndices.find(&WS)->second
 1391                         << "\n");
 1411     LLVM_DEBUG(dbgs() << WS.getName() << ": weak alias of '" << *ResolvedSym
 1412                       << "'\n");
 1419       LLVM_DEBUG(dbgs() << "  -> index:" << WasmIndex << "\n");
 1419       LLVM_DEBUG(dbgs() << "  -> index:" << WasmIndex << "\n");
 1425       LLVM_DEBUG(dbgs() << "  -> index:" << Ref.Segment << "\n");
 1425       LLVM_DEBUG(dbgs() << "  -> index:" << Ref.Segment << "\n");
 1438     LLVM_DEBUG(dbgs() << "adding to symtab: " << WS << "\n");
 1438     LLVM_DEBUG(dbgs() << "adding to symtab: " << WS << "\n");
 1486         LLVM_DEBUG(dbgs() << "  -> adding " << WS.getName()
 1487                           << " to table: " << TableIndex << "\n");
 1487                           << " to table: " << TableIndex << "\n");
lib/MCA/HardwareUnits/LSUnit.cpp
   51   dbgs() << "[LSUnit] LQ_Size = " << getLoadQueueSize() << '\n';
   52   dbgs() << "[LSUnit] SQ_Size = " << getStoreQueueSize() << '\n';
   53   dbgs() << "[LSUnit] NextLQSlotIdx = " << getUsedLQEntries() << '\n';
   54   dbgs() << "[LSUnit] NextSQSlotIdx = " << getUsedSQEntries() << '\n';
   55   dbgs() << "\n";
   58     dbgs() << "[LSUnit] Group (" << GroupIt.first << "): "
   58     dbgs() << "[LSUnit] Group (" << GroupIt.first << "): "
   59            << "[ #Preds = " << Group.getNumPredecessors()
   60            << ", #GIssued = " << Group.getNumExecutingPredecessors()
   61            << ", #GExecuted = " << Group.getNumExecutedPredecessors()
   62            << ", #Inst = " << Group.getNumInstructions()
   63            << ", #IIssued = " << Group.getNumExecuting()
   64            << ", #IExecuted = " << Group.getNumExecuted() << '\n';
   92       LLVM_DEBUG(dbgs() << "[LSUnit]: GROUP DEP: (" << ImmediateLoadDominator
   93                         << ") --> (" << NewGID << ")\n");
   93                         << ") --> (" << NewGID << ")\n");
   98       LLVM_DEBUG(dbgs() << "[LSUnit]: GROUP DEP: (" << CurrentStoreGroupID
   99                         << ") --> (" << NewGID << ")\n");
   99                         << ") --> (" << NewGID << ")\n");
  131       LLVM_DEBUG(dbgs() << "[LSUnit]: GROUP DEP: (" << CurrentStoreGroupID
  132                         << ") --> (" << NewGID << ")\n");
  132                         << ") --> (" << NewGID << ")\n");
  137       LLVM_DEBUG(dbgs() << "[LSUnit]: GROUP DEP: (" << CurrentLoadBarrierGroupID
  138                         << ") --> (" << NewGID << ")\n");
  138                         << ") --> (" << NewGID << ")\n");
  179     LLVM_DEBUG(dbgs() << "[LSUnit]: Instruction idx=" << IR.getSourceIndex()
  180                       << " has been removed from the load queue.\n");
  185     LLVM_DEBUG(dbgs() << "[LSUnit]: Instruction idx=" << IR.getSourceIndex()
  186                       << " has been removed from the store queue.\n");
lib/MCA/HardwareUnits/RegisterFile.cpp
   96         errs() << "warning: register " << MRI.getName(Reg)
   96         errs() << "warning: register " << MRI.getName(Reg)
   97                << " defined in multiple register files.";
  154     dbgs() << "RegisterFile: addRegisterWrite [ " << Write.getSourceIndex()
  155            << ", " << MRI.getName(RegID) << "]\n";
  155            << ", " << MRI.getName(RegID) << "]\n";
  155            << ", " << MRI.getName(RegID) << "]\n";
  360   LLVM_DEBUG(dbgs() << "RegisterFile: collecting writes for register "
  361                     << MRI.getName(RegID) << '\n');
  391       dbgs() << "[PRF] Found a dependent use of Register "
  392              << MRI.getName(WS.getRegisterID()) << " (defined by instruction #"
  392              << MRI.getName(WS.getRegisterID()) << " (defined by instruction #"
  393              << WR.getSourceIndex() << ")\n";
  457       LLVM_DEBUG(dbgs() << "Not enough registers in the register file.\n");
  480       dbgs() << MRI.getName(I) << ", " << I
  480       dbgs() << MRI.getName(I) << ", " << I
  481              << ", PRF=" << RRI.IndexPlusCost.first
  482              << ", Cost=" << RRI.IndexPlusCost.second
  483              << ", RenameAs=" << RRI.RenameAs << ", IsZero=" << ZeroRegisters[I]
  483              << ", RenameAs=" << RRI.RenameAs << ", IsZero=" << ZeroRegisters[I]
  484              << ",";
  491     dbgs() << "Register File #" << I;
  493     dbgs() << "\n  TotalMappings:        " << RMT.NumPhysRegs
  494            << "\n  NumUsedMappings:      " << RMT.NumUsedPhysRegs << '\n';
lib/MCA/HardwareUnits/ResourceManager.cpp
   95   dbgs() << "MASK=" << format_hex(ResourceMask, 16)
   96          << ", SZMASK=" << format_hex(ResourceSizeMask, 16)
   97          << ", RDYMASK=" << format_hex(ReadyMask, 16)
   98          << ", BufferSize=" << BufferSize
   99          << ", AvailableSlots=" << AvailableSlots
  100          << ", Reserved=" << Unavailable << '\n';
lib/MCA/HardwareUnits/RetireControlUnit.cpp
   94   dbgs() << "Retire Unit: { Total ROB Entries =" << NumROBEntries
   95          << ", Available ROB entries=" << AvailableEntries << " }\n";
   95          << ", Available ROB entries=" << AvailableEntries << " }\n";
lib/MCA/HardwareUnits/Scheduler.cpp
   33   dbgs() << "[SCHEDULER]: WaitSet size is: " << WaitSet.size() << '\n';
   34   dbgs() << "[SCHEDULER]: ReadySet size is: " << ReadySet.size() << '\n';
   35   dbgs() << "[SCHEDULER]: IssuedSet size is: " << IssuedSet.size() << '\n';
  140     LLVM_DEBUG(dbgs() << "[SCHEDULER]: Instruction #" << IR
  141                       << " promoted to the READY set.\n");
  177     LLVM_DEBUG(dbgs() << "[SCHEDULER]: Instruction #" << IR
  178                       << " promoted to the PENDING set.\n");
  226       LLVM_DEBUG(dbgs() << "[SCHEDULER]: Instruction #" << IR
  227                         << " is still executing.\n");
  309     LLVM_DEBUG(dbgs() << "[SCHEDULER] Adding #" << IR << " to the WaitSet\n");
  309     LLVM_DEBUG(dbgs() << "[SCHEDULER] Adding #" << IR << " to the WaitSet\n");
  315     LLVM_DEBUG(dbgs() << "[SCHEDULER] Adding #" << IR
  316                       << " to the PendingSet\n");
  333     LLVM_DEBUG(dbgs() << "[SCHEDULER] Adding #" << IR << " to the ReadySet\n");
  333     LLVM_DEBUG(dbgs() << "[SCHEDULER] Adding #" << IR << " to the ReadySet\n");
lib/MCA/InstrBuilder.cpp
   71           << "Ignoring invalid write of zero cycles on processor resource "
   72           << PR.Name << "\n";
   72           << PR.Name << "\n";
   73       WithColor::note() << "found in scheduling class " << SCDesc.Name
   73       WithColor::note() << "found in scheduling class " << SCDesc.Name
   74                         << " (write index #" << I << ")\n";
   74                         << " (write index #" << I << ")\n";
  187       dbgs() << "\t\tResource Mask=" << format_hex(R.first, 16) << ", "
  187       dbgs() << "\t\tResource Mask=" << format_hex(R.first, 16) << ", "
  188              << "Reserved=" << R.second.isReserved() << ", "
  188              << "Reserved=" << R.second.isReserved() << ", "
  189              << "#Units=" << R.second.NumUnits << ", "
  189              << "#Units=" << R.second.NumUnits << ", "
  190              << "cy=" << R.second.size() << '\n';
  194       dbgs() << "\t\tBuffer Mask=" << format_hex(Current, 16) << '\n';
  197     dbgs() << "\t\t Used Units=" << format_hex(ID.UsedProcResUnits, 16) << '\n';
  198     dbgs() << "\t\tUsed Groups=" << format_hex(ID.UsedProcResGroups, 16)
  330       dbgs() << "\t\t[Def]    OpIdx=" << Write.OpIndex
  331              << ", Latency=" << Write.Latency
  332              << ", WriteResourceID=" << Write.SClassOrWriteResourceID << '\n';
  360       dbgs() << "\t\t[Def][I] OpIdx=" << ~Write.OpIndex
  361              << ", PhysReg=" << MRI.getName(Write.RegisterID)
  361              << ", PhysReg=" << MRI.getName(Write.RegisterID)
  362              << ", Latency=" << Write.Latency
  363              << ", WriteResourceID=" << Write.SClassOrWriteResourceID << '\n';
  375       dbgs() << "\t\t[Def][O] OpIdx=" << Write.OpIndex
  376              << ", Latency=" << Write.Latency
  377              << ", WriteResourceID=" << Write.SClassOrWriteResourceID << '\n';
  408       dbgs() << "\t\t[Def][V] OpIdx=" << Write.OpIndex
  409              << ", Latency=" << Write.Latency
  410              << ", WriteResourceID=" << Write.SClassOrWriteResourceID << '\n';
  440     LLVM_DEBUG(dbgs() << "\t\t[Use]    OpIdx=" << Read.OpIndex
  441                       << ", UseIndex=" << Read.UseIndex << '\n');
  452     LLVM_DEBUG(dbgs() << "\t\t[Use][I] OpIdx=" << ~Read.OpIndex
  453                       << ", UseIndex=" << Read.UseIndex << ", RegisterID="
  453                       << ", UseIndex=" << Read.UseIndex << ", RegisterID="
  454                       << MRI.getName(Read.RegisterID) << '\n');
  476     LLVM_DEBUG(dbgs() << "\t\t[Use][V] OpIdx=" << Read.OpIndex
  477                       << ", UseIndex=" << Read.UseIndex << '\n');
  542   LLVM_DEBUG(dbgs() << "\n\t\tOpcode Name= " << MCII.getName(Opcode) << '\n');
  543   LLVM_DEBUG(dbgs() << "\t\tSchedClassID=" << SchedClassID << '\n');
  552     WithColor::warning() << "found a call in the input assembly sequence.\n";
  553     WithColor::note() << "call instructions are not correctly modeled. "
  554                       << "Assume a latency of 100cy.\n";
  559     WithColor::warning() << "found a return instruction in the input"
  560                          << " assembly sequence.\n";
  561     WithColor::note() << "program counter updates are ignored.\n";
  580   LLVM_DEBUG(dbgs() << "\t\tMaxLatency=" << ID->MaxLatency << '\n');
  581   LLVM_DEBUG(dbgs() << "\t\tNumMicroOps=" << ID->NumMicroOps << '\n');
lib/MCA/Instruction.cpp
  125   dbgs() << "{ OpIdx=" << WD->OpIndex << ", Lat=" << getLatency() << ", RegID "
  125   dbgs() << "{ OpIdx=" << WD->OpIndex << ", Lat=" << getLatency() << ", RegID "
  125   dbgs() << "{ OpIdx=" << WD->OpIndex << ", Lat=" << getLatency() << ", RegID "
  126          << getRegisterID() << ", Cycles Left=" << getCyclesLeft() << " }";
  126          << getRegisterID() << ", Cycles Left=" << getCyclesLeft() << " }";
  130   dbgs() << "IID=" << getSourceIndex() << ' ';
  134     dbgs() << "(null)";
lib/MCA/Pipeline.cpp
   86   LLVM_DEBUG(dbgs() << "\n[E] Cycle begin: " << Cycles << '\n');
   92   LLVM_DEBUG(dbgs() << "[E] Cycle end: " << Cycles << "\n");
   92   LLVM_DEBUG(dbgs() << "[E] Cycle end: " << Cycles << "\n");
lib/MCA/Stages/DispatchStage.cpp
   41   LLVM_DEBUG(dbgs() << "[E] Instruction Dispatched: #" << IR << '\n');
lib/MCA/Stages/ExecuteStage.cpp
  134     LLVM_DEBUG(dbgs() << "[E] Backpressure increased because of unavailable "
  146         dbgs() << "[E] Backpressure increased by register dependencies\n");
  152     LLVM_DEBUG(dbgs() << "[E] Backpressure increased by memory dependencies\n");
  228   LLVM_DEBUG(dbgs() << "[E] Instruction Executed: #" << IR << '\n');
  234   LLVM_DEBUG(dbgs() << "[E] Instruction Pending: #" << IR << '\n');
  240   LLVM_DEBUG(dbgs() << "[E] Instruction Ready: #" << IR << '\n');
  246   LLVM_DEBUG(dbgs() << "[E] Resource Available: [" << RR.first << '.'
  247                     << RR.second << "]\n");
  256     dbgs() << "[E] Instruction Issued: #" << IR << '\n';
  259       dbgs() << "[E] Resource Used: [" << Resource.first.first << '.'
  260              << Resource.first.second << "], ";
  261       dbgs() << "cycles: " << Resource.second.getNumerator() << '\n';
lib/MCA/Stages/RetireStage.cpp
   51   LLVM_DEBUG(llvm::dbgs() << "[E] Instruction Retired: #" << IR << '\n');
lib/MCA/Support.cpp
   71   LLVM_DEBUG(dbgs() << "\nProcessor resource masks:"
   72                     << "\n");
   75     LLVM_DEBUG(dbgs() << '[' << format_decimal(I,2) << "] " << " - "
   75     LLVM_DEBUG(dbgs() << '[' << format_decimal(I,2) << "] " << " - "
   76                       << format_hex(Masks[I],16) << " - "
   77                       << Desc.Name << '\n');
lib/Object/ArchiveWriter.cpp
  118   OS << Data;
  162   Out << "`\n";
  223     StringTable << M.MemberName << "/\n";
  228       StringTable << M.MemberName << "/\n";
  252   Out << "`\n";
  614     Out << "!<thin>\n";
  616     Out << "!<arch>\n";
lib/Object/IRSymtab.cpp
  141           COFFLinkerOptsOS << " " << cast<MDString>(MDOption)->getString();
lib/Object/MachOObjectFile.cpp
 3147       DEBUG_WITH_TYPE("mach-o-rebase", dbgs() << "REBASE_OPCODE_DONE\n");
 3160           dbgs() << "REBASE_OPCODE_SET_TYPE_IMM: "
 3161                  << "RebaseType=" << (int) RebaseType << "\n");
 3161                  << "RebaseType=" << (int) RebaseType << "\n");
 3184           dbgs() << "REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB: "
 3185                  << "SegmentIndex=" << SegmentIndex << ", "
 3185                  << "SegmentIndex=" << SegmentIndex << ", "
 3187                  << "\n");
 3208                       dbgs() << "REBASE_OPCODE_ADD_ADDR_ULEB: "
 3210                                        SegmentOffset) << "\n");
 3235                       dbgs() << "REBASE_OPCODE_ADD_ADDR_IMM_SCALED: "
 3237                                        SegmentOffset) << "\n");
 3258           dbgs() << "REBASE_OPCODE_DO_REBASE_IMM_TIMES: "
 3260                  << ", AdvanceAmount=" << AdvanceAmount
 3261                  << ", RemainingLoopCount=" << RemainingLoopCount
 3262                  << "\n");
 3290           dbgs() << "REBASE_OPCODE_DO_REBASE_ULEB_TIMES: "
 3292                  << ", AdvanceAmount=" << AdvanceAmount
 3293                  << ", RemainingLoopCount=" << RemainingLoopCount
 3294                  << "\n");
 3319           dbgs() << "REBASE_OPCODE_DO_REBASE_ADD_ADDR_ULEB: "
 3321                  << ", AdvanceAmount=" << AdvanceAmount
 3322                  << ", RemainingLoopCount=" << RemainingLoopCount
 3323                  << "\n");
 3362           dbgs() << "REBASE_OPCODE_DO_REBASE_ULEB_TIMES_SKIPPING_ULEB: "
 3364                  << ", AdvanceAmount=" << AdvanceAmount
 3365                  << ", RemainingLoopCount=" << RemainingLoopCount
 3366                  << "\n");
 3508       DEBUG_WITH_TYPE("mach-o-bind", dbgs() << "BIND_OPCODE_DONE\n");
 3532           dbgs() << "BIND_OPCODE_SET_DYLIB_ORDINAL_IMM: "
 3533                  << "Ordinal=" << Ordinal << "\n");
 3533                  << "Ordinal=" << Ordinal << "\n");
 3564           dbgs() << "BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB: "
 3565                  << "Ordinal=" << Ordinal << "\n");
 3565                  << "Ordinal=" << Ordinal << "\n");
 3591           dbgs() << "BIND_OPCODE_SET_DYLIB_SPECIAL_IMM: "
 3592                  << "Ordinal=" << Ordinal << "\n");
 3592                  << "Ordinal=" << Ordinal << "\n");
 3613           dbgs() << "BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM: "
 3614                  << "SymbolName=" << SymbolName << "\n");
 3614                  << "SymbolName=" << SymbolName << "\n");
 3631           dbgs() << "BIND_OPCODE_SET_TYPE_IMM: "
 3632                  << "BindType=" << (int)BindType << "\n");
 3632                  << "BindType=" << (int)BindType << "\n");
 3645           dbgs() << "BIND_OPCODE_SET_ADDEND_SLEB: "
 3646                  << "Addend=" << Addend << "\n");
 3646                  << "Addend=" << Addend << "\n");
 3669           dbgs() << "BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB: "
 3670                  << "SegmentIndex=" << SegmentIndex << ", "
 3670                  << "SegmentIndex=" << SegmentIndex << ", "
 3672                  << "\n");
 3693                       dbgs() << "BIND_OPCODE_ADD_ADDR_ULEB: "
 3695                                        SegmentOffset) << "\n");
 3726                       dbgs() << "BIND_OPCODE_DO_BIND: "
 3728                                        SegmentOffset) << "\n");
 3788           dbgs() << "BIND_OPCODE_DO_BIND_ADD_ADDR_ULEB: "
 3790                  << ", AdvanceAmount=" << AdvanceAmount
 3791                  << ", RemainingLoopCount=" << RemainingLoopCount
 3792                  << "\n");
 3844                       << "BIND_OPCODE_DO_BIND_ADD_ADDR_IMM_SCALED: "
 3845                       << format("SegmentOffset=0x%06X", SegmentOffset) << "\n");
 3908           dbgs() << "BIND_OPCODE_DO_BIND_ULEB_TIMES_SKIPPING_ULEB: "
 3910                  << ", AdvanceAmount=" << AdvanceAmount
 3911                  << ", RemainingLoopCount=" << RemainingLoopCount
 3912                  << "\n");
lib/Object/ModuleSymbolTable.cpp
  179     OS << "__imp_";
lib/Object/WasmObjectFile.cpp
   40   Out << "Name=" << Info.Name
   41       << ", Kind=" << toString(wasm::WasmSymbolType(Info.Kind))
   42       << ", Flags=" << Info.Flags;
   44     Out << ", ElemIndex=" << Info.ElementIndex;
   46     Out << ", Segment=" << Info.DataRef.Segment;
   47     Out << ", Offset=" << Info.DataRef.Offset;
   48     Out << ", Size=" << Info.DataRef.Size;
  215   LLVM_DEBUG(dbgs() << "readSection type=" << Section.Type << "\n");
  215   LLVM_DEBUG(dbgs() << "readSection type=" << Section.Type << "\n");
  411     LLVM_DEBUG(dbgs() << "readSubsection type=" << int(Type) << " size=" << Size
  411     LLVM_DEBUG(dbgs() << "readSubsection type=" << int(Type) << " size=" << Size
  412                       << "\n");
  626     LLVM_DEBUG(dbgs() << "Adding symbol: " << Symbols.back() << "\n");
  626     LLVM_DEBUG(dbgs() << "Adding symbol: " << Symbols.back() << "\n");
 1254   LLVM_DEBUG(dbgs() << "getSymbolFlags: ptr=" << &Sym << " " << Sym << "\n");
 1254   LLVM_DEBUG(dbgs() << "getSymbolFlags: ptr=" << &Sym << " " << Sym << "\n");
 1254   LLVM_DEBUG(dbgs() << "getSymbolFlags: ptr=" << &Sym << " " << Sym << "\n");
lib/Object/WindowsResource.cpp
  145   case  1: OS << "CURSOR (ID 1)"; break;
  146   case  2: OS << "BITMAP (ID 2)"; break;
  147   case  3: OS << "ICON (ID 3)"; break;
  148   case  4: OS << "MENU (ID 4)"; break;
  149   case  5: OS << "DIALOG (ID 5)"; break;
  150   case  6: OS << "STRINGTABLE (ID 6)"; break;
  151   case  7: OS << "FONTDIR (ID 7)"; break;
  152   case  8: OS << "FONT (ID 8)"; break;
  153   case  9: OS << "ACCELERATOR (ID 9)"; break;
  154   case 10: OS << "RCDATA (ID 10)"; break;
  155   case 11: OS << "MESSAGETABLE (ID 11)"; break;
  156   case 12: OS << "GROUP_CURSOR (ID 12)"; break;
  157   case 14: OS << "GROUP_ICON (ID 14)"; break;
  158   case 16: OS << "VERSIONINFO (ID 16)"; break;
  159   case 17: OS << "DLGINCLUDE (ID 17)"; break;
  160   case 19: OS << "PLUGPLAY (ID 19)"; break;
  161   case 20: OS << "VXD (ID 20)"; break;
  162   case 21: OS << "ANICURSOR (ID 21)"; break;
  163   case 22: OS << "ANIICON (ID 22)"; break;
  164   case 23: OS << "HTML (ID 23)"; break;
  165   case 24: OS << "MANIFEST (ID 24)"; break;
  166   default: OS << "ID " << TypeID; break;
  186   OS << "duplicate resource:";
  188   OS << " type ";
  197   OS << "/name ";
  204     OS << "ID " << Entry.getNameID();
  207   OS << "/language " << Entry.getLanguage() << ", in " << File1 << " and in "
  207   OS << "/language " << Entry.getLanguage() << ", in " << File1 << " and in "
  207   OS << "/language " << Entry.getLanguage() << ", in " << File1 << " and in "
  223     OS << "ID " << S.ID;
  234   OS << "duplicate resource:";
  237     OS << " type ";
  242     OS << "/name ";
  247     OS << "/language ";
  250   OS << ", in " << File1 << " and in " << File2;
  250   OS << ", in " << File1 << " and in " << File2;
lib/ObjectYAML/COFFEmitter.cpp
  514               << "Both SymbolName and SymbolTableIndex specified\n";
lib/Option/Arg.cpp
   48   O << "<";
   50   O << " Opt:";
   53   O << " Index:" << Index;
   55   O << " Values: [";
   57     if (i) O << ", ";
   58     O << "'" << Values[i] << "'";
   58     O << "'" << Values[i] << "'";
   58     O << "'" << Values[i] << "'";
   61   O << "]>\n";
   81     OS << *it;
  108       OS << getValue(i);
lib/Option/ArgList.cpp
  187     O << "* ";
lib/Option/OptTable.cpp
  489   OS << Title << ":\n";
  508       OS << "\n";
  542   OS << "OVERVIEW: " << Title << "\n\n";
  542   OS << "OVERVIEW: " << Title << "\n\n";
  542   OS << "OVERVIEW: " << Title << "\n\n";
  543   OS << "USAGE: " << Usage << "\n\n";
  543   OS << "USAGE: " << Usage << "\n\n";
  543   OS << "USAGE: " << Usage << "\n\n";
  578       OS << "\n";
lib/Option/Option.cpp
   42   O << "<";
   45     P(GroupClass);
   46     P(InputClass);
   47     P(UnknownClass);
   48     P(FlagClass);
   49     P(JoinedClass);
   50     P(ValuesClass);
   51     P(SeparateClass);
   52     P(CommaJoinedClass);
   53     P(MultiArgClass);
   54     P(JoinedOrSeparateClass);
   55     P(JoinedAndSeparateClass);
   56     P(RemainingArgsClass);
   57     P(RemainingArgsJoinedClass);
   62     O << " Prefixes:[";
   64       O << '"' << *Pre << (*(Pre + 1) == nullptr ? "\"" : "\", ");
   64       O << '"' << *Pre << (*(Pre + 1) == nullptr ? "\"" : "\", ");
   69   O << " Name:\"" << getName() << '"';
   73     O << " Group:";
   79     O << " Alias:";
   84     O << " NumArgs:" << getNumArgs();
   86   O << ">\n";
lib/Passes/StandardInstrumentations.cpp
   74   dbgs() << Banner << Extra << "\n";
   81   dbgs() << Banner << Extra << "\n" << static_cast<const Value &>(*F);
   90         dbgs() << Banner << Extra << "\n";
lib/ProfileData/Coverage/CoverageMapping.cpp
  149     OS << (E.Kind == CounterExpression::Subtract ? " - " : " + ");
  399       dbgs() << "Segment at " << Last.Line << ":" << Last.Col
  399       dbgs() << "Segment at " << Last.Line << ":" << Last.Col
  400              << " (count = " << Last.Count << ")"
  400              << " (count = " << Last.Count << ")"
  401              << (Last.IsRegionEntry ? ", RegionEntry" : "")
  402              << (!Last.HasCount ? ", Skipped" : "")
  403              << (Last.IsGapRegion ? ", Gap" : "") << "\n";
  403              << (Last.IsGapRegion ? ", Gap" : "") << "\n";
  575       dbgs() << "Combined regions:\n";
  577         dbgs() << "  " << CR.LineStart << ":" << CR.ColumnStart << " -> "
  577         dbgs() << "  " << CR.LineStart << ":" << CR.ColumnStart << " -> "
  577         dbgs() << "  " << CR.LineStart << ":" << CR.ColumnStart << " -> "
  578                << CR.LineEnd << ":" << CR.ColumnEnd
  579                << " (count=" << CR.ExecutionCount << ")\n";
  579                << " (count=" << CR.ExecutionCount << ")\n";
  589         LLVM_DEBUG(dbgs() << " ! Segment " << L.Line << ":" << L.Col
  589         LLVM_DEBUG(dbgs() << " ! Segment " << L.Line << ":" << L.Col
  590                           << " followed by " << R.Line << ":" << R.Col << "\n");
  590                           << " followed by " << R.Line << ":" << R.Col << "\n");
  590                           << " followed by " << R.Line << ":" << R.Col << "\n");
  668   LLVM_DEBUG(dbgs() << "Emitting segments for file: " << Filename << "\n");
  668   LLVM_DEBUG(dbgs() << "Emitting segments for file: " << Filename << "\n");
  714   LLVM_DEBUG(dbgs() << "Emitting segments for function: " << Function.Name
  715                     << "\n");
  733   LLVM_DEBUG(dbgs() << "Emitting segments for expansion of file "
  734                     << Expansion.FileID << "\n");
lib/ProfileData/Coverage/CoverageMappingReader.cpp
  232       dbgs() << "Counter in file " << InferredFileID << " " << LineStart << ":"
  232       dbgs() << "Counter in file " << InferredFileID << " " << LineStart << ":"
  232       dbgs() << "Counter in file " << InferredFileID << " " << LineStart << ":"
  233              << ColumnStart << " -> " << (LineStart + NumLines) << ":"
  233              << ColumnStart << " -> " << (LineStart + NumLines) << ":"
  234              << ColumnEnd << ", ";
  236         dbgs() << "Expands to file " << ExpandedFileID;
  239       dbgs() << "\n";
lib/ProfileData/GCOV.cpp
   63     errs() << "GCOV versions do not match.\n";
   71     errs() << "File checksums do not match: " << Checksum
   72            << " != " << GCDAChecksum << ".\n";
   72            << " != " << GCDAChecksum << ".\n";
   77       errs() << "Unexpected number of functions.\n";
  144       errs() << "File checksums do not match: " << Parent.getChecksum()
  145              << " != " << CfgChecksum << " in (" << Name << ").\n";
  145              << " != " << CfgChecksum << " in (" << Name << ").\n";
  145              << " != " << CfgChecksum << " in (" << Name << ").\n";
  158     errs() << "Block tag not found.\n";
  180       errs() << "Unexpected block number: " << BlockNo << " (in " << Name
  180       errs() << "Unexpected block number: " << BlockNo << " (in " << Name
  181              << ").\n";
  209       errs() << "Unexpected block number: " << BlockNo << " (in " << Name
  209       errs() << "Unexpected block number: " << BlockNo << " (in " << Name
  210              << ").\n";
  226         errs() << "Multiple sources for a single basic block: " << Filename
  227                << " != " << F << " (in " << Name << ").\n";
  227                << " != " << F << " (in " << Name << ").\n";
  227                << " != " << F << " (in " << Name << ").\n";
  265     errs() << "Function identifiers do not match: " << Ident
  266            << " != " << GCDAIdent << " (in " << Name << ").\n";
  266            << " != " << GCDAIdent << " (in " << Name << ").\n";
  266            << " != " << GCDAIdent << " (in " << Name << ").\n";
  274     errs() << "Function checksums do not match: " << Checksum
  275            << " != " << GCDAChecksum << " (in " << Name << ").\n";
  275            << " != " << GCDAChecksum << " (in " << Name << ").\n";
  275            << " != " << GCDAChecksum << " (in " << Name << ").\n";
  284       errs() << "File checksums do not match: " << Parent.getChecksum()
  285              << " != " << CfgChecksum << " (in " << Name << ").\n";
  285              << " != " << CfgChecksum << " (in " << Name << ").\n";
  285              << " != " << CfgChecksum << " (in " << Name << ").\n";
  295       errs() << "Function names do not match: " << Name << " != " << GCDAName
  295       errs() << "Function names do not match: " << Name << " != " << GCDAName
  296              << ".\n";
  302     errs() << "Arc tag not found (in " << Name << ").\n";
  302     errs() << "Arc tag not found (in " << Name << ").\n";
  316       errs() << "Unexpected number of edges (in " << Name << ").\n";
  316       errs() << "Unexpected number of edges (in " << Name << ").\n";
  320       errs() << "(" << Name << ") has arcs from exit block.\n";
  320       errs() << "(" << Name << ") has arcs from exit block.\n";
  325         errs() << "Unexpected number of edges (in " << Name << ").\n";
  325         errs() << "Unexpected number of edges (in " << Name << ").\n";
  352   OS << "===== " << Name << " (" << Ident << ") @ " << Filename << ":"
  352   OS << "===== " << Name << " (" << Ident << ") @ " << Filename << ":"
  352   OS << "===== " << Name << " (" << Ident << ") @ " << Filename << ":"
  352   OS << "===== " << Name << " (" << Ident << ") @ " << Filename << ":"
  353      << LineNumber << "\n";
  413   OS << "Block : " << Number << " Counter : " << Counter << "\n";
  413   OS << "Block : " << Number << " Counter : " << Counter << "\n";
  413   OS << "Block : " << Number << " Counter : " << Counter << "\n";
  415     OS << "\tSource Edges : ";
  417       OS << Edge->Src.Number << " (" << Edge->Count << "), ";
  417       OS << Edge->Src.Number << " (" << Edge->Count << "), ";
  418     OS << "\n";
  421     OS << "\tDestination Edges : ";
  423       OS << Edge->Dst.Number << " (" << Edge->Count << "), ";
  423       OS << Edge->Dst.Number << " (" << Edge->Count << "), ";
  424     OS << "\n";
  427     OS << "\tLines : ";
  429       OS << (N) << ",";
  430     OS << "\n";
  598       OS << "never executed";
  600       OS << "taken " << Count;
  602       OS << "taken " << branchDiv(Count, Total) << "%";
  602       OS << "taken " << branchDiv(Count, Total) << "%";
  624       errs() << Filename << ": " << EC.message() << "\n";
  624       errs() << Filename << ": " << EC.message() << "\n";
  638     OS << format("%5u:", LineNum) << Line << "\n";
  711     errs() << EC.message() << "\n";
  732     CovOS << "        -:    0:Source:" << Filename << "\n";
  732     CovOS << "        -:    0:Source:" << Filename << "\n";
  733     CovOS << "        -:    0:Graph:" << GCNOFile << "\n";
  733     CovOS << "        -:    0:Graph:" << GCNOFile << "\n";
  734     CovOS << "        -:    0:Data:" << GCDAFile << "\n";
  734     CovOS << "        -:    0:Data:" << GCDAFile << "\n";
  735     CovOS << "        -:    0:Runs:" << RunCount << "\n";
  735     CovOS << "        -:    0:Runs:" << RunCount << "\n";
  736     CovOS << "        -:    0:Programs:" << ProgramCount << "\n";
  736     CovOS << "        -:    0:Programs:" << ProgramCount << "\n";
  751         CovOS << "        -:";
  796           CovOS << "    #####:";
  843     OS << "function " << Func->getName() << " called " << EntryCount
  843     OS << "function " << Func->getName() << " called " << EntryCount
  844        << " returned " << safeDiv(Func->getExitCount() * 100, EntryCount)
  845        << "% blocks executed "
  846        << safeDiv(BlocksExec * 100, Func->getNumBlocks() - 1) << "%\n";
  854     OS << "    $$$$$:";
  887        << formatBranchInfo(Options, N, TotalCounts) << "\n";
  894      << formatBranchInfo(Options, Count, Count) << "\n";
  913       OS << "No branches\n";
  915     OS << "No calls\n"; // to be consistent with gcov
  923     OS << "Function '" << Coverage.Name << "'\n";
  923     OS << "Function '" << Coverage.Name << "'\n";
  925     OS << "\n";
  934     OS << "File '" << Coverage.Name << "'\n";
  934     OS << "File '" << Coverage.Name << "'\n";
  937       OS << Coverage.Name << ":creating '" << Filename << "'\n";
  937       OS << Coverage.Name << ":creating '" << Filename << "'\n";
  938     OS << "\n";
lib/ProfileData/InstrProf.cpp
 1218     OS << "Profile overlap infomation for base_profile: " << *BaseFilename
 1219        << " and test_profile: " << *TestFilename << "\nProgram level:\n";
 1219        << " and test_profile: " << *TestFilename << "\nProgram level:\n";
 1221     OS << "Function level:\n"
 1222        << "  Function: " << FuncName << " (Hash=" << FuncHash << ")\n";
 1222        << "  Function: " << FuncName << " (Hash=" << FuncHash << ")\n";
 1222        << "  Function: " << FuncName << " (Hash=" << FuncHash << ")\n";
 1225   OS << "  # of " << EntryName << " overlap: " << Overlap.NumEntries << "\n";
 1225   OS << "  # of " << EntryName << " overlap: " << Overlap.NumEntries << "\n";
 1225   OS << "  # of " << EntryName << " overlap: " << Overlap.NumEntries << "\n";
 1225   OS << "  # of " << EntryName << " overlap: " << Overlap.NumEntries << "\n";
 1227     OS << "  # of " << EntryName << " mismatch: " << Mismatch.NumEntries
 1227     OS << "  # of " << EntryName << " mismatch: " << Mismatch.NumEntries
 1227     OS << "  # of " << EntryName << " mismatch: " << Mismatch.NumEntries
 1228        << "\n";
 1230     OS << "  # of " << EntryName
 1230     OS << "  # of " << EntryName
 1231        << " only in test_profile: " << Unique.NumEntries << "\n";
 1231        << " only in test_profile: " << Unique.NumEntries << "\n";
 1233   OS << "  Edge profile overlap: " << format("%.3f%%", Overlap.CountSum * 100)
 1234      << "\n";
 1236     OS << "  Mismatched count percentage (Edge): "
 1237        << format("%.3f%%", Mismatch.CountSum * 100) << "\n";
 1239     OS << "  Percentage of Edge profile only in test_profile: "
 1240        << format("%.3f%%", Unique.CountSum * 100) << "\n";
 1241   OS << "  Edge profile base count sum: " << format("%.0f", Base.CountSum)
 1242      << "\n"
 1243      << "  Edge profile test count sum: " << format("%.0f", Test.CountSum)
 1244      << "\n";
 1261     OS << "  " << ProfileKindName
 1261     OS << "  " << ProfileKindName
 1262        << " profile overlap: " << format("%.3f%%", Overlap.ValueCounts[I] * 100)
 1263        << "\n";
 1265       OS << "  Mismatched count percentage (" << ProfileKindName
 1265       OS << "  Mismatched count percentage (" << ProfileKindName
 1266          << "): " << format("%.3f%%", Mismatch.ValueCounts[I] * 100) << "\n";
 1266          << "): " << format("%.3f%%", Mismatch.ValueCounts[I] * 100) << "\n";
 1268       OS << "  Percentage of " << ProfileKindName
 1268       OS << "  Percentage of " << ProfileKindName
 1269          << " profile only in test_profile: "
 1270          << format("%.3f%%", Unique.ValueCounts[I] * 100) << "\n";
 1271     OS << "  " << ProfileKindName
 1271     OS << "  " << ProfileKindName
 1272        << " profile base count sum: " << format("%.0f", Base.ValueCounts[I])
 1273        << "\n"
 1274        << "  " << ProfileKindName
 1274        << "  " << ProfileKindName
 1275        << " profile test count sum: " << format("%.0f", Test.ValueCounts[I])
 1276        << "\n";
lib/ProfileData/InstrProfWriter.cpp
  402   OS << Name << "\n";
  403   OS << "# Func Hash:\n" << Hash << "\n";
  403   OS << "# Func Hash:\n" << Hash << "\n";
  404   OS << "# Num Counters:\n" << Func.Counts.size() << "\n";
  404   OS << "# Num Counters:\n" << Func.Counts.size() << "\n";
  405   OS << "# Counter Values:\n";
  407     OS << Count << "\n";
  411     OS << "\n";
  415   OS << "# Num Value Kinds:\n" << Func.getNumValueKinds() << "\n";
  415   OS << "# Num Value Kinds:\n" << Func.getNumValueKinds() << "\n";
  420     OS << "# ValueKind = " << ValueProfKindStr[VK] << ":\n" << VK << "\n";
  420     OS << "# ValueKind = " << ValueProfKindStr[VK] << ":\n" << VK << "\n";
  420     OS << "# ValueKind = " << ValueProfKindStr[VK] << ":\n" << VK << "\n";
  420     OS << "# ValueKind = " << ValueProfKindStr[VK] << ":\n" << VK << "\n";
  421     OS << "# NumValueSites:\n" << NS << "\n";
  421     OS << "# NumValueSites:\n" << NS << "\n";
  424       OS << ND << "\n";
  428           OS << Symtab.getFuncNameOrExternalSymbol(VD[I].Value) << ":"
  429              << VD[I].Count << "\n";
  431           OS << VD[I].Value << ":" << VD[I].Count << "\n";
  431           OS << VD[I].Value << ":" << VD[I].Count << "\n";
  436   OS << "\n";
  441     OS << "# IR level Instrumentation Flag\n:ir\n";
  443     OS << "# CSIR level Instrumentation Flag\n:csir\n";
lib/ProfileData/SampleProf.cpp
   93     OS << "." << Discriminator;
  110     OS << ", calls:";
  112       OS << " " << I.first << ":" << I.second;
  112       OS << " " << I.first << ":" << I.second;
  114   OS << "\n";
  129   OS << TotalSamples << ", " << TotalHeadSamples << ", " << BodySamples.size()
  129   OS << TotalSamples << ", " << TotalHeadSamples << ", " << BodySamples.size()
  130      << " sampled lines\n";
  134     OS << "Samples collected in the function's body {\n";
  138       OS << SI->first << ": " << SI->second;
  141     OS << "}\n";
  143     OS << "No samples collected in the function's body\n";
  148     OS << "Samples collected in inlined callsites {\n";
  154         OS << CS->first << ": inlined callee: " << FS.second.getName() << ": ";
  154         OS << CS->first << ": inlined callee: " << FS.second.getName() << ": ";
  159     OS << "}\n";
  161     OS << "No inlined callsites in this function\n";
  233   OS << "======== Dump profile symbol list ========\n";
  239     OS << Sym << "\n";
lib/ProfileData/SampleProfReader.cpp
   53   OS << "Function: " << FName << ": " << Profiles[FName];
   53   OS << "Function: " << FName << ": " << Profiles[FName];
  799     OS << getSecName(Entry.Type) << " - Offset: " << Entry.Offset
  800        << ", Size: " << Entry.Size << "\n";
  800        << ", Size: " << Entry.Size << "\n";
  807   OS << "Header Size: " << HeaderSize << "\n";
  807   OS << "Header Size: " << HeaderSize << "\n";
  808   OS << "Total Sections Size: " << TotalSecsSize << "\n";
  808   OS << "Total Sections Size: " << TotalSecsSize << "\n";
  809   OS << "File Size: " << getFileSize() << "\n";
  809   OS << "File Size: " << getFileSize() << "\n";
lib/ProfileData/SampleProfWriter.cpp
  233   OS << S.getName() << ":" << S.getTotalSamples();
  235     OS << ":" << S.getHeadSamples();
  236   OS << "\n";
  244       OS << Loc.LineOffset << ": ";
  246       OS << Loc.LineOffset << "." << Loc.Discriminator << ": ";
  246       OS << Loc.LineOffset << "." << Loc.Discriminator << ": ";
  251       OS << " " << J.first << ":" << J.second;
  251       OS << " " << J.first << ":" << J.second;
  252     OS << "\n";
  264         OS << Loc.LineOffset << ": ";
  266         OS << Loc.LineOffset << "." << Loc.Discriminator << ": ";
  266         OS << Loc.LineOffset << "." << Loc.Discriminator << ": ";
lib/Support/APFloat.cpp
 4533   OS << Buffer << "\n";
lib/Support/APInt.cpp
 2269   dbgs() << "APInt(" << BitWidth << "b, "
 2269   dbgs() << "APInt(" << BitWidth << "b, "
 2270          << U << "u " << S << "s)\n";
 2270          << U << "u " << S << "s)\n";
 2849   LLVM_DEBUG(dbgs() << __func__ << ": solving " << A << "x^2 + " << B
 2849   LLVM_DEBUG(dbgs() << __func__ << ": solving " << A << "x^2 + " << B
 2849   LLVM_DEBUG(dbgs() << __func__ << ": solving " << A << "x^2 + " << B
 2850                     << "x + " << C << ", rw:" << RangeWidth << '\n');
 2850                     << "x + " << C << ", rw:" << RangeWidth << '\n');
 2854     LLVM_DEBUG(dbgs() << __func__ << ": zero solution\n");
 2854     LLVM_DEBUG(dbgs() << __func__ << ": zero solution\n");
 2966   LLVM_DEBUG(dbgs() << __func__ << ": updated coefficients " << A << "x^2 + "
 2966   LLVM_DEBUG(dbgs() << __func__ << ": updated coefficients " << A << "x^2 + "
 2966   LLVM_DEBUG(dbgs() << __func__ << ": updated coefficients " << A << "x^2 + "
 2967                     << B << "x + " << C << ", rw:" << RangeWidth << '\n');
 2967                     << B << "x + " << C << ", rw:" << RangeWidth << '\n');
 3000     LLVM_DEBUG(dbgs() << __func__ << ": solution (root): " << X << '\n');
 3000     LLVM_DEBUG(dbgs() << __func__ << ": solution (root): " << X << '\n');
 3021     LLVM_DEBUG(dbgs() << __func__ << ": no valid solution\n");
 3021     LLVM_DEBUG(dbgs() << __func__ << ": no valid solution\n");
 3026   LLVM_DEBUG(dbgs() << __func__ << ": solution (wrap): " << X << '\n');
 3026   LLVM_DEBUG(dbgs() << __func__ << ": solution (wrap): " << X << '\n');
lib/Support/ARMAttributeParser.cpp
  480     SW->startLine() << "Value: " << Integer << ", " << String << '\n';
  480     SW->startLine() << "Value: " << Integer << ", " << String << '\n';
  618         errs() << "unhandled AEABI Tag " << Tag
  619                << " (" << ARMBuildAttrs::AttrTypeAsString(Tag) << ")\n";
  619                << " (" << ARMBuildAttrs::AttrTypeAsString(Tag) << ")\n";
  662       errs() << "subsection length greater than section length\n";
  683       errs() << "unrecognised tag: 0x" << Twine::utohexstr(Tag) << '\n';
  708       SW->startLine() << "Section " << ++SectionNumber << " {\n";
  708       SW->startLine() << "Section " << ++SectionNumber << " {\n";
  713       errs() << "invalid subsection length " << SectionLength << " at offset "
  713       errs() << "invalid subsection length " << SectionLength << " at offset "
  714              << Offset << "\n";
  723       SW->startLine() << "}\n";
lib/Support/Allocator.cpp
   22   errs() << "\nNumber of memory regions: " << NumSlabs << '\n'
   23          << "Bytes used: " << BytesAllocated << '\n'
   24          << "Bytes allocated: " << TotalMemory << '\n'
   25          << "Bytes wasted: " << (TotalMemory - BytesAllocated)
   26          << " (includes alignment, etc)\n";
   34   errs() << "Recycler element size: " << Size << '\n'
   35          << "Recycler element alignment: " << Align << '\n'
   36          << "Number of elements free for recycling: " << FreeListSize << '\n';
lib/Support/BranchProbability.cpp
   26     return OS << "?%";
lib/Support/CachePruning.cpp
  163     LLVM_DEBUG(dbgs() << "No pruning settings set, exit early\n");
  190         LLVM_DEBUG(dbgs() << "Timestamp file too recent ("
  192                           << "s old), do not prune.\n");
  225       LLVM_DEBUG(dbgs() << "Ignore " << File->path() << " (can't stat)\n");
  225       LLVM_DEBUG(dbgs() << "Ignore " << File->path() << " (can't stat)\n");
  233       LLVM_DEBUG(dbgs() << "Remove " << File->path() << " ("
  233       LLVM_DEBUG(dbgs() << "Remove " << File->path() << " ("
  235                         << "s old)\n");
  254     LLVM_DEBUG(dbgs() << " - Remove " << FileInfo->Path << " (size "
  254     LLVM_DEBUG(dbgs() << " - Remove " << FileInfo->Path << " (size "
  255                       << FileInfo->Size << "), new occupancy is " << TotalSize
  256                       << "%\n");
  282     LLVM_DEBUG(dbgs() << "Occupancy: " << ((100 * TotalSize) / AvailableSpace)
  283                       << "% target is: "
  284                       << Policy.MaxSizePercentageOfAvailableSpace << "%, "
  285                       << Policy.MaxSizeBytes << " bytes\n");
lib/Support/Chrono.cpp
   47   return OS << Buffer << '.'
   81           FStream << "%%";
   90   OS << (Len ? Buffer : "BAD-DATE-FORMAT");
lib/Support/CommandLine.cpp
  168       errs() << ProgramName << ": CommandLine Error: Option '" << Name
  169              << "' registered more than once!\n";
  203         errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr
  204                << "' registered more than once!\n";
  319       errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr
  320              << "' registered more than once!\n";
 1341         *Errs << ProgramName << ": CommandLine Error: Option '" << Opt->ArgStr
 1342               << "' is all messed up!\n";
 1444         *Errs << ProgramName << ": Unknown command line argument '" << argv[i]
 1444         *Errs << ProgramName << ": Unknown command line argument '" << argv[i]
 1445               << "'.  Try: '" << argv[0] << " --help'\n";
 1445               << "'.  Try: '" << argv[0] << " --help'\n";
 1445               << "'.  Try: '" << argv[0] << " --help'\n";
 1449           *Errs << ProgramName << ": Did you mean '"
 1450                 << PrintArg(NearestHandlerString) << "'?\n";
 1481              << ": Not enough positional command line arguments specified!\n"
 1482              << "Must specify at least " << NumPositionalRequired
 1483              << " positional argument" << (NumPositionalRequired > 1 ? "s" : "")
 1483              << " positional argument" << (NumPositionalRequired > 1 ? "s" : "")
 1484              << ": See: " << argv[0] << " --help\n";
 1484              << ": See: " << argv[0] << " --help\n";
 1484              << ": See: " << argv[0] << " --help\n";
 1489     *Errs << ProgramName << ": Too many positional arguments specified!\n"
 1490           << "Can specify at most " << PositionalOpts.size()
 1491           << " positional arguments: See: " << argv[0] << " --help\n";
 1491           << " positional arguments: See: " << argv[0] << " --help\n";
 1491           << " positional arguments: See: " << argv[0] << " --help\n";
 1577   LLVM_DEBUG(dbgs() << "Args: ";
 1578              for (int i = 0; i < argc; ++i) dbgs() << argv[i] << ' ';
 1604     Errs << GlobalParser->ProgramName << ": for the " << PrintArg(ArgName);
 1606   Errs << " option: " << Message << "\n";
 1606   Errs << " option: " << Message << "\n";
 1656       << ArgHelpPrefix << Split.first << "\n";
 1659     outs().indent(Indent) << Split.first << "\n";
 1700       outs() << " <" << getValueStr(O, ValName) << ">...";
 1700       outs() << " <" << getValueStr(O, ValName) << ">...";
 1702       outs() << "=<" << getValueStr(O, ValName) << '>';
 1898         outs().indent(NumSpaces) << ArgHelpPrefix << "  " << Description;
 1903       outs() << "  " << O.HelpStr << '\n';
 1906       outs() << "    " << PrintArg(Option);
 1920   outs() << "  " << PrintArg(O.ArgStr);
 1928     outs() << "= " << getOption(i);
 1931     outs().indent(NumSpaces) << " (default: ";
 1938     outs() << ")\n";
 1941   outs() << "= *unknown option value*\n";
 1980   outs() << "= " << V;
 1982   outs().indent(NumSpaces) << " (default: ";
 1986     outs() << "*no default*";
 1987   outs() << ")\n";
 1994   outs() << "= *cannot print option value*\n";
 2067       outs() << "  " << S.first;
 2067       outs() << "  " << S.first;
 2070         outs() << " - " << S.second->getDescription();
 2072       outs() << "\n";
 2103       outs() << "OVERVIEW: " << GlobalParser->ProgramOverview << "\n";
 2103       outs() << "OVERVIEW: " << GlobalParser->ProgramOverview << "\n";
 2106       outs() << "USAGE: " << GlobalParser->ProgramName;
 2108         outs() << " [subcommand]";
 2109       outs() << " [options]";
 2112         outs() << "SUBCOMMAND '" << Sub->getName()
 2113                << "': " << Sub->getDescription() << "\n\n";
 2113                << "': " << Sub->getDescription() << "\n\n";
 2115       outs() << "USAGE: " << GlobalParser->ProgramName << " " << Sub->getName()
 2115       outs() << "USAGE: " << GlobalParser->ProgramName << " " << Sub->getName()
 2116              << " [options]";
 2121         outs() << " --" << Opt->ArgStr;
 2122       outs() << " " << Opt->HelpStr;
 2127       outs() << " " << ConsumeAfterOpt->HelpStr;
 2135       outs() << "\n\n";
 2136       outs() << "SUBCOMMANDS:\n\n";
 2138       outs() << "\n";
 2139       outs() << "  Type \"" << GlobalParser->ProgramName
 2140              << " <subcommand> --help\" to get more help on a specific "
 2144     outs() << "\n\n";
 2151     outs() << "OPTIONS:\n";
 2226       outs() << "\n";
 2227       outs() << (*Category)->getName() << ":\n";
 2231         outs() << (*Category)->getDescription() << "\n\n";
 2233         outs() << "\n";
 2238         outs() << "  This option category has no options.\n";
 2374     OS << "LLVM (http://llvm.org/):\n  ";
 2376     OS << PACKAGE_NAME << " version " << PACKAGE_VERSION;
 2376     OS << PACKAGE_NAME << " version " << PACKAGE_VERSION;
 2376     OS << PACKAGE_NAME << " version " << PACKAGE_VERSION;
 2380     OS << "\n  ";
 2384     OS << "Optimized build";
 2387     OS << " with assertions";
 2393     OS << ".\n"
 2394        << "  Default target: " << sys::getDefaultTargetTriple() << '\n'
 2395        << "  Host CPU: " << CPU;
lib/Support/DAGDeltaAlgorithm.cpp
  227     llvm::errs() << "-- DAGDeltaAlgorithmImpl --\n";
  228     llvm::errs() << "Changes: [";
  232         llvm::errs() << ", ";
  236         llvm::errs() << "(";
  240             llvm::errs() << ", ";
  241           llvm::errs() << "->" << *it2;
  243         llvm::errs() << ")";
  246     llvm::errs() << "]\n";
  248     llvm::errs() << "Roots: [";
  253         llvm::errs() << ", ";
  256     llvm::errs() << "]\n";
  258     llvm::errs() << "Predecessor Closure:\n";
  266           llvm::errs() << ", ";
  269       llvm::errs() << "]\n";
  272     llvm::errs() << "Successor Closure:\n";
  280           llvm::errs() << ", ";
  283       llvm::errs() << "]\n";
  286     llvm::errs() << "\n\n";
  323       llvm::errs() << "DAG_DD - " << CurrentSet.size() << " active changes, "
  323       llvm::errs() << "DAG_DD - " << CurrentSet.size() << " active changes, "
  324                    << Required.size() << " required changes\n";
lib/Support/DebugCounter.cpp
   30     outs() << "  -" << ArgStr;
   39       outs() << "    =" << Info.first;
   40       outs().indent(NumSpaces) << " -   " << Info.second << '\n';
   74     errs() << "DebugCounter Error: " << Val << " does not have an = in it\n";
   74     errs() << "DebugCounter Error: " << Val << " does not have an = in it\n";
   81     errs() << "DebugCounter Error: " << CounterPair.second
   82            << " is not a number\n";
   91       errs() << "DebugCounter Error: " << CounterName
   92              << " is not a registered counter\n";
  104       errs() << "DebugCounter Error: " << CounterName
  105              << " is not a registered counter\n";
  114     errs() << "DebugCounter Error: " << CounterPair.first
  115            << " does not end with -skip or -count\n";
  125   OS << "Counters and values:\n";
  128     OS << left_justify(RegisteredCounters[CounterID], 32) << ": {"
  129        << Us.Counters[CounterID].Count << "," << Us.Counters[CounterID].Skip
  130        << "," << Us.Counters[CounterID].StopAfter << "}\n";
  130        << "," << Us.Counters[CounterID].StopAfter << "}\n";
lib/Support/Error.cpp
   67     OS << "\n";
  105   dbgs() << "Program aborted due to an unhandled Error:\n";
  109     dbgs() << "Error value was Success. (Note: Success values must still be "
lib/Support/ErrorHandling.cpp
  114     OS << "LLVM ERROR: " << Reason << "\n";
  114     OS << "LLVM ERROR: " << Reason << "\n";
  204     dbgs() << msg << "\n";
  204     dbgs() << msg << "\n";
  205   dbgs() << "UNREACHABLE executed";
  207     dbgs() << " at " << file << ":" << line;
  207     dbgs() << " at " << file << ":" << line;
  207     dbgs() << " at " << file << ":" << line;
  208   dbgs() << "!\n";
lib/Support/FileCheck.cpp
  740                             OS << "uses undefined variable(s):";
  743                           OS << " ";
  748         OS << "with \"";
  749         OS.write_escaped(Substitution->getFromString()) << "\" equal to \"";
  750         OS.write_escaped(*MatchedValue) << "\"";
 1270     errs() << "error: no check strings found with prefix"
 1271            << (Req.CheckPrefixes.size() > 1 ? "es " : " ");
 1275       errs() << "\'" << *I << ":'";
 1275       errs() << "\'" << *I << ":'";
 1279       errs() << ", \'" << *I << ":'";
 1279       errs() << ", \'" << *I << ":'";
lib/Support/FileCheckImpl.h
   76     OS << "\"";
   77     OS.write_escaped(VarName) << "\"";
  360     OS << "String not found in input";
lib/Support/FileUtilities.cpp
  157           << "Compared: " << V1 << " and " << V2 << '\n'
  157           << "Compared: " << V1 << " and " << V2 << '\n'
  158           << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n'
  158           << "abs. diff = " << std::abs(V1-V2) << " rel.diff = " << Diff << '\n'
  159           << "Out of tolerance: rel/abs: " << RelTolerance << '/'
  272   OS << "atomic_write_error: ";
  275     OS << "failed_to_create_uniq_file";
  278     OS << "output_stream_error";
  281     OS << "failed_to_rename_temp_file";
lib/Support/GraphWriter.cpp
   84     errs() << "Error: " << EC.message() << "\n";
   84     errs() << "Error: " << EC.message() << "\n";
   88   errs() << "Writing '" << Filename << "'... ";
   88   errs() << "Writing '" << Filename << "'... ";
   98       errs() << "Error: " << ErrMsg << "\n";
   98       errs() << "Error: " << ErrMsg << "\n";
  102     errs() << " done. \n";
  105     errs() << "Remember to erase graph file: " << Filename << "\n";
  105     errs() << "Remember to erase graph file: " << Filename << "\n";
  124       Log << "  Tried '" << Name << "'\n";
  124       Log << "  Tried '" << Name << "'\n";
  172     errs() << "Trying 'xdg-open' program... ";
  183     errs() << "Running 'Graphviz' program... ";
  196     errs() << "Running 'xdot.py' program... ";
  242     errs() << "Running '" << GeneratorPath << "' program... ";
  242     errs() << "Running '" << GeneratorPath << "' program... ";
  291     errs() << "Running 'dotty' program... ";
  295   errs() << "Error: Couldn't find a usable graph viewer program:\n";
  296   errs() << S.LogBuffer << "\n";
lib/Support/Host.cpp
   60     llvm::errs() << "Can't read "
   61                  << "/proc/cpuinfo: " << EC.message() << "\n";
   61                  << "/proc/cpuinfo: " << EC.message() << "\n";
 1239     llvm::errs() << "Can't read "
 1240                  << "/proc/cpuinfo: " << EC.message() << "\n";
 1240                  << "/proc/cpuinfo: " << EC.message() << "\n";
lib/Support/JSON.cpp
  597     OS << "null";
  601     OS << (*V.getAsBoolean() ? "true" : "false");
lib/Support/LockFileManager.cpp
  229       OSS << LockFileName.str() << " to " << UniqueLockFileName.str();
  275       OSS << ": " << ErrCodeMsg;
lib/Support/LowLevelType.cpp
   38     OS << "<" << getNumElements() << " x " << getElementType() << ">";
   38     OS << "<" << getNumElements() << " x " << getElementType() << ">";
   38     OS << "<" << getNumElements() << " x " << getElementType() << ">";
   40     OS << "p" << getAddressSpace();
   43     OS << "s" << getScalarSizeInBits();
   45     OS << "LLT_invalid";
lib/Support/Memory.cpp
   45   return OS << "[ " << MB.base() << " .. "
   45   return OS << "[ " << MB.base() << " .. "
   46             << (void *)((char *)MB.base() + MB.allocatedSize()) << " ] ("
   47             << MB.allocatedSize() << " bytes)";
lib/Support/NativeFormatting.cpp
  168     S << "nan";
  171     S << "INF";
  185   Out << "%." << Prec << Letter;
  244   S << Buf;
lib/Support/Optional.cpp
   13   return OS << "None";
lib/Support/PluginLoader.cpp
   29     errs() << "Error opening '" << Filename << "': " << Error
   29     errs() << "Error opening '" << Filename << "': " << Error
   30            << "\n  -load request ignored.\n";
lib/Support/PrettyStackTrace.cpp
   82     OS << ID++ << ".\t";
   98   OS << "Stack dump:\n";
  218 void PrettyStackTraceString::print(raw_ostream &OS) const { OS << Str << "\n"; }
  218 void PrettyStackTraceString::print(raw_ostream &OS) const { OS << Str << "\n"; }
  236 void PrettyStackTraceFormat::print(raw_ostream &OS) const { OS << Str << "\n"; }
  239   OS << "Program arguments: ";
  242     OS << ArgV[i] << ' ';
lib/Support/RandomNumberGenerator.cpp
   35              << "Warning! Using unseeded random number generator.\n");
lib/Support/ScaledNumber.cpp
  321   print(dbgs(), D, E, Width, 0) << "[" << Width << ":" << D << "*2^" << E
  321   print(dbgs(), D, E, Width, 0) << "[" << Width << ":" << D << "*2^" << E
  321   print(dbgs(), D, E, Width, 0) << "[" << Width << ":" << D << "*2^" << E
  322                                 << "]";
lib/Support/ScopedPrinter.cpp
   11   OS << "0x" << to_hexString(Value.Value);
   31       OS << ": " << Str;
   32     OS << " (\n";
   36          << "\n";
   37     startLine() << ")\n";
   39     startLine() << Label << ":";
   41       OS << " " << Str;
   42     OS << " (" << format_bytes(Data, None, Data.size(), 1, 0, true) << ")\n";
   42     OS << " (" << format_bytes(Data, None, Data.size(), 1, 0, true) << ")\n";
lib/Support/Signals.cpp
  154         Input << Modules[i] << " " << (void*)Offsets[i] << "\n";
  154         Input << Modules[i] << " " << (void*)Offsets[i] << "\n";
  154         Input << Modules[i] << " " << (void*)Offsets[i] << "\n";
  211         OS << "(" << Modules[i] << '+' << format_hex(Offsets[i], 0) << ")";
  211         OS << "(" << Modules[i] << '+' << format_hex(Offsets[i], 0) << ")";
  211         OS << "(" << Modules[i] << '+' << format_hex(Offsets[i], 0) << ")";
  212       OS << "\n";
lib/Support/SourceMgr.cpp
  158   OS << "Included from "
  160      << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n";
  160      << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n";
lib/Support/Statistic.cpp
  185   OS << "===" << std::string(73, '-') << "===\n"
  185   OS << "===" << std::string(73, '-') << "===\n"
  186      << "                          ... Statistics Collected ...\n"
  187      << "===" << std::string(73, '-') << "===\n\n";
  187      << "===" << std::string(73, '-') << "===\n\n";
  207   OS << "{\n";
  210     OS << delim;
  215     OS << "\t\"" << Stat->getDebugType() << '.' << Stat->getName() << "\": "
  215     OS << "\t\"" << Stat->getDebugType() << '.' << Stat->getName() << "\": "
  215     OS << "\t\"" << Stat->getDebugType() << '.' << Stat->getName() << "\": "
  215     OS << "\t\"" << Stat->getDebugType() << '.' << Stat->getName() << "\": "
  222   OS << "\n}\n";
lib/Support/StringExtras.cpp
   75       Out << "&amp;";
   77       Out << "&lt;";
   79       Out << "&gt;";
   81       Out << "&quot;";
   83       Out << "&apos;";
lib/Support/SystemUtils.cpp
   22       errs() << "WARNING: You're attempting to print out a bitcode file.\n"
lib/Support/TargetRegistry.cpp
  126   OS << "  Registered Targets:\n";
  128     OS << "    " << Targets[i].first;
  129     OS.indent(Width - Targets[i].first.size()) << " - "
  130       << Targets[i].second->getShortDescription() << '\n';
  133     OS << "    (none)\n";
lib/Support/Timer.cpp
   75   errs() << "Error opening info-output-file '"
   76     << OutputFilename << " for appending!\n";
  159     OS << "        -----     ";
  173   OS << "  ";
  310   OS << "===" << std::string(73, '-') << "===\n";
  310   OS << "===" << std::string(73, '-') << "===\n";
  315   OS << "===" << std::string(73, '-') << "===\n";
  315   OS << "===" << std::string(73, '-') << "===\n";
  326     OS << "   ---User Time---";
  328     OS << "   --System Time--";
  330     OS << "   --User+System--";
  331   OS << "   ---Wall Time---";
  333     OS << "  ---Mem---";
  334   OS << "  --- Name ---\n";
  344   OS << "Total\n\n";
  406   OS << "\t\"time." << Name << '.' << R.Name << suffix
  406   OS << "\t\"time." << Name << '.' << R.Name << suffix
  407      << "\": " << format("%.*e", max_digits10 - 1, Value);
  415     OS << delim;
  420     OS << delim;
  422     OS << delim;
  425       OS << delim;
lib/Support/Twine.cpp
   66     OS << Ptr.cString;
  111     OS << "null"; break;
  113     OS << "empty"; break;
  115     OS << "rope:";
  119     OS << "cstring:\""
  120        << Ptr.cString << "\"";
  120        << Ptr.cString << "\"";
  123     OS << "std::string:\""
  124        << Ptr.stdString << "\"";
  127     OS << "stringref:\""
  128        << Ptr.stringRef << "\"";
  131     OS << "smallstring:\"" << *Ptr.smallString << "\"";
  131     OS << "smallstring:\"" << *Ptr.smallString << "\"";
  134     OS << "formatv:\"" << *Ptr.formatvObject << "\"";
  134     OS << "formatv:\"" << *Ptr.formatvObject << "\"";
  137     OS << "char:\"" << Ptr.character << "\"";
  137     OS << "char:\"" << Ptr.character << "\"";
  140     OS << "decUI:\"" << Ptr.decUI << "\"";
  140     OS << "decUI:\"" << Ptr.decUI << "\"";
  143     OS << "decI:\"" << Ptr.decI << "\"";
  143     OS << "decI:\"" << Ptr.decI << "\"";
  146     OS << "decUL:\"" << *Ptr.decUL << "\"";
  146     OS << "decUL:\"" << *Ptr.decUL << "\"";
  149     OS << "decL:\"" << *Ptr.decL << "\"";
  149     OS << "decL:\"" << *Ptr.decL << "\"";
  152     OS << "decULL:\"" << *Ptr.decULL << "\"";
  152     OS << "decULL:\"" << *Ptr.decULL << "\"";
  155     OS << "decLL:\"" << *Ptr.decLL << "\"";
  155     OS << "decLL:\"" << *Ptr.decLL << "\"";
  158     OS << "uhex:\"" << Ptr.uHex << "\"";
  158     OS << "uhex:\"" << Ptr.uHex << "\"";
  169   OS << "(Twine ";
  171   OS << " ";
  173   OS << ")";
lib/Support/VirtualFileSystem.cpp
 1120     OS << " ";
 1121   OS << "'" << Name.str().c_str() << "'"
 1121   OS << "'" << Name.str().c_str() << "'"
 1121   OS << "'" << Name.str().c_str() << "'"
 1122      << "\n";
 1931   OS.indent(Indent) << "{\n";
 1932   OS.indent(Indent + 2) << "'type': 'directory',\n";
 1933   OS.indent(Indent + 2) << "'name': \"" << llvm::yaml::escape(Name) << "\",\n";
 1933   OS.indent(Indent + 2) << "'name': \"" << llvm::yaml::escape(Name) << "\",\n";
 1934   OS.indent(Indent + 2) << "'contents': [\n";
 1939   OS.indent(Indent + 2) << "]\n";
 1940   OS.indent(Indent) << "}";
 1947   OS.indent(Indent) << "{\n";
 1948   OS.indent(Indent + 2) << "'type': 'file',\n";
 1949   OS.indent(Indent + 2) << "'name': \"" << llvm::yaml::escape(VPath) << "\",\n";
 1949   OS.indent(Indent + 2) << "'name': \"" << llvm::yaml::escape(VPath) << "\",\n";
 1950   OS.indent(Indent + 2) << "'external-contents': \""
 1951                         << llvm::yaml::escape(RPath) << "\"\n";
 1952   OS.indent(Indent) << "}";
 1962   OS << "{\n"
 1965     OS << "  'case-sensitive': '"
 1966        << (IsCaseSensitive.getValue() ? "true" : "false") << "',\n";
 1966        << (IsCaseSensitive.getValue() ? "true" : "false") << "',\n";
 1968     OS << "  'use-external-names': '"
 1969        << (UseExternalNames.getValue() ? "true" : "false") << "',\n";
 1969        << (UseExternalNames.getValue() ? "true" : "false") << "',\n";
 1973     OS << "  'overlay-relative': '" << (UseOverlayRelative ? "true" : "false")
 1973     OS << "  'overlay-relative': '" << (UseOverlayRelative ? "true" : "false")
 1974        << "',\n";
 1976   OS << "  'roots': [\n";
 1995         OS << ",\n";
 1998           OS << "\n";
 2001         OS << ",\n";
 2015       OS << "\n";
 2018     OS << "\n";
 2021   OS << "  ]\n"
 2022      << "}\n";
lib/Support/WithColor.cpp
   71     OS << Prefix << ": ";
   73          << "error: ";
   79     OS << Prefix << ": ";
   81          << "warning: ";
   87     OS << Prefix << ": ";
   88   return WithColor(OS, HighlightColor::Note, DisableColors).get() << "note: ";
   94     OS << Prefix << ": ";
   96          << "remark: ";
lib/Support/YAMLParser.cpp
  600       OS << "Stream-Start: ";
  603       OS << "Stream-End: ";
  606       OS << "Version-Directive: ";
  609       OS << "Tag-Directive: ";
  612       OS << "Document-Start: ";
  615       OS << "Document-End: ";
  618       OS << "Block-Entry: ";
  621       OS << "Block-End: ";
  624       OS << "Block-Sequence-Start: ";
  627       OS << "Block-Mapping-Start: ";
  630       OS << "Flow-Entry: ";
  633       OS << "Flow-Sequence-Start: ";
  636       OS << "Flow-Sequence-End: ";
  639       OS << "Flow-Mapping-Start: ";
  642       OS << "Flow-Mapping-End: ";
  645       OS << "Key: ";
  648       OS << "Value: ";
  651       OS << "Scalar: ";
  654       OS << "Block Scalar: ";
  657       OS << "Alias: ";
  660       OS << "Anchor: ";
  663       OS << "Tag: ";
  668     OS << T.Range << "\n";
lib/Support/YAMLTraits.cpp
  763   Out << "\n";
  854   Out << (Val ? "true" : "false");
lib/Support/raw_ostream.cpp
  159       *this << "-";
  434       *this << ": ";
  444         *this << " ";
  454       *this << "|";
lib/TableGen/Error.cpp
   42 void PrintNote(const Twine &Msg) { WithColor::note() << Msg << "\n"; }
   56 void PrintWarning(const Twine &Msg) { WithColor::warning() << Msg << "\n"; }
   66 void PrintError(const Twine &Msg) { WithColor::error() << Msg << "\n"; }
lib/TableGen/JSONBackend.cpp
  182   OS << json::Value(std::move(root)) << "\n";
lib/TableGen/Main.cpp
   56   errs() << ProgName << ": " << Msg;
   56   errs() << ProgName << ": " << Msg;
   74   DepOut.os() << OutputFilename << ":";
   78   DepOut.os() << "\n";
lib/TableGen/Record.cpp
 2023   if (getPrefix()) OS << "field ";
 2024   OS << *getType() << " " << getNameInitAsString();
 2027     OS << " = " << *getValue();
 2029   if (PrintSem) OS << ";\n";
 2130     OS << "<";
 2133       if (NeedComma) OS << ", ";
 2139     OS << ">";
 2142   OS << " {";
 2145     OS << "\t//";
 2147       OS << " " << SuperPair.first->getNameInitAsString();
 2149   OS << "\n";
 2158   return OS << "}\n";
 2341   OS << "------------- Classes -----------------\n";
 2343     OS << "class " << *C.second;
 2345   OS << "------------- Defs -----------------\n";
 2347     OS << "def " << *D.second;
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 << "] != '"
   92       OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '"
   92       OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '"
   93       << Matches[0]->first[CharNo] << "')\n";
   94       OS << Indent << "  break;\n";
   98       OS << Indent << "if (memcmp(" << StrVariableName << ".data()+" << CharNo
   98       OS << Indent << "if (memcmp(" << StrVariableName << ".data()+" << CharNo
   99          << ", \"" << Matches[0]->first.substr(CharNo, NumChars) << "\", "
   99          << ", \"" << Matches[0]->first.substr(CharNo, NumChars) << "\", "
  100          << NumChars << ") != 0)\n";
  101       OS << Indent << "  break;\n";
  110   OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n";
  110   OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n";
  110   OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n";
  111   OS << Indent << "default: break;\n";
  116     OS << Indent << "case '" << LI->first << "':\t // "
  116     OS << Indent << "case '" << LI->first << "':\t // "
  117        << LI->second.size() << " string";
  119     OS << " to match.\n";
  122       OS << Indent << "  break;\n";
  125   OS << Indent << "}\n";
  143   OS.indent(Indent*2+2) << "switch (" << StrVariableName << ".size()) {\n";
  143   OS.indent(Indent*2+2) << "switch (" << StrVariableName << ".size()) {\n";
  144   OS.indent(Indent*2+2) << "default: break;\n";
  148     OS.indent(Indent*2+2) << "case " << LI->first << ":\t // "
  148     OS.indent(Indent*2+2) << "case " << LI->first << ":\t // "
  150        << " string" << (LI->second.size() == 1 ? "" : "s") << " to match.\n";
  150        << " string" << (LI->second.size() == 1 ? "" : "s") << " to match.\n";
  150        << " string" << (LI->second.size() == 1 ? "" : "s") << " to match.\n";
  152       OS.indent(Indent*2+4) << "break;\n";
  155   OS.indent(Indent*2+2) << "}\n";
lib/TableGen/TGParser.cpp
   59   errs() << "Multiclass:\n";
   63   errs() << "Template args:\n";
 2322       errs() << "Cannot find template arg " << ArgN << " (" << TArgs[ArgN]
 2322       errs() << "Cannot find template arg " << ArgN << " (" << TArgs[ArgN]
 2323         << ")\n";
 3226   errs() << "foreach " << IterVar->getAsString() << " = "
 3226   errs() << "foreach " << IterVar->getAsString() << " = "
 3227          << ListValue->getAsString() << " in {\n";
 3232   errs() << "}\n";
 3236   errs() << "Record:\n";
 3239   errs() << "Defs:\n";
lib/Target/AArch64/AArch64A53Fix835769.cpp
  118   LLVM_DEBUG(dbgs() << "***** AArch64A53Fix835769 *****\n");
  192   LLVM_DEBUG(dbgs() << "Running on MBB: " << MBB
  193                     << " - scanning instructions...\n");
  209     LLVM_DEBUG(dbgs() << "  Examining: " << MI);
  211       LLVM_DEBUG(dbgs() << "    PrevInstr: " << *PrevInstr
  212                         << "    CurrInstr: " << *CurrInstr
  213                         << "    isFirstInstructionInSequence(PrevInstr): "
  214                         << isFirstInstructionInSequence(PrevInstr) << "\n"
  215                         << "    isSecondInstructionInSequence(CurrInstr): "
  216                         << isSecondInstructionInSequence(CurrInstr) << "\n");
  219         LLVM_DEBUG(dbgs() << "   ** pattern found at Idx " << Idx << "!\n");
  219         LLVM_DEBUG(dbgs() << "   ** pattern found at Idx " << Idx << "!\n");
  228   LLVM_DEBUG(dbgs() << "Scan complete, " << Sequences.size()
  229                     << " occurrences of pattern found.\n");
lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
  289     OS << "{";
  291     OS << " -> ";
  294       OS << " (kill @ ";
  296       OS << ")";
  298     OS << "}";
  317   LLVM_DEBUG(dbgs() << "***** AArch64A57FPLoadBalancing *****\n");
  332   LLVM_DEBUG(dbgs() << "Running on MBB: " << MBB
  333                     << " - scanning instructions...\n");
  346   LLVM_DEBUG(dbgs() << "Scan complete, " << AllChains.size()
  347                     << " chains created.\n");
  364   LLVM_DEBUG(dbgs() << "Created " << EC.getNumClasses() << " disjoint sets.\n");
  364   LLVM_DEBUG(dbgs() << "Created " << EC.getNumClasses() << " disjoint sets.\n");
  443   LLVM_DEBUG(dbgs() << "colorChainSet(): #sets=" << GV.size() << "\n");
  443   LLVM_DEBUG(dbgs() << "colorChainSet(): #sets=" << GV.size() << "\n");
  473     LLVM_DEBUG(dbgs() << " - Parity=" << Parity
  474                       << ", Color=" << ColorNames[(int)C] << "\n");
  474                       << ", Color=" << ColorNames[(int)C] << "\n");
  474                       << ", Color=" << ColorNames[(int)C] << "\n");
  481       LLVM_DEBUG(dbgs() << " - " << G->str()
  482                         << " - not worthwhile changing; "
  484                         << ColorNames[(int)C] << "\n");
  484                         << ColorNames[(int)C] << "\n");
  533   LLVM_DEBUG(dbgs() << " - colorChain(" << G->str() << ", "
  533   LLVM_DEBUG(dbgs() << " - colorChain(" << G->str() << ", "
  534                     << ColorNames[(int)C] << ")\n");
  534                     << ColorNames[(int)C] << ")\n");
  540     LLVM_DEBUG(dbgs() << "Scavenging (thus coloring) failed!\n");
  543   LLVM_DEBUG(dbgs() << " - Scavenged register: " << printReg(Reg, TRI) << "\n");
  543   LLVM_DEBUG(dbgs() << " - Scavenged register: " << printReg(Reg, TRI) << "\n");
  591     LLVM_DEBUG(dbgs() << " - Kill instruction seen.\n");
  595     LLVM_DEBUG(dbgs() << " - Destination register not changed.\n");
  616     LLVM_DEBUG(dbgs() << "New chain started for register "
  617                       << printReg(DestReg, TRI) << " at " << *MI);
  636       LLVM_DEBUG(dbgs() << "Chain found for accumulator register "
  637                         << printReg(AccumReg, TRI) << " in MI " << *MI);
  646         LLVM_DEBUG(dbgs() << "Instruction was successfully added to chain.\n");
  657           dbgs() << "Cannot add to chain because accumulator operand wasn't "
  658                  << "marked <kill>!\n");
  662     LLVM_DEBUG(dbgs() << "Creating new chain for dest register "
  663                       << printReg(DestReg, TRI) << "\n");
  691       LLVM_DEBUG(dbgs() << "Kill seen for chain " << printReg(MO.getReg(), TRI)
  692                         << "\n");
  702         LLVM_DEBUG(dbgs() << "Kill (regmask) seen for chain "
  703                           << printReg(I->first, TRI) << "\n");
lib/Target/AArch64/AArch64AdvSIMDScalarPass.cpp
  279   LLVM_DEBUG(dbgs() << "    adding copy: " << *MIB);
  288   LLVM_DEBUG(dbgs() << "Scalar transform: " << MI);
  393   LLVM_DEBUG(dbgs() << "***** AArch64AdvSIMDScalar *****\n");
lib/Target/AArch64/AArch64AsmPrinter.cpp
  508     O << AArch64InstPrinter::getRegisterName(Reg);
  541   O << AArch64InstPrinter::getRegisterName(Reg);
  556   O << AArch64InstPrinter::getRegisterName(RegToPrint, AltName);
  582         O << AArch64InstPrinter::getRegisterName(Reg);
  662   O << "[" << AArch64InstPrinter::getRegisterName(MO.getReg()) << "]";
  662   O << "[" << AArch64InstPrinter::getRegisterName(MO.getReg()) << "]";
  662   O << "[" << AArch64InstPrinter::getRegisterName(MO.getReg()) << "]";
  670   OS << '\t' << MAI->getCommentString() << "DEBUG_VALUE: ";
  674   OS << " <- ";
  682   OS << "+";
lib/Target/AArch64/AArch64BranchTargets.cpp
   65       dbgs() << "********** AArch64 Branch Targets  **********\n"
   66              << "********** Function: " << MF.getName() << '\n');
  105   LLVM_DEBUG(dbgs() << "Adding BTI " << (CouldJump ? "j" : "")
  105   LLVM_DEBUG(dbgs() << "Adding BTI " << (CouldJump ? "j" : "")
  106                     << (CouldCall ? "c" : "") << " to " << MBB.getName()
  106                     << (CouldCall ? "c" : "") << " to " << MBB.getName()
  107                     << "\n");
lib/Target/AArch64/AArch64CallLowering.cpp
  285         LLVM_DEBUG(dbgs() << "Can't handle extended arg types which need split");
  320                   LLVM_DEBUG(dbgs() << "Outgoing vector ret has too many elts");
  342               LLVM_DEBUG(dbgs() << "Could not handle ret ty");
  582     LLVM_DEBUG(dbgs() << "... Could not analyze call operands.\n");
  589     LLVM_DEBUG(dbgs() << "... Cannot fit call operands on caller's stack.\n");
  612             << "... Cannot tail call vararg function with stack arguments\n");
  626         << "... Call has an argument passed in a callee-saved register.\n");
  633           dbgs() << "... Cannot handle arguments in multiple registers.\n");
  644           << "... Parameter was not copied into a VReg, cannot tail call.\n");
  651       LLVM_DEBUG(dbgs() << "... Callee-saved register was not copied into "
  673   LLVM_DEBUG(dbgs() << "Attempting to lower call as tail call\n");
  680     LLVM_DEBUG(dbgs() << "... Cannot handle tail calls with swifterror yet.\n");
  685     LLVM_DEBUG(dbgs() << "... Calling convention cannot be tail called.\n");
  709     LLVM_DEBUG(dbgs() << "... Cannot tail call from callers with byval, "
  727       LLVM_DEBUG(dbgs() << "... Cannot tail call externally-defined function "
  750         << "... Caller and callee have incompatible calling conventions.\n");
  758       dbgs() << "... Call is eligible for tail call optimization.\n");
  794         dbgs() << "Cannot lower indirect tail calls with BTI enabled yet.\n");
  950     LLVM_DEBUG(dbgs() << "Failed to lower musttail call as tail call\n");
lib/Target/AArch64/AArch64CollectLOH.cpp
  387     LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpAdrp:\n"
  397       LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpAdd:\n"
  404         LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpLdr:\n"
  411       LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpAddLdr:\n"
  419         LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpAddStr:\n"
  427       LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpLdrGotLdr:\n"
  434       LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpLdrGotStr:\n"
  441       LLVM_DEBUG(dbgs() << "Adding MCLOH_AdrpLdrGot:\n"
  506   LLVM_DEBUG(dbgs() << "********** AArch64 Collect LOH **********\n"
  507                     << "Looking in function " << MF.getName() << '\n');
lib/Target/AArch64/AArch64CondBrTuning.cpp
  203       LLVM_DEBUG(dbgs() << "  Replacing instructions:\n    ");
  205       LLVM_DEBUG(dbgs() << "    ");
  262       LLVM_DEBUG(dbgs() << "  Replacing instructions:\n    ");
  264       LLVM_DEBUG(dbgs() << "    ");
  277   LLVM_DEBUG(dbgs() << "  with instruction:\n    ");
  279   LLVM_DEBUG(dbgs() << "    ");
  296       dbgs() << "********** AArch64 Conditional Branch Tuning  **********\n"
  297              << "********** Function: " << MF.getName() << '\n');
lib/Target/AArch64/AArch64ConditionOptimizer.cpp
  175         LLVM_DEBUG(dbgs() << "Immediate of cmp is symbolic, " << *I << '\n');
  178         LLVM_DEBUG(dbgs() << "Immediate of cmp may be out of range, " << *I
  182         LLVM_DEBUG(dbgs() << "Destination of cmp is not dead, " << *I << '\n');
  210   LLVM_DEBUG(dbgs() << "Flags not defined in " << printMBBReference(*MBB)
  329   LLVM_DEBUG(dbgs() << "********** AArch64 Conditional Compares **********\n"
  330                     << "********** Function: " << MF.getName() << '\n');
  388     LLVM_DEBUG(dbgs() << "Head branch:\n");
  389     LLVM_DEBUG(dbgs() << "\tcondition: " << AArch64CC::getCondCodeName(HeadCmp)
  389     LLVM_DEBUG(dbgs() << "\tcondition: " << AArch64CC::getCondCodeName(HeadCmp)
  391     LLVM_DEBUG(dbgs() << "\timmediate: " << HeadImm << '\n');
  393     LLVM_DEBUG(dbgs() << "True branch:\n");
  394     LLVM_DEBUG(dbgs() << "\tcondition: " << AArch64CC::getCondCodeName(TrueCmp)
  394     LLVM_DEBUG(dbgs() << "\tcondition: " << AArch64CC::getCondCodeName(TrueCmp)
  396     LLVM_DEBUG(dbgs() << "\timmediate: " << TrueImm << '\n');
lib/Target/AArch64/AArch64ConditionalCompares.cpp
  313     LLVM_DEBUG(dbgs() << "Flags not used by terminator: " << *I);
  331         LLVM_DEBUG(dbgs() << "Immediate out of range for ccmp: " << *I);
  342       LLVM_DEBUG(dbgs() << "Can't convert compare with live destination: "
  361       LLVM_DEBUG(dbgs() << "Can't create ccmp with multiple uses: " << *I);
  367       LLVM_DEBUG(dbgs() << "Not convertible compare: " << *I);
  372   LLVM_DEBUG(dbgs() << "Flags not defined in " << printMBBReference(*MBB)
  387     LLVM_DEBUG(dbgs() << printMBBReference(*MBB) << " has live-ins.\n");
  400       LLVM_DEBUG(dbgs() << printMBBReference(*MBB) << " has more than "
  401                         << BlockInstrLimit << " instructions.\n");
  407       LLVM_DEBUG(dbgs() << "Can't hoist: " << I);
  415       LLVM_DEBUG(dbgs() << "Won't speculate load: " << I);
  422       LLVM_DEBUG(dbgs() << "Can't speculate: " << I);
  428       LLVM_DEBUG(dbgs() << "Clobbers flags: " << I);
  462   LLVM_DEBUG(dbgs() << "\nTriangle: " << printMBBReference(*Head) << " -> "
  462   LLVM_DEBUG(dbgs() << "\nTriangle: " << printMBBReference(*Head) << " -> "
  463                     << printMBBReference(*CmpBB) << " -> "
  474     LLVM_DEBUG(dbgs() << "Can't handle phis in Tail.\n");
  480     LLVM_DEBUG(dbgs() << "Can't handle live-in physregs in Tail.\n");
  488     LLVM_DEBUG(dbgs() << "Can't handle phis in CmpBB.\n");
  494     LLVM_DEBUG(dbgs() << "Can't handle live-in physregs in CmpBB.\n");
  503     LLVM_DEBUG(dbgs() << "Head branch not analyzable.\n");
  512         dbgs() << "AnalyzeBranch didn't find conditional branch in Head.\n");
  518     LLVM_DEBUG(dbgs() << "Unsupported branch type on Head\n");
  532     LLVM_DEBUG(dbgs() << "CmpBB branch not analyzable.\n");
  539         dbgs() << "AnalyzeBranch didn't find conditional branch in CmpBB.\n");
  545     LLVM_DEBUG(dbgs() << "Unsupported branch type on CmpBB\n");
  553   LLVM_DEBUG(dbgs() << "Head->CmpBB on "
  554                     << AArch64CC::getCondCodeName(HeadCmpBBCC)
  555                     << ", CmpBB->Tail on "
  556                     << AArch64CC::getCondCodeName(CmpBBTailCC) << '\n');
  570   LLVM_DEBUG(dbgs() << "Merging " << printMBBReference(*CmpBB) << " into "
  570   LLVM_DEBUG(dbgs() << "Merging " << printMBBReference(*CmpBB) << " into "
  571                     << printMBBReference(*Head) << ":\n"
  717   LLVM_DEBUG(dbgs() << "Result:\n" << *Head);
  867     LLVM_DEBUG(dbgs() << "Code size delta:  " << CodeSizeDelta << '\n');
  873       LLVM_DEBUG(dbgs() << "Code size is increasing, give up on this one.\n");
  892   LLVM_DEBUG(dbgs() << "Head depth:  " << HeadDepth
  893                     << "\nCmpBB depth: " << CmpBBDepth << '\n');
  895     LLVM_DEBUG(dbgs() << "Branch delay would be larger than " << DelayLimit
  896                       << " cycles.\n");
  903   LLVM_DEBUG(dbgs() << "Resources:   " << ResDepth << '\n');
  909     LLVM_DEBUG(dbgs() << "Too many instructions to speculate.\n");
  929   LLVM_DEBUG(dbgs() << "********** AArch64 Conditional Compares **********\n"
  930                     << "********** Function: " << MF.getName() << '\n');
lib/Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp
  124       LLVM_DEBUG(dbgs() << "    Ignoring, operand is frame index\n");
  132           << "    Ignoring, XZR or WZR already used by the instruction\n");
  137       LLVM_DEBUG(dbgs() << "    Ignoring, semantics change with xzr/wzr.\n");
  153       LLVM_DEBUG(dbgs() << "  Dead def operand #" << I << " in:\n    ";
  153       LLVM_DEBUG(dbgs() << "  Dead def operand #" << I << " in:\n    ";
  157         LLVM_DEBUG(dbgs() << "    Ignoring, def is tied operand.\n");
  163         LLVM_DEBUG(dbgs() << "    Ignoring, register is not a GPR.\n");
  170         LLVM_DEBUG(dbgs() << "    Ignoring, register is not a GPR.\n");
  173       LLVM_DEBUG(dbgs() << "    Replacing with zero register. New:\n      ");
  194   LLVM_DEBUG(dbgs() << "***** AArch64DeadRegisterDefinitions *****\n");
lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
  171       LLVM_DEBUG(dbgs() << "Load: " << I << " marked as strided\n");
  171       LLVM_DEBUG(dbgs() << "Load: " << I << " marked as strided\n");
  733       LLVM_DEBUG(dbgs() << "Attempting to fix tag collision: " << MI);
  736         LLVM_DEBUG(dbgs() << "Skipping fix due to debug counter:\n  " << MI);
  761         LLVM_DEBUG(dbgs() << "Changing base reg to: "
  780           LLVM_DEBUG(dbgs() << "Doing post MOV of incremented reg: "
lib/Target/AArch64/AArch64FrameLowering.cpp
 2029     LLVM_DEBUG(dbgs() << "CSR spill: (" << printReg(Reg1, TRI);
 2030                if (RPI.isPaired()) dbgs() << ", " << printReg(Reg2, TRI);
 2031                dbgs() << ") -> fi#(" << RPI.FrameIdx;
 2032                if (RPI.isPaired()) dbgs() << ", " << RPI.FrameIdx + 1;
 2033                dbgs() << ")\n");
 2120     LLVM_DEBUG(dbgs() << "CSR restore: (" << printReg(Reg1, TRI);
 2121                if (RPI.isPaired()) dbgs() << ", " << printReg(Reg2, TRI);
 2122                dbgs() << ") -> fi#(" << RPI.FrameIdx;
 2123                if (RPI.isPaired()) dbgs() << ", " << RPI.FrameIdx + 1;
 2124                dbgs() << ")\n");
 2245   LLVM_DEBUG(dbgs() << "*** determineCalleeSaves\nSaved CSRs:";
 2249              dbgs() << "\n";);
 2276       LLVM_DEBUG(dbgs() << "Spilling " << printReg(UnspilledCSGPR, RegInfo)
 2277                         << " to get a scratch register.\n");
 2296       LLVM_DEBUG(dbgs() << "No available CS registers, allocated fi#" << FI
 2297                         << " as the emergency spill slot.\n");
 2304   LLVM_DEBUG(dbgs() << "Estimated stack frame size: "
 2306                << " bytes.\n");
 2392   LLVM_DEBUG(dbgs() << "Offset from the SP for " << FI << " is "
 2392   LLVM_DEBUG(dbgs() << "Offset from the SP for " << FI << " is "
 2393                     << MFI.getObjectOffset(FI) << "\n");
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
 1607                 << ": Found large shift immediate, this should not happen\n"));
 1751                 << ": Found large shift immediate, this should not happen\n"));
 2872     LLVM_DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n");
 2872     LLVM_DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n");
lib/Target/AArch64/AArch64ISelLowering.cpp
 1582   LLVM_DEBUG(dbgs() << "Is imm " << C
 1583                     << " legal: " << (IsLegal ? "yes\n" : "no\n"));
 1583                     << " legal: " << (IsLegal ? "yes\n" : "no\n"));
 2961   LLVM_DEBUG(dbgs() << "Custom lowering: ");
 4308   LLVM_DEBUG(dbgs() << "AArch64TargetLowering::getGOT\n");
 4321   LLVM_DEBUG(dbgs() << "AArch64TargetLowering::getAddrLarge\n");
 4337   LLVM_DEBUG(dbgs() << "AArch64TargetLowering::getAddr\n");
 4351   LLVM_DEBUG(dbgs() << "AArch64TargetLowering::getAddrTiny\n");
 5740   LLVM_DEBUG(dbgs() << (IsLegal ? "Legal " : "Illegal ") << VT.getEVTString()
 5741                     << " imm value: "; Imm.dump(););
 6256   LLVM_DEBUG(dbgs() << "AArch64TargetLowering::ReconstructShuffle\n");
 6293           dbgs() << "Reshuffle failed: "
 6314         dbgs() << "Reshuffle failed: currently only do something sane when at "
 6362           dbgs() << "Reshuffle failed: span too large for a VEXT to cope\n");
 6443     LLVM_DEBUG(dbgs() << "Reshuffle failed: illegal shuffle mask\n");
 6455   LLVM_DEBUG(dbgs() << "Reshuffle, creating node: "; Shuffle.dump();
 6456              dbgs() << "Reshuffle, creating node: "; V.dump(););
 7415   LLVM_DEBUG(dbgs() << "aarch64-lower: transformed: \n");
 7417   LLVM_DEBUG(dbgs() << "into: \n");
 7615         dbgs() << "LowerBUILD_VECTOR: value undefined, creating undef node\n");
 7623     LLVM_DEBUG(dbgs() << "LowerBUILD_VECTOR: only low element used, creating 1 "
 7696             dbgs() << "LowerBUILD_VECTOR: use DUP for non-constant splats\n");
 7706             dbgs() << "LowerBUILD_VECTOR: DUPLANE works on 128-bit vectors, "
 7721           dbgs() << "LowerBUILD_VECTOR: float constant splats, creating int "
 7728       LLVM_DEBUG(dbgs() << "LowerBUILD_VECTOR: trying to lower new vector: ";
 7765         dbgs() << "LowerBUILD_VECTOR: all elements are constant, use default "
 7784         dbgs() << "LowerBUILD_VECTOR: alternatives failed, creating sequence "
 7802       LLVM_DEBUG(dbgs() << "Creating node for op0, it is not undefined:\n");
 7807                    << "Creating nodes for the other vector elements:\n";);
 7819       dbgs() << "LowerBUILD_VECTOR: use default expansion, failed to find "
 9096     LLVM_DEBUG(dbgs() << "Illegal add imm " << Immed
 9097                       << ": avoid UB for INT64_MIN\n");
 9104   LLVM_DEBUG(dbgs() << "Is " << Immed
 9105                     << " legal add imm: " << (IsLegal ? "yes" : "no") << "\n");
 9105                     << " legal add imm: " << (IsLegal ? "yes" : "no") << "\n");
 9105                     << " legal add imm: " << (IsLegal ? "yes" : "no") << "\n");
 9952       dbgs() << "aarch64-lower: bitcast extract_subvector simplification\n");
10041       dbgs() << "aarch64-lower: concat_vectors bitcast simplification\n");
11720     LLVM_DEBUG(dbgs() << "Custom combining: skipping\n");
lib/Target/AArch64/AArch64InstructionSelector.cpp
  389         dbgs() << "Couldn't find appropriate subregister for register class.");
  408     LLVM_DEBUG(dbgs() << "Generic binop register should be typed\n");
  416       LLVM_DEBUG(dbgs() << "Generic inst non-reg operands are unsupported\n");
  425       LLVM_DEBUG(dbgs() << "Generic inst has physical register operand\n");
  431       LLVM_DEBUG(dbgs() << "Generic register has no bank or class\n");
  436       LLVM_DEBUG(dbgs() << "Generic inst operands have different banks\n");
  657     LLVM_DEBUG(dbgs() << "Unexpected dest size "
  688       LLVM_DEBUG(dbgs() << "Couldn't determine source register class\n");
  708         LLVM_DEBUG(dbgs() << "Couldn't determine subregister for copy.\n");
  747     LLVM_DEBUG(dbgs() << "Failed to constrain " << TII.getName(I.getOpcode())
  748                       << " operand\n");
 1028     LLVM_DEBUG(dbgs() << "Unhandled G_SHL type");
 1070     LLVM_DEBUG(dbgs() << "Unhandled G_ASHR type");
 1343           LLVM_DEBUG(dbgs() << "PHI operand has no type, not a gvreg?\n");
 1349           LLVM_DEBUG(dbgs() << "PHI operand has unexpected size/bank\n");
 1368         dbgs() << "Generic instruction has unexpected implicit operands\n");
 1399       LLVM_DEBUG(dbgs() << "G_BRCOND has type: " << Ty
 1400                         << ", expected at most 32-bits");
 1455       LLVM_DEBUG(dbgs() << "Dst type for G_BSWAP currently unsupported.\n");
 1463       LLVM_DEBUG(dbgs() << "Unsupported number of elements for G_BSWAP.\n");
 1502         LLVM_DEBUG(dbgs() << "Unable to materialize FP " << Ty
 1503                           << " constant, expected: " << s32 << " or " << s64
 1503                           << " constant, expected: " << s32 << " or " << s64
 1509         LLVM_DEBUG(dbgs() << "Unable to materialize FP " << Ty
 1510                           << " constant on bank: " << RB
 1511                           << ", expected: FPR\n");
 1522         LLVM_DEBUG(dbgs() << "Unable to materialize integer " << Ty
 1523                           << " constant, expected: " << s32 << ", " << s64
 1523                           << " constant, expected: " << s32 << ", " << s64
 1524                           << ", or " << p0 << '\n');
 1529         LLVM_DEBUG(dbgs() << "Unable to materialize integer " << Ty
 1530                           << " constant on bank: " << RB
 1531                           << ", expected: GPR\n");
 1559         LLVM_DEBUG(dbgs() << "Failed to constrain G_FCONSTANT def operand\n");
 1676       LLVM_DEBUG(dbgs() << "G_FRAME_INDEX pointer has type: " << Ty
 1677                         << ", expected: " << LLT::pointer(0, 64) << '\n');
 1725       LLVM_DEBUG(dbgs() << "Load/Store pointer has type: " << PtrTy
 1726                         << ", expected: " << LLT::pointer(0, 64) << '\n');
 1739       LLVM_DEBUG(dbgs() << "Atomic load/store not fully supported yet\n");
 1831       LLVM_DEBUG(dbgs() << "G_[SU]MULH on bank: " << RB << ", expected: GPR\n");
 1831       LLVM_DEBUG(dbgs() << "G_[SU]MULH on bank: " << RB << ", expected: GPR\n");
 1836       LLVM_DEBUG(dbgs() << "G_[SU]MULH has type: " << Ty
 1837                         << ", expected: " << LLT::scalar(64) << '\n');
 1899           << "G_UADDO currently only supported for 32 and 64 b types.\n");
 1905       LLVM_DEBUG(dbgs() << "G_UADDO currently only supported for scalars.\n");
 1954           dbgs() << "G_TRUNC/G_PTRTOINT input/output on different banks\n");
 1971         LLVM_DEBUG(dbgs() << "Failed to constrain G_TRUNC/G_PTRTOINT\n");
 1986             dbgs() << "Unhandled mismatched classes in G_TRUNC/G_PTRTOINT\n");
 2019       LLVM_DEBUG(dbgs() << "G_ANYEXT on bank: " << RBDst
 2020                         << ", expected: GPR\n");
 2026       LLVM_DEBUG(dbgs() << "G_ANYEXT on bank: " << RBSrc
 2027                         << ", expected: GPR\n");
 2034       LLVM_DEBUG(dbgs() << "G_ANYEXT operand has no size, not a gvreg?\n");
 2039       LLVM_DEBUG(dbgs() << "G_ANYEXT to size: " << DstSize
 2040                         << ", expected: 32 or 64\n");
 2098         LLVM_DEBUG(dbgs() << "Failed to constrain " << TII.getName(Opcode)
 2099                           << " operand\n");
 2159       LLVM_DEBUG(dbgs() << "G_SELECT cond has type: " << Ty
 2160                         << ", expected: " << LLT::scalar(1) << '\n');
 2195       LLVM_DEBUG(dbgs() << "G_ICMP result has type: " << Ty
 2196                         << ", expected: " << LLT::scalar(32) << '\n');
 2212       LLVM_DEBUG(dbgs() << "G_FCMP result has type: " << Ty
 2213                         << ", expected: " << LLT::scalar(32) << '\n');
 2445     LLVM_DEBUG(dbgs() << "Unsupported type for G_INTRINSIC_TRUNC!\n");
 2500     LLVM_DEBUG(dbgs() << "Unsupported type for G_INTRINSIC_ROUND!\n");
 2647     LLVM_DEBUG(dbgs() << "Could not map G_ICMP to cmp opcode");
 2655     LLVM_DEBUG(dbgs() << "Could not determine source register class.\n");
 2798     LLVM_DEBUG(dbgs() << "Elt size '" << EltSize << "' unsupported.\n");
 2798     LLVM_DEBUG(dbgs() << "Elt size '" << EltSize << "' unsupported.\n");
 2812         dbgs() << "Couldn't determine lane copy opcode for instruction.\n");
 2819     LLVM_DEBUG(dbgs() << "Could not determine destination register class.\n");
 2828     LLVM_DEBUG(dbgs() << "Could not determine source register class.\n");
 2882     LLVM_DEBUG(dbgs() << "Cannot extract into GPR.\n");
 2913     LLVM_DEBUG(dbgs() << "Unexpected vector type for vec split unmerge");
 2944     LLVM_DEBUG(dbgs() << "Unmerging vector-to-gpr and scalar-to-scalar "
 3040     LLVM_DEBUG(dbgs() << "Couldn't constrain copy destination.\n");
 3100     LLVM_DEBUG(dbgs() << "Could not load from constant pool of type "
 3284     LLVM_DEBUG(dbgs() << "Could not do vector concat of differing vector tys");
 3290     LLVM_DEBUG(dbgs() << "Vector concat not supported for full size vectors");
 3296     LLVM_DEBUG(dbgs() << "Vector concat supported for 64b vectors");
 3310     LLVM_DEBUG(dbgs() << "Could not emit a vector from scalar value");
 3435       LLVM_DEBUG(dbgs() << "Couldn't emit compare for select!\n");
 3614     LLVM_DEBUG(dbgs() << "Could not optimize splat pattern < 128b yet");
 3669     LLVM_DEBUG(dbgs() << "Could not select a \"scalar\" G_SHUFFLE_VECTOR\n");
 3692     LLVM_DEBUG(dbgs() << "Could not load from a constant pool");
 3701       LLVM_DEBUG(dbgs() << "Could not do vector concat for tbl1");
 3825       LLVM_DEBUG(dbgs() << "Unsupported register class!\n");
 3832       LLVM_DEBUG(dbgs() << "Unsupported destination size! (" << VecSize
 3833                         << "\n");
 3892       LLVM_DEBUG(dbgs() << "Unsupported register class!\n");
 3900       LLVM_DEBUG(dbgs() << "Unsupported destination size! (" << DstSize
 3901                         << "\n");
lib/Target/AArch64/AArch64LegalizerInfo.cpp
  702     LLVM_DEBUG(dbgs() << "Tried to do custom legalization on wrong load/store");
lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
  772   LLVM_DEBUG(dbgs() << "Creating wider store. Replacing instructions:\n    ");
  774   LLVM_DEBUG(dbgs() << "    ");
  776   LLVM_DEBUG(dbgs() << "  with instruction:\n    ");
  778   LLVM_DEBUG(dbgs() << "\n");
  891       dbgs() << "Creating pair load/store. Replacing instructions:\n    ");
  893   LLVM_DEBUG(dbgs() << "    ");
  895   LLVM_DEBUG(dbgs() << "  with instruction:\n    ");
  910     LLVM_DEBUG(dbgs() << "\n");
  927     LLVM_DEBUG(dbgs() << "  Extend operand:\n    ");
  932   LLVM_DEBUG(dbgs() << "\n");
  970       LLVM_DEBUG(dbgs() << "Remove load instruction:\n    ");
  972       LLVM_DEBUG(dbgs() << "\n");
 1044   LLVM_DEBUG(dbgs() << "Promoting load by replacing :\n    ");
 1046   LLVM_DEBUG(dbgs() << "    ");
 1048   LLVM_DEBUG(dbgs() << "  with instructions:\n    ");
 1050   LLVM_DEBUG(dbgs() << "    ");
 1052   LLVM_DEBUG(dbgs() << "\n");
 1421     LLVM_DEBUG(dbgs() << "Creating pre-indexed load/store.");
 1424     LLVM_DEBUG(dbgs() << "Creating post-indexed load/store.");
 1426   LLVM_DEBUG(dbgs() << "    Replacing instructions:\n    ");
 1428   LLVM_DEBUG(dbgs() << "    ");
 1430   LLVM_DEBUG(dbgs() << "  with instruction:\n    ");
 1432   LLVM_DEBUG(dbgs() << "\n");
lib/Target/AArch64/AArch64PBQPRegAlloc.cpp
  166     LLVM_DEBUG(dbgs() << "Rd is a physical reg:"
  168     LLVM_DEBUG(dbgs() << "Ra is a physical reg:"
  249       LLVM_DEBUG(dbgs() << "Moving acc chain from " << printReg(Ra, TRI)
  250                         << " to " << printReg(Rd, TRI) << '\n';);
  255     LLVM_DEBUG(dbgs() << "Creating new acc chain for " << printReg(Rd, TRI)
  281       LLVM_DEBUG(dbgs() << "Refining constraint !\n";);
  342           LLVM_DEBUG(dbgs() << "Killing chain " << printReg(r, TRI) << " at ";
  342           LLVM_DEBUG(dbgs() << "Killing chain " << printReg(r, TRI) << " at ";
lib/Target/AArch64/AArch64PromoteConstant.cpp
  382       LLVM_DEBUG(dbgs() << "Insertion point dominated by:\n");
  410       LLVM_DEBUG(dbgs() << "Merge insertion point with:\n");
  412       LLVM_DEBUG(dbgs() << "\nat considered insertion point.\n");
  432     LLVM_DEBUG(dbgs() << "Merge insertion point with:\n");
  445   LLVM_DEBUG(dbgs() << "Considered use, opidx " << OpNo << ":\n");
  445   LLVM_DEBUG(dbgs() << "Considered use, opidx " << OpNo << ":\n");
  451   LLVM_DEBUG(dbgs() << "Considered insertion point:\n");
  462   LLVM_DEBUG(dbgs() << "Keep considered insertion point\n");
  478   LLVM_DEBUG(dbgs() << "Global replacement: ");
  498     LLVM_DEBUG(dbgs() << "**********\n");
  499     LLVM_DEBUG(dbgs() << "New def: ");
  511         dbgs() << "Use to update " << Use.second << ":";
  511         dbgs() << "Use to update " << Use.second << ":";
  526     LLVM_DEBUG(dbgs() << "** Compute insertion points **\n");
lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
  414             LLVM_DEBUG(dbgs() << "Remove redundant Copy : " << *MI);
  416             LLVM_DEBUG(dbgs() << "Remove redundant Move : " << *MI);
  460   LLVM_DEBUG(dbgs() << "Clearing kill flags.\n\tFirstUse: " << *FirstUse
  461                     << "\tLastChange: " << *LastChange);
lib/Target/AArch64/AArch64SpeculationHardening.cpp
  242   LLVM_DEBUG(dbgs() << "Instrument control flow tracking on MBB: " << MBB);
  250     LLVM_DEBUG(dbgs() << "... doesn't end with CondControlFlow\n");
  271     LLVM_DEBUG(dbgs() << "SplitEdgeTBB: " << *SplitEdgeTBB << "\n");
  271     LLVM_DEBUG(dbgs() << "SplitEdgeTBB: " << *SplitEdgeTBB << "\n");
  272     LLVM_DEBUG(dbgs() << "SplitEdgeFBB: " << *SplitEdgeFBB << "\n");
  272     LLVM_DEBUG(dbgs() << "SplitEdgeFBB: " << *SplitEdgeFBB << "\n");
  308     LLVM_DEBUG(dbgs() << "RS finds "
  309                       << ((TmpReg == 0) ? "no register " : "register ");
  310                if (TmpReg != 0) dbgs() << printReg(TmpReg, TRI) << " ";
  311                dbgs() << "to be available at MI " << MI);
  334           << " About to insert Reg to SP taint propagation with temp register "
  336           << " on instruction: " << *MI_Reg.first);
  343       LLVM_DEBUG(dbgs() << " About to insert Reg to SP and back taint "
  346                         << " around instruction: " << *MI_Reg.first);
  449   LLVM_DEBUG(dbgs() << "About to harden register : " << Reg << "\n");
  449   LLVM_DEBUG(dbgs() << "About to harden register : " << Reg << "\n");
  462   LLVM_DEBUG(dbgs() << "slhLoads running on MBB: " << MBB);
  475     LLVM_DEBUG(dbgs() << "About to harden: " << MI);
  669         dbgs() << "***** AArch64SpeculationHardening - automatic insertion of "
  678       << "***** AArch64SpeculationHardening - track control flow *****\n");
lib/Target/AArch64/AArch64StackTagging.cpp
  183     LLVM_DEBUG(dbgs() << "Combined initializer\n");
  222     LLVM_DEBUG(dbgs() << "  [" << Offset << ", " << Offset + Size
  222     LLVM_DEBUG(dbgs() << "  [" << Offset << ", " << Offset + Size
  223                       << ") zero\n");
  232     LLVM_DEBUG(dbgs() << "  [" << Offset << ", " << Offset + Size
  232     LLVM_DEBUG(dbgs() << "  [" << Offset << ", " << Offset + Size
  233                       << ") undef\n");
  241     LLVM_DEBUG(dbgs() << "  [" << Offset << ", " << Offset + 16 << "):\n");
  241     LLVM_DEBUG(dbgs() << "  [" << Offset << ", " << Offset + 16 << "):\n");
  241     LLVM_DEBUG(dbgs() << "  [" << Offset << ", " << Offset + 16 << "):\n");
  242     LLVM_DEBUG(dbgs() << "    " << *A << "\n    " << *B << "\n");
  242     LLVM_DEBUG(dbgs() << "    " << *A << "\n    " << *B << "\n");
  242     LLVM_DEBUG(dbgs() << "    " << *A << "\n    " << *B << "\n");
  418     LLVM_DEBUG(dbgs() << "collecting initializers for " << *AI
  419                       << ", size = " << Size << "\n");
  419                       << ", size = " << Size << "\n");
lib/Target/AArch64/AArch64StackTaggingPreRA.cpp
  186   LLVM_DEBUG(dbgs() << "********** AArch64 Stack Tagging PreRA **********\n"
  187                     << "********** Function: " << MF->getName() << '\n');
lib/Target/AArch64/AArch64StorePairSuppress.cpp
   93       LLVM_DEBUG(dbgs() << "  Suppress STP in BB: " << BB->getNumber()
   94                         << " resources " << ResLength << " -> " << ResLenWithSTP
   94                         << " resources " << ResLength << " -> " << ResLenWithSTP
   95                         << "\n");
  133   LLVM_DEBUG(dbgs() << "*** " << getPassName() << ": " << MF.getName() << '\n');
  133   LLVM_DEBUG(dbgs() << "*** " << getPassName() << ": " << MF.getName() << '\n');
  136     LLVM_DEBUG(dbgs() << "  Skipping pass: no machine model present.\n");
  160           LLVM_DEBUG(dbgs() << "Unpairing store " << MI << "\n");
  160           LLVM_DEBUG(dbgs() << "Unpairing store " << MI << "\n");
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  757   LLVM_DEBUG(dbgs() << "falkor-hwpf: detected " << StridedLoads
  758                     << " strided loads\n");
  763     LLVM_DEBUG(dbgs() << "falkor-hwpf: setting unroll MaxCount to "
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 2005     OS << "<fpimm " << getFPImm().bitcastToAPInt().getZExtValue();
 2007       OS << " (inexact)";
 2008     OS << ">";
 2013       OS << "<barrier " << Name << ">";
 2013       OS << "<barrier " << Name << ">";
 2015       OS << "<barrier invalid #" << getBarrier() << ">";
 2015       OS << "<barrier invalid #" << getBarrier() << ">";
 2023     OS << "<shiftedimm ";
 2025     OS << ", lsl #" << AArch64_AM::getShiftValue(Shift) << ">";
 2025     OS << ", lsl #" << AArch64_AM::getShiftValue(Shift) << ">";
 2029     OS << "<condcode " << getCondCode() << ">";
 2029     OS << "<condcode " << getCondCode() << ">";
 2032     OS << "<vectorlist ";
 2035       OS << Reg + i << " ";
 2036     OS << ">";
 2040     OS << "<vectorindex " << getVectorIndex() << ">";
 2040     OS << "<vectorindex " << getVectorIndex() << ">";
 2043     OS << "<sysreg: " << getSysReg() << '>';
 2046     OS << "'" << getToken() << "'";
 2046     OS << "'" << getToken() << "'";
 2049     OS << "c" << getSysCR();
 2054       OS << "<prfop " << Name << ">";
 2054       OS << "<prfop " << Name << ">";
 2056       OS << "<prfop invalid #" << getPrefetch() << ">";
 2056       OS << "<prfop invalid #" << getPrefetch() << ">";
 2063     OS << "<register " << getReg() << ">";
 2063     OS << "<register " << getReg() << ">";
 2071     OS << "<" << AArch64_AM::getShiftExtendName(getShiftExtendType()) << " #"
 2071     OS << "<" << AArch64_AM::getShiftExtendName(getShiftExtendType()) << " #"
 2071     OS << "<" << AArch64_AM::getShiftExtendName(getShiftExtendType()) << " #"
 2074       OS << "<imp>";
lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp
   88         CommentStream << "symbol stub for: " << ReferenceName;
   88         CommentStream << "symbol stub for: " << ReferenceName;
   91         CommentStream << "Objc message: " << ReferenceName;
   91         CommentStream << "Objc message: " << ReferenceName;
  136         CommentStream << "literal pool symbol address: " << ReferenceName;
  136         CommentStream << "literal pool symbol address: " << ReferenceName;
  139         CommentStream << "literal pool for: \"";
  141         CommentStream << "\"";
  144         CommentStream << "Objc cfstring ref: @\"" << ReferenceName << "\"";
  144         CommentStream << "Objc cfstring ref: @\"" << ReferenceName << "\"";
  144         CommentStream << "Objc cfstring ref: @\"" << ReferenceName << "\"";
  147         CommentStream << "Objc message: " << ReferenceName;
  147         CommentStream << "Objc message: " << ReferenceName;
  150         CommentStream << "Objc message ref: " << ReferenceName;
  150         CommentStream << "Objc message ref: " << ReferenceName;
  153         CommentStream << "Objc selector ref: " << ReferenceName;
  153         CommentStream << "Objc selector ref: " << ReferenceName;
  156         CommentStream << "Objc class ref: " << ReferenceName;
  156         CommentStream << "Objc class ref: " << ReferenceName;
lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
   59   OS << "\t.inst\t0x" << Twine::utohexstr(Inst) << "\n";
   59   OS << "\t.inst\t0x" << Twine::utohexstr(Inst) << "\n";
lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
   56   OS << getRegisterName(RegNo);
  108         O << '\t' << AsmMnemonic << '\t' << getRegisterName(Op0.getReg())
  108         O << '\t' << AsmMnemonic << '\t' << getRegisterName(Op0.getReg())
  109           << ", " << getRegisterName(getWRegFromXReg(Op1.getReg()));
  109           << ", " << getRegisterName(getWRegFromXReg(Op1.getReg()));
  144         O << '\t' << AsmMnemonic << '\t' << getRegisterName(Op0.getReg())
  144         O << '\t' << AsmMnemonic << '\t' << getRegisterName(Op0.getReg())
  145           << ", " << getRegisterName(Op1.getReg()) << ", #" << shift;
  145           << ", " << getRegisterName(Op1.getReg()) << ", #" << shift;
  145           << ", " << getRegisterName(Op1.getReg()) << ", #" << shift;
  153       O << '\t' << (IsSigned ? "sbfiz" : "ubfiz") << '\t'
  154         << getRegisterName(Op0.getReg()) << ", " << getRegisterName(Op1.getReg())
  154         << getRegisterName(Op0.getReg()) << ", " << getRegisterName(Op1.getReg())
  154         << getRegisterName(Op0.getReg()) << ", " << getRegisterName(Op1.getReg())
  155         << ", #" << (Is64Bit ? 64 : 32) - Op2.getImm() << ", #" << Op3.getImm() + 1;
  155         << ", #" << (Is64Bit ? 64 : 32) - Op2.getImm() << ", #" << Op3.getImm() + 1;
  161     O << '\t' << (IsSigned ? "sbfx" : "ubfx") << '\t'
  162       << getRegisterName(Op0.getReg()) << ", " << getRegisterName(Op1.getReg())
  162       << getRegisterName(Op0.getReg()) << ", " << getRegisterName(Op1.getReg())
  162       << getRegisterName(Op0.getReg()) << ", " << getRegisterName(Op1.getReg())
  163       << ", #" << Op2.getImm() << ", #" << Op3.getImm() - Op2.getImm() + 1;
  163       << ", #" << Op2.getImm() << ", #" << Op3.getImm() - Op2.getImm() + 1;
  182       O << "\tbfc\t" << getRegisterName(Op0.getReg())
  182       O << "\tbfc\t" << getRegisterName(Op0.getReg())
  183         << ", #" << LSB << ", #" << Width;
  183         << ", #" << LSB << ", #" << Width;
  192       O << "\tbfi\t" << getRegisterName(Op0.getReg()) << ", "
  192       O << "\tbfi\t" << getRegisterName(Op0.getReg()) << ", "
  192       O << "\tbfi\t" << getRegisterName(Op0.getReg()) << ", "
  193         << getRegisterName(Op2.getReg()) << ", #" << LSB << ", #" << Width;
  193         << getRegisterName(Op2.getReg()) << ", #" << LSB << ", #" << Width;
  193         << getRegisterName(Op2.getReg()) << ", #" << LSB << ", #" << Width;
  201     O << "\tbfxil\t"
  202       << getRegisterName(Op0.getReg()) << ", " << getRegisterName(Op2.getReg())
  202       << getRegisterName(Op0.getReg()) << ", " << getRegisterName(Op2.getReg())
  202       << getRegisterName(Op0.getReg()) << ", " << getRegisterName(Op2.getReg())
  203       << ", #" << LSB << ", #" << Width;
  203       << ", #" << LSB << ", #" << Width;
  215       O << "\tmovz\t";
  217       O << "\tmovn\t";
  219     O << getRegisterName(MI->getOperand(0).getReg()) << ", #";
  219     O << getRegisterName(MI->getOperand(0).getReg()) << ", #";
  226     O << "\tmovk\t" << getRegisterName(MI->getOperand(0).getReg()) << ", #";
  226     O << "\tmovk\t" << getRegisterName(MI->getOperand(0).getReg()) << ", #";
  226     O << "\tmovk\t" << getRegisterName(MI->getOperand(0).getReg()) << ", #";
  244       O << "\tmov\t" << getRegisterName(MI->getOperand(0).getReg()) << ", #"
  244       O << "\tmov\t" << getRegisterName(MI->getOperand(0).getReg()) << ", #"
  244       O << "\tmov\t" << getRegisterName(MI->getOperand(0).getReg()) << ", #"
  259       O << "\tmov\t" << getRegisterName(MI->getOperand(0).getReg()) << ", #"
  259       O << "\tmov\t" << getRegisterName(MI->getOperand(0).getReg()) << ", #"
  259       O << "\tmov\t" << getRegisterName(MI->getOperand(0).getReg()) << ", #"
  273       O << "\tmov\t" << getRegisterName(MI->getOperand(0).getReg()) << ", #"
  273       O << "\tmov\t" << getRegisterName(MI->getOperand(0).getReg()) << ", #"
  273       O << "\tmov\t" << getRegisterName(MI->getOperand(0).getReg()) << ", #"
  280     O << '\t' << MAI.getCommentString() << " COMPILER BARRIER";
  288     O << "\ttsb\tcsync";
  709     O << "\t" << (IsTbx ? "tbx" : "tbl") << Layout << '\t'
  709     O << "\t" << (IsTbx ? "tbx" : "tbl") << Layout << '\t'
  710       << getRegisterName(MI->getOperand(0).getReg(), AArch64::vreg) << ", ";
  710       << getRegisterName(MI->getOperand(0).getReg(), AArch64::vreg) << ", ";
  715     O << ", "
  716       << getRegisterName(MI->getOperand(ListOpNum + 1).getReg(), AArch64::vreg);
  722     O << "\t" << LdStDesc->Mnemonic << LdStDesc->Layout << '\t';
  722     O << "\t" << LdStDesc->Mnemonic << LdStDesc->Layout << '\t';
  722     O << "\t" << LdStDesc->Mnemonic << LdStDesc->Layout << '\t';
  734     O << ", [" << getRegisterName(AddrReg) << ']';
  734     O << ", [" << getRegisterName(AddrReg) << ']';
  740         O << ", " << getRegisterName(Reg);
  740         O << ", " << getRegisterName(Reg);
  743         O << ", #" << LdStDesc->NaturalOffset;
  862     O << ", " << getRegisterName(MI->getOperand(4).getReg());
  862     O << ", " << getRegisterName(MI->getOperand(4).getReg());
  873     O << getRegisterName(Reg);
  886   O << "#" << formatImm(Op.getImm());
  902       O << "#" << Imm;
  904       O << getRegisterName(Reg);
  915   O << getRegisterName(Reg, AArch64::vreg);
  923   O << "c" << Op.getImm();
  953   O << "#0x";
  965   O << ", " << AArch64_AM::getShiftExtendName(AArch64_AM::getShiftType(Val))
  965   O << ", " << AArch64_AM::getShiftExtendName(AArch64_AM::getShiftType(Val))
  966     << " #" << AArch64_AM::getShiftValue(Val);
  972   O << getRegisterName(MI->getOperand(OpNum).getReg());
  979   O << getRegisterName(MI->getOperand(OpNum).getReg());
 1001         O << ", lsl #" << ShiftVal;
 1005   O << ", " << AArch64_AM::getShiftExtendName(ExtType);
 1005   O << ", " << AArch64_AM::getShiftExtendName(ExtType);
 1007     O << " #" << ShiftVal;
 1016     O << "lsl";
 1018     O << (SignExtend ? 's' : 'u') << "xt" << SrcRegKind;
 1021     O << " #" << Log2_32(Width / 8);
 1045     O << ", ";
 1054   O << AArch64CC::getCondCodeName(CC);
 1061   O << AArch64CC::getCondCodeName(AArch64CC::getInvertedCondCode(CC));
 1067   O << '[' << getRegisterName(MI->getOperand(OpNum).getReg()) << ']';
 1081     O << "#" << formatImm(MO.getImm() * Scale);
 1091   O << '[' << getRegisterName(MI->getOperand(OpNum).getReg());
 1093       O << ", #" << formatImm(MO1.getImm() * Scale);
 1096     O << ", ";
 1109       O << PRFM->Name;
 1113     O << PRFM->Name;
 1126     O << PSB->Name;
 1137     O << BTI->Name;
 1247   O << getRegisterName(Even) << ", " << getRegisterName(Odd);
 1247   O << getRegisterName(Even) << ", " << getRegisterName(Odd);
 1247   O << getRegisterName(Even) << ", " << getRegisterName(Odd);
 1256   O << "{ ";
 1292       O << getRegisterName(Reg) << LayoutSuffix;
 1294       O << getRegisterName(Reg, AArch64::vreg) << LayoutSuffix;
 1297       O << ", ";
 1300   O << " }";
 1327   O << "[" << MI->getOperand(OpNum).getImm() << "]";
 1327   O << "[" << MI->getOperand(OpNum).getImm() << "]";
 1338     O << "#" << formatImm(Op.getImm() * 4);
 1347     O << "0x";
 1363     O << "#" << formatImm(Op.getImm() * (1 << 12));
 1391     O << "#" << Val;
 1403     O << "DBGDTRRX_EL0";
 1409     O << Reg->Name;
 1423     O << "DBGDTRTX_EL0";
 1429     O << Reg->Name;
 1441     O << PState->Name;
 1443     O << "#" << formatImm(Val);
 1459   O << "#" << (Val * Angle) + Remainder;
 1467     O << Pat->Name;
 1488   O << getRegisterName(Reg);
 1570   O << getRegisterName(Reg - AArch64::Z0 + Base);
 1580   O << "#" << (Val ? Imm1Desc->Repr : Imm0Desc->Repr);
 1580   O << "#" << (Val ? Imm1Desc->Repr : Imm0Desc->Repr);
 1587   O << getRegisterName(getWRegFromXReg(Reg));
lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.cpp
   25     OS << "<not set>\n";
   30     OS << "Reg " << printReg(getRegister(), TRI);
   32     OS << "Stack offset " << getStackOffset();
   35     OS << " & ";
   57     OS << "Arguments for " << FI.first->getName() << '\n'
   58        << "  PrivateSegmentBuffer: " << FI.second.PrivateSegmentBuffer
   59        << "  DispatchPtr: " << FI.second.DispatchPtr
   60        << "  QueuePtr: " << FI.second.QueuePtr
   61        << "  KernargSegmentPtr: " << FI.second.KernargSegmentPtr
   62        << "  DispatchID: " << FI.second.DispatchID
   63        << "  FlatScratchInit: " << FI.second.FlatScratchInit
   64        << "  PrivateSegmentSize: " << FI.second.PrivateSegmentSize
   65        << "  WorkGroupIDX: " << FI.second.WorkGroupIDX
   66        << "  WorkGroupIDY: " << FI.second.WorkGroupIDY
   67        << "  WorkGroupIDZ: " << FI.second.WorkGroupIDZ
   68        << "  WorkGroupInfo: " << FI.second.WorkGroupInfo
   69        << "  PrivateSegmentWaveByteOffset: "
   71        << "  ImplicitBufferPtr: " << FI.second.ImplicitBufferPtr
   72        << "  ImplicitArgPtr: " << FI.second.ImplicitArgPtr
   73        << "  WorkItemIDX " << FI.second.WorkItemIDX
   74        << "  WorkItemIDY " << FI.second.WorkItemIDY
   75        << "  WorkItemIDZ " << FI.second.WorkItemIDZ
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
   43   errs() << "AMDGPU HSA Metadata:\n" << HSAMetadataString << '\n';
   47   errs() << "AMDGPU HSA Metadata Parser Test: ";
   51     errs() << "FAIL\n";
   57     errs() << "FAIL\n";
   61   errs() << (HSAMetadataString == ToHSAMetadataString ? "PASS" : "FAIL")
   64     errs() << "Original input: " << HSAMetadataString << '\n'
   65            << "Produced output: " << ToHSAMetadataString << '\n';
  491   errs() << "AMDGPU HSA Metadata:\n" << HSAMetadataString << '\n';
  495   errs() << "AMDGPU HSA Metadata Parser Test: ";
  500     errs() << "FAIL\n";
  508   errs() << (HSAMetadataString == StrOS.str() ? "PASS" : "FAIL") << '\n';
  510     errs() << "Original input: " << HSAMetadataString << '\n'
  511            << "Produced output: " << StrOS.str() << '\n';
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  501     LLVM_DEBUG(dbgs() << "After PreProcess:\n";
lib/Target/AMDGPU/AMDGPUInline.cpp
  169       LLVM_DEBUG(dbgs() << "    Wrapper only call detected: "
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  193       LLVM_DEBUG(dbgs() << "PHI operand has no type, not a gvreg?\n");
  199       LLVM_DEBUG(dbgs() << "illegal scc phi\n");
  205       LLVM_DEBUG(dbgs() << "PHI operand has unexpected size/bank\n");
 1202     LLVM_DEBUG(dbgs() << "Failed to constrain G_TRUNC\n");
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
 1847     LLVM_DEBUG(dbgs() << "Required arg register missing\n");
lib/Target/AMDGPU/AMDGPULibCalls.cpp
  535       DEBUG_WITH_TYPE("usenative", dbgs() << "<useNative> replace " << *aCI
  536                                           << " with native version of sin/cos");
  566   DEBUG_WITH_TYPE("usenative", dbgs() << "<useNative> replace " << *aCI
  567                                       << " with native version");
  778       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *nval << "\n");
  778       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *nval << "\n");
  778       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *nval << "\n");
  788           LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *nval << "\n");
  788           LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *nval << "\n");
  788           LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *nval << "\n");
  809     LLVM_DEBUG(dbgs() << "AMDIC: " << *CI << " ---> ");
  809     LLVM_DEBUG(dbgs() << "AMDIC: " << *CI << " ---> ");
  831     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *nval << "\n");
  831     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *nval << "\n");
  831     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *nval << "\n");
  909     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> 1\n");
  909     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> 1\n");
  919     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr0 << "\n");
  919     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr0 << "\n");
  919     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr0 << "\n");
  925     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr0 << " * " << *opr0
  925     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr0 << " * " << *opr0
  925     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr0 << " * " << *opr0
  926                       << "\n");
  933     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> 1 / " << *opr0 << "\n");
  933     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> 1 / " << *opr0 << "\n");
  933     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> 1 / " << *opr0 << "\n");
  951       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> "
  951       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> "
  952                         << FInfo.getName().c_str() << "(" << *opr0 << ")\n");
  952                         << FInfo.getName().c_str() << "(" << *opr0 << ")\n");
  952                         << FInfo.getName().c_str() << "(" << *opr0 << ")\n");
 1008     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> "
 1008     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> "
 1009                       << ((ci_opr1 < 0) ? "1/prod(" : "prod(") << *opr0
 1010                       << ")\n");
 1147   LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> "
 1147   LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> "
 1148                     << "exp2(" << *opr1 << " * log2(" << *opr0 << "))\n");
 1148                     << "exp2(" << *opr1 << " * log2(" << *opr0 << "))\n");
 1148                     << "exp2(" << *opr1 << " * log2(" << *opr0 << "))\n");
 1165     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr0 << "\n");
 1165     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr0 << "\n");
 1165     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr0 << "\n");
 1173       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> sqrt(" << *opr0 << ")\n");
 1173       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> sqrt(" << *opr0 << ")\n");
 1173       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> sqrt(" << *opr0 << ")\n");
 1182       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> cbrt(" << *opr0 << ")\n");
 1182       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> cbrt(" << *opr0 << ")\n");
 1182       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> cbrt(" << *opr0 << ")\n");
 1188     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> 1.0 / " << *opr0 << "\n");
 1188     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> 1.0 / " << *opr0 << "\n");
 1188     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> 1.0 / " << *opr0 << "\n");
 1198       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> rsqrt(" << *opr0
 1198       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> rsqrt(" << *opr0
 1199                         << ")\n");
 1218     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr2 << "\n");
 1218     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr2 << "\n");
 1218     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr2 << "\n");
 1224     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr1 << " + " << *opr2
 1224     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr1 << " + " << *opr2
 1224     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr1 << " + " << *opr2
 1225                       << "\n");
 1232     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr0 << " + " << *opr2
 1232     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr0 << " + " << *opr2
 1232     LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr0 << " + " << *opr2
 1233                       << "\n");
 1241       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr0 << " * "
 1241       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr0 << " * "
 1241       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> " << *opr0 << " * "
 1242                         << *opr1 << "\n");
 1270       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> "
 1270       LLVM_DEBUG(errs() << "AMDIC: " << *CI << " ---> "
 1271                         << "sqrt(" << *opr0 << ")\n");
 1271                         << "sqrt(" << *opr0 << ")\n");
 1361   LLVM_DEBUG(errs() << "AMDIC: fold_sincos (" << *CI << ", " << *UI << ") with "
 1361   LLVM_DEBUG(errs() << "AMDIC: fold_sincos (" << *CI << ", " << *UI << ") with "
 1361   LLVM_DEBUG(errs() << "AMDIC: fold_sincos (" << *CI << ", " << *UI << ") with "
 1362                     << *Call << "\n");
 1396   LLVM_DEBUG(errs() << "AMDIC: fold_wavefrontsize (" << *CI << ") with "
 1396   LLVM_DEBUG(errs() << "AMDIC: fold_wavefrontsize (" << *CI << ") with "
 1397                << N << "\n");
 1749   LLVM_DEBUG(dbgs() << "AMDIC: process function ";
 1766       LLVM_DEBUG(dbgs() << "AMDIC: try folding " << *CI << "\n";
 1766       LLVM_DEBUG(dbgs() << "AMDIC: try folding " << *CI << "\n";
lib/Target/AMDGPU/AMDGPULibFunc.cpp
  714     OS << Pfx << Name;
  716     OS << Pfx;
  801     if (subst == 0) os << "S_";
  833       if (AS != 0) os << "U3AS" << AS;
  841       os << "Dv" << static_cast<unsigned>(p.VectorSize) << '_';
  844     os << getItaniumTypeName((AMDGPULibFunc::EType)p.ArgType);
  859   S << "_Z" << static_cast<int>(NameStr.size()) << NameStr;
lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
  267   dbgs() << "=PHIInfo Start=\n";
  270     dbgs() << "Dest: " << printReg(Element.DestReg, TRI)
  271            << " Sources: {";
  274              << "),";
  276     dbgs() << "}\n";
  278   dbgs() << "=PHIInfo End=\n";
  481       dbgs() << "  ";
  502     dbgs() << "MBB: " << getMBB()->getNumber();
  503     dbgs() << " In: " << printReg(getBBSelectRegIn(), TRI);
  504     dbgs() << ", Out: " << printReg(getBBSelectRegOut(), TRI) << "\n";
  504     dbgs() << ", Out: " << printReg(getBBSelectRegOut(), TRI) << "\n";
  552     dbgs() << "Region: " << (void *)Region;
  553     dbgs() << " In: " << printReg(getBBSelectRegIn(), TRI);
  554     dbgs() << ", Out: " << printReg(getBBSelectRegOut(), TRI) << "\n";
  554     dbgs() << ", Out: " << printReg(getBBSelectRegOut(), TRI) << "\n";
  558       dbgs() << "Succ: " << getSucc()->getNumber() << "\n";
  558       dbgs() << "Succ: " << getSucc()->getNumber() << "\n";
  560       dbgs() << "Succ: none \n";
  661     LLVM_DEBUG(dbgs() << "Visiting " << printMBBReference(*MBB) << "\n");
  661     LLVM_DEBUG(dbgs() << "Visiting " << printMBBReference(*MBB) << "\n");
  698     LLVM_DEBUG(dbgs() << "Considering Register: " << printReg(Reg, TRI)
  699                       << "\n");
  703       LLVM_DEBUG(dbgs() << "Add LiveOut (PHI): " << printReg(Reg, TRI) << "\n");
  703       LLVM_DEBUG(dbgs() << "Add LiveOut (PHI): " << printReg(Reg, TRI) << "\n");
  709           LLVM_DEBUG(dbgs() << "Add LiveOut (MBB " << printMBBReference(*MBB)
  710                             << "): " << printReg(Reg, TRI) << "\n");
  710                             << "): " << printReg(Reg, TRI) << "\n");
  721               LLVM_DEBUG(dbgs() << "Add LiveOut (Loop): " << printReg(Reg, TRI)
  722                                 << "\n");
  738     LLVM_DEBUG(dbgs() << "Considering Register: " << printReg(Reg, TRI)
  739                       << "\n");
  742         LLVM_DEBUG(dbgs() << "Add LiveOut (Region " << (void *)Region
  743                           << "): " << printReg(Reg, TRI) << "\n");
  743                           << "): " << printReg(Reg, TRI) << "\n");
  754   LLVM_DEBUG(dbgs() << "-Store Live Outs Begin (" << printMBBReference(*MBB)
  755                     << ")-\n");
  780                        << "Add LiveOut (PhiSource " << printMBBReference(*MBB)
  781                        << " -> " << printMBBReference(*(*SI))
  782                        << "): " << printReg(PHIReg, TRI) << "\n");
  782                        << "): " << printReg(PHIReg, TRI) << "\n");
  790   LLVM_DEBUG(dbgs() << "-Store Live Outs Endn-\n");
  850             LLVM_DEBUG(dbgs() << "Add Region LiveOut (" << (void *)Region
  851                               << "): " << printReg(PHIReg, TRI) << "\n");
  851                               << "): " << printReg(PHIReg, TRI) << "\n");
  862   OS << "Linearized Region {";
  868       OS << " ,";
  872   OS << "} (" << Entry->getNumber() << ", "
  872   OS << "} (" << Entry->getNumber() << ", "
  874      << "): In:" << printReg(getBBSelectRegIn(), TRI)
  875      << " Out:" << printReg(getBBSelectRegOut(), TRI) << " {";
  875      << " Out:" << printReg(getBBSelectRegOut(), TRI) << " {";
  877     OS << printReg(LI, TRI) << " ";
  879   OS << "} \n";
  916       dbgs() << "Pepareing to replace register (region): "
  917              << printReg(Register, MRI->getTargetRegisterInfo()) << " with "
  918              << printReg(NewRegister, MRI->getTargetRegisterInfo()) << "\n");
  925       LLVM_DEBUG(dbgs() << "Region before register replace\n");
  928       LLVM_DEBUG(dbgs() << "Region after register replace\n");
  953         LLVM_DEBUG(dbgs() << "Trying to substitute physical register: "
  955                           << "\n");
  958         LLVM_DEBUG(dbgs() << "Replacing register (region): "
  960                           << " with "
  962                           << "\n");
 1032               LLVM_DEBUG(dbgs() << printReg(Reg, TRI) << "\n");
 1036               LLVM_DEBUG(dbgs() << "Register "
 1038                                 << " has NO defs\n");
 1040               LLVM_DEBUG(dbgs() << "Register "
 1042                                 << " has multiple defs\n");
 1050               LLVM_DEBUG(dbgs() << "Removing kill flag on register: "
 1051                                 << printReg(Reg, TRI) << "\n");
 1424       LLVM_DEBUG(dbgs() << "Extractking killed phi:\n");
 1457   LLVM_DEBUG(dbgs() << "Shrink PHI: ");
 1459   LLVM_DEBUG(dbgs() << " to " << printReg(getPHIDestReg(PHI), TRI)
 1460                     << " = PHI(");
 1490       LLVM_DEBUG(dbgs() << printReg(CombinedSourceReg, TRI) << ", "
 1502       LLVM_DEBUG(dbgs() << printReg(SourceReg, TRI) << ", "
 1505     LLVM_DEBUG(dbgs() << ")\n");
 1514   LLVM_DEBUG(dbgs() << "Replace PHI: ");
 1516   LLVM_DEBUG(dbgs() << " with " << printReg(getPHIDestReg(PHI), TRI)
 1517                     << " = PHI(");
 1534     LLVM_DEBUG(dbgs() << printReg(CombinedSourceReg, TRI) << ", "
 1544       LLVM_DEBUG(dbgs() << printReg(SourceReg, TRI) << ", "
 1547     LLVM_DEBUG(dbgs() << ")\n");
 1557   LLVM_DEBUG(dbgs() << "Replace entry PHI: ");
 1559   LLVM_DEBUG(dbgs() << " with ");
 1572     LLVM_DEBUG(dbgs() << " register " << printReg(CombinedSourceReg, TRI)
 1573                       << "\n");
 1576     LLVM_DEBUG(dbgs() << printReg(getPHIDestReg(PHI), TRI) << " = PHI(");
 1583     LLVM_DEBUG(dbgs() << printReg(CombinedSourceReg, TRI) << ", "
 1594       LLVM_DEBUG(dbgs() << printReg(SourceReg, TRI) << ", "
 1597     LLVM_DEBUG(dbgs() << ")\n");
 1619       LLVM_DEBUG(dbgs() << "Register " << printReg(Reg, TRI) << " is "
 1619       LLVM_DEBUG(dbgs() << "Register " << printReg(Reg, TRI) << " is "
 1620                         << (IsDead ? "dead" : "alive")
 1621                         << " after PHI replace\n");
 1695   LLVM_DEBUG(dbgs() << "Inserting unconditional branch: " << MBB->getNumber()
 1696                     << " -> " << Dest->getNumber() << "\n");
 1696                     << " -> " << Dest->getNumber() << "\n");
 1745     LLVM_DEBUG(dbgs() << "Created exit block: " << LastMerge->getNumber()
 1746                       << "\n");
 1762   LLVM_DEBUG(dbgs() << "Merge PHI (" << printMBBReference(*MergeBB)
 1763                     << "): " << printReg(DestRegister, TRI) << " = PHI("
 1763                     << "): " << printReg(DestRegister, TRI) << " = PHI("
 1764                     << printReg(IfSourceRegister, TRI) << ", "
 1766                     << printReg(CodeSourceRegister, TRI) << ", "
 1767                     << printMBBReference(*CodeBB) << ")\n");
 1825     LLVM_DEBUG(dbgs() << "Removing edge: " << printMBBReference(*Edge.first)
 1826                       << " -> " << printMBBReference(*Edge.second) << "\n");
 1826                       << " -> " << printMBBReference(*Edge.second) << "\n");
 1859   LLVM_DEBUG(dbgs() << "Created If block: " << IfBB->getNumber() << "\n");
 1859   LLVM_DEBUG(dbgs() << "Created If block: " << IfBB->getNumber() << "\n");
 1864   LLVM_DEBUG(dbgs() << "Moved " << printMBBReference(*CodeBBStart)
 1865                     << " through " << printMBBReference(*CodeBBEnd) << "\n");
 1865                     << " through " << printMBBReference(*CodeBBEnd) << "\n");
 1950     LLVM_DEBUG(dbgs() << "Register "
 1952                       << " has NO defs\n");
 1954     LLVM_DEBUG(dbgs() << "Register "
 1956                       << " has multiple defs\n");
 1957     LLVM_DEBUG(dbgs() << "DEFS BEGIN:\n");
 1961     LLVM_DEBUG(dbgs() << "DEFS END\n");
 2003     LLVM_DEBUG(dbgs() << "Insert Chained PHI\n");
 2039     LLVM_DEBUG(dbgs() << "LiveOut: " << printReg(LI, TRI));
 2045       LLVM_DEBUG(dbgs() << "- through");
 2048     LLVM_DEBUG(dbgs() << "\n");
 2065       LLVM_DEBUG(dbgs() << "Initializer for reg: " << printReg(Reg) << "\n");
 2065       LLVM_DEBUG(dbgs() << "Initializer for reg: " << printReg(Reg) << "\n");
 2070       LLVM_DEBUG(dbgs() << "Insert Non-Chained Live out PHI\n");
 2080     LLVM_DEBUG(dbgs() << "Inserting PHI Live Out from "
 2081                       << printMBBReference(*CodeBB) << "\n");
 2087     LLVM_DEBUG(dbgs() << "Insertion done.\n");
 2094   LLVM_DEBUG(dbgs() << "Before PHI Prune\n");
 2135   LLVM_DEBUG(dbgs() << "After PHI Prune\n");
 2144   LLVM_DEBUG(dbgs() << "RegionExit: " << Exit->getNumber() << " Pred: "
 2144   LLVM_DEBUG(dbgs() << "RegionExit: " << Exit->getNumber() << " Pred: "
 2145                     << (*(Entry->pred_begin()))->getNumber() << "\n");
 2162     LLVM_DEBUG(dbgs() << "Entry PHI " << printReg(DestReg, TRI) << " = PHI(");
 2162     LLVM_DEBUG(dbgs() << "Entry PHI " << printReg(DestReg, TRI) << " = PHI(");
 2187                      << "Inserting backedge PHI: "
 2188                      << printReg(NewBackedgeReg, TRI) << " = PHI("
 2189                      << printReg(CurrentBackedgeReg, TRI) << ", "
 2190                      << printMBBReference(*getPHIPred(*PHIDefInstr, 0)) << ", "
 2191                      << printReg(getPHISourceReg(*PHIDefInstr, 1), TRI) << ", "
 2197         LLVM_DEBUG(dbgs() << printReg(SourceReg, TRI) << ", "
 2198                           << printMBBReference(*(*SRI).second) << ", ");
 2206       LLVM_DEBUG(dbgs() << printReg(CurrentBackedgeReg, TRI) << ", "
 2207                         << printMBBReference(*Exit) << ")\n");
 2209       LLVM_DEBUG(dbgs() << ")\n");
 2236       LLVM_DEBUG(dbgs() << "Trying to substitute physical register: "
 2238                         << "\n");
 2244       LLVM_DEBUG(dbgs() << "Replacing register: "
 2246                         << " with "
 2248                         << "\n");
 2260   LLVM_DEBUG(dbgs() << "Resolve PHI Infos\n");
 2265     LLVM_DEBUG(dbgs() << "DestReg: " << printReg(DestReg, TRI) << "\n");
 2265     LLVM_DEBUG(dbgs() << "DestReg: " << printReg(DestReg, TRI) << "\n");
 2268     LLVM_DEBUG(dbgs() << "DestReg: " << printReg(DestReg, TRI)
 2269                       << " SourceReg: " << printReg(SourceReg, TRI) << "\n");
 2269                       << " SourceReg: " << printReg(SourceReg, TRI) << "\n");
 2343         LLVM_DEBUG(dbgs() << "RegionExitReg: ");
 2345         LLVM_DEBUG(dbgs() << "\n");
 2355     LLVM_DEBUG(dbgs() << "Insert BB Select PHI (BB)\n");
 2401       LLVM_DEBUG(dbgs() << "RegionExitReg: ");
 2403       LLVM_DEBUG(dbgs() << "\n");
 2410   LLVM_DEBUG(dbgs() << "Insert BB Select PHI (region)\n");
 2456   LLVM_DEBUG(dbgs() << "Split Entry PHI " << printReg(NewDestReg, TRI)
 2457                     << " = PHI(");
 2460   LLVM_DEBUG(dbgs() << printReg(PHISource, TRI) << ", "
 2464   LLVM_DEBUG(dbgs() << " ," << printReg(RegionSourceReg, TRI) << ", "
 2464   LLVM_DEBUG(dbgs() << " ," << printReg(RegionSourceReg, TRI) << ", "
 2465                     << printMBBReference(*RegionSourceMBB) << ")\n");
 2498   LLVM_DEBUG(dbgs() << "Created new exit block: " << NewExit->getNumber()
 2499                     << "\n");
 2547   LLVM_DEBUG(dbgs() << "Split " << printMBBReference(*Entry) << " to "
 2547   LLVM_DEBUG(dbgs() << "Split " << printMBBReference(*Entry) << " to "
 2548                     << printMBBReference(*Entry) << " -> "
 2549                     << printMBBReference(*EntrySucc) << "\n");
 2643   LLVM_DEBUG(dbgs() << "===========If Region Start===============\n");
 2645     LLVM_DEBUG(dbgs() << "Has Backedge: Yes\n");
 2647     LLVM_DEBUG(dbgs() << "Has Backedge: No\n");
 2653     LLVM_DEBUG(dbgs() << "CurrentRegion: \n");
 2668       LLVM_DEBUG(dbgs() << "Linearizing region: ");
 2670       LLVM_DEBUG(dbgs() << "\n");
 2688       LLVM_DEBUG(dbgs() << "BBSelectRegIn: " << printReg(BBSelectRegIn, TRI)
 2689                         << "\n");
 2690       LLVM_DEBUG(dbgs() << "BBSelectRegOut: " << printReg(BBSelectRegOut, TRI)
 2691                         << "\n");
 2700       LLVM_DEBUG(dbgs() << "Linearizing block: " << MBB->getNumber() << "\n");
 2700       LLVM_DEBUG(dbgs() << "Linearizing block: " << MBB->getNumber() << "\n");
 2712       LLVM_DEBUG(dbgs() << "BBSelectRegIn: " << printReg(BBSelectRegIn, TRI)
 2713                         << "\n");
 2714       LLVM_DEBUG(dbgs() << "BBSelectRegOut: " << printReg(BBSelectRegOut, TRI)
 2715                         << "\n");
 2747     LLVM_DEBUG(dbgs() << "Loop BBSelect Merge PHI:\n");
 2763   LLVM_DEBUG(dbgs() << "===========If Region End===============\n");
 2803   LLVM_DEBUG(dbgs() << "Fallthrough Map:\n");
 2807       LLVM_DEBUG(dbgs() << "Fallthrough: " << MBBI.getNumber() << " -> "
 2807       LLVM_DEBUG(dbgs() << "Fallthrough: " << MBBI.getNumber() << " -> "
 2808                         << MBB->getNumber() << "\n");
 2819     LLVM_DEBUG(dbgs() << "Add LiveOut (BBSelect): " << printReg(SelectOut, TRI)
 2820                       << "\n");
 2882   LLVM_DEBUG(dbgs() << "----STRUCTURIZER START----\n");
 2894   LLVM_DEBUG(dbgs() << "----STRUCTURIZER END----\n");
lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp
  117       LLVM_DEBUG(dbgs() << "found enqueued kernel: " << F.getName() << '\n');
  127       LLVM_DEBUG(dbgs() << "runtime handle created: " << *GV << '\n');
  148     LLVM_DEBUG(dbgs() << "mark enqueue_kernel caller:" << F->getName() << '\n');
lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp
   87         OS << "Value: " << *V << '\n'
   88            << "Base: " << *Base << " Offset: " << Offset << '\n';
   88            << "Base: " << *Base << " Offset: " << Offset << '\n';
  145   LLVM_DEBUG(dbgs() << "[isIndirectAccess] " << *Inst << '\n');
  158     LLVM_DEBUG(dbgs() << "  check: " << *V << '\n');
  163         LLVM_DEBUG(dbgs() << "    is IA\n");
  199     LLVM_DEBUG(dbgs() << "    dropped\n");
  202   LLVM_DEBUG(dbgs() << "  is not IA\n");
  209   LLVM_DEBUG(dbgs() << "[AMDGPUPerfHint] process " << F.getName() << '\n');
  270   LLVM_DEBUG(dbgs() << F.getName() << " MemInst: " << Info->MemInstCount
  272                     << " IAMInst: " << Info->IAMInstCount << '\n'
  273                     << " LSMInst: " << Info->LSMInstCount << '\n'
  274                     << " TotalInst: " << Info->InstCount << '\n');
  277     LLVM_DEBUG(dbgs() << F.getName() << " is memory bound\n");
  283     LLVM_DEBUG(dbgs() << F.getName() << " needs limit wave\n");
  317   LLVM_DEBUG(dbgs() << "[isLargeStride] " << *Inst << '\n');
  332   LLVM_DEBUG(dbgs() << "[isLargeStride] MO: " << *MO << '\n');
  360   LLVM_DEBUG(dbgs() << "[isLargeStride compare]\n"
  361                << print() << "<=>\n"
  362                << Reference.print() << "Result:" << Result << '\n');
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  262                 LLVM_DEBUG(dbgs() << "Printf string original size = " << SizeStr
  278         LLVM_DEBUG(dbgs() << "Printf ArgSize (in buffer) = " << ArgSize
  279                           << " for type: " << *ArgType << '\n');
  283       LLVM_DEBUG(dbgs() << "Printf format string in source = " << Str.str()
  290           Sizes << "\\a";
  293           Sizes << "\\b";
  296           Sizes << "\\f";
  299           Sizes << "\\n";
  302           Sizes << "\\r";
  305           Sizes << "\\v";
  310           Sizes << "\\72";
  333       LLVM_DEBUG(dbgs() << "Printf metadata = " << Sizes.str() << '\n');
  543           LLVM_DEBUG(dbgs() << "inserting store to printf buffer:\n"
  550           LLVM_DEBUG(dbgs() << "inserting gep to the printf buffer:\n"
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  361     LLVM_DEBUG(dbgs() << "  Promotion alloca to vector is disabled\n");
  368   LLVM_DEBUG(dbgs() << "Alloca candidate for vectorization\n");
  378     LLVM_DEBUG(dbgs() << "  Cannot convert type to vector\n");
  399       LLVM_DEBUG(dbgs() << "  Cannot compute vector index for GEP " << *GEP
  417   LLVM_DEBUG(dbgs() << "  Converting alloca to vector " << *AllocaTy << " -> "
  417   LLVM_DEBUG(dbgs() << "  Converting alloca to vector " << *AllocaTy << " -> "
  514         dbgs() << "Found a binary instruction with another alloca object\n");
  636       LLVM_DEBUG(dbgs() << "Function has local memory argument. Promoting to "
  706   LLVM_DEBUG(dbgs() << F.getName() << " uses " << CurrentLocalMemUsage
  707                     << " bytes of LDS\n"
  708                     << "  Rounding size to " << MaxSizeWithWaveCount
  709                     << " with a maximum occupancy of " << MaxOccupancy << '\n'
  710                     << " and " << (LocalMemLimit - CurrentLocalMemUsage)
  711                     << " available for promotion\n");
  728   LLVM_DEBUG(dbgs() << "Trying to promote " << I << '\n');
  749         << " promote alloca to LDS not supported with calling convention.\n");
  777     LLVM_DEBUG(dbgs() << "  " << AllocSize
  778                       << " bytes of local memory not available to promote\n");
  787     LLVM_DEBUG(dbgs() << " Do not know how to convert all uses\n");
  791   LLVM_DEBUG(dbgs() << "Promoting alloca to local memory\n");
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
  267   LLVM_DEBUG(dbgs() << "Cloning " << F.getName() << '\n');
  292   LLVM_DEBUG(dbgs() << "Set features "
  294                     << " on " << F.getName() << '\n');
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
  251       LLVM_DEBUG(dbgs() << "Found possible out argument " << Arg
  252                         << " in function " << F.getName() << '\n');
  312           LLVM_DEBUG(dbgs() << "Found out argument store: " << *SI << '\n');
  331                      << "Saw multiple out arg stores" << *OutArg << '\n');
  361   LLVM_DEBUG(dbgs() << "Computed new return type: " << *NewRetTy << '\n');
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  821       LLVM_DEBUG(dbgs() << "Inserting edge from\n" ; DAG->dumpNode(*From);
  822                  dbgs() << "to\n"; DAG->dumpNode(*SU); dbgs() << '\n');
  868       LLVM_DEBUG(dbgs() << "Found MFMA: "; DAG->dumpNode(SU);
  869                  dbgs() << "Need " << Lat
  870                         << " instructions to cover latency.\n");
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  127             LLVM_DEBUG(dbgs() << "Set unroll threshold " << UP.Threshold
  128                               << " for loop:\n"
  129                               << *L << " due to " << *Br << '\n');
  206       LLVM_DEBUG(dbgs() << "Set unroll threshold " << Threshold
  207                         << " for loop:\n"
  208                         << *L << " due to " << *GEP << '\n');
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
  161     LLVM_DEBUG(dbgs() << "LoopInfo:\n"; PrintLoopinfo(*MLI););
  185       dbgs() << "BB" << (*iterBlk)->getNumber();
  186       dbgs() << "(" << getSCCNum(*iterBlk) << "," << (*iterBlk)->size() << ")";
  186       dbgs() << "(" << getSCCNum(*iterBlk) << "," << (*iterBlk)->size() << ")";
  186       dbgs() << "(" << getSCCNum(*iterBlk) << "," << (*iterBlk)->size() << ")";
  188         dbgs() << "\n";
  190         dbgs() << " ";
  461   SHOWNEWINSTR(MI);
  473   SHOWNEWINSTR(MI);
  485   SHOWNEWINSTR(NewMBB);
  498   SHOWNEWINSTR(NewMI);
  510   SHOWNEWINSTR(NewInstr);
  648     LLVM_DEBUG(dbgs() << "BB" << MBB->getNumber()
  649                       << " is return block without RETURN instr\n";);
  711   LLVM_DEBUG(dbgs() << "AMDGPUCFGStructurizer::prepare\n";);
  754   LLVM_DEBUG(dbgs() << "AMDGPUCFGStructurizer::run\n");
  761   LLVM_DEBUG(dbgs() << "Ordered blocks:\n"; printOrderedBlocks(););
  771     LLVM_DEBUG(dbgs() << "numIter = " << NumIter
  772                       << ", numRemaintedBlk = " << NumRemainedBlk << "\n";);
  772                       << ", numRemaintedBlk = " << NumRemainedBlk << "\n";);
  794         LLVM_DEBUG(dbgs() << "start processing SCC" << getSCCNum(SccBeginMBB);
  795                    dbgs() << "\n";);
  810           LLVM_DEBUG(dbgs() << "Can't reduce SCC " << getSCCNum(MBB)
  811                             << ", sccNumIter = " << SccNumIter;
  812                      dbgs() << "doesn't make any progress\n";);
  818           LLVM_DEBUG(dbgs() << "repeat processing SCC" << getSCCNum(MBB)
  819                             << "sccNumIter = " << SccNumIter << '\n';);
  837       LLVM_DEBUG(dbgs() << "Reduce to one block\n";);
  847         LLVM_DEBUG(dbgs() << "No progress\n";);
  860       LLVM_DEBUG(dbgs() << "Erase BB" << ((*It).first)->getNumber() << "\n";);
  860       LLVM_DEBUG(dbgs() << "Erase BB" << ((*It).first)->getNumber() << "\n";);
  895       dbgs() << "unreachable block BB" << MBB->getNumber() << "\n";
  895       dbgs() << "unreachable block BB" << MBB->getNumber() << "\n";
  903   LLVM_DEBUG(dbgs() << "Begin patternMatch BB" << MBB->getNumber() << "\n";);
  903   LLVM_DEBUG(dbgs() << "Begin patternMatch BB" << MBB->getNumber() << "\n";);
  908   LLVM_DEBUG(dbgs() << "End patternMatch BB" << MBB->getNumber()
  909                     << ", numMatch = " << NumMatch << "\n";);
  909                     << ", numMatch = " << NumMatch << "\n";);
 1029     LLVM_DEBUG(dbgs() << "Processing:\n"; ExaminedLoop->dump(););
 1043   LLVM_DEBUG(dbgs() << "Loop has " << ExitingMBBs.size()
 1044                     << " exiting blocks\n";);
 1086         LLVM_DEBUG(dbgs() << "isLoopContBreakBlock yes src1 = BB"
 1087                           << Src1MBB->getNumber() << " src2 = BB"
 1088                           << Src2MBB->getNumber() << "\n";);
 1100     LLVM_DEBUG(dbgs() << "handleJumpintoIf swap trueBlk and FalseBlk"
 1101                       << "\n";);
 1115   LLVM_DEBUG(dbgs() << "handleJumpintoIfImp head = BB" << HeadMBB->getNumber()
 1116                     << " true = BB" << TrueMBB->getNumber()
 1117                     << ", numSucc=" << TrueMBB->succ_size() << " false = BB"
 1117                     << ", numSucc=" << TrueMBB->succ_size() << " false = BB"
 1118                     << FalseMBB->getNumber() << "\n";);
 1121     LLVM_DEBUG(dbgs() << "check down = BB" << DownBlk->getNumber(););
 1124       LLVM_DEBUG(dbgs() << " working\n";);
 1137     LLVM_DEBUG(dbgs() << " not working\n";);
 1148   dbgs() << "head = BB" << HeadMBB->getNumber()
 1149          << " size = " << HeadMBB->size();
 1151     dbgs() << "\n";
 1153     dbgs() << "\n";
 1157     dbgs() << ", true = BB" << TrueMBB->getNumber() << " size = "
 1157     dbgs() << ", true = BB" << TrueMBB->getNumber() << " size = "
 1158            << TrueMBB->size() << " numPred = " << TrueMBB->pred_size();
 1160       dbgs() << "\n";
 1162       dbgs() << "\n";
 1166     dbgs() << ", false = BB" << FalseMBB->getNumber() << " size = "
 1166     dbgs() << ", false = BB" << FalseMBB->getNumber() << " size = "
 1167            << FalseMBB->size() << " numPred = " << FalseMBB->pred_size();
 1169       dbgs() << "\n";
 1171       dbgs() << "\n";
 1175     dbgs() << ", land = BB" << LandMBB->getNumber() << " size = "
 1175     dbgs() << ", land = BB" << LandMBB->getNumber() << " size = "
 1176            << LandMBB->size() << " numPred = " << LandMBB->pred_size();
 1178       dbgs() << "\n";
 1180       dbgs() << "\n";
 1184   dbgs() << "\n";
 1217       dbgs() << "before improveSimpleJumpintoIf: ";
 1354       dbgs() << "result from improveSimpleJumpintoIf: ";
 1365   LLVM_DEBUG(dbgs() << "serialPattern BB" << DstMBB->getNumber() << " <= BB"
 1365   LLVM_DEBUG(dbgs() << "serialPattern BB" << DstMBB->getNumber() << " <= BB"
 1366                     << SrcMBB->getNumber() << "\n";);
 1381   LLVM_DEBUG(dbgs() << "ifPattern BB" << MBB->getNumber(); dbgs() << "{  ";
 1381   LLVM_DEBUG(dbgs() << "ifPattern BB" << MBB->getNumber(); dbgs() << "{  ";
 1382              if (TrueMBB) { dbgs() << "BB" << TrueMBB->getNumber(); } dbgs()
 1383              << "  } else ";
 1384              dbgs() << "{  "; if (FalseMBB) {
 1385                dbgs() << "BB" << FalseMBB->getNumber();
 1386              } dbgs() << "  }\n ";
 1387              dbgs() << "landBlock: "; if (!LandMBB) { dbgs() << "NULL"; } else {
 1387              dbgs() << "landBlock: "; if (!LandMBB) { dbgs() << "NULL"; } else {
 1388                dbgs() << "BB" << LandMBB->getNumber();
 1389              } dbgs() << "\n";);
 1435   LLVM_DEBUG(dbgs() << "loopPattern header = BB" << DstBlk->getNumber()
 1436                     << " land = BB" << LandMBB->getNumber() << "\n";);
 1436                     << " land = BB" << LandMBB->getNumber() << "\n";);
 1445   LLVM_DEBUG(dbgs() << "loopbreakPattern exiting = BB"
 1446                     << ExitingMBB->getNumber() << " land = BB"
 1447                     << LandMBB->getNumber() << "\n";);
 1466   LLVM_DEBUG(dbgs() << "settleLoopcontBlock conting = BB"
 1467                     << ContingMBB->getNumber() << ", cont = BB"
 1468                     << ContMBB->getNumber() << "\n";);
 1542   LLVM_DEBUG(dbgs() << "Cloned block: "
 1543                     << "BB" << MBB->getNumber() << "size " << MBB->size()
 1543                     << "BB" << MBB->getNumber() << "size " << MBB->size()
 1544                     << "\n";);
 1546   SHOWNEWBLK(CloneMBB, "result of Cloned block: ");
 1557     LLVM_DEBUG(dbgs() << "migrateInstruction don't see branch instr\n";);
 1560     LLVM_DEBUG(dbgs() << "migrateInstruction see branch instr: " << *BranchMI);
 1563   LLVM_DEBUG(dbgs() << "migrateInstruction before splice dstSize = "
 1564                     << DstMBB->size() << "srcSize = " << SrcMBB->size()
 1565                     << "\n";);
 1570   LLVM_DEBUG(dbgs() << "migrateInstruction after splice dstSize = "
 1571                     << DstMBB->size() << "srcSize = " << SrcMBB->size()
 1589   SHOWNEWBLK(DummyExitBlk, "DummyExitBlock to normalize infiniteLoop: ");
 1590   LLVM_DEBUG(dbgs() << "Old branch instr: " << *BranchMI << "\n";);
 1590   LLVM_DEBUG(dbgs() << "Old branch instr: " << *BranchMI << "\n";);
 1603     LLVM_DEBUG(dbgs() << "Removing uncond branch instr: " << *BranchMI);
 1619   LLVM_DEBUG(dbgs() << "Removing unneeded cond branch instr: " << *BranchMI);
 1621   SHOWNEWBLK(MBB1, "Removing redundant successor");
 1638     LLVM_DEBUG(dbgs() << "Add dummyExitBlock to BB" << MBB->getNumber()
 1639                       << " successors\n";);
 1641   SHOWNEWBLK(DummyExitBlk, "DummyExitBlock: ");
 1658   LLVM_DEBUG(dbgs() << "Retiring BB" << MBB->getNumber() << "\n";);
 1658   LLVM_DEBUG(dbgs() << "Retiring BB" << MBB->getNumber() << "\n";);
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  816     case ImmTyNone: OS << "None"; break;
  817     case ImmTyGDS: OS << "GDS"; break;
  818     case ImmTyLDS: OS << "LDS"; break;
  819     case ImmTyOffen: OS << "Offen"; break;
  820     case ImmTyIdxen: OS << "Idxen"; break;
  821     case ImmTyAddr64: OS << "Addr64"; break;
  822     case ImmTyOffset: OS << "Offset"; break;
  823     case ImmTyInstOffset: OS << "InstOffset"; break;
  824     case ImmTyOffset0: OS << "Offset0"; break;
  825     case ImmTyOffset1: OS << "Offset1"; break;
  826     case ImmTyDLC: OS << "DLC"; break;
  827     case ImmTyGLC: OS << "GLC"; break;
  828     case ImmTySLC: OS << "SLC"; break;
  829     case ImmTySWZ: OS << "SWZ"; break;
  830     case ImmTyTFE: OS << "TFE"; break;
  831     case ImmTyD16: OS << "D16"; break;
  832     case ImmTyFORMAT: OS << "FORMAT"; break;
  833     case ImmTyClampSI: OS << "ClampSI"; break;
  834     case ImmTyOModSI: OS << "OModSI"; break;
  835     case ImmTyDPP8: OS << "DPP8"; break;
  836     case ImmTyDppCtrl: OS << "DppCtrl"; break;
  837     case ImmTyDppRowMask: OS << "DppRowMask"; break;
  838     case ImmTyDppBankMask: OS << "DppBankMask"; break;
  839     case ImmTyDppBoundCtrl: OS << "DppBoundCtrl"; break;
  840     case ImmTyDppFi: OS << "FI"; break;
  841     case ImmTySdwaDstSel: OS << "SdwaDstSel"; break;
  842     case ImmTySdwaSrc0Sel: OS << "SdwaSrc0Sel"; break;
  843     case ImmTySdwaSrc1Sel: OS << "SdwaSrc1Sel"; break;
  844     case ImmTySdwaDstUnused: OS << "SdwaDstUnused"; break;
  845     case ImmTyDMask: OS << "DMask"; break;
  846     case ImmTyDim: OS << "Dim"; break;
  847     case ImmTyUNorm: OS << "UNorm"; break;
  848     case ImmTyDA: OS << "DA"; break;
  849     case ImmTyR128A16: OS << "R128A16"; break;
  850     case ImmTyLWE: OS << "LWE"; break;
  851     case ImmTyOff: OS << "Off"; break;
  852     case ImmTyExpTgt: OS << "ExpTgt"; break;
  853     case ImmTyExpCompr: OS << "ExpCompr"; break;
  854     case ImmTyExpVM: OS << "ExpVM"; break;
  855     case ImmTyHwreg: OS << "Hwreg"; break;
  856     case ImmTySendMsg: OS << "SendMsg"; break;
  857     case ImmTyInterpSlot: OS << "InterpSlot"; break;
  858     case ImmTyInterpAttr: OS << "InterpAttr"; break;
  859     case ImmTyAttrChan: OS << "AttrChan"; break;
  860     case ImmTyOpSel: OS << "OpSel"; break;
  861     case ImmTyOpSelHi: OS << "OpSelHi"; break;
  862     case ImmTyNegLo: OS << "NegLo"; break;
  863     case ImmTyNegHi: OS << "NegHi"; break;
  864     case ImmTySwizzle: OS << "Swizzle"; break;
  865     case ImmTyGprIdxMode: OS << "GprIdxMode"; break;
  866     case ImmTyHigh: OS << "High"; break;
  867     case ImmTyBLGP: OS << "BLGP"; break;
  868     case ImmTyCBSZ: OS << "CBSZ"; break;
  869     case ImmTyABID: OS << "ABID"; break;
  870     case ImmTyEndpgm: OS << "Endpgm"; break;
  877       OS << "<register " << getReg() << " mods: " << Reg.Mods << '>';
  877       OS << "<register " << getReg() << " mods: " << Reg.Mods << '>';
  882         OS << " type: "; printImmTy(OS, getImmTy());
  884       OS << " mods: " << Imm.Mods << '>';
  890       OS << "<expr " << *Expr << '>';
  942   OS << "abs:" << Mods.Abs << " neg: " << Mods.Neg << " sext:" << Mods.Sext;
  942   OS << "abs:" << Mods.Abs << " neg: " << Mods.Neg << " sext:" << Mods.Sext;
  942   OS << "abs:" << Mods.Abs << " neg: " << Mods.Neg << " sext:" << Mods.Sext;
 4182                   << getContext().getAsmInfo()->getSeparatorString();
lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
  666     *CommentStream << "Warning: " << getRegClassName(SRegClassID)
  666     *CommentStream << "Warning: " << getRegClassName(SRegClassID)
  667                    << ": scalar reg isn't aligned " << Val;
lib/Target/AMDGPU/GCNDPPCombine.cpp
  163     LLVM_DEBUG(dbgs() << "  failed: no DPP opcode\n");
  186       LLVM_DEBUG(dbgs() << "  failed: no old operand in DPP instruction,"
  207       LLVM_DEBUG(dbgs() << "  failed: src0 is illegal\n");
  229         LLVM_DEBUG(dbgs() << "  failed: src1 is illegal\n");
  240         LLVM_DEBUG(dbgs() << "  failed: src2 is illegal\n");
  257   LLVM_DEBUG(dbgs() << "  combined:  " << *DPPInst.getInstr());
  322       LLVM_DEBUG(dbgs() << "  failed: no src1 or it isn't a register\n");
  326       LLVM_DEBUG(dbgs() << "  failed: old immediate isn't an identity\n");
  331       LLVM_DEBUG(dbgs() << "  failed: src1 isn't a VGPR32 register\n");
  352   LLVM_DEBUG(dbgs() << "\nDPP combine: " << MovMI);
  358     LLVM_DEBUG(dbgs() << "  failed: dpp move writes physreg\n");
  362     LLVM_DEBUG(dbgs() << "  failed: EXEC mask should remain the same"
  383     LLVM_DEBUG(dbgs() << "  failed: dpp move reads physreg\n");
  400       LLVM_DEBUG(dbgs() << "  failed: the DPP mov isn't combinable\n");
  405       LLVM_DEBUG(dbgs() <<
  417       LLVM_DEBUG(dbgs() <<
  423   LLVM_DEBUG(dbgs() << "  old=";
  425       dbgs() << "undef";
  428     dbgs() << ", bound_ctrl=" << CombBCZ << '\n');
  455     LLVM_DEBUG(dbgs() << "  try: " << OrigMI);
  463         LLVM_DEBUG(dbgs() << "  failed: EXEC mask should remain the same"
  489         LLVM_DEBUG(dbgs() << "  failed: VOP3 hasn't e32 equivalent\n");
  498         LLVM_DEBUG(dbgs() << "  failed: VOP3 has non-default modifiers\n");
  502       LLVM_DEBUG(dbgs() << "  failed: not VOP1/2/3\n");
  506     LLVM_DEBUG(dbgs() << "  combining: " << OrigMI);
  519         LLVM_DEBUG(dbgs() << "  commuted:  " << *NewMI);
  526         LLVM_DEBUG(dbgs() << "  failed: cannot be commuted\n");
  529       LLVM_DEBUG(dbgs() << "  failed: no suitable operands\n");
lib/Target/AMDGPU/GCNILPSched.cpp
  152     LLVM_DEBUG(dbgs() << "  Comparing latency of SU (" << left->NodeNum
  153                       << ") depth " << LDepth << " vs SU (" << right->NodeNum
  153                       << ") depth " << LDepth << " vs SU (" << right->NodeNum
  154                       << ") depth " << RDepth << "\n");
  154                       << ") depth " << RDepth << "\n");
  172       LLVM_DEBUG(dbgs() << "Depth of SU(" << left->NodeNum << "): "
  172       LLVM_DEBUG(dbgs() << "Depth of SU(" << left->NodeNum << "): "
  173                         << left->getDepth() << " != SU(" << right->NodeNum
  174                         << "): " << right->getDepth() << "\n");
  174                         << "): " << right->getDepth() << "\n");
  327     LLVM_DEBUG(dbgs() << "\n=== Picking candidate\n"
  338     LLVM_DEBUG(dbgs() << "Selected "; DAG.dumpNode(*SU));
lib/Target/AMDGPU/GCNIterativeScheduler.cpp
   67   OS << BB->getParent()->getName() << ":" << printMBBReference(*BB) << ' '
   68      << BB->getName() << ":\n";
   77     OS << "\t...\n";
   84     OS << "----\n";
   99   OS << "LIn RP: ";
  104   OS << "LOt RP: ";
  112     OS << "Region to schedule ";
  115     OS << "Max RP: ";
  124   OS << "\nAfter scheduling ";
  135   OS << "RP before: ";
  137   OS << "RP after:  ";
  203     LLVM_DEBUG(dbgs() << "\nScheduling ";
  273          (dbgs() << "Tracked region ",
  316                dbgs() << "Max RP: ";
  423   || (dbgs() << "Max RP mismatch!!!\n"
  426       dbgs() << "RP for schedule (reported): ",
  428       dbgs() << "RP after scheduling: ",
  454   LLVM_DEBUG(dbgs() << "Trying to improve occupancy, target = " << TargetOcc
  455                     << ", current = " << Occ << '\n');
  468     LLVM_DEBUG(dbgs() << "Occupancy improvement attempt:\n";
  477   LLVM_DEBUG(dbgs() << "New occupancy = " << NewOcc
  478                     << ", prev occupancy = " << Occ << '\n');
  504   LLVM_DEBUG(dbgs() << "Scheduling using default scheduler, "
  522         LLVM_DEBUG(dbgs() << "Didn't fit into target occupancy O" << TgtOcc);
  525           LLVM_DEBUG(dbgs() << ", scheduling minimal register\n");
  528           LLVM_DEBUG(dbgs() << ", restoring\n");
  558       dbgs() << "\nWarning: Pressure becomes worse after minreg!";
  588   LLVM_DEBUG(dbgs() << "Scheduling using default scheduler, "
  601       LLVM_DEBUG(dbgs() << "Didn't fit into target occupancy O" << TgtOcc);
  604         LLVM_DEBUG(dbgs() << ", scheduling minimal register\n");
lib/Target/AMDGPU/GCNMinRegStrategy.cpp
  144     LLVM_DEBUG(dbgs() << "\nSelecting max priority candidates among " << Num
  149     LLVM_DEBUG(dbgs() << "\nSelecting min non-ready producing candidate among "
  154       LLVM_DEBUG(dbgs() << "SU(" << SU->NodeNum << ") would left non-ready "
  154       LLVM_DEBUG(dbgs() << "SU(" << SU->NodeNum << ") would left non-ready "
  155                         << Res << " successors, metric = " << -Res << '\n');
  160     LLVM_DEBUG(dbgs() << "\nSelecting most producing candidate among " << Num
  165       LLVM_DEBUG(dbgs() << "SU(" << SU->NodeNum << ") would make ready " << Res
  165       LLVM_DEBUG(dbgs() << "SU(" << SU->NodeNum << ") would make ready " << Res
  166                         << " successors, metric = " << Res << '\n');
  174         << "\nCan't find best candidate, selecting in program order among "
  207   LLVM_DEBUG(dbgs() << "Make the predecessors of SU(" << SchedSU->NodeNum
  208                     << ")'s non-ready successors of " << Priority
  209                     << " priority in ready queue: ");
  214       LLVM_DEBUG(dbgs() << " SU(" << C.SU->NodeNum << ')');
  248     LLVM_DEBUG(dbgs() << "\n=== Picking candidate, Step = " << StepNo
  249                       << "\n"
  253                << ' ' << C.SU->NodeNum << "(P" << C.Priority << ')';
  260     LLVM_DEBUG(dbgs() << "Selected "; DAG.dumpNode(*SU));
lib/Target/AMDGPU/GCNNSAReassign.cpp
  295     LLVM_DEBUG(dbgs() << "Attempting to reassign NSA: " << *MI
  296                       << "\tOriginal allocation:\t";
  298                  dbgs() << " " << llvm::printReg((VRM->getPhys(LI->reg)), TRI);
  303       LLVM_DEBUG(dbgs() << "\tCannot reallocate.\n");
  316           LLVM_DEBUG(dbgs() << "\tNSA conversion conflict with " << *I->first);
  334     LLVM_DEBUG(dbgs() << "\tNew allocation:\t\t ["
  336                  << " : "
  338                  << "]\n");
lib/Target/AMDGPU/GCNRegBankReassign.cpp
   94       dbgs() << P->printReg(Reg) << " to banks ";
   96       dbgs() << " weight " << Weight << '\n';
  238         OS << "<unassigned> " << llvm::printReg(Reg, TRI);
  243         OS << ':' << TRI->getSubRegIndexName(SubReg);
  517           dbgs() << "Potential reassignments of " << printReg(Reg, SubReg)
  518                  << " to banks: "; dumpFreeBanks(FreeBanks);
  532   LLVM_DEBUG(dbgs() << "Stall cycles = " << StallCycles << '\n');
  548       LLVM_DEBUG(dbgs() << "Conflicting operands: " << printReg(Reg1, SubReg1) <<
  548       LLVM_DEBUG(dbgs() << "Conflicting operands: " << printReg(Reg1, SubReg1) <<
  554       LLVM_DEBUG(dbgs() << "Stall weight = " << Weight << '\n');
  610     LLVM_DEBUG(dbgs() << "Trying register " << printReg(Reg) << '\n');
  624   LLVM_DEBUG(dbgs() << "Try reassign " << printReg(C.Reg) << " in "; C.MI->dump();
  624   LLVM_DEBUG(dbgs() << "Try reassign " << printReg(C.Reg) << " in "; C.MI->dump();
  632   LLVM_DEBUG(dbgs() << "--- Stall cycles in range = " << OrigStalls << '\n');
  646       LLVM_DEBUG(dbgs() << "Trying bank " << printBank(Bank) << '\n');
  649         LLVM_DEBUG(dbgs() << "With bank " << printBank(Bank) << " -> "
  649         LLVM_DEBUG(dbgs() << "With bank " << printBank(Bank) << " -> "
  663       LLVM_DEBUG(dbgs() << "No free registers in bank " << printBank(BS.Bank)
  667     LLVM_DEBUG(dbgs() << "Found free register " << printReg(Reg)
  668                  << (LRM->isPhysRegUsed(Reg) ? "" : " (new)")
  669                  << " in bank " << printBank(BS.Bank) << '\n');
  673     LLVM_DEBUG(dbgs() << "--- Cycles saved: " << OrigStalls - BS.Stalls << '\n');
  689             if (MBB.getName().empty()) dbgs() << "bb." << MBB.getNumber();
  690             else dbgs() << MBB.getName(); dbgs() << ":\n";
  722   LLVM_DEBUG(dbgs() << "=== After the pass " << StallCycles
  723                << " stall cycles left\n");
  751   LLVM_DEBUG(dbgs() << "=== RegBanks reassign analysis on function " << MF.getName()
  757   LLVM_DEBUG(dbgs() << "=== " << StallCycles << " stall cycles detected in "
  757   LLVM_DEBUG(dbgs() << "=== " << StallCycles << " stall cycles detected in "
  762   LLVM_DEBUG(dbgs() << "\nCandidates:\n\n";
  764         dbgs() << "\n\n");
  781       LLVM_DEBUG(dbgs() << "\nCandidates:\n\n";
  784             dbgs() << "\n\n");
  789   LLVM_DEBUG(dbgs() << "=== After the pass " << CyclesSaved
  790                << " cycles saved in function " << MF.getName() << '\n');
lib/Target/AMDGPU/GCNRegPressure.cpp
   39   dbgs() << "Live regs at " << SI << ": "
   39   dbgs() << "Live regs at " << SI << ": "
   52           dbgs() << "  " << printReg(Reg, MRI.getTargetRegisterInfo())
   56         dbgs() << "  " << S << '\n';
   60       dbgs() << "  " << LI << '\n';
   64   if (!Num) dbgs() << "  <none>\n";
  186   OS << "VGPRs: " << Value[VGPR32] << ' ';
  187   OS << "AGPRs: " << Value[AGPR32];
  188   if (ST) OS << "(O" << ST->getOccupancyWithNumVGPRs(getVGPRNum()) << ')';
  189   OS << ", SGPRs: " << getSGPRNum();
  190   if (ST) OS << "(O" << ST->getOccupancyWithNumSGPRs(getSGPRNum()) << ')';
  191   OS << ", LVGPR WT: " << getVGPRTuplesWeight()
  192      << ", LSGPR WT: " << getSGPRTuplesWeight();
  193   if (ST) OS << " -> Occ: " << getOccupancy(*ST);
  450       dbgs() << "  " << printReg(P.first, TRI)
  451              << ":L" << PrintLaneMask(P.second)
  452              << " isn't found in LIS reported set\n";
  455       dbgs() << "  " << printReg(P.first, TRI)
  456         << " masks doesn't match: LIS reported "
  458         << ", tracked "
  466       dbgs() << "  " << printReg(P.first, TRI)
  467              << ":L" << PrintLaneMask(P.second)
  468              << " isn't found in tracked set\n";
  479     dbgs() << "\nGCNUpwardRPTracker error: Tracked and"
  488     dbgs() << "GCNUpwardRPTracker error: Pressure sets different\nTracked: ";
  490     dbgs() << "LIS rpt: ";
lib/Target/AMDGPU/GCNSchedStrategy.cpp
  191   LLVM_DEBUG(dbgs() << "Picking from Bot:\n");
  211   LLVM_DEBUG(dbgs() << "Picking from Top:\n");
  231   LLVM_DEBUG(dbgs() << "Top Cand: "; traceCandidate(TopCand);
  232              dbgs() << "Bot Cand: "; traceCandidate(BotCand););
  261   LLVM_DEBUG(dbgs() << "Picking: "; traceCandidate(Cand););
  307   LLVM_DEBUG(dbgs() << "Scheduling SU(" << SU->NodeNum << ") "
  307   LLVM_DEBUG(dbgs() << "Scheduling SU(" << SU->NodeNum << ") "
  320   LLVM_DEBUG(dbgs() << "Starting occupancy is " << StartingOccupancy << ".\n");
  320   LLVM_DEBUG(dbgs() << "Starting occupancy is " << StartingOccupancy << ".\n");
  340     LLVM_DEBUG(dbgs() << "Pressure before scheduling:\nRegion live-ins:";
  342                dbgs() << "Region live-in pressure:  ";
  344                dbgs() << "Region register pressure: ";
  358   LLVM_DEBUG(dbgs() << "Pressure after scheduling: ";
  364     LLVM_DEBUG(dbgs() << "Pressure in desired limits, done.\n");
  370   LLVM_DEBUG(dbgs() << "Occupancy before scheduling: " << WavesBefore
  371                     << ", after " << WavesAfter << ".\n");
  371                     << ", after " << WavesAfter << ".\n");
  380     LLVM_DEBUG(dbgs() << "Function is memory bound, allow occupancy drop up to "
  381                       << MFI.getMinAllowedOccupancy() << " waves\n");
  387     LLVM_DEBUG(dbgs() << "Occupancy lowered for the function to "
  388                       << MinOccupancy << ".\n");
  396   LLVM_DEBUG(dbgs() << "Attempting to revert scheduling.\n");
  426     LLVM_DEBUG(dbgs() << "Scheduling " << *MI);
  522   LLVM_DEBUG(dbgs() << "All regions recorded, starting actual scheduling.\n");
  546           << "Retrying function scheduling with lowest recorded occupancy "
  547           << MinOccupancy << ".\n");
  573       LLVM_DEBUG(dbgs() << "********** MI Scheduling **********\n");
  574       LLVM_DEBUG(dbgs() << MF.getName() << ":" << printMBBReference(*MBB) << " "
  574       LLVM_DEBUG(dbgs() << MF.getName() << ":" << printMBBReference(*MBB) << " "
  575                         << MBB->getName() << "\n  From: " << *begin()
  576                         << "    To: ";
  578                  else dbgs() << "End";
  579                  dbgs() << " RegionInstrs: " << NumRegionInstrs << '\n');
lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
  105     O << " offset:";
  115     O << ((OpNo == 0)? "offset:" : " offset:");
  125     O << ((OpNo == 0)? "offset:" : " offset:");
  146     O << " offset0:";
  155     O << " offset1:";
  211     O << " dmask:";
  219   O << " dim:SQ_RSRC_IMG_";
  223     O << DimInfo->AsmSuffix;
  260     O << " compr";
  267     O << " vm";
  275       O << " format:" << Val;
  277       O << " dfmt:" << (Val & 15);
  278       O << ", nfmt:" << (Val >> 4);
  299   O << getRegisterName(RegNo);
  306       O << "_e64 ";
  308       O << "_dpp ";
  310       O << "_sdwa ";
  312       O << "_e32 ";
  341     O << " ";
  343     O << "_e32 ";
  358     O<< "1.0";
  360     O<< "-1.0";
  362     O<< "0.5";
  364     O<< "-0.5";
  366     O<< "2.0";
  368     O<< "-2.0";
  370     O<< "4.0";
  372     O<< "-4.0";
  375     O << "0.15915494";
  397     O << "0.0";
  399     O << "1.0";
  401     O << "-1.0";
  403     O << "0.5";
  405     O << "-0.5";
  407     O << "2.0";
  409     O << "-2.0";
  411     O << "4.0";
  413     O << "-4.0";
  416     O << "0.15915494";
  431     O << "0.0";
  433     O << "1.0";
  435     O << "-1.0";
  437     O << "0.5";
  439     O << "-0.5";
  441     O << "2.0";
  443     O << "-2.0";
  445     O << "4.0";
  447     O << "-4.0";
  450     O << "0.15915494309189532";
  467   O << " blgp:" << Imm;
  477   O << " cbsz:" << Imm;
  487   O << " abid:" << Imm;
  494     O << ", ";
  498     O << ", ";
  512     O << "/*Missing OP" << OpNo << "*/";
  512     O << "/*Missing OP" << OpNo << "*/";
  565       O << "/*invalid immediate*/";
  575       O << "0.0";
  591     O << "/*INV_OP*/";
  638       O << "neg(";
  661     O << "sext(";
  688   O << " dpp8:[" << formatDec(Imm & 0x7);
  702     O << " quad_perm:[";
  709     O << " row_shl:";
  713     O << " row_shr:";
  717     O << " row_ror:";
  721       O << " /* wave_shl is not supported starting from GFX10 */";
  724     O << " wave_shl:1";
  727       O << " /* wave_rol is not supported starting from GFX10 */";
  730     O << " wave_rol:1";
  733       O << " /* wave_shr is not supported starting from GFX10 */";
  736     O << " wave_shr:1";
  739       O << " /* wave_ror is not supported starting from GFX10 */";
  742     O << " wave_ror:1";
  744     O << " row_mirror";
  746     O << " row_half_mirror";
  749       O << " /* row_bcast is not supported starting from GFX10 */";
  752     O << " row_bcast:15";
  755       O << " /* row_bcast is not supported starting from GFX10 */";
  758     O << " row_bcast:31";
  762       O << " /* row_share is not supported on ASICs earlier than GFX10 */";
  765     O << " row_share:";
  770       O << " /* row_xmask is not supported on ASICs earlier than GFX10 */";
  773     O << "row_xmask:";
  776     O << " /* Invalid dpp_ctrl value */";
  783   O << " row_mask:";
  790   O << " bank_mask:";
  799     O << " bound_ctrl:0"; // XXX - this syntax is used in sp3
  809     O << " fi:1";
  819   case SdwaSel::BYTE_0: O << "BYTE_0"; break;
  820   case SdwaSel::BYTE_1: O << "BYTE_1"; break;
  821   case SdwaSel::BYTE_2: O << "BYTE_2"; break;
  822   case SdwaSel::BYTE_3: O << "BYTE_3"; break;
  823   case SdwaSel::WORD_0: O << "WORD_0"; break;
  824   case SdwaSel::WORD_1: O << "WORD_1"; break;
  825   case SdwaSel::DWORD: O << "DWORD"; break;
  833   O << "dst_sel:";
  840   O << "src0_sel:";
  847   O << "src1_sel:";
  856   O << "dst_unused:";
  859   case DstUnused::UNUSED_PAD: O << "UNUSED_PAD"; break;
  860   case DstUnused::UNUSED_SEXT: O << "UNUSED_SEXT"; break;
  861   case DstUnused::UNUSED_PRESERVE: O << "UNUSED_PRESERVE"; break;
  887     O << "off";
  921     O << " mrt" << Tgt;
  923     O << " mrtz";
  925     O << " null";
  927     O << " pos" << Tgt - 12;
  929     O << " prim";
  931     O << " param" << Tgt - 32;
  934     O << " invalid_target_" << Tgt;
 1008       O << " op_sel:[" << FI << ',' << BC << ']';
 1039     O << "p10";
 1042     O << "p20";
 1045     O << "p0";
 1048     O << "invalid_param_" << Imm;
 1056   O << "attr" << Attr;
 1073     O << " " << formatHex(static_cast<uint64_t>(Val));
 1075     O << " gpr_idx(";
 1081         O << IdSymbolic[ModeId];
 1093   O  << ", ";
 1121     O << " high";
 1128     O << " clamp";
 1136     O << " mul:2";
 1138     O << " mul:4";
 1140     O << " div:2";
 1158     O << "sendmsg(" << getMsgName(MsgId);
 1160       O << ", " << getMsgOpName(MsgId, OpId);
 1162         O << ", " << StreamId;
 1167     O << "sendmsg(" << MsgId << ", " << OpId << ", " << StreamId << ')';
 1167     O << "sendmsg(" << MsgId << ", " << OpId << ", " << StreamId << ')';
 1167     O << "sendmsg(" << MsgId << ", " << OpId << ", " << StreamId << ')';
 1182   O << "\"";
 1190         O << "0";
 1192         O << "1";
 1196         O << "p";
 1198         O << "i";
 1203   O << "\"";
 1216   O << " offset:";
 1220     O << "swizzle(" << IdSymbolic[ID_QUAD_PERM];
 1220     O << "swizzle(" << IdSymbolic[ID_QUAD_PERM];
 1222       O << ",";
 1226     O << ")";
 1238       O << "swizzle(" << IdSymbolic[ID_SWAP];
 1238       O << "swizzle(" << IdSymbolic[ID_SWAP];
 1239       O << ",";
 1241       O << ")";
 1247       O << "swizzle(" << IdSymbolic[ID_REVERSE];
 1247       O << "swizzle(" << IdSymbolic[ID_REVERSE];
 1248       O << ",";
 1250       O << ")";
 1260         O << "swizzle(" << IdSymbolic[ID_BROADCAST];
 1260         O << "swizzle(" << IdSymbolic[ID_BROADCAST];
 1261         O << ",";
 1263         O << ",";
 1265         O << ")";
 1268         O << "swizzle(" << IdSymbolic[ID_BITMASK_PERM];
 1268         O << "swizzle(" << IdSymbolic[ID_BITMASK_PERM];
 1269         O << ",";
 1271         O << ")";
 1291     O << "vmcnt(" << Vmcnt << ')';
 1298     O << "expcnt(" << Expcnt << ')';
 1305     O << "lgkmcnt(" << Lgkmcnt << ')';
 1320   O << "hwreg(";
 1327     O << ", " << Offset << ", " << Width;
 1327     O << ", " << Offset << ", " << Width;
 1362     O << "BS:VEC_021/SCL_122";
 1365     O << "BS:VEC_120/SCL_212";
 1368     O << "BS:VEC_102/SCL_221";
 1371     O << "BS:VEC_201";
 1374     O << "BS:VEC_210";
 1406     O << "CB" << KCacheBank << ':';
 1441     O << " * 2.0";
 1444     O << " * 4.0";
 1447     O << " / 2.0";
 1455   O  << ", ";
 1462     O << "/*Missing OP" << OpNo << "*/";
 1462     O << "/*Missing OP" << OpNo << "*/";
 1474       O << getRegisterName(Op.getReg());
 1482       O << "0.0";
 1490     O << "/*INV_OP*/";
 1543     O << " (MASKED)";
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  173   OS << "\t.amdgcn_target \"" << Target << "\"\n";
  173   OS << "\t.amdgcn_target \"" << Target << "\"\n";
  178   OS << "\t.hsa_code_object_version " <<
  179         Twine(Major) << "," << Twine(Minor) << '\n';
  188   OS << "\t.hsa_code_object_isa " <<
  189         Twine(Major) << "," << Twine(Minor) << "," << Twine(Stepping) <<
  189         Twine(Major) << "," << Twine(Minor) << "," << Twine(Stepping) <<
  189         Twine(Major) << "," << Twine(Minor) << "," << Twine(Stepping) <<
  190         ",\"" << VendorName << "\",\"" << ArchName << "\"\n";
  190         ",\"" << VendorName << "\",\"" << ArchName << "\"\n";
  196   OS << "\t.amd_kernel_code_t\n";
  198   OS << "\t.end_amd_kernel_code_t\n";
  206       OS << "\t.amdgpu_hsa_kernel " << SymbolName << '\n' ;
  213   OS << "\t.amdgpu_lds " << Symbol->getName() << ", " << Size << ", " << Align
  213   OS << "\t.amdgpu_lds " << Symbol->getName() << ", " << Size << ", " << Align
  213   OS << "\t.amdgpu_lds " << Symbol->getName() << ", " << Size << ", " << Align
  218   OS << "\t.amd_amdgpu_isa \"" << IsaVersionString << "\"\n";
  218   OS << "\t.amd_amdgpu_isa \"" << IsaVersionString << "\"\n";
  228   OS << '\t' << AssemblerDirectiveBegin << '\n';
  230   OS << '\t' << AssemblerDirectiveEnd << '\n';
  244   OS << '\t' << V3::AssemblerDirectiveBegin << '\n';
  246   OS << '\t' << V3::AssemblerDirectiveEnd << '\n';
  252   OS << "\t.p2alignl 6, " << Encoded_s_code_end << '\n';
  253   OS << "\t.fill 48, 4, " << Encoded_s_code_end << '\n';
  263   OS << "\t.amdhsa_kernel " << KernelName << '\n';
  269   OS << "\t\t.amdhsa_group_segment_fixed_size " << KD.group_segment_fixed_size
  271   OS << "\t\t.amdhsa_private_segment_fixed_size "
  274   PRINT_FIELD(OS, ".amdhsa_user_sgpr_private_segment_buffer", KD,
  277   PRINT_FIELD(OS, ".amdhsa_user_sgpr_dispatch_ptr", KD,
  280   PRINT_FIELD(OS, ".amdhsa_user_sgpr_queue_ptr", KD,
  283   PRINT_FIELD(OS, ".amdhsa_user_sgpr_kernarg_segment_ptr", KD,
  286   PRINT_FIELD(OS, ".amdhsa_user_sgpr_dispatch_id", KD,
  289   PRINT_FIELD(OS, ".amdhsa_user_sgpr_flat_scratch_init", KD,
  292   PRINT_FIELD(OS, ".amdhsa_user_sgpr_private_segment_size", KD,
  296     PRINT_FIELD(OS, ".amdhsa_wavefront_size32", KD,
  299   PRINT_FIELD(
  303   PRINT_FIELD(OS, ".amdhsa_system_sgpr_workgroup_id_x", KD,
  306   PRINT_FIELD(OS, ".amdhsa_system_sgpr_workgroup_id_y", KD,
  309   PRINT_FIELD(OS, ".amdhsa_system_sgpr_workgroup_id_z", KD,
  312   PRINT_FIELD(OS, ".amdhsa_system_sgpr_workgroup_info", KD,
  315   PRINT_FIELD(OS, ".amdhsa_system_vgpr_workitem_id", KD,
  320   OS << "\t\t.amdhsa_next_free_vgpr " << NextVGPR << '\n';
  321   OS << "\t\t.amdhsa_next_free_sgpr " << NextSGPR << '\n';
  324     OS << "\t\t.amdhsa_reserve_vcc " << ReserveVCC << '\n';
  326     OS << "\t\t.amdhsa_reserve_flat_scratch " << ReserveFlatScr << '\n';
  328     OS << "\t\t.amdhsa_reserve_xnack_mask " << ReserveXNACK << '\n';
  330   PRINT_FIELD(OS, ".amdhsa_float_round_mode_32", KD,
  333   PRINT_FIELD(OS, ".amdhsa_float_round_mode_16_64", KD,
  336   PRINT_FIELD(OS, ".amdhsa_float_denorm_mode_32", KD,
  339   PRINT_FIELD(OS, ".amdhsa_float_denorm_mode_16_64", KD,
  342   PRINT_FIELD(OS, ".amdhsa_dx10_clamp", KD,
  345   PRINT_FIELD(OS, ".amdhsa_ieee_mode", KD,
  349     PRINT_FIELD(OS, ".amdhsa_fp16_overflow", KD,
  353     PRINT_FIELD(OS, ".amdhsa_workgroup_processor_mode", KD,
  356     PRINT_FIELD(OS, ".amdhsa_memory_ordered", KD,
  359     PRINT_FIELD(OS, ".amdhsa_forward_progress", KD,
  363   PRINT_FIELD(
  367   PRINT_FIELD(OS, ".amdhsa_exception_fp_denorm_src", KD,
  370   PRINT_FIELD(
  374   PRINT_FIELD(OS, ".amdhsa_exception_fp_ieee_overflow", KD,
  377   PRINT_FIELD(OS, ".amdhsa_exception_fp_ieee_underflow", KD,
  380   PRINT_FIELD(OS, ".amdhsa_exception_fp_ieee_inexact", KD,
  383   PRINT_FIELD(OS, ".amdhsa_exception_int_div_zero", KD,
  388   OS << "\t.end_amdhsa_kernel\n";
lib/Target/AMDGPU/R600ClauseMergePass.cpp
  124     LLVM_DEBUG(dbgs() << "Excess inst counts\n");
  142     LLVM_DEBUG(dbgs() << "Wrong KC0\n");
  158     LLVM_DEBUG(dbgs() << "Wrong KC0\n");
lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp
  534           LLVM_DEBUG(dbgs() << CfCount << ":"; I->dump(););
  553                        << "Applying bug work-around for ALU_PUSH_BEFORE\n");
  566           LLVM_DEBUG(dbgs() << CfCount << ":"; MI->dump(););
  601           LLVM_DEBUG(dbgs() << CfCount << ":"; MIb->dump(););
  614           LLVM_DEBUG(dbgs() << CfCount << ":"; MIb->dump(););
  630             LLVM_DEBUG(dbgs() << CfCount << ":"; MIb->dump(););
  677             LLVM_DEBUG(dbgs() << CfCount << ":"; MI->dump(););
lib/Target/AMDGPU/R600MachineScheduler.cpp
   81       LLVM_DEBUG(dbgs() << NeededWF << " approx. Wavefronts Required\n");
  128     dbgs() << " ** Pick node **\n";
  131     dbgs() << "NO NODE \n";
  144     LLVM_DEBUG(dbgs() << "Instruction Type Switch\n");
  173   LLVM_DEBUG(dbgs() << CurEmitted << " Instructions Emitted in this clause\n");
  190   LLVM_DEBUG(dbgs() << "Top Releasing "; DAG->dumpNode(*SU));
  194   LLVM_DEBUG(dbgs() << "Bottom Releasing "; DAG->dumpNode(*SU));
  346   LLVM_DEBUG(dbgs() << "New Slot\n");
lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
  226     LLVM_DEBUG(dbgs() << "    ->"; Tmp->dump(););
  232   LLVM_DEBUG(dbgs() << "    ->"; NewMI->dump(););
  234   LLVM_DEBUG(dbgs() << "  Updating Swizzle:\n");
  237     LLVM_DEBUG(dbgs() << "    "; (*It).dump(); dbgs() << "    ->");
  237     LLVM_DEBUG(dbgs() << "    "; (*It).dump(); dbgs() << "    ->");
  371         dbgs() << "Trying to optimize ";
  377       LLVM_DEBUG(dbgs() << "Using common slots...\n";);
  385       LLVM_DEBUG(dbgs() << "Using free slots...\n";);
lib/Target/AMDGPU/R600Packetizer.cpp
  240             dbgs() << "Considering as Trans Inst :";
  253         dbgs() << "Couldn't pack :\n";
  255         dbgs() << "with the following packets :\n";
  258           dbgs() << "\n";
  260         dbgs() << "because of Consts read limitations\n";
  270         dbgs() << "Couldn't pack :\n";
  272         dbgs() << "with the following packets :\n";
  275           dbgs() << "\n";
  277         dbgs() << "because of Read port limitations\n";
lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
  204     LLVM_DEBUG(dbgs() << "Erased unused condition phi\n");
lib/Target/AMDGPU/SIFixSGPRCopies.cpp
  497                        << "Erasing from "
  498                        << printMBBReference(*MI2->getParent()) << " " << *MI2);
  507                        << "Erasing from "
  508                        << printMBBReference(*MI1->getParent()) << " " << *MI1);
  525                        << "Erasing from "
  526                        << printMBBReference(*MI1->getParent()) << " " << *MI1
  527                        << "and moving from "
  528                        << printMBBReference(*MI2->getParent()) << " to "
  529                        << printMBBReference(*I->getParent()) << " " << *MI2);
  670         LLVM_DEBUG(dbgs() << "Fixing REG_SEQUENCE: " << MI);
  682           LLVM_DEBUG(dbgs() << " Fixing INSERT_SUBREG: " << MI);
  805     LLVM_DEBUG(dbgs() << "Moving PHI to AGPR: " << MI);
  834     LLVM_DEBUG(dbgs() << "Fixing PHI: " << MI);
  838     LLVM_DEBUG(dbgs() << "Legalizing PHI: " << MI);
lib/Target/AMDGPU/SIFixVGPRCopies.cpp
   61           LLVM_DEBUG(dbgs() << "Add exec use to " << MI);
lib/Target/AMDGPU/SIFixupVectorISel.cpp
  173     LLVM_DEBUG(dbgs() << "Global Mem opp " << MI << '\n');
  214     LLVM_DEBUG(dbgs() << "New Global Mem " << *NewGlob << '\n');
lib/Target/AMDGPU/SIFoldOperands.cpp
  245       LLVM_DEBUG(dbgs() << "Not shrinking " << MI << " due to vcc liveness\n");
  245       LLVM_DEBUG(dbgs() << "Not shrinking " << MI << " due to vcc liveness\n");
  324   LLVM_DEBUG(dbgs() << "Append " << (Commuted ? "commuted" : "normal")
  324   LLVM_DEBUG(dbgs() << "Append " << (Commuted ? "commuted" : "normal")
  325                     << " operand " << OpNo << "\n  " << *MI << '\n');
  325                     << " operand " << OpNo << "\n  " << *MI << '\n');
  672       LLVM_DEBUG(dbgs() << "Folding " << OpToFold
  673                         << "\n into " << *UseMI << '\n');
  757         LLVM_DEBUG(dbgs() << "Folded " << *UseMI << '\n');
 1093       LLVM_DEBUG(dbgs() << "Folded " << *MI << " into ");
 1093       LLVM_DEBUG(dbgs() << "Folded " << *MI << " into ");
 1146         LLVM_DEBUG(dbgs() << "Constant folded " << *UseMI << '\n');
 1227       LLVM_DEBUG(dbgs() << "Folded source from " << MI << " into OpNo "
 1227       LLVM_DEBUG(dbgs() << "Folded source from " << MI << " into OpNo "
 1228                         << static_cast<int>(Fold.UseOpNo) << " of "
 1310   LLVM_DEBUG(dbgs() << "Folding clamp " << *DefClamp << " into " << *Def
 1310   LLVM_DEBUG(dbgs() << "Folding clamp " << *DefClamp << " into " << *Def
 1434   LLVM_DEBUG(dbgs() << "Folding omod " << MI << " into " << *Def << '\n');
 1434   LLVM_DEBUG(dbgs() << "Folding omod " << MI << " into " << *Def << '\n');
lib/Target/AMDGPU/SIFrameLowering.cpp
 1034       dbgs() << "Spilling FP to  " << printReg(Spill.VGPR, TRI)
 1052       dbgs() << "FP requires fallback spill to " << printReg(Spill.VGPR, TRI)
 1055     LLVM_DEBUG(dbgs() << "Saving FP with copy to " <<
lib/Target/AMDGPU/SIInsertWaitcnts.cpp
  670       OS << "    VM_CNT(" << UB - LB << "): ";
  670       OS << "    VM_CNT(" << UB - LB << "): ";
  673       OS << "    LGKM_CNT(" << UB - LB << "): ";
  673       OS << "    LGKM_CNT(" << UB - LB << "): ";
  676       OS << "    EXP_CNT(" << UB - LB << "): ";
  676       OS << "    EXP_CNT(" << UB - LB << "): ";
  679       OS << "    VS_CNT(" << UB - LB << "): ";
  679       OS << "    VS_CNT(" << UB - LB << "): ";
  682       OS << "    UNKNOWN(" << UB - LB << "): ";
  682       OS << "    UNKNOWN(" << UB - LB << "): ";
  694           OS << RelScore << ":v" << J << " ";
  694           OS << RelScore << ":v" << J << " ";
  696           OS << RelScore << ":ds ";
  706           OS << RelScore << ":s" << J << " ";
  706           OS << RelScore << ":s" << J << " ";
 1141       LLVM_DEBUG(dbgs() << "updateWaitcntInBlock\n"
 1142                         << "Old Instr: " << MI << '\n'
 1143                         << "New Instr: " << *II << '\n');
 1158     LLVM_DEBUG(dbgs() << "insertWaitcntInBlock\n"
 1159                       << "Old Instr: " << MI << '\n'
 1160                       << "New Instr: " << *SWaitInst << '\n');
 1174     LLVM_DEBUG(dbgs() << "insertWaitcntInBlock\n"
 1175                       << "Old Instr: " << MI << '\n'
 1176                       << "New Instr: " << *SWaitInst << '\n');
 1367     dbgs() << "*** Block" << Block.getNumber() << " ***";
 1367     dbgs() << "*** Block" << Block.getNumber() << " ***";
lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
  950   LLVM_DEBUG(dbgs() << "Inserted read2: " << *Read2 << '\n');
 1033   LLVM_DEBUG(dbgs() << "Inserted write2 inst: " << *Write2 << '\n');
 1366   LLVM_DEBUG(dbgs() << "    "; Mov->dump());
 1385   LLVM_DEBUG(dbgs() << "  Re-Computed Anchor-Base:\n");
 1403   LLVM_DEBUG(dbgs() << "    "; LoHalf->dump(););
 1413   LLVM_DEBUG(dbgs() << "    "; HiHalf->dump(););
 1423   LLVM_DEBUG(dbgs() << "    "; FullBase->dump(); dbgs() << "\n";);
 1423   LLVM_DEBUG(dbgs() << "    "; FullBase->dump(); dbgs() << "\n";);
 1533   LLVM_DEBUG(dbgs() << "\nTryToPromoteConstantOffsetToImmFor "; MI.dump());
 1536     LLVM_DEBUG(dbgs() << "  Const-offset is already promoted.\n";);
 1550     LLVM_DEBUG(dbgs() << "  Failed to extract constant-offset or there are no"
 1555   LLVM_DEBUG(dbgs() << "  BASE: {" << MAddr.Base.HiReg << ", "
 1555   LLVM_DEBUG(dbgs() << "  BASE: {" << MAddr.Base.HiReg << ", "
 1556              << MAddr.Base.LoReg << "} Offset: " << MAddr.Offset << "\n\n";);
 1556              << MAddr.Base.LoReg << "} Offset: " << MAddr.Offset << "\n\n";);
 1634     LLVM_DEBUG(dbgs() << "  Anchor-Inst(with max-distance from Offset): ";
 1636     LLVM_DEBUG(dbgs() << "  Anchor-Offset from BASE: "
 1637                <<  AnchorAddr.Offset << "\n\n");
 1643     LLVM_DEBUG(dbgs() << "  After promotion: "; MI.dump(););
 1651         LLVM_DEBUG(dbgs() << "  Promote Offset(" << P.second;
 1652                    dbgs() << ")"; P.first->dump());
 1654         LLVM_DEBUG(dbgs() << "     After promotion: "; P.first->dump());
 1845   LLVM_DEBUG(dbgs() << "Running SILoadStoreOptimizer\n");
lib/Target/AMDGPU/SILowerI1Copies.cpp
  518       LLVM_DEBUG(dbgs() << "Lower copy from i1: " << MI);
  567     LLVM_DEBUG(dbgs() << "Lower PHI: " << *MI);
  689       LLVM_DEBUG(dbgs() << "Lower Other: " << MI);
lib/Target/AMDGPU/SIMachineFunctionInfo.h
  112     OS << "GWSResource";
lib/Target/AMDGPU/SIMachineScheduler.cpp
  205   dbgs() << "  SU(" << Cand.SU->NodeNum << ") " << getReasonStr(Cand.Reason);
  205   dbgs() << "  SU(" << Cand.SU->NodeNum << ") " << getReasonStr(Cand.Reason);
  205   dbgs() << "  SU(" << Cand.SU->NodeNum << ") " << getReasonStr(Cand.Reason);
  472     dbgs() << "*** Scheduling failed! ***\n";
  474     dbgs() << " has been released too many times!\n";
  504     dbgs() << "Data Structure Bug in SI Scheduler\n";
  579   dbgs() << "Block (" << ID << ")\n";
  579   dbgs() << "Block (" << ID << ")\n";
  583   dbgs() << "\nContains High Latency Instruction: "
  585   dbgs() << "\nDepends On:\n";
  590   dbgs() << "\nSuccessors:\n";
  593       dbgs() << "(Data Dep) ";
  598     dbgs() << "LiveInPressure " << LiveInPressure[DAG->getSGPRSetID()] << ' '
  600     dbgs() << "LiveOutPressure " << LiveOutPressure[DAG->getSGPRSetID()] << ' '
  601            << LiveOutPressure[DAG->getVGPRSetID()] << "\n\n";
  602     dbgs() << "LiveIns:\n";
  606     dbgs() << "\nLiveOuts:\n";
  611   dbgs() << "\nInstructions:\n";
  620   dbgs() << "///////////////////////\n";
 1208   LLVM_DEBUG(dbgs() << "Coloring the graph\n");
 1265   LLVM_DEBUG(dbgs() << "Blocks created:\n\n";
 1289   LLVM_DEBUG(dbgs() << "Topological Sort\n");
 1336   LLVM_DEBUG(dbgs() << "\nScheduling Blocks\n\n");
 1340   LLVM_DEBUG(dbgs() << "First phase: Fast scheduling for Reg Liveness\n");
 1394   LLVM_DEBUG(dbgs() << "Restoring MI Pos\n");
 1562   LLVM_DEBUG(dbgs() << "Block Order:"; for (SIScheduleBlock *Block
 1628   LLVM_DEBUG(dbgs() << "Picking New Blocks\n"; dbgs() << "Available: ";
 1628   LLVM_DEBUG(dbgs() << "Picking New Blocks\n"; dbgs() << "Available: ";
 1632              dbgs() << "\nCurrent Live:\n";
 1637              dbgs() << "Current VGPRs: " << VregCurrentUsage << '\n';
 1638              dbgs() << "Current SGPRs: " << SregCurrentUsage << '\n';);
 1670       LLVM_DEBUG(dbgs() << "Best Current Choice: " << Cand.Block->getID() << ' '
 1671                         << getReasonStr(Cand.Reason) << '\n');
 1675   LLVM_DEBUG(dbgs() << "Picking: " << Cand.Block->getID() << '\n';
 1676              dbgs() << "Is a block with high latency instruction: "
 1677                     << (Cand.IsHighLatency ? "yes\n" : "no\n");
 1678              dbgs() << "Position of last high latency dependency: "
 1680              dbgs() << "VGPRUsageDiff: " << Cand.VGPRUsageDiff << '\n';
 1932   LLVM_DEBUG(dbgs() << "Preparing Scheduling\n");
 2037     LLVM_DEBUG(dbgs() << "Scheduling SU(" << SU->NodeNum << ") "
 2037     LLVM_DEBUG(dbgs() << "Scheduling SU(" << SU->NodeNum << ") "
 2046     dbgs() << "*** Final schedule for "
 2047            << printMBBReference(*begin()->getParent()) << " ***\n";
lib/Target/AMDGPU/SIOptimizeExecMasking.cpp
  307         LLVM_DEBUG(dbgs() << "Fold exec copy: " << *PrepareExecInst);
  311         LLVM_DEBUG(dbgs() << "into: " << *PrepareExecInst << '\n');
  321       LLVM_DEBUG(dbgs() << "Exec copy source register is live out\n");
  333         LLVM_DEBUG(dbgs() << "exec read prevents saveexec: " << *J << '\n');
  344           LLVM_DEBUG(dbgs() << "Multiple instructions modify "
  356           LLVM_DEBUG(dbgs() << "Found save exec op: " << *SaveExecInst << '\n');
  360                      << "Instruction does not read exec copy: " << *J << '\n');
  372         LLVM_DEBUG(dbgs() << "Found second use of save inst candidate: " << *J
  386     LLVM_DEBUG(dbgs() << "Insert save exec op: " << *SaveExecInst << '\n');
lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
  253   LLVM_DEBUG(dbgs() << "Folding sequence:\n\t" << *Sel << '\t' << *Cmp << '\t'
  266   LLVM_DEBUG(dbgs() << "=>\n\t" << *Andn2 << '\n');
  276     LLVM_DEBUG(dbgs() << "Erasing: " << *Cmp << '\n');
  283       LLVM_DEBUG(dbgs() << "Erasing: " << *Sel << '\n');
  354                      << "Removing no effect instruction: " << *I << '\n');
  393     LLVM_DEBUG(dbgs() << "Redundant EXEC = S_OR_B64 found: " << *Lead << '\n');
  424       LLVM_DEBUG(dbgs() << "Redundant EXEC COPY: " << *SaveExec << '\n');
lib/Target/AMDGPU/SIPeepholeSDWA.cpp
  226   case BYTE_0: OS << "BYTE_0"; break;
  227   case BYTE_1: OS << "BYTE_1"; break;
  228   case BYTE_2: OS << "BYTE_2"; break;
  229   case BYTE_3: OS << "BYTE_3"; break;
  230   case WORD_0: OS << "WORD_0"; break;
  231   case WORD_1: OS << "WORD_1"; break;
  232   case DWORD:  OS << "DWORD"; break;
  239   case UNUSED_PAD: OS << "UNUSED_PAD"; break;
  240   case UNUSED_SEXT: OS << "UNUSED_SEXT"; break;
  241   case UNUSED_PRESERVE: OS << "UNUSED_PRESERVE"; break;
  253   OS << "SDWA src: " << *getTargetOperand()
  254     << " src_sel:" << getSrcSel()
  255     << " abs:" << getAbs() << " neg:" << getNeg()
  255     << " abs:" << getAbs() << " neg:" << getNeg()
  256     << " sext:" << getSext() << '\n';
  261   OS << "SDWA dst: " << *getTargetOperand()
  262     << " dst_sel:" << getDstSel()
  263     << " dst_unused:" << getDstUnused() << '\n';
  268   OS << "SDWA preserve dst: " << *getTargetOperand()
  269     << " dst_sel:" << getDstSel()
  270     << " preserve:" << *getPreservedOperand() << '\n';
  855       LLVM_DEBUG(dbgs() << "Match: " << MI << "To: " << *Operand << '\n');
  855       LLVM_DEBUG(dbgs() << "Match: " << MI << "To: " << *Operand << '\n');
  992   LLVM_DEBUG(dbgs() << "Convert instruction:" << MI);
 1143     LLVM_DEBUG(dbgs() << *SDWAInst << "\nOperand: " << *Operand);
 1164   LLVM_DEBUG(dbgs() << "\nInto:" << *SDWAInst << '\n');
lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
  164   LLVM_DEBUG(dbgs() << "SIPreAllocateWWMRegs: function " << MF.getName() << "\n");
  164   LLVM_DEBUG(dbgs() << "SIPreAllocateWWMRegs: function " << MF.getName() << "\n");
  195         LLVM_DEBUG(dbgs() << "entering WWM region: " << MI << "\n");
  195         LLVM_DEBUG(dbgs() << "entering WWM region: " << MI << "\n");
  201         LLVM_DEBUG(dbgs() << "exiting WWM region: " << MI << "\n");
  201         LLVM_DEBUG(dbgs() << "exiting WWM region: " << MI << "\n");
  208       LLVM_DEBUG(dbgs() << "processing " << MI << "\n");
  208       LLVM_DEBUG(dbgs() << "processing " << MI << "\n");
lib/Target/AMDGPU/SIShrinkInstructions.cpp
  522     LLVM_DEBUG(dbgs() << "Matched v_swap_b32:\n" << MovT << *MovX << MovY);
  783       LLVM_DEBUG(dbgs() << "Shrinking " << MI);
  794       LLVM_DEBUG(dbgs() << "e32 MI = " << *Inst32 << '\n');
lib/Target/AMDGPU/SIWholeQuadMode.cpp
  109     OS << "WQM";
  113     OS << "WWM";
  118     OS << "Exact";
  230     dbgs() << "\n"
  231            << printMBBReference(*BII.first) << ":\n"
  232            << "  InNeeds = " << PrintState(BII.second.InNeeds)
  233            << ", Needs = " << PrintState(BII.second.Needs)
  234            << ", OutNeeds = " << PrintState(BII.second.OutNeeds) << "\n\n";
  234            << ", OutNeeds = " << PrintState(BII.second.OutNeeds) << "\n\n";
  241       dbgs() << "  " << MI << "    Needs = " << PrintState(III->second.Needs)
  241       dbgs() << "  " << MI << "    Needs = " << PrintState(III->second.Needs)
  242              << ", OutNeeds = " << PrintState(III->second.OutNeeds) << '\n';
  703   LLVM_DEBUG(dbgs() << "\nProcessing block " << printMBBReference(MBB)
  704                     << ":\n");
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  232          << "gfx"
  238     Stream << "+xnack";
  240     Stream << "+sram-ecc";
lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
  554     Stream << '\t' << AMDGPU::PALMD::AssemblerDirective << ' ';
  561       Stream << "0x" << Twine::utohexstr(Reg) << ",0x" << Twine::utohexstr(Val);
  561       Stream << "0x" << Twine::utohexstr(Reg) << ",0x" << Twine::utohexstr(Val);
  586   Stream << '\t' << AMDGPU::PALMD::AssemblerDirectiveBegin << '\n';
  588   Stream << '\t' << AMDGPU::PALMD::AssemblerDirectiveEnd << '\n';
  643         errs() << "Unrecognized PAL metadata register key '" << S << "'\n";
  643         errs() << "Unrecognized PAL metadata register key '" << S << "'\n";
lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp
   71   return OS << Name << " = ";
  111     OS << tab;
  122     Err << "expected '='";
  128     Err << "integer absolute expression expected";
  174     Err << "unexpected amd_kernel_code_t field name " << ID;
lib/Target/ARC/ARCBranchFinalize.cpp
  114   LLVM_DEBUG(dbgs() << "Replacing pseudo branch with BRcc\n");
  130   LLVM_DEBUG(dbgs() << "Branch: " << *MI << "\n");
  130   LLVM_DEBUG(dbgs() << "Branch: " << *MI << "\n");
  131   LLVM_DEBUG(dbgs() << "Replacing pseudo branch with Cmp + Bcc\n");
  143   LLVM_DEBUG(dbgs() << "Running ARC Branch Finalize on " << MF.getName()
  144                     << "\n");
  158         LLVM_DEBUG(dbgs() << "Unknown (or size 0) size for: " << MI << "\n");
  158         LLVM_DEBUG(dbgs() << "Unknown (or size 0) size for: " << MI << "\n");
  174   LLVM_DEBUG(dbgs() << "Estimated function size for " << MF.getName() << ": "
  174   LLVM_DEBUG(dbgs() << "Estimated function size for " << MF.getName() << ": "
  175                     << MaxSize << "\n");
lib/Target/ARC/ARCFrameLowering.cpp
   61   LLVM_DEBUG(dbgs() << "Internal: adjust stack by: " << Amount << ","
   61   LLVM_DEBUG(dbgs() << "Internal: adjust stack by: " << Amount << ","
   62                     << AbsAmount << "\n");
   92   LLVM_DEBUG(dbgs() << "Determine Callee Saves: " << MF.getName() << "\n");
   92   LLVM_DEBUG(dbgs() << "Determine Callee Saves: " << MF.getName() << "\n");
  118   LLVM_DEBUG(dbgs() << "Emit Prologue: " << MF.getName() << "\n");
  118   LLVM_DEBUG(dbgs() << "Emit Prologue: " << MF.getName() << "\n");
  136     LLVM_DEBUG(dbgs() << "Varargs\n");
  148     LLVM_DEBUG(dbgs() << "Saving FP\n");
  157     LLVM_DEBUG(dbgs() << "Creating store funclet.\n");
  173     LLVM_DEBUG(dbgs() << "Creating save blink.\n");
  180   LLVM_DEBUG(dbgs() << "Adjusting stack by: "
  181                     << (MFI.getStackSize() - AlreadyAdjusted) << "\n");
  186     LLVM_DEBUG(dbgs() << "Setting FP from SP.\n");
  242   LLVM_DEBUG(dbgs() << "Emit Epilogue: " << MF.getName() << "\n");
  242   LLVM_DEBUG(dbgs() << "Emit Epilogue: " << MF.getName() << "\n");
  323     LLVM_DEBUG(dbgs() << "Varargs\n");
  358     LLVM_DEBUG(dbgs() << "Creating fixed object (" << StackObj << ") for FP at "
  358     LLVM_DEBUG(dbgs() << "Creating fixed object (" << StackObj << ") for FP at "
  359                       << CurOffset << "\n");
  366     LLVM_DEBUG(dbgs() << "Creating fixed object (" << StackObj
  367                       << ") for BLINK at " << CurOffset << "\n");
  367                       << ") for BLINK at " << CurOffset << "\n");
  390       LLVM_DEBUG(dbgs() << "Creating fixed object (" << I.getFrameIdx()
  391                         << ") for other register at " << CurOffset << "\n");
  391                         << ") for other register at " << CurOffset << "\n");
  394       LLVM_DEBUG(dbgs() << "Updating fixed object (" << I.getFrameIdx()
  395                         << ") for other register at " << CurOffset << "\n");
  395                         << ") for other register at " << CurOffset << "\n");
  406   LLVM_DEBUG(dbgs() << "Spill callee saved registers: "
  407                     << MBB.getParent()->getName() << "\n");
  423   LLVM_DEBUG(dbgs() << "Restore callee saved registers: "
  424                     << MBB.getParent()->getName() << "\n");
  438   LLVM_DEBUG(dbgs() << "Process function before frame finalized: "
  439                     << MF.getName() << "\n");
  441   LLVM_DEBUG(dbgs() << "Current stack size: " << MFI.getStackSize() << "\n");
  441   LLVM_DEBUG(dbgs() << "Current stack size: " << MFI.getStackSize() << "\n");
  447     LLVM_DEBUG(dbgs() << "Created scavenging index RegScavFI=" << RegScavFI
  448                       << "\n");
  472   LLVM_DEBUG(dbgs() << "EmitCallFramePseudo: " << MF.getName() << "\n");
  472   LLVM_DEBUG(dbgs() << "EmitCallFramePseudo: " << MF.getName() << "\n");
lib/Target/ARC/ARCISelLowering.cpp
  488         LLVM_DEBUG(errs() << "LowerFormalArguments Unhandled argument type: "
  489                           << (unsigned)RegVT.getSimpleVT().SimpleTy << "\n");
lib/Target/ARC/ARCInstrInfo.cpp
  313   LLVM_DEBUG(dbgs() << "Created store reg=" << printReg(SrcReg, TRI)
  314                     << " to FrameIndex=" << FrameIndex << "\n");
  314                     << " to FrameIndex=" << FrameIndex << "\n");
  340   LLVM_DEBUG(dbgs() << "Created load reg=" << printReg(DestReg, TRI)
  341                     << " from FrameIndex=" << FrameIndex << "\n");
  341                     << " from FrameIndex=" << FrameIndex << "\n");
lib/Target/ARC/ARCOptAddrMode.cpp
  192   LLVM_DEBUG(dbgs() << "[ABAW] tryToCombine " << Ldst);
  194     LLVM_DEBUG(dbgs() << "[ABAW] Not a recognized load/store\n");
  203     LLVM_DEBUG(dbgs() << "[ABAW] Offset is not immediate\n");
  209     LLVM_DEBUG(dbgs() << "[ABAW] Base is not VReg\n");
  215     LLVM_DEBUG(dbgs() << "[ABAW] Non-zero offset\n");
  237                dbgs() << "[ABAW] Instructions " << *First << " and " << *Last
  237                dbgs() << "[ABAW] Instructions " << *First << " and " << *Last
  238                       << " combined\n";
  275   LLVM_DEBUG(dbgs() << "canJoinInstructions: " << *First << *Last);
  282         << "[canJoinInstructions] Cannot determine base/offset position\n");
  297       LLVM_DEBUG(dbgs() << "[canJoinInstructions] Store uses result of Add\n");
  324       LLVM_DEBUG(dbgs() << "[canJoinInstructions] Can sink Add down to Ldst\n");
  327       LLVM_DEBUG(dbgs() << "[canJoinInstructions] Can hoist Ldst to Add\n");
  334     LLVM_DEBUG(dbgs() << "[canJoinInstructions] Can hoist Add to Ldst\n");
  355     LLVM_DEBUG(dbgs() << "Instruction cannot handle displacement " << -NewOffset
  356                       << ": " << *MI);
  464   LLVM_DEBUG(dbgs() << "[ABAW] New Ldst: " << Ldst);
lib/Target/ARC/ARCRegisterInfo.cpp
   68       LLVM_DEBUG(dbgs() << "Scavenged register " << printReg(BaseReg, TRI)
   69                         << " for FrameReg=" << printReg(FrameReg, TRI)
   70                         << "+Offset=" << Offset << "\n");
   70                         << "+Offset=" << Offset << "\n");
   92     LLVM_DEBUG(dbgs() << "Building LDFI\n");
  105     LLVM_DEBUG(dbgs() << "Building STFI\n");
  113     LLVM_DEBUG(dbgs() << "Building GETFI\n");
  181   LLVM_DEBUG(dbgs() << "\nFunction         : " << MF.getName() << "\n");
  181   LLVM_DEBUG(dbgs() << "\nFunction         : " << MF.getName() << "\n");
  182   LLVM_DEBUG(dbgs() << "<--------->\n");
  183   LLVM_DEBUG(dbgs() << MI << "\n");
  184   LLVM_DEBUG(dbgs() << "FrameIndex         : " << FrameIndex << "\n");
  184   LLVM_DEBUG(dbgs() << "FrameIndex         : " << FrameIndex << "\n");
  185   LLVM_DEBUG(dbgs() << "ObjSize            : " << ObjSize << "\n");
  185   LLVM_DEBUG(dbgs() << "ObjSize            : " << ObjSize << "\n");
  186   LLVM_DEBUG(dbgs() << "FrameOffset        : " << Offset << "\n");
  186   LLVM_DEBUG(dbgs() << "FrameOffset        : " << Offset << "\n");
  187   LLVM_DEBUG(dbgs() << "StackSize          : " << StackSize << "\n");
  187   LLVM_DEBUG(dbgs() << "StackSize          : " << StackSize << "\n");
  188   LLVM_DEBUG(dbgs() << "LocalFrameSize     : " << LocalFrameSize << "\n");
  188   LLVM_DEBUG(dbgs() << "LocalFrameSize     : " << LocalFrameSize << "\n");
  206   LLVM_DEBUG(dbgs() << "Offset             : " << Offset << "\n"
  206   LLVM_DEBUG(dbgs() << "Offset             : " << Offset << "\n"
  207                     << "<--------->\n");
lib/Target/ARC/Disassembler/ARCDisassembler.cpp
  125     LLVM_DEBUG(dbgs() << "Not a GPR32 register.");
  225     LLVM_DEBUG(dbgs() << "Decoding StLImm found non-limm register.");
  240   LLVM_DEBUG(dbgs() << "Decoding LdLImm:\n");
  243     LLVM_DEBUG(dbgs() << "Decoding LdLImm found non-limm register.");
  258   LLVM_DEBUG(dbgs() << "Decoding LdRLimm\n");
  264     LLVM_DEBUG(dbgs() << "Decoding LdRLimm found non-limm register.");
  274   LLVM_DEBUG(dbgs() << "Decoding MOV_S h-register\n");
  325         LLVM_DEBUG(dbgs() << "Successfully decoded 64-bit instruction.");
  328       LLVM_DEBUG(dbgs() << "Not a 64-bit instruction, falling back to 32-bit.");
  346             dbgs() << "Successfully decoded 16-bit instruction with limm.");
  350           dbgs() << "Not a 16-bit instruction with limm, try without it.");
lib/Target/ARC/MCTargetDesc/ARCInstPrinter.cpp
   32   LLVM_DEBUG(dbgs() << "Unknown condition code passed: " << cc << "\n");
   32   LLVM_DEBUG(dbgs() << "Unknown condition code passed: " << cc << "\n");
  112     OS << "0x";
  163   O << "," << offset.getImm();
  171   O << ARCCondCodeToString((ARCCC::CondCode)Op.getImm());
  178   O << ARCBRCondCodeToString((ARCCC::BRCondCode)Op.getImm());
lib/Target/ARM/A15SDOptimizer.cpp
  182   LLVM_DEBUG(dbgs() << "Deleting base instruction " << *MI << "\n");
  182   LLVM_DEBUG(dbgs() << "Deleting base instruction " << *MI << "\n");
  234       LLVM_DEBUG(dbgs() << "Deleting instruction " << *Def << "\n");
  234       LLVM_DEBUG(dbgs() << "Deleting instruction " << *Def << "\n");
  266             LLVM_DEBUG(dbgs() << "Found a subreg copy: " << *SPRMI);
  274               LLVM_DEBUG(dbgs() << "Subreg copy is compatible - returning ");
  275               LLVM_DEBUG(dbgs() << printReg(FullReg) << "\n");
  389        LLVM_DEBUG(dbgs() << "Found partial copy" << *MI << "\n");
  389        LLVM_DEBUG(dbgs() << "Found partial copy" << *MI << "\n");
  644           LLVM_DEBUG(dbgs() << "Replacing operand " << **I << " with "
  644           LLVM_DEBUG(dbgs() << "Replacing operand " << **I << " with "
  645                             << printReg(NewReg) << "\n");
  670   LLVM_DEBUG(dbgs() << "Running on function " << Fn.getName() << "\n");
  670   LLVM_DEBUG(dbgs() << "Running on function " << Fn.getName() << "\n");
lib/Target/ARM/ARMAsmPrinter.cpp
  192     O << ":lower16:";
  194     O << ":upper16:";
  214     O << ARMInstPrinter::getRegisterName(Reg);
  221       O << ":lower16:";
  223       O << ":upper16:";
  257   raw_svector_ostream(Name) << DL.getPrivateGlobalPrefix() << "JTI"
  286           O << ARMInstPrinter::getRegisterName(*SR) << (Lane0 ? "[0]" : "[1]");
  286           O << ARMInstPrinter::getRegisterName(*SR) << (Lane0 ? "[0]" : "[1]");
  309       O << "{";
  313         O << ARMInstPrinter::getRegisterName(Reg0) << ", ";
  313         O << ARMInstPrinter::getRegisterName(Reg0) << ", ";
  316       O << ARMInstPrinter::getRegisterName(RegBegin);
  324         O << ", "
  325           << ARMInstPrinter::getRegisterName(MI->getOperand(RegOps).getReg());
  329       O << "}";
  383         O << ARMInstPrinter::getRegisterName(Reg);
  395       O << ARMInstPrinter::getRegisterName(Reg);
  409       O << ARMInstPrinter::getRegisterName(SubReg);
  426       O << ARMInstPrinter::getRegisterName(Reg);
  449         O << ARMInstPrinter::getRegisterName(MI->getOperand(OpNum).getReg());
  456   O << "[" << ARMInstPrinter::getRegisterName(MO.getReg()) << "]";
  456   O << "[" << ARMInstPrinter::getRegisterName(MO.getReg()) << "]";
  456   O << "[" << ARMInstPrinter::getRegisterName(MO.getReg()) << "]";
lib/Target/ARM/ARMBaseInstrInfo.cpp
 1614   LLVM_DEBUG(dbgs() << "widening:    " << MI);
 1643   LLVM_DEBUG(dbgs() << "replaced by: " << MI);
lib/Target/ARM/ARMBaseRegisterInfo.cpp
  875   LLVM_DEBUG(dbgs() << "\tARM::shouldCoalesce - Coalesced Weight: "
  876                     << It->second << "\n");
  877   LLVM_DEBUG(dbgs() << "\tARM::shouldCoalesce - Reg Weight: "
  878                     << NewRCWeight.RegWeight << "\n");
lib/Target/ARM/ARMBasicBlockInfo.cpp
   48   LLVM_DEBUG(dbgs() << "computeBlockSize: " << MBB->getName() << "\n");
   48   LLVM_DEBUG(dbgs() << "computeBlockSize: " << MBB->getName() << "\n");
  100   LLVM_DEBUG(dbgs() << "Branch of destination " << printMBBReference(*DestBB)
  101                     << " from " << printMBBReference(*MI->getParent())
  102                     << " max delta=" << MaxDisp << " from " << getOffsetOf(MI)
  102                     << " max delta=" << MaxDisp << " from " << getOffsetOf(MI)
  103                     << " to " << DestOffset << " offset "
  103                     << " to " << DestOffset << " offset "
  104                     << int(DestOffset - BrOffset) << "\t" << *MI);
  122   LLVM_DEBUG(dbgs() << "Adjust block:\n"
  123              << " - name: " << BB->getName() << "\n"
  123              << " - name: " << BB->getName() << "\n"
  124              << " - number: " << BB->getNumber() << "\n"
  124              << " - number: " << BB->getNumber() << "\n"
  125              << " - function: " << MF.getName() << "\n"
  125              << " - function: " << MF.getName() << "\n"
  126              << "   - blocks: " << MF.getNumBlockIDs() << "\n");
  126              << "   - blocks: " << MF.getNumBlockIDs() << "\n");
lib/Target/ARM/ARMCodeGenPrepare.cpp
  388   LLVM_DEBUG(dbgs() << "ARM CGP: Allowing safe overflow for " << *I << "\n");
  388   LLVM_DEBUG(dbgs() << "ARM CGP: Allowing safe overflow for " << *I << "\n");
  450   LLVM_DEBUG(dbgs() << "ARM CGP: Replacing " << *From << " with " << *To
  450   LLVM_DEBUG(dbgs() << "ARM CGP: Replacing " << *From << " with " << *To
  451              << "\n");
  471   LLVM_DEBUG(dbgs() << "ARM CGP: Prepare underflowing adds.\n");
  482     LLVM_DEBUG(dbgs() << "ARM CGP: Adjusting " << *I << "\n");
  482     LLVM_DEBUG(dbgs() << "ARM CGP: Adjusting " << *I << "\n");
  497     LLVM_DEBUG(dbgs() << "ARM CGP: New equivalent: " << *NewVal << "\n");
  497     LLVM_DEBUG(dbgs() << "ARM CGP: New equivalent: " << *NewVal << "\n");
  508     LLVM_DEBUG(dbgs() << "ARM CGP: Inserting ZExt for " << *V << "\n");
  508     LLVM_DEBUG(dbgs() << "ARM CGP: Inserting ZExt for " << *V << "\n");
  526   LLVM_DEBUG(dbgs() << "ARM CGP: Promoting sources:\n");
  528     LLVM_DEBUG(dbgs() << " - " << *V << "\n");
  528     LLVM_DEBUG(dbgs() << " - " << *V << "\n");
  542   LLVM_DEBUG(dbgs() << "ARM CGP: Mutating the tree..\n");
  590     LLVM_DEBUG(dbgs() << "ARM CGP: Inserting DSP intrinsic for "
  591                << *I << "\n");
  604   LLVM_DEBUG(dbgs() << "ARM CGP: Fixing up the sinks:\n");
  615     LLVM_DEBUG(dbgs() << "ARM CGP: Creating " << *TruncTy << " Trunc for "
  615     LLVM_DEBUG(dbgs() << "ARM CGP: Creating " << *TruncTy << " Trunc for "
  616                << *V << "\n");
  627     LLVM_DEBUG(dbgs() << "ARM CGP: For Sink: " << *I << "\n");
  627     LLVM_DEBUG(dbgs() << "ARM CGP: For Sink: " << *I << "\n");
  664   LLVM_DEBUG(dbgs() << "ARM CGP: Cleanup..\n");
  677       LLVM_DEBUG(dbgs() << "ARM CGP: Removing unnecessary cast: " << *ZExt
  678                  << "\n");
  696     LLVM_DEBUG(dbgs() << "ARM CGP: Removing " << *I << "\n");
  696     LLVM_DEBUG(dbgs() << "ARM CGP: Removing " << *I << "\n");
  710   LLVM_DEBUG(dbgs() << "ARM CGP: Converting truncs..\n");
  740   LLVM_DEBUG(dbgs() << "ARM CGP: Promoting use-def chains to from "
  741              << ARMCodeGenPrepare::TypeSize << " to 32-bits\n");
  797   LLVM_DEBUG(dbgs() << "ARM CGP: Mutation complete\n");
  888   LLVM_DEBUG(dbgs() << "ARM CGP: Will use an intrinsic for: " << *I << "\n");
  888   LLVM_DEBUG(dbgs() << "ARM CGP: Will use an intrinsic for: " << *I << "\n");
  904   LLVM_DEBUG(dbgs() << "ARM CGP: TryToPromote: " << *V << ", TypeSize = "
  904   LLVM_DEBUG(dbgs() << "ARM CGP: TryToPromote: " << *V << ", TypeSize = "
  905              << TypeSize << "\n");
  926       LLVM_DEBUG(dbgs() << "ARM CGP: Can't handle: " << *V << "\n");
  926       LLVM_DEBUG(dbgs() << "ARM CGP: Can't handle: " << *V << "\n");
  982   LLVM_DEBUG(dbgs() << "ARM CGP: Visited nodes:\n";
 1019   LLVM_DEBUG(dbgs() << "ARM CGP: Running on " << F.getName() << "\n");
 1019   LLVM_DEBUG(dbgs() << "ARM CGP: Running on " << F.getName() << "\n");
 1035         LLVM_DEBUG(dbgs() << "ARM CGP: Searching from: " << CI << "\n");
 1035         LLVM_DEBUG(dbgs() << "ARM CGP: Searching from: " << CI << "\n");
 1049     LLVM_DEBUG(dbgs() << "After ARMCodeGenPrepare: " << F << "\n");
 1049     LLVM_DEBUG(dbgs() << "After ARMCodeGenPrepare: " << F << "\n");
lib/Target/ARM/ARMConstantIslandPass.cpp
  311   LLVM_DEBUG(dbgs() << "Verifying " << CPUsers.size() << " CP users.\n");
  311   LLVM_DEBUG(dbgs() << "Verifying " << CPUsers.size() << " CP users.\n");
  319       LLVM_DEBUG(dbgs() << "OK\n");
  322     LLVM_DEBUG(dbgs() << "Out of range.\n");
  338              << " kb=" << unsigned(BBI.KnownBits)
  339              << " ua=" << unsigned(BBI.Unalign) << " pa=" << Log2(BBI.PostAlign)
  339              << " ua=" << unsigned(BBI.Unalign) << " pa=" << Log2(BBI.PostAlign)
  351   LLVM_DEBUG(dbgs() << "***** ARMConstantIslands: "
  352                     << MCP->getConstants().size() << " CP entries, aligned to "
  353                     << MCP->getConstantPoolAlignment() << " bytes *****\n");
  416     LLVM_DEBUG(dbgs() << "Beginning CP iteration #" << NoCPIters << '\n');
  431     LLVM_DEBUG(dbgs() << "Beginning BR iteration #" << NoBRIters << '\n');
  544     LLVM_DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
  544     LLVM_DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
  545                       << Size << ", align = " << Align << '\n');
 1071       dbgs() << "User of CPE#" << CPEMI->getOperand(0).getImm()
 1072              << " max delta=" << MaxDisp
 1073              << format(" insn address=%#x", UserOffset) << " in "
 1074              << printMBBReference(*MI->getParent()) << ": "
 1139     LLVM_DEBUG(dbgs() << "In range\n");
 1155       LLVM_DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#"
 1155       LLVM_DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#"
 1156                         << CPEs[i].CPI << "\n");
 1242       LLVM_DEBUG(dbgs() << "Found water after " << printMBBReference(*WaterBB)
 1243                         << " Growth=" << Growth << '\n');
 1287       LLVM_DEBUG(dbgs() << "Split at end of " << printMBBReference(*UserMBB)
 1340                     << " la=" << Log2(Align) << " kb=" << KnownBits
 1340                     << " la=" << Log2(Align) << " kb=" << KnownBits
 1341                     << " up=" << UPad << '\n');
 1472     LLVM_DEBUG(dbgs() << "Found water in range\n");
 1485     LLVM_DEBUG(dbgs() << "No water found\n");
 1549       dbgs() << "  Moved CPE to #" << ID << " CPI=" << CPI
 1549       dbgs() << "  Moved CPE to #" << ID << " CPI=" << CPI
 1639   LLVM_DEBUG(dbgs() << "  Changed B to long jump " << *MI);
 1684             dbgs() << "  Invert Bcc condition and swap its destination with "
 1711   LLVM_DEBUG(dbgs() << "  Insert B to " << printMBBReference(*DestBB)
 1712                     << " also invert condition and change dest. to "
 1713                     << printMBBReference(*NextBB) << "\n");
 1806       LLVM_DEBUG(dbgs() << "Shrink: " << *U.MI);
 1844         LLVM_DEBUG(dbgs() << "Shrink branch: " << *Br.MI);
 1971     LLVM_DEBUG(dbgs() << "Fold: " << *Cmp.MI << " and: " << *Br.MI);
 1971     LLVM_DEBUG(dbgs() << "Fold: " << *Cmp.MI << " and: " << *Br.MI);
 2151   LLVM_DEBUG(dbgs() << "Removing Dead Add: " << *RemovableAdd);
 2288     LLVM_DEBUG(dbgs() << "Shrink JT: " << *MI);
 2302     LLVM_DEBUG(dbgs() << printMBBReference(*MBB) << ": " << *NewJTMI);
lib/Target/ARM/ARMConstantPoolValue.cpp
  103   errs() << "  " << *this;
  108   if (Modifier) O << "(" << getModifierText() << ")";
  108   if (Modifier) O << "(" << getModifierText() << ")";
  110     O << "-(LPC" << LabelId << "+" << (unsigned)PCAdjust;
  110     O << "-(LPC" << LabelId << "+" << (unsigned)PCAdjust;
  111     if (AddCurrentAddress) O << "-.";
  112     O << ")";
lib/Target/ARM/ARMExpandPseudoInsts.cpp
  472   LLVM_DEBUG(dbgs() << "Expanding: "; MI.dump());
  575   LLVM_DEBUG(dbgs() << "To:        "; MIB.getInstr()->dump(););
  583   LLVM_DEBUG(dbgs() << "Expanding: "; MI.dump());
  651   LLVM_DEBUG(dbgs() << "To:        "; MIB.getInstr()->dump(););
  659   LLVM_DEBUG(dbgs() << "Expanding: "; MI.dump());
  750   LLVM_DEBUG(dbgs() << "Expanding: "; MI.dump());
  780   LLVM_DEBUG(dbgs() << "To:        "; MIB.getInstr()->dump(););
  838   LLVM_DEBUG(dbgs() << "Expanding: "; MI.dump());
  920   LLVM_DEBUG(dbgs() << "To:        "; LO16.getInstr()->dump(););
  921   LLVM_DEBUG(dbgs() << "And:       "; HI16.getInstr()->dump(););
 1976   LLVM_DEBUG(dbgs() << "********** ARM EXPAND PSEUDO INSTRUCTIONS **********\n"
 1977                     << "********** Function: " << MF.getName() << '\n');
 1985   LLVM_DEBUG(dbgs() << "***************************************************\n");
lib/Target/ARM/ARMFrameLowering.cpp
 1867   LLVM_DEBUG(dbgs() << "EstimatedLimit: " << EstimatedRSStackSizeLimit
 1868                     << "; EstimatedStack: " << EstimatedStackSize
 1869                     << "; EstimatedFPStack: " << MaxFixedOffset - MaxFPOffset
 1870                     << "; BigFrameOffsets: " << BigFrameOffsets << "\n");
 1870                     << "; BigFrameOffsets: " << BigFrameOffsets << "\n");
 1929                      << " is unused argument register, EntryRegDeficit = "
 1930                      << EntryRegDeficit << "\n");
 1937                         << " return regs used, ExitRegDeficit = "
 1938                         << ExitRegDeficit << "\n");
 1941       LLVM_DEBUG(dbgs() << "RegDeficit = " << RegDeficit << "\n");
 1941       LLVM_DEBUG(dbgs() << "RegDeficit = " << RegDeficit << "\n");
 1949                             << " is saved low register, RegDeficit = "
 1950                             << RegDeficit << "\n");
 1956               << " is non-saved low register, adding to AvailableRegs\n");
 1964           LLVM_DEBUG(dbgs() << "%r7 is saved low register, RegDeficit = "
 1965                             << RegDeficit << "\n");
 1970               << "%r7 is non-saved low register, adding to AvailableRegs\n");
 1979                             << " is saved high register, RegDeficit = "
 1980                             << RegDeficit << "\n");
 1992           LLVM_DEBUG(dbgs() << "%lr is saved register, RegDeficit = "
 1993                             << RegDeficit << "\n");
 1996           LLVM_DEBUG(dbgs() << "%lr is not saved, adding to AvailableRegs\n");
 2005       LLVM_DEBUG(dbgs() << "Final RegDeficit = " << RegDeficit << "\n");
 2005       LLVM_DEBUG(dbgs() << "Final RegDeficit = " << RegDeficit << "\n");
 2008         LLVM_DEBUG(dbgs() << "Spilling " << printReg(Reg, TRI)
 2009                           << " to make up reg deficit\n");
 2020       LLVM_DEBUG(dbgs() << "After adding spills, RegDeficit = " << RegDeficit
 2021                         << "\n");
 2047     LLVM_DEBUG(dbgs() << "NumGPRSpills = " << NumGPRSpills << "\n");
 2047     LLVM_DEBUG(dbgs() << "NumGPRSpills = " << NumGPRSpills << "\n");
 2060             LLVM_DEBUG(dbgs() << "Spilling " << printReg(Reg, TRI)
 2061                               << " to make up alignment\n");
 2071         LLVM_DEBUG(dbgs() << "Spilling " << printReg(Reg, TRI)
 2072                           << " to make up alignment\n");
 2117         LLVM_DEBUG(dbgs() << "Reserving emergency spill slot\n");
lib/Target/ARM/ARMISelLowering.cpp
 9149   LLVM_DEBUG(dbgs() << "Lowering node: "; Op.dump());
11734   LLVM_DEBUG(dbgs() << "Simplify shl use:\n"; SHL.getOperand(0).dump();
11736   LLVM_DEBUG(dbgs() << "Into:\n"; X.dump(); BinOp.dump(); Res.dump());
17069   LLVM_DEBUG(dbgs() << "isHA: " << IsHA << " "; Ty->dump());
17069   LLVM_DEBUG(dbgs() << "isHA: " << IsHA << " "; Ty->dump());
lib/Target/ARM/ARMInstructionSelector.cpp
  223     LLVM_DEBUG(dbgs() << "Failed to constrain " << TII.getName(I.getOpcode())
  224                       << " operand\n");
  513     LLVM_DEBUG(dbgs() << "Unexpected size for register");
  518     LLVM_DEBUG(dbgs() << "Unexpected register bank for register");
  611     LLVM_DEBUG(dbgs() << "ROPI and RWPI only supported for ELF\n");
  617     LLVM_DEBUG(dbgs() << "TLS variables not supported yet\n");
  759     LLVM_DEBUG(dbgs() << "Object format not supported yet\n");
  905       LLVM_DEBUG(dbgs() << "Unsupported source size for extension");
  947           dbgs() << "G_TRUNC/G_ANYEXT operands on different register banks\n");
  952       LLVM_DEBUG(dbgs() << "G_TRUNC/G_ANYEXT on non-GPR not supported yet\n");
  962       LLVM_DEBUG(dbgs() << "Unsupported constant type\n");
  969         LLVM_DEBUG(dbgs() << "Unsupported pointer constant value\n");
  976         LLVM_DEBUG(dbgs() << "Unsupported pointer constant value\n");
 1018           << "G_INTTOPTR/G_PTRTOINT operands on different register banks\n");
 1024           dbgs() << "G_INTTOPTR/G_PTRTOINT on non-GPR not supported yet\n");
 1045       LLVM_DEBUG(dbgs() << "Subtarget only supports single precision");
 1049       LLVM_DEBUG(dbgs() << "Unsupported size for G_FCMP operand");
 1080       LLVM_DEBUG(dbgs() << "Atomic load/store not supported yet\n");
 1135       LLVM_DEBUG(dbgs() << "Unsupported condition register for G_BRCOND");
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
 2340             LLVM_DEBUG(dbgs() << "Formed " << *MIB << "\n");
 2340             LLVM_DEBUG(dbgs() << "Formed " << *MIB << "\n");
 2354             LLVM_DEBUG(dbgs() << "Formed " << *MIB << "\n");
 2354             LLVM_DEBUG(dbgs() << "Formed " << *MIB << "\n");
lib/Target/ARM/ARMLowOverheadLoops.cpp
   95   LLVM_DEBUG(dbgs() << "ARM Loops on " << MF->getName() << " ------------- \n");
   95   LLVM_DEBUG(dbgs() << "ARM Loops on " << MF->getName() << " ------------- \n");
  208   LLVM_DEBUG(dbgs() << "ARM Loops: Failed to find suitable insertion point for"
  209              << " LR\n");
  221   LLVM_DEBUG(dbgs() << "ARM Loops: Processing " << *ML);
  248     LLVM_DEBUG(dbgs() << "ARM Loops: Failed to find loop preheader!\n"
  249                << " - Performing manual predecessor search.\n");
  254           LLVM_DEBUG(dbgs() << " - Found multiple out-of-loop preds.\n");
  279         LLVM_DEBUG(dbgs() << "ARM Loops: Found call.\n");
  296           LLVM_DEBUG(dbgs() << "ARM Loops: Found LR Use/Def: " << MI);
  307   LLVM_DEBUG(if (Start) dbgs() << "ARM Loops: Found Loop Start: " << *Start;
  308              if (Dec) dbgs() << "ARM Loops: Found Loop Dec: " << *Dec;
  309              if (End) dbgs() << "ARM Loops: Found Loop End: " << *End;);
  312     LLVM_DEBUG(dbgs() << "ARM Loops: Not a low-overhead loop.\n");
  315     LLVM_DEBUG(dbgs() << "ARM Loops: Failed to find all loop components.\n");
  325     LLVM_DEBUG(dbgs() << "ARM Loops: LoopEnd is not targetting header.\n");
  333     LLVM_DEBUG(dbgs() << "ARM Loops: LE offset is out-of-range\n");
  340     LLVM_DEBUG(dbgs() << "ARM Loops: WLS offset is out-of-range!\n");
  346     LLVM_DEBUG(dbgs() << "ARM Loops: Unable to find safe insertion point.\n");
  349     LLVM_DEBUG(dbgs() << "ARM Loops: Start insertion point: " << *InsertPt);
  360   LLVM_DEBUG(dbgs() << "ARM Loops: Reverting to cmp: " << *MI);
  382   LLVM_DEBUG(dbgs() << "ARM Loops: Reverting to sub: " << *MI);
  415   LLVM_DEBUG(dbgs() << "ARM Loops: Reverting to cmp, br: " << *MI);
  462     LLVM_DEBUG(dbgs() << "ARM Loops: Inserted start: " << *MIB);
  475     LLVM_DEBUG(dbgs() << "ARM Loops: Inserted LE: " << *MIB);
  493         LLVM_DEBUG(dbgs() << "ARM Loops: Removing branch: " << *Terminator);
  515   LLVM_DEBUG(dbgs() << "ARM Loops: Reverting any remaining pseudos...\n");
lib/Target/ARM/ARMParallelDSP.cpp
  143       LLVM_DEBUG(dbgs() << "Pairing:\n"
  144                  << *Mul0->Root << "\n"
  145                  << *Mul1->Root << "\n");
  184       LLVM_DEBUG(dbgs() << "Reduction:\n";
  186           LLVM_DEBUG(dbgs() << *Add << "\n");
  188           LLVM_DEBUG(dbgs() << *Mul->Root << "\n"
  189                      << "  " << *Mul->LHS << "\n"
  189                      << "  " << *Mul->LHS << "\n"
  190                      << "  " << *Mul->RHS << "\n");
  190                      << "  " << *Mul->RHS << "\n");
  191         LLVM_DEBUG(if (Acc) dbgs() << "Acc in: " << *Acc << "\n")
  191         LLVM_DEBUG(if (Acc) dbgs() << "Acc in: " << *Acc << "\n")
  275         LLVM_DEBUG(dbgs() << "Unaligned memory access not supported: not "
  281         LLVM_DEBUG(dbgs() << "DSP extension not enabled: not running pass "
  287         LLVM_DEBUG(dbgs() << "Only supporting little endian: not running pass "
  288                           << "ARMParallelDSP\n");
  292       LLVM_DEBUG(dbgs() << "\n== Parallel DSP pass ==\n");
  293       LLVM_DEBUG(dbgs() << " - " << F.getName() << "\n\n");
  293       LLVM_DEBUG(dbgs() << " - " << F.getName() << "\n\n");
  317   LLVM_DEBUG(dbgs() << "Loads are sequential and valid:\n";
  318     dbgs() << "Ld0:"; Ld0->dump();
  319     dbgs() << "Ld1:"; Ld1->dump();
  426                dbgs() << "Consecutive load pairs:\n";
  428                  LLVM_DEBUG(dbgs() << *MapIt.first << ", "
  429                             << *MapIt.second << "\n");
  537       LLVM_DEBUG(dbgs() << "After search, Reduction:\n"; R.dump());
  575         LLVM_DEBUG(dbgs() << "OK: found two pairs of parallel loads!\n");
  579         LLVM_DEBUG(dbgs() << "OK: found two pairs of parallel loads!\n");
  580         LLVM_DEBUG(dbgs() << "    exchanging Ld2 and Ld3\n");
  586       LLVM_DEBUG(dbgs() << "OK: found two pairs of parallel loads!\n");
  587       LLVM_DEBUG(dbgs() << "    exchanging Ld0 and Ld1\n");
  588       LLVM_DEBUG(dbgs() << "    and swapping muls\n");
  677     LLVM_DEBUG(dbgs() << "Accumulating unpaired mul: " << *Mul << "\n");
  677     LLVM_DEBUG(dbgs() << "Accumulating unpaired mul: " << *Mul << "\n");
  795   LLVM_DEBUG(dbgs() << "From Base and Offset:\n"
  796              << *Base << "\n" << *Offset << "\n"
  796              << *Base << "\n" << *Offset << "\n"
  797              << "Created Wide Load:\n"
  798              << *WideLoad << "\n"
  799              << *Bottom << "\n"
  800              << *NewBaseSExt << "\n"
  801              << *Top << "\n"
  802              << *Trunc << "\n"
  803              << *NewOffsetSExt << "\n");
lib/Target/ARM/ARMTargetTransformInfo.cpp
 1021   LLVM_DEBUG(dbgs() << "Loop has:\n"
 1022                     << "Blocks: " << L->getNumBlocks() << "\n"
 1022                     << "Blocks: " << L->getNumBlocks() << "\n"
 1023                     << "Exit blocks: " << ExitingBlocks.size() << "\n");
 1023                     << "Exit blocks: " << ExitingBlocks.size() << "\n");
 1059   LLVM_DEBUG(dbgs() << "Cost of loop: " << Cost << "\n");
 1059   LLVM_DEBUG(dbgs() << "Cost of loop: " << Cost << "\n");
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
 3721     OS << "<ARMCC::" << ARMCondCodeToString(getCondCode()) << ">";
 3721     OS << "<ARMCC::" << ARMCondCodeToString(getCondCode()) << ">";
 3721     OS << "<ARMCC::" << ARMCondCodeToString(getCondCode()) << ">";
 3724     OS << "<ARMVCC::" << ARMVPTPredToString(getVPTPred()) << ">";
 3724     OS << "<ARMVCC::" << ARMVPTPredToString(getVPTPred()) << ">";
 3724     OS << "<ARMVCC::" << ARMVPTPredToString(getVPTPred()) << ">";
 3727     OS << "<ccout " << RegName(getReg()) << ">";
 3727     OS << "<ccout " << RegName(getReg()) << ">";
 3727     OS << "<ccout " << RegName(getReg()) << ">";
 3737     OS << "<it-mask " << MaskStr[ITMask.Mask] << ">";
 3737     OS << "<it-mask " << MaskStr[ITMask.Mask] << ">";
 3737     OS << "<it-mask " << MaskStr[ITMask.Mask] << ">";
 3741     OS << "<coprocessor number: " << getCoproc() << ">";
 3741     OS << "<coprocessor number: " << getCoproc() << ">";
 3744     OS << "<coprocessor register: " << getCoproc() << ">";
 3744     OS << "<coprocessor register: " << getCoproc() << ">";
 3747     OS << "<coprocessor option: " << CoprocOption.Val << ">";
 3747     OS << "<coprocessor option: " << CoprocOption.Val << ">";
 3750     OS << "<mask: " << getMSRMask() << ">";
 3750     OS << "<mask: " << getMSRMask() << ">";
 3753     OS << "<banked reg: " << getBankedReg() << ">";
 3753     OS << "<banked reg: " << getBankedReg() << ">";
 3759     OS << "<ARM_MB::" << MemBOptToString(getMemBarrierOpt(), false) << ">";
 3759     OS << "<ARM_MB::" << MemBOptToString(getMemBarrierOpt(), false) << ">";
 3759     OS << "<ARM_MB::" << MemBOptToString(getMemBarrierOpt(), false) << ">";
 3762     OS << "<ARM_ISB::" << InstSyncBOptToString(getInstSyncBarrierOpt()) << ">";
 3762     OS << "<ARM_ISB::" << InstSyncBOptToString(getInstSyncBarrierOpt()) << ">";
 3762     OS << "<ARM_ISB::" << InstSyncBOptToString(getInstSyncBarrierOpt()) << ">";
 3765     OS << "<ARM_TSB::" << TraceSyncBOptToString(getTraceSyncBarrierOpt()) << ">";
 3765     OS << "<ARM_TSB::" << TraceSyncBOptToString(getTraceSyncBarrierOpt()) << ">";
 3765     OS << "<ARM_TSB::" << TraceSyncBOptToString(getTraceSyncBarrierOpt()) << ">";
 3768     OS << "<memory";
 3770       OS << " base:" << RegName(Memory.BaseRegNum);
 3770       OS << " base:" << RegName(Memory.BaseRegNum);
 3772       OS << " offset-imm:" << *Memory.OffsetImm;
 3774       OS << " offset-reg:" << (Memory.isNegative ? "-" : "")
 3774       OS << " offset-reg:" << (Memory.isNegative ? "-" : "")
 3775          << RegName(Memory.OffsetRegNum);
 3777       OS << " shift-type:" << ARM_AM::getShiftOpcStr(Memory.ShiftType);
 3777       OS << " shift-type:" << ARM_AM::getShiftOpcStr(Memory.ShiftType);
 3778       OS << " shift-imm:" << Memory.ShiftImm;
 3781       OS << " alignment:" << Memory.Alignment;
 3782     OS << ">";
 3785     OS << "post-idx register " << (PostIdxReg.isAdd ? "" : "-")
 3785     OS << "post-idx register " << (PostIdxReg.isAdd ? "" : "-")
 3786        << RegName(PostIdxReg.RegNum);
 3788       OS << ARM_AM::getShiftOpcStr(PostIdxReg.ShiftTy) << " "
 3788       OS << ARM_AM::getShiftOpcStr(PostIdxReg.ShiftTy) << " "
 3790     OS << ">";
 3793     OS << "<ARM_PROC::";
 3797         OS << ARM_PROC::IFlagsToString(1 << i);
 3798     OS << ">";
 3802     OS << "<register " << RegName(getReg()) << ">";
 3802     OS << "<register " << RegName(getReg()) << ">";
 3802     OS << "<register " << RegName(getReg()) << ">";
 3805     OS << "<shift " << (ShifterImm.isASR ? "asr" : "lsl")
 3805     OS << "<shift " << (ShifterImm.isASR ? "asr" : "lsl")
 3806        << " #" << ShifterImm.Imm << ">";
 3806        << " #" << ShifterImm.Imm << ">";
 3809     OS << "<so_reg_reg " << RegName(RegShiftedReg.SrcReg) << " "
 3809     OS << "<so_reg_reg " << RegName(RegShiftedReg.SrcReg) << " "
 3809     OS << "<so_reg_reg " << RegName(RegShiftedReg.SrcReg) << " "
 3810        << ARM_AM::getShiftOpcStr(RegShiftedReg.ShiftTy) << " "
 3810        << ARM_AM::getShiftOpcStr(RegShiftedReg.ShiftTy) << " "
 3811        << RegName(RegShiftedReg.ShiftReg) << ">";
 3811        << RegName(RegShiftedReg.ShiftReg) << ">";
 3814     OS << "<so_reg_imm " << RegName(RegShiftedImm.SrcReg) << " "
 3814     OS << "<so_reg_imm " << RegName(RegShiftedImm.SrcReg) << " "
 3814     OS << "<so_reg_imm " << RegName(RegShiftedImm.SrcReg) << " "
 3815        << ARM_AM::getShiftOpcStr(RegShiftedImm.ShiftTy) << " #"
 3815        << ARM_AM::getShiftOpcStr(RegShiftedImm.ShiftTy) << " #"
 3816        << RegShiftedImm.ShiftImm << ">";
 3819     OS << "<ror " << " #" << (RotImm.Imm * 8) << ">";
 3819     OS << "<ror " << " #" << (RotImm.Imm * 8) << ">";
 3819     OS << "<ror " << " #" << (RotImm.Imm * 8) << ">";
 3822     OS << "<mod_imm #" << ModImm.Bits << ", #"
 3822     OS << "<mod_imm #" << ModImm.Bits << ", #"
 3823        <<  ModImm.Rot << ")>";
 3826     OS << "<constant_pool_imm #" << *getConstantPoolImm();
 3829     OS << "<bitfield " << "lsb: " << Bitfield.LSB
 3829     OS << "<bitfield " << "lsb: " << Bitfield.LSB
 3830        << ", width: " << Bitfield.Width << ">";
 3830        << ", width: " << Bitfield.Width << ">";
 3838     OS << "<register_list ";
 3843       OS << RegName(*I);
 3844       if (++I < E) OS << ", ";
 3847     OS << ">";
 3851     OS << "<vector_list " << VectorList.Count << " * "
 3851     OS << "<vector_list " << VectorList.Count << " * "
 3852        << RegName(VectorList.RegNum) << ">";
 3852        << RegName(VectorList.RegNum) << ">";
 3855     OS << "<vector_list(all lanes) " << VectorList.Count << " * "
 3855     OS << "<vector_list(all lanes) " << VectorList.Count << " * "
 3856        << RegName(VectorList.RegNum) << ">";
 3856        << RegName(VectorList.RegNum) << ">";
 3859     OS << "<vector_list(lane " << VectorList.LaneIndex << ") "
 3859     OS << "<vector_list(lane " << VectorList.LaneIndex << ") "
 3860        << VectorList.Count << " * " << RegName(VectorList.RegNum) << ">";
 3860        << VectorList.Count << " * " << RegName(VectorList.RegNum) << ">";
 3860        << VectorList.Count << " * " << RegName(VectorList.RegNum) << ">";
 3863     OS << "'" << getToken() << "'";
 3863     OS << "'" << getToken() << "'";
 3866     OS << "<vectorindex " << getVectorIndex() << ">";
 3866     OS << "<vectorindex " << getVectorIndex() << ">";
10423     LLVM_DEBUG(dbgs() << "Parsed as: ";
10425                dbgs() << "\n");
10445         LLVM_DEBUG(dbgs() << "Changed to: ";
10447                    dbgs() << "\n");
11597             dbgs() << "Missing diagnostic string for operand class "
11598                    << getMatchClassName((MatchClassKind)I.getOperandClass())
11599                    << I.getOperandClass() << ", error " << I.getOperandError()
11600                    << ", opcode " << MII.getName(I.getOpcode()) << "\n");
11600                    << ", opcode " << MII.getName(I.getOpcode()) << "\n");
11635       OS << "instruction requires:";
11638           OS << ' ' << getSubtargetFeatureName(i);
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
  963         CS << "unpredictable IT predicate sequence";
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
  329     OS << "\n";
 1100   DEBUG_WITH_TYPE("compact-unwind", llvm::dbgs() << "generateCU()\n");
 1137                         llvm::dbgs() << ".cfi_offset on unknown register="
 1138                                      << Inst.getRegister() << "\n");
 1149                           << "CFI directive not compatiable with comact "
 1151                           << "\n");
 1163     DEBUG_WITH_TYPE("compact-unwind", llvm::dbgs() << "frame register is "
 1165                                                    << " instead of r7\n");
 1172                         << "LR not saved as standard frame, StackAdjust="
 1174                         << ", CFARegisterOffset=" << CFARegisterOffset
 1175                         << ", lr save at offset=" << RegOffsets[14] << "\n");
 1175                         << ", lr save at offset=" << RegOffsets[14] << "\n");
 1180                     llvm::dbgs() << "r7 not saved as standard frame\n");
 1200                                           << ".cfi_def_cfa stack adjust ("
 1201                                           << StackAdjust << ") out of range\n");
 1227                       llvm::dbgs() << MRI.getName(CSReg.Reg) << " saved at "
 1227                       llvm::dbgs() << MRI.getName(CSReg.Reg) << " saved at "
 1228                                    << RegOffset << " but only supported at "
 1229                                    << CurOffset << "\n");
 1248                     llvm::dbgs() << "unsupported number of D registers saved ("
 1249                                  << FloatRegCount << ")\n");
 1261                       llvm::dbgs() << FloatRegCount << " D-regs saved, but "
 1262                                    << MRI.getName(FPRCSRegs[Idx])
 1263                                    << " not saved\n");
 1267                       llvm::dbgs() << FloatRegCount << " D-regs saved, but "
 1268                                    << MRI.getName(FPRCSRegs[Idx])
 1269                                    << " saved at " << Offset->second
 1270                                    << ", expected at " << CurOffset - 8
 1271                                    << "\n");
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  117 void ARMTargetAsmStreamer::emitFnStart() { OS << "\t.fnstart\n"; }
  118 void ARMTargetAsmStreamer::emitFnEnd() { OS << "\t.fnend\n"; }
  119 void ARMTargetAsmStreamer::emitCantUnwind() { OS << "\t.cantunwind\n"; }
  122   OS << "\t.personality " << Personality->getName() << '\n';
  126   OS << "\t.personalityindex " << Index << '\n';
  129 void ARMTargetAsmStreamer::emitHandlerData() { OS << "\t.handlerdata\n"; }
  133   OS << "\t.setfp\t";
  135   OS << ", ";
  138     OS << ", #" << Offset;
  146   OS << "\t.movsp\t";
  149     OS << ", #" << Offset;
  154   OS << "\t.pad\t#" << Offset << '\n';
  161     OS << "\t.vsave\t{";
  163     OS << "\t.save\t{";
  168     OS << ", ";
  172   OS << "}\n";
  178   OS << "\t.eabi_attribute\t" << Attribute << ", " << Twine(Value);
  178   OS << "\t.eabi_attribute\t" << Attribute << ", " << Twine(Value);
  182       OS << "\t@ " << Name;
  184   OS << "\n";
  191     OS << "\t.cpu\t" << String.lower();
  194     OS << "\t.eabi_attribute\t" << Attribute << ", \"" << String << "\"";
  194     OS << "\t.eabi_attribute\t" << Attribute << ", \"" << String << "\"";
  194     OS << "\t.eabi_attribute\t" << Attribute << ", \"" << String << "\"";
  198         OS << "\t@ " << Name;
  202   OS << "\n";
  211     OS << "\t.eabi_attribute\t" << Attribute << ", " << IntValue;
  211     OS << "\t.eabi_attribute\t" << Attribute << ", " << IntValue;
  213       OS << ", \"" << StringValue << "\"";
  213       OS << ", \"" << StringValue << "\"";
  215       OS << "\t@ " << ARMBuildAttrs::AttrTypeAsString(Attribute);
  218   OS << "\n";
  222   OS << "\t.arch\t" << ARM::getArchName(Arch) << "\n";
  222   OS << "\t.arch\t" << ARM::getArchName(Arch) << "\n";
  226   OS << "\t.arch_extension\t" << ARM::getArchExtName(ArchExt) << "\n";
  226   OS << "\t.arch_extension\t" << ARM::getArchExtName(ArchExt) << "\n";
  230   OS << "\t.object_arch\t" << ARM::getArchName(Arch) << '\n';
  234   OS << "\t.fpu\t" << ARM::getFPUName(FPU) << "\n";
  234   OS << "\t.fpu\t" << ARM::getFPUName(FPU) << "\n";
  241   OS << "\t.tlsdescseq\t" << S->getSymbol().getName();
  247   OS << "\t.thumb_set\t";
  249   OS << ", ";
  255   OS << "\t.inst";
  257     OS << "." << Suffix;
  258   OS << "\t0x" << Twine::utohexstr(Inst) << "\n";
  258   OS << "\t0x" << Twine::utohexstr(Inst) << "\n";
  263   OS << "\t.unwind_raw " << Offset;
  267     OS << ", 0x" << Twine::utohexstr(*OCI);
lib/Target/ARM/MCTargetDesc/ARMInstPrinter.cpp
   56   O << ", ";
   59   O << getShiftOpcStr(ShOpc);
   62     O << " ";
   64       O << "<imm:";
   65     O << "#" << translateShiftImm(ShImm);
   67       O << ">";
   88   OS << markup("<reg:") << getRegisterName(RegNo, DefaultAltIdx) << markup(">");
  104     O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO3.getImm()));
  110     O << ", ";
  113     O << ", ";
  126     O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO2.getImm()));
  132     O << ", ";
  140     O << ", " << markup("<imm:") << "#"
  140     O << ", " << markup("<imm:") << "#"
  151       O << '\t' << "push";
  154         O << ".w";
  165       O << '\t' << "push";
  167       O << "\t{";
  169       O << "}";
  180       O << '\t' << "pop";
  183         O << ".w";
  194       O << '\t' << "pop";
  196       O << "\t{";
  198       O << "}";
  208       O << '\t' << "vpush";
  221       O << '\t' << "vpop";
  238     O << "\tldm";
  244       O << "!";
  245     O << ", ";
  285     O << "\ttsb\tcsync";
  294       O << "\tssbb";
  297       O << "\tpssbb";
  336         O << "0x";
  359   O << markup("<mem:") << "[pc, ";
  368     O << markup("<imm:") << "#-" << formatImm(-OffImm) << markup(">");
  370     O << markup("<imm:") << "#" << formatImm(OffImm) << markup(">");
  372   O << "]" << markup(">");
  391   O << ", " << ARM_AM::getShiftOpcStr(ShOpc);
  391   O << ", " << ARM_AM::getShiftOpcStr(ShOpc);
  424   O << markup("<mem:") << "[";
  429       O << ", " << markup("<imm:") << "#"
  429       O << ", " << markup("<imm:") << "#"
  430         << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm()))
  433     O << "]" << markup(">");
  437   O << ", ";
  438   O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO3.getImm()));
  443   O << "]" << markup(">");
  451   O << markup("<mem:") << "[";
  453   O << ", ";
  455   O << "]" << markup(">");
  463   O << markup("<mem:") << "[";
  465   O << ", ";
  467   O << ", lsl " << markup("<imm:") << "#1" << markup(">") << "]" << markup(">");
  467   O << ", lsl " << markup("<imm:") << "#1" << markup(">") << "]" << markup(">");
  467   O << ", lsl " << markup("<imm:") << "#1" << markup(">") << "]" << markup(">");
  499       << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm())) << ImmOffs
  504   O << ARM_AM::getAddrOpcStr(ARM_AM::getAM2Op(MO2.getImm()));
  526     O << ", " << getAddrOpcStr(ARM_AM::getAM3Op(MO3.getImm()));
  526     O << ", " << getAddrOpcStr(ARM_AM::getAM3Op(MO3.getImm()));
  537     O << ", " << markup("<imm:") << "#" << ARM_AM::getAddrOpcStr(op) << ImmOffs
  537     O << ", " << markup("<imm:") << "#" << ARM_AM::getAddrOpcStr(op) << ImmOffs
  537     O << ", " << markup("<imm:") << "#" << ARM_AM::getAddrOpcStr(op) << ImmOffs
  567     O << getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm()));
  574     << ARM_AM::getAddrOpcStr(ARM_AM::getAM3Op(MO2.getImm())) << ImmOffs
  583   O << markup("<imm:") << '#' << ((Imm & 256) ? "" : "-") << (Imm & 0xff)
  593   O << (MO2.getImm() ? "" : "-");
  602   O << markup("<imm:") << '#' << ((Imm & 256) ? "" : "-") << ((Imm & 0xff) << 2)
  613   O << markup("<mem:") << "[";
  615   O << ", ";
  621   O << "]" << markup(">");
  630   O << markup("<mem:") << "[";
  635     O << ", " << markup("<imm:") << '#' << Imm << markup(">");
  637   O << "]" << markup(">");
  645   O << ARM_AM::getAMSubModeStr(Mode);
  660   O << markup("<mem:") << "[";
  666     O << ", " << markup("<imm:") << "#" << ARM_AM::getAddrOpcStr(Op)
  666     O << ", " << markup("<imm:") << "#" << ARM_AM::getAddrOpcStr(Op)
  666     O << ", " << markup("<imm:") << "#" << ARM_AM::getAddrOpcStr(Op)
  669   O << "]" << markup(">");
  684   O << markup("<mem:") << "[";
  690     O << ", "
  692       << "#"
  693       << ARM_AM::getAddrOpcStr(ARM_AM::getAM5FP16Op(MO2.getImm()))
  697   O << "]" << markup(">");
  706   O << markup("<mem:") << "[";
  709     O << ":" << (MO2.getImm() << 3);
  711   O << "]" << markup(">");
  718   O << markup("<mem:") << "[";
  720   O << "]" << markup(">");
  729     O << "!";
  731     O << ", ";
  745   O << markup("<imm:") << '#' << lsb << markup(">") << ", " << markup("<imm:")
  753   O << ARM_MB::MemBOptToString(val, STI.getFeatureBits()[ARM::HasV8Ops]);
  760   O << ARM_ISB::InstSyncBOptToString(val);
  767   O << ARM_TSB::TraceSyncBOptToString(val);
  777     O << ", asr " << markup("<imm:") << "#" << (Amt == 0 ? 32 : Amt)
  777     O << ", asr " << markup("<imm:") << "#" << (Amt == 0 ? 32 : Amt)
  780     O << ", lsl " << markup("<imm:") << "#" << Amt << markup(">");
  780     O << ", lsl " << markup("<imm:") << "#" << Amt << markup(">");
  791   O << ", lsl " << markup("<imm:") << "#" << Imm << markup(">");
  791   O << ", lsl " << markup("<imm:") << "#" << Imm << markup(">");
  802   O << ", asr " << markup("<imm:") << "#" << Imm << markup(">");
  802   O << ", asr " << markup("<imm:") << "#" << Imm << markup(">");
  816   O << "{";
  819       O << ", ";
  822   O << "}";
  830   O << ", ";
  839     O << "be";
  841     O << "le";
  847   O << ARM_PROC::IModToString(Op.getImm());
  856       O << ARM_PROC::IFlagsToString(1 << i);
  859     O << "none";
  876           O << TheReg->Name;
  888           O << TheReg->Name;
  895       O << TheReg->Name;
  910     O << "APSR_";
  915       O << "g";
  918       O << "nzcvq";
  921       O << "nzcvqg";
  927     O << "SPSR";
  929     O << "CPSR";
  964     O << "<und>";
  966     O << ARMCondCodeToString(CC);
  973     O << "cs";
  983   O << ARMCondCodeToString(CC);
  991   O << ARMCondCodeToString(ARMCC::getOppositeCondition(CC));
 1013   O << "p" << MI->getOperand(OpNum).getImm();
 1019   O << "c" << MI->getOperand(OpNum).getImm();
 1025   O << "{" << MI->getOperand(OpNum).getImm() << "}";
 1025   O << "{" << MI->getOperand(OpNum).getImm() << "}";
 1048     O << "#-0";
 1050     O << "#-" << -OffImm;
 1052     O << "#" << OffImm;
 1059   O << markup("<imm:") << "#" << formatImm(MI->getOperand(OpNum).getImm() * 4)
 1067   O << markup("<imm:") << "#" << formatImm((Imm == 0 ? 32 : Imm))
 1097   O << markup("<mem:") << "[";
 1100     O << ", ";
 1103   O << "]" << markup(">");
 1119   O << markup("<mem:") << "[";
 1122     O << ", " << markup("<imm:") << "#" << formatImm(ImmOffs * Scale)
 1122     O << ", " << markup("<imm:") << "#" << formatImm(ImmOffs * Scale)
 1125   O << "]" << markup(">");
 1186   O << markup("<mem:") << "[";
 1195     O << ", " << markup("<imm:") << "#-" << formatImm(-OffImm) << markup(">");
 1195     O << ", " << markup("<imm:") << "#-" << formatImm(-OffImm) << markup(">");
 1197     O << ", " << markup("<imm:") << "#" << formatImm(OffImm) << markup(">");
 1197     O << ", " << markup("<imm:") << "#" << formatImm(OffImm) << markup(">");
 1199   O << "]" << markup(">");
 1210   O << markup("<mem:") << "[";
 1219     O << ", " << markup("<imm:") << "#-" << -OffImm << markup(">");
 1219     O << ", " << markup("<imm:") << "#-" << -OffImm << markup(">");
 1221     O << ", " << markup("<imm:") << "#" << OffImm << markup(">");
 1221     O << ", " << markup("<imm:") << "#" << OffImm << markup(">");
 1223   O << "]" << markup(">");
 1239   O << markup("<mem:") << "[";
 1251     O << ", " << markup("<imm:") << "#-" << -OffImm << markup(">");
 1251     O << ", " << markup("<imm:") << "#-" << -OffImm << markup(">");
 1253     O << ", " << markup("<imm:") << "#" << OffImm << markup(">");
 1253     O << ", " << markup("<imm:") << "#" << OffImm << markup(">");
 1255   O << "]" << markup(">");
 1264   O << markup("<mem:") << "[";
 1267     O << ", " << markup("<imm:") << "#" << formatImm(MO2.getImm() * 4)
 1267     O << ", " << markup("<imm:") << "#" << formatImm(MO2.getImm() * 4)
 1270   O << "]" << markup(">");
 1278   O << ", " << markup("<imm:");
 1280     O << "#-0";
 1282     O << "#-" << -OffImm;
 1284     O << "#" << OffImm;
 1296   O << ", " << markup("<imm:");
 1298     O << "#-0";
 1300     O << "#-" << -OffImm;
 1302     O << "#" << OffImm;
 1314   O << markup("<mem:") << "[";
 1318   O << ", ";
 1324     O << ", lsl " << markup("<imm:") << "#" << ShAmt << markup(">");
 1324     O << ", lsl " << markup("<imm:") << "#" << ShAmt << markup(">");
 1326   O << "]" << markup(">");
 1343   O << markup("<imm:") << "#0x";
 1352   O << markup("<imm:") << "#" << formatImm(Imm + 1) << markup(">");
 1362   O << ", ror " << markup("<imm:") << "#" << 8 * Imm << markup(">");
 1362   O << ", ror " << markup("<imm:") << "#" << 8 * Imm << markup(">");
 1392     O << "#" << markup("<imm:");
 1402   O << "#" << markup("<imm:") << Bits << markup(">") << ", #" << markup("<imm:")
 1402   O << "#" << markup("<imm:") << Bits << markup(">") << ", #" << markup("<imm:")
 1408   O << markup("<imm:") << "#" << 16 - MI->getOperand(OpNum).getImm()
 1414   O << markup("<imm:") << "#" << 32 - MI->getOperand(OpNum).getImm()
 1421   O << "[" << MI->getOperand(OpNum).getImm() << "]";
 1421   O << "[" << MI->getOperand(OpNum).getImm() << "]";
 1427   O << "{";
 1429   O << "}";
 1438   O << "{";
 1440   O << ", ";
 1442   O << "}";
 1451   O << "{";
 1453   O << ", ";
 1455   O << "}";
 1464   O << "{";
 1466   O << ", ";
 1468   O << ", ";
 1470   O << "}";
 1479   O << "{";
 1481   O << ", ";
 1483   O << ", ";
 1485   O << ", ";
 1487   O << "}";
 1494   O << "{";
 1496   O << "[]}";
 1506   O << "{";
 1508   O << "[], ";
 1510   O << "[]}";
 1520   O << "{";
 1522   O << "[], ";
 1524   O << "[], ";
 1526   O << "[]}";
 1536   O << "{";
 1538   O << "[], ";
 1540   O << "[], ";
 1542   O << "[], ";
 1544   O << "[]}";
 1553   O << "{";
 1555   O << "[], ";
 1557   O << "[]}";
 1566   O << "{";
 1568   O << "[], ";
 1570   O << "[], ";
 1572   O << "[]}";
 1581   O << "{";
 1583   O << "[], ";
 1585   O << "[], ";
 1587   O << "[], ";
 1589   O << "[]}";
 1599   O << "{";
 1601   O << ", ";
 1603   O << ", ";
 1605   O << "}";
 1614   O << "{";
 1616   O << ", ";
 1618   O << ", ";
 1620   O << ", ";
 1622   O << "}";
 1632     O << Prefix;
 1636   O << "}";
 1644   O << "#" << (Val * Angle) + Remainder;
 1652     O << ARMVPTPredToString(CC);
 1675   O << markup("<imm:") << "#0x";
 1685   O << "#" << (Val == 1 ? 48 : 64);
lib/Target/ARM/MCTargetDesc/ARMMCExpr.cpp
   25   case VK_ARM_HI16: OS << ":upper16:"; break;
   26   case VK_ARM_LO16: OS << ":lower16:"; break;
lib/Target/ARM/MLxExpansionPass.cpp
  310     dbgs() << "Expanding: " << *MI;
  311     dbgs() << "  to:\n";
  317     dbgs() << "    " << MI1;
  318     dbgs() << "    " << MI2;
lib/Target/ARM/MVETailPredication.cpp
  126     LLVM_DEBUG(dbgs() << "TP: Not a v8.1m.main+mve target.\n");
  174   LLVM_DEBUG(dbgs() << "TP: Running on Loop: " << *L
  175              << *Setup << "\n"
  176              << *Decrement << "\n");
  446   LLVM_DEBUG(dbgs() << "TP: Found predicated vector loop.\n");
  468       LLVM_DEBUG(dbgs() << "TP: Not tail predicate: " << *Predicate <<  "\n");
  468       LLVM_DEBUG(dbgs() << "TP: Not tail predicate: " << *Predicate <<  "\n");
  472     LLVM_DEBUG(dbgs() << "TP: Found tail predicate: " << *Predicate << "\n");
  472     LLVM_DEBUG(dbgs() << "TP: Found tail predicate: " << *Predicate << "\n");
  502     LLVM_DEBUG(dbgs() << "TP: Insert processed elements phi: "
  503                << *Processed << "\n"
  504                << "TP: Inserted VCTP: " << *TailPredicate << "\n");
  504                << "TP: Inserted VCTP: " << *TailPredicate << "\n");
lib/Target/ARM/MVEVPTBlockPass.cpp
  193     LLVM_DEBUG(dbgs() << "VPT block created for: "; MI->dump());
  206       LLVM_DEBUG(dbgs() << "  adding : "; MBIter->dump());
  235       LLVM_DEBUG(dbgs() << "  folding VCMP into VPST: "; VCMP->dump());
  265   LLVM_DEBUG(dbgs() << "********** ARM MVE VPT BLOCKS **********\n"
  266                     << "********** Function: " << Fn.getName() << '\n');
  272   LLVM_DEBUG(dbgs() << "**************************************\n");
lib/Target/ARM/Thumb2SizeReduction.cpp
  613   LLVM_DEBUG(errs() << "Converted 32-bit: " << *MI
  614                     << "       to 16-bit: " << *MIB);
  661     LLVM_DEBUG(errs() << "Converted 32-bit: " << *MI
  662                       << "       to 16-bit: " << *MIB);
  841   LLVM_DEBUG(errs() << "Converted 32-bit: " << *MI
  842                     << "       to 16-bit: " << *MIB);
  964   LLVM_DEBUG(errs() << "Converted 32-bit: " << *MI
  965                     << "       to 16-bit: " << *MIB);
lib/Target/AVR/AVRAsmPrinter.cpp
   66     O << AVRInstPrinter::getPrettyRegisterName(MO.getReg(), MRI);
  125       O << AVRInstPrinter::getPrettyRegisterName(Reg, MRI);
  152     O << "Z";
  156     O << "Y";
lib/Target/AVR/AVRISelDAGToDAG.cpp
  519     LLVM_DEBUG(errs() << "== "; N->dump(CurDAG); errs() << "\n");
  519     LLVM_DEBUG(errs() << "== "; N->dump(CurDAG); errs() << "\n");
lib/Target/AVR/AsmParser/AVRAsmParser.cpp
  246       O << "Token: \"" << getToken() << "\"";
  246       O << "Token: \"" << getToken() << "\"";
  249       O << "Register: " << getReg();
  252       O << "Immediate: \"" << *getImm() << "\"";
  252       O << "Immediate: \"" << *getImm() << "\"";
  257       O << "Memri: \"" << getReg() << '+' << *getImm() << "\"";
  257       O << "Memri: \"" << getReg() << '+' << *getImm() << "\"";
  261     O << "\n";
  504   LLVM_DEBUG(dbgs() << "parseOperand\n");
  550   LLVM_DEBUG(dbgs() << "parseMemriOperand()\n");
lib/Target/AVR/MCTargetDesc/AVRInstPrinter.cpp
   46     O << "\tld\t";
   48     O << ", ";
   59     O << "\tst\t";
   61     O << ", ";
   66     O << "\tst\t";
   76     O << ", ";
  111       O << getRegisterName(Op.getReg(), AVR::ptr);
  113       O << getPrettyRegisterName(Op.getReg(), MRI);
lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp
   49   OS << getName() << '(';
lib/Target/BPF/AsmParser/BPFAsmParser.cpp
  167       OS << "<register x";
  168       OS << getReg() << ">";
  171       OS << "'" << getToken() << "'";
  171       OS << "'" << getToken() << "'";
lib/Target/BPF/BPFAbstractMemberAccess.cpp
  179   LLVM_DEBUG(dbgs() << "********** Abstract Member Accesses **********\n");
lib/Target/BPF/BPFAsmPrinter.cpp
   78     O << BPFInstPrinter::getRegisterName(MO.getReg());
  133     O << "(" << BPFInstPrinter::getRegisterName(BaseMO.getReg()) << " - " << -Offset << ")";
  133     O << "(" << BPFInstPrinter::getRegisterName(BaseMO.getReg()) << " - " << -Offset << ")";
  133     O << "(" << BPFInstPrinter::getRegisterName(BaseMO.getReg()) << " - " << -Offset << ")";
  133     O << "(" << BPFInstPrinter::getRegisterName(BaseMO.getReg()) << " - " << -Offset << ")";
  135     O << "(" << BPFInstPrinter::getRegisterName(BaseMO.getReg()) << " + " << Offset << ")";
  135     O << "(" << BPFInstPrinter::getRegisterName(BaseMO.getReg()) << " + " << Offset << ")";
  135     O << "(" << BPFInstPrinter::getRegisterName(BaseMO.getReg()) << " + " << Offset << ")";
  135     O << "(" << BPFInstPrinter::getRegisterName(BaseMO.getReg()) << " + " << Offset << ")";
lib/Target/BPF/BPFISelDAGToDAG.cpp
  184     LLVM_DEBUG(dbgs() << "== "; Node->dump(CurDAG); dbgs() << '\n');
  196       errs() << "Error at line " << DL.getLine() << ": ";
  196       errs() << "Error at line " << DL.getLine() << ": ";
  198       errs() << "Error: ";
  199     errs() << "Unsupport signed division for DAG: ";
  201     errs() << "Please convert to unsigned div/mod.\n";
  271     LLVM_DEBUG(dbgs() << "Check candidate load: "; LD->dump(); dbgs() << '\n');
  281     LLVM_DEBUG(dbgs() << "Check candidate load: "; LD->dump(); dbgs() << '\n');
  304   LLVM_DEBUG(dbgs() << "Replacing load of size " << size << " with constant "
  304   LLVM_DEBUG(dbgs() << "Replacing load of size " << size << " with constant "
  400     LLVM_DEBUG(dbgs() << "Byte array at offset " << Offset << " with value "
  400     LLVM_DEBUG(dbgs() << "Byte array at offset " << Offset << " with value "
  489   LLVM_DEBUG(dbgs() << "Remove the redundant AND operation in: ";
lib/Target/BPF/BPFISelLowering.cpp
   50   OS << Msg;
  233         errs() << "LowerFormalArguments Unhandled argument type: "
lib/Target/BPF/BPFMIChecking.cpp
   62   LLVM_DEBUG(dbgs() << "*** BPF PreEmit checking pass ***\n\n");
lib/Target/BPF/BPFMIPeephole.cpp
   75   LLVM_DEBUG(dbgs() << "*** BPF MachineSSA ZEXT Elim peephole pass ***\n\n");
   82   LLVM_DEBUG(dbgs() << "  Def of Mov Src:");
  114   LLVM_DEBUG(dbgs() << "  One ZExt elim sequence identified.\n");
  142         LLVM_DEBUG(dbgs() << "Starting SRL found:");
  151         LLVM_DEBUG(dbgs() << "  SLL found:");
  160         LLVM_DEBUG(dbgs() << "  Type cast Mov found:");
  166                      << "  One ZExt elim sequence failed qualifying elim.\n");
  233   LLVM_DEBUG(dbgs() << "*** BPF PreEmit peephole pass ***\n\n");
  244         LLVM_DEBUG(dbgs() << "  Redundant Mov Eliminated:");
  344   LLVM_DEBUG(dbgs() << "*** BPF MachineSSA TRUNC Elim peephole pass ***\n\n");
lib/Target/BPF/BPFMISimplifyPatchable.cpp
   71   LLVM_DEBUG(dbgs() << "*** BPF simplify patchable insts pass ***\n\n");
lib/Target/BPF/MCTargetDesc/BPFInstPrinter.cpp
   55     O << getRegisterName(Op.getReg());
   71   O << getRegisterName(RegOp.getReg());
   77       O << " + " << formatImm(Imm);
   79       O << " - " << formatImm(-Imm);
  101     O << ((Imm >= 0) ? "+" : "") << formatImm(Imm);
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
  455     OS << "<register R";
  456     OS << getReg() << ">";
  459     OS << "'" << getToken() << "'";
  459     OS << "'" << getToken() << "'";
  465   LLVM_DEBUG(dbgs() << "Bundle:");
  467   LLVM_DEBUG(dbgs() << "--\n");
  560     LLVM_DEBUG(dbgs() << "Insn:");
  562     LLVM_DEBUG(dbgs() << "\n\n");
 1262   LLVM_DEBUG(dbgs() << "Unmatched Operand:");
 1264   LLVM_DEBUG(dbgs() << "\n");
 1273   ES << "value " << Val << "(" << format_hex(Val, 0) << ") out of range: ";
 1273   ES << "value " << Val << "(" << format_hex(Val, 0) << ") out of range: ";
 1273   ES << "value " << Val << "(" << format_hex(Val, 0) << ") out of range: ";
 1275     ES << "0-" << Max;
 1277     ES << Max << "-" << (-Max - 1);
lib/Target/Hexagon/BitTracker.cpp
  117     OS << "{ w:" << n;
  146       OS << " [" << Start;
  149         OS << "]:" << SV;
  151         OS << '-' << i-1 << "]:";
  162     OS << " [" << Start;
  165       OS << "]:" << RC[Start];
  167       OS << '-' << n-1 << "]:";
  175     OS << " }";
  184     dbgs() << printReg(P.first, &ME.TRI) << " -> " << P.second << "\n";
  184     dbgs() << printReg(P.first, &ME.TRI) << " -> " << P.second << "\n";
  801     dbgs() << "Visit FI(" << printMBBReference(*PI.getParent()) << "): " << PI;
  801     dbgs() << "Visit FI(" << printMBBReference(*PI.getParent()) << "): " << PI;
  818       dbgs() << "  edge " << printMBBReference(*PB) << "->"
  818       dbgs() << "  edge " << printMBBReference(*PB) << "->"
  822         dbgs() << " not executable\n";
  829       dbgs() << " input reg: " << printReg(RU.Reg, &ME.TRI, RU.Sub)
  830              << " cell: " << ResC << "\n";
  830              << " cell: " << ResC << "\n";
  836       dbgs() << "Output: " << printReg(DefRR.Reg, &ME.TRI, DefRR.Sub)
  837              << " cell: " << DefC << "\n";
  837              << " cell: " << DefC << "\n";
  845     dbgs() << "Visit MI(" << printMBBReference(*MI.getParent()) << "): " << MI;
  845     dbgs() << "Visit MI(" << printMBBReference(*MI.getParent()) << "): " << MI;
  859       dbgs() << "  input reg: " << printReg(RU.Reg, &ME.TRI, RU.Sub)
  860              << " cell: " << ME.getCell(RU, Map) << "\n";
  860              << " cell: " << ME.getCell(RU, Map) << "\n";
  862     dbgs() << "Outputs:\n";
  865       dbgs() << "  " << printReg(P.first, &ME.TRI) << " cell: "
  865       dbgs() << "  " << printReg(P.first, &ME.TRI) << " cell: "
  866              << ME.getCell(RD, ResMap) << "\n";
  930       dbgs() << "Visit BR(" << printMBBReference(B) << "): " << MI;
  930       dbgs() << "Visit BR(" << printMBBReference(B) << "): " << MI;
  940         dbgs() << "  failed to evaluate: will add all CFG successors\n";
  944         dbgs() << "  adding targets:";
  946           dbgs() << " " << printMBBReference(*BTs[i]);
  948           dbgs() << "\n  falls through\n";
  950           dbgs() << "\n  does not fall through\n";
  982     dbgs() << "queuing uses of modified reg " << printReg(Reg, &ME.TRI)
  983            << " cell: " << ME.getCell(Reg, Map) << '\n';
 1147     print_cells(dbgs() << "Cells after propagation:\n");
lib/Target/Hexagon/HexagonAsmPrinter.cpp
   83     O << HexagonInstPrinter::getRegisterName(MO.getReg());
  139       OS << HexagonInstPrinter::getRegisterName(RegNumber);
  146         OS << "i";
  172       O << "+#" << Offset.getImm();
lib/Target/Hexagon/HexagonBitSimplify.cpp
  176     OS << " }";
 2459     dbgs() << __func__ << " on reg: " << printReg(RD.Reg, &HRI, RD.Sub)
 2459     dbgs() << __func__ << " on reg: " << printReg(RD.Reg, &HRI, RD.Sub)
 2460            << ", MI: " << *MI;
 2461     dbgs() << "Cell: " << RC << '\n';
 2462     dbgs() << "Expected bitfield size: " << Len << " bits, "
 2462     dbgs() << "Expected bitfield size: " << Len << " bits, "
 2463            << (Signed ? "sign" : "zero") << "-extended\n";
 2463            << (Signed ? "sign" : "zero") << "-extended\n";
 3105   LLVM_DEBUG(dbgs() << "Processing loop in " << printMBBReference(*C.LB)
 3106                     << "\n");
 3131     dbgs() << "Phis: {";
 3133       dbgs() << ' ' << printReg(I.DefR, HRI) << "=phi("
 3134              << printReg(I.PR.Reg, HRI, I.PR.Sub) << ":b" << I.PB->getNumber()
 3135              << ',' << printReg(I.LR.Reg, HRI, I.LR.Sub) << ":b"
 3138     dbgs() << " }\n";
 3254       dbgs() << "Group[" << i << "] inp: "
 3254       dbgs() << "Group[" << i << "] inp: "
 3256              << "  out: " << printReg(G.Out.Reg, HRI, G.Out.Sub) << "\n";
 3256              << "  out: " << printReg(G.Out.Reg, HRI, G.Out.Sub) << "\n";
 3258         dbgs() << "  " << *G.Ins[j];
lib/Target/Hexagon/HexagonBitTracker.cpp
  107   dbgs() << printReg(Reg, &TRI, Sub) << " in reg class "
  108          << TRI.getRegClassName(&RC) << '\n';
  155   dbgs() << "Reg class id: " << RC.getID() << " idx: " << Idx << '\n';
  155   dbgs() << "Reg class id: " << RC.getID() << " idx: " << Idx << '\n';
lib/Target/Hexagon/HexagonBlockRanges.cpp
  424   LLVM_DEBUG(dbgs() << __func__ << ": index map\n" << IndexMap << '\n');
  424   LLVM_DEBUG(dbgs() << __func__ << ": index map\n" << IndexMap << '\n');
  426   LLVM_DEBUG(dbgs() << __func__ << ": live map\n"
  426   LLVM_DEBUG(dbgs() << __func__ << ": live map\n"
  488   LLVM_DEBUG(dbgs() << __func__ << ": dead map\n"
  488   LLVM_DEBUG(dbgs() << __func__ << ": dead map\n"
  516     OS << R << " ";
  524     OS << Idx << (Idx == M.Last ? ". " : "  ") << In;
  533     OS << printReg(I.first.Reg, &P.TRI, I.first.Sub) << " -> " << RL << "\n";
  533     OS << printReg(I.first.Reg, &P.TRI, I.first.Sub) << " -> " << RL << "\n";
lib/Target/Hexagon/HexagonBranchRelaxation.cpp
   92   LLVM_DEBUG(dbgs() << "****** Hexagon Branch Relaxation ******\n");
  201       LLVM_DEBUG(dbgs() << "Long distance jump. isExtendable("
  202                         << HII->isExtendable(MI) << ") isConstExtended("
  203                         << HII->isConstExtended(MI) << ") " << MI);
  208         LLVM_DEBUG(dbgs() << "\tUnderimplemented relax branch instruction.\n");
lib/Target/Hexagon/HexagonCommonGEP.cpp
  220     OS << "{ {";
  223       OS << "root";
  229       OS << "internal";
  235       OS << "used";
  240       OS << "inbounds";
  242     OS << "} ";
  244       OS << "BaseVal:" << GN.BaseVal->getName() << '(' << GN.BaseVal << ')';
  246       OS << "Parent:" << GN.Parent;
  248     OS << " Idx:";
  254       OS << "<anon> =" << *GN.Idx;
  256     OS << " PTy:";
  262         OS << "<anon-struct>:" << *STy;
  266     OS << " }";
  292       OS << I->first << " -> #" << Us.size() << '{';
  298           OS << " <?>(" << *R << ')';
  300       OS << " }\n";
  345   LLVM_DEBUG(dbgs() << "Visiting GEP: " << *GepI << '\n');
  429   LLVM_DEBUG(dbgs() << "Gep nodes after initial collection:\n" << Nodes);
  579     dbgs() << "Gep node equality:\n";
  581       dbgs() << "{ " << I->first << ", " << I->second << " }\n";
  581       dbgs() << "{ " << I->first << ", " << I->second << " }\n";
  581       dbgs() << "{ " << I->first << ", " << I->second << " }\n";
  583     dbgs() << "Gep equivalence classes:\n";
  592       dbgs() << " }\n";
  645   LLVM_DEBUG(dbgs() << "Gep nodes after commoning:\n" << Nodes);
  665   LLVM_DEBUG(dbgs() << "Gep nodes after post-commoning cleanup:\n" << Nodes);
  671     dbgs() << "NCD of {";
  679     dbgs() << " }\n";
  693     LLVM_DEBUG(dbgs() << "computed:" << Dom->getName() << '\n');
  756   LLVM_DEBUG(dbgs() << "Loc for node:" << Node << '\n');
  823   LLVM_DEBUG(dbgs() << "LocRec begin for node:" << Node << '\n');
  833   LLVM_DEBUG(dbgs() << "LocRec end for node:" << Node << '\n');
  938       OS << I->first << " -> ";
  955   LLVM_DEBUG(dbgs() << "Separating chain for node (" << Node << ") user: " << *R
  955   LLVM_DEBUG(dbgs() << "Separating chain for node (" << Node << ") user: " << *R
  997   LLVM_DEBUG(dbgs() << "new node: " << NewNode << "  " << *NewNode << '\n');
  997   LLVM_DEBUG(dbgs() << "new node: " << NewNode << "  " << *NewNode << '\n');
 1008   LLVM_DEBUG(dbgs() << "Separating constant chains for node: " << Node << '\n');
 1045   LLVM_DEBUG(dbgs() << "Nodes with foldable users:\n" << FNs);
 1067   LLVM_DEBUG(dbgs() << "Initial node placement:\n" << LocationAsBlock(Loc));
 1073     LLVM_DEBUG(dbgs() << "Node placement after adjustment for invariance:\n"
 1080   LLVM_DEBUG(dbgs() << "Node use information:\n" << Uses);
 1086   LLVM_DEBUG(dbgs() << "Final node placement:\n" << LocationAsBlock(Loc));
 1091   LLVM_DEBUG(dbgs() << "Fabricating GEP in " << LocB->getName()
 1092                     << " for nodes:\n"
 1130     LLVM_DEBUG(dbgs() << "new GEP: " << *NewInst << '\n');
 1163   LLVM_DEBUG(dbgs() << "Nodes before materialization:\n" << Nodes << '\n');
lib/Target/Hexagon/HexagonConstExtenders.cpp
  437     OS << '[' << OR.Min << ',' << OR.Max << "]a" << unsigned(OR.Align)
  454       OS << "noreg";
  467     OS << "## " << (P.Ex.Neg ? "- " : "+ ");
  467     OS << "## " << (P.Ex.Neg ? "- " : "+ ");
  471       OS << "__";
  472     OS << " << " << P.Ex.S;
  485     OS << '[' << P.ExtI.first << ", "
  496     OS << "bb#" << MBB.getNumber() << ": ";
  496     OS << "bb#" << MBB.getNumber() << ": ";
  500       OS << "__";
  501     OS << " = " << PrintExpr(ED.Expr, HRI);
  503       OS << ", def";
  511         OS << "imm:" << ER.V.ImmVal;
  514         OS << "fpi:" << *ER.V.CFP;
  517         OS << "sym:" << *ER.V.SymbolName;
  520         OS << "gad:" << ER.V.GV->getName();
  523         OS << "blk:" << *ER.V.BA;
  526         OS << "tgi:" << ER.V.ImmVal;
  529         OS << "cpi:" << ER.V.ImmVal;
  532         OS << "jti:" << ER.V.ImmVal;
  535         OS << "???:" << ER.V.ImmVal;
  543     OS << HCE::ExtRoot(EV) << "  off:" << EV.Offset;
  556     OS << "{\n";
  558       OS << "  " << PrintInit(Q.first, P.HRI) << " -> {";
  558       OS << "  " << PrintInit(Q.first, P.HRI) << " -> {";
  561       OS << " }\n";
  563     OS << "}\n";
  580   dbgs() << "Root: " << Root << '\n';
  586   dbgs() << "Node: " << N << '\n';
  587   dbgs() << "  Height: " << N->Height << '\n';
  588   dbgs() << "  Count: " << N->Count << '\n';
  589   dbgs() << "  MaxEnd: " << N->MaxEnd << '\n';
  590   dbgs() << "  Range: " << N->Range << '\n';
  591   dbgs() << "  Left: " << N->Left << '\n';
  592   dbgs() << "  Right: " << N->Right << "\n\n";
  592   dbgs() << "  Right: " << N->Right << "\n\n";
 1277     LLVM_DEBUG(dbgs() << " =" << I << ". " << EV << "  " << ED << '\n');
 1277     LLVM_DEBUG(dbgs() << " =" << I << ". " << EV << "  " << ED << '\n');
 1277     LLVM_DEBUG(dbgs() << " =" << I << ". " << EV << "  " << ED << '\n');
 1297     LLVM_DEBUG(dbgs() << "  " << I << ". " << EV << "  " << ED << '\n');
 1297     LLVM_DEBUG(dbgs() << "  " << I << ". " << EV << "  " << ED << '\n');
 1297     LLVM_DEBUG(dbgs() << "  " << I << ". " << EV << "  " << ED << '\n');
 1310     dbgs() << "Ranges\n";
 1312       dbgs() << "  " << I << ". " << Ranges[I-Begin] << '\n';
 1312       dbgs() << "  " << I << ". " << Ranges[I-Begin] << '\n';
 1313     dbgs() << "RangeMap\n";
 1315       dbgs() << "  " << P.first << " ->";
 1315       dbgs() << "  " << P.first << " ->";
 1403   LLVM_DEBUG(dbgs() << "IMap (before fixup) = " << PrintIMap(IMap, *HRI));
 1473   LLVM_DEBUG(dbgs() << "IMap (after fixup) = " << PrintIMap(IMap, *HRI));
 1576   LLVM_DEBUG(dbgs() << "Inserted def in bb#" << MBB.getNumber()
 1577                     << " for initializer: " << PrintInit(ExtI, *HRI) << "\n  "
 1577                     << " for initializer: " << PrintInit(ExtI, *HRI) << "\n  "
 1664       dbgs() << "\nExtOpc: " << HII->getName(ExtOpc) << " has no rr version\n";
 1664       dbgs() << "\nExtOpc: " << HII->getName(ExtOpc) << " has no rr version\n";
 1742       dbgs() << "Diff: " << -Diff << " out of range " << Uses
 1742       dbgs() << "Diff: " << -Diff << " out of range " << Uses
 1743              << " for " << MI;
 1819   dbgs() << '\n' << PrintInit(ExtI, *HRI) << "  " << MI;
 1840   LLVM_DEBUG(dbgs() << __func__ << " Idx:" << Idx << " ExtR:"
 1840   LLVM_DEBUG(dbgs() << __func__ << " Idx:" << Idx << " ExtR:"
 1840   LLVM_DEBUG(dbgs() << __func__ << " Idx:" << Idx << " ExtR:"
 1841                     << PrintRegister(ExtR, *HRI) << " Diff:" << Diff << '\n');
 1948     LLVM_DEBUG(dbgs() << getPassName() << ": skipping " << MF.getName()
 1949                       << " due to exception handling\n");
 1952   LLVM_DEBUG(MF.print(dbgs() << "Before " << getPassName() << '\n', nullptr));
 1981   LLVM_DEBUG(dbgs() << "Collected " << Extenders.size() << " extenders\n");
 1981   LLVM_DEBUG(dbgs() << "Collected " << Extenders.size() << " extenders\n");
 1995       MF.print(dbgs() << "After " << getPassName() << '\n', nullptr);
 1997       dbgs() << "No changes\n";
lib/Target/Hexagon/HexagonConstPropagation.cpp
  473     os << "{ ";
  476       os << "zero ";
  478       os << "nonzero ";
  480       os << "finite ";
  482       os << "infinity ";
  484       os << "nan ";
  486       os << "poz ";
  488       os << "nez ";
  493   os << "{ ";
  495     os << "bottom";
  497     os << "top";
  502         os << ", ";
  506   os << " }";
  615     dbgs() << "  " << printReg(I.first, &TRI) << " -> " << I.second << '\n';
  615     dbgs() << "  " << printReg(I.first, &TRI) << " -> " << I.second << '\n';
  622   LLVM_DEBUG(dbgs() << "Visiting FI(" << printMBBReference(*MB) << "): " << PN);
  622   LLVM_DEBUG(dbgs() << "Visiting FI(" << printMBBReference(*MB) << "): " << PN);
  647       LLVM_DEBUG(dbgs() << "  edge " << printMBBReference(*PB) << "->"
  647       LLVM_DEBUG(dbgs() << "  edge " << printMBBReference(*PB) << "->"
  648                         << printMBBReference(*MB) << " not executable\n");
  663     LLVM_DEBUG(dbgs() << "  edge from " << printMBBReference(*PB) << ": "
  663     LLVM_DEBUG(dbgs() << "  edge from " << printMBBReference(*PB) << ": "
  677   LLVM_DEBUG(dbgs() << "Visiting MI(" << printMBBReference(*MI.getParent())
  678                     << "): " << MI);
  683       dbgs() << "  outputs:";
  734     LLVM_DEBUG(dbgs() << "Visiting " << (EvalOk ? "BR" : "br") << "("
  734     LLVM_DEBUG(dbgs() << "Visiting " << (EvalOk ? "BR" : "br") << "("
  734     LLVM_DEBUG(dbgs() << "Visiting " << (EvalOk ? "BR" : "br") << "("
  735                       << printMBBReference(B) << "): " << MI);
  769     LLVM_DEBUG(dbgs() << "  failed to evaluate a branch...adding all CFG "
  777     LLVM_DEBUG(dbgs() << "  pushing edge " << printMBBReference(B) << " -> "
  777     LLVM_DEBUG(dbgs() << "  pushing edge " << printMBBReference(B) << " -> "
  778                       << printMBBReference(*TB) << "\n");
  784   LLVM_DEBUG(dbgs() << "Visiting uses of " << printReg(Reg, &MCE.TRI)
  877         dbgs() << "Picked edge "
  878                << printMBBReference(*MF.getBlockNumbered(Edge.first)) << "->"
  934     dbgs() << "Cells after propagation:\n";
  936     dbgs() << "Dead CFG edges:\n";
  942           dbgs() << "  " << printMBBReference(B) << " -> "
  942           dbgs() << "  " << printMBBReference(B) << " -> "
 1048   LLVM_DEBUG(MF.print(dbgs() << "Starting MachineConstPropagator\n", nullptr));
 1061     dbgs() << "End of MachineConstPropagator (Changed=" << Changed << ")\n";
 1061     dbgs() << "End of MachineConstPropagator (Changed=" << Changed << ")\n";
 2801         dbgs() << "Top " << printReg(R.Reg, &HRI, R.SubReg)
 2802                << " in MI: " << MI;
 2812         dbgs() << "CONST: " << MI;
 2817           dbgs() << printReg(R, &TRI) << ": " << Inputs.get(R) << "\n";
 2817           dbgs() << printReg(R, &TRI) << ": " << Inputs.get(R) << "\n";
 2935       dbgs() << "In function: " << MF.getName() << "\n";
 2935       dbgs() << "In function: " << MF.getName() << "\n";
 2936       dbgs() << "Rewrite: for " << MI << "  created " << *NewInstrs[0];
 2936       dbgs() << "Rewrite: for " << MI << "  created " << *NewInstrs[0];
 2938         dbgs() << "          " << *NewInstrs[i];
 3101       dbgs() << "Rewrite: for " << MI;
 3103         dbgs() << "  created " << *NewMI;
 3105         dbgs() << "  modified the instruction itself and created:" << *NewMI;
 3139   LLVM_DEBUG(dbgs() << "Rewrite(" << printMBBReference(B) << "):" << BrI);
 3139   LLVM_DEBUG(dbgs() << "Rewrite(" << printMBBReference(B) << "):" << BrI);
lib/Target/Hexagon/HexagonCopyToCombine.cpp
  650   LLVM_DEBUG(dbgs() << "Found a CONST64\n");
lib/Target/Hexagon/HexagonEarlyIfConv.cpp
  117       return OS << "<none>";
  145     OS << "{ SplitB:" << PrintMB(P.FP.SplitB)
  146        << ", PredR:" << printReg(P.FP.PredR, &P.TRI)
  147        << ", TrueB:" << PrintMB(P.FP.TrueB)
  148        << ", FalseB:" << PrintMB(P.FP.FalseB)
  149        << ", JoinB:" << PrintMB(P.FP.JoinB) << " }";
  149        << ", JoinB:" << PrintMB(P.FP.JoinB) << " }";
  240   LLVM_DEBUG(dbgs() << "Checking flow pattern at " << printMBBReference(*B)
  241                     << "\n");
  328     LLVM_DEBUG(dbgs() << "One of blocks " << PrintMB(TB) << ", " << PrintMB(FB)
  328     LLVM_DEBUG(dbgs() << "One of blocks " << PrintMB(TB) << ", " << PrintMB(FB)
  329                       << " is a loop preheader. Skipping.\n");
  334   LLVM_DEBUG(dbgs() << "Detected " << PrintFP(FP, *TRI) << "\n");
  334   LLVM_DEBUG(dbgs() << "Detected " << PrintFP(FP, *TRI) << "\n");
  555       dbgs() << "Total number of instructions to be predicated/speculated: "
  556              << TotalIn << ", spare room: " << Spare << "\n");
  556              << TotalIn << ", spare room: " << Spare << "\n");
  583   LLVM_DEBUG(dbgs() << "Total number of extra muxes from converted phis: "
  584                     << TotalPh << "\n");
  588   LLVM_DEBUG(dbgs() << "Total number of predicate registers: " << PredDefs
  589                     << "\n");
  630     LLVM_DEBUG(dbgs() << "Conversion is not valid\n");
  634     LLVM_DEBUG(dbgs() << "Conversion is not profitable\n");
  645   LLVM_DEBUG((L ? dbgs() << "Visiting loop H:" << PrintMB(HB)
  646                 : dbgs() << "Visiting function")
  647              << "\n");
  762   LLVM_DEBUG(dbgs() << "Predicating block " << PrintMB(FromB) << "\n");
  762   LLVM_DEBUG(dbgs() << "Predicating block " << PrintMB(FromB) << "\n");
  954   LLVM_DEBUG(dbgs() << "Removing block " << PrintMB(B) << "\n");
  954   LLVM_DEBUG(dbgs() << "Removing block " << PrintMB(B) << "\n");
  984   LLVM_DEBUG(dbgs() << "Removing phi nodes from block " << PrintMB(B) << "\n");
  984   LLVM_DEBUG(dbgs() << "Removing phi nodes from block " << PrintMB(B) << "\n");
 1011   LLVM_DEBUG(dbgs() << "Merging blocks " << PrintMB(PredB) << " and "
 1011   LLVM_DEBUG(dbgs() << "Merging blocks " << PrintMB(PredB) << " and "
 1012                     << PrintMB(SuccB) << "\n");
lib/Target/Hexagon/HexagonExpandCondsets.cpp
  656   LLVM_DEBUG(dbgs() << "created an initial copy: " << *MIB);
  669   LLVM_DEBUG(dbgs() << "\nsplitting " << printMBBReference(*MI.getParent())
  670                     << ": " << MI);
  940   LLVM_DEBUG(dbgs() << "\nattempt to predicate if-" << (Cond ? "true" : "false")
  940   LLVM_DEBUG(dbgs() << "\nattempt to predicate if-" << (Cond ? "true" : "false")
  941                     << ": " << TfrI);
  962   LLVM_DEBUG(dbgs() << "Source def: " << *DefI);
 1047   LLVM_DEBUG(dbgs() << "Can move up: " << (CanUp ? "yes" : "no")
 1047   LLVM_DEBUG(dbgs() << "Can move up: " << (CanUp ? "yes" : "no")
 1048                     << ", can move down: " << (CanDown ? "yes\n" : "no\n"));
 1048                     << ", can move down: " << (CanDown ? "yes\n" : "no\n"));
 1143   LLVM_DEBUG(dbgs() << "compatible registers: ("
 1144                     << (Overlap ? "overlap" : "disjoint") << ")\n  "
 1144                     << (Overlap ? "overlap" : "disjoint") << ")\n  "
 1145                     << printReg(R1.Reg, TRI, R1.Sub) << "  " << L1 << "\n  "
 1145                     << printReg(R1.Reg, TRI, R1.Sub) << "  " << L1 << "\n  "
 1146                     << printReg(R2.Reg, TRI, R2.Sub) << "  " << L2 << "\n");
 1146                     << printReg(R2.Reg, TRI, R2.Sub) << "  " << L2 << "\n");
 1179   LLVM_DEBUG(dbgs() << "coalesced: " << L1 << "\n");
 1179   LLVM_DEBUG(dbgs() << "coalesced: " << L1 << "\n");
 1260   LLVM_DEBUG(LIS->print(dbgs() << "Before expand-condsets\n",
 1289       LIS->print(dbgs() << "After coalescing\n", MF.getFunction().getParent()));
 1306       LIS->print(dbgs() << "After splitting\n", MF.getFunction().getParent()));
 1314   LLVM_DEBUG(LIS->print(dbgs() << "After predicating\n",
 1322       LIS->print(dbgs() << "After expand-condsets\n",
lib/Target/Hexagon/HexagonFrameLowering.cpp
  445     dbgs() << "Blocks needing SF: {";
  447       dbgs() << " " << printMBBReference(*B);
  448     dbgs() << " }\n";
  468     dbgs() << "Computed dom block: ";
  472       dbgs() << "<null>";
  473     dbgs() << ", computed pdom block: ";
  477       dbgs() << "<null>";
  478     dbgs() << "\n";
  485     LLVM_DEBUG(dbgs() << "Dom block does not dominate pdom block\n");
  489     LLVM_DEBUG(dbgs() << "PDom block does not post-dominate dom block\n");
 1423   dbgs() << " }";
 1429   LLVM_DEBUG(dbgs() << __func__ << " on " << MF.getName() << '\n');
 1429   LLVM_DEBUG(dbgs() << __func__ << " on " << MF.getName() << '\n');
 1439   LLVM_DEBUG(dbgs() << "Initial CS registers: {");
 1446   LLVM_DEBUG(dbgs() << " }\n");
 1447   LLVM_DEBUG(dbgs() << "SRegs.1: "; dump_registers(SRegs, *TRI);
 1448              dbgs() << "\n");
 1458   LLVM_DEBUG(dbgs() << "Res:     "; dump_registers(Reserved, *TRI);
 1459              dbgs() << "\n");
 1460   LLVM_DEBUG(dbgs() << "SRegs.2: "; dump_registers(SRegs, *TRI);
 1461              dbgs() << "\n");
 1482   LLVM_DEBUG(dbgs() << "TmpSup:  "; dump_registers(TmpSup, *TRI);
 1483              dbgs() << "\n");
 1487   LLVM_DEBUG(dbgs() << "SRegs.4: "; dump_registers(SRegs, *TRI);
 1488              dbgs() << "\n");
 1501   LLVM_DEBUG(dbgs() << "SRegs.5: "; dump_registers(SRegs, *TRI);
 1502              dbgs() << "\n");
 1541     dbgs() << "CS information: {";
 1545       dbgs() << ' ' << printReg(CSI[i].getReg(), TRI) << ":fi#" << FI << ":sp";
 1545       dbgs() << ' ' << printReg(CSI[i].getReg(), TRI) << ":fi#" << FI << ":sp";
 1550     dbgs() << " }\n";
 2060     LLVM_DEBUG(dbgs() << "Index map for " << printMBBReference(B) << "\n"
 2060     LLVM_DEBUG(dbgs() << "Index map for " << printMBBReference(B) << "\n"
 2170       dbgs() << "fi#" << P.first;
 2172         dbgs() << " (bad)";
 2173       dbgs() << "  RC: ";
 2175         dbgs() << HRI.getRegClassName(P.second.RC) << '\n';
 2177         dbgs() << "<null>\n";
 2179         dbgs() << "  " << printMBBReference(*R.first) << " { " << R.second
 2179         dbgs() << "  " << printMBBReference(*R.first) << " { " << R.second
 2180                << "}\n";
 2208     dbgs() << "Block-to-FI map (* -- live-on-exit):\n";
 2213       dbgs() << "  " << printMBBReference(*P.first) << ": {";
 2213       dbgs() << "  " << printMBBReference(*P.first) << ": {";
 2215         dbgs() << " fi#" << I;
 2219       dbgs() << " }\n";
 2234     LLVM_DEBUG(dbgs() << printMBBReference(B) << " dead map\n"
 2240       LLVM_DEBUG(dbgs() << "Working on fi#" << FI << '\n');
 2243         LLVM_DEBUG(dbgs() << "--Examining range:" << RL << '\n');
 2258         LLVM_DEBUG(dbgs() << "Replacement reg:" << printReg(FoundR, &HRI)
lib/Target/Hexagon/HexagonGenInsert.cpp
  190     OS << " }";
  429         OS << ", ";
  484        << ",#" << P.IFR.Wdh << ",#" << P.IFR.Off << ')';
  484        << ",#" << P.IFR.Wdh << ",#" << P.IFR.Off << ')';
  584     dbgs() << "  " << printReg(I->first, HRI) << ":\n";
  584     dbgs() << "  " << printReg(I->first, HRI) << ":\n";
  587       dbgs() << "    " << PrintIFR(LL[i].first, HRI) << ", "
  587       dbgs() << "    " << PrintIFR(LL[i].first, HRI) << ", "
  797     dbgs() << __func__ << ": " << printReg(VR, HRI)
  797     dbgs() << __func__ << ": " << printReg(VR, HRI)
  798            << "  AVs: " << PrintORL(AVs, HRI) << "\n";
  798            << "  AVs: " << PrintORL(AVs, HRI) << "\n";
  862     dbgs() << "Prefixes matching register " << printReg(VR, HRI) << "\n";
  862     dbgs() << "Prefixes matching register " << printReg(VR, HRI) << "\n";
  864       dbgs() << "  L=" << I->first << ':';
  867         dbgs() << " (" << printReg(LL[i].first, HRI) << ",@"
  867         dbgs() << " (" << printReg(LL[i].first, HRI) << ",@"
  914           dbgs() << printReg(VR, HRI) << " = insert(" << printReg(SrcR, HRI)
  915                  << ',' << printReg(InsR, HRI) << ",#" << L << ",#"
  915                  << ',' << printReg(InsR, HRI) << ",#" << L << ",#"
  916                  << S << ")\n";
  931     dbgs() << "visiting block " << printMBBReference(*B) << "\n";
  931     dbgs() << "visiting block " << printMBBReference(*B) << "\n";
 1538     dbgs() << "Cell ordering:\n";
 1542       dbgs() << printReg(VR, HRI) << " -> " << Pos << "\n";
 1542       dbgs() << printReg(VR, HRI) << " -> " << Pos << "\n";
 1562     dbgs() << "Candidates after collection:\n";
 1575     dbgs() << "Candidates after pruning:\n";
 1588     dbgs() << "Candidates after selection:\n";
lib/Target/Hexagon/HexagonGenPredicate.cpp
  226   LLVM_DEBUG(dbgs() << __func__ << ": " << printReg(Reg.R, TRI, Reg.S) << "\n");
  226   LLVM_DEBUG(dbgs() << __func__ << ": " << printReg(Reg.R, TRI, Reg.S) << "\n");
  226   LLVM_DEBUG(dbgs() << __func__ << ": " << printReg(Reg.R, TRI, Reg.S) << "\n");
  231     LLVM_DEBUG(dbgs() << "Dead reg: " << printReg(Reg.R, TRI, Reg.S) << '\n');
  253   LLVM_DEBUG(dbgs() << __func__ << ": " << PrintRegister(Reg, *TRI));
  253   LLVM_DEBUG(dbgs() << __func__ << ": " << PrintRegister(Reg, *TRI));
  261     LLVM_DEBUG(dbgs() << " -> " << PrintRegister(PR, *TRI) << '\n');
  277     LLVM_DEBUG(dbgs() << " -> !" << PrintRegister(RegisterSubReg(NewPR), *TRI)
  368   LLVM_DEBUG(dbgs() << __func__ << ": " << MI << " " << *MI);
  368   LLVM_DEBUG(dbgs() << __func__ << ": " << MI << " " << *MI);
  368   LLVM_DEBUG(dbgs() << __func__ << ": " << MI << " " << *MI);
  430   LLVM_DEBUG(dbgs() << "generated: " << *MIB);
  453   LLVM_DEBUG(dbgs() << __func__ << "\n");
  453   LLVM_DEBUG(dbgs() << __func__ << "\n");
lib/Target/Hexagon/HexagonHardwareLoops.cpp
  378   LLVM_DEBUG(dbgs() << "********* Hexagon Hardware Loops *********\n");
 1013   LLVM_DEBUG(dbgs() << "\nhw_loop head, "
 1020         LLVM_DEBUG(dbgs() << "\nCannot convert to hw_loop due to:";
 1086     LLVM_DEBUG(dbgs() << "HW looping will remove: " << *MI);
 1240   LLVM_DEBUG(dbgs() << "Change to hardware loop at "; L->dump());
 1369     LLVM_DEBUG(dbgs() << "\nhw_loop head, "
 1770             LLVM_DEBUG(dbgs() << "\n DefMI(" << i
 1771                               << ") = " << *(MRI->getVRegDef(I->first)));
 1778             LLVM_DEBUG(dbgs() << "\n DefMI(" << i
 1779                               << ") = " << *(MRI->getVRegDef(MO.getReg())));
lib/Target/Hexagon/HexagonHazardRecognizer.cpp
   28   LLVM_DEBUG(dbgs() << "Reset hazard recognizer\n");
   45     LLVM_DEBUG(dbgs() << "*** Hazard in cycle " << PacketNum << ", " << *MI);
   45     LLVM_DEBUG(dbgs() << "*** Hazard in cycle " << PacketNum << ", " << *MI);
   61       LLVM_DEBUG(dbgs() << "*** Try .new version? " << (RetVal == NoHazard)
   62                         << "\n");
   69     LLVM_DEBUG(dbgs() << "*** .cur Hazard in cycle " << PacketNum << ", "
   69     LLVM_DEBUG(dbgs() << "*** .cur Hazard in cycle " << PacketNum << ", "
   78   LLVM_DEBUG(dbgs() << "Advance cycle, clear state\n");
  136   LLVM_DEBUG(dbgs() << " Add instruction " << *MI);
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
 1249     dbgs() << "Preprocessed (Hexagon) selection DAG:";
 1257       dbgs() << "Address tree balanced selection DAG:";
 1913     LLVM_DEBUG(dbgs() << "--> No need to balance root (Weight=" << Weight
 1914                       << " Height=" << RootHeights[N] << "): ");
 1914                       << " Height=" << RootHeights[N] << "): ");
 1920   LLVM_DEBUG(dbgs() << "** Balancing root node: ");
 1969         LLVM_DEBUG(dbgs() << "--> Subtree was RAUWd. Restarting...\n");
 2040   LLVM_DEBUG(dbgs() << "--> Current height=" << NodeHeights[SDValue(N, 0)]
 2041                     << " weight=" << CurrentWeight
 2042                     << " imbalanced=" << Imbalanced << "\n");
 2042                     << " imbalanced=" << Imbalanced << "\n");
 2048     LLVM_DEBUG(dbgs() << "--> Found common factor for two MUL children!\n");
 2082       LLVM_DEBUG(dbgs() << "--> Combining GA and offset ("
 2083                         << Offset->getSExtValue() << "): ");
 2128     LLVM_DEBUG(dbgs() << "--> Pushing constant to tip of tree.");
 2155       LLVM_DEBUG(dbgs() << "--> Subtree was RAUWd. Restarting...\n");
 2189     LLVM_DEBUG(dbgs() << "--> Built new node (Weight=" << Weight
 2190                       << ",Height=" << Height << "):\n");
 2190                       << ",Height=" << Height << "):\n");
 2215     LLVM_DEBUG(dbgs() << "--> Root is now: ");
 2223     LLVM_DEBUG(dbgs() << "--> Root unchanged.\n");
 2246     LLVM_DEBUG(dbgs() << "** Rebalancing address calculation in node: ");
 2287     LLVM_DEBUG(dbgs() << "--> Final node: ");
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
  271   dbgs() << "{ Order:   {";
  277       dbgs() << " -";
  279   dbgs() << " }\n";
  280   dbgs() << "  Needed: {";
  283   dbgs() << " }\n";
  285   dbgs() << "  Edges: {\n";
  287     dbgs() << "    " << E.first << " -> {";
  287     dbgs() << "    " << E.first << " -> {";
  290     dbgs() << " }\n";
  292   dbgs() << "  }\n";
  306   dbgs() << "  Colors: {\n";
  308     dbgs() << "    " << C.first << " -> " << ColorKindToName(C.second) << "\n";
  308     dbgs() << "    " << C.first << " -> " << ColorKindToName(C.second) << "\n";
  308     dbgs() << "    " << C.first << " -> " << ColorKindToName(C.second) << "\n";
  308     dbgs() << "    " << C.first << " -> " << ColorKindToName(C.second) << "\n";
  309   dbgs() << "  }\n}\n";
  715     OS << "invalid";
  719     OS << "undef";
  725       OS << "lo ";
  727       OS << "hi ";
  734   OS << format("%8s", EVT(Ty).getEVTString().c_str()) << "  "
  747   OS << "Input node:\n";
  751   OS << "Result templates:\n";
  753     OS << '[' << I << "] ";
  785     OS << "MinSrc:" << MinSrc << ", MaxSrc:" << MaxSrc << " {";
  785     OS << "MinSrc:" << MinSrc << ", MaxSrc:" << MaxSrc << " {";
  785     OS << "MinSrc:" << MinSrc << ", MaxSrc:" << MaxSrc << " {";
  788     OS << " }";
  979     dbgs() << "Materializing\n";
 1030     dbgs() << "Generated node:\n";
 1040   DEBUG_WITH_TYPE("isel", {dbgs() << __func__ << '\n';});
 1054   DEBUG_WITH_TYPE("isel", {dbgs() << __func__ << '\n';});
 1150   DEBUG_WITH_TYPE("isel", {dbgs() << __func__ << '\n';});
 1199   DEBUG_WITH_TYPE("isel", {dbgs() << __func__ << '\n';});
 1212   DEBUG_WITH_TYPE("isel", {dbgs() << __func__ << '\n';});
 1220   DEBUG_WITH_TYPE("isel", {dbgs() << __func__ << '\n';});
 1239   DEBUG_WITH_TYPE("isel", {dbgs() << __func__ << '\n';});
 1270   DEBUG_WITH_TYPE("isel", {dbgs() << __func__ << '\n';});
 1307   DEBUG_WITH_TYPE("isel", {dbgs() << __func__ << '\n';});
 1363   DEBUG_WITH_TYPE("isel", {dbgs() << __func__ << '\n';});
 1493   DEBUG_WITH_TYPE("isel", {dbgs() << __func__ << '\n';});
 1616   DEBUG_WITH_TYPE("isel", {dbgs() << __func__ << '\n';});
 1670   DEBUG_WITH_TYPE("isel", {dbgs() << __func__ << '\n';});
 1938   DEBUG_WITH_TYPE("isel", {dbgs() << __func__ << '\n';});
 2003     dbgs() << "Starting " << __func__ << " on node:\n";
 2003     dbgs() << "Starting " << __func__ << " on node:\n";
 2003     dbgs() << "Starting " << __func__ << " on node:\n";
 2037     dbgs() << "VecLen=" << VecLen << " HwLen=" << HwLen << " UseLeft="
 2037     dbgs() << "VecLen=" << VecLen << " HwLen=" << HwLen << " UseLeft="
 2037     dbgs() << "VecLen=" << VecLen << " HwLen=" << HwLen << " UseLeft="
 2038            << UseLeft << " UseRight=" << UseRight << " HavePairs="
 2038            << UseLeft << " UseRight=" << UseRight << " HavePairs="
 2069     dbgs() << "Unhandled shuffle:\n";
lib/Target/Hexagon/HexagonISelLowering.cpp
  364     LLVM_DEBUG(dbgs() << (CLI.IsTailCall ? "Eligible for Tail Call\n"
  438     LLVM_DEBUG(dbgs() << "Function needs byte stack align due to call args\n");
  678     dbgs () << __func__ << " Align: " << A << " Size: ";
  678     dbgs () << __func__ << " Align: " << A << " Size: ";
  678     dbgs () << __func__ << " Align: " << A << " Size: ";
  680     dbgs() << "\n";
 1688     O << "Misaligned constant address: " << format_hex(Addr, 10)
 1689       << " has alignment " << HaveAlign
 1690       << ", but the memory access requires " << NeedAlign;
 1692       DL.print(O << ", at ");
 2200   dbgs() << "VecTy: " << EVT(VecTy).getEVTString() << '\n';
 2841         errs() << "Error: check for a non-legal type in this operation\n";
lib/Target/Hexagon/HexagonInstrInfo.cpp
  432     LLVM_DEBUG(dbgs() << "\nErasing the jump to successor block\n";);
  501     LLVM_DEBUG(dbgs() << "\nCant analyze " << printMBBReference(MBB)
  502                       << " with one jump\n";);
  549   LLVM_DEBUG(dbgs() << "\nCant analyze " << printMBBReference(MBB)
  550                     << " with two jumps";);
  559   LLVM_DEBUG(dbgs() << "\nRemoving branches out of " << printMBBReference(MBB));
  631       LLVM_DEBUG(dbgs() << "\nInserting NVJump for "
  878   dbgs() << "Invalid registers for copy in " << printMBBReference(MBB) << ": "
  878   dbgs() << "Invalid registers for copy in " << printMBBReference(MBB) << ": "
  879          << printReg(DestReg, &HRI) << " = " << printReg(SrcReg, &HRI) << '\n';
 1343           OS << "MisalignedCrash";
 1564     LLVM_DEBUG(dbgs() << "\nCannot predicate:"; MI.dump(););
 2316   LLVM_DEBUG(dbgs() << "V60" << (isLate ? "-LR  " : " --  "));
 2316   LLVM_DEBUG(dbgs() << "V60" << (isLate ? "-LR  " : " --  "));
 2318   LLVM_DEBUG(dbgs() << "V60" << (isEarly ? "-ES  " : " --  "));
 2318   LLVM_DEBUG(dbgs() << "V60" << (isEarly ? "-ES  " : " --  "));
 2322     LLVM_DEBUG(dbgs() << "++Is Late Result feeding Early Source\n");
 4265     LLVM_DEBUG(dbgs() << "No predregs for new-value jumps/endloop");
 4367   LLVM_DEBUG(dbgs() << "\n[invertAndChangeJumpTarget] to "
 4397     LLVM_DEBUG(dbgs() << "\n"
 4399                       << "  Class: " << NewMI->getDesc().getSchedClass());
 4409   LLVM_DEBUG(dbgs() << "\nTrying to reverse pred. sense of:"; MI.dump());
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  301   OS << U->getOpcodeName();
 1762   LLVM_DEBUG(dbgs() << "Starting PolynomialMultiplyRecognize on loop\n"
 1770   LLVM_DEBUG(dbgs() << "Loop header:\n" << *LoopB);
 1792   LLVM_DEBUG(dbgs() << "Loop IV: " << *CIV << "\nIterCount: " << IterCount
 1792   LLVM_DEBUG(dbgs() << "Loop IV: " << *CIV << "\nIterCount: " << IterCount
 1820     LLVM_DEBUG(dbgs() << "scanSelect(pre-scan): " << PE(C, SelI) << '\n');
 1833     LLVM_DEBUG(dbgs() << "Have not found candidates for pmpy\n");
 1873     LLVM_DEBUG(dbgs() << "scanSelect: " << *SelI << '\n');
 1883       dbgs() << "Found pmpy idiom: R = " << PP << ".Q\n";
 1883       dbgs() << "Found pmpy idiom: R = " << PP << ".Q\n";
 1885       dbgs() << "Found inverse pmpy idiom: R = (" << PP << "/Q).Q) + "
 1885       dbgs() << "Found inverse pmpy idiom: R = (" << PP << "/Q).Q) + "
 1886              << PP << "\n";
 1887     dbgs() << "  Res:" << *PV.Res << "\n  P:" << *PV.P << "\n";
 1887     dbgs() << "  Res:" << *PV.Res << "\n  P:" << *PV.P << "\n";
 1887     dbgs() << "  Res:" << *PV.Res << "\n  P:" << *PV.P << "\n";
 1889       dbgs() << "  M:" << *PV.M << "\n";
 1889       dbgs() << "  M:" << *PV.M << "\n";
 1890     dbgs() << "  Q:" << *PV.Q << "\n";
 1890     dbgs() << "  Q:" << *PV.Q << "\n";
 1891     dbgs() << "  Iteration count:" << PV.IterCount << "\n";
 1891     dbgs() << "  Iteration count:" << PV.IterCount << "\n";
 2291   LLVM_DEBUG(dbgs() << "  Formed " << (Overlap ? "memmove: " : "memcpy: ")
 2291   LLVM_DEBUG(dbgs() << "  Formed " << (Overlap ? "memmove: " : "memcpy: ")
 2292                     << *NewCall << "\n"
 2293                     << "    from load ptr=" << *LoadEv << " at: " << *LI << "\n"
 2293                     << "    from load ptr=" << *LoadEv << " at: " << *LI << "\n"
 2293                     << "    from load ptr=" << *LoadEv << " at: " << *LI << "\n"
 2294                     << "    from store ptr=" << *StoreEv << " at: " << *SI
 2294                     << "    from store ptr=" << *StoreEv << " at: " << *SI
 2295                     << "\n");
lib/Target/Hexagon/HexagonMachineScheduler.cpp
  177   LLVM_DEBUG(dbgs() << "Packet[" << TotalPackets << "]:\n");
  177   LLVM_DEBUG(dbgs() << "Packet[" << TotalPackets << "]:\n");
  179     LLVM_DEBUG(dbgs() << "\t[" << i << "] SU(");
  179     LLVM_DEBUG(dbgs() << "\t[" << i << "] SU(");
  180     LLVM_DEBUG(dbgs() << Packet[i]->NodeNum << ")\t");
  192   LLVM_DEBUG(dbgs() << "********** MI Converging Scheduling VLIW "
  193                     << printMBBReference(*BB) << " " << BB->getName()
  194                     << " in_func " << BB->getParent()->getName()
  195                     << " at loop depth " << MLI->getLoopDepth(BB) << " \n");
  195                     << " at loop depth " << MLI->getLoopDepth(BB) << " \n");
  214              dbgs() << "Max Height " << maxH << "\n";);
  214              dbgs() << "Max Height " << maxH << "\n";);
  219              dbgs() << "Max Depth " << maxD << "\n";);
  219              dbgs() << "Max Depth " << maxD << "\n";);
  227         dbgs() << "** VLIWMachineScheduler::schedule picking next node\n");
  246     dbgs() << "*** Final schedule for "
  247            << printMBBReference(*begin()->getParent()) << " ***\n";
  384   LLVM_DEBUG(dbgs() << "*** Next cycle " << Available.getName() << " cycle "
  384   LLVM_DEBUG(dbgs() << "*** Next cycle " << Available.getName() << " cycle "
  409     LLVM_DEBUG(dbgs() << "*** Max instrs at cycle " << CurrCycle << '\n');
  413     LLVM_DEBUG(dbgs() << "*** IssueCount " << IssueCount << " at cycle "
  413     LLVM_DEBUG(dbgs() << "*** IssueCount " << IssueCount << " at cycle "
  486   dbgs() << Label << " " << Q.getName() << " ";
  486   dbgs() << Label << " " << Q.getName() << " ";
  486   dbgs() << Label << " " << Q.getName() << " ";
  488     dbgs() << DAG->TRI->getRegPressureSetName(P.getPSet()) << ":"
  488     dbgs() << DAG->TRI->getRegPressureSetName(P.getPSet()) << ":"
  489            << P.getUnitInc() << " ";
  491     dbgs() << "     ";
  492   dbgs() << "cost(" << Cost << ")\t";
  492   dbgs() << "cost(" << Cost << ")\t";
  502   dbgs() << ">>> " << Q.getName() << "\n";
  502   dbgs() << ">>> " << Q.getName() << "\n";
  512     dbgs() << "\t";
  515   dbgs() << "\n";
  588              << ((Q.getID() == TopQID) ? "(top|" : "(bot|"));
  592     LLVM_DEBUG(dbgs() << "H|");
  599       LLVM_DEBUG(if (verbose) dbgs() << "LB|");
  614       LLVM_DEBUG(if (verbose) dbgs() << "A|");
  616       LLVM_DEBUG(if (verbose) dbgs() << " |");
  619       LLVM_DEBUG(if (verbose) dbgs() << "LB|");
  634       LLVM_DEBUG(if (verbose) dbgs() << "A|");
  636       LLVM_DEBUG(if (verbose) dbgs() << " |");
  681       dbgs() << "RP " << Delta.Excess.getUnitInc() << "/"
  681       dbgs() << "RP " << Delta.Excess.getUnitInc() << "/"
  682              << Delta.CriticalMax.getUnitInc() << "/"
  683              << Delta.CurrentMax.getUnitInc() << ")|";
  695       LLVM_DEBUG(if (verbose) dbgs() << "C|");
  699       LLVM_DEBUG(if (verbose) dbgs() << "C|");
  711         LLVM_DEBUG(if (verbose) dbgs() << "Z|");
  720         LLVM_DEBUG(if (verbose) dbgs() << "Z|");
  736           LLVM_DEBUG(if (verbose) dbgs() << "D|");
  744           LLVM_DEBUG(if (verbose) dbgs() << "D|");
  883     LLVM_DEBUG(dbgs() << "Picked only Bottom\n");
  888     LLVM_DEBUG(dbgs() << "Picked only Top\n");
  906     LLVM_DEBUG(dbgs() << "Prefered Bottom Node\n");
  917     LLVM_DEBUG(dbgs() << "Prefered Top Node\n");
  924     LLVM_DEBUG(dbgs() << "Prefered Bottom Node SingleMax\n");
  929     LLVM_DEBUG(dbgs() << "Prefered Top Node SingleMax\n");
  934     LLVM_DEBUG(dbgs() << "Prefered Top Node Cost\n");
  939   LLVM_DEBUG(dbgs() << "Prefered Bottom in Node order\n");
  982   LLVM_DEBUG(dbgs() << "*** " << (IsTopNode ? "Top" : "Bottom")
  982   LLVM_DEBUG(dbgs() << "*** " << (IsTopNode ? "Top" : "Bottom")
  983                     << " Scheduling instruction in cycle "
  984                     << (IsTopNode ? Top.CurrCycle : Bot.CurrCycle) << " ("
  985                     << reportPackets() << ")\n";
lib/Target/Hexagon/HexagonNewValueJump.cpp
  450   LLVM_DEBUG(dbgs() << "********** Hexagon New Value Jump **********\n"
  451                     << "********** Function: " << MF.getName() << "\n");
  451                     << "********** Function: " << MF.getName() << "\n");
  476     LLVM_DEBUG(dbgs() << "** dumping bb ** " << MBB->getNumber() << "\n");
  476     LLVM_DEBUG(dbgs() << "** dumping bb ** " << MBB->getNumber() << "\n");
  478     LLVM_DEBUG(dbgs() << "\n"
  479                       << "********** dumping instr bottom up **********\n");
  504       LLVM_DEBUG(dbgs() << "Instr: "; MI.dump(); dbgs() << "\n");
  504       LLVM_DEBUG(dbgs() << "Instr: "; MI.dump(); dbgs() << "\n");
lib/Target/Hexagon/HexagonOptAddrMode.cpp
  220         dbgs() << "*** Unable to collect all reaching defs for use ***\n"
  222                << "The program's complexity may exceed the limits.\n";
  229         dbgs() << "*** Multiple Reaching Defs found!!! ***\n";
  233           dbgs() << "\t\t[Reaching Def]: "
  234                  << Print<NodeAddr<InstrNode *>>(TempIA, *DFG) << "\n";
  246     LLVM_DEBUG(dbgs() << "\t\t[DefNode]: "
  247                       << Print<NodeAddr<DefNode *>>(DA, *DFG) << "\n");
  256         dbgs() << "\t\t\t[Reached Use]: "
  257                << Print<NodeAddr<InstrNode *>>(TempIA, *DFG) << "\n";
  264         LLVM_DEBUG(dbgs() << "\t\t\t\tphi real Uses"
  265                           << Print<Liveness::RefMap>(phiUse, *DFG) << "\n");
  309           dbgs() << "isSafeToExtLR: Returning false; another reaching def\n");
  399     LLVM_DEBUG(dbgs() << "\t\t[MI <BB#" << UseMI->getParent()->getNumber()
  400                       << ">]: " << *UseMI << "\n");
  400                       << ">]: " << *UseMI << "\n");
  454       LLVM_DEBUG(dbgs() << "\nGetting ReachedUses for === " << MI << "\n");
  454       LLVM_DEBUG(dbgs() << "\nGetting ReachedUses for === " << MI << "\n");
  519     LLVM_DEBUG(dbgs() << "[Changing]: " << *OldMI << "\n");
  519     LLVM_DEBUG(dbgs() << "[Changing]: " << *OldMI << "\n");
  520     LLVM_DEBUG(dbgs() << "[TO]: " << *MIB << "\n");
  520     LLVM_DEBUG(dbgs() << "[TO]: " << *MIB << "\n");
  531       LLVM_DEBUG(dbgs() << "[Changing]: " << *OldMI << "\n");
  531       LLVM_DEBUG(dbgs() << "[Changing]: " << *OldMI << "\n");
  532       LLVM_DEBUG(dbgs() << "[TO]: " << *MIB << "\n");
  532       LLVM_DEBUG(dbgs() << "[TO]: " << *MIB << "\n");
  574     LLVM_DEBUG(dbgs() << "[Changing]: " << *OldMI << "\n");
  574     LLVM_DEBUG(dbgs() << "[Changing]: " << *OldMI << "\n");
  575     LLVM_DEBUG(dbgs() << "[TO]: " << *MIB << "\n");
  575     LLVM_DEBUG(dbgs() << "[TO]: " << *MIB << "\n");
  584     LLVM_DEBUG(dbgs() << "[Changing]: " << *OldMI << "\n");
  584     LLVM_DEBUG(dbgs() << "[Changing]: " << *OldMI << "\n");
  585     LLVM_DEBUG(dbgs() << "[TO]: " << *MIB << "\n");
  585     LLVM_DEBUG(dbgs() << "[TO]: " << *MIB << "\n");
  608   LLVM_DEBUG(dbgs() << "Processing addasl :" << *AddAslMI << "\n");
  608   LLVM_DEBUG(dbgs() << "Processing addasl :" << *AddAslMI << "\n");
  619     LLVM_DEBUG(dbgs() << "[InstrNode]: "
  620                       << Print<NodeAddr<InstrNode *>>(UseIA, *DFG) << "\n");
  622     LLVM_DEBUG(dbgs() << "[MI <" << printMBBReference(*UseMI->getParent())
  623                       << ">]: " << *UseMI << "\n");
  623                       << ">]: " << *UseMI << "\n");
  701     LLVM_DEBUG(dbgs() << "[Analyzing " << HII->getName(MI->getOpcode())
  702                       << "]: " << *MI << "\n\t[InstrNode]: "
  702                       << "]: " << *MI << "\n\t[InstrNode]: "
  739     LLVM_DEBUG(dbgs() << "\t[Total reached uses] : " << UNodeList.size()
  740                       << "\n");
  741     LLVM_DEBUG(dbgs() << "\t[Processing Reached Uses] ===\n");
  749       LLVM_DEBUG(dbgs() << "\t\t[MI <" << printMBBReference(*UseMI->getParent())
  750                         << ">]: " << *UseMI << "\n");
  750                         << ">]: " << *UseMI << "\n");
  802   LLVM_DEBUG(dbgs() << "==== [RefMap#]=====:\n "
  803                     << Print<NodeAddr<FuncNode *>>(FA, *DFG) << "\n");
lib/Target/Hexagon/HexagonRDFOpt.cpp
  181       dbgs() << "Partly dead: " << *SA.Addr->getCode();
  271     dbgs() << "Rewriting: " << MI;
  276     dbgs() << "       to: " << MI;
  299     MF.print(dbgs() << "Before " << getPassName() << "\n", nullptr);
  299     MF.print(dbgs() << "Before " << getPassName() << "\n", nullptr);
  309     dbgs() << "Starting copy propagation on: " << MF.getName() << '\n'
  316     dbgs() << "Starting dead code elimination on: " << MF.getName() << '\n'
  324       dbgs() << "Starting liveness recomputation on: " << MF.getName() << '\n';
  333     MF.print(dbgs() << "After " << getPassName() << "\n", nullptr);
  333     MF.print(dbgs() << "After " << getPassName() << "\n", nullptr);
lib/Target/Hexagon/HexagonRegisterInfo.cpp
   94   dbgs() << "Register class: " << getRegClassName(RC) << "\n";
   94   dbgs() << "Register class: " << getRegClassName(RC) << "\n";
   94   dbgs() << "Register class: " << getRegClassName(RC) << "\n";
lib/Target/Hexagon/HexagonSplitDouble.cpp
  141   dbgs() << " }";
  248     LLVM_DEBUG(dbgs() << printReg(R, TRI) << " ~~");
  470   LLVM_DEBUG(dbgs() << "Partition profit: " << TotalP << '\n');
  566     dbgs() << "For loop at " << printMBBReference(*HB) << " ind regs: ";
  566     dbgs() << "For loop at " << printMBBReference(*HB) << " ind regs: ";
  998   LLVM_DEBUG(dbgs() << "Splitting: " << *MI);
 1132   LLVM_DEBUG(dbgs() << "Splitting partition: ";
 1150     LLVM_DEBUG(dbgs() << "Created mapping: " << printReg(DR, TRI) << " -> "
 1150     LLVM_DEBUG(dbgs() << "Created mapping: " << printReg(DR, TRI) << " -> "
 1192   LLVM_DEBUG(dbgs() << "Splitting double registers in function: "
 1208     dbgs() << "Register partitioning: (partition #0 is fixed)\n";
 1210       dbgs() << '#' << I->first << " -> ";
 1225     LLVM_DEBUG(dbgs() << "Calculating profit for partition #" << I->first
lib/Target/Hexagon/HexagonStoreWidening.cpp
  475     dbgs() << "Replacing:\n";
  477       dbgs() << "  " << *I;
  478     dbgs() << "with\n";
  480       dbgs() << "  " << *I;
lib/Target/Hexagon/HexagonTargetObjectFile.cpp
  129   TRACE("[SelectSectionForGlobal] GO(" << GO->getName() << ") ");
  129   TRACE("[SelectSectionForGlobal] GO(" << GO->getName() << ") ");
  130   TRACE("input section(" << GO->getSection() << ") ");
  130   TRACE("input section(" << GO->getSection() << ") ");
  132   TRACE((GO->hasPrivateLinkage() ? "private_linkage " : "")
  133          << (GO->hasLocalLinkage() ? "local_linkage " : "")
  134          << (GO->hasInternalLinkage() ? "internal " : "")
  135          << (GO->hasExternalLinkage() ? "external " : "")
  136          << (GO->hasCommonLinkage() ? "common_linkage " : "")
  137          << (GO->hasCommonLinkage() ? "common " : "" )
  138          << (Kind.isCommon() ? "kind_common " : "" )
  139          << (Kind.isBSS() ? "kind_bss " : "" )
  140          << (Kind.isBSSLocal() ? "kind_bss_local " : "" ));
  160   TRACE("default_ELF_section\n");
  167   TRACE("[getExplicitSectionGlobal] GO(" << GO->getName() << ") from("
  167   TRACE("[getExplicitSectionGlobal] GO(" << GO->getName() << ") from("
  168         << GO->getSection() << ") ");
  169   TRACE((GO->hasPrivateLinkage() ? "private_linkage " : "")
  170          << (GO->hasLocalLinkage() ? "local_linkage " : "")
  171          << (GO->hasInternalLinkage() ? "internal " : "")
  172          << (GO->hasExternalLinkage() ? "external " : "")
  173          << (GO->hasCommonLinkage() ? "common_linkage " : "")
  174          << (GO->hasCommonLinkage() ? "common " : "" )
  175          << (Kind.isCommon() ? "kind_common " : "" )
  176          << (Kind.isBSS() ? "kind_bss " : "" )
  177          << (Kind.isBSSLocal() ? "kind_bss_local " : "" ));
  193   TRACE("default_ELF_section\n");
  203     LLVM_DEBUG(dbgs() << "Small-data allocation is disabled, but symbols "
  206   LLVM_DEBUG(dbgs() << "Checking if value is in small-data, -G"
  207                     << SmallDataThreshold << ": \"" << GO->getName() << "\": ");
  207                     << SmallDataThreshold << ": \"" << GO->getName() << "\": ");
  210     LLVM_DEBUG(dbgs() << "no, not a global variable\n");
  219     LLVM_DEBUG(dbgs() << (IsSmall ? "yes" : "no")
  220                       << ", has section: " << GVar->getSection() << '\n');
  226     LLVM_DEBUG(dbgs() << "no, small-data allocation is disabled\n");
  231     LLVM_DEBUG(dbgs() << "no, is a constant\n");
  237     LLVM_DEBUG(dbgs() << "no, is static\n");
  243     LLVM_DEBUG(dbgs() << "no, is an array\n");
  253       LLVM_DEBUG(dbgs() << "no, has opaque type\n");
  260     LLVM_DEBUG(dbgs() << "no, has size 0\n");
  264     LLVM_DEBUG(dbgs() << "no, size exceeds sdata threshold: " << Size << '\n');
  268   LLVM_DEBUG(dbgs() << "yes\n");
  348   TRACE("Small data. Size(" << Size << ")");
  348   TRACE("Small data. Size(" << Size << ")");
  358       TRACE(" default sbss\n");
  370     TRACE(" unique sbss(" << Name << ")\n");
  370     TRACE(" unique sbss(" << Name << ")\n");
  384     TRACE(" small COMMON (" << Name << ")\n");
  384     TRACE(" small COMMON (" << Name << ")\n");
  394     TRACE(" const_object_as_data ");
  402       TRACE(" default sdata\n");
  414     TRACE(" unique sdata(" << Name << ")\n");
  414     TRACE(" unique sdata(" << Name << ")\n");
  419   TRACE("default ELF section\n");
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
  380     LLVM_DEBUG(dbgs() << "Cleanup packet has "; BI->dump(););
  395   LLVM_DEBUG(dbgs() << "Demoted CUR "; MI->dump(););
  419   LLVM_DEBUG(dbgs() << "Can we DOT Cur Vector MI\n"; MI.dump();
  420              dbgs() << "in packet\n";);
  423     dbgs() << "Checking CUR against ";
  437     LLVM_DEBUG(dbgs() << "packet has "; BI->dump(););
  442   LLVM_DEBUG(dbgs() << "Can Dot CUR MI\n"; MI.dump(););
 1769       dbgs() << "Finalizing packet:\n";
 1773         dbgs() << " * [res:0x" << utohexstr(R) << "] " << *MI;
 1773         dbgs() << " * [res:0x" << utohexstr(R) << "] " << *MI;
 1781     LLVM_DEBUG(dbgs() << "  Not added to NoShufPacket\n");
 1805   LLVM_DEBUG(dbgs() << "End packet\n");
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
  226     OS << "**DepChain Start::**\n";
  228       OS << *(CD[i]) << " -->\n";
  230     OS << *CD[ChainSize-1] << "\n";
  257     OS << "** ReuseValue ***\n";
  258     OS << "Instruction to Replace: " << *(RU.Inst2Replace) << "\n";
  258     OS << "Instruction to Replace: " << *(RU.Inst2Replace) << "\n";
  259     OS << "Backedge Instruction: " << *(RU.BackedgeInst) << "\n";
  259     OS << "Backedge Instruction: " << *(RU.BackedgeInst) << "\n";
  442     LLVM_DEBUG(dbgs() << "Not considering for reuse: " << *II << "\n");
  442     LLVM_DEBUG(dbgs() << "Not considering for reuse: " << *II << "\n");
  450     LLVM_DEBUG(dbgs() << "Processing dependence " << *(D->front()) << "\n");
  450     LLVM_DEBUG(dbgs() << "Processing dependence " << *(D->front()) << "\n");
  454           << ".. Skipping because number of iterations > than the limit\n");
  462     LLVM_DEBUG(dbgs() << "Checking if any uses of " << *PN
  463                       << " can be reused\n");
  474                           << " has already been replaced. Skipping...\n");
  486     LLVM_DEBUG(dbgs() << PNUsers.size() << " use(s) of the PHI in the block\n");
  578           LLVM_DEBUG(dbgs() << "Found Value for reuse.\n");
  609   LLVM_DEBUG(dbgs() << "reuseValue is making the following changes\n");
  630     LLVM_DEBUG(dbgs() << "Added " << *InstInPreheader << " to "
  630     LLVM_DEBUG(dbgs() << "Added " << *InstInPreheader << " to "
  631                       << LoopPH->getName() << "\n");
  643     LLVM_DEBUG(dbgs() << "Adding " << *NewPhi << " to " << BB->getName()
  643     LLVM_DEBUG(dbgs() << "Adding " << *NewPhi << " to " << BB->getName()
  644                       << "\n");
  663   LLVM_DEBUG(dbgs() << "Working on Loop: " << *CurLoop->getHeader() << "\n");
  663   LLVM_DEBUG(dbgs() << "Working on Loop: " << *CurLoop->getHeader() << "\n");
  741   LLVM_DEBUG(dbgs() << "Found " << Dependences.size() << " dependences\n");
  741   LLVM_DEBUG(dbgs() << "Found " << Dependences.size() << " dependences\n");
  743                   ++i) { dbgs() << *Dependences[i] << "\n"; });
lib/Target/Hexagon/HexagonVectorPrint.cpp
  146             LLVM_DEBUG(dbgs() << "Found vector reg inside bundle \n";
  154           LLVM_DEBUG(dbgs() << "Found vector reg \n"; MI.dump());
  166     LLVM_DEBUG(dbgs() << "Evaluating V MI\n"; I->dump());
  172       LLVM_DEBUG(dbgs() << "add to end of bundle\n"; I->dump());
  176       LLVM_DEBUG(dbgs() << "add after instruction\n"; I->dump());
  183       LLVM_DEBUG(dbgs() << "adding dump for V" << Reg - Hexagon::V0 << '\n');
  186       LLVM_DEBUG(dbgs() << "adding dump for W" << Reg - Hexagon::W0 << '\n');
  192       LLVM_DEBUG(dbgs() << "adding dump for Q" << Reg - Hexagon::Q0 << '\n');
lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
  511     LLVM_DEBUG(dbgs() << "Name=" << getFixupKindInfo(Kind).Name << "("
  511     LLVM_DEBUG(dbgs() << "Name=" << getFixupKindInfo(Kind).Name << "("
  511     LLVM_DEBUG(dbgs() << "Name=" << getFixupKindInfo(Kind).Name << "("
  512                       << (unsigned)Kind << ")\n");
  516         dbgs() << "\tBValue=0x"; dbgs().write_hex(Value) << ": AValue=0x";
  516         dbgs() << "\tBValue=0x"; dbgs().write_hex(Value) << ": AValue=0x";
  518         << ": Offset=" << Offset << ": Size=" << Data.size() << ": OInst=0x";
  518         << ": Offset=" << Offset << ": Size=" << Data.size() << ": OInst=0x";
  518         << ": Offset=" << Offset << ": Size=" << Data.size() << ": OInst=0x";
  519         dbgs().write_hex(OldData) << ": Reloc=0x"; dbgs().write_hex(Reloc););
  532                dbgs() << ": NInst=0x"; dbgs().write_hex(NewData) << "\n";);
  532                dbgs() << ": NInst=0x"; dbgs().write_hex(NewData) << "\n";);
  689       LLVM_DEBUG(dbgs() << "Alignment not a multiple of the instruction size:"
  690                         << Count % HEXAGON_INSTR_SIZE << "/"
  691                         << HEXAGON_INSTR_SIZE << "\n");
lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp
   30   O << getRegisterName(RegNo);
   49     OS << "\n";
   55     OS << (IsLoop1 ? " :endloop01" : " :endloop0");
   57     OS << " :endloop1";
   65     O << "#";
   68     O << getRegisterName(MO.getReg());
   91         O << "##";
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
  373   LLVM_DEBUG(dbgs() << "Encoding bundle\n";);
  416   LLVM_DEBUG(dbgs() << "Encoding insn `"
  417                     << HexagonMCInstrInfo::getName(MCII, MI) << "'\n");
  425     LLVM_DEBUG(dbgs() << "Unimplemented inst `"
  426                       << HexagonMCInstrInfo::getName(MCII, MI) << "'\n");
  461   Stream << "Unrecognized relocation combination: width=" << Width
  462          << " kind=" << Kind;
  631   LLVM_DEBUG(dbgs() << "----------------------------------------\n"
  632                     << "Opcode Name: " << HexagonMCInstrInfo::getName(MCII, MI)
  633                     << "\nOpcode: " << Opc << "\nRelocation bits: "
  633                     << "\nOpcode: " << Opc << "\nRelocation bits: "
  634                     << FixupWidth << "\nAddend: " << State.Addend
  635                     << "\nVariant: " << unsigned(VarKind)
  636                     << "\n----------------------------------------\n");
lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp
  206     LLVM_DEBUG(dbgs() << "Possible compound ignored\n");
  234     LLVM_DEBUG(dbgs() << "CX: C2_cmpeq\n");
  247     LLVM_DEBUG(dbgs() << "CX: C2_cmpgt\n");
  260     LLVM_DEBUG(dbgs() << "CX: C2_cmpgtu\n");
  273     LLVM_DEBUG(dbgs() << "CX: C2_cmpeqi\n");
  291     LLVM_DEBUG(dbgs() << "CX: C2_cmpgti\n");
  309     LLVM_DEBUG(dbgs() << "CX: C2_cmpgtui\n");
  320     LLVM_DEBUG(dbgs() << "CX: S2_tstbit_i\n");
  373         LLVM_DEBUG(dbgs() << "J,B: " << JumpInst->getOpcode() << ","
  373         LLVM_DEBUG(dbgs() << "J,B: " << JumpInst->getOpcode() << ","
  374                           << Inst->getOpcode() << "\n");
  378             LLVM_DEBUG(dbgs() << "B: " << Inst->getOpcode() << ","
  378             LLVM_DEBUG(dbgs() << "B: " << Inst->getOpcode() << ","
  379                               << JumpInst->getOpcode() << " Compounds to "
  380                               << CompoundInsn->getOpcode() << "\n");
  423       LLVM_DEBUG(dbgs() << "Found ERROR\n");
lib/Target/Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp
 1052         LLVM_DEBUG(dbgs() << "skip out of order write pair: " << k << "," << j
 1052         LLVM_DEBUG(dbgs() << "skip out of order write pair: " << k << "," << j
 1053                           << "\n");
 1073         LLVM_DEBUG(dbgs() << "adding pair: " << j << "," << k << ":"
 1073         LLVM_DEBUG(dbgs() << "adding pair: " << j << "," << k << ":"
 1073         LLVM_DEBUG(dbgs() << "adding pair: " << j << "," << k << ":"
 1074                           << MCB.getOperand(j).getInst()->getOpcode() << ","
 1075                           << MCB.getOperand(k).getInst()->getOpcode() << "\n");
 1078         LLVM_DEBUG(dbgs() << "skipping pair: " << j << "," << k << ":"
 1078         LLVM_DEBUG(dbgs() << "skipping pair: " << j << "," << k << ":"
 1078         LLVM_DEBUG(dbgs() << "skipping pair: " << j << "," << k << ":"
 1079                           << MCB.getOperand(j).getInst()->getOpcode() << ","
 1080                           << MCB.getOperand(k).getInst()->getOpcode() << "\n");
 1099                      << "adding pair:" << k << "," << j << ":"
 1099                      << "adding pair:" << k << "," << j << ":"
 1099                      << "adding pair:" << k << "," << j << ":"
 1100                      << MCB.getOperand(j).getInst()->getOpcode() << ","
 1101                      << MCB.getOperand(k).getInst()->getOpcode() << "\n");
 1104                      << "skipping pair: " << k << "," << j << ":"
 1104                      << "skipping pair: " << k << "," << j << ":"
 1104                      << "skipping pair: " << k << "," << j << ":"
 1105                      << MCB.getOperand(j).getInst()->getOpcode() << ","
 1106                      << MCB.getOperand(k).getInst()->getOpcode() << "\n");
lib/Target/Hexagon/MCTargetDesc/HexagonMCShuffler.cpp
   39       LLVM_DEBUG(dbgs() << "Shuffling: " << MCII.getName(MI.getOpcode())
  121     LLVM_DEBUG(dbgs() << "Skipping empty bundle");
  124     LLVM_DEBUG(dbgs() << "Skipping stand-alone insn");
  146     LLVM_DEBUG(dbgs() << "Skipping empty bundle");
  149     LLVM_DEBUG(dbgs() << "Skipping stand-alone insn");
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
  154     OS << "\t{\n";
  170       OS << "\n\t} :mem_noshuf" << PacketBundle.second;
  172       OS << "\t}" << PacketBundle.second;
  392     errs() << "error: invalid CPU \"" << CPUName.str().c_str()
  392     errs() << "error: invalid CPU \"" << CPUName.str().c_str()
  393            << "\" specified\n";
lib/Target/Hexagon/RDFCopy.cpp
  105     dbgs() << "Copies:\n";
  107       dbgs() << "Instr: " << *DFG.addr<StmtNode*>(I).Addr->getCode();
  108       dbgs() << "   eq: {";
  112       dbgs() << " }\n";
  174           dbgs() << "Can replace " << Print<RegisterRef>(DR, DFG)
  175                  << " with " << Print<RegisterRef>(SR, DFG) << " in "
  175                  << " with " << Print<RegisterRef>(SR, DFG) << " in "
lib/Target/Hexagon/RDFDeadCode.cpp
  143     dbgs() << "Live nodes:\n";
  146       dbgs() << PrintNode<RefNode*>(RA, DFG) << "\n";
  168           dbgs() << "Dead instr: " << PrintNode<InstrNode*>(IA, DFG) << "\n";
  168           dbgs() << "Dead instr: " << PrintNode<InstrNode*>(IA, DFG) << "\n";
  220     dbgs() << "Removing dead ref nodes:\n";
  223       dbgs() << "  " << PrintNode<RefNode*>(RA, DFG) << '\n';
  239       dbgs() << "erasing: " << *MI;
lib/Target/Hexagon/RDFGraph.cpp
   60     OS << TRI.getName(P.Obj.Reg);
   79         default:                OS << "c?"; break;
   95         default:                OS << "r?"; break;
  127   OS << "):";
  138   OS << "):";
  153   OS << "):";
  211         OS << ", ";
  219   OS << Print<NodeId>(P.Obj.Id, P.G) << ": phi ["
  227   OS << Print<NodeId>(P.Obj.Id, P.G) << ": " << P.G.getTII().getName(Opc);
  242         OS << T->getSymbolName();
  245   OS << " [" << PrintListV<RefNode*>(P.Obj.Addr->members(P.G), P.G) << ']';
  259       OS << "instr? " << Print<NodeId>(P.Obj.Id, P.G);
  273       OS << "%bb." << I;
  275         OS << ", ";
  279   OS << Print<NodeId>(P.Obj.Id, P.G) << ": --- " << printMBBReference(*BB)
  280      << " --- preds(" << NP << "): ";
  280      << " --- preds(" << NP << "): ";
  286   OS << "  succs(" << NS << "): ";
  286   OS << "  succs(" << NS << "): ";
  299   OS << "DFG dump:[\n" << Print<NodeId>(P.Obj.Id, P.G) << ": Function: "
  299   OS << "DFG dump:[\n" << Print<NodeId>(P.Obj.Id, P.G) << ": Function: "
  303   OS << "]\n";
  311   OS << " }";
 1106       dbgs() << "Multiple definitions of register: "
 1107              << Print<RegisterRef>(RR, *this) << " in\n  " << *MI << "in "
 1107              << Print<RegisterRef>(RR, *this) << " in\n  " << *MI << "in "
lib/Target/Hexagon/RDFLiveness.cpp
   71     OS << " }";
  582     dbgs() << "Phi-up-to-phi map with intervening defs:\n";
  584       dbgs() << "phi " << Print<NodeId>(I.first, DFG) << " -> {";
  584       dbgs() << "phi " << Print<NodeId>(I.first, DFG) << " -> {";
  588       dbgs() << " }\n";
  666     dbgs() << "Real use map:\n";
  668       dbgs() << "phi " << Print<NodeId>(I.first, DFG);
  675         dbgs() << "<noreg>";
  677       dbgs() << " -> " << Print<RefMap>(I.second, DFG) << '\n';
  733     dbgs() << "Phi live-on-entry map:\n";
  735       dbgs() << "block #" << I.first->getNumber() << " -> "
  735       dbgs() << "block #" << I.first->getNumber() << " -> "
  796     dbgs() << "Phi live-on-exit map:\n";
  798       dbgs() << "block #" << I.first->getNumber() << " -> "
  798       dbgs() << "block #" << I.first->getNumber() << " -> "
  815       dbgs() << printMBBReference(B) << "\t rec = {";
  818       dbgs() << " }\n";
  826       dbgs() << "\tcomp = {";
  829       dbgs() << " }\n";
  964     dbgs() << "\n-- " << printMBBReference(*B) << ": " << __func__
  964     dbgs() << "\n-- " << printMBBReference(*B) << ": " << __func__
  964     dbgs() << "\n-- " << printMBBReference(*B) << ": " << __func__
  965            << " after recursion into: {";
  968     dbgs() << " }\n";
  969     dbgs() << "  LiveIn: " << Print<RefMap>(LiveIn, DFG) << '\n';
  970     dbgs() << "  Local:  " << Print<RegisterAggr>(LiveMap[B], DFG) << '\n';
  979     dbgs() << "after LOX\n";
  980     dbgs() << "  LiveIn: " << Print<RefMap>(LiveIn, DFG) << '\n';
  981     dbgs() << "  Local:  " << Print<RegisterAggr>(LiveMap[B], DFG) << '\n';
 1063     dbgs() << "after defs in block\n";
 1064     dbgs() << "  LiveIn: " << Print<RefMap>(LiveIn, DFG) << '\n';
 1065     dbgs() << "  Local:  " << Print<RegisterAggr>(LiveMap[B], DFG) << '\n';
 1084     dbgs() << "after uses in block\n";
 1085     dbgs() << "  LiveIn: " << Print<RefMap>(LiveIn, DFG) << '\n';
 1086     dbgs() << "  Local:  " << Print<RegisterAggr>(LiveMap[B], DFG) << '\n';
 1101     dbgs() << "after phi uses in block\n";
 1102     dbgs() << "  LiveIn: " << Print<RefMap>(LiveIn, DFG) << '\n';
 1103     dbgs() << "  Local:  " << Print<RegisterAggr>(Local, DFG) << '\n';
lib/Target/Hexagon/RDFRegisters.cpp
  368   OS << " }";
lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
  561       OS << "Imm: " << getImm() << "\n";
  561       OS << "Imm: " << getImm() << "\n";
  564       OS << "Token: " << getToken() << "\n";
  564       OS << "Token: " << getToken() << "\n";
  567       OS << "Reg: %r" << getReg() << "\n";
  567       OS << "Reg: %r" << getReg() << "\n";
  570       OS << "MemImm: " << *getMemOffset() << "\n";
  570       OS << "MemImm: " << *getMemOffset() << "\n";
  573       OS << "MemRegImm: " << getMemBaseReg() << "+" << *getMemOffset() << "\n";
  573       OS << "MemRegImm: " << getMemBaseReg() << "+" << *getMemOffset() << "\n";
  573       OS << "MemRegImm: " << getMemBaseReg() << "+" << *getMemOffset() << "\n";
  577       OS << "MemRegReg: " << getMemBaseReg() << "+"
  577       OS << "MemRegReg: " << getMemBaseReg() << "+"
  578          << "%r" << getMemOffsetReg() << "\n";
  578          << "%r" << getMemOffsetReg() << "\n";
lib/Target/Lanai/LanaiAsmPrinter.cpp
   70     O << LanaiInstPrinter::getRegisterName(MO.getReg());
   96     O << MAI->getPrivateGlobalPrefix() << "JTI" << getFunctionNumber() << '_'
  101     O << MAI->getPrivateGlobalPrefix() << "CPI" << getFunctionNumber() << '_'
  137       O << LanaiInstPrinter::getRegisterName(Reg);
lib/Target/Lanai/LanaiISelDAGToDAG.cpp
  277     LLVM_DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n");
  277     LLVM_DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n");
lib/Target/Lanai/LanaiISelLowering.cpp
  484         LLVM_DEBUG(dbgs() << "LowerFormalArguments Unhandled argument type: "
  485                           << RegVT.getEVTString() << "\n");
  495         errs() << "LowerFormalArguments Unhandled argument type: "
  496                << EVT(VA.getLocVT()).getEVTString() << "\n";
lib/Target/Lanai/LanaiMCInstLower.cpp
   49   raw_svector_ostream(Name) << Printer.MAI->getPrivateGlobalPrefix() << "JTI"
   59   raw_svector_ostream(Name) << Printer.MAI->getPrivateGlobalPrefix() << "CPI"
lib/Target/Lanai/MCTargetDesc/LanaiInstPrinter.cpp
   41   OS << "\t" << Alias << " ";
   41   OS << "\t" << Alias << " ";
   43   OS << ", ";
   76     OS << "\t" << Opcode << "\t[" << decIncOperator(MI) << "%"
   76     OS << "\t" << Opcode << "\t[" << decIncOperator(MI) << "%"
   76     OS << "\t" << Opcode << "\t[" << decIncOperator(MI) << "%"
   77        << getRegisterName(MI->getOperand(1).getReg()) << "], %"
   77        << getRegisterName(MI->getOperand(1).getReg()) << "], %"
   78        << getRegisterName(MI->getOperand(0).getReg());
   82     OS << "\t" << Opcode << "\t[%"
   82     OS << "\t" << Opcode << "\t[%"
   83        << getRegisterName(MI->getOperand(1).getReg()) << decIncOperator(MI)
   84        << "], %" << getRegisterName(MI->getOperand(0).getReg());
   84        << "], %" << getRegisterName(MI->getOperand(0).getReg());
   95     OS << "\t" << Opcode << "\t%" << getRegisterName(MI->getOperand(0).getReg())
   95     OS << "\t" << Opcode << "\t%" << getRegisterName(MI->getOperand(0).getReg())
   95     OS << "\t" << Opcode << "\t%" << getRegisterName(MI->getOperand(0).getReg())
   96        << ", [" << decIncOperator(MI) << "%"
   96        << ", [" << decIncOperator(MI) << "%"
   97        << getRegisterName(MI->getOperand(1).getReg()) << "]";
   97        << getRegisterName(MI->getOperand(1).getReg()) << "]";
  101     OS << "\t" << Opcode << "\t%" << getRegisterName(MI->getOperand(0).getReg())
  101     OS << "\t" << Opcode << "\t%" << getRegisterName(MI->getOperand(0).getReg())
  101     OS << "\t" << Opcode << "\t%" << getRegisterName(MI->getOperand(0).getReg())
  102        << ", [%" << getRegisterName(MI->getOperand(1).getReg())
  102        << ", [%" << getRegisterName(MI->getOperand(1).getReg())
  103        << decIncOperator(MI) << "]";
  153     OS << "%" << getRegisterName(Op.getReg());
  153     OS << "%" << getRegisterName(Op.getReg());
  215   OS << "[";
  217     OS << "*";
  218   OS << "%" << LanaiInstPrinter::getRegisterName(RegOp.getReg());
  218   OS << "%" << LanaiInstPrinter::getRegisterName(RegOp.getReg());
  220     OS << "*";
  221   OS << "]";
  261   OS << "[";
  263     OS << "*";
  264   OS << "%" << getRegisterName(RegOp.getReg());
  264   OS << "%" << getRegisterName(RegOp.getReg());
  266     OS << "*";
  267   OS << " " << LPAC::lanaiAluCodeToString(AluCode) << " ";
  267   OS << " " << LPAC::lanaiAluCodeToString(AluCode) << " ";
  267   OS << " " << LPAC::lanaiAluCodeToString(AluCode) << " ";
  268   OS << "%" << getRegisterName(OffsetOp.getReg());
  268   OS << "%" << getRegisterName(OffsetOp.getReg());
  269   OS << "]";
  293     OS << "<und>";
  304     OS << "<und>";
  306     OS << "." << lanaiCondCodeToString(CC);
lib/Target/Lanai/MCTargetDesc/LanaiMCExpr.cpp
   32     OS << "hi";
   35     OS << "lo";
lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
  229       O << "Token " << Tok;
  232       O << "Register " << Reg;
  235       O << "Immediate " << *Imm;
  238       O << "Memory ";
  239       O << *Mem.Offset << "(" << Reg << ")";
  239       O << *Mem.Offset << "(" << Reg << ")";
  242       O << "RegInd " << Reg;
  245       O << "PostInc " << Reg;
lib/Target/MSP430/MCTargetDesc/MSP430InstPrinter.cpp
   41     O << "$";
   56     O << getRegisterName(Op.getReg());
   93     O << '(' << getRegisterName(Base.getReg()) << ')';
   99   O << "@" << getRegisterName(Base.getReg());
   99   O << "@" << getRegisterName(Base.getReg());
  105   O << "@" << getRegisterName(Base.getReg()) << "+";
  105   O << "@" << getRegisterName(Base.getReg()) << "+";
  105   O << "@" << getRegisterName(Base.getReg()) << "+";
  116    O << "eq";
  119    O << "ne";
  122    O << "hs";
  125    O << "lo";
  128    O << "ge";
lib/Target/MSP430/MSP430AsmPrinter.cpp
   84     O << MSP430InstPrinter::getRegisterName(MO.getReg());
lib/Target/MSP430/MSP430BranchSelector.cpp
  141       LLVM_DEBUG(dbgs() << "  Found a branch that needs expanding, "
  142                         << printMBBReference(*DestBB) << ", Distance "
  143                         << BranchDistance << "\n");
  148         LLVM_DEBUG(dbgs() << "  Found a basic block that needs to be split, "
  149                           << printMBBReference(*MBB) << "\n");
  232   LLVM_DEBUG(dbgs() << "\n********** " << getPassName() << " **********\n");
  232   LLVM_DEBUG(dbgs() << "\n********** " << getPassName() << " **********\n");
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
   66       errs() << "MSP430ISelAddressMode " << this << '\n';
   68         errs() << "Base.Reg ";
   71         errs() << " Base.FrameIndex " << Base.FrameIndex << '\n';
   73       errs() << " Disp " << Disp << '\n';
   75         errs() << "GV ";
   78         errs() << " CP ";
   80         errs() << " Align" << Align << '\n';
   82         errs() << "ES ";
   83         errs() << ES << '\n';
   85         errs() << " JT" << JT << " Align" << Align << '\n';
   85         errs() << " JT" << JT << " Align" << Align << '\n';
  184   LLVM_DEBUG(errs() << "MatchAddress: "; AM.dump());
  385     LLVM_DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n");
  385     LLVM_DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n");
lib/Target/MSP430/MSP430ISelLowering.cpp
  632           errs() << "LowerFormalArguments Unhandled argument type: "
  633                << RegVT.getEVTString() << "\n";
  672             errs() << "LowerFormalArguments Unhandled argument type: "
  674                 << "\n";
lib/Target/MSP430/MSP430MCInstLower.cpp
   54   raw_svector_ostream(Name) << DL.getPrivateGlobalPrefix() << "JTI"
   71   raw_svector_ostream(Name) << DL.getPrivateGlobalPrefix() << "CPI"
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 1468     LLVM_DEBUG(dbgs() << "createNumericReg(" << Index << ", ...)\n");
 1468     LLVM_DEBUG(dbgs() << "createNumericReg(" << Index << ", ...)\n");
 1664       OS << "Imm<";
 1666       OS << ">";
 1669       OS << "Mem<";
 1671       OS << ", ";
 1673       OS << ">";
 1676       OS << "RegIdx<" << RegIdx.Index << ":" << RegIdx.Kind << ", "
 1676       OS << "RegIdx<" << RegIdx.Index << ":" << RegIdx.Kind << ", "
 1676       OS << "RegIdx<" << RegIdx.Index << ":" << RegIdx.Kind << ", "
 1677          << StringRef(RegIdx.Tok.Data, RegIdx.Tok.Length) << ">";
 1683       OS << "RegList< ";
 1685         OS << Reg << " ";
 1686       OS <<  ">";
 5992   LLVM_DEBUG(dbgs() << "parseOperand\n");
 6005   LLVM_DEBUG(dbgs() << ".. Generic Parser\n");
 6035     LLVM_DEBUG(dbgs() << ".. generic integer expression\n");
 6108   LLVM_DEBUG(dbgs() << "parseMemOperand\n");
 6349     LLVM_DEBUG(dbgs() << ".. identifier\n");
 6355     LLVM_DEBUG(dbgs() << ".. integer\n");
 6369   LLVM_DEBUG(dbgs() << Token.getKind() << "\n");
 6383   LLVM_DEBUG(dbgs() << "parseAnyRegister\n");
 6390     LLVM_DEBUG(dbgs() << ".. !$ -> try sym aliasing\n");
 6395     LLVM_DEBUG(dbgs() << ".. !symalias -> NoMatch\n");
 6398   LLVM_DEBUG(dbgs() << ".. $\n");
 6411   LLVM_DEBUG(dbgs() << "parseJumpTarget\n");
 6603   LLVM_DEBUG(dbgs() << "ParseInstruction\n");
lib/Target/Mips/Disassembler/MipsDisassembler.cpp
 1230           dbgs() << "Trying MicroMipsR616 table (16-bit instructions):\n");
 1241     LLVM_DEBUG(dbgs() << "Trying MicroMips16 table (16-bit instructions):\n");
 1257           dbgs() << "Trying MicroMips32r632 table (32-bit instructions):\n");
 1267     LLVM_DEBUG(dbgs() << "Trying MicroMips32 table (32-bit instructions):\n");
 1277       LLVM_DEBUG(dbgs() << "Trying MicroMipsFP64 table (32-bit opcodes):\n");
 1306     LLVM_DEBUG(dbgs() << "Trying COP3_ table (32-bit opcodes):\n");
 1315         dbgs() << "Trying Mips32r6_64r6 (GPR64) table (32-bit opcodes):\n");
 1324         dbgs() << "Trying Mips32r6_64r6 (PTR64) table (32-bit opcodes):\n");
 1332     LLVM_DEBUG(dbgs() << "Trying Mips32r6_64r6 table (32-bit opcodes):\n");
 1341         dbgs() << "Trying Mips32r6_64r6 (PTR64) table (32-bit opcodes):\n");
 1349     LLVM_DEBUG(dbgs() << "Trying CnMips table (32-bit opcodes):\n");
 1357     LLVM_DEBUG(dbgs() << "Trying Mips64 (GPR64) table (32-bit opcodes):\n");
 1366         dbgs() << "Trying MipsFP64 (64 bit FPU) table (32-bit opcodes):\n");
 1373   LLVM_DEBUG(dbgs() << "Trying Mips table (32-bit opcodes):\n");
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
   46     Out << ", Matched=" << Matched;
  118       LLVM_DEBUG(dbgs() << std::distance(First, I) << " is a match (";
  119                  I->print(dbgs()); dbgs() << ")\n");
  121         LLVM_DEBUG(dbgs() << ".. and it beats the last one\n");
  126       LLVM_DEBUG(dbgs() << ".. and it is unbeatable\n");
  209     dbgs() << Prefix << R << "\n";
  209     dbgs() << Prefix << R << "\n";
  485     LLVM_DEBUG(dbgs() << "Matching: " << R << "\n");
  485     LLVM_DEBUG(dbgs() << "Matching: " << R << "\n");
  542     errs() << Type << "\n";
lib/Target/Mips/MCTargetDesc/MipsInstPrinter.cpp
   85     O << "\t.set\tpush\n";
   86     O << "\t.set\tmips32r2\n";
   89     O << "\tsave\t";
   91     O << " # 16 bit inst\n";
   94     O << "\tsave\t";
   96     O << "\n";
   99     O << "\trestore\t";
  101     O << " # 16 bit inst\n";
  104     O << "\trestore\t";
  106     O << "\n";
  120     O << "\n\t.set\tpop";
  178   O << "(";
  180   O << ")";
  188   O << ", ";
  195   O << MipsFCCToString((Mips::CondCode)MO.getImm());
  205   OS << "\t" << Str << "\t";
  205   OS << "\t" << Str << "\t";
  205   OS << "\t" << Str << "\t";
  214   OS << ", ";
  270     if (i != 0) O << ", ";
  284       O << ", ";
lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp
   51     OS << "%call_hi";
   54     OS << "%call_lo";
   57     OS << "%dtprel_hi";
   60     OS << "%dtprel_lo";
   63     OS << "%got";
   66     OS << "%gottprel";
   69     OS << "%call16";
   72     OS << "%got_disp";
   75     OS << "%got_hi";
   78     OS << "%got_lo";
   81     OS << "%got_page";
   84     OS << "%got_ofst";
   87     OS << "%gp_rel";
   90     OS << "%hi";
   93     OS << "%higher";
   96     OS << "%highest";
   99     OS << "%lo";
  102     OS << "%neg";
  105     OS << "%pcrel_hi";
  108     OS << "%pcrel_lo";
  111     OS << "%tlsgd";
  114     OS << "%tlsldm";
  117     OS << "%tprel_hi";
  120     OS << "%tprel_lo";
lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
  406   OS << "\t.set\tmicromips\n";
  411   OS << "\t.set\tnomicromips\n";
  416   OS << "\t.set\tmips16\n";
  421   OS << "\t.set\tnomips16\n";
  426   OS << "\t.set\treorder\n";
  431   OS << "\t.set\tnoreorder\n";
  436   OS << "\t.set\tmacro\n";
  441   OS << "\t.set\tnomacro\n";
  446   OS << "\t.set\tmsa\n";
  451   OS << "\t.set\tnomsa\n";
  456   OS << "\t.set\tmt\n";
  461   OS << "\t.set\tnomt\n";
  466   OS << "\t.set\tcrc\n";
  471   OS << "\t.set\tnocrc\n";
  476   OS << "\t.set\tvirt\n";
  481   OS << "\t.set\tnovirt\n";
  486   OS << "\t.set\tginv\n";
  491   OS << "\t.set\tnoginv\n";
  496   OS << "\t.set\tat\n";
  501   OS << "\t.set\tat=$" << Twine(RegNo) << "\n";
  501   OS << "\t.set\tat=$" << Twine(RegNo) << "\n";
  506   OS << "\t.set\tnoat\n";
  511   OS << "\t.end\t" << Name << '\n';
  515   OS << "\t.ent\t" << Symbol.getName() << '\n';
  518 void MipsTargetAsmStreamer::emitDirectiveAbiCalls() { OS << "\t.abicalls\n"; }
  520 void MipsTargetAsmStreamer::emitDirectiveNaN2008() { OS << "\t.nan\t2008\n"; }
  523   OS << "\t.nan\tlegacy\n";
  527   OS << "\t.option\tpic0\n";
  531   OS << "\t.option\tpic2\n";
  536   OS << "\t.insn\n";
  541   OS << "\t.frame\t$"
  542      << StringRef(MipsInstPrinter::getRegisterName(StackReg)).lower() << ","
  543      << StackSize << ",$"
  548   OS << "\t.set arch=" << Arch << "\n";
  548   OS << "\t.set arch=" << Arch << "\n";
  553   OS << "\t.set\tmips0\n";
  558   OS << "\t.set\tmips1\n";
  563   OS << "\t.set\tmips2\n";
  568   OS << "\t.set\tmips3\n";
  573   OS << "\t.set\tmips4\n";
  578   OS << "\t.set\tmips5\n";
  583   OS << "\t.set\tmips32\n";
  588   OS << "\t.set\tmips32r2\n";
  593   OS << "\t.set\tmips32r3\n";
  598   OS << "\t.set\tmips32r5\n";
  603   OS << "\t.set\tmips32r6\n";
  608   OS << "\t.set\tmips64\n";
  613   OS << "\t.set\tmips64r2\n";
  618   OS << "\t.set\tmips64r3\n";
  623   OS << "\t.set\tmips64r5\n";
  628   OS << "\t.set\tmips64r6\n";
  633   OS << "\t.set\tdsp\n";
  638   OS << "\t.set\tdspr2\n";
  643   OS << "\t.set\tnodsp\n";
  648   OS << "\t.set\tpop\n";
  653  OS << "\t.set\tpush\n";
  658   OS << "\t.set\tsoftfloat\n";
  663   OS << "\t.set\thardfloat\n";
  669   OS << "0x";
  676   OS << "\t.mask \t";
  683   OS << "\t.fmask\t";
  685   OS << "," << FPUTopSavedRegOff << '\n';
  689   OS << "\t.cpload\t$"
  690      << StringRef(MipsInstPrinter::getRegisterName(RegNo)).lower() << "\n";
  695   OS << "\t.cplocal\t$"
  696      << StringRef(MipsInstPrinter::getRegisterName(RegNo)).lower() << "\n";
  704   OS << "\t.cprestore\t" << Offset << "\n";
  704   OS << "\t.cprestore\t" << Offset << "\n";
  712   OS << "\t.cpsetup\t$"
  713      << StringRef(MipsInstPrinter::getRegisterName(RegNo)).lower() << ", ";
  716     OS << "$"
  721   OS << ", ";
  729   OS << "\t.cpreturn";
  736     OS << "\t.module\tsoftfloat\n";
  738     OS << "\t.module\tfp=" << ABIFlagsSection.getFpABIString(FpABI) << "\n";
  738     OS << "\t.module\tfp=" << ABIFlagsSection.getFpABIString(FpABI) << "\n";
  745   OS << "\t.set\tfp=";
  746   OS << ABIFlagsSection.getFpABIString(Value) << "\n";
  752   OS << "\t.module\t" << (ABIFlagsSection.OddSPReg ? "" : "no") << "oddspreg\n";
  752   OS << "\t.module\t" << (ABIFlagsSection.OddSPReg ? "" : "no") << "oddspreg\n";
  752   OS << "\t.module\t" << (ABIFlagsSection.OddSPReg ? "" : "no") << "oddspreg\n";
  757   OS << "\t.set\toddspreg\n";
  762   OS << "\t.set\tnooddspreg\n";
  766   OS << "\t.module\tsoftfloat\n";
  770   OS << "\t.module\thardfloat\n";
  774   OS << "\t.module\tmt\n";
  778   OS << "\t.module\tcrc\n";
  782   OS << "\t.module\tnocrc\n";
  786   OS << "\t.module\tvirt\n";
  790   OS << "\t.module\tnovirt\n";
  794   OS << "\t.module\tginv\n";
  798   OS << "\t.module\tnoginv\n";
lib/Target/Mips/MicroMipsSizeReduction.cpp
  700   LLVM_DEBUG(dbgs() << "Converting 32-bit: " << *MI);
  705     LLVM_DEBUG(dbgs() << "       to 16-bit: " << *MI);
  754       LLVM_DEBUG(dbgs() << "and converting 32-bit: " << *MI2
  755                         << "       to: " << *MIB);
  768     LLVM_DEBUG(dbgs() << "       to 16-bit: " << *MIB);
lib/Target/Mips/Mips16HardFloat.cpp
  486   LLVM_DEBUG(errs() << "removing -use-soft-float\n");
  490     LLVM_DEBUG(errs() << "still has -use-soft-float\n");
  514   LLVM_DEBUG(errs() << "Run on Module Mips16HardFloat\n");
lib/Target/Mips/Mips16RegisterInfo.cpp
  129   LLVM_DEBUG(errs() << "Offset     : " << Offset << "\n"
  129   LLVM_DEBUG(errs() << "Offset     : " << Offset << "\n"
  130                     << "<--------->\n");
lib/Target/Mips/MipsAsmPrinter.cpp
  528       O << "0x" << Twine::utohexstr(MO.getImm());
  533       O << "0x" << Twine::utohexstr(MO.getImm() & 0xffff);
  555         O << "$0";
  576           O << '$' << MipsInstPrinter::getRegisterName(Reg);
  602         O << '$' << MipsInstPrinter::getRegisterName(Reg);
  649   O << Offset << "($" << MipsInstPrinter::getRegisterName(BaseMO.getReg())
  649   O << Offset << "($" << MipsInstPrinter::getRegisterName(BaseMO.getReg())
  650     << ")";
  664   case MipsII::MO_GPREL:    O << "%gp_rel("; break;
  665   case MipsII::MO_GOT_CALL: O << "%call16("; break;
  666   case MipsII::MO_GOT:      O << "%got(";    break;
  667   case MipsII::MO_ABS_HI:   O << "%hi(";     break;
  668   case MipsII::MO_ABS_LO:   O << "%lo(";     break;
  669   case MipsII::MO_HIGHER:   O << "%higher("; break;
  670   case MipsII::MO_HIGHEST:  O << "%highest(("; break;
  671   case MipsII::MO_TLSGD:    O << "%tlsgd(";  break;
  672   case MipsII::MO_GOTTPREL: O << "%gottprel("; break;
  673   case MipsII::MO_TPREL_HI: O << "%tprel_hi("; break;
  674   case MipsII::MO_TPREL_LO: O << "%tprel_lo("; break;
  675   case MipsII::MO_GPOFF_HI: O << "%hi(%neg(%gp_rel("; break;
  676   case MipsII::MO_GPOFF_LO: O << "%lo(%neg(%gp_rel("; break;
  677   case MipsII::MO_GOT_DISP: O << "%got_disp("; break;
  678   case MipsII::MO_GOT_PAGE: O << "%got_page("; break;
  679   case MipsII::MO_GOT_OFST: O << "%got_ofst("; break;
  707       O << getDataLayout().getPrivateGlobalPrefix() << "CPI"
  708         << getFunctionNumber() << "_" << MO.getIndex();
  710         O << "+" << MO.getOffset();
  717   if (closeP) O << ")";
  738   O << "(";
  740   O << ")";
  748   O << ", ";
  756   O << Mips::MipsFCCToString((Mips::CondCode)MO.getImm());
  762     if (i != opNum) O << ", ";
lib/Target/Mips/MipsConstantIslandPass.cpp
  440   LLVM_DEBUG(dbgs() << "constant island machine function "
  441                     << "\n");
  447   LLVM_DEBUG(dbgs() << "constant island processing "
  448                     << "\n");
  489     LLVM_DEBUG(dbgs() << "Beginning CP iteration #" << NoCPIters << '\n');
  501     LLVM_DEBUG(dbgs() << "Beginning BR iteration #" << NoBRIters << '\n');
  581     LLVM_DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
  581     LLVM_DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
  582                       << Size << ", align = " << Align << '\n');
  984       dbgs() << "User of CPE#" << CPEMI->getOperand(0).getImm()
  985              << " max delta=" << MaxDisp
  986              << format(" insn address=%#x", UserOffset) << " in "
  987              << printMBBReference(*MI->getParent()) << ": "
 1054     LLVM_DEBUG(dbgs() << "In range\n");
 1070       LLVM_DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#"
 1070       LLVM_DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#"
 1071                         << CPEs[i].CPI << "\n");
 1108     LLVM_DEBUG(dbgs() << "In range\n");
 1126       LLVM_DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#"
 1126       LLVM_DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#"
 1127                         << CPEs[i].CPI << "\n");
 1192       LLVM_DEBUG(dbgs() << "Found water after " << printMBBReference(*WaterBB)
 1193                         << " Growth=" << Growth << '\n');
 1230       LLVM_DEBUG(dbgs() << "Split at end of " << printMBBReference(*UserMBB)
 1265                     << " la=" << Log2(Align) << '\n');
 1329     LLVM_DEBUG(dbgs() << "Found water in range\n");
 1348     LLVM_DEBUG(dbgs() << "No water found\n");
 1408       dbgs() << "  Moved CPE to #" << ID << " CPI=" << CPI
 1408       dbgs() << "  Moved CPE to #" << ID << " CPI=" << CPI
 1465   LLVM_DEBUG(dbgs() << "Branch of destination " << printMBBReference(*DestBB)
 1466                     << " from " << printMBBReference(*MI->getParent())
 1467                     << " max delta=" << MaxDisp << " from " << getOffsetOf(MI)
 1467                     << " max delta=" << MaxDisp << " from " << getOffsetOf(MI)
 1468                     << " to " << DestOffset << " offset "
 1468                     << " to " << DestOffset << " offset "
 1469                     << int(DestOffset - BrOffset) << "\t" << *MI);
 1534   LLVM_DEBUG(dbgs() << "  Changed B to long jump " << *MI);
 1590             dbgs() << "  Invert Bcc condition and swap its destination with "
 1611   LLVM_DEBUG(dbgs() << "  Insert B to " << printMBBReference(*DestBB)
 1612                     << " also invert condition and change dest. to "
 1613                     << printMBBReference(*NextBB) << "\n");
 1649           LLVM_DEBUG(dbgs() << "constant island constant " << *I << "\n");
 1649           LLVM_DEBUG(dbgs() << "constant island constant " << *I << "\n");
 1651           LLVM_DEBUG(dbgs() << "num operands " << J << "\n");
 1651           LLVM_DEBUG(dbgs() << "num operands " << J << "\n");
 1655             LLVM_DEBUG(dbgs() << "literal " << V << "\n");
 1655             LLVM_DEBUG(dbgs() << "literal " << V << "\n");
 1661             LLVM_DEBUG(dbgs() << "constant island constant " << *I << "\n");
 1661             LLVM_DEBUG(dbgs() << "constant island constant " << *I << "\n");
lib/Target/Mips/MipsFastISel.cpp
 1021   LLVM_DEBUG(dbgs() << "selectSelect\n");
 1026         dbgs() << ".. .. gave up (!isTypeSupported || UnsupportedFPMode)\n");
 1315   LLVM_DEBUG(dbgs() << "fastLowerArguments\n");
 1318     LLVM_DEBUG(dbgs() << ".. gave up (!CanLowerReturn)\n");
 1324     LLVM_DEBUG(dbgs() << ".. gave up (varargs)\n");
 1330     LLVM_DEBUG(dbgs() << ".. gave up (calling convention is not C)\n");
 1356       LLVM_DEBUG(dbgs() << ".. gave up (inreg, structret, byval)\n");
 1362       LLVM_DEBUG(dbgs() << ".. gave up (struct, array, or vector)\n");
 1367     LLVM_DEBUG(dbgs() << ".. " << FormalArg.getArgNo() << ": "
 1367     LLVM_DEBUG(dbgs() << ".. " << FormalArg.getArgNo() << ": "
 1368                       << ArgVT.getEVTString() << "\n");
 1370       LLVM_DEBUG(dbgs() << ".. .. gave up (not a simple type)\n");
 1382         LLVM_DEBUG(dbgs() << ".. .. gave up (i8/i16 arg is not extended)\n");
 1387         LLVM_DEBUG(dbgs() << ".. .. gave up (ran out of GPR32 arguments)\n");
 1391       LLVM_DEBUG(dbgs() << ".. .. GPR32(" << *NextGPR32 << ")\n");
 1391       LLVM_DEBUG(dbgs() << ".. .. GPR32(" << *NextGPR32 << ")\n");
 1402         LLVM_DEBUG(dbgs() << ".. .. gave up (i32 arg is zero extended)\n");
 1407         LLVM_DEBUG(dbgs() << ".. .. gave up (ran out of GPR32 arguments)\n");
 1411       LLVM_DEBUG(dbgs() << ".. .. GPR32(" << *NextGPR32 << ")\n");
 1411       LLVM_DEBUG(dbgs() << ".. .. GPR32(" << *NextGPR32 << ")\n");
 1421         LLVM_DEBUG(dbgs() << ".. .. gave up (UnsupportedFPMode)\n");
 1425         LLVM_DEBUG(dbgs() << ".. .. gave up (ran out of FGR32 arguments)\n");
 1428       LLVM_DEBUG(dbgs() << ".. .. FGR32(" << *NextFGR32 << ")\n");
 1428       LLVM_DEBUG(dbgs() << ".. .. FGR32(" << *NextFGR32 << ")\n");
 1440         LLVM_DEBUG(dbgs() << ".. .. gave up (UnsupportedFPMode)\n");
 1444         LLVM_DEBUG(dbgs() << ".. .. gave up (ran out of AFGR64 arguments)\n");
 1447       LLVM_DEBUG(dbgs() << ".. .. AFGR64(" << *NextAFGR64 << ")\n");
 1447       LLVM_DEBUG(dbgs() << ".. .. AFGR64(" << *NextAFGR64 << ")\n");
 1460       LLVM_DEBUG(dbgs() << ".. .. gave up (unknown type)\n");
 1685   LLVM_DEBUG(dbgs() << "selectRet\n");
 1749       LLVM_DEBUG(dbgs() << ".. .. gave up (UnsupportedFPMode\n");
lib/Target/Mips/MipsISelDAGToDAG.cpp
  272     LLVM_DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n");
  272     LLVM_DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n");
lib/Target/Mips/MipsInstructionSelector.cpp
  106     LLVM_DEBUG(dbgs() << "Failed to constrain " << TII.getName(I.getOpcode())
  107                       << " operand\n");
lib/Target/Mips/MipsModuleISelDAGToDAG.cpp
   47   LLVM_DEBUG(errs() << "In MipsModuleDAGToDAGISel::runMachineFunction\n");
lib/Target/Mips/MipsOs16.cpp
   98         LLVM_DEBUG(dbgs() << "Working on call"
   99                           << "\n");
  113   LLVM_DEBUG(dbgs() << "Run on Module MipsOs16 \n"
  114                     << Mips32FunctionMask << "\n");
  116     LLVM_DEBUG(dbgs() << "using mask \n" << Mips32FunctionMask << "\n");
  116     LLVM_DEBUG(dbgs() << "using mask \n" << Mips32FunctionMask << "\n");
  125     LLVM_DEBUG(dbgs() << "Working on " << F.getName() << "\n");
  125     LLVM_DEBUG(dbgs() << "Working on " << F.getName() << "\n");
  132           LLVM_DEBUG(dbgs() << "mask forced mips32: " << F.getName() << "\n");
  132           LLVM_DEBUG(dbgs() << "mask forced mips32: " << F.getName() << "\n");
  146         LLVM_DEBUG(dbgs() << "os16 forced mips32: " << F.getName() << "\n");
  146         LLVM_DEBUG(dbgs() << "os16 forced mips32: " << F.getName() << "\n");
  150         LLVM_DEBUG(dbgs() << "os16 forced mips16: " << F.getName() << "\n");
  150         LLVM_DEBUG(dbgs() << "os16 forced mips16: " << F.getName() << "\n");
lib/Target/Mips/MipsRegisterInfo.cpp
  262   LLVM_DEBUG(errs() << "\nFunction : " << MF.getName() << "\n";
  262   LLVM_DEBUG(errs() << "\nFunction : " << MF.getName() << "\n";
  263              errs() << "<--------->\n"
  270   LLVM_DEBUG(errs() << "FrameIndex : " << FrameIndex << "\n"
  270   LLVM_DEBUG(errs() << "FrameIndex : " << FrameIndex << "\n"
  271                     << "spOffset   : " << spOffset << "\n"
  271                     << "spOffset   : " << spOffset << "\n"
  272                     << "stackSize  : " << stackSize << "\n"
  272                     << "stackSize  : " << stackSize << "\n"
  273                     << "alignment  : "
  275                     << "\n");
lib/Target/Mips/MipsSEISelLowering.cpp
 1056     LLVM_DEBUG(dbgs() << "\nMipsSE DAG Combine:\n";
 1057                N->printrWithDepth(dbgs(), &DAG); dbgs() << "\n=> \n";
 1058                Val.getNode()->printrWithDepth(dbgs(), &DAG); dbgs() << "\n");
lib/Target/Mips/MipsSERegisterInfo.cpp
  206   LLVM_DEBUG(errs() << "Offset     : " << Offset << "\n"
  206   LLVM_DEBUG(errs() << "Offset     : " << Offset << "\n"
  207                     << "<--------->\n");
lib/Target/Mips/MipsSubtarget.cpp
  160     errs() << "warning: cannot use small-data accesses for '-mabicalls'"
  161            << "\n";
  167       errs() << "warning: the 'dspr2' ASE requires MIPS64 revision 2 or "
  168              << "greater\n";
  171       errs() << "warning: the 'dspr2' ASE requires MIPS32 revision 2 or "
  172              << "greater\n";
  177       errs() << "warning: the 'dsp' ASE requires MIPS64 revision 2 or "
  178              << "greater\n";
  181       errs() << "warning: the 'dsp' ASE requires MIPS32 revision 2 or "
  182              << "greater\n";
  190     errs() << "warning: the 'msa' ASE requires " << ArchName
  191            << " revision 5 or greater\n";
  195     errs() << "warning: the 'virt' ASE requires " << ArchName
  196            << " revision 5 or greater\n";
  200     errs() << "warning: the 'crc' ASE requires " << ArchName
  201            << " revision 6 or greater\n";
  205     errs() << "warning: the 'ginv' ASE requires " << ArchName
  206            << " revision 6 or greater\n";
  262   LLVM_DEBUG(dbgs() << "use constant islands " << Mips16ConstantIslands
  263                     << "\n");
lib/Target/Mips/MipsTargetMachine.cpp
  210   LLVM_DEBUG(dbgs() << "resetSubtarget\n");
  284     LLVM_DEBUG(errs() << "No Target Transform Info Pass Added\n");
  289   LLVM_DEBUG(errs() << "Target Transform Info Pass Added\n");
lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
   43     OS << getRegisterName(RegNo);
   46     OS << "%p";
   49     OS << "%rs";
   52     OS << "%r";
   55     OS << "%rd";
   58     OS << "%f";
   61     OS << "%fd";
   64     OS << "%h";
   67     OS << "%hh";
  105       O << ".ftz";
  109       O << ".sat";
  118       O << ".rni";
  121       O << ".rzi";
  124       O << ".rmi";
  127       O << ".rpi";
  130       O << ".rn";
  133       O << ".rz";
  136       O << ".rm";
  139       O << ".rp";
  155       O << ".ftz";
  161       O << ".eq";
  164       O << ".ne";
  167       O << ".lt";
  170       O << ".le";
  173       O << ".gt";
  176       O << ".ge";
  179       O << ".lo";
  182       O << ".ls";
  185       O << ".hi";
  188       O << ".hs";
  191       O << ".equ";
  194       O << ".neu";
  197       O << ".ltu";
  200       O << ".leu";
  203       O << ".gtu";
  206       O << ".geu";
  209       O << ".num";
  212       O << ".nan";
  227         O << ".volatile";
  231         O << ".global";
  234         O << ".shared";
  237         O << ".local";
  240         O << ".param";
  243         O << ".const";
  252         O << "s";
  254         O << "u";
  256         O << "b";
  258         O << "f";
  263         O << ".v2";
  265         O << ".v4";
  281       O << ".aligned";
  291     O << ", ";
  297     O << "+";
lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
   91     OS << "\t}\n";
   95     OS << "\t.section";
   99     OS << "\t{\n";
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  343   O << " (";
  360       O << ".param .b" << size << " func_retval0";
  360       O << ".param .b" << size << " func_retval0";
  362       O << ".param .b" << TLI->getPointerTy(DL).getSizeInBits()
  363         << " func_retval0";
  369       O << ".param .align " << retAlignment << " .b8 func_retval0[" << totalsz
  369       O << ".param .align " << retAlignment << " .b8 func_retval0[" << totalsz
  370         << "]";
  389         O << ".reg .b" << sz << " func_retval" << idx;
  389         O << ".reg .b" << sz << " func_retval" << idx;
  391           O << ", ";
  395         O << ", ";
  398   O << ") ";
  457     O << ".entry ";
  459     O << ".func ";
  505     raw_svector_ostream(Str) << DEPOTNAME << getFunctionNumber();
  543     O << ".reqntid " << reqntidx << ", " << reqntidy << ", " << reqntidz
  543     O << ".reqntid " << reqntidx << ", " << reqntidy << ", " << reqntidz
  543     O << ".reqntid " << reqntidx << ", " << reqntidy << ", " << reqntidz
  544       << "\n";
  565     O << ".maxntid " << maxntidx << ", " << maxntidy << ", " << maxntidz
  565     O << ".maxntid " << maxntidx << ", " << maxntidy << ", " << maxntidz
  565     O << ".maxntid " << maxntidx << ", " << maxntidy << ", " << maxntidz
  566       << "\n";
  570     O << ".minnctapersm " << mincta << "\n";
  570     O << ".minnctapersm " << mincta << "\n";
  574     O << ".maxnreg " << maxnreg << "\n";
  574     O << ".maxnreg " << maxnreg << "\n";
  606     O << ".entry ";
  608     O << ".func ";
  611   O << "\n";
  613   O << ";\n";
  846   O << "//\n";
  847   O << "// Generated by LLVM NVPTX Back-End\n";
  848   O << "//\n";
  849   O << "\n";
  852   O << ".version " << (PTXVersion / 10) << "." << (PTXVersion % 10) << "\n";
  852   O << ".version " << (PTXVersion / 10) << "." << (PTXVersion % 10) << "\n";
  852   O << ".version " << (PTXVersion / 10) << "." << (PTXVersion % 10) << "\n";
  854   O << ".target ";
  859     O << ", texmode_independent";
  876     O << ", debug";
  878   O << "\n";
  880   O << ".address_size ";
  882     O << "64";
  884     O << "32";
  885   O << "\n";
  887   O << "\n";
  972             O << ".visible ";
  974             O << ".extern ";
  977         O << ".extern ";
  979         O << ".visible ";
  990       O << ".weak ";
 1017       O << ".visible ";
 1019       O << ".extern ";
 1023     O << ".weak ";
 1027     O << ".global .texref " << getTextureName(*GVar) << ";\n";
 1027     O << ".global .texref " << getTextureName(*GVar) << ";\n";
 1032     O << ".global .surfref " << getSurfaceName(*GVar) << ";\n";
 1032     O << ".global .surfref " << getSurfaceName(*GVar) << ";\n";
 1041     O << ";\n";
 1046     O << ".global .samplerref " << getSamplerName(*GVar);
 1057       O << " = { ";
 1062         O << "addr_mode_" << i << " = ";
 1062         O << "addr_mode_" << i << " = ";
 1065           O << "wrap";
 1068           O << "clamp_to_border";
 1071           O << "clamp_to_edge";
 1074           O << "wrap";
 1077           O << "mirror";
 1080         O << ", ";
 1082       O << "filter_mode = ";
 1085         O << "nearest";
 1088         O << "linear";
 1093         O << "nearest";
 1097         O << ", force_unnormalized_coords = 1";
 1099       O << " }";
 1102     O << ";\n";
 1119     O << "// " << GVar->getName() << " has been demoted\n";
 1119     O << "// " << GVar->getName() << " has been demoted\n";
 1130   O << ".";
 1134     O << " .attribute(.managed)";
 1138     O << " .align " << (int)DL.getPrefTypeAlignment(ETy);
 1140     O << " .align " << GVar->getAlignment();
 1144     O << " .";
 1147       O << "u8";
 1150     O << " ";
 1161           O << " = ";
 1200               O << " .u64 ";
 1202               O << "[";
 1205               O << " .u32 ";
 1207               O << "[";
 1210             O << "]";
 1212             O << " .b8 ";
 1214             O << "[";
 1216             O << "]";
 1218           O << " = {";
 1220           O << "}";
 1222           O << " .b8 ";
 1225             O << "[";
 1227             O << "]";
 1231         O << " .b8 ";
 1234           O << "[";
 1236           O << "]";
 1244   O << ";\n";
 1254     O << "\t// demoted variable\n\t";
 1263     O << "local";
 1266     O << "global";
 1269     O << "const";
 1272     O << "shared";
 1329   O << ".";
 1332     O << " .align " << (int)DL.getPrefTypeAlignment(ETy);
 1334     O << " .align " << GVar->getAlignment();
 1338     O << " .b8 ";
 1340     O << "[16]";
 1345     O << " .";
 1347     O << " ";
 1363     O << " .b8 ";
 1365     O << "[";
 1369     O << "]";
 1407   O << "_param_" << paramIndex;
 1424     O << "()\n";
 1428   O << "(\n";
 1434       O << ",\n";
 1445               O << "\t.param .u64 .ptr .surfref ";
 1447               O << "\t.param .surfref ";
 1449             O << "_param_" << paramIndex;
 1453               O << "\t.param .u64 .ptr .texref ";
 1455               O << "\t.param .texref ";
 1457             O << "_param_" << paramIndex;
 1461             O << "\t.param .u64 .ptr .samplerref ";
 1463             O << "\t.param .samplerref ";
 1465           O << "_param_" << paramIndex;
 1480         O << "\t.param .align " << align.value() << " .b8 ";
 1480         O << "\t.param .align " << align.value() << " .b8 ";
 1482         O << "[" << sz << "]";
 1482         O << "[" << sz << "]";
 1491           O << "\t.param .u" << thePointerTy.getSizeInBits() << " ";
 1491           O << "\t.param .u" << thePointerTy.getSizeInBits() << " ";
 1499               O << ".ptr ";
 1502               O << ".ptr .const ";
 1505               O << ".ptr .shared ";
 1508               O << ".ptr .global ";
 1511             O << ".align " << (int)getOpenCLAlignment(DL, ETy) << " ";
 1511             O << ".align " << (int)getOpenCLAlignment(DL, ETy) << " ";
 1518         O << "\t.param .";
 1521           O << "u8";
 1524         O << " ";
 1545         O << "\t.param .b" << sz << " ";
 1545         O << "\t.param .b" << sz << " ";
 1547         O << "\t.reg .b" << sz << " ";
 1547         O << "\t.reg .b" << sz << " ";
 1577       O << "\t.param .align " << align.value() << " .b8 ";
 1577       O << "\t.param .align " << align.value() << " .b8 ";
 1579       O << "[" << sz << "]";
 1579       O << "[" << sz << "]";
 1600           O << "\t.reg .b" << sz << " ";
 1600           O << "\t.reg .b" << sz << " ";
 1603             O << ",\n";
 1607           O << ",\n";
 1614   O << "\n)\n";
 1637     O << "\t.local .align " << MFI.getMaxAlignment() << " .b8 \t" << DEPOTNAME
 1637     O << "\t.local .align " << MFI.getMaxAlignment() << " .b8 \t" << DEPOTNAME
 1637     O << "\t.local .align " << MFI.getMaxAlignment() << " .b8 \t" << DEPOTNAME
 1638       << getFunctionNumber() << "[" << NumBytes << "];\n";
 1638       << getFunctionNumber() << "[" << NumBytes << "];\n";
 1640       O << "\t.reg .b64 \t%SP;\n";
 1641       O << "\t.reg .b64 \t%SPL;\n";
 1643       O << "\t.reg .b32 \t%SP;\n";
 1644       O << "\t.reg .b32 \t%SPL;\n";
 1682        O << "\t.reg " << rcname << " \t" << rcStr << "<" << (n+1)
 1682        O << "\t.reg " << rcname << " \t" << rcStr << "<" << (n+1)
 1682        O << "\t.reg " << rcname << " \t" << rcStr << "<" << (n+1)
 1683          << ">;\n";
 1708   O << lead << format_hex_no_prefix(API.getZExtValue(), numHex, /*Upper=*/true);
 1721     O << "0";
 1730       O << "generic(";
 1732       O << ")";
 1747         O << "generic(";
 1749         O << ")";
 2008       OS << "Unsupported expression in static initializer: ";
 2022     OS << "Unsupported expression in static initializer: ";
 2215         O << DEPOTNAME << getFunctionNumber();
 2217         O << NVPTXInstPrinter::getRegisterName(MO.getReg());
 2249     O << ", ";
 2255     O << "+";
lib/Target/NVPTX/NVPTXAsmPrinter.h
  144             O << ", ";
  157             O << ", ";
  169                 O << "generic(";
  171                 O << ")";
lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp
   78       ValidNameStream << "_$_";
lib/Target/NVPTX/NVPTXISelLowering.cpp
 2430   ParamStr << DAG.getMachineFunction().getName() << "_param_" << idx;
lib/Target/NVPTX/NVPTXMCExpr.cpp
   33     OS << "0x";
   38     OS << "0f";
   43     OS << "0d";
   61   OS << "generic(";
   63   OS << ")";
lib/Target/NVPTX/NVPTXPrologEpilogPass.cpp
  118     LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset
  118     LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset
  119                       << "]\n");
  122     LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset
  122     LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset
  123                       << "]\n");
  186     LLVM_DEBUG(dbgs() << "Local frame base offset: " << Offset << "\n");
  186     LLVM_DEBUG(dbgs() << "Local frame base offset: " << Offset << "\n");
  192       LLVM_DEBUG(dbgs() << "alloc FI(" << Entry.first << ") at SP[" << FIOffset
  192       LLVM_DEBUG(dbgs() << "alloc FI(" << Entry.first << ") at SP[" << FIOffset
  193                         << "]\n");
lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp
  161     NewSymStr << MF.getName() << "_param_" << Param;
lib/Target/NVPTX/NVVMReflect.cpp
  159     LLVM_DEBUG(dbgs() << "Arg of _reflect : " << ReflectArg << "\n");
  159     LLVM_DEBUG(dbgs() << "Arg of _reflect : " << ReflectArg << "\n");
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
  674     OS << "'" << getToken() << "'";
  674     OS << "'" << getToken() << "'";
lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
   64   OS << RegName;
   84     O << "\taddis ";
   86     O << ", ";
   88     O << "(";
   90     O << ")";
  101       O << "\tslwi "; useSubstituteMnemonic = true;
  104       O << "\tsrwi "; useSubstituteMnemonic = true;
  109       O << ", ";
  111       O << ", " << (unsigned int)SH;
  120     O << "\tmr ";
  122     O << ", ";
  134       O << "\tsldi ";
  136       O << ", ";
  138       O << ", " << (unsigned int)SH;
  154     O << "\tdcbt";
  156       O << "st";
  158       O << "t";
  159     O << " ";
  163       O << (unsigned int) TH << ", ";
  166     O << ", ";
  170       O << ", " << (unsigned int) TH;
  179       O << "\tdcbf";
  181         O << "l";
  183         O << "p";
  184       O << " ";
  187       O << ", ";
  211       O << "lt";
  216       O << "le";
  221       O << "eq";
  226       O << "ge";
  231       O << "gt";
  236       O << "ne";
  241       O << "un";
  246       O << "nu";
  274       O << "-";
  284       O << "+";
  302     O << "-";
  304     O << "+";
  409   O << ".";
  412     O << "+";
  448     O << "0";
  460     O << "0";
  463   O << ", ";
  552       O << "%";
  556     O << RegName;
lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
   30     case VK_PPC_LO: OS << "lo16"; break;
   31     case VK_PPC_HI: OS << "hi16"; break;
   32     case VK_PPC_HA: OS << "ha16"; break;
   43     case VK_PPC_LO: OS << "@l"; break;
   44     case VK_PPC_HI: OS << "@h"; break;
   45     case VK_PPC_HA: OS << "@ha"; break;
   46     case VK_PPC_HIGH: OS << "@high"; break;
   47     case VK_PPC_HIGHA: OS << "@higha"; break;
   48     case VK_PPC_HIGHER: OS << "@higher"; break;
   49     case VK_PPC_HIGHERA: OS << "@highera"; break;
   50     case VK_PPC_HIGHEST: OS << "@highest"; break;
   51     case VK_PPC_HIGHESTA: OS << "@highesta"; break;
lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
  111     OS << "\t.tc ";
  113     OS << "[TC],";
  119     OS << "\t.machine " << CPU << '\n';
  123     OS << "\t.abiversion " << AbiVersion << '\n';
  129     OS << "\t.localentry\t";
  131     OS << ", ";
lib/Target/PowerPC/PPCAsmPrinter.cpp
  219     O << RegName;
  230     O << DL.getPrivateGlobalPrefix() << "CPI" << getFunctionNumber() << '_'
  242     O << "<unknown operand type: " << (unsigned)MO.getType() << ">";
  242     O << "<unknown operand type: " << (unsigned)MO.getType() << ">";
  271         O << "i";
  286       O << RegName;
  312         O << RegName << ", ";
  312         O << RegName << ", ";
  332   O << "0(";
  334   O << ")";
lib/Target/PowerPC/PPCBranchCoalescing.cpp
  234   LLVM_DEBUG(dbgs() << "Determine if branch block "
  235                     << Cand.BranchBlock->getNumber() << " can be coalesced:");
  240     LLVM_DEBUG(dbgs() << "TII unable to Analyze Branch - skip\n");
  245     LLVM_DEBUG(dbgs() << "Looking at terminator : " << I << "\n");
  245     LLVM_DEBUG(dbgs() << "Looking at terminator : " << I << "\n");
  263       LLVM_DEBUG(dbgs() << "Terminator contains implicit operands - skip : "
  264                         << I << "\n");
  270     LLVM_DEBUG(dbgs() << "EH Pad - skip\n");
  278     LLVM_DEBUG(dbgs() << "Does not form a triangle - skip\n");
  284     LLVM_DEBUG(dbgs() << "Does not have 2 successors - skip\n");
  303     LLVM_DEBUG(dbgs() << "Fall-through block contains code -- skip\n");
  310         << "Successor of fall through block is not branch taken block\n");
  315   LLVM_DEBUG(dbgs() << "Valid Candidate\n");
  330     LLVM_DEBUG(dbgs() << "Operand list is different size\n");
  338     LLVM_DEBUG(dbgs() << "Op1: " << Op1 << "\n"
  338     LLVM_DEBUG(dbgs() << "Op1: " << Op1 << "\n"
  339                       << "Op2: " << Op2 << "\n");
  339                       << "Op2: " << Op2 << "\n");
  348         LLVM_DEBUG(dbgs() << "The operands are not provably identical.\n");
  351       LLVM_DEBUG(dbgs() << "Op1 and Op2 are identical!\n");
  364         LLVM_DEBUG(dbgs() << "Op1Def: " << *Op1Def << " and " << *Op2Def
  364         LLVM_DEBUG(dbgs() << "Op1Def: " << *Op1Def << " and " << *Op2Def
  365                           << " produce the same value!\n");
  367         LLVM_DEBUG(dbgs() << "Operands produce different values\n");
  371       LLVM_DEBUG(dbgs() << "The operands are not provably identical.\n");
  395     LLVM_DEBUG(dbgs() << "SourceMBB contains no PHI instructions.\n");
  425   LLVM_DEBUG(dbgs() << "Checking if " << MI << " can move to beginning of "
  425   LLVM_DEBUG(dbgs() << "Checking if " << MI << " can move to beginning of "
  426                     << TargetMBB.getNumber() << "\n");
  431         LLVM_DEBUG(dbgs() << "    *** used in a PHI -- cannot move ***\n");
  437   LLVM_DEBUG(dbgs() << "  Safe to move to the beginning.\n");
  456   LLVM_DEBUG(dbgs() << "Checking if " << MI << " can move to end of "
  456   LLVM_DEBUG(dbgs() << "Checking if " << MI << " can move to end of "
  457                     << TargetMBB.getNumber() << "\n");
  463         LLVM_DEBUG(dbgs() << "    *** Cannot move this instruction ***\n");
  467             dbgs() << "    *** def is in another block -- safe to move!\n");
  472   LLVM_DEBUG(dbgs() << "  Safe to move to the end.\n");
  543                      << "PHI " << *I
  544                      << " defines register used in another "
  550           LLVM_DEBUG(dbgs() << "PHI " << *I
  551                             << " defines register used in this "
  565       LLVM_DEBUG(dbgs() << "Instruction " << *I
  566                         << " cannot move down - must move up!\n");
  570       LLVM_DEBUG(dbgs() << "Instruction " << *I
  571                         << " cannot move up - must move down!\n");
  722   LLVM_DEBUG(dbgs() << "******** Branch Coalescing ********\n");
  725   LLVM_DEBUG(dbgs() << "Function: "; MF.dump(); dbgs() << "\n");
  725   LLVM_DEBUG(dbgs() << "Function: "; MF.dump(); dbgs() << "\n");
  755         LLVM_DEBUG(dbgs() << "Blocks " << Cand1.BranchBlock->getNumber()
  756                           << " and " << Cand2.BranchBlock->getNumber()
  757                           << " have different branches\n");
  761         LLVM_DEBUG(dbgs() << "Cannot merge blocks "
  762                           << Cand1.BranchBlock->getNumber() << " and "
  763                           << Cand2.BranchBlock->getNumber() << "\n");
  767       LLVM_DEBUG(dbgs() << "Merging blocks " << Cand1.BranchBlock->getNumber()
  768                         << " and " << Cand1.BranchTargetBlock->getNumber()
  769                         << "\n");
  774       LLVM_DEBUG(dbgs() << "Function after merging: "; MF.dump();
  775                  dbgs() << "\n");
  785   LLVM_DEBUG(dbgs() << "Finished Branch Coalescing\n");
lib/Target/PowerPC/PPCCTRLoops.cpp
  155       LLVM_DEBUG(dbgs() << printMBBReference(*MBB) << " (" << MBB->getFullName()
  156                         << ") instruction " << *I
  157                         << " clobbers CTR, invalidating "
  158                         << printMBBReference(*BI->getParent()) << " ("
  159                         << BI->getParent()->getFullName() << ") instruction "
  160                         << *BI << "\n");
  174       LLVM_DEBUG(dbgs() << "Unable to find a MTCTR instruction for "
  175                         << printMBBReference(*BI->getParent()) << " ("
  176                         << BI->getParent()->getFullName() << ") instruction "
  177                         << *BI << "\n");
lib/Target/PowerPC/PPCExpandISEL.cpp
  128     LLVM_DEBUG(dbgs() << "Function: "; MF.dump(); dbgs() << "\n");
  128     LLVM_DEBUG(dbgs() << "Function: "; MF.dump(); dbgs() << "\n");
  132       LLVM_DEBUG(dbgs() << "No ISEL instructions in this function\n");
  173                       << ":\n");
  175       LLVM_DEBUG(dbgs() << "    "; VI->print(dbgs()));
  196         dbgs() << "Expanding ISEL instructions in "
  198                << "\n");
  214         LLVM_DEBUG(dbgs() << "Remove redundant ISEL instruction: " << **I
  215                           << "\n");
  229             dbgs() << "Fold the ISEL instruction to an unconditional copy:\n");
  230         LLVM_DEBUG(dbgs() << "ISEL: " << **I << "\n");
  230         LLVM_DEBUG(dbgs() << "ISEL: " << **I << "\n");
  241         LLVM_DEBUG(dbgs() << "Expand ISEL instructions:\n");
  242         LLVM_DEBUG(dbgs() << "ISEL: " << **I << "\n");
  242         LLVM_DEBUG(dbgs() << "ISEL: " << **I << "\n");
  250           LLVM_DEBUG(dbgs() << "ISEL: " << **I << "\n");
  250           LLVM_DEBUG(dbgs() << "ISEL: " << **I << "\n");
  270     LLVM_DEBUG(dbgs() << "ISEL: " << **MI << "\n");
  270     LLVM_DEBUG(dbgs() << "ISEL: " << **MI << "\n");
  287       LLVM_DEBUG(dbgs() << "Remove redundant ISEL instruction.");
  307           dbgs() << "Fold the ISEL instruction to an unconditional copy.");
  446     LLVM_DEBUG(dbgs() << "Dest: " << Dest << "\n");
  446     LLVM_DEBUG(dbgs() << "Dest: " << Dest << "\n");
  447     LLVM_DEBUG(dbgs() << "TrueValue: " << TrueValue << "\n");
  447     LLVM_DEBUG(dbgs() << "TrueValue: " << TrueValue << "\n");
  448     LLVM_DEBUG(dbgs() << "FalseValue: " << FalseValue << "\n");
  448     LLVM_DEBUG(dbgs() << "FalseValue: " << FalseValue << "\n");
  449     LLVM_DEBUG(dbgs() << "ConditionRegister: " << ConditionRegister << "\n");
  449     LLVM_DEBUG(dbgs() << "ConditionRegister: " << ConditionRegister << "\n");
lib/Target/PowerPC/PPCHazardRecognizers.cpp
  181       LLVM_DEBUG(dbgs() << "**** Adding to dispatch group: ");
  268   LLVM_DEBUG(errs() << "=== Start of dispatch group\n");
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  309         errs() << "ConstraintID: " << ConstraintID << "\n";
  309         errs() << "ConstraintID: " << ConstraintID << "\n";
  550   LLVM_DEBUG(dbgs() << "Use branch hint for '" << FuncInfo->Fn->getName()
  551                     << "::" << BB->getName() << "'\n"
  551                     << "::" << BB->getName() << "'\n"
  552                     << " -> " << TBB->getName() << ": " << TProb << "\n"
  552                     << " -> " << TBB->getName() << ": " << TProb << "\n"
  552                     << " -> " << TBB->getName() << ": " << TProb << "\n"
  553                     << " -> " << FBB->getName() << ": " << FProb << "\n");
  553                     << " -> " << FBB->getName() << ": " << FProb << "\n");
  553                     << " -> " << FBB->getName() << ": " << FProb << "\n");
 1166       LLVM_DEBUG(dbgs() << "\tbit group for " << V.getNode() << " RLAmt = " << R
 1166       LLVM_DEBUG(dbgs() << "\tbit group for " << V.getNode() << " RLAmt = " << R
 1167                         << " [" << S << ", " << E << "]\n");
 1167                         << " [" << S << ", " << E << "]\n");
 1167                         << " [" << S << ", " << E << "]\n");
 1517         LLVM_DEBUG(dbgs() << "\tcombining final bit group with initial one\n");
 1620           LLVM_DEBUG(dbgs() << "\t32-bit replicated bit group for "
 1621                             << BG.V.getNode() << " RLAmt = " << BG.RLAmt << " ["
 1621                             << BG.V.getNode() << " RLAmt = " << BG.RLAmt << " ["
 1622                             << BG.StartIdx << ", " << BG.EndIdx << "]\n");
 1622                             << BG.StartIdx << ", " << BG.EndIdx << "]\n");
 1636         LLVM_DEBUG(dbgs() << "\tcombining 32-bit replicated bit group for "
 1637                           << I->V.getNode() << " RLAmt = " << I->RLAmt << " ["
 1637                           << I->V.getNode() << " RLAmt = " << I->RLAmt << " ["
 1638                           << I->StartIdx << ", " << I->EndIdx
 1639                           << "] with group with range [" << IP->StartIdx << ", "
 1639                           << "] with group with range [" << IP->StartIdx << ", "
 1640                           << IP->EndIdx << "]\n");
 1664             LLVM_DEBUG(dbgs() << "\tcombining bit group for " << I->V.getNode()
 1665                               << " RLAmt = " << I->RLAmt << " [" << I->StartIdx
 1665                               << " RLAmt = " << I->RLAmt << " [" << I->StartIdx
 1666                               << ", " << I->EndIdx
 1667                               << "] with 32-bit replicated groups with ranges ["
 1668                               << IP->StartIdx << ", " << IP->EndIdx << "] and ["
 1668                               << IP->StartIdx << ", " << IP->EndIdx << "] and ["
 1669                               << IN->StartIdx << ", " << IN->EndIdx << "]\n");
 1669                               << IN->StartIdx << ", " << IN->EndIdx << "]\n");
 1789       LLVM_DEBUG(dbgs() << "\t\trotation groups for " << VRI.V.getNode()
 1790                         << " RL: " << VRI.RLAmt << ":"
 1790                         << " RL: " << VRI.RLAmt << ":"
 1791                         << "\n\t\t\tisel using masking: " << NumAndInsts
 1792                         << " using rotates: " << VRI.NumGroups << "\n");
 1792                         << " using rotates: " << VRI.NumGroups << "\n");
 1797       LLVM_DEBUG(dbgs() << "\t\t\t\tusing masking\n");
 2145       LLVM_DEBUG(dbgs() << "\t\trotation groups for " << VRI.V.getNode()
 2146                         << " RL: " << VRI.RLAmt << (VRI.Repl32 ? " (32):" : ":")
 2146                         << " RL: " << VRI.RLAmt << (VRI.Repl32 ? " (32):" : ":")
 2147                         << "\n\t\t\tisel using masking: " << NumAndInsts
 2148                         << " using rotates: " << NumRLInsts << "\n");
 2148                         << " using rotates: " << NumRLInsts << "\n");
 2162       LLVM_DEBUG(dbgs() << "\t\t\t\tusing masking\n");
 2413     LLVM_DEBUG(dbgs() << "Considering bit-permutation-based instruction"
 2432     LLVM_DEBUG(dbgs() << "\tEarly masking:\n");
 2434     LLVM_DEBUG(dbgs() << "\t\tisel would use " << InstCnt << " instructions\n");
 2434     LLVM_DEBUG(dbgs() << "\t\tisel would use " << InstCnt << " instructions\n");
 2436     LLVM_DEBUG(dbgs() << "\tLate masking:\n");
 2438     LLVM_DEBUG(dbgs() << "\t\tisel would use " << InstCntLateMask
 2439                       << " instructions\n");
 2442       LLVM_DEBUG(dbgs() << "\tUsing early-masking for isel\n");
 2446     LLVM_DEBUG(dbgs() << "\tUsing late-masking for isel\n");
 4341   LLVM_DEBUG(dbgs() << "Found a node that can be lowered to a SETB: ");
 5545       LLVM_DEBUG(dbgs() << "PPC DAG preprocessing replacing:\nOld:    ");
 5547       LLVM_DEBUG(dbgs() << "\nNew: ");
 5549       LLVM_DEBUG(dbgs() << "\n");
 5626     LLVM_DEBUG(dbgs() << "CR Peephole replacing:\nOld:    ");
 5628     LLVM_DEBUG(dbgs() << "\nNew: ");
 5630     LLVM_DEBUG(dbgs() << "\n");
 6044         LLVM_DEBUG(dbgs() << "CR Peephole replacing:\nOld:    ");
 6046         LLVM_DEBUG(dbgs() << "\nNew: ");
 6048         LLVM_DEBUG(dbgs() << "\n");
 6342       LLVM_DEBUG(dbgs() << "PPC64 ZExt Peephole morphing:\nOld:    ");
 6347       LLVM_DEBUG(dbgs() << "\nNew: ");
 6349       LLVM_DEBUG(dbgs() << "\n");
 6356     LLVM_DEBUG(dbgs() << "PPC64 ZExt Peephole replacing:\nOld:    ");
 6358     LLVM_DEBUG(dbgs() << "\nNew: ");
 6360     LLVM_DEBUG(dbgs() << "\n");
 6540     LLVM_DEBUG(dbgs() << "Folding add-immediate into mem-op:\nBase:    ");
 6542     LLVM_DEBUG(dbgs() << "\nN: ");
 6544     LLVM_DEBUG(dbgs() << "\n");
 6556           LLVM_DEBUG(dbgs() << "Rejected this candidate for alignment.\n\n");
lib/Target/PowerPC/PPCISelLowering.cpp
 5373           dbgs() << "TCO caller: "
 5375                  << ", callee linkage: " << GV->getVisibility() << ", "
 5375                  << ", callee linkage: " << GV->getVisibility() << ", "
 5376                  << GV->getLinkage() << "\n");
 5474         errs() << "Call operand #" << i << " has unhandled type "
 5474         errs() << "Call operand #" << i << " has unhandled type "
 5475              << EVT(ArgVT).getEVTString() << "\n";
lib/Target/PowerPC/PPCInstrInfo.cpp
 2615   LLVM_DEBUG(dbgs() << "Replace instruction: "
 2616                     << "\n");
 2620   LLVM_DEBUG(dbgs() << "with: "
 2621                     << "\n");
 2848           dbgs() << "Found LI -> CMPI -> ISEL, replacing with a copy.\n");
 2850       LLVM_DEBUG(dbgs() << "Is converted to:\n");
 2981     LLVM_DEBUG(dbgs() << "Replacing instruction:\n");
 2983     LLVM_DEBUG(dbgs() << "Fed by:\n");
 3002     LLVM_DEBUG(dbgs() << "With:\n");
 3643   LLVM_DEBUG(dbgs() << "Replacing instruction:\n");
 3645   LLVM_DEBUG(dbgs() << "Fed by:\n");
 3706   LLVM_DEBUG(dbgs() << "With:\n");
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  334   LLVM_DEBUG(dbgs() << "PIP: Transforming: " << *BasePtrSCEV << "\n");
  334   LLVM_DEBUG(dbgs() << "PIP: Transforming: " << *BasePtrSCEV << "\n");
  363   LLVM_DEBUG(dbgs() << "PIP: New start is: " << *BasePtrStartSCEV << "\n");
  363   LLVM_DEBUG(dbgs() << "PIP: New start is: " << *BasePtrStartSCEV << "\n");
  549   LLVM_DEBUG(dbgs() << "PIP: Examining: " << *L << "\n");
  549   LLVM_DEBUG(dbgs() << "PIP: Examining: " << *L << "\n");
  562     LLVM_DEBUG(dbgs() << "PIP fails since no predecessor for current loop.\n");
lib/Target/PowerPC/PPCMIPeephole.cpp
  141   LLVM_DEBUG(dbgs() << "*** PowerPC MI peephole pass ***\n\n");
  284             LLVM_DEBUG(dbgs() << "Converted instruction to imm form: ");
  369                 LLVM_DEBUG(dbgs() << "Optimizing load-and-splat/splat "
  390                 LLVM_DEBUG(dbgs() << "Optimizing splat/swap or splat/splat "
  405                 LLVM_DEBUG(dbgs() << "Optimizing swap/splat => splat: ");
  416                 LLVM_DEBUG(dbgs() << "Optimizing swap/swap => copy: ");
  432               LLVM_DEBUG(dbgs() << "Removing redundant splat: ");
  472           LLVM_DEBUG(dbgs() << "Changing redundant splat to a copy: ");
  491               LLVM_DEBUG(dbgs() << "Removing redundant shift: ");
  496             LLVM_DEBUG(dbgs() << "Changing splat immediate from " << SplatImm
  497                               << " to " << NewElem << " in instruction: ");
  497                               << " to " << NewElem << " in instruction: ");
  542               LLVM_DEBUG(dbgs() << "Removing redundant FRSP:\n");
  544               LLVM_DEBUG(dbgs() << "As it feeds instruction:\n");
  546               LLVM_DEBUG(dbgs() << "Through instruction:\n");
  595           LLVM_DEBUG(dbgs() << "Zero-extending load\n");
  597           LLVM_DEBUG(dbgs() << "and sign-extension\n");
  599           LLVM_DEBUG(dbgs() << "are merged into sign-extending load\n");
  639           LLVM_DEBUG(dbgs() << "Zero-extending load\n");
  641           LLVM_DEBUG(dbgs() << "and sign-extension\n");
  643           LLVM_DEBUG(dbgs() << "are merged into sign-extending load\n");
  653           LLVM_DEBUG(dbgs() << "Removing redundant sign-extension\n");
  704           LLVM_DEBUG(dbgs() << "Removing redundant zero-extension\n");
  770           LLVM_DEBUG(dbgs() << "Optimizing LI to ADDI: ");
  793         LLVM_DEBUG(dbgs() << "Optimizing ADD to COPY: ");
 1248     LLVM_DEBUG(dbgs() << "Optimize two pairs of compare and branch:\n");
 1311     LLVM_DEBUG(dbgs() << "into a compare and two branches:\n");
 1316       LLVM_DEBUG(dbgs() << "The following compare is moved into "
 1318                         << " to handle partial redundancy.\n");
 1369   LLVM_DEBUG(dbgs() << "Converting pair: ");
 1378   LLVM_DEBUG(dbgs() << "To: ");
 1435   LLVM_DEBUG(dbgs() << "Combining pair: ");
 1448   LLVM_DEBUG(dbgs() << "TO: ");
lib/Target/PowerPC/PPCPreEmitPeephole.cpp
   73       LLVM_DEBUG(dbgs() << "Remove redundant load immediates from MBB:\n";
   74                  MBB.dump(); dbgs() << "\n");
   94         LLVM_DEBUG(dbgs() << "Scanning after load immediate: "; BBI->dump(););
  101           LLVM_DEBUG(dbgs() << " Kill flag of " << *DeadOrKillToUnset
  102                             << " from load immediate " << *BBI
  103                             << " is a unsetting candidate\n");
  116                        << " Kill flag of " << *DeadOrKillToUnset << " from "
  116                        << " Kill flag of " << *DeadOrKillToUnset << " from "
  117                        << *AfterBBI << " is a unsetting candidate\n");
  139                        << " Unset dead/kill flag of " << *DeadOrKillToUnset
  140                        << " from " << *DeadOrKillToUnset->getParent());
  150                        << " Dead flag of " << *DeadOrKillToUnset << " from "
  150                        << " Dead flag of " << *DeadOrKillToUnset << " from "
  151                        << *AfterBBI << " is a unsetting candidate\n");
  153           LLVM_DEBUG(dbgs() << " Remove redundant load immediate: ";
  183               LLVM_DEBUG(dbgs() << "Deleting self-copy instruction: ");
  191               LLVM_DEBUG(dbgs() << "Deleting self-copy instruction: ");
  201             LLVM_DEBUG(dbgs() << "Converted instruction to imm form: ");
  210             LLVM_DEBUG(dbgs() << "Frame offset folding by using index form: ");
  285         LLVM_DEBUG(dbgs() << "PPC pre-emit peephole: erasing instruction: ");
lib/Target/PowerPC/PPCReduceCRLogicals.cpp
  149         dbgs() << "Don't know how to handle blocks that don't have exactly"
  150                << " two successors.\n");
  246   LLVM_DEBUG(dbgs() << "After splitting, ThisMBB:\n"; ThisMBB->dump());
  247   LLVM_DEBUG(dbgs() << "NewMBB:\n"; NewMBB->dump());
  248   LLVM_DEBUG(dbgs() << "New branch-to block:\n"; NewBRTarget->dump());
  435   dbgs() << "CRLogicalOpMI: ";
  437   dbgs() << "IsBinary: " << IsBinary << ", FeedsISEL: " << FeedsISEL;
  437   dbgs() << "IsBinary: " << IsBinary << ", FeedsISEL: " << FeedsISEL;
  438   dbgs() << ", FeedsBR: " << FeedsBR << ", FeedsLogical: ";
  438   dbgs() << ", FeedsBR: " << FeedsBR << ", FeedsLogical: ";
  439   dbgs() << FeedsLogical << ", SingleUse: " << SingleUse;
  440   dbgs() << ", DefsSingleUse: " << DefsSingleUse;
  441   dbgs() << ", SubregDef1: " << SubregDef1 << ", SubregDef2: ";
  441   dbgs() << ", SubregDef1: " << SubregDef1 << ", SubregDef2: ";
  442   dbgs() << SubregDef2 << ", ContainedInBlock: " << ContainedInBlock;
  444     dbgs() << "\nDefs:\n";
  449   dbgs() << "\n";
  451     dbgs() << "CopyDef1: ";
  455     dbgs() << "CopyDef2: ";
  614     LLVM_DEBUG(dbgs() << "Unable to split as the two operands are the same\n");
  621         dbgs() << "Unable to split because one of the operands is a PHI or "
  633     LLVM_DEBUG(dbgs() << "Unable to split blocks on this opcode.\n");
  637   LLVM_DEBUG(dbgs() << "Splitting the following CR op:\n"; CRI.dump());
  651   LLVM_DEBUG(dbgs() << "We will split the following block:\n";);
  653   LLVM_DEBUG(dbgs() << "Before instruction:\n"; SplitBefore->dump());
  686   LLVM_DEBUG(dbgs() << "We will " << (InvertNewBranch ? "invert" : "copy"));
  686   LLVM_DEBUG(dbgs() << "We will " << (InvertNewBranch ? "invert" : "copy"));
  687   LLVM_DEBUG(dbgs() << " the original branch and the target is the "
  688                     << (TargetIsFallThrough ? "fallthrough block\n"
  690   LLVM_DEBUG(dbgs() << "Original branch instruction: "; Branch->dump());
lib/Target/PowerPC/PPCTLSDynamicCall.cpp
   75         LLVM_DEBUG(dbgs() << "TLS Dynamic Call Fixup:\n    " << MI);
lib/Target/PowerPC/PPCVSXFMAMutate.cpp
  243         LLVM_DEBUG(dbgs() << "VSX FMA Mutation:\n    " << MI);
  275         LLVM_DEBUG(dbgs() << " -> " << MI);
  312         LLVM_DEBUG(dbgs() << "  extended: " << NewFMAInt << '\n');
  325             LLVM_DEBUG(dbgs() << "  extended: " << AddendSrcRange << '\n');
  329         LLVM_DEBUG(dbgs() << "  trimmed:  " << FMAInt << '\n');
  333         LLVM_DEBUG(dbgs() << "  removing: " << *AddendMI << '\n');
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
  527     LLVM_DEBUG(dbgs() << "Swap vector when first built\n\n");
  587   LLVM_DEBUG(dbgs() << "\n*** Forming webs for swap removal ***\n\n");
  593     LLVM_DEBUG(dbgs() << "\n" << SwapVector[EntryIdx].VSEId << " ");
  593     LLVM_DEBUG(dbgs() << "\n" << SwapVector[EntryIdx].VSEId << " ");
  627       LLVM_DEBUG(dbgs() << "  Def: ");
  639   LLVM_DEBUG(dbgs() << "\n*** Rejecting webs for swap removal ***\n\n");
  661       LLVM_DEBUG(dbgs() << "  in " << EntryIdx << ": ");
  661       LLVM_DEBUG(dbgs() << "  in " << EntryIdx << ": ");
  663       LLVM_DEBUG(dbgs() << "\n");
  686           LLVM_DEBUG(dbgs() << "  def " << EntryIdx << ": ");
  686           LLVM_DEBUG(dbgs() << "  def " << EntryIdx << ": ");
  688           LLVM_DEBUG(dbgs() << "  use " << UseIdx << ": ");
  688           LLVM_DEBUG(dbgs() << "  use " << UseIdx << ": ");
  690           LLVM_DEBUG(dbgs() << "\n");
  710         LLVM_DEBUG(dbgs() << "  def " << DefIdx << ": ");
  710         LLVM_DEBUG(dbgs() << "  def " << DefIdx << ": ");
  712         LLVM_DEBUG(dbgs() << "  use " << EntryIdx << ": ");
  712         LLVM_DEBUG(dbgs() << "  use " << EntryIdx << ": ");
  714         LLVM_DEBUG(dbgs() << "\n");
  728           LLVM_DEBUG(dbgs() << "  def "
  729                             << " : ");
  731           LLVM_DEBUG(dbgs() << "  use " << UseIdx << ": ");
  731           LLVM_DEBUG(dbgs() << "  use " << UseIdx << ": ");
  733           LLVM_DEBUG(dbgs() << "\n");
  739   LLVM_DEBUG(dbgs() << "Swap vector after web analysis:\n\n");
  750   LLVM_DEBUG(dbgs() << "\n*** Marking swaps for removal ***\n\n");
  765           LLVM_DEBUG(dbgs() << "Marking swap fed by load for removal: ");
  780         LLVM_DEBUG(dbgs() << "Marking swap feeding store for removal: ");
  826     LLVM_DEBUG(dbgs() << "Changing splat: ");
  850     LLVM_DEBUG(dbgs() << "  Into: ");
  864     LLVM_DEBUG(dbgs() << "Changing XXPERMDI: ");
  883     LLVM_DEBUG(dbgs() << "  Into: ");
  894     LLVM_DEBUG(dbgs() << "Changing SUBREG_TO_REG: ");
  902     LLVM_DEBUG(dbgs() << "  Into: ");
  942   LLVM_DEBUG(dbgs() << "\n*** Removing swaps ***\n\n");
  981       dbgs() << "load ";
  983       dbgs() << "store ";
  985       dbgs() << "swap ";
  987       dbgs() << "physreg ";
  989       dbgs() << "partialreg ";
  992       dbgs() << "swappable ";
  995         dbgs() << "special:**unknown**";
 1000         dbgs() << "special:extract ";
 1003         dbgs() << "special:insert ";
 1006         dbgs() << "special:load ";
 1009         dbgs() << "special:store ";
 1012         dbgs() << "special:splat ";
 1015         dbgs() << "special:xxpermdi ";
 1018         dbgs() << "special:copywiden ";
 1024       dbgs() << "rejected ";
 1026       dbgs() << "remove ";
 1028     dbgs() << "\n";
 1035   dbgs() << "\n";
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
  622       OS << "<register x";
  623       OS << getReg() << ">";
  626       OS << "'" << getToken() << "'";
  626       OS << "'" << getToken() << "'";
  629       OS << "<sysreg: " << getSysReg() << '>';
lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
  332     LLVM_DEBUG(dbgs() << "Trying RISCV32 table :\n");
  344           dbgs() << "Trying RISCV32Only_16 table (16-bit Instruction):\n");
  354     LLVM_DEBUG(dbgs() << "Trying RISCV_C table (16-bit Instruction):\n");
lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
   81   O << getRegisterName(RegNo);
  110     O << SysReg->Name;
  130     O << "unknown";
  146   O << "(";
  148   O << ")";
lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
   45     OS << "@plt";
lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
   26   OS << "\t.option\tpush\n";
   30   OS << "\t.option\tpop\n";
   34   OS << "\t.option\trvc\n";
   38   OS << "\t.option\tnorvc\n";
   42   OS << "\t.option\trelax\n";
   46   OS << "\t.option\tnorelax\n";
lib/Target/RISCV/RISCVAsmPrinter.cpp
  100         OS << RISCVInstPrinter::getRegisterName(RISCV::X0);
  116     OS << RISCVInstPrinter::getRegisterName(MO.getReg());
  136     OS << "0(" << RISCVInstPrinter::getRegisterName(MO.getReg()) << ")";
  136     OS << "0(" << RISCVInstPrinter::getRegisterName(MO.getReg()) << ")";
  136     OS << "0(" << RISCVInstPrinter::getRegisterName(MO.getReg()) << ")";
lib/Target/RISCV/RISCVISelDAGToDAG.cpp
  101     LLVM_DEBUG(dbgs() << "== "; Node->dump(CurDAG); dbgs() << "\n");
  101     LLVM_DEBUG(dbgs() << "== "; Node->dump(CurDAG); dbgs() << "\n");
  268     LLVM_DEBUG(dbgs() << "Folding add-immediate into mem-op:\nBase:    ");
  270     LLVM_DEBUG(dbgs() << "\nN: ");
  272     LLVM_DEBUG(dbgs() << "\n");
lib/Target/RISCV/RISCVISelLowering.cpp
 1637       LLVM_DEBUG(dbgs() << "InputArg #" << i << " has unhandled type "
 1637       LLVM_DEBUG(dbgs() << "InputArg #" << i << " has unhandled type "
 1658       LLVM_DEBUG(dbgs() << "OutputArg #" << i << " has unhandled type "
 1658       LLVM_DEBUG(dbgs() << "OutputArg #" << i << " has unhandled type "
 1659                         << EVT(ArgVT).getEVTString() << "\n");
lib/Target/RISCV/RISCVMergeBaseOffset.cpp
  112   LLVM_DEBUG(dbgs() << "  Merged offset " << Offset << " into base.\n"
  112   LLVM_DEBUG(dbgs() << "  Merged offset " << Offset << " into base.\n"
  113                     << "     " << HiLUI << "     " << LoADDI;);
  113                     << "     " << HiLUI << "     " << LoADDI;);
  163     LLVM_DEBUG(dbgs() << "  Offset Instrs: " << OffsetTail
  164                       << "                 " << OffsetLui);
  171     LLVM_DEBUG(dbgs() << "  Offset Instr: " << OffsetTail);
  187     LLVM_DEBUG(dbgs() << "Don't know how to get offset from this instr:"
  193     LLVM_DEBUG(dbgs() << "  Offset Instr: " << Tail);
  265     LLVM_DEBUG(dbgs() << "MBB: " << MBB.getName() << "\n");
  265     LLVM_DEBUG(dbgs() << "MBB: " << MBB.getName() << "\n");
  270       LLVM_DEBUG(dbgs() << "  Found lowered global address with one use: "
  271                         << *LoADDI->getOperand(2).getGlobal() << "\n");
lib/Target/RISCV/Utils/RISCVBaseInfo.cpp
   30         << "'" << ABIName
   31         << "' is not a recognized ABI for this target (ignoring target-abi)\n";
   33     errs() << "32-bit ABIs are not supported for 64-bit targets (ignoring "
   37     errs() << "64-bit ABIs are not supported for 32-bit targets (ignoring "
   41     errs() << "Hard-float 'f' ABI can't be used for a target that "
   46     errs() << "Hard-float 'd' ABI can't be used for a target that "
   52         << "Only the ilp32e ABI is supported for RV32E (ignoring target-abi)\n";
lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
  321     case k_Token:     OS << "Token: " << getToken() << "\n"; break;
  321     case k_Token:     OS << "Token: " << getToken() << "\n"; break;
  322     case k_Register:  OS << "Reg: #" << getReg() << "\n"; break;
  322     case k_Register:  OS << "Reg: #" << getReg() << "\n"; break;
  323     case k_Immediate: OS << "Imm: " << getImm() << "\n"; break;
  323     case k_Immediate: OS << "Imm: " << getImm() << "\n"; break;
  324     case k_MemoryReg: OS << "Mem: " << getMemBase() << "+"
  324     case k_MemoryReg: OS << "Mem: " << getMemBase() << "+"
  325                          << getMemOffsetReg() << "\n"; break;
  327       OS << "Mem: " << getMemBase()
  328          << "+" << *getMemOff()
  329          << "\n"; break;
lib/Target/Sparc/LeonPasses.cpp
   92             errs() << "Error: You are using the detectroundchange "
lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
   71         case SP::I7: O << "\tret"; return true;
   72         case SP::O7: O << "\tretl"; return true;
   75       O << "\tjmp "; printMemOperand(MI, 1, STI, O);
   78       O << "\tcall "; printMemOperand(MI, 1, STI, O);
   92     case SP::V9FCMPS:  O << "\tfcmps "; break;
   93     case SP::V9FCMPD:  O << "\tfcmpd "; break;
   94     case SP::V9FCMPQ:  O << "\tfcmpq "; break;
   95     case SP::V9FCMPES: O << "\tfcmpes "; break;
   96     case SP::V9FCMPED: O << "\tfcmped "; break;
   97     case SP::V9FCMPEQ: O << "\tfcmpeq "; break;
  100     O << ", ";
  146     O << ", ";
  157   O << "+";
  188   O << SPARCCondCodeToString((SPCC::CondCodes)CC);
  215       O << (First ? "" : " | ") << TagNames[i];
  215       O << (First ? "" : " | ") << TagNames[i];
lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
   47   case VK_Sparc_LO:       OS << "%lo(";  break;
   48   case VK_Sparc_HI:       OS << "%hi(";  break;
   49   case VK_Sparc_H44:      OS << "%h44("; break;
   50   case VK_Sparc_M44:      OS << "%m44("; break;
   51   case VK_Sparc_L44:      OS << "%l44("; break;
   52   case VK_Sparc_HH:       OS << "%hh(";  break;
   53   case VK_Sparc_HM:       OS << "%hm(";  break;
   55   case VK_Sparc_PC22:     OS << "%hi("; break;
   56   case VK_Sparc_PC10:     OS << "%lo("; break;
   58   case VK_Sparc_GOT22:    OS << "%hi("; break;
   59   case VK_Sparc_GOT10:    OS << "%lo("; break;
   63   case VK_Sparc_R_DISP32: OS << "%r_disp32("; break;
   64   case VK_Sparc_TLS_GD_HI22:   OS << "%tgd_hi22(";   break;
   65   case VK_Sparc_TLS_GD_LO10:   OS << "%tgd_lo10(";   break;
   66   case VK_Sparc_TLS_GD_ADD:    OS << "%tgd_add(";    break;
   67   case VK_Sparc_TLS_GD_CALL:   OS << "%tgd_call(";   break;
   68   case VK_Sparc_TLS_LDM_HI22:  OS << "%tldm_hi22(";  break;
   69   case VK_Sparc_TLS_LDM_LO10:  OS << "%tldm_lo10(";  break;
   70   case VK_Sparc_TLS_LDM_ADD:   OS << "%tldm_add(";   break;
   71   case VK_Sparc_TLS_LDM_CALL:  OS << "%tldm_call(";  break;
   72   case VK_Sparc_TLS_LDO_HIX22: OS << "%tldo_hix22("; break;
   73   case VK_Sparc_TLS_LDO_LOX10: OS << "%tldo_lox10("; break;
   74   case VK_Sparc_TLS_LDO_ADD:   OS << "%tldo_add(";   break;
   75   case VK_Sparc_TLS_IE_HI22:   OS << "%tie_hi22(";   break;
   76   case VK_Sparc_TLS_IE_LO10:   OS << "%tie_lo10(";   break;
   77   case VK_Sparc_TLS_IE_LD:     OS << "%tie_ld(";     break;
   78   case VK_Sparc_TLS_IE_LDX:    OS << "%tie_ldx(";    break;
   79   case VK_Sparc_TLS_IE_ADD:    OS << "%tie_add(";    break;
   80   case VK_Sparc_TLS_LE_HIX22:  OS << "%tle_hix22(";  break;
   81   case VK_Sparc_TLS_LE_LOX10:  OS << "%tle_lox10(";  break;
lib/Target/Sparc/MCTargetDesc/SparcTargetStreamer.cpp
   29   OS << "\t.register "
   30      << "%" << StringRef(SparcInstPrinter::getRegisterName(reg)).lower()
   31      << ", #ignore\n";
   35   OS << "\t.register "
   36      << "%" << StringRef(SparcInstPrinter::getRegisterName(reg)).lower()
   37      << ", #scratch\n";
lib/Target/Sparc/SparcAsmPrinter.cpp
  351     O << "%" << StringRef(getRegisterName(MO.getReg())).lower();
  367     O << MO.getSymbolName();
  370     O << DL.getPrivateGlobalPrefix() << "CPI" << getFunctionNumber() << "_"
  370     O << DL.getPrivateGlobalPrefix() << "CPI" << getFunctionNumber() << "_"
  379   if (CloseParen) O << ")";
  388     O << ", ";
  400   O << "+";
lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
  655     OS << "Token:" << getToken();
  658     OS << "Reg:" << SystemZInstPrinter::getRegisterName(getReg());
  658     OS << "Reg:" << SystemZInstPrinter::getRegisterName(getReg());
  661     OS << "Imm:";
  665     OS << "ImmTLS:";
  668       OS << ", ";
  674     OS << "Mem:" << *cast<MCConstantExpr>(Op.Disp);
  676       OS << "(";
  678         OS << *cast<MCConstantExpr>(Op.Length.Imm) << ",";
  680         OS << SystemZInstPrinter::getRegisterName(Op.Length.Reg) << ",";
  680         OS << SystemZInstPrinter::getRegisterName(Op.Length.Reg) << ",";
  682         OS << SystemZInstPrinter::getRegisterName(Op.Index) << ",";
  682         OS << SystemZInstPrinter::getRegisterName(Op.Index) << ",";
  683       OS << SystemZInstPrinter::getRegisterName(Op.Base);
  684       OS << ")";
lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.cpp
   32       O << '%' << getRegisterName(Index);
   37       O << '%' << getRegisterName(Base);
   45     O << '%' << getRegisterName(MO.getReg());
   62   O << '%' << getRegisterName(RegNo);
  148     O << "0x";
  165         O << ":tls_gdcall:";
  168         O << ":tls_ldcall:";
  202     O << ",%" << getRegisterName(Base);
  202     O << ",%" << getRegisterName(Base);
  211   O << Disp << "(%" << getRegisterName(Length);
  211   O << Disp << "(%" << getRegisterName(Length);
  213     O << ",%" << getRegisterName(Base);
  213     O << ",%" << getRegisterName(Base);
  232   O << CondNames[Imm - 1];
lib/Target/SystemZ/SystemZConstantPoolValue.cpp
   50   O << GV << "@" << int(Modifier);
lib/Target/SystemZ/SystemZHazardRecognizer.cpp
  168   OS << "SU(" << SU->NodeNum << "):";
  168   OS << "SU(" << SU->NodeNum << "):";
  188     OS << "/" << FU;
  191       OS << "(" << PI->Cycles << "cyc)";
  191       OS << "(" << PI->Cycles << "cyc)";
  195     OS << "/" << SC->NumMicroOps << "uops";
  195     OS << "/" << SC->NumMicroOps << "uops";
  197     OS << "/GroupsAlone";
  199     OS << "/BeginsGroup";
  201     OS << "/EndsGroup";
  203     OS << "/Unbuffered";
  205     OS << "/4RegOps";
  209   dbgs() << "++ " << Msg;
  210   dbgs() << ": ";
  213     dbgs() << " <empty>\n";
  215     dbgs() << "{ " << CurGroupDbg << " }";
  215     dbgs() << "{ " << CurGroupDbg << " }";
  216     dbgs() << " (" << CurrGroupSize << " decoder slot"
  216     dbgs() << " (" << CurrGroupSize << " decoder slot"
  217            << (CurrGroupSize > 1 ? "s":"")
  218            << (CurrGroupHas4RegOps ? ", 4RegOps" : "")
  219            << ")\n";
  235   dbgs() << "++ | Resource counters: ";
  238       dbgs() << SchedModel->getProcResource(i)->Name
  239              << ":" << ProcResourceCounters[i] << " ";
  239              << ":" << ProcResourceCounters[i] << " ";
  240   dbgs() << "\n";
  243     dbgs() << "++ | Critical resource: "
  244            << SchedModel->getProcResource(CriticalResourceIdx)->Name
  245            << "\n";
  250   dbgs() << "++ | Current cycle index: "
  251          << getCurrCycleIdx() << "\n";
  254     dbgs() << "++ | Last FPd cycle index: " << LastFPdOpCycleIdx << "\n";
  254     dbgs() << "++ | Last FPd cycle index: " << LastFPdOpCycleIdx << "\n";
  273   LLVM_DEBUG(dbgs() << "++ HazardRecognizer emitting "; dumpSU(SU, dbgs());
  274              dbgs() << "\n";);
  283              if (CurGroupDbg.length()) cgd << ", "; dumpSU(SU, cgd););
  289     LLVM_DEBUG(dbgs() << "++ Clearing state after call.\n";);
  312           dbgs() << "++ New critical resource: "
  313                  << SchedModel->getProcResource(PI->ProcResourceIdx)->Name
  314                  << "\n";);
  322     LLVM_DEBUG(dbgs() << "++ Last FPd cycle index: " << LastFPdOpCycleIdx
  323                       << "\n";);
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
   75     errs() << "SystemZAddressingMode " << this << '\n';
   77     errs() << " Base ";
   81       errs() << "null\n";
   84       errs() << " Index ";
   88         errs() << "null\n";
   91     errs() << " Disp " << Disp;
   93       errs() << " + ADJDYNALLOC";
 1462     LLVM_DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n");
 1462     LLVM_DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n");
 1906       LLVM_DEBUG(dbgs() << "SystemZ DAG preprocessing replacing:\nOld:    ");
 1908       LLVM_DEBUG(dbgs() << "\nNew: ");
 1910       LLVM_DEBUG(dbgs() << "\n");
lib/Target/SystemZ/SystemZMachineScheduler.cpp
   28   dbgs() << "{";
   32       dbgs() << ",  ";
   34   dbgs() << "}\n";
   81   LLVM_DEBUG(dbgs() << "** Entering " << printMBBReference(*NextMBB));
   89              if (Loop && Loop->getHeader() == MBB) dbgs() << " (Loop header)";
   90              dbgs() << ":\n";);
  100   LLVM_DEBUG(dbgs() << "** Continued scheduling from "
  101                     << printMBBReference(*SinglePredMBB) << "\n";);
  110     LLVM_DEBUG(dbgs() << "** Emitting incoming branch: "; I->dump(););
  121   LLVM_DEBUG(dbgs() << "** Leaving " << printMBBReference(*MBB) << "\n";);
  121   LLVM_DEBUG(dbgs() << "** Leaving " << printMBBReference(*MBB) << "\n";);
  167     LLVM_DEBUG(dbgs() << "** Only one: ";
  168                HazardRec->dumpSU(*Available.begin(), dbgs()); dbgs() << "\n";);
  173   LLVM_DEBUG(dbgs() << "** Available: "; Available.dump(*HazardRec););
  184       LLVM_DEBUG(dbgs() << "** Best so far: ";);
  186       LLVM_DEBUG(dbgs() << "** Tried      : ";);
  188                dbgs() << " Height:" << c.SU->getHeight(); dbgs() << "\n";);
  188                dbgs() << " Height:" << c.SU->getHeight(); dbgs() << "\n";);
  242   LLVM_DEBUG(dbgs() << "** Scheduling SU(" << SU->NodeNum << ") ";
  242   LLVM_DEBUG(dbgs() << "** Scheduling SU(" << SU->NodeNum << ") ";
  243              if (Available.size() == 1) dbgs() << "(only one) ";
  244              Candidate c(SU, *HazardRec); c.dumpCosts(); dbgs() << "\n";);
lib/Target/SystemZ/SystemZMachineScheduler.h
   64         dbgs() << "  Grouping cost:" << GroupingCost;
   66         dbgs() << "  Resource cost:" << ResourcesCost;
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  143       OS << "Tok:" << Tok.Tok;
  146       OS << "Int:" << Int.Val;
  149       OS << "Flt:" << Flt.Val;
  152       OS << "Sym:" << Sym.Exp;
  155       OS << "BrList:" << BrL.List.size();
lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
  133     outs() << "        # " << FunctionCount << " functions in section.";
  133     outs() << "        # " << FunctionCount << " functions in section.";
  141       outs() << "        .local ";
  149             outs() << ", ";
  150           outs() << WebAssembly::anyTypeToString(Type);
  155   outs() << "\n";
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp
   44   OS << "$" << RegNo;
   57       OS << "\t";
   65         OS << ", ";
  216       O << "$pop" << WebAssemblyFunctionInfo::getWARegStackId(WAReg);
  218       O << "$push" << WebAssemblyFunctionInfo::getWARegStackId(WAReg);
  220       O << "$drop";
  254   O << "{";
  257       O << ", ";
  260   O << "}";
  269   O << ":p2align=" << Imm;
  279       O << WebAssembly::anyTypeToString(Imm);
  287       O << "unknown_type";
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp
   92         LLVM_DEBUG(dbgs() << "Encoding immediate: type="
   93                           << int(Info.OperandType) << "\n");
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.cpp
   48       OS << ", ";
   49     OS << WebAssembly::typeToString(Type);
   56     OS << "\t.local  \t";
   61 void WebAssemblyTargetAsmStreamer::emitEndFunc() { OS << "\t.endfunc\n"; }
   65   OS << "\t.functype\t" << Sym->getName() << " ";
   65   OS << "\t.functype\t" << Sym->getName() << " ";
   67   OS << "\n";
   72   OS << "\t.globaltype\t" << Sym->getName() << ", "
   72   OS << "\t.globaltype\t" << Sym->getName() << ", "
   73      << WebAssembly::typeToString(
   80   OS << "\t.eventtype\t" << Sym->getName() << " ";
   80   OS << "\t.eventtype\t" << Sym->getName() << " ";
   82   OS << "\n";
   87   OS << "\t.import_module\t" << Sym->getName() << ", "
   87   OS << "\t.import_module\t" << Sym->getName() << ", "
   93   OS << "\t.import_name\t" << Sym->getName() << ", "
   93   OS << "\t.import_name\t" << Sym->getName() << ", "
   98   OS << "\t.indidx  \t" << *Value << '\n';
lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp
   62   LLVM_DEBUG(dbgs() << "********** Add Missing Prototypes **********\n");
   71     LLVM_DEBUG(dbgs() << "Found no-prototype function: " << F.getName()
   72                       << "\n");
   93       LLVM_DEBUG(dbgs() << "prototype-less use: " << F.getName() << "\n");
   93       LLVM_DEBUG(dbgs() << "prototype-less use: " << F.getName() << "\n");
   94       LLVM_DEBUG(dbgs() << *U.getUser() << "\n");
  101             LLVM_DEBUG(dbgs() << "found function type: " << *NewType << "\n");
  101             LLVM_DEBUG(dbgs() << "found function type: " << *NewType << "\n");
  103             errs() << "warning: prototype-less function used with "
  105                    << F.getName() << "\n";
  106             LLVM_DEBUG(dbgs() << "  " << *DestType << "\n");
  106             LLVM_DEBUG(dbgs() << "  " << *DestType << "\n");
  107             LLVM_DEBUG(dbgs() << "  "<<  *NewType << "\n");
  107             LLVM_DEBUG(dbgs() << "  "<<  *NewType << "\n");
lib/Target/WebAssembly/WebAssemblyArgumentMove.cpp
   71     dbgs() << "********** Argument Move **********\n"
   72            << "********** Function: " << MF.getName() << '\n';
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
   64   LLVM_DEBUG(errs() << "Unknown type for register number: " << RegNo);
  309   LLVM_DEBUG(dbgs() << "EmitInstruction: " << *MI << '\n');
lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
  407   LLVM_DEBUG(dbgs() << "********** CFG Sorting **********\n"
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
 1355   LLVM_DEBUG(dbgs() << "********** CFG Stackifying **********\n"
lib/Target/WebAssembly/WebAssemblyCallIndirectFixup.cpp
  103   LLVM_DEBUG(dbgs() << "********** Fixing up CALL_INDIRECTs **********\n"
  104                     << "********** Function: " << MF.getName() << '\n');
  113         LLVM_DEBUG(dbgs() << "Found call_indirect: " << MI << '\n');
  141         LLVM_DEBUG(dbgs() << "  After transform: " << MI);
  147   LLVM_DEBUG(dbgs() << "\nDone fixing up CALL_INDIRECTs\n\n");
lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
   35   LLVM_DEBUG(dbgs() << "********** Exception Info Calculation **********\n"
  152   OS.indent(Depth * 2) << "Exception at depth " << getExceptionDepth()
  153                        << " containing: ";
  158       OS << ", ";
  159     OS << "%bb." << MBB->getNumber();
  162         OS << "." << BB->getName();
  165       OS << " (landing-pad)";
  167   OS << "\n";
lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
  187   LLVM_DEBUG(dbgs() << "********** Make Locals Explicit **********\n"
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
  156         LLVM_DEBUG(dbgs() << "createWrapper: struct param type in bitcast: "
  157                           << F->getName() << "\n");
  160         LLVM_DEBUG(dbgs() << "createWrapper: arg type mismatch calling: "
  161                           << F->getName() << "\n");
  162         LLVM_DEBUG(dbgs() << "Arg[" << Args.size() << "] Expected: "
  162         LLVM_DEBUG(dbgs() << "Arg[" << Args.size() << "] Expected: "
  163                           << *ParamType << " Got: " << *ArgType << "\n");
  163                           << *ParamType << " Got: " << *ArgType << "\n");
  185       LLVM_DEBUG(dbgs() << "Creating dummy return: " << *RtnType << "\n");
  185       LLVM_DEBUG(dbgs() << "Creating dummy return: " << *RtnType << "\n");
  196       LLVM_DEBUG(dbgs() << "createWrapper: struct return type in bitcast: "
  197                         << F->getName() << "\n");
  200       LLVM_DEBUG(dbgs() << "createWrapper: return type mismatch calling: "
  201                         << F->getName() << "\n");
  202       LLVM_DEBUG(dbgs() << "Expected: " << *ExpectedRtnType
  203                         << " Got: " << *RtnType << "\n");
  203                         << " Got: " << *RtnType << "\n");
  217     LLVM_DEBUG(dbgs() << "createWrapper: no wrapper needed: " << F->getName()
  218                       << "\n");
  222   LLVM_DEBUG(dbgs() << "createWrapper: " << F->getName() << "\n");
  222   LLVM_DEBUG(dbgs() << "createWrapper: " << F->getName() << "\n");
  238   LLVM_DEBUG(dbgs() << "********** Fix Function Bitcasts **********\n");
  261         LLVM_DEBUG(dbgs() << "Found `main` function with incorrect type: "
  262                           << *F.getFunctionType() << "\n");
lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
  484   LLVM_DEBUG(dbgs() << "********** Fixing Irreducible Control Flow **********\n"
lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
   51     LLVM_DEBUG(dbgs() << "********** ISelDAGToDAG **********\n"
   82     LLVM_DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n");
   82     LLVM_DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n");
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
  103   LLVM_DEBUG(dbgs() << "********** Late EH Prepare **********\n"
lib/Target/WebAssembly/WebAssemblyLowerBrUnless.cpp
   57   LLVM_DEBUG(dbgs() << "********** Lowering br_unless **********\n"
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  335     OS << "_" << *ParamTy;
  337     OS << "_...";
  625   LLVM_DEBUG(dbgs() << "********** Lower Emscripten EH & SjLj **********\n");
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp
   61   LLVM_DEBUG(dbgs() << "********** Lower Global Destructors **********\n");
lib/Target/WebAssembly/WebAssemblyMemIntrinsicResults.cpp
  120     LLVM_DEBUG(dbgs() << "Setting operand " << O << " in " << *Where << " from "
  120     LLVM_DEBUG(dbgs() << "Setting operand " << O << " in " << *Where << " from "
  120     LLVM_DEBUG(dbgs() << "Setting operand " << O << " in " << *Where << " from "
  121                       << MI << "\n");
  179     dbgs() << "********** Memory Intrinsic Results **********\n"
  180            << "********** Function: " << MF.getName() << '\n';
  199     LLVM_DEBUG(dbgs() << "Basic Block: " << MBB.getName() << '\n');
lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp
   69   LLVM_DEBUG(dbgs() << "********** Optimize LiveIntervals **********\n"
lib/Target/WebAssembly/WebAssemblyOptimizeReturned.cpp
   73   LLVM_DEBUG(dbgs() << "********** Optimize returned Attributes **********\n"
lib/Target/WebAssembly/WebAssemblyPeephole.cpp
  134     dbgs() << "********** Peephole **********\n"
  135            << "********** Function: " << MF.getName() << '\n';
lib/Target/WebAssembly/WebAssemblyPrepareForLiveIntervals.cpp
   75     dbgs() << "********** Prepare For LiveIntervals **********\n"
   76            << "********** Function: " << MF.getName() << '\n';
lib/Target/WebAssembly/WebAssemblyRegColoring.cpp
   77     dbgs() << "********** Register Coloring **********\n"
   78            << "********** Function: " << MF.getName() << '\n';
   99   LLVM_DEBUG(dbgs() << "Interesting register intervals:\n");
  130   LLVM_DEBUG(dbgs() << "Coloring register intervals:\n");
  160     LLVM_DEBUG(dbgs() << "Assigning vreg" << Register::virtReg2Index(LI->reg)
  161                       << " to vreg" << Register::virtReg2Index(New) << "\n");
  161                       << " to vreg" << Register::virtReg2Index(New) << "\n");
lib/Target/WebAssembly/WebAssemblyRegNumbering.cpp
   62   LLVM_DEBUG(dbgs() << "********** Register Numbering **********\n"
   79     LLVM_DEBUG(dbgs() << "Arg VReg " << MI.getOperand(0).getReg()
   80                       << " -> WAReg " << Imm << "\n");
   80                       << " -> WAReg " << Imm << "\n");
   98       LLVM_DEBUG(dbgs() << "VReg " << VReg << " -> WAReg "
   98       LLVM_DEBUG(dbgs() << "VReg " << VReg << " -> WAReg "
   99                         << (INT32_MIN | NumStackRegs) << "\n");
  104       LLVM_DEBUG(dbgs() << "VReg " << VReg << " -> WAReg " << CurReg << "\n");
  104       LLVM_DEBUG(dbgs() << "VReg " << VReg << " -> WAReg " << CurReg << "\n");
  104       LLVM_DEBUG(dbgs() << "VReg " << VReg << " -> WAReg " << CurReg << "\n");
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
  488   LLVM_DEBUG(dbgs() << "Move for single use: "; Def->dump());
  519     LLVM_DEBUG(dbgs() << " - Replaced register: "; Def->dump());
  533   LLVM_DEBUG(dbgs() << "Rematerializing cheap def: "; Def.dump());
  534   LLVM_DEBUG(dbgs() << " - for use in "; Op.getParent()->dump());
  547   LLVM_DEBUG(dbgs() << " - Cloned to "; Clone->dump());
  560     LLVM_DEBUG(dbgs() << " - Deleting original\n");
  600   LLVM_DEBUG(dbgs() << "Move and tee for multi-use:"; Def->dump());
  643   LLVM_DEBUG(dbgs() << " - Replaced register: "; Def->dump());
  644   LLVM_DEBUG(dbgs() << " - Tee instruction: "; Tee->dump());
  769   LLVM_DEBUG(dbgs() << "********** Register Stackifying **********\n"
lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp
   65     dbgs() << "********** Replace Physical Registers **********\n"
   66            << "********** Function: " << MF.getName() << '\n';
lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp
   79     dbgs() << "********** Set p2align Operands **********\n"
   80            << "********** Function: " << MF.getName() << '\n';
lib/Target/X86/AsmParser/X86AsmParser.cpp
 3088   OS << "instruction requires:";
 3091       OS << ' ' << getSubtargetFeatureName(i);
 3270     OS << "ambiguous instructions require an explicit suffix (could be ";
 3273         OS << ", ";
 3275         OS << "or ";
 3276       OS << "'" << Base << MatchChars[i] << "'";
 3276       OS << "'" << Base << MatchChars[i] << "'";
 3278     OS << ")";
lib/Target/X86/AsmParser/X86Operand.h
  103           OS << VName << Imm;
  108             OS << VName << SymName;
  108             OS << VName << SymName;
  115       OS << Tok.Data;
  118       OS << "Reg:" << X86IntelInstPrinter::getRegisterName(Reg.RegNo);
  118       OS << "Reg:" << X86IntelInstPrinter::getRegisterName(Reg.RegNo);
  121       OS << "DXReg";
  127       OS << "Prefix:" << Pref.Prefixes;
  130       OS << "Memory: ModeSize=" << Mem.ModeSize;
  132         OS << ",Size=" << Mem.Size;
  134         OS << ",BaseReg=" << X86IntelInstPrinter::getRegisterName(Mem.BaseReg);
  134         OS << ",BaseReg=" << X86IntelInstPrinter::getRegisterName(Mem.BaseReg);
  136         OS << ",IndexReg="
  137            << X86IntelInstPrinter::getRegisterName(Mem.IndexReg);
  139         OS << ",Scale=" << Mem.Scale;
  143         OS << ",SegReg=" << X86IntelInstPrinter::getRegisterName(Mem.SegReg);
  143         OS << ",SegReg=" << X86IntelInstPrinter::getRegisterName(Mem.SegReg);
lib/Target/X86/Disassembler/X86Disassembler.cpp
   97   dbgs() << file << ":" << line << ": " << s;
   97   dbgs() << file << ":" << line << ": " << s;
   97   dbgs() << file << ":" << line << ": " << s;
   97   dbgs() << file << ":" << line << ": " << s;
  207   vStream << log << "\n";
  207   vStream << log << "\n";
lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp
   38   OS << markup("<reg:") << '%' << getRegisterName(RegNo) << markup(">");
   57     OS << "\tcallq\t";
   67    OS << "\tdata32";
  113       OS << ", ";
  178           OS << "{1to" << NumElts << "}";
  178           OS << "{1to" << NumElts << "}";
  193           OS << "{sae}, ";
  197       OS << ", ";
  199       OS << ", ";
  203         OS << " {";
  205         OS << "}";
  229       OS << ", ";
  231       OS << ", ";
  320           OS << "{1to" << NumElts << "}";
  320           OS << "{1to" << NumElts << "}";
  333       OS << ", ";
  335       OS << ", ";
  339         OS << " {";
  341         OS << "}";
  432   O << "(";
  434   O << ")";
  443   O << "%es:(";
  445   O << ")";
  484     OS << markup("<reg:") << "%st(0)" << markup(">");
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
  306     OS << "\n";
lib/Target/X86/MCTargetDesc/X86InstComments.cpp
  243   OS << " {%" << MaskRegName << "}";
  243   OS << " {%" << MaskRegName << "}";
  243   OS << " {%" << MaskRegName << "}";
  247     OS << " {z}";
  479   OS << DestName << " = ";
  479   OS << DestName << " = ";
  485   OS << '(' << Mul1Name << " * " << Mul2Name << ") " << AccStr << ' '
  485   OS << '(' << Mul1Name << " * " << Mul2Name << ") " << AccStr << ' '
  485   OS << '(' << Mul1Name << " * " << Mul2Name << ") " << AccStr << ' '
  485   OS << '(' << Mul1Name << " * " << Mul2Name << ") " << AccStr << ' '
  486      << AccName;
 1269     OS << DestName;
 1272     OS << "mem";
 1274   OS << " = ";
 1293       OS << "zero";
 1301     OS << (SrcName ? SrcName : "mem") << '[';
 1310         OS << "u";
lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
   32   case    0: O << "o";  break;
   33   case    1: O << "no"; break;
   34   case    2: O << "b";  break;
   35   case    3: O << "ae"; break;
   36   case    4: O << "e";  break;
   37   case    5: O << "ne"; break;
   38   case    6: O << "be"; break;
   39   case    7: O << "a";  break;
   40   case    8: O << "s";  break;
   41   case    9: O << "ns"; break;
   42   case  0xa: O << "p";  break;
   43   case  0xb: O << "np"; break;
   44   case  0xc: O << "l";  break;
   45   case  0xd: O << "ge"; break;
   46   case  0xe: O << "le"; break;
   47   case  0xf: O << "g";  break;
   56   case    0: O << "eq"; break;
   57   case    1: O << "lt"; break;
   58   case    2: O << "le"; break;
   59   case    3: O << "unord"; break;
   60   case    4: O << "neq"; break;
   61   case    5: O << "nlt"; break;
   62   case    6: O << "nle"; break;
   63   case    7: O << "ord"; break;
   64   case    8: O << "eq_uq"; break;
   65   case    9: O << "nge"; break;
   66   case  0xa: O << "ngt"; break;
   67   case  0xb: O << "false"; break;
   68   case  0xc: O << "neq_oq"; break;
   69   case  0xd: O << "ge"; break;
   70   case  0xe: O << "gt"; break;
   71   case  0xf: O << "true"; break;
   72   case 0x10: O << "eq_os"; break;
   73   case 0x11: O << "lt_oq"; break;
   74   case 0x12: O << "le_oq"; break;
   75   case 0x13: O << "unord_s"; break;
   76   case 0x14: O << "neq_us"; break;
   77   case 0x15: O << "nlt_uq"; break;
   78   case 0x16: O << "nle_uq"; break;
   79   case 0x17: O << "ord_s"; break;
   80   case 0x18: O << "eq_us"; break;
   81   case 0x19: O << "nge_uq"; break;
   82   case 0x1a: O << "ngt_uq"; break;
   83   case 0x1b: O << "false_os"; break;
   84   case 0x1c: O << "neq_os"; break;
   85   case 0x1d: O << "ge_oq"; break;
   86   case 0x1e: O << "gt_oq"; break;
   87   case 0x1f: O << "true_us"; break;
   93   OS << "vpcom";
   98   case 0: OS << "lt"; break;
   99   case 1: OS << "le"; break;
  100   case 2: OS << "gt"; break;
  101   case 3: OS << "ge"; break;
  102   case 4: OS << "eq"; break;
  103   case 5: OS << "neq"; break;
  104   case 6: OS << "false"; break;
  105   case 7: OS << "true"; break;
  110   case X86::VPCOMBmi:  case X86::VPCOMBri:  OS << "b\t";  break;
  111   case X86::VPCOMDmi:  case X86::VPCOMDri:  OS << "d\t";  break;
  112   case X86::VPCOMQmi:  case X86::VPCOMQri:  OS << "q\t";  break;
  113   case X86::VPCOMUBmi: case X86::VPCOMUBri: OS << "ub\t"; break;
  114   case X86::VPCOMUDmi: case X86::VPCOMUDri: OS << "ud\t"; break;
  115   case X86::VPCOMUQmi: case X86::VPCOMUQri: OS << "uq\t"; break;
  116   case X86::VPCOMUWmi: case X86::VPCOMUWri: OS << "uw\t"; break;
  117   case X86::VPCOMWmi:  case X86::VPCOMWri:  OS << "w\t";  break;
  123   OS << "vpcmp";
  135     OS << "b\t";
  146     OS << "d\t";
  157     OS << "q\t";
  165     OS << "ub\t";
  176     OS << "ud\t";
  187     OS << "uq\t";
  195     OS << "uw\t";
  203     OS << "w\t";
  210   OS << (IsVCmp ? "vcmp" : "cmp");
  229     OS << "pd\t";
  244     OS << "ps\t";
  254     OS << "sd\t";
  264     OS << "ss\t";
  276     O << "{rn-sae}";
  279     O << "{rd-sae}";
  282     O << "{ru-sae}";
  285     O << "{rz-sae}";
  328     O << "\tlock\t";
  331     O << "\tnotrack\t";
  334     O << "\trepne\t";
  336     O << "\trep\t";
lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp
   36   OS << getRegisterName(RegNo);
   47     OS << "\tdata32";
   82       OS << ", ";
  144         OS << " {";
  146         OS << "}";
  148       OS << ", ";
  150       OS << ", ";
  169           OS << "{1to" << NumElts << "}";
  169           OS << "{1to" << NumElts << "}";
  185           OS << ", {sae}";
  204       OS << ", ";
  206       OS << ", ";
  284         OS << " {";
  286         OS << "}";
  288       OS << ", ";
  290       OS << ", ";
  309           OS << "{1to" << NumElts << "}";
  309           OS << "{1to" << NumElts << "}";
  339     O << "offset ";
  363     if (NeedPlus) O << " + ";
  371     if (NeedPlus) O << " + ";
  379           O << " + ";
  381           O << " - ";
  404   O << "es:[";
  442     OS << "st(0)";
lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.h
   59     O << "byte ptr ";
   63     O << "word ptr ";
   67     O << "dword ptr ";
   71     O << "qword ptr ";
   75     O << "xmmword ptr ";
   79     O << "ymmword ptr ";
   83     O << "zmmword ptr ";
   87     O << "tbyte ptr ";
   93     O << "byte ptr ";
   97     O << "word ptr ";
  101     O << "dword ptr ";
  105     O << "qword ptr ";
  109     O << "byte ptr ";
  113     O << "word ptr ";
  117     O << "dword ptr ";
  121     O << "qword ptr ";
  125     O << "byte ptr ";
  129     O << "word ptr ";
  133     O << "dword ptr ";
  137     O << "qword ptr ";
lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
 1298   default: errs() << "FORM: " << Form << "\n";
 1298   default: errs() << "FORM: " << Form << "\n";
 1642     errs() << "Cannot encode all operands of: ";
lib/Target/X86/MCTargetDesc/X86MCExpr.h
   52     OS << X86ATTInstPrinter::getRegisterName(RegNo);
lib/Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp
  101   OS << "\t.cv_fpo_proc\t";
  108   OS << "\t.cv_fpo_endprologue\n";
  113   OS << "\t.cv_fpo_endproc\n";
  119   OS << "\t.cv_fpo_data\t";
  126   OS << "\t.cv_fpo_pushreg\t";
  134   OS << "\t.cv_fpo_stackalloc\t" << StackAlloc << '\n';
  139   OS << "\t.cv_fpo_stackalign\t" << Align << '\n';
  144   OS << "\t.cv_fpo_setframe\t";
  295     case X86::EAX: OS << "$eax"; break;
  296     case X86::EBX: OS << "$ebx"; break;
  297     case X86::ECX: OS << "$ecx"; break;
  298     case X86::EDX: OS << "$edx"; break;
  299     case X86::EDI: OS << "$edi"; break;
  300     case X86::ESI: OS << "$esi"; break;
  301     case X86::ESP: OS << "$esp"; break;
  302     case X86::EBP: OS << "$ebp"; break;
  303     case X86::EIP: OS << "$eip"; break;
  328            << " + = ";
  335       FuncOS << "$T0 " << CFAVar << ' ' << StackOffsetBeforeAlign << " - "
  335       FuncOS << "$T0 " << CFAVar << ' ' << StackOffsetBeforeAlign << " - "
  336              << StackAlign << " @ = ";
  343     FuncOS << CFAVar << " .raSearch = ";
  347   FuncOS << "$eip " << CFAVar << " ^ = ";
  347   FuncOS << "$eip " << CFAVar << " ^ = ";
  348   FuncOS << "$esp " << CFAVar << " 4 + = ";
  348   FuncOS << "$esp " << CFAVar << " 4 + = ";
  353            << " - ^ = ";
lib/Target/X86/X86AsmPrinter.cpp
  171     O << " + [.-";
  180   case X86II::MO_TLSGD:     O << "@TLSGD";     break;
  181   case X86II::MO_TLSLD:     O << "@TLSLD";     break;
  182   case X86II::MO_TLSLDM:    O << "@TLSLDM";    break;
  183   case X86II::MO_GOTTPOFF:  O << "@GOTTPOFF";  break;
  184   case X86II::MO_INDNTPOFF: O << "@INDNTPOFF"; break;
  185   case X86II::MO_TPOFF:     O << "@TPOFF";     break;
  186   case X86II::MO_DTPOFF:    O << "@DTPOFF";    break;
  187   case X86II::MO_NTPOFF:    O << "@NTPOFF";    break;
  188   case X86II::MO_GOTNTPOFF: O << "@GOTNTPOFF"; break;
  189   case X86II::MO_GOTPCREL:  O << "@GOTPCREL";  break;
  190   case X86II::MO_GOT:       O << "@GOT";       break;
  191   case X86II::MO_GOTOFF:    O << "@GOTOFF";    break;
  192   case X86II::MO_PLT:       O << "@PLT";       break;
  193   case X86II::MO_TLVP:      O << "@TLVP";      break;
  195     O << "@TLVP" << '-';
  198   case X86II::MO_SECREL:    O << "@SECREL32";  break;
  211     O << X86ATTInstPrinter::getRegisterName(MO.getReg());
  252   O << X86ATTInstPrinter::getRegisterName(Reg);
  307     O << "+8";
  362     if (NeedPlus) O << " + ";
  370     if (NeedPlus) O << " + ";
  377           O << " + ";
  379           O << " - ";
  427   O << X86ATTInstPrinter::getRegisterName(Reg);
  459           O << "(%rip)";
lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
  682   LLVM_DEBUG(dbgs() << "Start X86AvoidStoreForwardBlocks\n";);
  719     LLVM_DEBUG(dbgs() << "Blocked load and store instructions: \n");
  722     LLVM_DEBUG(dbgs() << "Replaced with:\n");
  734   LLVM_DEBUG(dbgs() << "End X86AvoidStoreForwardBlocks\n";);
lib/Target/X86/X86AvoidTrailingCall.cpp
   95         dbgs() << "inserting int3 after trailing call instruction:\n";
lib/Target/X86/X86CmovConversion.cpp
  163   LLVM_DEBUG(dbgs() << "********** " << getPassName() << " : " << MF.getName()
  163   LLVM_DEBUG(dbgs() << "********** " << getPassName() << " : " << MF.getName()
  164                     << "**********\n");
  770     LLVM_DEBUG(dbgs() << "\tRewritten cmov: "; NewCMOV->dump());
  778       LLVM_DEBUG(dbgs() << "\tRewritten load instr: "; NewMI->dump());
  840     LLVM_DEBUG(dbgs() << "\tFrom: "; MIIt->dump());
  841     LLVM_DEBUG(dbgs() << "\tTo: "; MIB->dump());
lib/Target/X86/X86CondBrFolding.cpp
  163       LLVM_DEBUG(dbgs() << "Dead BB detected!\n");
  380   LLVM_DEBUG(dbgs() << "After optimization:\nRootMBB is: " << *RootMBB << "\n");
  380   LLVM_DEBUG(dbgs() << "After optimization:\nRootMBB is: " << *RootMBB << "\n");
  382     LLVM_DEBUG(dbgs() << "PredMBB is: " << *(BranchPath[0]) << "\n");
  382     LLVM_DEBUG(dbgs() << "PredMBB is: " << *(BranchPath[0]) << "\n");
  389   LLVM_DEBUG(dbgs() << "***** X86CondBr Folding on Function: " << MF.getName()
  390                     << " *****\n");
  402     LLVM_DEBUG(dbgs() << "Work on MBB." << MBB.getNumber()
  403                       << " CmpValue: " << MBBInfo->CmpValue << "\n");
  403                       << " CmpValue: " << MBBInfo->CmpValue << "\n");
  409     LLVM_DEBUG(dbgs() << "Found one path (len=" << BranchPath.size() << "):\n");
  409     LLVM_DEBUG(dbgs() << "Found one path (len=" << BranchPath.size() << "):\n");
  411     LLVM_DEBUG(dbgs() << "Target MBB is: " << MBB << "\n");
  411     LLVM_DEBUG(dbgs() << "Target MBB is: " << MBB << "\n");
  415       LLVM_DEBUG(dbgs() << "Path MBB (" << Index << " of " << BranchPath.size()
  415       LLVM_DEBUG(dbgs() << "Path MBB (" << Index << " of " << BranchPath.size()
  416                         << ") is " << *PMBB);
  417       LLVM_DEBUG(dbgs() << "CC=" << PMBBInfo->BranchCode
  418                         << "  Val=" << PMBBInfo->CmpValue
  419                         << "  CmpBrOnly=" << PMBBInfo->CmpBrOnly << "\n\n");
  419                         << "  CmpBrOnly=" << PMBBInfo->CmpBrOnly << "\n\n");
lib/Target/X86/X86DiscriminateMemOps.cpp
  153           LLVM_DEBUG(dbgs() << "Unable to create a unique discriminator "
  155                      << DI->getFilename() << " Line: " << DI->getLine()
  156                      << " Column: " << DI->getColumn()
  157                      << ". This is likely due to a large macro expansion. \n");
lib/Target/X86/X86DomainReassignment.cpp
  353     dbgs() << "Registers: ";
  357         dbgs() << ", ";
  361     dbgs() << "\n" << "Instructions:";
  361     dbgs() << "\n" << "Instructions:";
  363       dbgs() << "\n  ";
  366     dbgs() << "\n";
  727       dbgs() << "***** Machine Function before Domain Reassignment *****\n");
  785       dbgs() << "***** Machine Function after Domain Reassignment *****\n");
lib/Target/X86/X86FixupBWInsts.cpp
  161   LLVM_DEBUG(dbgs() << "Start X86FixupBWInsts\n";);
  167   LLVM_DEBUG(dbgs() << "End X86FixupBWInsts\n";);
lib/Target/X86/X86FixupLEAs.cpp
  209   LLVM_DEBUG(dbgs() << "Start X86FixupLEAs\n";);
  233   LLVM_DEBUG(dbgs() << "End X86FixupLEAs\n";);
  469       LLVM_DEBUG(dbgs() << "FixLEA: Candidate to replace:"; MBI->dump(););
  471       LLVM_DEBUG(dbgs() << "FixLEA: Replaced by: "; NewMI->dump(););
  502   LLVM_DEBUG(dbgs() << "FixLEA: Candidate to replace:"; I->dump(););
  503   LLVM_DEBUG(dbgs() << "FixLEA: Replaced by: ";);
  567   LLVM_DEBUG(dbgs() << "FixLEA: Candidate to replace:"; MI.dump(););
  568   LLVM_DEBUG(dbgs() << "FixLEA: Replaced by: ";);
lib/Target/X86/X86FlagsCopyLowering.cpp
  338   LLVM_DEBUG(dbgs() << "********** " << getPassName() << " : " << MF.getName()
  338   LLVM_DEBUG(dbgs() << "********** " << getPassName() << " : " << MF.getName()
  339                     << " **********\n");
  387           dbgs() << "ERROR: Encountered unexpected def of an eflags copy: ";
  412     LLVM_DEBUG(dbgs() << "Rewriting copy: "; CopyI->dump());
  493         dbgs() << "  Using EFLAGS defined by: ";
  496         dbgs() << "  Using live-in flags for BB:\n";
  568         LLVM_DEBUG(dbgs() << "  Rewriting use: "; MI.dump());
  663                   << "ERROR: Encountered use that is not dominated by our test "
  668               dbgs() << "Use block:\n";
  705         LLVM_DEBUG(dbgs() << "ERROR: Found a COPY involving EFLAGS: ";
  747   LLVM_DEBUG(dbgs() << "    save cond: "; SetI->dump());
  772   LLVM_DEBUG(dbgs() << "    test cond: "; TestI->dump());
  824   LLVM_DEBUG(dbgs() << "    add cond: "; AddI->dump());
  852   LLVM_DEBUG(dbgs() << "    fixed cmov: "; CMovI.dump());
  874   LLVM_DEBUG(dbgs() << "    fixed jCC: "; JmpI.dump());
lib/Target/X86/X86FloatingPoint.cpp
  173       dbgs() << "Stack contents:";
  175         dbgs() << " FP" << Stack[i];
  443     LLVM_DEBUG(dbgs() << "\nFPInst:\t" << MI);
  473         LLVM_DEBUG(dbgs() << "Register FP#" << Reg - X86::FP0 << " is dead!\n");
  473         LLVM_DEBUG(dbgs() << "Register FP#" << Reg - X86::FP0 << " is dead!\n");
  482         dbgs() << "Just deleted pseudo instruction\n";
  488         dbgs() << "Inserted instructions:\n\t";
  508   LLVM_DEBUG(dbgs() << "\nSetting up live-ins for " << printMBBReference(*MBB)
  509                     << " derived from " << MBB->getName() << ".\n");
  509                     << " derived from " << MBB->getName() << ".\n");
  516     LLVM_DEBUG(dbgs() << "Block has no FP live-ins.\n");
  525     LLVM_DEBUG(dbgs() << "Live-in st(" << (i - 1) << "): %fp"
  525     LLVM_DEBUG(dbgs() << "Live-in st(" << (i - 1) << "): %fp"
  547   LLVM_DEBUG(dbgs() << "Setting up live-outs for " << printMBBReference(*MBB)
  548                     << " derived from " << MBB->getName() << ".\n");
  548                     << " derived from " << MBB->getName() << ".\n");
  560     LLVM_DEBUG(dbgs() << "No live-outs.\n");
  565   LLVM_DEBUG(dbgs() << "LB#" << BundleIdx << ": ");
  565   LLVM_DEBUG(dbgs() << "LB#" << BundleIdx << ": ");
  567     LLVM_DEBUG(dbgs() << "Shuffling stack to match.\n");
  571     LLVM_DEBUG(dbgs() << "Fixing stack order now.\n");
  903     LLVM_DEBUG(dbgs() << "Renaming %fp" << KReg << " as imp %fp" << DReg
  903     LLVM_DEBUG(dbgs() << "Renaming %fp" << KReg << " as imp %fp" << DReg
  904                       << "\n");
  918       LLVM_DEBUG(dbgs() << "Popping %fp" << KReg << "\n");
  918       LLVM_DEBUG(dbgs() << "Popping %fp" << KReg << "\n");
  927     LLVM_DEBUG(dbgs() << "Killing %fp" << KReg << "\n");
  927     LLVM_DEBUG(dbgs() << "Killing %fp" << KReg << "\n");
  935     LLVM_DEBUG(dbgs() << "Defining %fp" << DReg << " as 0\n");
  935     LLVM_DEBUG(dbgs() << "Defining %fp" << DReg << " as 0\n");
 1479     LLVM_DEBUG(dbgs() << "Emitting LD_F0 for implicit FP" << Reg << '\n');
 1585     LLVM_DEBUG(dbgs() << "Asm uses " << NumSTUses << " fixed regs, pops "
 1585     LLVM_DEBUG(dbgs() << "Asm uses " << NumSTUses << " fixed regs, pops "
 1586                       << NumSTPopped << ", and defines " << NumSTDefs
 1587                       << " regs.\n");
 1626       dbgs() << "Before asm: ";
 1676     LLVM_DEBUG(dbgs() << "Inserting dummy KILL\n");
lib/Target/X86/X86ISelDAGToDAG.cpp
  109       dbgs() << "X86ISelAddressMode " << this << '\n';
  110       dbgs() << "Base_Reg ";
  114         dbgs() << "nul\n";
  116         dbgs() << " Base.FrameIndex " << Base_FrameIndex << '\n';
  117       dbgs() << " Scale " << Scale << '\n'
  118              << "IndexReg ";
  120         dbgs() << "negate ";
  124         dbgs() << "nul\n";
  125       dbgs() << " Disp " << Disp << '\n'
  126              << "GV ";
  130         dbgs() << "nul";
  131       dbgs() << " CP ";
  135         dbgs() << "nul";
  137              << "ES ";
  139         dbgs() << ES;
  141         dbgs() << "nul";
  142       dbgs() << " MCSym ";
  146         dbgs() << "nul";
  147       dbgs() << " JT" << JT << " Align" << Align << '\n';
  147       dbgs() << " JT" << JT << " Align" << Align << '\n';
 1849     dbgs() << "MatchAddress: ";
 4355     LLVM_DEBUG(dbgs() << "== "; Node->dump(CurDAG); dbgs() << '\n');
 4776       LLVM_DEBUG(dbgs() << "=> "; ResLo.getNode()->dump(CurDAG);
 4786       LLVM_DEBUG(dbgs() << "=> "; ResHi.getNode()->dump(CurDAG);
 4946       LLVM_DEBUG(dbgs() << "=> "; Result.getNode()->dump(CurDAG);
 4955       LLVM_DEBUG(dbgs() << "=> "; Result.getNode()->dump(CurDAG);
 4964       LLVM_DEBUG(dbgs() << "=> "; Result.getNode()->dump(CurDAG);
lib/Target/X86/X86ISelLowering.cpp
27824     dbgs() << "ReplaceNodeResults: ";
lib/Target/X86/X86InstrInfo.cpp
 3044   LLVM_DEBUG(dbgs() << "Cannot copy " << RI.getName(SrcReg) << " to "
 3044   LLVM_DEBUG(dbgs() << "Cannot copy " << RI.getName(SrcReg) << " to "
 3044   LLVM_DEBUG(dbgs() << "Cannot copy " << RI.getName(SrcReg) << " to "
 3045                     << RI.getName(DestReg) << '\n');
 4651           dbgs() << "WARNING: Unable to update register constraint for operand "
 4652                  << Idx << " of instruction:\n";
 4653           NewMI.dump(); dbgs() << "\n");
 4995     dbgs() << "We failed to fuse operand " << OpNum << " in " << MI;
 4995     dbgs() << "We failed to fuse operand " << OpNum << " in " << MI;
lib/Target/X86/X86InstructionSelector.cpp
  298       LLVM_DEBUG(dbgs() << "Failed to constrain " << TII.getName(I.getOpcode())
  299                         << " operand\n");
  334   LLVM_DEBUG(dbgs() << " C++ instruction selection: "; I.print(dbgs()));
  519       LLVM_DEBUG(dbgs() << "Atomic ordering not supported yet\n");
  523       LLVM_DEBUG(dbgs() << "Unaligned atomics not supported yet\n");
  696     LLVM_DEBUG(dbgs() << "Failed to constrain " << TII.getName(I.getOpcode())
  697                       << " operand\n");
  722                       << " input/output on different banks\n");
  759     LLVM_DEBUG(dbgs() << "Failed to constrain " << TII.getName(I.getOpcode())
  760                       << "\n");
  813       LLVM_DEBUG(dbgs() << "Failed to constrain " << TII.getName(I.getOpcode())
  814                         << " operand\n");
  915     LLVM_DEBUG(dbgs() << "Failed to constrain " << TII.getName(I.getOpcode())
  916                       << " operand\n");
 1222     LLVM_DEBUG(dbgs() << "Failed to constrain EXTRACT_SUBREG\n");
 1259     LLVM_DEBUG(dbgs() << "Failed to constrain INSERT_SUBREG\n");
 1502       LLVM_DEBUG(dbgs() << "Failed to constrain " << TII.getName(I.getOpcode())
 1503                         << " operand\n");
 1637     LLVM_DEBUG(dbgs() << "Failed to constrain " << TII.getName(I.getOpcode())
 1638                       << " operand\n");
lib/Target/X86/X86MCInstLower.cpp
 1665       CS << " {%" << GetRegisterName(WriteMaskOp.getReg()) << "}";
 1665       CS << " {%" << GetRegisterName(WriteMaskOp.getReg()) << "}";
 1668         CS << " {z}";
 1673   CS << " = ";
 1677       CS << ",";
 1679       CS << "zero";
 1696         CS << "u";
 1714     CS << "(";
 1717         CS << ",";
 1720     CS << ")";
 1733     CS << "u";
 1739     CS << "?";
 2285       CS << X86ATTInstPrinter::getRegisterName(DstOp.getReg()) << " = ";
 2285       CS << X86ATTInstPrinter::getRegisterName(DstOp.getReg()) << " = ";
 2287         CS << "0x" << CF->getValueAPF().bitcastToAPInt().toString(16, false);
 2366       CS << X86ATTInstPrinter::getRegisterName(DstOp.getReg()) << " = ";
 2366       CS << X86ATTInstPrinter::getRegisterName(DstOp.getReg()) << " = ";
 2368         CS << "[";
 2373               CS << ",";
 2381               CS << "?";
 2384         CS << "]";
 2387         CS << "<";
 2392               CS << ",";
 2396         CS << ">";
 2476       CS << X86ATTInstPrinter::getRegisterName(DstOp.getReg()) << " = ";
 2476       CS << X86ATTInstPrinter::getRegisterName(DstOp.getReg()) << " = ";
 2477       CS << "[";
 2480           CS << ",";
 2483       CS << "]";
lib/Target/X86/X86OptimizeLEAs.cpp
  549     LLVM_DEBUG(dbgs() << "OptimizeLEAs: Candidate to replace: "; MI.dump(););
  561     LLVM_DEBUG(dbgs() << "OptimizeLEAs: Replaced by: "; MI.dump(););
  654         LLVM_DEBUG(dbgs() << "OptimizeLEAs: Remove redundant LEA: ";
lib/Target/X86/X86SpeculativeLoadHardening.cpp
  314   LLVM_DEBUG(dbgs() << "  Split edge from '" << MBB.getName() << "' to '"
  314   LLVM_DEBUG(dbgs() << "  Split edge from '" << MBB.getName() << "' to '"
  315                     << Succ.getName() << "'.\n");
  399   LLVM_DEBUG(dbgs() << "********** " << getPassName() << " : " << MF.getName()
  399   LLVM_DEBUG(dbgs() << "********** " << getPassName() << " : " << MF.getName()
  400                     << " **********\n");
  554   LLVM_DEBUG(dbgs() << "Final speculative load hardened function:\n"; MF.dump();
  555              dbgs() << "\n"; MF.verify(this));
  671       LLVM_DEBUG(dbgs() << "WARNING: unable to secure successors of block:\n";
  703     LLVM_DEBUG(dbgs() << "Tracing predicate through block: " << MBB.getName()
  704                       << "\n");
  767             LLVM_DEBUG(dbgs() << "  Inserting cmov: "; CMovI->dump();
  768                        dbgs() << "\n");
  867             dbgs() << "ERROR: Found an unexpected loading branch or call "
  869             MI.dump(); dbgs() << "\n");
  906                          << "ERROR: Unable to unfold load from instruction:\n";
  907                      MI.dump(); dbgs() << "\n");
  925           dbgs() << "Unfolded load successfully into:\n";
  928             dbgs() << "\n";
 1027         dbgs() << "ERROR: Found other terminators in a block with an indirect "
 1092           dbgs() << "ERROR: Found conditional entry to target of indirect "
 1114         LLVM_DEBUG(dbgs() << "  Inserting mov: "; AddrI->dump();
 1115                    dbgs() << "\n");
 1126         LLVM_DEBUG(dbgs() << "  Inserting lea: "; AddrI->dump();
 1127                    dbgs() << "\n");
 1153       LLVM_DEBUG(dbgs() << "  Inserting cmp: "; CheckI->dump(); dbgs() << "\n");
 1153       LLVM_DEBUG(dbgs() << "  Inserting cmp: "; CheckI->dump(); dbgs() << "\n");
 1166       LLVM_DEBUG(dbgs() << "  Inserting lea: "; AddrI->dump(); dbgs() << "\n");
 1166       LLVM_DEBUG(dbgs() << "  Inserting lea: "; AddrI->dump(); dbgs() << "\n");
 1172       LLVM_DEBUG(dbgs() << "  Inserting cmp: "; CheckI->dump(); dbgs() << "\n");
 1172       LLVM_DEBUG(dbgs() << "  Inserting cmp: "; CheckI->dump(); dbgs() << "\n");
 1186     LLVM_DEBUG(dbgs() << "  Inserting cmov: "; CMovI->dump(); dbgs() << "\n");
 1186     LLVM_DEBUG(dbgs() << "  Inserting cmov: "; CMovI->dump(); dbgs() << "\n");
 1350       LLVM_DEBUG(dbgs() << "    Unable to harden post-load due to EFLAGS: ";
 1351                  MI.dump(); dbgs() << "\n");
 1519       LLVM_DEBUG(dbgs() << "    Unable to harden post-load due to EFLAGS: ";
 1520                  MI.dump(); dbgs() << "\n");
 1705                          << "WARNING: unable to harden loading instruction: ";
 1962         dbgs() << "  Skipping hardening base of explicit stack frame load: ";
 1963         MI.dump(); dbgs() << "\n");
 1971         dbgs() << "  Cannot harden base of explicit RSP offset in a load!");
 1983         dbgs() << "  Cannot harden base of "
 1984                << (BaseMO.getReg() == X86::RIP ? "RIP-relative" : "no-base")
 1985                << " address in a load!");
 2054       LLVM_DEBUG(dbgs() << "  Inserting mov: "; MovI->dump(); dbgs() << "\n");
 2054       LLVM_DEBUG(dbgs() << "  Inserting mov: "; MovI->dump(); dbgs() << "\n");
 2065       LLVM_DEBUG(dbgs() << "  Inserting broadcast: "; BroadcastI->dump();
 2066                  dbgs() << "\n");
 2076       LLVM_DEBUG(dbgs() << "  Inserting or: "; OrI->dump(); dbgs() << "\n");
 2076       LLVM_DEBUG(dbgs() << "  Inserting or: "; OrI->dump(); dbgs() << "\n");
 2096       LLVM_DEBUG(dbgs() << "  Inserting broadcast: "; BroadcastI->dump();
 2097                  dbgs() << "\n");
 2107       LLVM_DEBUG(dbgs() << "  Inserting or: "; OrI->dump(); dbgs() << "\n");
 2107       LLVM_DEBUG(dbgs() << "  Inserting or: "; OrI->dump(); dbgs() << "\n");
 2120         LLVM_DEBUG(dbgs() << "  Inserting or: "; OrI->dump(); dbgs() << "\n");
 2120         LLVM_DEBUG(dbgs() << "  Inserting or: "; OrI->dump(); dbgs() << "\n");
 2130         LLVM_DEBUG(dbgs() << "  Inserting shrx: "; ShiftI->dump();
 2131                    dbgs() << "\n");
 2313   LLVM_DEBUG(dbgs() << "  Inserting or: "; OrI->dump(); dbgs() << "\n");
 2313   LLVM_DEBUG(dbgs() << "  Inserting or: "; OrI->dump(); dbgs() << "\n");
 2567   LLVM_DEBUG(dbgs() << "  Inserting cmov: "; CMovI->dump(); dbgs() << "\n");
 2567   LLVM_DEBUG(dbgs() << "  Inserting cmov: "; CMovI->dump(); dbgs() << "\n");
lib/Target/X86/X86Subtarget.cpp
  281   LLVM_DEBUG(dbgs() << "Subtarget features: SSELevel " << X86SSELevel
  282                     << ", 3DNowLevel " << X863DNowLevel << ", 64bit "
  282                     << ", 3DNowLevel " << X863DNowLevel << ", 64bit "
  283                     << HasX86_64 << "\n");
lib/Target/X86/X86VZeroUpper.cpp
  266   LLVM_DEBUG(dbgs() << "MBB #" << MBB.getNumber() << " exit state: "
  266   LLVM_DEBUG(dbgs() << "MBB #" << MBB.getNumber() << " exit state: "
  267                     << getBlockExitStateName(CurState) << '\n');
  341       LLVM_DEBUG(dbgs() << "MBB #" << MBB.getNumber()
  342                         << " was Pass-through, is now Dirty-out.\n");
lib/Target/X86/X86WinEHState.cpp
  694     LLVM_DEBUG(dbgs() << "X86WinEHState: " << BB->getName()
  695                       << " InitialState=" << InitialState << '\n');
  696     LLVM_DEBUG(dbgs() << "X86WinEHState: " << BB->getName()
  697                       << " FinalState=" << FinalState << '\n');
  742     LLVM_DEBUG(dbgs() << "X86WinEHState: " << BB->getName()
  743                       << " PrevState=" << PrevState << '\n');
lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.cpp
  102   OS << "\t.cc_top " << Name << ".data," << Name << '\n';
  102   OS << "\t.cc_top " << Name << ".data," << Name << '\n';
  106   OS << "\t.cc_top " << Name << ".function," << Name << '\n';
  106   OS << "\t.cc_top " << Name << ".function," << Name << '\n';
  110   OS << "\t.cc_bottom " << Name << ".data\n";
  110   OS << "\t.cc_bottom " << Name << ".data\n";
  114   OS << "\t.cc_bottom " << Name << ".function\n";
  114   OS << "\t.cc_bottom " << Name << ".function\n";
lib/Target/XCore/XCoreAsmPrinter.cpp
  193   O << "\t" << directive << " ";
  193   O << "\t" << directive << " ";
  197       O << ",";
  208     O << XCoreInstPrinter::getRegisterName(MO.getReg());
  220     O << DL.getPrivateGlobalPrefix() << "CPI" << getFunctionNumber() << '_'
  268       O << "\tmov "
  269         << XCoreInstPrinter::getRegisterName(MI->getOperand(0).getReg()) << ", "
  269         << XCoreInstPrinter::getRegisterName(MI->getOperand(0).getReg()) << ", "
  270         << XCoreInstPrinter::getRegisterName(MI->getOperand(1).getReg());
  277     O << "\tbru "
  278       << XCoreInstPrinter::getRegisterName(MI->getOperand(1).getReg()) << '\n';
lib/Target/XCore/XCoreFrameLowering.cpp
  509         errs() << "eliminateCallFramePseudoInstr size too big: "
  510                << Amount << "\n";
lib/Target/XCore/XCoreISelLowering.cpp
 1306           errs() << "LowerFormalArguments Unhandled argument type: "
 1307                  << RegVT.getEVTString() << "\n";
 1323         errs() << "LowerFormalArguments Unhandled argument type: "
 1325                << "\n";
lib/Target/XCore/XCoreRegisterInfo.cpp
  276   LLVM_DEBUG(errs() << "\nFunction         : " << MF.getName() << "\n");
  276   LLVM_DEBUG(errs() << "\nFunction         : " << MF.getName() << "\n");
  277   LLVM_DEBUG(errs() << "<--------->\n");
  279   LLVM_DEBUG(errs() << "FrameIndex         : " << FrameIndex << "\n");
  279   LLVM_DEBUG(errs() << "FrameIndex         : " << FrameIndex << "\n");
  280   LLVM_DEBUG(errs() << "FrameOffset        : " << Offset << "\n");
  280   LLVM_DEBUG(errs() << "FrameOffset        : " << Offset << "\n");
  281   LLVM_DEBUG(errs() << "StackSize          : " << StackSize << "\n");
  281   LLVM_DEBUG(errs() << "StackSize          : " << StackSize << "\n");
  300   LLVM_DEBUG(errs() << "Offset             : " << Offset << "\n"
  300   LLVM_DEBUG(errs() << "Offset             : " << Offset << "\n"
  301                     << "<--------->\n");
lib/Testing/Support/Annotations.cpp
   21     llvm::errs() << "Annotated testcase: " << Msg << "\n" << Code << "\n";
   21     llvm::errs() << "Annotated testcase: " << Msg << "\n" << Code << "\n";
   21     llvm::errs() << "Annotated testcase: " << Msg << "\n" << Code << "\n";
   21     llvm::errs() << "Annotated testcase: " << Msg << "\n" << Code << "\n";
lib/TextAPI/ELF/TBEHandler.cpp
   45       Out << "x86_64";
   48       Out << "AArch64";
   52       Out << "Unknown";
lib/TextAPI/MachO/TextStub.cpp
  378     OS << Value.Arch << "-";
  381       OS << "unknown";
  384       OS << "macos";
  387       OS << "ios";
  390       OS << "tvos";
  393       OS << "watchos";
  396       OS << "bridgeos";
  399       OS << "maccatalyst";
  402       OS << "ios-simulator";
  405       OS << "tvos-simulator";
  408       OS << "watchos-simulator";
lib/TextAPI/MachO/TextStubCommon.cpp
   53     OS << "zippered";
   63     OS << "macosx";
   66     OS << "ios";
   69     OS << "watchos";
   72     OS << "tvos";
   75     OS << "bridgeos";
  159     OS << "1.0";
  162     OS << "1.1";
  165     OS << "2.0";
  168     OS << "3.0";
  207   OS << Value.first << ": " << Value.second;
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
   61     llvm::errs() << "cannot open file " << Path << ": " << EC.message() << "\n";
   61     llvm::errs() << "cannot open file " << Path << ": " << EC.message() << "\n";
   61     llvm::errs() << "cannot open file " << Path << ": " << EC.message() << "\n";
   84     llvm::errs() << Args.getArgString(MissingIndex) << ": missing argument\n";
   84     llvm::errs() << Args.getArgString(MissingIndex) << ": missing argument\n";
   93     llvm::outs() << "\nTARGETS: i386, i386:x86-64, arm, arm64\n";
   98     llvm::errs() << "error: no target machine specified\n"
   99                  << "supported targets: i386, i386:x86-64, arm, arm64\n";
  104     llvm::errs() << "ignoring unknown argument: " << Arg->getAsString(Args)
  105                  << "\n";
  108     llvm::errs() << "no definition file specified\n";
  118     llvm::errs() << "definition file empty\n";
  127     llvm::errs() << "unknown target\n";
  135     llvm::errs() << "error parsing definition\n"
  145     llvm::errs() << "no DLL name specified\n";
lib/ToolDrivers/llvm-lib/LibDriver.cpp
  108     llvm::errs() << "error opening '" << File << "': " << EIB.message() << '\n';
  108     llvm::errs() << "error opening '" << File << "': " << EIB.message() << '\n';
  150                  << ": failed to open: " << EC.message() << '\n';
  159     llvm::errs() << MB.getBufferIdentifier() << ": unknown machine: " << Machine
  171                  << ": failed to get target triple from bitcode\n";
  186                  << ": unknown arch in target triple " << *TripleStr << '\n';
  199                  << ": not a COFF object, bitcode, archive or resource file\n";
  216           llvm::errs() << MB.getBufferIdentifier() << ": " << EIB.message()
  217                        << "\n";
  252         llvm::errs() << MB.getBufferIdentifier() << ": file machine type "
  254                      << " conflicts with library machine type "
  279     llvm::errs() << "missing arg value for \""
  280                  << Args.getArgString(MissingIndex) << "\", expected "
  280                  << Args.getArgString(MissingIndex) << "\", expected "
  282                  << (MissingCount == 1 ? " argument.\n" : " arguments.\n");
  286     llvm::errs() << "ignoring unknown argument: " << Arg->getAsString(Args)
  287                  << "\n";
  311       llvm::errs() << "unknown /machine: arg " << Arg->getValue() << '\n';
  311       llvm::errs() << "unknown /machine: arg " << Arg->getValue() << '\n';
  327       llvm::errs() << Arg->getValue() << ": no such file or directory\n";
  327       llvm::errs() << Arg->getValue() << ": no such file or directory\n";
  373       llvm::errs() << OutputPath << ": " << EI.message() << "\n";
  373       llvm::errs() << OutputPath << ": " << EI.message() << "\n";
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  305           LLVM_DEBUG(dbgs() << "Recognized popcount intrinsic\n");
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
  408           dbgs() << "ICE: TruncInstCombine reducing type of expression dag "
lib/Transforms/Coroutines/CoroFrame.cpp
  110     LLVM_DEBUG(dbgs() << UseBB->getName() << " => " << DefBB->getName()
  111                       << " answer is " << Result << "\n");
  111                       << " answer is " << Result << "\n");
  160   dbgs() << Label << ":";
  163       dbgs() << " " << Mapping.indexToBlock(I)->getName();
  164   dbgs() << "\n";
  170     dbgs() << B->getName() << ":\n";
  174   dbgs() << "\n";
  219     LLVM_DEBUG(dbgs() << "iteration " << ++Iteration);
  220     LLVM_DEBUG(dbgs() << "==============\n");
  264           LLVM_DEBUG(dbgs() << "\nblock " << I << " follower " << SI->getName()
  264           LLVM_DEBUG(dbgs() << "\nblock " << I << " follower " << SI->getName()
  265                             << "\n");
  270           LLVM_DEBUG(dbgs() << "\nblock " << I << " follower " << SI << "\n");
  270           LLVM_DEBUG(dbgs() << "\nblock " << I << " follower " << SI << "\n");
  270           LLVM_DEBUG(dbgs() << "\nblock " << I << " follower " << SI << "\n");
  323   dbgs() << "------------- " << Title << "--------------\n";
  323   dbgs() << "------------- " << Title << "--------------\n";
  330     dbgs() << "   user: ";
  535           dbgs() << "AllocaInst copy was triggered by instruction: "
  536                  << *PointerEscapingInstr << "\n");
lib/Transforms/Coroutines/CoroSplit.cpp
 1324       OS << "While splitting coroutine ";
 1326       OS << "\n";
 1564       LLVM_DEBUG(dbgs() << "CoroSplit: Processing coroutine '" << F->getName()
 1565                         << "' state: " << Value << "\n");
 1565                         << "' state: " << Value << "\n");
lib/Transforms/Coroutines/Coroutines.cpp
  544     errs() << "  Value: ";
lib/Transforms/Hello/Hello.cpp
   32       errs() << "Hello: ";
   50       errs() << "Hello: ";
lib/Transforms/IPO/ArgumentPromotion.cpp
  226   LLVM_DEBUG(dbgs() << "ARG PROMOTION:  Promoting to:" << *NF << "\n"
  226   LLVM_DEBUG(dbgs() << "ARG PROMOTION:  Promoting to:" << *NF << "\n"
  227                     << "From: " << *F);
  435         LLVM_DEBUG(dbgs() << "*** Promoted load of argument '" << I->getName()
  436                           << "' in function '" << F->getName() << "'\n");
  436                           << "' in function '" << F->getName() << "'\n");
  462         LLVM_DEBUG(dbgs() << "*** Promoted agg argument '" << TheArg->getName()
  463                           << "' of function '" << NF->getName() << "'\n");
  463                           << "' of function '" << NF->getName() << "'\n");
  726         LLVM_DEBUG(dbgs() << "argpromotion not promoting argument '"
  728                           << "' because it would require adding more "
  729                           << "than " << MaxElements
  730                           << " arguments to the function.\n");
  959           LLVM_DEBUG(dbgs() << "argpromotion disable promoting argument '"
  961                             << "' because it would require adding more"
  962                             << " than " << MaxElements
  963                             << " arguments to the function.\n");
lib/Transforms/IPO/Attributor.cpp
  320   LLVM_DEBUG(dbgs() << "[Attributor] Update: " << *this << "\n");
  320   LLVM_DEBUG(dbgs() << "[Attributor] Update: " << *this << "\n");
  324   LLVM_DEBUG(dbgs() << "[Attributor] Update " << HasChanged << " " << *this
  324   LLVM_DEBUG(dbgs() << "[Attributor] Update " << HasChanged << " " << *this
  325                     << "\n");
  536   LLVM_DEBUG(dbgs() << "[Attributor] Clamp return value states for "
  538                     << " into " << S << "\n");
  538                     << " into " << S << "\n");
  555     LLVM_DEBUG(dbgs() << "[Attributor] RV: " << RV << " AA: " << AA.getAsStr()
  555     LLVM_DEBUG(dbgs() << "[Attributor] RV: " << RV << " AA: " << AA.getAsStr()
  556                       << " @ " << RVPos << "\n");
  556                       << " @ " << RVPos << "\n");
  562     LLVM_DEBUG(dbgs() << "[Attributor] AA State: " << AAS << " RV State: " << T
  562     LLVM_DEBUG(dbgs() << "[Attributor] AA State: " << AAS << " RV State: " << T
  563                       << "\n");
  610   LLVM_DEBUG(dbgs() << "[Attributor] Clamp call site argument states for "
  612                     << " into " << S << "\n");
  612                     << " into " << S << "\n");
  633     LLVM_DEBUG(dbgs() << "[Attributor] ACS: " << *ACS.getInstruction()
  634                       << " AA: " << AA.getAsStr() << " @" << ACSArgPos << "\n");
  634                       << " AA: " << AA.getAsStr() << " @" << ACSArgPos << "\n");
  634                       << " AA: " << AA.getAsStr() << " @" << ACSArgPos << "\n");
  640     LLVM_DEBUG(dbgs() << "[Attributor] AA State: " << AAS << " CSA State: " << T
  640     LLVM_DEBUG(dbgs() << "[Attributor] AA State: " << AAS << " CSA State: " << T
  641                       << "\n");
 1100         dbgs() << "[AAReturnedValues] 1 Add new returned value " << Val
 1101                << " => " << RVS.RetInsts.size() << "\n";
 1101                << " => " << RVS.RetInsts.size() << "\n";
 1130     LLVM_DEBUG(dbgs() << "[AAReturnedValues] Returned value: " << *It.first
 1131                       << " by #" << It.second.size() << " RIs\n");
 1131                       << " by #" << It.second.size() << " RIs\n");
 1137       LLVM_DEBUG(dbgs() << "[AAReturnedValues] Unresolved call: " << *CB
 1138                         << "\n");
 1146     LLVM_DEBUG(dbgs() << "[AAReturnedValues] Found another AAReturnedValues: "
 1148                       << "\n");
 1153       LLVM_DEBUG(dbgs() << "[AAReturnedValues] Unresolved call: " << *CB
 1154                         << "\n");
 1177       LLVM_DEBUG(dbgs() << "[AAReturnedValues] transitively returned value "
 1179                         << *RetVal << "\n");
 1191       LLVM_DEBUG(dbgs() << "[AAReturnedValues] Skip call as it has not "
 1225         LLVM_DEBUG(dbgs() << "[AAReturnedValues] Add new returned value "
 1226                           << *It.first << " => " << *RI << "\n");
 1226                           << *It.first << " => " << *RI << "\n");
 1981     LLVM_DEBUG(dbgs() << "[Attributor][AANoAliasCSArg] " << V
 1982                       << " is assumed NoAlias in the definition\n");
 1991           dbgs() << "[Attributor][AANoAliasCSArg] " << V
 1992                  << " cannot be noalias as it is potentially captured\n");
 2010                      << "[Attributor][NoAliasCSArg] Check alias between "
 2012                      << AAR->isNoAlias(&getAssociatedValue(), ArgOp) << " "
 2013                      << getAssociatedValue() << " " << *ArgOp << " => "
 2013                      << getAssociatedValue() << " " << *ArgOp << " => "
 2014                      << (IsAliasing ? "" : "no-") << "alias \n");
 2014                      << (IsAliasing ? "" : "no-") << "alias \n");
 2175                          << "[AAIsDead] Replace invoke with call inst\n");
 2407   LLVM_DEBUG(dbgs() << "[AAIsDead] AssumedLiveBlocks: "
 2408                     << AssumedLiveBlocks.size() << " Total number of blocks: "
 2409                     << getAssociatedFunction()->size() << "\n");
 3059     LLVM_DEBUG(dbgs() << "Check use: " << *U->get() << " in " << *UInst
 3059     LLVM_DEBUG(dbgs() << "Check use: " << *U->get() << " in " << *UInst
 3060                       << "\n");
 3065       LLVM_DEBUG(dbgs() << " - too many uses to explore!\n");
 3072       LLVM_DEBUG(dbgs() << " - ptr2int assume the worst!\n");
 3123     LLVM_DEBUG(dbgs() << " - captures [Mem " << CapturedInMem << "|Int "
 3123     LLVM_DEBUG(dbgs() << " - captures [Mem " << CapturedInMem << "|Int "
 3124                       << CapturedInInt << "|Ret " << CapturedInRet << "]\n");
 3124                       << CapturedInInt << "|Ret " << CapturedInRet << "]\n");
 3357     LLVM_DEBUG(dbgs() << "[Attributor][ValueSimplify] " << QueryingValue
 3358                       << " is assumed to be "
 3359                       << QueryingValueSimplifiedUnwrapped << "\n");
 3377         LLVM_DEBUG(dbgs() << "[Attributor][ValueSimplify] " << V << " -> " << *C
 3377         LLVM_DEBUG(dbgs() << "[Attributor][ValueSimplify] " << V << " -> " << *C
 3378                           << "\n");
 3471             dbgs() << "[Attributor][ValueSimplify] Can't be stripped more : "
 3472                    << V << "\n");
 3564         LLVM_DEBUG(dbgs() << "H2S: Removing free call: " << *FreeCall << "\n");
 3564         LLVM_DEBUG(dbgs() << "H2S: Removing free call: " << *FreeCall << "\n");
 3569       LLVM_DEBUG(dbgs() << "H2S: Removing malloc call: " << *MallocCall
 3570                         << "\n");
 3653           LLVM_DEBUG(dbgs() << "[H2S] escaping store to memory: " << *UserI << "\n");
 3653           LLVM_DEBUG(dbgs() << "[H2S] escaping store to memory: " << *UserI << "\n");
 3688           LLVM_DEBUG(dbgs() << "[H2S] Bad user: " << *UserI << "\n");
 3688           LLVM_DEBUG(dbgs() << "[H2S] Bad user: " << *UserI << "\n");
 3701       LLVM_DEBUG(dbgs() << "[H2S] Unknown user: " << *UserI << "\n");
 3701       LLVM_DEBUG(dbgs() << "[H2S] Unknown user: " << *UserI << "\n");
 4109     LLVM_DEBUG(dbgs() << "[AAMemoryBehavior] Use: " << **U << " in " << *UserI
 4109     LLVM_DEBUG(dbgs() << "[AAMemoryBehavior] Use: " << **U << " in " << *UserI
 4110                       << " [Dead: " << (LivenessAA.isAssumedDead(UserI))
 4111                       << "]\n");
 4252     LLVM_DEBUG(dbgs() << "[Attributor] No function associated with " << IRP
 4253                       << "\n");
 4267         << "[Attributor] Function " << Fn.getName()
 4268         << " has no internal linkage, hence not all call sites are known\n");
 4275       LLVM_DEBUG(dbgs() << "[Attributor] Function "
 4277                         << " has non call site use " << *U.get() << " in "
 4277                         << " has non call site use " << *U.get() << " in "
 4278                         << *U.getUser() << "\n");
 4303       LLVM_DEBUG(dbgs() << "[Attributor] User " << EffectiveUse->getUser()
 4304                         << " is an invalid use of "
 4305                         << Fn.getName() << "\n");
 4312     LLVM_DEBUG(dbgs() << "[Attributor] Call site callback failed for "
 4313                       << *ACS.getInstruction() << "\n");
 4448   LLVM_DEBUG(dbgs() << "[Attributor] Identified and initialized "
 4450                     << " abstract attributes.\n");
 4466     LLVM_DEBUG(dbgs() << "\n\n[Attributor] #Iteration: " << IterationCounter
 4467                       << ", Worklist size: " << Worklist.size() << "\n");
 4467                       << ", Worklist size: " << Worklist.size() << "\n");
 4473           dbgs() << "[Attributor] Run all AAs to recompute dependences\n");
 4487     LLVM_DEBUG(dbgs() << "[Attributor] #Iteration: " << IterationCounter
 4488                       << ", Worklist+Dependent size: " << Worklist.size()
 4489                       << "\n");
 4518   LLVM_DEBUG(dbgs() << "\n[Attributor] Fixpoint iteration done after: "
 4519                     << IterationCounter << "/" << MaxFixpointIterations
 4520                     << " iterations\n");
 4548       dbgs() << "\n[Attributor] Finalized " << Visited.size()
 4549              << " abstract attributes.\n";
 4585   LLVM_DEBUG(dbgs() << "\n[Attributor] Manifested " << NumManifested
 4586                     << " arguments while " << NumAtFixpoint
 4587                     << " were in a valid fixpoint state\n");
 4599     LLVM_DEBUG(dbgs() << "\n[Attributor] Delete at least "
 4600                       << ToBeDeletedFunctions.size() << " functions and "
 4601                       << ToBeDeletedBlocks.size() << " blocks and "
 4602                       << ToBeDeletedInsts.size() << " instructions\n");
 4660     errs() << "\n[Attributor] Fixpoint iteration done after: "
 4661            << IterationCounter << "/" << MaxFixpointIterations
 4662            << " iterations\n";
 4863   return OS << (S == ChangeStatus::CHANGED ? "changed" : "unchanged");
 4869     return OS << "inv";
 4871     return OS << "flt";
 4873     return OS << "fn_ret";
 4875     return OS << "cs_ret";
 4877     return OS << "fn";
 4879     return OS << "cs";
 4881     return OS << "arg";
 4883     return OS << "cs_arg";
 4890   return OS << "{" << Pos.getPositionKind() << ":" << AV.getName() << " ["
 4890   return OS << "{" << Pos.getPositionKind() << ":" << AV.getName() << " ["
 4890   return OS << "{" << Pos.getPositionKind() << ":" << AV.getName() << " ["
 4891             << Pos.getAnchorValue().getName() << "@" << Pos.getArgNo() << "]}";
 4891             << Pos.getAnchorValue().getName() << "@" << Pos.getArgNo() << "]}";
 4898   return OS << "(" << S.getKnown() << "-" << S.getAssumed() << ")"
 4898   return OS << "(" << S.getKnown() << "-" << S.getAssumed() << ")"
 4898   return OS << "(" << S.getKnown() << "-" << S.getAssumed() << ")"
 4903   return OS << (!S.isValidState() ? "top" : (S.isAtFixpoint() ? "fix" : ""));
 4912   OS << "[P: " << getIRPosition() << "][" << getAsStr() << "][S: " << getState()
 4912   OS << "[P: " << getIRPosition() << "][" << getAsStr() << "][S: " << getState()
 4912   OS << "[P: " << getIRPosition() << "][" << getAsStr() << "][S: " << getState()
 4913      << "]";
 4925   LLVM_DEBUG(dbgs() << "[Attributor] Run on module with " << M.size()
 4926                     << " functions.\n");
lib/Transforms/IPO/BlockExtractor.cpp
  200       LLVM_DEBUG(dbgs() << "BlockExtractor: Extracting "
  201                         << BB->getParent()->getName() << ":" << BB->getName()
  202                         << "\n");
  212       LLVM_DEBUG(dbgs() << "Extracted group '" << (*BBs.begin())->getName()
  213                         << "' in: " << F->getName() << '\n');
  215       LLVM_DEBUG(dbgs() << "Failed to extract for group '"
  216                         << (*BBs.begin())->getName() << "'\n");
  222       LLVM_DEBUG(dbgs() << "BlockExtractor: Trying to delete " << F->getName()
  223                         << "\n");
lib/Transforms/IPO/CalledValuePropagation.cpp
  193       OS << "Undefined  ";
  195       OS << "Overdefined";
  197       OS << "Untracked  ";
  199       OS << "FunctionSet";
  205       OS << "<reg> ";
  207       OS << "<mem> ";
  209       OS << "<ret> ";
lib/Transforms/IPO/ConstantMerge.cpp
  118   LLVM_DEBUG(dbgs() << "Replacing global: @" << Old->getName() << " -> @"
  118   LLVM_DEBUG(dbgs() << "Replacing global: @" << Old->getName() << " -> @"
  119                     << New->getName() << "\n");
  192         LLVM_DEBUG(dbgs() << "Cmap[" << *Init << "] = " << GV->getName()
  192         LLVM_DEBUG(dbgs() << "Cmap[" << *Init << "] = " << GV->getName()
  193                           << (FirstConstantFound ? "\n" : " (updated)\n"));
  227       LLVM_DEBUG(dbgs() << "Will replace: @" << GV->getName() << " -> @"
  227       LLVM_DEBUG(dbgs() << "Will replace: @" << GV->getName() << " -> @"
  228                         << Slot->getName() << "\n");
lib/Transforms/IPO/DeadArgumentElimination.cpp
  535     LLVM_DEBUG(dbgs() << "DeadArgumentEliminationPass - " << F.getName()
  536                       << " has musttail calls\n");
  545       dbgs() << "DeadArgumentEliminationPass - Inspecting callers for fn: "
  546              << F.getName() << "\n");
  613     LLVM_DEBUG(dbgs() << "DeadArgumentEliminationPass - " << F.getName()
  614                       << " has musttail callers\n");
  621   LLVM_DEBUG(dbgs() << "DeadArgumentEliminationPass - Inspecting args for fn: "
  622                     << F.getName() << "\n");
  681   LLVM_DEBUG(dbgs() << "DeadArgumentEliminationPass - Intrinsically live fn: "
  682                     << F.getName() << "\n");
  703   LLVM_DEBUG(dbgs() << "DeadArgumentEliminationPass - Marking "
  704                     << RA.getDescription() << " live\n");
  762       LLVM_DEBUG(dbgs() << "DeadArgumentEliminationPass - Removing argument "
  763                         << i << " (" << I->getName() << ") from "
  763                         << i << " (" << I->getName() << ") from "
  764                         << F->getName() << "\n");
  808             dbgs() << "DeadArgumentEliminationPass - Removing return value "
  809                    << i << " from " << F->getName() << "\n");
  809                    << i << " from " << F->getName() << "\n");
 1092   LLVM_DEBUG(dbgs() << "DeadArgumentEliminationPass - Deleting dead varargs\n");
 1103   LLVM_DEBUG(dbgs() << "DeadArgumentEliminationPass - Determining liveness\n");
lib/Transforms/IPO/ForceFunctionAttrs.cpp
   79       LLVM_DEBUG(dbgs() << "ForcedAttribute: " << KV.second
   80                         << " unknown or not handled!\n");
lib/Transforms/IPO/FunctionAttrs.cpp
 1066         LLVM_DEBUG(dbgs() << "Eagerly marking " << F->getName()
 1067                           << " as nonnull\n");
 1086       LLVM_DEBUG(dbgs() << "SCC marking " << F->getName() << " as nonnull\n");
 1086       LLVM_DEBUG(dbgs() << "SCC marking " << F->getName() << " as nonnull\n");
 1291         LLVM_DEBUG(dbgs() << "Removing convergent attr from fn " << F.getName()
 1292                           << "\n");
 1313                      << "Adding nounwind attr to fn " << F.getName() << "\n");
 1313                      << "Adding nounwind attr to fn " << F.getName() << "\n");
 1336                      << "Adding nofree attr to fn " << F.getName() << "\n");
 1336                      << "Adding nofree attr to fn " << F.getName() << "\n");
lib/Transforms/IPO/FunctionImport.cpp
  151   LLVM_DEBUG(dbgs() << "Loading '" << FileName << "'\n");
  151   LLVM_DEBUG(dbgs() << "Loading '" << FileName << "'\n");
  289           dbgs() << "Ref ignored! Target already in destination module.\n");
  293     LLVM_DEBUG(dbgs() << " ref -> " << VI << "\n");
  293     LLVM_DEBUG(dbgs() << " ref -> " << VI << "\n");
  359     LLVM_DEBUG(dbgs() << " edge -> " << VI << " Threshold:" << Threshold
  359     LLVM_DEBUG(dbgs() << " edge -> " << VI << " Threshold:" << Threshold
  360                       << "\n");
  363       LLVM_DEBUG(dbgs() << "ignored! import-cutoff value of " << ImportCutoff
  364                         << " reached.\n");
  373       LLVM_DEBUG(dbgs() << "ignored! Target already in destination module.\n");
  411             dbgs() << "ignored! Target was already imported with Threshold "
  412                    << ProcessedThreshold << "\n");
  423             dbgs() << "ignored! Target was already rejected with Threshold "
  424             << ProcessedThreshold << "\n");
  457             dbgs() << "ignored! No qualifying callee with summary found.\n");
  543       LLVM_DEBUG(dbgs() << "Ignores Dead GUID: " << VI << "\n");
  543       LLVM_DEBUG(dbgs() << "Ignores Dead GUID: " << VI << "\n");
  551     LLVM_DEBUG(dbgs() << "Initialize import for " << VI << "\n");
  551     LLVM_DEBUG(dbgs() << "Initialize import for " << VI << "\n");
  571     dbgs() << "Missed imports into module " << ModName << "\n";
  571     dbgs() << "Missed imports into module " << ModName << "\n";
  584              << ": Reason = " << getFailureName(FailureInfo->Reason)
  584              << ": Reason = " << getFailureName(FailureInfo->Reason)
  585              << ", Threshold = " << ProcessedThreshold
  586              << ", Size = " << (FS ? (int)FS->instCount() : -1)
  587              << ", MaxHotness = " << getHotnessName(FailureInfo->MaxHotness)
  587              << ", MaxHotness = " << getHotnessName(FailureInfo->MaxHotness)
  588              << ", Attempts = " << FailureInfo->Attempts << "\n";
  588              << ", Attempts = " << FailureInfo->Attempts << "\n";
  626     LLVM_DEBUG(dbgs() << "Computing import for Module '"
  627                       << DefinedGVSummaries.first() << "'\n");
  650   LLVM_DEBUG(dbgs() << "Import/Export lists for " << ImportLists.size()
  651                     << " modules:\n");
  656     LLVM_DEBUG(dbgs() << "* Module " << ModName << " exports "
  656     LLVM_DEBUG(dbgs() << "* Module " << ModName << " exports "
  657                       << Exports.size() - NumGVS << " functions and " << NumGVS
  658                       << " vars. Imports from " << ModuleImports.second.size()
  659                       << " modules.\n");
  663       LLVM_DEBUG(dbgs() << " - " << Src.second.size() - NumGVSPerMod
  664                         << " functions imported from " << SrcModName << "\n");
  664                         << " functions imported from " << SrcModName << "\n");
  665       LLVM_DEBUG(dbgs() << " - " << NumGVSPerMod
  666                         << " global vars imported from " << SrcModName << "\n");
  666                         << " global vars imported from " << SrcModName << "\n");
  676   LLVM_DEBUG(dbgs() << "* Module " << ModulePath << " imports from "
  676   LLVM_DEBUG(dbgs() << "* Module " << ModulePath << " imports from "
  677                     << ImportList.size() << " modules.\n");
  681     LLVM_DEBUG(dbgs() << " - " << Src.second.size() - NumGVSPerMod
  682                       << " functions imported from " << SrcModName << "\n");
  682                       << " functions imported from " << SrcModName << "\n");
  683     LLVM_DEBUG(dbgs() << " - " << NumGVSPerMod << " vars imported from "
  683     LLVM_DEBUG(dbgs() << " - " << NumGVSPerMod << " vars imported from "
  684                       << SrcModName << "\n");
  699   LLVM_DEBUG(dbgs() << "Computing import for Module '" << ModulePath << "'\n");
  699   LLVM_DEBUG(dbgs() << "Computing import for Module '" << ModulePath << "'\n");
  759         LLVM_DEBUG(dbgs() << "Live root: " << VI << "\n");
  759         LLVM_DEBUG(dbgs() << "Live root: " << VI << "\n");
  842   LLVM_DEBUG(dbgs() << LiveSymbols << " symbols Live, and " << DeadSymbols
  843                     << " symbols Dead \n");
  906       ImportsOS << ILI.first << "\n";
  911   LLVM_DEBUG(dbgs() << "Converting to a declaration: `" << GV.getName()
  912                     << "\n");
  986       LLVM_DEBUG(dbgs() << "ODR fixing up linkage for `" << GV.getName()
  987                         << "` from " << GV.getLinkage() << " to " << NewLinkage
  987                         << "` from " << GV.getLinkage() << " to " << NewLinkage
  988                         << "\n");
 1078   LLVM_DEBUG(dbgs() << "Starting import for Module "
 1079                     << DestModule.getModuleIdentifier() << "\n");
 1112       LLVM_DEBUG(dbgs() << (Import ? "Is" : "Not") << " importing function "
 1112       LLVM_DEBUG(dbgs() << (Import ? "Is" : "Not") << " importing function "
 1113                         << GUID << " " << F.getName() << " from "
 1113                         << GUID << " " << F.getName() << " from "
 1114                         << SrcModule->getSourceFileName() << "\n");
 1134       LLVM_DEBUG(dbgs() << (Import ? "Is" : "Not") << " importing global "
 1134       LLVM_DEBUG(dbgs() << (Import ? "Is" : "Not") << " importing global "
 1135                         << GUID << " " << GV.getName() << " from "
 1135                         << GUID << " " << GV.getName() << " from "
 1136                         << SrcModule->getSourceFileName() << "\n");
 1148       LLVM_DEBUG(dbgs() << (Import ? "Is" : "Not") << " importing alias "
 1148       LLVM_DEBUG(dbgs() << (Import ? "Is" : "Not") << " importing alias "
 1149                         << GUID << " " << GA.getName() << " from "
 1149                         << GUID << " " << GA.getName() << " from "
 1150                         << SrcModule->getSourceFileName() << "\n");
 1159         LLVM_DEBUG(dbgs() << "Is importing aliasee fn " << Base->getGUID()
 1160                           << " " << Base->getName() << " from "
 1160                           << " " << Base->getName() << " from "
 1161                           << SrcModule->getSourceFileName() << "\n");
 1184         dbgs() << DestModule.getSourceFileName() << ": Import " << GV->getName()
 1185                << " from " << SrcModule->getSourceFileName() << "\n";
 1185                << " from " << SrcModule->getSourceFileName() << "\n";
 1202   LLVM_DEBUG(dbgs() << "Imported " << ImportedCount - ImportedGVCount
 1203                     << " functions for Module "
 1204                     << DestModule.getModuleIdentifier() << "\n");
 1205   LLVM_DEBUG(dbgs() << "Imported " << ImportedGVCount
 1206                     << " global variables for Module "
 1207                     << DestModule.getModuleIdentifier() << "\n");
 1249     errs() << "Error renaming module\n";
lib/Transforms/IPO/GlobalDCE.cpp
  133       LLVM_DEBUG(dbgs() << "Ignoring dep " << GVU->getName() << " -> "
  133       LLVM_DEBUG(dbgs() << "Ignoring dep " << GVU->getName() << " -> "
  134                         << GV.getName() << "\n");
  160   LLVM_DEBUG(dbgs() << "Building type info -> vtable map\n");
  196         LLVM_DEBUG(dbgs() << GV.getName() << " is safe for VFE\n");
  213       LLVM_DEBUG(dbgs() << "can't find pointer in vtable!\n");
  220       LLVM_DEBUG(dbgs() << "vtable entry is not function pointer!\n");
  225     LLVM_DEBUG(dbgs() << "vfunc dep " << Caller->getName() << " -> "
  225     LLVM_DEBUG(dbgs() << "vfunc dep " << Caller->getName() << " -> "
  226                       << Callee->getName() << "\n");
  232   LLVM_DEBUG(dbgs() << "Scanning type.checked.load intrinsics\n");
  272     dbgs() << "VFE safe vtables:\n";
  274       dbgs() << "  " << VTable->getName() << "\n";
  274       dbgs() << "  " << VTable->getName() << "\n";
lib/Transforms/IPO/GlobalOpt.cpp
  546   LLVM_DEBUG(dbgs() << "PERFORMING GLOBAL SRA ON: " << *GV << "\n");
  546   LLVM_DEBUG(dbgs() << "PERFORMING GLOBAL SRA ON: " << *GV << "\n");
  789     LLVM_DEBUG(dbgs() << "OPTIMIZED LOADS FROM STORED ONCE POINTER: " << *GV
  790                       << "\n");
  804       LLVM_DEBUG(dbgs() << "  *** GLOBAL NOW DEAD!\n");
  840   LLVM_DEBUG(errs() << "PROMOTING GLOBAL: " << *GV << "  CALL = " << *CI
  840   LLVM_DEBUG(errs() << "PROMOTING GLOBAL: " << *GV << "  CALL = " << *CI
 1279   LLVM_DEBUG(dbgs() << "SROA HEAP ALLOC: " << *GV << "  MALLOC = " << *CI
 1279   LLVM_DEBUG(dbgs() << "SROA HEAP ALLOC: " << *GV << "  MALLOC = " << *CI
 1625   LLVM_DEBUG(dbgs() << "   *** SHRINKING TO BOOL: " << *GV << "\n");
 1625   LLVM_DEBUG(dbgs() << "   *** SHRINKING TO BOOL: " << *GV << "\n");
 1779   LLVM_DEBUG(dbgs() << "GLOBAL DEAD: " << GV << "\n");
 1779   LLVM_DEBUG(dbgs() << "GLOBAL DEAD: " << GV << "\n");
 1946     LLVM_DEBUG(dbgs() << "LOCALIZING GLOBAL: " << *GV << "\n");
 1946     LLVM_DEBUG(dbgs() << "LOCALIZING GLOBAL: " << *GV << "\n");
 1967     LLVM_DEBUG(dbgs() << "GLOBAL NEVER LOADED: " << *GV << "\n");
 1967     LLVM_DEBUG(dbgs() << "GLOBAL NEVER LOADED: " << *GV << "\n");
 1990     LLVM_DEBUG(dbgs() << "MARKING CONSTANT: " << *GV << "\n");
 1990     LLVM_DEBUG(dbgs() << "MARKING CONSTANT: " << *GV << "\n");
 2003       LLVM_DEBUG(dbgs() << "   *** Marking constant allowed us to simplify "
 2004                         << "all users and delete global!\n");
 2032           LLVM_DEBUG(dbgs() << "   *** Substituting initializer allowed us to "
 2033                             << "simplify all users and delete global!\n");
 2582     LLVM_DEBUG(dbgs() << "FULLY EVALUATED GLOBAL CTOR FUNCTION '"
 2583                       << F->getName() << "' to "
 2584                       << Eval.getMutatedMemory().size() << " stores.\n");
lib/Transforms/IPO/HotColdSplitting.cpp
  236   LLVM_DEBUG(dbgs() << "Applying penalty for splitting: " << Penalty << "\n");
  236   LLVM_DEBUG(dbgs() << "Applying penalty for splitting: " << Penalty << "\n");
  245   LLVM_DEBUG(dbgs() << "Applying penalty for: " << NumInputs << " inputs\n");
  245   LLVM_DEBUG(dbgs() << "Applying penalty for: " << NumInputs << " inputs\n");
  251   LLVM_DEBUG(dbgs() << "Applying penalty for: " << NumOutputs << " outputs\n");
  251   LLVM_DEBUG(dbgs() << "Applying penalty for: " << NumOutputs << " outputs\n");
  277     LLVM_DEBUG(dbgs() << "Applying bonus for: " << Region.size()
  278                       << " non-returning terminators\n");
  285     LLVM_DEBUG(dbgs() << "Applying penalty for: " << SuccsOutsideRegion.size()
  286                       << " non-region successors\n");
  312   LLVM_DEBUG(dbgs() << "Split profitability: benefit = " << OutliningBenefit
  313                     << ", penalty = " << OutliningPenalty << "\n");
  313                     << ", penalty = " << OutliningPenalty << "\n");
  331     LLVM_DEBUG(llvm::dbgs() << "Outlined Region: " << *OutF);
  571       dbgs() << "Found a cold block:\n";
  586         LLVM_DEBUG(dbgs() << "Entire function is cold\n");
  619         dbgs() << "Hot/cold splitting attempting to outline these blocks:\n";
  657       LLVM_DEBUG(llvm::dbgs() << "Skipping " << F.getName() << "\n");
  657       LLVM_DEBUG(llvm::dbgs() << "Skipping " << F.getName() << "\n");
  661     LLVM_DEBUG(llvm::dbgs() << "Outlining in " << F.getName() << "\n");
  661     LLVM_DEBUG(llvm::dbgs() << "Outlining in " << F.getName() << "\n");
lib/Transforms/IPO/Inliner.cpp
  219       LLVM_DEBUG(dbgs() << "    ***MERGED ALLOCA: " << *AI
  220                         << "\n\t\tINTO: " << *AvailableAlloca << '\n');
  429     LLVM_DEBUG(dbgs() << "    Inlining " << inlineCostStr(IC)
  430                       << ", Call: " << *CS.getInstruction() << "\n");
  430                       << ", Call: " << *CS.getInstruction() << "\n");
  435     LLVM_DEBUG(dbgs() << "    NOT Inlining " << inlineCostStr(IC)
  436                       << ", Call: " << *CS.getInstruction() << "\n");
  436                       << ", Call: " << *CS.getInstruction() << "\n");
  447     LLVM_DEBUG(dbgs() << "    NOT Inlining " << inlineCostStr(IC)
  448                       << ", Call: " << *CS.getInstruction() << "\n");
  448                       << ", Call: " << *CS.getInstruction() << "\n");
  459     LLVM_DEBUG(dbgs() << "    NOT Inlining: " << *CS.getInstruction()
  460                       << " Cost = " << IC.getCost()
  461                       << ", outer Cost = " << TotalSecondaryCost << '\n');
  475   LLVM_DEBUG(dbgs() << "    Inlining " << inlineCostStr(IC)
  476                     << ", Call: " << *CS.getInstruction() << '\n');
  537   LLVM_DEBUG(dbgs() << "Inliner visiting SCC:");
  542     LLVM_DEBUG(dbgs() << " " << (F ? F->getName() : "INDIRECTNODE"));
  592   LLVM_DEBUG(dbgs() << ": " << CallSites.size() << " call sites.\n");
  592   LLVM_DEBUG(dbgs() << ": " << CallSites.size() << " call sites.\n");
  673         LLVM_DEBUG(dbgs() << "    -> Deleting dead call: " << *Instr << "\n");
  673         LLVM_DEBUG(dbgs() << "    -> Deleting dead call: " << *Instr << "\n");
  726         LLVM_DEBUG(dbgs() << "    -> Deleting dead function: "
  727                           << Callee->getName() << "\n");
  986     LLVM_DEBUG(dbgs() << "Inlining calls in: " << F.getName() << "\n");
  986     LLVM_DEBUG(dbgs() << "Inlining calls in: " << F.getName() << "\n");
 1044         LLVM_DEBUG(dbgs() << "Skipping inlining internal SCC edge from a node "
 1046                           << F.getName() << " -> " << Callee.getName() << "\n");
 1046                           << F.getName() << " -> " << Callee.getName() << "\n");
 1168     LLVM_DEBUG(dbgs() << "Updated inlining SCC: " << *C << "\n");
 1168     LLVM_DEBUG(dbgs() << "Updated inlining SCC: " << *C << "\n");
 1195       LLVM_DEBUG(dbgs() << "Inlined an internal call edge and split an SCC, "
lib/Transforms/IPO/Internalize.cpp
   78       errs() << "WARNING: Internalize couldn't load file '" << Filename
   79              << "'! Continuing as if it's empty.\n";
  191     LLVM_DEBUG(dbgs() << "Internalizing func " << I.getName() << "\n");
  191     LLVM_DEBUG(dbgs() << "Internalizing func " << I.getName() << "\n");
  220     LLVM_DEBUG(dbgs() << "Internalized gvar " << GV.getName() << "\n");
  220     LLVM_DEBUG(dbgs() << "Internalized gvar " << GV.getName() << "\n");
  230     LLVM_DEBUG(dbgs() << "Internalized alias " << GA.getName() << "\n");
  230     LLVM_DEBUG(dbgs() << "Internalized alias " << GA.getName() << "\n");
lib/Transforms/IPO/LowerTypeTests.cpp
  134   OS << "offset " << ByteOffset << " size " << BitSize << " align "
  134   OS << "offset " << ByteOffset << " size " << BitSize << " align "
  134   OS << "offset " << ByteOffset << " size " << BitSize << " align "
  138     OS << " all-ones\n";
  142   OS << " { ";
  145   OS << "}\n";
 1117         dbgs() << MDS->getString() << ": ";
 1119         dbgs() << "<unnamed>: ";
 1217     AsmOS << "jmp ${" << ArgIndex << ":c}@plt\n";
 1217     AsmOS << "jmp ${" << ArgIndex << ":c}@plt\n";
 1218     AsmOS << "int3\nint3\nint3\n";
 1220     AsmOS << "b $" << ArgIndex << "\n";
 1220     AsmOS << "b $" << ArgIndex << "\n";
 1222     AsmOS << "b.w $" << ArgIndex << "\n";
 1222     AsmOS << "b.w $" << ArgIndex << "\n";
 1227   ConstraintOS << (ArgIndex > 0 ? ",s" : "s");
lib/Transforms/IPO/MergeFunctions.cpp
  316     dbgs() << "MERGEFUNC-SANITY: Started for first " << Max << " functions.\n";
  316     dbgs() << "MERGEFUNC-SANITY: Started for first " << Max << " functions.\n";
  332           dbgs() << "MERGEFUNC-SANITY: Non-symmetric; triple: " << TripleNumber
  333                  << "\n";
  365             dbgs() << "MERGEFUNC-SANITY: Non-transitive; triple: "
  366                    << TripleNumber << "\n";
  367             dbgs() << "Res1, Res3, Res4: " << Res1 << ", " << Res3 << ", "
  367             dbgs() << "Res1, Res3, Res4: " << Res1 << ", " << Res3 << ", "
  367             dbgs() << "Res1, Res3, Res4: " << Res1 << ", " << Res3 << ", "
  368                    << Res4 << "\n";
  376     dbgs() << "MERGEFUNC-SANITY: " << (Valid ? "Passed." : "Failed.") << "\n";
  376     dbgs() << "MERGEFUNC-SANITY: " << (Valid ? "Passed." : "Failed.") << "\n";
  376     dbgs() << "MERGEFUNC-SANITY: " << (Valid ? "Passed." : "Failed.") << "\n";
  422     LLVM_DEBUG(dbgs() << "size of module: " << M.size() << '\n');
  423     LLVM_DEBUG(dbgs() << "size of worklist: " << Worklist.size() << '\n');
  434     LLVM_DEBUG(dbgs() << "size of FnTree: " << FnTree.size() << '\n');
  513       dbgs() << " Erasing instructions (in reverse order of appearance in "
  518     LLVM_DEBUG(dbgs() << "  Deleting Instruction: ");
  520     LLVM_DEBUG(dbgs() << "\n");
  524   LLVM_DEBUG(dbgs() << " } // Done erasing instructions unrelated to parameter "
  558       LLVM_DEBUG(dbgs() << " Deciding: ");
  560       LLVM_DEBUG(dbgs() << "\n");
  563         LLVM_DEBUG(dbgs() << "  Include (parameter): ");
  565         LLVM_DEBUG(dbgs() << "\n");
  568         LLVM_DEBUG(dbgs() << "  Delete (!parameter): ");
  570         LLVM_DEBUG(dbgs() << "\n");
  573       LLVM_DEBUG(dbgs() << " Deciding: ");
  575       LLVM_DEBUG(dbgs() << "\n");
  578         LLVM_DEBUG(dbgs() << "  Parameter: ");
  582           LLVM_DEBUG(dbgs() << "  Processing alloca users: ");
  583           LLVM_DEBUG(dbgs() << "\n");
  588                   LLVM_DEBUG(dbgs() << "  Include: ");
  590                   LLVM_DEBUG(dbgs() << "\n");
  592                   LLVM_DEBUG(dbgs() << "   Include (parameter): ");
  594                   LLVM_DEBUG(dbgs() << "\n");
  596                   LLVM_DEBUG(dbgs() << "  Include: ");
  598                   LLVM_DEBUG(dbgs() << "\n");
  601                   LLVM_DEBUG(dbgs() << "   Delete (!parameter): ");
  603                   LLVM_DEBUG(dbgs() << "\n");
  607               LLVM_DEBUG(dbgs() << "   Defer: ");
  609               LLVM_DEBUG(dbgs() << "\n");
  613           LLVM_DEBUG(dbgs() << "  Delete (alloca NULL): ");
  615           LLVM_DEBUG(dbgs() << "\n");
  618         LLVM_DEBUG(dbgs() << "  Delete (!parameter): ");
  620         LLVM_DEBUG(dbgs() << "\n");
  623       LLVM_DEBUG(dbgs() << " Will Include Terminator: ");
  625       LLVM_DEBUG(dbgs() << "\n");
  628       LLVM_DEBUG(dbgs() << " Defer: ");
  630       LLVM_DEBUG(dbgs() << "\n");
  635       << " Report parameter debug info related/related instructions: {\n");
  641       LLVM_DEBUG(dbgs() << "  !PDIRelated: ");
  643       LLVM_DEBUG(dbgs() << "\n");
  646       LLVM_DEBUG(dbgs() << "   PDIRelated: ");
  648       LLVM_DEBUG(dbgs() << "\n");
  651   LLVM_DEBUG(dbgs() << " }\n");
  663       LLVM_DEBUG(dbgs() << "canCreateThunkFor: " << F->getName()
  664                         << " is too small to bother creating a thunk for\n");
  685     LLVM_DEBUG(dbgs() << "writeThunk: (MergeFunctionsPDI) Do not create a new "
  687                       << G->getName() << "()\n");
  690         dbgs() << "writeThunk: (MergeFunctionsPDI) filter parameter related "
  692                << G->getName() << "() {\n");
  733           dbgs() << "writeThunk: (MergeFunctionsPDI) No DISubprogram for "
  734                  << G->getName() << "()\n");
  739         dbgs() << "} // End of parameter related debug info filtering for: "
  740                << G->getName() << "()\n");
  749   LLVM_DEBUG(dbgs() << "writeThunk: " << H->getName() << '\n');
  781   LLVM_DEBUG(dbgs() << "writeAlias: " << GA->getName() << '\n');
  909     LLVM_DEBUG(dbgs() << "Inserting as unique: " << NewFunction->getName()
  924   LLVM_DEBUG(dbgs() << "  " << OldF.getFunc()->getName()
  925                     << " == " << NewFunction->getName() << '\n');
  937     LLVM_DEBUG(dbgs() << "Deferred " << F->getName() << ".\n");
  937     LLVM_DEBUG(dbgs() << "Deferred " << F->getName() << ".\n");
lib/Transforms/IPO/PartialInlining.cpp
  456     dbgs() << "OverallFunctionCost = " << OverallFunctionCost << "\n";
  456     dbgs() << "OverallFunctionCost = " << OverallFunctionCost << "\n";
  495         dbgs() << "Found cold edge: " << thisBB->getName() << "->"
  495         dbgs() << "Found cold edge: " << thisBB->getName() << "->"
  496                << (*SI)->getName() << "\nBranch Probability = " << SuccProb
  497                << "\n";
  515         dbgs() << "OutlineRegionCost = " << OutlineRegionCost << "\n";
  515         dbgs() << "OutlineRegionCost = " << OutlineRegionCost << "\n";
  541         dbgs() << "Found Cold Candidate starting at block: "
  542                << DominateVector.front()->getName() << "\n";
 1142       dbgs() << "inputs: " << Inputs.size() << "\n";
 1142       dbgs() << "inputs: " << Inputs.size() << "\n";
 1143       dbgs() << "outputs: " << Outputs.size() << "\n";
 1143       dbgs() << "outputs: " << Outputs.size() << "\n";
 1145         dbgs() << "value used in func: " << *value << "\n";
 1145         dbgs() << "value used in func: " << *value << "\n";
 1147         dbgs() << "instr used in func: " << *output << "\n";
 1147         dbgs() << "instr used in func: " << *output << "\n";
 1287         dbgs() << "HotCountThreshold = " << PSI->getHotCountThreshold() << "\n";
 1287         dbgs() << "HotCountThreshold = " << PSI->getHotCountThreshold() << "\n";
 1288         dbgs() << "ColdCountThreshold = " << PSI->getColdCountThreshold()
 1289                << "\n";
 1297           dbgs() << ">>>>>> Outlined (Cloned) Function >>>>>>\n";
 1299           dbgs() << "<<<<<< Outlined (Cloned) Function <<<<<<\n";
lib/Transforms/IPO/SampleProfile.cpp
  621   OS << "weight[" << E.first->getName() << "->" << E.second->getName()
  621   OS << "weight[" << E.first->getName() << "->" << E.second->getName()
  622      << "]: " << EdgeWeights[E] << "\n";
  622      << "]: " << EdgeWeights[E] << "\n";
  632   OS << "equivalence[" << BB->getName()
  633      << "]: " << ((Equiv) ? EquivalenceClass[BB]->getName() : "NONE") << "\n";
  633      << "]: " << ((Equiv) ? EquivalenceClass[BB]->getName() : "NONE") << "\n";
  644   OS << "weight[" << BB->getName() << "]: " << W << "\n";
  644   OS << "weight[" << BB->getName() << "]: " << W << "\n";
  644   OS << "weight[" << BB->getName() << "]: " << W << "\n";
  704     LLVM_DEBUG(dbgs() << "    " << DLoc.getLine() << "."
  704     LLVM_DEBUG(dbgs() << "    " << DLoc.getLine() << "."
  705                       << DIL->getBaseDiscriminator() << ":" << Inst
  706                       << " (line offset: " << LineOffset << "."
  706                       << " (line offset: " << LineOffset << "."
  707                       << DIL->getBaseDiscriminator() << " - weight: " << R.get()
  708                       << ")\n");
  742   LLVM_DEBUG(dbgs() << "Block weights\n");
  981                        << "\nFailed to promote indirect call to "
  982                        << CalleeFunctionName << " because " << Reason << "\n");
  982                        << CalleeFunctionName << " because " << Reason << "\n");
  982                        << CalleeFunctionName << " because " << Reason << "\n");
 1085   LLVM_DEBUG(dbgs() << "\nBlock equivalence classes\n");
 1123       dbgs() << "\nAssign the same weight to all blocks in the same class\n");
 1170   LLVM_DEBUG(dbgs() << "\nPropagation through edges\n");
 1242               LLVM_DEBUG(dbgs() << "All edge weights for " << BB->getName()
 1243                                 << " known. Set weight for block: ";
 1271           LLVM_DEBUG(dbgs() << "Set weight for edge: ";
 1298         LLVM_DEBUG(dbgs() << "Set self-referential edge weight to: ";
 1417   LLVM_DEBUG(dbgs() << "\nPropagation complete. Setting branch weights\n");
 1463     LLVM_DEBUG(dbgs() << "\nGetting weights for branch at line "
 1466                       << ".\n");
 1474       LLVM_DEBUG(dbgs() << "\t"; printEdgeWeight(dbgs(), E));
 1479         LLVM_DEBUG(dbgs() << " (saturated due to uint32_t overflow)");
 1502       LLVM_DEBUG(dbgs() << "SUCCESS. Found non-zero weights.\n");
 1511       LLVM_DEBUG(dbgs() << "SKIPPED. All branch weights are zero.\n");
 1608   LLVM_DEBUG(dbgs() << "Line number for the first instruction in "
 1609                     << F.getName() << ": " << getFunctionLoc(F) << "\n");
 1609                     << F.getName() << ": " << getFunctionLoc(F) << "\n");
lib/Transforms/IPO/WholeProgramDevirt.cpp
 2000       errs() << "Devirtualized call to " << DT << "\n";
 2000       errs() << "Devirtualized call to " << DT << "\n";
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4307       LLVM_DEBUG(dbgs() << "Removing convergent attr from instr " << Call
 4308                         << "\n");
lib/Transforms/InstCombine/InstCombineCasts.cpp
  701         dbgs() << "ICE: EvaluateInDifferentType converting expression type"
 1110         dbgs() << "ICE: EvaluateInDifferentType converting expression type"
 1382         dbgs() << "ICE: EvaluateInDifferentType converting expression type"
lib/Transforms/InstCombine/InstCombineInternal.h
  673     LLVM_DEBUG(dbgs() << "IC: Replacing " << I << "\n"
  673     LLVM_DEBUG(dbgs() << "IC: Replacing " << I << "\n"
  674                       << "    with " << *V << '\n');
  706     LLVM_DEBUG(dbgs() << "IC: ERASE " << I << '\n');
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  272     LLVM_DEBUG(dbgs() << "Found pointer user: " << *U << '\n');
  408         LLVM_DEBUG(dbgs() << "Found alloca equal to global: " << AI << '\n');
  409         LLVM_DEBUG(dbgs() << "  memcpy = " << *Copy << '\n');
lib/Transforms/InstCombine/InstCombinePHI.cpp
 1025   LLVM_DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n';
 1027              << "AND USER PHI #" << i << ": " << *PHIsToSlice[i] << '\n';);
 1027              << "AND USER PHI #" << i << ": " << *PHIsToSlice[i] << '\n';);
 1108       LLVM_DEBUG(dbgs() << "  Made element PHI for offset " << Offset << ": "
 1108       LLVM_DEBUG(dbgs() << "  Made element PHI for offset " << Offset << ": "
lib/Transforms/InstCombine/InstCombineShifts.cpp
  615         dbgs() << "ICE: GetShiftedValue propagating shift through expression"
  617                << *Op0 << "\n  SH: " << I << "\n");
  617                << *Op0 << "\n  SH: " << I << "\n");
lib/Transforms/InstCombine/InstructionCombining.cpp
 3189         LLVM_DEBUG(dbgs() << "SINK: " << *DII << '\n');
 3213       LLVM_DEBUG(dbgs() << "IC: DCE: " << *I << '\n');
 3227         LLVM_DEBUG(dbgs() << "IC: ConstFold to: " << *C << " from: " << *I
 3227         LLVM_DEBUG(dbgs() << "IC: ConstFold to: " << *C << " from: " << *I
 3247         LLVM_DEBUG(dbgs() << "IC: ConstFold (all bits known) to: " << *C
 3248                           << " from: " << *I << '\n');
 3287             LLVM_DEBUG(dbgs() << "IC: Sink: " << *I << '\n');
 3308     LLVM_DEBUG(dbgs() << "IC: Visiting: " << OrigI << '\n');
 3314         LLVM_DEBUG(dbgs() << "IC: Old = " << *I << '\n'
 3315                           << "    New = " << *Result << '\n');
 3342         LLVM_DEBUG(dbgs() << "IC: Mod = " << OrigI << '\n'
 3343                           << "    New = " << *I << '\n');
 3394         LLVM_DEBUG(dbgs() << "IC: DCE: " << *Inst << '\n');
 3406           LLVM_DEBUG(dbgs() << "IC: ConstFold to: " << *C << " from: " << *Inst
 3406           LLVM_DEBUG(dbgs() << "IC: ConstFold to: " << *C << " from: " << *Inst
 3429           LLVM_DEBUG(dbgs() << "IC: ConstFold operand of: " << *Inst
 3430                             << "\n    Old = " << *C
 3431                             << "\n    New = " << *FoldRes << '\n');
 3535     LLVM_DEBUG(dbgs() << "\n\nINSTCOMBINE ITERATION #" << Iteration << " on "
 3535     LLVM_DEBUG(dbgs() << "\n\nINSTCOMBINE ITERATION #" << Iteration << " on "
 3536                       << F.getName() << "\n");
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 1804   LLVM_DEBUG(dbgs() << "GLOBAL: " << *G << "\n");
 1804   LLVM_DEBUG(dbgs() << "GLOBAL: " << *G << "\n");
 1871       LLVM_DEBUG(dbgs() << "Ignoring global in sorted section (contains '$'): "
 1872                         << *G << "\n");
 1889         LLVM_DEBUG(dbgs() << "Ignoring ObjC runtime global: " << *G << "\n");
 1889         LLVM_DEBUG(dbgs() << "Ignoring ObjC runtime global: " << *G << "\n");
 1901         LLVM_DEBUG(dbgs() << "Ignoring CFString: " << *G << "\n");
 1901         LLVM_DEBUG(dbgs() << "Ignoring CFString: " << *G << "\n");
 1907         LLVM_DEBUG(dbgs() << "Ignoring a cstring literal: " << *G << "\n");
 1907         LLVM_DEBUG(dbgs() << "Ignoring a cstring literal: " << *G << "\n");
 2378     LLVM_DEBUG(dbgs() << "NEW GLOBAL: " << *NewGlobal << "\n");
 2378     LLVM_DEBUG(dbgs() << "NEW GLOBAL: " << *NewGlobal << "\n");
 2628   LLVM_DEBUG(dbgs() << "ASAN instrumenting:\n" << F << "\n");
 2628   LLVM_DEBUG(dbgs() << "ASAN instrumenting:\n" << F << "\n");
 2741   LLVM_DEBUG(dbgs() << "ASAN done instrumenting: " << FunctionModified << " "
 2741   LLVM_DEBUG(dbgs() << "ASAN done instrumenting: " << FunctionModified << " "
 2742                     << F << "\n");
 3054   LLVM_DEBUG(dbgs() << DescriptionString << " --- " << L.FrameSize << "\n");
 3054   LLVM_DEBUG(dbgs() << DescriptionString << " --- " << L.FrameSize << "\n");
lib/Transforms/Instrumentation/BoundsChecking.cpp
   61   LLVM_DEBUG(dbgs() << "Instrument " << *Ptr << " for " << Twine(NeededSize)
   61   LLVM_DEBUG(dbgs() << "Instrument " << *Ptr << " for " << Twine(NeededSize)
   62                     << " bytes\n");
lib/Transforms/Instrumentation/CFGMST.h
   99     LLVM_DEBUG(dbgs() << "Build Edge on " << F.getName() << "\n");
   99     LLVM_DEBUG(dbgs() << "Build Edge on " << F.getName() << "\n");
  109     LLVM_DEBUG(dbgs() << "  Edge: from fake node to " << Entry->getName()
  110                       << " w = " << EntryWeight << "\n");
  110                       << " w = " << EntryWeight << "\n");
  140           LLVM_DEBUG(dbgs() << "  Edge: from " << BB->getName() << " to "
  140           LLVM_DEBUG(dbgs() << "  Edge: from " << BB->getName() << " to "
  141                             << TargetBB->getName() << "  w=" << Weight << "\n");
  141                             << TargetBB->getName() << "  w=" << Weight << "\n");
  166         LLVM_DEBUG(dbgs() << "  Edge: from " << BB->getName() << " to fake exit"
  166         LLVM_DEBUG(dbgs() << "  Edge: from " << BB->getName() << " to fake exit"
  167                           << " w = " << BBWeight << "\n");
  167                           << " w = " << BBWeight << "\n");
  236       OS << Message << "\n";
  237     OS << "  Number of Basic Blocks: " << BBInfos.size() << "\n";
  237     OS << "  Number of Basic Blocks: " << BBInfos.size() << "\n";
  240       OS << "  BB: " << (BB == nullptr ? "FakeNode" : BB->getName()) << "  "
  240       OS << "  BB: " << (BB == nullptr ? "FakeNode" : BB->getName()) << "  "
  241          << BI.second->infoString() << "\n";
  244     OS << "  Number of Edges: " << AllEdges.size()
  245        << " (*: Instrument, C: CriticalEdge, -: Removed)\n";
  248       OS << "  Edge " << Count++ << ": " << getBBInfo(EI->SrcBB).Index << "-->"
  248       OS << "  Edge " << Count++ << ": " << getBBInfo(EI->SrcBB).Index << "-->"
  248       OS << "  Edge " << Count++ << ": " << getBBInfo(EI->SrcBB).Index << "-->"
  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";
   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";
   87       errs() << "Error: Couldn't read the chr-function-list file " << CHRFunctionList << "\n";
  148     OS << "CHRStats: NumBranches " << NumBranches
  149        << " NumBranchesDelta " << NumBranchesDelta
  150        << " WeightedNumBranchesDelta " << WeightedNumBranchesDelta;
  461   CHR_DEBUG(dbgs() << "CHR IR dump " << Label << " " << ModuleName << " "
  461   CHR_DEBUG(dbgs() << "CHR IR dump " << Label << " " << ModuleName << " "
  461   CHR_DEBUG(dbgs() << "CHR IR dump " << Label << " " << ModuleName << " "
  461   CHR_DEBUG(dbgs() << "CHR IR dump " << Label << " " << ModuleName << " "
  464     CHR_DEBUG(dbgs() << " " << *Stats);
  465   CHR_DEBUG(dbgs() << "\n");
  471   OS << "CHRScope[";
  472   OS << RegInfos.size() << ", Regions[";
  476       OS << " B";
  478       OS << " S" << RI.Selects.size();
  479     OS << ", ";
  482     OS << "], Parent " << RegInfos[0].R->getParent()->getNameStr();
  485     OS << "]";
  487   OS << ", Subs[";
  489     OS << *Sub << ", ";
  491   OS << "]]";
  592         CHR_DEBUG(dbgs() << "checkHoistValue " << *I << "\n");
  592         CHR_DEBUG(dbgs() << "checkHoistValue " << *I << "\n");
  680   CHR_DEBUG(dbgs() << "BI " << *BI << " ");
  680   CHR_DEBUG(dbgs() << "BI " << *BI << " ");
  681   CHR_DEBUG(dbgs() << "ThenProb " << ThenProb << " ");
  681   CHR_DEBUG(dbgs() << "ThenProb " << ThenProb << " ");
  682   CHR_DEBUG(dbgs() << "ElseProb " << ElseProb << "\n");
  682   CHR_DEBUG(dbgs() << "ElseProb " << ElseProb << "\n");
  699   CHR_DEBUG(dbgs() << "SI " << *SI << " ");
  699   CHR_DEBUG(dbgs() << "SI " << *SI << " ");
  700   CHR_DEBUG(dbgs() << "TrueProb " << TrueProb << " ");
  700   CHR_DEBUG(dbgs() << "TrueProb " << TrueProb << " ");
  701   CHR_DEBUG(dbgs() << "FalseProb " << FalseProb << "\n");
  701   CHR_DEBUG(dbgs() << "FalseProb " << FalseProb << "\n");
  754     CHR_DEBUG(dbgs() << "Entry " << Entry->getName() << "\n");
  754     CHR_DEBUG(dbgs() << "Entry " << Entry->getName() << "\n");
  756     CHR_DEBUG(dbgs() << "Entry null\n");
  758     CHR_DEBUG(dbgs() << "Exit " << Exit->getName() << "\n");
  758     CHR_DEBUG(dbgs() << "Exit " << Exit->getName() << "\n");
  760     CHR_DEBUG(dbgs() << "Exit null\n");
  777       CHR_DEBUG(dbgs() << "BI.isConditional " << BI->isConditional() << "\n");
  777       CHR_DEBUG(dbgs() << "BI.isConditional " << BI->isConditional() << "\n");
  779       CHR_DEBUG(dbgs() << "BI null\n");
  783       CHR_DEBUG(dbgs() << "S0 " << S0->getName() << "\n");
  783       CHR_DEBUG(dbgs() << "S0 " << S0->getName() << "\n");
  784       CHR_DEBUG(dbgs() << "S1 " << S1->getName() << "\n");
  784       CHR_DEBUG(dbgs() << "S1 " << S1->getName() << "\n");
  792         CHR_DEBUG(dbgs() << "Found a region with a branch\n");
  847         CHR_DEBUG(dbgs() << "Found a select-only region\n");
  853         CHR_DEBUG(dbgs() << "Found select(s) in a region with a branch\n");
  896     CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n");
  896     CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n");
  916         CHR_DEBUG(dbgs() << "Dropping select " << *SI << "\n");
  916         CHR_DEBUG(dbgs() << "Dropping select " << *SI << "\n");
  931     CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n");
  931     CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n");
  941         CHR_DEBUG(dbgs() << "Dropping selects in entry block \n");
  944               dbgs() << "SI " << *SI << "\n";
  944               dbgs() << "SI " << *SI << "\n";
  961     CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n");
  961     CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n");
  979     CHR_DEBUG(dbgs() << "Result\n");
  981       CHR_DEBUG(dbgs() << "BI " << *Branch << "\n");
  981       CHR_DEBUG(dbgs() << "BI " << *Branch << "\n");
  984       CHR_DEBUG(dbgs() << "SI " << *SI << "\n");
  984       CHR_DEBUG(dbgs() << "SI " << *SI << "\n");
  993   CHR_DEBUG(dbgs() << "findScopes " << R->getNameStr() << "\n");
  993   CHR_DEBUG(dbgs() << "findScopes " << R->getNameStr() << "\n");
 1002     CHR_DEBUG(dbgs() << "Looking at subregion " << SubR.get()->getNameStr()
 1003               << "\n");
 1006       CHR_DEBUG(dbgs() << "Subregion Scope " << *SubCHRScope << "\n");
 1006       CHR_DEBUG(dbgs() << "Subregion Scope " << *SubCHRScope << "\n");
 1008       CHR_DEBUG(dbgs() << "Subregion Scope null\n");
 1065       dbgs() << "shouldSplit " << *InsertPoint << " PrevConditionValues ";
 1065       dbgs() << "shouldSplit " << *InsertPoint << " PrevConditionValues ";
 1067         dbgs() << *V << ", ";
 1069       dbgs() << " ConditionValues ";
 1071         dbgs() << *V << ", ";
 1073       dbgs() << "\n");
 1079       CHR_DEBUG(dbgs() << "Split. checkHoistValue false " << *V << "\n");
 1079       CHR_DEBUG(dbgs() << "Split. checkHoistValue false " << *V << "\n");
 1099         dbgs() << "PrevBases ";
 1101           dbgs() << *V << ", ";
 1103         dbgs() << " Bases ";
 1105           dbgs() << *V << ", ";
 1107         dbgs() << "\n");
 1114       CHR_DEBUG(dbgs() << "Split. Intersection empty\n");
 1118   CHR_DEBUG(dbgs() << "No split\n");
 1170         dbgs() << "ConditionValues ";
 1172           dbgs() << *V << ", ";
 1174         dbgs() << "\n");
 1178         CHR_DEBUG(dbgs() << "Outer " << *Outer << "\n");
 1178         CHR_DEBUG(dbgs() << "Outer " << *Outer << "\n");
 1179         CHR_DEBUG(dbgs() << "Should split from outer at "
 1180                   << RI.R->getNameStr() << "\n");
 1202         CHR_DEBUG(dbgs() << "Outer null\n");
 1207       CHR_DEBUG(dbgs() << "Should split from prev at "
 1208                 << RI.R->getNameStr() << "\n");
 1264       CHR_DEBUG(dbgs() << "BranchInsertPoint " << *SplitsInsertPoints[I]
 1265                 << "\n");
 1282         dbgs() << "classifyBiasedScopes " << *Scope << "\n";
 1282         dbgs() << "classifyBiasedScopes " << *Scope << "\n";
 1283         dbgs() << "TrueBiasedRegions ";
 1285           dbgs() << R->getNameStr() << ", ";
 1287         dbgs() << "\n";
 1288         dbgs() << "FalseBiasedRegions ";
 1290           dbgs() << R->getNameStr() << ", ";
 1292         dbgs() << "\n";
 1293         dbgs() << "TrueBiasedSelects ";
 1295           dbgs() << *SI << ", ";
 1297         dbgs() << "\n";
 1298         dbgs() << "FalseBiasedSelects ";
 1300           dbgs() << *SI << ", ";
 1302         dbgs() << "\n";);
 1344       CHR_DEBUG(dbgs() << "Filtered out by biased branches truthy-regions "
 1346                 << " falsy-regions " << Scope->FalseBiasedRegions.size()
 1347                 << " true-selects " << Scope->TrueBiasedSelects.size()
 1348                 << " false-selects " << Scope->FalseBiasedSelects.size() << "\n");
 1348                 << " false-selects " << Scope->FalseBiasedSelects.size() << "\n");
 1372         dbgs() << "setCHRRegions HoistStopMap " << *Scope << "\n";
 1372         dbgs() << "setCHRRegions HoistStopMap " << *Scope << "\n";
 1375           dbgs() << "Region " << R->getNameStr() << "\n";
 1375           dbgs() << "Region " << R->getNameStr() << "\n";
 1377             dbgs() << "HoistStop " << *I << "\n";
 1377             dbgs() << "HoistStop " << *I << "\n";
 1380         dbgs() << "CHRRegions" << "\n";
 1380         dbgs() << "CHRRegions" << "\n";
 1382           dbgs() << RI.R->getNameStr() << "\n";
 1491     CHR_DEBUG(dbgs() << "hoistValue " << *I << "\n");
 1491     CHR_DEBUG(dbgs() << "hoistValue " << *I << "\n");
 1585       dbgs() << "Inserting redudant phis\n";
 1587         dbgs() << "BlockInScope " << BB->getName() << "\n";
 1587         dbgs() << "BlockInScope " << BB->getName() << "\n";
 1597             CHR_DEBUG(dbgs() << "V " << I << "\n");
 1597             CHR_DEBUG(dbgs() << "V " << I << "\n");
 1598             CHR_DEBUG(dbgs() << "Used outside scope by user " << *UI << "\n");
 1598             CHR_DEBUG(dbgs() << "Used outside scope by user " << *UI << "\n");
 1603             CHR_DEBUG(dbgs() << "V " << I << "\n");
 1603             CHR_DEBUG(dbgs() << "V " << I << "\n");
 1605                       << "Used at entry block (for a back edge) by a phi user "
 1606                       << *UI << "\n");
 1623         CHR_DEBUG(dbgs() << "Insert phi " << *PN << "\n");
 1623         CHR_DEBUG(dbgs() << "Insert phi " << *PN << "\n");
 1630           CHR_DEBUG(dbgs() << "Updated user " << *UI << "\n");
 1630           CHR_DEBUG(dbgs() << "Updated user " << *UI << "\n");
 1662   CHR_DEBUG(dbgs() << "Biased regions condition values \n");
 1670       CHR_DEBUG(dbgs() << *V << "\n");
 1684       CHR_DEBUG(dbgs() << *V << "\n");
 1696   CHR_DEBUG(dbgs() << "transformScopes " << *Scope << "\n");
 1696   CHR_DEBUG(dbgs() << "transformScopes " << *Scope << "\n");
 1722   CHR_DEBUG(dbgs() << "Splitting entry block " << EntryBlock->getName()
 1723             << " at " << *Scope->BranchInsertPoint << "\n");
 1723             << " at " << *Scope->BranchInsertPoint << "\n");
 1876   CHR_DEBUG(dbgs() << "CHR branch bias " << Weights[0] << ":" << Weights[1]
 1876   CHR_DEBUG(dbgs() << "CHR branch bias " << Weights[0] << ":" << Weights[1]
 1877             << "\n");
 1908   CHR_DEBUG(dbgs() << "IfThen " << IfThen->getName()
 1909             << " IfElse " << IfElse->getName() << "\n");
 1909             << " IfElse " << IfElse->getName() << "\n");
 1991   dbgs() << Label << " " << Scopes.size() << "\n";
 1991   dbgs() << Label << " " << Scopes.size() << "\n";
 1991   dbgs() << Label << " " << Scopes.size() << "\n";
 1993     dbgs() << *Scope << "\n";
 2006         dbgs() << "RegionInfo:\n";
 2027     CHR_DEBUG(dbgs() << "Set per-scope bias " << SplitScopes.size() << "\n");
 2027     CHR_DEBUG(dbgs() << "Set per-scope bias " << SplitScopes.size() << "\n");
 2048         dbgs() << "RegionInfo:\n";
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  348       LLVM_DEBUG(dbgs() << "Function: " << getFunctionName(SP) << "\n");
  348       LLVM_DEBUG(dbgs() << "Function: " << getFunctionName(SP) << "\n");
  417       LLVM_DEBUG(dbgs() << Blocks.size() << " blocks.\n");
  430           LLVM_DEBUG(dbgs() << Block.Number << " -> "
  431                             << Block.OutEdges[i]->Number << "\n");
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  364   LLVM_DEBUG(dbgs() << "Init " << M.getName() << "\n");
  364   LLVM_DEBUG(dbgs() << "Init " << M.getName() << "\n");
  720   LLVM_DEBUG(dbgs() << "Instrumenting: " << *I << "\n");
  720   LLVM_DEBUG(dbgs() << "Instrumenting: " << *I << "\n");
 1110   LLVM_DEBUG(dbgs() << "Function: " << F.getName() << "\n");
 1110   LLVM_DEBUG(dbgs() << "Function: " << F.getName() << "\n");
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
  225   LLVM_DEBUG(dbgs() << " \nWork on callsite #" << NumOfPGOICallsites << *Inst
  226                     << " Num_targets: " << ValueDataRef.size()
  227                     << " Num_candidates: " << NumCandidates << "\n");
  227                     << " Num_candidates: " << NumCandidates << "\n");
  230     LLVM_DEBUG(dbgs() << " Skip: User options.\n");
  238     LLVM_DEBUG(dbgs() << " Candidate " << I << " Count=" << Count
  238     LLVM_DEBUG(dbgs() << " Candidate " << I << " Count=" << Count
  239                       << "  Target_func: " << Target << "\n");
  239                       << "  Target_func: " << Target << "\n");
  242       LLVM_DEBUG(dbgs() << " Not promote: User options.\n");
  250       LLVM_DEBUG(dbgs() << " Not promote: User option.\n");
  258       LLVM_DEBUG(dbgs() << " Not promote: Cutoff reached.\n");
  268       LLVM_DEBUG(dbgs() << " Not promote: Cannot find the target\n");
  390     LLVM_DEBUG(dbgs() << "Failed to create symtab: " << SymtabFailure << "\n");
  390     LLVM_DEBUG(dbgs() << "Failed to create symtab: " << SymtabFailure << "\n");
  413       LLVM_DEBUG(dbgs() << "\n== IR Dump After =="; F.print(dbgs()));
  414       LLVM_DEBUG(dbgs() << "\n");
  418       LLVM_DEBUG(dbgs() << " Stop: Cutoff reached.\n");
lib/Transforms/Instrumentation/InstrProfiling.cpp
  298     LLVM_DEBUG(dbgs() << Promoted << " counters promoted for loop (depth="
  299                       << L.getLoopDepth() << ")\n");
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1069                << "MemorySanitizer is not inserting checks into '"
 1070                << F.getName() << "'\n");
 1173       LLVM_DEBUG(dbgs() << "  STORE: " << *NewSI << "\n");
 1173       LLVM_DEBUG(dbgs() << "  STORE: " << *NewSI << "\n");
 1206     LLVM_DEBUG(dbgs() << "  SHAD0 : " << *Shadow << "\n");
 1206     LLVM_DEBUG(dbgs() << "  SHAD0 : " << *Shadow << "\n");
 1208     LLVM_DEBUG(dbgs() << "  SHAD1 : " << *ConvertedShadow << "\n");
 1208     LLVM_DEBUG(dbgs() << "  SHAD1 : " << *ConvertedShadow << "\n");
 1238       LLVM_DEBUG(dbgs() << "  CHECK: " << *Cmp << "\n");
 1238       LLVM_DEBUG(dbgs() << "  CHECK: " << *Cmp << "\n");
 1249     LLVM_DEBUG(dbgs() << "DONE:\n" << F);
 1360       LLVM_DEBUG(dbgs() << "getShadowTy: " << *ST << " ===> " << *Res << "\n");
 1360       LLVM_DEBUG(dbgs() << "getShadowTy: " << *ST << " ===> " << *Res << "\n");
 1360       LLVM_DEBUG(dbgs() << "getShadowTy: " << *ST << " ===> " << *Res << "\n");
 1522     LLVM_DEBUG(dbgs() << "ORIGIN: " << *V << "  ==> " << *Origin << "\n");
 1522     LLVM_DEBUG(dbgs() << "ORIGIN: " << *V << "  ==> " << *Origin << "\n");
 1522     LLVM_DEBUG(dbgs() << "ORIGIN: " << *V << "  ==> " << *Origin << "\n");
 1585         LLVM_DEBUG(dbgs() << "No shadow: " << *V << "\n" << *(I->getParent()));
 1585         LLVM_DEBUG(dbgs() << "No shadow: " << *V << "\n" << *(I->getParent()));
 1593       LLVM_DEBUG(dbgs() << "Undef: " << *U << " ==> " << *AllOnes << "\n");
 1593       LLVM_DEBUG(dbgs() << "Undef: " << *U << " ==> " << *AllOnes << "\n");
 1593       LLVM_DEBUG(dbgs() << "Undef: " << *U << " ==> " << *AllOnes << "\n");
 1608           LLVM_DEBUG(dbgs() << "Arg is not sized\n");
 1641               LLVM_DEBUG(dbgs() << "  ByValCpy: " << *Cpy << "\n");
 1641               LLVM_DEBUG(dbgs() << "  ByValCpy: " << *Cpy << "\n");
 1655                      << "  ARG:    " << FArg << " ==> " << **ShadowPtr << "\n");
 1655                      << "  ARG:    " << FArg << " ==> " << **ShadowPtr << "\n");
 1655                      << "  ARG:    " << FArg << " ==> " << **ShadowPtr << "\n");
 3293     LLVM_DEBUG(dbgs() << "  CallSite: " << I << "\n");
 3293     LLVM_DEBUG(dbgs() << "  CallSite: " << I << "\n");
 3299         LLVM_DEBUG(dbgs() << "Arg " << i << " is not sized: " << I << "\n");
 3299         LLVM_DEBUG(dbgs() << "Arg " << i << " is not sized: " << I << "\n");
 3299         LLVM_DEBUG(dbgs() << "Arg " << i << " is not sized: " << I << "\n");
 3309       LLVM_DEBUG(dbgs() << "  Arg#" << i << ": " << *A
 3309       LLVM_DEBUG(dbgs() << "  Arg#" << i << ": " << *A
 3310                         << " Shadow: " << *ArgShadow << "\n");
 3310                         << " Shadow: " << *ArgShadow << "\n");
 3341       LLVM_DEBUG(dbgs() << "  Param:" << *Store << "\n");
 3341       LLVM_DEBUG(dbgs() << "  Param:" << *Store << "\n");
 3344     LLVM_DEBUG(dbgs() << "  done with call args\n");
 3442     StackDescription << "----" << I.getName() << "@" << F.getName();
 3442     StackDescription << "----" << I.getName() << "@" << F.getName();
 3581     LLVM_DEBUG(dbgs() << "ExtractValue:  " << I << "\n");
 3581     LLVM_DEBUG(dbgs() << "ExtractValue:  " << I << "\n");
 3583     LLVM_DEBUG(dbgs() << "   AggShadow:  " << *AggShadow << "\n");
 3583     LLVM_DEBUG(dbgs() << "   AggShadow:  " << *AggShadow << "\n");
 3585     LLVM_DEBUG(dbgs() << "   ResShadow:  " << *ResShadow << "\n");
 3585     LLVM_DEBUG(dbgs() << "   ResShadow:  " << *ResShadow << "\n");
 3592     LLVM_DEBUG(dbgs() << "InsertValue:  " << I << "\n");
 3592     LLVM_DEBUG(dbgs() << "InsertValue:  " << I << "\n");
 3595     LLVM_DEBUG(dbgs() << "   AggShadow:  " << *AggShadow << "\n");
 3595     LLVM_DEBUG(dbgs() << "   AggShadow:  " << *AggShadow << "\n");
 3596     LLVM_DEBUG(dbgs() << "   InsShadow:  " << *InsShadow << "\n");
 3596     LLVM_DEBUG(dbgs() << "   InsShadow:  " << *InsShadow << "\n");
 3598     LLVM_DEBUG(dbgs() << "   Res:        " << *Res << "\n");
 3598     LLVM_DEBUG(dbgs() << "   Res:        " << *Res << "\n");
 3605       errs() << "ZZZ call " << CI->getCalledFunction()->getName() << "\n";
 3605       errs() << "ZZZ call " << CI->getCalledFunction()->getName() << "\n";
 3607       errs() << "ZZZ " << I.getOpcodeName() << "\n";
 3607       errs() << "ZZZ " << I.getOpcodeName() << "\n";
 3607       errs() << "ZZZ " << I.getOpcodeName() << "\n";
 3609     errs() << "QQQ " << I << "\n";
 3609     errs() << "QQQ " << I << "\n";
 3613     LLVM_DEBUG(dbgs() << "Resume: " << I << "\n");
 3613     LLVM_DEBUG(dbgs() << "Resume: " << I << "\n");
 3618     LLVM_DEBUG(dbgs() << "CleanupReturn: " << CRI << "\n");
 3618     LLVM_DEBUG(dbgs() << "CleanupReturn: " << CRI << "\n");
 3623     LLVM_DEBUG(dbgs() << "CatchReturn: " << CRI << "\n");
 3623     LLVM_DEBUG(dbgs() << "CatchReturn: " << CRI << "\n");
 3722     LLVM_DEBUG(dbgs() << "DEFAULT: " << I << "\n");
 3722     LLVM_DEBUG(dbgs() << "DEFAULT: " << I << "\n");
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  272   OS << CmpInst::getPredicateName(CI->getPredicate()) << "_";
  279       OS << "_Zero";
  281       OS << "_One";
  283       OS << "_MinusOne";
  285       OS << "_Const";
  638   LLVM_DEBUG(dbgs() << "Function Hash Computation for " << F.getName() << ":\n"
  638   LLVM_DEBUG(dbgs() << "Function Hash Computation for " << F.getName() << ":\n"
  639                     << " CRC = " << JC.getCRC()
  640                     << ", Selects = " << SIVisitor.getNumOfSelectInsts()
  641                     << ", Edges = " << MST.AllEdges.size() << ", ICSites = "
  641                     << ", Edges = " << MST.AllEdges.size() << ", ICSites = "
  643                     << ", Hash = " << FunctionHash << "\n";);
  643                     << ", Hash = " << FunctionHash << "\n";);
  783         dbgs() << "Fail to split critical edge: not instrument this edge.\n");
  789   LLVM_DEBUG(dbgs() << "Split critical edge: " << getBBInfo(SrcBB).Index
  790                     << " --> " << getBBInfo(DestBB).Index << "\n");
  790                     << " --> " << getBBInfo(DestBB).Index << "\n");
  848       LLVM_DEBUG(dbgs() << "Instrument one VP " << ValueProfKindDescr[Kind]
  848       LLVM_DEBUG(dbgs() << "Instrument one VP " << ValueProfKindDescr[Kind]
  849                         << " site: CallSite Index = " << SiteIndex << "\n");
  849                         << " site: CallSite Index = " << SiteIndex << "\n");
 1148       LLVM_DEBUG(dbgs() << "Error in reading profile for Func "
 1149                         << FuncInfo.FuncName << ": ");
 1153         LLVM_DEBUG(dbgs() << "unknown function");
 1162         LLVM_DEBUG(dbgs() << "hash mismatch (skip=" << SkipWarning << ")");
 1162         LLVM_DEBUG(dbgs() << "hash mismatch (skip=" << SkipWarning << ")");
 1165       LLVM_DEBUG(dbgs() << " IsCS=" << IsCS << "\n");
 1165       LLVM_DEBUG(dbgs() << " IsCS=" << IsCS << "\n");
 1182   LLVM_DEBUG(dbgs() << CountFromProfile.size() << " counts\n");
 1185     LLVM_DEBUG(dbgs() << "  " << I << ": " << CountFromProfile[I] << "\n");
 1185     LLVM_DEBUG(dbgs() << "  " << I << ": " << CountFromProfile[I] << "\n");
 1185     LLVM_DEBUG(dbgs() << "  " << I << ": " << CountFromProfile[I] << "\n");
 1190   LLVM_DEBUG(dbgs() << "SUM =  " << ValueSum << "\n");
 1190   LLVM_DEBUG(dbgs() << "SUM =  " << ValueSum << "\n");
 1197         dbgs() << "Inconsistent number of counts, skipping this function");
 1259   LLVM_DEBUG(dbgs() << "Populate counts in " << NumPasses << " passes.\n");
 1259   LLVM_DEBUG(dbgs() << "Populate counts in " << NumPasses << " passes.\n");
 1290   LLVM_DEBUG(dbgs() << "\nSetting branch weights for func " << F.getName()
 1291                     << " IsCS=" << IsCS << "\n");
 1291                     << " IsCS=" << IsCS << "\n");
 1333   LLVM_DEBUG(dbgs() << "\nAnnotating irreducible loop header weights.\n");
 1432     LLVM_DEBUG(dbgs() << "Read one value site profile (kind = " << Kind
 1433                       << "): Index = " << ValueSiteIndex << " out of "
 1433                       << "): Index = " << ValueSiteIndex << " out of "
 1434                       << NumValueSites << "\n");
 1523   LLVM_DEBUG(dbgs() << "Read in profile counters: ");
 1602         dbgs() << "pgo-view-counts: " << Func.getFunc().getName() << "\n";
 1602         dbgs() << "pgo-view-counts: " << Func.getFunc().getName() << "\n";
 1615         dbgs() << "pgo-view-raw-counts: " << Func.getFunc().getName() << "\n";
 1615         dbgs() << "pgo-view-raw-counts: " << Func.getFunc().getName() << "\n";
 1627     LLVM_DEBUG(dbgs() << "Set inline attribute to function: " << F->getName()
 1628                       << "\n");
 1632     LLVM_DEBUG(dbgs() << "Set cold attribute to function: " << F->getName()
 1633                       << "\n");
 1706   LLVM_DEBUG(dbgs() << "Weight is: "; for (const auto &W
 1708     dbgs() << W << " ";
 1709   } dbgs() << "\n";);
 1731     OS << " (total count : " << TotalCount << ")";
 1731     OS << " (total count : " << TotalCount << ")";
 1786     OS << getSimpleNodeName(Node) << ":\\l";
 1788     OS << "Count : ";
 1790       OS << BI->CountValue << "\\l";
 1792       OS << "Unknown\\l";
 1802       OS << "SELECT : { T = ";
 1806         OS << "Unknown, F = Unknown }\\l";
 1808         OS << TC << ", F = " << FC << " }\\l";
 1808         OS << TC << ", F = " << FC << " }\\l";
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
  156         LLVM_DEBUG(dbgs() << "MemOP call: "
  158                           << "is Transformed.\n");
  252   LLVM_DEBUG(dbgs() << "Read one memory intrinsic profile with count "
  253                     << ActualCount << "\n");
  256            : VDs) { dbgs() << "  (" << VD.Value << "," << VD.Count << ")\n"; });
  256            : VDs) { dbgs() << "  (" << VD.Value << "," << VD.Count << ")\n"; });
  256            : VDs) { dbgs() << "  (" << VD.Value << "," << VD.Count << ")\n"; });
  267     LLVM_DEBUG(dbgs() << "Scale counts: numerator = " << ActualCount
  268                       << " denominator = " << SavedTotalCount << "\n");
  268                       << " denominator = " << SavedTotalCount << "\n");
  317   LLVM_DEBUG(dbgs() << "Optimize one memory intrinsic call to " << Version
  318                     << " Versions (covering " << SumForOpt << " out of "
  318                     << " Versions (covering " << SumForOpt << " out of "
  319                     << TotalCount << ")\n");
  338   LLVM_DEBUG(dbgs() << "\n\n== Basic Block Before ==\n");
  339   LLVM_DEBUG(dbgs() << *BB << "\n");
  366   LLVM_DEBUG(dbgs() << "\n\n== Basic Block After==\n");
  390     LLVM_DEBUG(dbgs() << *CaseBB << "\n");
  397   LLVM_DEBUG(dbgs() << *BB << "\n");
  398   LLVM_DEBUG(dbgs() << *DefaultBB << "\n");
  399   LLVM_DEBUG(dbgs() << *MergeBB << "\n");
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  536     LLVM_DEBUG(dbgs() << "  VPTR : " << *I << "\n");
  536     LLVM_DEBUG(dbgs() << "  VPTR : " << *I << "\n");
lib/Transforms/ObjCARC/ObjCARCAPElim.cpp
  105         LLVM_DEBUG(dbgs() << "ObjCARCAPElim::OptimizeBB: Zapping push pop "
  108                           << *Inst << "\n"
  109                           << "                           Push: " << *Push
  110                           << "\n");
lib/Transforms/ObjCARC/ObjCARCContract.cpp
  139       dbgs() << "Transforming objc_retain => "
  142              << *Retain << "\n");
  149   LLVM_DEBUG(dbgs() << "New: " << *Retain << "\n");
  149   LLVM_DEBUG(dbgs() << "New: " << *Retain << "\n");
  188   LLVM_DEBUG(dbgs() << "    Fusing retain/autorelease!\n"
  191                     << "\n"
  193                     << *Retain << "\n");
  200   LLVM_DEBUG(dbgs() << "        New RetainAutorelease: " << *Retain << "\n");
  200   LLVM_DEBUG(dbgs() << "        New RetainAutorelease: " << *Retain << "\n");
  407       llvm::dbgs() << "    Contracting retain, release into objc_storeStrong.\n"
  408                    << "        Old:\n"
  409                    << "            Store:   " << *Store << "\n"
  409                    << "            Store:   " << *Store << "\n"
  410                    << "            Release: " << *Release << "\n"
  410                    << "            Release: " << *Release << "\n"
  411                    << "            Retain:  " << *Retain << "\n"
  411                    << "            Retain:  " << *Retain << "\n"
  412                    << "            Load:    " << *Load << "\n");
  412                    << "            Load:    " << *Load << "\n");
  433   LLVM_DEBUG(llvm::dbgs() << "        New Store Strong: " << *StoreStrong
  434                           << "\n");
  491       LLVM_DEBUG(dbgs() << "Adding inline asm marker for the return value "
  513       LLVM_DEBUG(dbgs() << "OBJCARCContract: Old = " << *CI << "\n"
  513       LLVM_DEBUG(dbgs() << "OBJCARCContract: Old = " << *CI << "\n"
  514                         << "                 New = " << *Null << "\n");
  514                         << "                 New = " << *Null << "\n");
  565   LLVM_DEBUG(llvm::dbgs() << "**** ObjCARC Contract ****\n");
  601     LLVM_DEBUG(dbgs() << "Visiting: " << *Inst << "\n");
  601     LLVM_DEBUG(dbgs() << "Visiting: " << *Inst << "\n");
lib/Transforms/ObjCARC/ObjCARCExpand.cpp
   93   LLVM_DEBUG(dbgs() << "ObjCARCExpand: Visiting Function: " << F.getName()
   94                     << "\n");
   99     LLVM_DEBUG(dbgs() << "ObjCARCExpand: Visiting: " << *Inst << "\n");
   99     LLVM_DEBUG(dbgs() << "ObjCARCExpand: Visiting: " << *Inst << "\n");
  114       LLVM_DEBUG(dbgs() << "ObjCARCExpand: Old = " << *Inst
  115                         << "\n"
  117                         << *Value << "\n");
  126   LLVM_DEBUG(dbgs() << "ObjCARCExpand: Finished List.\n\n");
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  436   OS << "    TopDown State:\n";
  438     LLVM_DEBUG(dbgs() << "        NONE!\n");
  443       OS << "        Ptr: " << *I->first
  444          << "\n            KnownSafe:        " << (P.IsKnownSafe()?"true":"false")
  444          << "\n            KnownSafe:        " << (P.IsKnownSafe()?"true":"false")
  445          << "\n            ImpreciseRelease: "
  446            << (P.IsTrackingImpreciseReleases()?"true":"false") << "\n"
  446            << (P.IsTrackingImpreciseReleases()?"true":"false") << "\n"
  447          << "            HasCFGHazards:    "
  448            << (P.IsCFGHazardAfflicted()?"true":"false") << "\n"
  448            << (P.IsCFGHazardAfflicted()?"true":"false") << "\n"
  449          << "            KnownPositive:    "
  450            << (P.HasKnownPositiveRefCount()?"true":"false") << "\n"
  450            << (P.HasKnownPositiveRefCount()?"true":"false") << "\n"
  451          << "            Seq:              "
  452          << P.GetSeq() << "\n";
  456   OS << "    BottomUp State:\n";
  458     LLVM_DEBUG(dbgs() << "        NONE!\n");
  463       OS << "        Ptr: " << *I->first
  464          << "\n            KnownSafe:        " << (P.IsKnownSafe()?"true":"false")
  464          << "\n            KnownSafe:        " << (P.IsKnownSafe()?"true":"false")
  465          << "\n            ImpreciseRelease: "
  466            << (P.IsTrackingImpreciseReleases()?"true":"false") << "\n"
  466            << (P.IsTrackingImpreciseReleases()?"true":"false") << "\n"
  467          << "            HasCFGHazards:    "
  468            << (P.IsCFGHazardAfflicted()?"true":"false") << "\n"
  468            << (P.IsCFGHazardAfflicted()?"true":"false") << "\n"
  469          << "            KnownPositive:    "
  470            << (P.HasKnownPositiveRefCount()?"true":"false") << "\n"
  470            << (P.HasKnownPositiveRefCount()?"true":"false") << "\n"
  471          << "            Seq:              "
  472          << P.GetSeq() << "\n";
  643       LLVM_DEBUG(dbgs() << "Erasing autoreleaseRV,retainRV pair: " << *I << "\n"
  643       LLVM_DEBUG(dbgs() << "Erasing autoreleaseRV,retainRV pair: " << *I << "\n"
  644                         << "Erasing " << *RetainRV << "\n");
  644                         << "Erasing " << *RetainRV << "\n");
  656   LLVM_DEBUG(dbgs() << "Transforming objc_retainAutoreleasedReturnValue => "
  659                     << *RetainRV << "\n");
  664   LLVM_DEBUG(dbgs() << "New = " << *RetainRV << "\n");
  664   LLVM_DEBUG(dbgs() << "New = " << *RetainRV << "\n");
  703       dbgs() << "Transforming objc_autoreleaseReturnValue => "
  707              << *AutoreleaseRV << "\n");
  715   LLVM_DEBUG(dbgs() << "New: " << *AutoreleaseRV << "\n");
  715   LLVM_DEBUG(dbgs() << "New: " << *AutoreleaseRV << "\n");
  746   LLVM_DEBUG(dbgs() << "\n== ObjCARCOpt::OptimizeIndividualCalls ==\n");
  761     LLVM_DEBUG(dbgs() << "Visiting: Class: " << Class << "; " << *Inst << "\n");
  761     LLVM_DEBUG(dbgs() << "Visiting: Class: " << Class << "; " << *Inst << "\n");
  761     LLVM_DEBUG(dbgs() << "Visiting: Class: " << Class << "; " << *Inst << "\n");
  790       LLVM_DEBUG(dbgs() << "Erasing no-op cast: " << *Inst << "\n");
  790       LLVM_DEBUG(dbgs() << "Erasing no-op cast: " << *Inst << "\n");
  809             dbgs() << "A null pointer-to-weak-pointer is undefined behavior."
  811                    << *CI << "\nNew = " << *NewValue << "\n");
  811                    << *CI << "\nNew = " << *NewValue << "\n");
  831             dbgs() << "A null pointer-to-weak-pointer is undefined behavior."
  833                    << *CI << "\nNew = " << *NewValue << "\n");
  833                    << *CI << "\nNew = " << *NewValue << "\n");
  869             dbgs() << "Replacing autorelease{,RV}(x) with objc_release(x) "
  871                    << *Call << "\nNew: " << *NewCall << "\n");
  871                    << *Call << "\nNew: " << *NewCall << "\n");
  884           dbgs() << "Adding tail keyword to function since it can never be "
  886                  << *Inst << "\n");
  894       LLVM_DEBUG(dbgs() << "Removing tail keyword from function: " << *Inst
  895                         << "\n");
  902       LLVM_DEBUG(dbgs() << "Found no throw class. Setting nounwind on: "
  903                         << *Inst << "\n");
  918       LLVM_DEBUG(dbgs() << "ARC calls with  null are no-ops. Erasing: " << *Inst
  919                         << "\n");
 1020               LLVM_DEBUG(dbgs() << "Cloning " << *CInst
 1021                                 << "\n"
 1023                                 << *InsertPos << "\n");
 1028           LLVM_DEBUG(dbgs() << "Erasing: " << *CInst << "\n");
 1028           LLVM_DEBUG(dbgs() << "Erasing: " << *CInst << "\n");
 1202   LLVM_DEBUG(dbgs() << "        Class: " << Class << "\n");
 1202   LLVM_DEBUG(dbgs() << "        Class: " << Class << "\n");
 1225         LLVM_DEBUG(dbgs() << "        Matching with: " << *Inst << "\n");
 1225         LLVM_DEBUG(dbgs() << "        Matching with: " << *Inst << "\n");
 1267   LLVM_DEBUG(dbgs() << "\n== ObjCARCOpt::VisitBottomUp ==\n");
 1290   LLVM_DEBUG(dbgs() << "Before:\n"
 1291                     << BBStates[BB] << "\n"
 1292                     << "Performing Dataflow:\n");
 1302     LLVM_DEBUG(dbgs() << "    Visiting " << *Inst << "\n");
 1302     LLVM_DEBUG(dbgs() << "    Visiting " << *Inst << "\n");
 1324   LLVM_DEBUG(dbgs() << "\nFinal State:\n" << BBStates[BB] << "\n");
 1324   LLVM_DEBUG(dbgs() << "\nFinal State:\n" << BBStates[BB] << "\n");
 1337   LLVM_DEBUG(dbgs() << "        Class: " << Class << "\n");
 1337   LLVM_DEBUG(dbgs() << "        Class: " << Class << "\n");
 1363       LLVM_DEBUG(dbgs() << "        Matching with: " << *Inst << "\n");
 1363       LLVM_DEBUG(dbgs() << "        Matching with: " << *Inst << "\n");
 1403   LLVM_DEBUG(dbgs() << "\n== ObjCARCOpt::VisitTopDown ==\n");
 1425   LLVM_DEBUG(dbgs() << "Before:\n"
 1426                     << BBStates[BB] << "\n"
 1427                     << "Performing Dataflow:\n");
 1431     LLVM_DEBUG(dbgs() << "    Visiting " << Inst << "\n");
 1431     LLVM_DEBUG(dbgs() << "    Visiting " << Inst << "\n");
 1443   LLVM_DEBUG(dbgs() << "\nState Before Checking for CFG Hazards:\n"
 1444                     << BBStates[BB] << "\n\n");
 1446   LLVM_DEBUG(dbgs() << "Final State:\n" << BBStates[BB] << "\n");
 1446   LLVM_DEBUG(dbgs() << "Final State:\n" << BBStates[BB] << "\n");
 1574   LLVM_DEBUG(dbgs() << "== ObjCARCOpt::MoveCalls ==\n");
 1585     LLVM_DEBUG(dbgs() << "Inserting new Retain: " << *Call
 1586                       << "\n"
 1588                       << *InsertPt << "\n");
 1602     LLVM_DEBUG(dbgs() << "Inserting new Release: " << *Call
 1603                       << "\n"
 1605                       << *InsertPt << "\n");
 1612     LLVM_DEBUG(dbgs() << "Deleting retain: " << *OrigRetain << "\n");
 1612     LLVM_DEBUG(dbgs() << "Deleting retain: " << *OrigRetain << "\n");
 1617     LLVM_DEBUG(dbgs() << "Deleting release: " << *OrigRelease << "\n");
 1617     LLVM_DEBUG(dbgs() << "Deleting release: " << *OrigRelease << "\n");
 1824   LLVM_DEBUG(dbgs() << "\n== ObjCARCOpt::PerformCodePlacement ==\n");
 1838     LLVM_DEBUG(dbgs() << "Visiting: " << *Retain << "\n");
 1838     LLVM_DEBUG(dbgs() << "Visiting: " << *Retain << "\n");
 1883   LLVM_DEBUG(dbgs() << "\n== ObjCARCOpt::OptimizeWeakCalls ==\n");
 1891     LLVM_DEBUG(dbgs() << "Visiting: " << *Inst << "\n");
 1891     LLVM_DEBUG(dbgs() << "Visiting: " << *Inst << "\n");
 2153   LLVM_DEBUG(dbgs() << "\n== ObjCARCOpt::OptimizeReturns ==\n");
 2162     LLVM_DEBUG(dbgs() << "Visiting: " << *Ret << "\n");
 2162     LLVM_DEBUG(dbgs() << "Visiting: " << *Ret << "\n");
 2200     LLVM_DEBUG(dbgs() << "Erasing: " << *Retain << "\nErasing: " << *Autorelease
 2200     LLVM_DEBUG(dbgs() << "Erasing: " << *Retain << "\nErasing: " << *Autorelease
 2201                       << "\n");
 2261   LLVM_DEBUG(dbgs() << "<<< ObjCARCOpt: Visiting Function: " << F.getName()
 2262                     << " >>>"
 2311   LLVM_DEBUG(dbgs() << "\n");
lib/Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp
   76       errs() << NameV1 << " and " << NameV2;
   78         errs() << " are related.\n";
   80         errs() << " are not related.\n";
lib/Transforms/ObjCARC/PtrState.cpp
   39     return OS << "S_None";
   41     return OS << "S_Retain";
   43     return OS << "S_CanRelease";
   45     return OS << "S_Use";
   47     return OS << "S_Release";
   49     return OS << "S_MovableRelease";
   51     return OS << "S_Stop";
  128   LLVM_DEBUG(dbgs() << "        Setting Known Positive.\n");
  133   LLVM_DEBUG(dbgs() << "        Clearing Known Positive.\n");
  138   LLVM_DEBUG(dbgs() << "            Old: " << GetSeq() << "; New: " << NewSeq
  138   LLVM_DEBUG(dbgs() << "            Old: " << GetSeq() << "; New: " << NewSeq
  139                     << "\n");
  144   LLVM_DEBUG(dbgs() << "        Resetting sequence progress.\n");
  188         dbgs() << "        Found nested releases (i.e. a release pair)\n");
  238   LLVM_DEBUG(dbgs() << "            CanAlterRefCount: Seq: " << S << "; "
  238   LLVM_DEBUG(dbgs() << "            CanAlterRefCount: Seq: " << S << "; "
  239                     << *Ptr << "\n");
  290       LLVM_DEBUG(dbgs() << "            CanUse: Seq: " << GetSeq() << "; "
  290       LLVM_DEBUG(dbgs() << "            CanUse: Seq: " << GetSeq() << "; "
  291                         << *Ptr << "\n");
  294       LLVM_DEBUG(dbgs() << "            PreciseReleaseUse: Seq: " << GetSeq()
  295                         << "; " << *Ptr << "\n");
  295                         << "; " << *Ptr << "\n");
  300         LLVM_DEBUG(dbgs() << "            ReleaseUse: Seq: " << GetSeq() << "; "
  300         LLVM_DEBUG(dbgs() << "            ReleaseUse: Seq: " << GetSeq() << "; "
  301                           << *Ptr << "\n");
  308       LLVM_DEBUG(dbgs() << "            PreciseStopUse: Seq: " << GetSeq()
  309                         << "; " << *Ptr << "\n");
  309                         << "; " << *Ptr << "\n");
  390   LLVM_DEBUG(dbgs() << "            CanAlterRefCount: Seq: " << GetSeq() << "; "
  390   LLVM_DEBUG(dbgs() << "            CanAlterRefCount: Seq: " << GetSeq() << "; "
  391                     << *Ptr << "\n");
  423     LLVM_DEBUG(dbgs() << "             CanUse: Seq: " << GetSeq() << "; "
  423     LLVM_DEBUG(dbgs() << "             CanUse: Seq: " << GetSeq() << "; "
  424                       << *Ptr << "\n");
lib/Transforms/Scalar/ADCE.cpp
  302       LLVM_DEBUG(dbgs() << "post-dom root child is a return: " << BB->getName()
  360       LLVM_DEBUG(dbgs() << "work live: "; LiveInst->dump(););
  382   LLVM_DEBUG(dbgs() << "mark live: "; I->dump());
  406   LLVM_DEBUG(dbgs() << "mark block live: " << BBInfo.BB->getName() << '\n');
  468     dbgs() << "new live blocks:\n";
  470       dbgs() << "\t" << BB->getName() << '\n';
  471     dbgs() << "dead terminator blocks:\n";
  473       dbgs() << "\t" << BB->getName() << '\n';
  495     LLVM_DEBUG(dbgs() << "live control in: " << BB->getName() << '\n');
  526               dbgs() << "Dropping debug info for " << *DII << "\n";
  526               dbgs() << "Dropping debug info for " << *DII << "\n";
  564     dbgs() << "final dead terminator blocks: " << '\n';
  567              << (BlockInfo[BB].Live ? " LIVE\n" : "\n");
  615         LLVM_DEBUG(dbgs() << "ADCE: (Post)DomTree edge enqueued for deletion"
  616                           << BB->getName() << " -> " << Succ->getName()
  617                           << "\n");
  661   LLVM_DEBUG(dbgs() << "making unconditional " << BB->getName() << '\n');
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
   98   LLVM_DEBUG(dbgs() << "\talignment relative to " << *AlignSCEV << " is "
   98   LLVM_DEBUG(dbgs() << "\talignment relative to " << *AlignSCEV << " is "
   99                     << *DiffUnitsSCEV << " (diff: " << *DiffSCEV << ")\n");
   99                     << *DiffUnitsSCEV << " (diff: " << *DiffSCEV << ")\n");
  139   LLVM_DEBUG(dbgs() << "AFI: alignment of " << *Ptr << " relative to "
  139   LLVM_DEBUG(dbgs() << "AFI: alignment of " << *Ptr << " relative to "
  140                     << *AlignSCEV << " and offset " << *OffSCEV
  141                     << " using diff " << *DiffSCEV << "\n");
  141                     << " using diff " << *DiffSCEV << "\n");
  144   LLVM_DEBUG(dbgs() << "\tnew alignment: " << NewAlignment << "\n");
  144   LLVM_DEBUG(dbgs() << "\tnew alignment: " << NewAlignment << "\n");
  160     LLVM_DEBUG(dbgs() << "\ttrying start/inc alignment using start "
  161                       << *DiffStartSCEV << " and inc " << *DiffIncSCEV << "\n");
  161                       << *DiffStartSCEV << " and inc " << *DiffIncSCEV << "\n");
  170     LLVM_DEBUG(dbgs() << "\tnew start alignment: " << NewAlignment << "\n");
  170     LLVM_DEBUG(dbgs() << "\tnew start alignment: " << NewAlignment << "\n");
  171     LLVM_DEBUG(dbgs() << "\tnew inc alignment: " << NewIncAlignment << "\n");
  171     LLVM_DEBUG(dbgs() << "\tnew inc alignment: " << NewIncAlignment << "\n");
  177         LLVM_DEBUG(dbgs() << "\tnew start/inc alignment: " << NewIncAlignment
  178                           << "\n");
  183         LLVM_DEBUG(dbgs() << "\tnew start/inc alignment: " << NewAlignment
  184                           << "\n");
  188       LLVM_DEBUG(dbgs() << "\tnew start/inc alignment: " << NewAlignment
  189                         << "\n");
  339       LLVM_DEBUG(dbgs() << "\tmem inst: " << NewDestAlignment << "\n";);
  339       LLVM_DEBUG(dbgs() << "\tmem inst: " << NewDestAlignment << "\n";);
  351         LLVM_DEBUG(dbgs() << "\tmem trans: " << NewSrcAlignment << "\n";);
  351         LLVM_DEBUG(dbgs() << "\tmem trans: " << NewSrcAlignment << "\n";);
lib/Transforms/Scalar/BDCE.cpp
  122       LLVM_DEBUG(dbgs() << "BDCE: Trivializing: " << U << " (all bits dead)\n");
  122       LLVM_DEBUG(dbgs() << "BDCE: Trivializing: " << U << " (all bits dead)\n");
lib/Transforms/Scalar/CallSiteSplitting.cpp
  322   LLVM_DEBUG(dbgs() << "split call-site : " << *Instr << " into \n");
  322   LLVM_DEBUG(dbgs() << "split call-site : " << *Instr << " into \n");
  350     LLVM_DEBUG(dbgs() << "    " << *NewCI << " in " << SplitBlock->getName()
  350     LLVM_DEBUG(dbgs() << "    " << *NewCI << " in " << SplitBlock->getName()
  351                       << "\n");
lib/Transforms/Scalar/ConstantHoisting.cpp
  146   LLVM_DEBUG(dbgs() << "********** Begin Constant Hoisting **********\n");
  147   LLVM_DEBUG(dbgs() << "********** Function: " << Fn.getName() << '\n');
  159     LLVM_DEBUG(dbgs() << "********** Function after Constant Hoisting: "
  163   LLVM_DEBUG(dbgs() << "********** End Constant Hoisting **********\n");
  382                    << "Collect constant " << *ConstInt << " from " << *Inst
  382                    << "Collect constant " << *ConstInt << " from " << *Inst
  383                    << " with cost " << Cost << '\n';
  384                else dbgs() << "Collect constant " << *ConstInt
  385                            << " indirectly from " << *Inst << " via "
  385                            << " indirectly from " << *Inst << " via "
  386                            << *Inst->getOperand(Idx) << " with cost " << Cost
  565   LLVM_DEBUG(dbgs() << "== Maximize constants in range ==\n");
  572     LLVM_DEBUG(dbgs() << "= Constant: " << ConstCand->ConstInt->getValue()
  573                       << "\n");
  579       LLVM_DEBUG(dbgs() << "Cost: " << Cost << "\n");
  579       LLVM_DEBUG(dbgs() << "Cost: " << Cost << "\n");
  589           LLVM_DEBUG(dbgs() << "Offset " << Diff.getValue() << " "
  589           LLVM_DEBUG(dbgs() << "Offset " << Diff.getValue() << " "
  590                             << "has penalty: " << ImmCosts << "\n"
  590                             << "has penalty: " << ImmCosts << "\n"
  591                             << "Adjusted cost: " << Cost << "\n");
  591                             << "Adjusted cost: " << Cost << "\n");
  595     LLVM_DEBUG(dbgs() << "Cumulative cost: " << Cost << "\n");
  595     LLVM_DEBUG(dbgs() << "Cumulative cost: " << Cost << "\n");
  599       LLVM_DEBUG(dbgs() << "New candidate: " << MaxCostItr->ConstInt->getValue()
  600                         << "\n");
  754     LLVM_DEBUG(dbgs() << "Materialize constant (" << *Base->getOperand(0)
  755                       << " + " << *Offset << ") in BB "
  755                       << " + " << *Offset << ") in BB "
  764     LLVM_DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n');
  767     LLVM_DEBUG(dbgs() << "To    : " << *ConstUser.Inst << '\n');
  783       LLVM_DEBUG(dbgs() << "Clone instruction: " << *CastInst << '\n'
  784                         << "To               : " << *ClonedCastInst << '\n');
  787     LLVM_DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n');
  789     LLVM_DEBUG(dbgs() << "To    : " << *ConstUser.Inst << '\n');
  811     LLVM_DEBUG(dbgs() << "Create instruction: " << *ConstExprInst << '\n'
  812                       << "From              : " << *ConstExpr << '\n');
  813     LLVM_DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n');
  819     LLVM_DEBUG(dbgs() << "To    : " << *ConstUser.Inst << '\n');
  879       LLVM_DEBUG(dbgs() << "Hoist constant (" << *ConstInfo.BaseInt
  880                         << ") to BB " << IP->getParent()->getName() << '\n'
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  259       LLVM_DEBUG(dbgs() << "CVP: Threading PHI over " << *SI << '\n');
lib/Transforms/Scalar/DeadStoreElimination.cpp
  430     LLVM_DEBUG(dbgs() << "DSE: Partial overwrite: Earlier [" << EarlierOff
  431                       << ", " << int64_t(EarlierOff + EarlierSize)
  432                       << ") Later [" << LaterOff << ", "
  432                       << ") Later [" << LaterOff << ", "
  433                       << int64_t(LaterOff + LaterSize) << ")\n");
  470       LLVM_DEBUG(dbgs() << "DSE: Full overwrite from partials: Earlier ["
  471                         << EarlierOff << ", "
  473                         << ") Composite Later [" << ILI->second << ", "
  473                         << ") Composite Later [" << ILI->second << ", "
  474                         << ILI->first << ")\n");
  485     LLVM_DEBUG(dbgs() << "DSE: Partial overwrite an earlier load ["
  486                       << EarlierOff << ", "
  488                       << ") by a later store [" << LaterOff << ", "
  488                       << ") by a later store [" << LaterOff << ", "
  489                       << int64_t(LaterOff + LaterSize) << ")\n");
  688           dbgs() << "DSE: Dead Store to soon to be freed memory:\n  DEAD: "
  799         LLVM_DEBUG(dbgs() << "DSE: Dead Store at End of Block:\n  DEAD: "
  800                           << *Dead << "\n  Objects: ";
  807                        dbgs() << ", ";
  822       LLVM_DEBUG(dbgs() << "DSE: Removing trivially dead instruction:\n  DEAD: "
  934   LLVM_DEBUG(dbgs() << "DSE: Remove Dead Store:\n  OW "
  935                     << (IsOverwriteEnd ? "END" : "BEGIN") << ": "
  935                     << (IsOverwriteEnd ? "END" : "BEGIN") << ": "
  936                     << *EarlierWrite << "\n  KILLER (offset " << LaterOffset
  937                     << ", " << EarlierSize << ")\n");
  937                     << ", " << EarlierSize << ")\n");
 1044           dbgs() << "DSE: Remove Store Of Load from same pointer:\n  LOAD: "
 1045                  << *DepLoad << "\n  STORE: " << *SI << '\n');
 1062           dbgs() << "DSE: Remove null store to the calloc'ed object:\n  DEAD: "
 1063                  << *Inst << "\n  OBJECT: " << *UnderlyingPointer << '\n');
 1186           LLVM_DEBUG(dbgs() << "DSE: Remove Dead Store:\n  DEAD: " << *DepWrite
 1187                             << "\n  KILLER: " << *Inst << '\n');
 1251             LLVM_DEBUG(dbgs() << "DSE: Merge Stores:\n  Earlier: " << *DepWrite
 1252                               << "\n  Later: " << *Inst
 1253                               << "\n  Merged Value: " << Merged << '\n');
lib/Transforms/Scalar/EarlyCSE.cpp
  839     LLVM_DEBUG(dbgs() << "EarlyCSE CVP: Add conditional value for '"
  840                       << Curr->getName() << "' as " << *TorF << " in "
  840                       << Curr->getName() << "' as " << *TorF << " in "
  841                       << BB->getName() << "\n");
  843       LLVM_DEBUG(dbgs() << "Skipping due to debug counter\n");
  904       LLVM_DEBUG(dbgs() << "EarlyCSE DCE: " << *Inst << '\n');
  906         LLVM_DEBUG(dbgs() << "Skipping due to debug counter\n");
  926         LLVM_DEBUG(dbgs() << "EarlyCSE considering assumption: " << *Inst
  930         LLVM_DEBUG(dbgs() << "EarlyCSE skipping assumption: " << *Inst << '\n');
  936       LLVM_DEBUG(dbgs() << "EarlyCSE skipping sideeffect: " << *Inst << '\n');
  975                          << "EarlyCSE removing guard: " << *Inst << '\n');
 1000       LLVM_DEBUG(dbgs() << "EarlyCSE Simplify: " << *Inst << "  to: " << *V
 1000       LLVM_DEBUG(dbgs() << "EarlyCSE Simplify: " << *Inst << "  to: " << *V
 1003         LLVM_DEBUG(dbgs() << "Skipping due to debug counter\n");
 1027         LLVM_DEBUG(dbgs() << "EarlyCSE CSE: " << *Inst << "  to: " << *V
 1027         LLVM_DEBUG(dbgs() << "EarlyCSE CSE: " << *Inst << "  to: " << *V
 1030           LLVM_DEBUG(dbgs() << "Skipping due to debug counter\n");
 1088           LLVM_DEBUG(dbgs() << "EarlyCSE CSE LOAD: " << *Inst
 1089                             << "  to: " << *InVal.DefInst << '\n');
 1091             LLVM_DEBUG(dbgs() << "Skipping due to debug counter\n");
 1131         LLVM_DEBUG(dbgs() << "EarlyCSE CSE CALL: " << *Inst
 1132                           << "  to: " << *InVal.first << '\n');
 1134           LLVM_DEBUG(dbgs() << "Skipping due to debug counter\n");
 1187         LLVM_DEBUG(dbgs() << "EarlyCSE DSE (writeback): " << *Inst << '\n');
 1189           LLVM_DEBUG(dbgs() << "Skipping due to debug counter\n");
 1222             LLVM_DEBUG(dbgs() << "EarlyCSE DEAD STORE: " << *LastStore
 1223                               << "  due to: " << *Inst << '\n');
 1225               LLVM_DEBUG(dbgs() << "Skipping due to debug counter\n");
lib/Transforms/Scalar/Float2Int.cpp
  150   LLVM_DEBUG(dbgs() << "F2I: " << *I << ":" << R << "\n");
  150   LLVM_DEBUG(dbgs() << "F2I: " << *I << ":" << R << "\n");
  150   LLVM_DEBUG(dbgs() << "F2I: " << *I << ":" << R << "\n");
  381             LLVM_DEBUG(dbgs() << "F2I: Failing because of " << *U << "\n");
  381             LLVM_DEBUG(dbgs() << "F2I: Failing because of " << *U << "\n");
  402     LLVM_DEBUG(dbgs() << "F2I: MinBitwidth=" << MinBW << ", R: " << R << "\n");
  402     LLVM_DEBUG(dbgs() << "F2I: MinBitwidth=" << MinBW << ", R: " << R << "\n");
  402     LLVM_DEBUG(dbgs() << "F2I: MinBitwidth=" << MinBW << ", R: " << R << "\n");
  413       LLVM_DEBUG(dbgs() << "F2I: Value not guaranteed to be representable!\n");
  418           dbgs() << "F2I: Value requires more than 64 bits to represent!\n");
  517   LLVM_DEBUG(dbgs() << "F2I: Looking at function " << F.getName() << "\n");
  517   LLVM_DEBUG(dbgs() << "F2I: Looking at function " << F.getName() << "\n");
lib/Transforms/Scalar/GVN.cpp
  637   errs() << "{\n";
  640       errs() << I->first << "\n";
  643   errs() << "}\n";
  781       LLVM_DEBUG(dbgs() << "GVN COERCED NONLOCAL VAL:\nOffset: " << Offset
  782                         << "  " << *getSimpleValue() << '\n'
  784                         << "\n\n\n");
  798       LLVM_DEBUG(dbgs() << "GVN COERCED NONLOCAL LOAD:\nOffset: " << Offset
  799                         << "  " << *getCoercedLoadValue() << '\n'
  801                         << "\n\n\n");
  806     LLVM_DEBUG(dbgs() << "GVN COERCED NONLOCAL MEM INTRIN:\nOffset: " << Offset
  807                       << "  " << *getMemIntrinValue() << '\n'
  809                       << "\n\n\n");
  812     LLVM_DEBUG(dbgs() << "GVN COERCED NONLOCAL Undef:\n";);
  917         dbgs() << "GVN: load "; LI->printAsOperand(dbgs());
  918         dbgs() << " is clobbered by " << *DepInst << '\n';);
  974       dbgs() << "GVN: load "; LI->printAsOperand(dbgs());
  975       dbgs() << " has unknown def " << *DepInst << '\n';);
 1098           dbgs() << "COULD NOT PRE LOAD BECAUSE OF AN EH PAD PREDECESSOR '"
 1099                  << Pred->getName() << "': " << *LI << '\n');
 1110             dbgs() << "COULD NOT PRE LOAD BECAUSE OF INDBR CRITICAL EDGE '"
 1111                    << Pred->getName() << "': " << *LI << '\n');
 1118             dbgs() << "COULD NOT PRE LOAD BECAUSE OF CALLBR CRITICAL EDGE '"
 1119                    << Pred->getName() << "': " << *LI << '\n');
 1125             dbgs() << "COULD NOT PRE LOAD BECAUSE OF AN EH PAD CRITICAL EDGE '"
 1126                    << Pred->getName() << "': " << *LI << '\n');
 1154     LLVM_DEBUG(dbgs() << "Split critical edge " << OrigPred->getName() << "->"
 1154     LLVM_DEBUG(dbgs() << "Split critical edge " << OrigPred->getName() << "->"
 1194       LLVM_DEBUG(dbgs() << "COULDN'T INSERT PHI TRANSLATED VALUE OF: "
 1195                         << *LI->getPointerOperand() << "\n");
 1220   LLVM_DEBUG(dbgs() << "GVN REMOVING PRE LOAD: " << *LI << '\n');
 1222              << "INSERTED " << NewInsts.size() << " INSTS: " << *NewInsts.back()
 1222              << "INSERTED " << NewInsts.size() << " INSTS: " << *NewInsts.back()
 1273     LLVM_DEBUG(dbgs() << "GVN INSERTED " << *NewLoad << '\n');
 1331     LLVM_DEBUG(dbgs() << "GVN: non-local load "; LI->printAsOperand(dbgs());
 1332                dbgs() << " has unknown dependencies\n";);
 1361     LLVM_DEBUG(dbgs() << "GVN REMOVING NONLOCAL LOAD: " << *LI << '\n');
 1490       LLVM_DEBUG(dbgs() << "Replacing dominated uses of "
 1491                  << *CmpLHS << " with "
 1492                  << *CmpRHS << " in block "
 1493                  << IntrinsicI->getParent()->getName() << "\n");
 1541         dbgs() << "GVN: load "; L->printAsOperand(dbgs());
 1542         dbgs() << " has unknown dependence\n";);
 1762       LLVM_DEBUG(dbgs() << "GVN replacing: " << *Operand << " with "
 1762       LLVM_DEBUG(dbgs() << "GVN replacing: " << *Operand << " with "
 1763                         << *it->second << " in instruction " << *Instr << '\n');
 2114     LLVM_DEBUG(dbgs() << "GVN iteration: " << Iteration << "\n");
 2114     LLVM_DEBUG(dbgs() << "GVN iteration: " << Iteration << "\n");
 2177       LLVM_DEBUG(dbgs() << "GVN removed: " << *I << '\n');
 2407   LLVM_DEBUG(dbgs() << "GVN PRE removed: " << *CurInst << '\n');
lib/Transforms/Scalar/GVNHoist.cpp
  624         LLVM_DEBUG(dbgs() << "\nPushing on stack: " << *VI.second);
  638       LLVM_DEBUG(dbgs() << "\nLooking at CHIs in: " << Pred->getName(););
  654                        << "\nCHI Inserted in BB: " << C.Dest->getName() << *C.I
  655                        << ", VN: " << C.VN.first << ", " << C.VN.second);
  655                        << ", VN: " << C.VN.first << ", " << C.VN.second);
  799             LLVM_DEBUG(dbgs() << "\nInsertion a CHI for BB: " << IDFB->getName()
  800                               << ", for Insn: " << *V[i]);
lib/Transforms/Scalar/GVNSink.cpp
   92   dbgs() << "\n";
  218   OS << "<Candidate Cost=" << C.Cost << " #Blocks=" << C.NumBlocks
  218   OS << "<Candidate Cost=" << C.Cost << " #Blocks=" << C.NumBlocks
  219      << " #Insts=" << C.NumInstructions << " #PHIs=" << C.NumPHIs << ">";
  219      << " #Insts=" << C.NumInstructions << " #PHIs=" << C.NumPHIs << ">";
  219      << " #Insts=" << C.NumInstructions << " #PHIs=" << C.NumPHIs << ">";
  564     LLVM_DEBUG(dbgs() << "GVNSink: running on function @" << F.getName()
  565                       << "\n");
  633   LLVM_DEBUG(dbgs() << " -- Analyzing instruction set: [\n"; for (auto *I
  636   } dbgs() << " ]\n";);
  641     LLVM_DEBUG(dbgs() << " VN=" << Twine::utohexstr(N) << " for" << *I << "\n");
  641     LLVM_DEBUG(dbgs() << " VN=" << Twine::utohexstr(N) << " for" << *I << "\n");
  641     LLVM_DEBUG(dbgs() << " VN=" << Twine::utohexstr(N) << " for" << *I << "\n");
  762   LLVM_DEBUG(dbgs() << "GVNSink: running on basic block ";
  763              BBEnd->printAsOperand(dbgs()); dbgs() << "\n");
  804   LLVM_DEBUG(dbgs() << " -- Sinking candidates:\n"; for (auto &C
  806                                                     << "  " << C << "\n";);
  806                                                     << "  " << C << "\n";);
  813   LLVM_DEBUG(dbgs() << " -- Sinking: " << C << "\n");
  813   LLVM_DEBUG(dbgs() << " -- Sinking: " << C << "\n");
  816     LLVM_DEBUG(dbgs() << " -- Splitting edge to ";
  817                BBEnd->printAsOperand(dbgs()); dbgs() << "\n");
  820       LLVM_DEBUG(dbgs() << " -- FAILED to split edge!\n");
lib/Transforms/Scalar/GuardWidening.cpp
  228       OS << "Base: ";
  230       OS << " Offset: ";
  232       OS << " Length: ";
  238       dbgs() << "\n";
  407       LLVM_DEBUG(dbgs() << "Score between " << *getCondition(Instr)
  408                         << " and " << *getCondition(Candidate) << " is "
  408                         << " and " << *getCondition(Candidate) << " is "
  409                         << scoreTypeToString(Score) << "\n");
  418     LLVM_DEBUG(dbgs() << "Did not eliminate guard " << *Instr << "\n");
  418     LLVM_DEBUG(dbgs() << "Did not eliminate guard " << *Instr << "\n");
  425   LLVM_DEBUG(dbgs() << "Widening " << *Instr << " into " << *BestSoFar
  425   LLVM_DEBUG(dbgs() << "Widening " << *Instr << " into " << *BestSoFar
  426                     << " with score " << scoreTypeToString(BestScoreSoFar)
  427                     << "\n");
lib/Transforms/Scalar/IndVarSimplify.cpp
  223     LLVM_DEBUG(dbgs() << "INDVARS: GEP rewrite bail out " << *FromBase
  224                       << " != " << *ToBase << "\n");
  224                       << " != " << *ToBase << "\n");
  676         LLVM_DEBUG(dbgs() << "INDVARS: RLEV: AfterLoopVal = " << *ExitVal
  678                           << "  LoopVal = " << *Inst << "\n");
  678                           << "  LoopVal = " << *Inst << "\n");
 1114   LLVM_DEBUG(dbgs() << "Cloning bitwise IVUser: " << *NarrowUse << "\n");
 1114   LLVM_DEBUG(dbgs() << "Cloning bitwise IVUser: " << *NarrowUse << "\n");
 1145   LLVM_DEBUG(dbgs() << "Cloning arithmetic IVUser: " << *NarrowUse << "\n");
 1145   LLVM_DEBUG(dbgs() << "Cloning arithmetic IVUser: " << *NarrowUse << "\n");
 1348   LLVM_DEBUG(dbgs() << "INDVARS: Truncate IV " << *DU.WideDef << " for user "
 1348   LLVM_DEBUG(dbgs() << "INDVARS: Truncate IV " << *DU.WideDef << " for user "
 1349                     << *DU.NarrowUse << "\n");
 1491   LLVM_DEBUG(dbgs() << "Cloning arithmetic IVUser: " << *NarrowUse << "\n");
 1491   LLVM_DEBUG(dbgs() << "Cloning arithmetic IVUser: " << *NarrowUse << "\n");
 1520         LLVM_DEBUG(dbgs() << "INDVARS: eliminating " << *User << " replaced by "
 1520         LLVM_DEBUG(dbgs() << "INDVARS: eliminating " << *User << " replaced by "
 1521                           << *WideBO << "\n");
 1531         LLVM_DEBUG(dbgs() << "INDVARS: eliminating " << *User << " replaced by "
 1531         LLVM_DEBUG(dbgs() << "INDVARS: eliminating " << *User << " replaced by "
 1532                           << *WideBO << "\n");
 1570         LLVM_DEBUG(dbgs() << "INDVARS: Widen lcssa phi " << *UsePhi << " to "
 1570         LLVM_DEBUG(dbgs() << "INDVARS: Widen lcssa phi " << *UsePhi << " to "
 1571                           << *WidePhi << "\n");
 1602         LLVM_DEBUG(dbgs() << "INDVARS: New IV " << *WidePhi
 1603                           << " not wide enough to subsume " << *DU.NarrowUse
 1604                           << "\n");
 1610       LLVM_DEBUG(dbgs() << "INDVARS: eliminating " << *DU.NarrowUse
 1611                         << " replaced by " << *DU.WideDef << "\n");
 1611                         << " replaced by " << *DU.WideDef << "\n");
 1676     LLVM_DEBUG(dbgs() << "Wide use expression mismatch: " << *WideUse << ": "
 1676     LLVM_DEBUG(dbgs() << "Wide use expression mismatch: " << *WideUse << ": "
 1677                       << *SE->getSCEV(WideUse) << " != " << *WideAddRec.first
 1678                       << "\n");
 1787   LLVM_DEBUG(dbgs() << "Wide IV: " << *WidePhi << "\n");
 1787   LLVM_DEBUG(dbgs() << "Wide IV: " << *WidePhi << "\n");
 2537   LLVM_DEBUG(dbgs() << "INDVARS: Rewriting loop exit condition to:\n"
 2538                     << "      LHS:" << *CmpIndVar << '\n'
 2539                     << "       op:\t" << (P == ICmpInst::ICMP_NE ? "!=" : "==")
 2539                     << "       op:\t" << (P == ICmpInst::ICMP_NE ? "!=" : "==")
 2540                     << "\n"
 2541                     << "      RHS:\t" << *ExitCnt << "\n"
 2541                     << "      RHS:\t" << *ExitCnt << "\n"
 2542                     << "ExitCount:\t" << *ExitCount << "\n"
 2542                     << "ExitCount:\t" << *ExitCount << "\n"
 2543                     << "  was: " << *BI->getCondition() << "\n");
 2543                     << "  was: " << *BI->getCondition() << "\n");
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  163     OS << "InductiveRangeCheck:\n";
  164     OS << "  Begin: ";
  166     OS << "  Step: ";
  168     OS << "  End: ";
  170     OS << "\n  CheckUse: ";
  172     OS << " Operand: " << getCheckUse()->getOperandNo() << "\n";
  172     OS << " Operand: " << getCheckUse()->getOperandNo() << "\n";
  656   LLVM_DEBUG(dbgs() << "irce: isSafeDecreasingBound with:\n");
  657   LLVM_DEBUG(dbgs() << "irce: Start: " << *Start << "\n");
  657   LLVM_DEBUG(dbgs() << "irce: Start: " << *Start << "\n");
  658   LLVM_DEBUG(dbgs() << "irce: Step: " << *Step << "\n");
  658   LLVM_DEBUG(dbgs() << "irce: Step: " << *Step << "\n");
  659   LLVM_DEBUG(dbgs() << "irce: BoundSCEV: " << *BoundSCEV << "\n");
  659   LLVM_DEBUG(dbgs() << "irce: BoundSCEV: " << *BoundSCEV << "\n");
  660   LLVM_DEBUG(dbgs() << "irce: Pred: " << ICmpInst::getPredicateName(Pred)
  661                     << "\n");
  662   LLVM_DEBUG(dbgs() << "irce: LatchExitBrIdx: " << LatchBrExitIdx << "\n");
  662   LLVM_DEBUG(dbgs() << "irce: LatchExitBrIdx: " << LatchBrExitIdx << "\n");
  704   LLVM_DEBUG(dbgs() << "irce: isSafeIncreasingBound with:\n");
  705   LLVM_DEBUG(dbgs() << "irce: Start: " << *Start << "\n");
  705   LLVM_DEBUG(dbgs() << "irce: Start: " << *Start << "\n");
  706   LLVM_DEBUG(dbgs() << "irce: Step: " << *Step << "\n");
  706   LLVM_DEBUG(dbgs() << "irce: Step: " << *Step << "\n");
  707   LLVM_DEBUG(dbgs() << "irce: BoundSCEV: " << *BoundSCEV << "\n");
  707   LLVM_DEBUG(dbgs() << "irce: BoundSCEV: " << *BoundSCEV << "\n");
  708   LLVM_DEBUG(dbgs() << "irce: Pred: " << ICmpInst::getPredicateName(Pred)
  709                     << "\n");
  710   LLVM_DEBUG(dbgs() << "irce: LatchExitBrIdx: " << LatchBrExitIdx << "\n");
  710   LLVM_DEBUG(dbgs() << "irce: LatchExitBrIdx: " << LatchBrExitIdx << "\n");
 1399     LLVM_DEBUG(dbgs() << "irce: could not compute subranges\n");
 1434       LLVM_DEBUG(dbgs() << "irce: could not prove no-overflow when computing "
 1435                         << "preloop exit limit.  HighLimit = "
 1436                         << *(*SR.HighLimit) << "\n");
 1441       LLVM_DEBUG(dbgs() << "irce: could not prove that it is safe to expand the"
 1442                         << " preloop exit limit " << *ExitPreLoopAtSCEV
 1443                         << " at block " << InsertPt->getParent()->getName()
 1444                         << "\n");
 1461       LLVM_DEBUG(dbgs() << "irce: could not prove no-overflow when computing "
 1462                         << "mainloop exit limit.  LowLimit = "
 1463                         << *(*SR.LowLimit) << "\n");
 1468       LLVM_DEBUG(dbgs() << "irce: could not prove that it is safe to expand the"
 1469                         << " main loop exit limit " << *ExitMainLoopAtSCEV
 1470                         << " at block " << InsertPt->getParent()->getName()
 1471                         << "\n");
 1787     LLVM_DEBUG(dbgs() << "irce: giving up constraining loop, too large\n");
 1793     LLVM_DEBUG(dbgs() << "irce: loop has no preheader, leaving\n");
 1809     OS << "irce: looking at loop "; L->print(OS);
 1810     OS << "irce: loop has " << RangeChecks.size()
 1811        << " inductive range checks: \n";
 1825     LLVM_DEBUG(dbgs() << "irce: could not parse loop structure: "
 1826                       << FailureReason << "\n";);
 1826                       << FailureReason << "\n";);
 1870       dbgs() << "irce: in function ";
 1871       dbgs() << L->getHeader()->getParent()->getName() << ": ";
 1872       dbgs() << "constrained ";
lib/Transforms/Scalar/InferAddressSpaces.cpp
  663     LLVM_DEBUG(dbgs() << "Updating the address space of\n  " << *V << '\n');
  669     LLVM_DEBUG(dbgs() << "  to " << NewAS.getValue() << '\n');
  911     LLVM_DEBUG(dbgs() << "Replacing the uses of " << *V << "\n  with\n  "
  911     LLVM_DEBUG(dbgs() << "Replacing the uses of " << *V << "\n  with\n  "
  918         LLVM_DEBUG(dbgs() << "Inserting replacement const cast: " << Replace
  919                           << ": " << *Replace << '\n');
lib/Transforms/Scalar/JumpThreading.cpp
  318     dbgs() << "LVI for function '" << F.getName() << "':\n";
  318     dbgs() << "LVI for function '" << F.getName() << "':\n";
  359   LLVM_DEBUG(dbgs() << "Jump threading on function '" << F.getName() << "'\n");
  359   LLVM_DEBUG(dbgs() << "Jump threading on function '" << F.getName() << "'\n");
  408         LLVM_DEBUG(dbgs() << "  JT: Deleting dead block '" << BB.getName()
  409                           << "' with terminator: " << *BB.getTerminator()
 1107     LLVM_DEBUG(dbgs() << "  In block '" << BB->getName()
 1108                       << "' folding undef terminator: " << *BBTerm << '\n');
 1119     LLVM_DEBUG(dbgs() << "  In block '" << BB->getName()
 1120                       << "' folding terminator: " << *BB->getTerminator()
 1607   LLVM_DEBUG(dbgs() << "IN BB: " << *BB;
 1609                dbgs() << "  BB '" << BB->getName()
 1610                       << "': FOUND condition = " << *PredValue.first
 1611                       << " for pred '" << PredValue.second->getName() << "'.\n";
 1611                       << " for pred '" << PredValue.second->getName() << "'.\n";
 1931     LLVM_DEBUG(dbgs() << "  Not threading across BB '" << BB->getName()
 1932                       << "' - would thread to self!\n");
 1942       dbgs() << "  Not threading across "
 1943           << (BBIsHeader ? "loop header BB '" : "block BB '") << BB->getName()
 1944           << "' to dest " << (SuccIsHeader ? "loop header BB '" : "block BB '")
 1944           << "' to dest " << (SuccIsHeader ? "loop header BB '" : "block BB '")
 1945           << SuccBB->getName() << "' - it might create an irreducible loop!\n";
 1953     LLVM_DEBUG(dbgs() << "  Not threading BB '" << BB->getName()
 1954                       << "' - Cost is too high: " << JumpThreadCost << "\n");
 1954                       << "' - Cost is too high: " << JumpThreadCost << "\n");
 1963     LLVM_DEBUG(dbgs() << "  Factoring out " << PredBBs.size()
 1964                       << " common predecessors.\n");
 1969   LLVM_DEBUG(dbgs() << "  Threading edge from '" << PredBB->getName()
 1970                     << "' to '" << SuccBB->getName()
 1971                     << "' with cost: " << JumpThreadCost
 1972                     << ", across block:\n    " << *BB << "\n");
 1972                     << ", across block:\n    " << *BB << "\n");
 2073     LLVM_DEBUG(dbgs() << "JT: Renaming non-local uses of: " << I << "\n");
 2073     LLVM_DEBUG(dbgs() << "JT: Renaming non-local uses of: " << I << "\n");
 2084     LLVM_DEBUG(dbgs() << "\n");
 2270     LLVM_DEBUG(dbgs() << "  Not duplicating loop header '" << BB->getName()
 2271                       << "' into predecessor block '" << PredBBs[0]->getName()
 2272                       << "' - it might create an irreducible loop!\n");
 2279     LLVM_DEBUG(dbgs() << "  Not duplicating BB '" << BB->getName()
 2280                       << "' - Cost is too high: " << DuplicationCost << "\n");
 2280                       << "' - Cost is too high: " << DuplicationCost << "\n");
 2290     LLVM_DEBUG(dbgs() << "  Factoring out " << PredBBs.size()
 2291                       << " common predecessors.\n");
 2298   LLVM_DEBUG(dbgs() << "  Duplicating block '" << BB->getName()
 2299                     << "' into end of '" << PredBB->getName()
 2300                     << "' to eliminate branch on phi.  Cost: "
 2301                     << DuplicationCost << " block is:" << *BB << "\n");
 2301                     << DuplicationCost << " block is:" << *BB << "\n");
 2393     LLVM_DEBUG(dbgs() << "JT: Renaming non-local uses of: " << I << "\n");
 2393     LLVM_DEBUG(dbgs() << "JT: Renaming non-local uses of: " << I << "\n");
 2404     LLVM_DEBUG(dbgs() << "\n");
 2732   LLVM_DEBUG(dbgs() << "Moved guard " << *Guard << " to block "
 2732   LLVM_DEBUG(dbgs() << "Moved guard " << *Guard << " to block "
 2733                     << GuardedBlock->getName() << "\n");
lib/Transforms/Scalar/LICM.cpp
  346     LLVM_DEBUG(dbgs() << "LICM: Using Alias Set Tracker.\n");
  349     LLVM_DEBUG(dbgs() << "LICM: Using MemorySSA.\n");
  528         LLVM_DEBUG(dbgs() << "LICM deleting dead inst: " << I << '\n');
  703       LLVM_DEBUG(dbgs() << "LICM using " << InitialPreheader->getName()
  704                         << " as hoist destination for " << BB->getName()
  705                         << "\n");
  731       LLVM_DEBUG(dbgs() << "LICM created " << New->getName()
  732                         << " as hoist destination for " << Orig->getName()
  733                         << "\n");
  833         LLVM_DEBUG(dbgs() << "LICM folding inst: " << I << "  --> " << *C
  833         LLVM_DEBUG(dbgs() << "LICM folding inst: " << I << "  --> " << *C
  952         LLVM_DEBUG(dbgs() << "LICM rehoisting to "
  954                           << ": " << *I << "\n");
  954                           << ": " << *I << "\n");
 1565   LLVM_DEBUG(dbgs() << "LICM sinking instruction: " << I << "\n");
 1565   LLVM_DEBUG(dbgs() << "LICM sinking instruction: " << I << "\n");
 1666   LLVM_DEBUG(dbgs() << "LICM hoisting to " << Dest->getName() << ": " << I
 1666   LLVM_DEBUG(dbgs() << "LICM hoisting to " << Dest->getName() << ": " << I
 1667                     << "\n");
 2093   LLVM_DEBUG(dbgs() << "LICM: Promoting value stored to in loop: " << *SomePtr
 2268         LLVM_DEBUG(dbgs() << "Alasing N2 threshold exhausted for "
 2269                           << *(MemLoc.Ptr) << "\n");
 2275         LLVM_DEBUG(dbgs() << "Aliasing failed on " << I << " for "
 2275         LLVM_DEBUG(dbgs() << "Aliasing failed on " << I << " for "
 2276                           << *(MemLoc.Ptr) << "\n");
 2280   LLVM_DEBUG(dbgs() << "Aliasing okay for " << *(MemLoc.Ptr) << "\n");
 2280   LLVM_DEBUG(dbgs() << "Aliasing okay for " << *(MemLoc.Ptr) << "\n");
lib/Transforms/Scalar/LoopAccessAnalysisPrinter.cpp
   20   OS << "Loop access info in function '" << F.getName() << "':\n";
   20   OS << "Loop access info in function '" << F.getName() << "':\n";
   21   OS.indent(2) << L.getHeader()->getName() << ":\n";
lib/Transforms/Scalar/LoopDataPrefetch.cpp
  246   LLVM_DEBUG(dbgs() << "Prefetching " << ItersAhead
  247                     << " iterations ahead (loop size: " << LoopSize << ") in "
  247                     << " iterations ahead (loop size: " << LoopSize << ") in "
  248                     << L->getHeader()->getParent()->getName() << ": " << *L);
  323       LLVM_DEBUG(dbgs() << "  Access: " << *PtrValue << ", SCEV: " << *LSCEV
  323       LLVM_DEBUG(dbgs() << "  Access: " << *PtrValue << ", SCEV: " << *LSCEV
  324                         << "\n");
lib/Transforms/Scalar/LoopDeletion.cpp
  146         << "Deletion requires Loop with preheader and dedicated exits.\n");
  152     LLVM_DEBUG(dbgs() << "Loop contains subloops.\n");
  160     LLVM_DEBUG(dbgs() << "Loop is proven to never execute, delete it!");
  181     LLVM_DEBUG(dbgs() << "Deletion requires single exit block\n");
  187     LLVM_DEBUG(dbgs() << "Loop is not invariant, cannot delete.\n");
  196     LLVM_DEBUG(dbgs() << "Could not compute SCEV MaxBackedgeTakenCount.\n");
  201   LLVM_DEBUG(dbgs() << "Loop is invariant, delete it!");
  212   LLVM_DEBUG(dbgs() << "Analyzing Loop for deletion: ");
  258   LLVM_DEBUG(dbgs() << "Analyzing Loop for deletion: ");
lib/Transforms/Scalar/LoopDistribute.cpp
  241       dbgs() << "  (cycle)\n";
  244       dbgs() << "  " << I->getParent()->getName() << ":" << *I << "\n";
  244       dbgs() << "  " << I->getParent()->getName() << ":" << *I << "\n";
  244       dbgs() << "  " << I->getParent()->getName() << ":" << *I << "\n";
  377                        << "Merging partitions due to this load in multiple "
  378                        << "partitions: " << PartI << ", " << LoadToPart->second
  378                        << "partitions: " << PartI << ", " << LoadToPart->second
  379                        << "\n"
  380                        << *Inst << "\n");
  540       OS << "Partition " << Index++ << " (" << &P << "):\n";
  540       OS << "Partition " << Index++ << " (" << &P << "):\n";
  540       OS << "Partition " << Index++ << " (" << &P << "):\n";
  558       dbgs() << "\nPartition " << Index++ << " (" << &P << "):\n";
  558       dbgs() << "\nPartition " << Index++ << " (" << &P << "):\n";
  558       dbgs() << "\nPartition " << Index++ << " (" << &P << "):\n";
  638     LLVM_DEBUG(dbgs() << "Backward dependences:\n");
  668     LLVM_DEBUG(dbgs() << "\nLDist: In \""
  670                       << "\" checking " << *L << "\n");
  670                       << "\" checking " << *L << "\n");
  742     LLVM_DEBUG(dbgs() << "Seeded partitions:\n" << Partitions);
  750     LLVM_DEBUG(dbgs() << "\nMerged partitions:\n" << Partitions);
  757     LLVM_DEBUG(dbgs() << "\nPopulated partitions:\n" << Partitions);
  762       LLVM_DEBUG(dbgs() << "\nPartitions merged to ensure unique loads:\n"
  786     LLVM_DEBUG(dbgs() << "\nDistributing loop: " << *L << "\n");
  786     LLVM_DEBUG(dbgs() << "\nDistributing loop: " << *L << "\n");
  814       LLVM_DEBUG(dbgs() << "\nPointers:\n");
  841     LLVM_DEBUG(dbgs() << "\nAfter removing unused Instrs:\n");
  864     LLVM_DEBUG(dbgs() << "Skipping; " << Message << "\n");
  864     LLVM_DEBUG(dbgs() << "Skipping; " << Message << "\n");
lib/Transforms/Scalar/LoopFuse.cpp
  268     dbgs() << "\tGuardBranch: "
  269            << (GuardBranch ? GuardBranch->getName() : "nullptr") << "\n"
  270            << "\tPreheader: " << (Preheader ? Preheader->getName() : "nullptr")
  271            << "\n"
  272            << "\tHeader: " << (Header ? Header->getName() : "nullptr") << "\n"
  272            << "\tHeader: " << (Header ? Header->getName() : "nullptr") << "\n"
  273            << "\tExitingBB: "
  274            << (ExitingBlock ? ExitingBlock->getName() : "nullptr") << "\n"
  275            << "\tExitBB: " << (ExitBlock ? ExitBlock->getName() : "nullptr")
  276            << "\n"
  277            << "\tLatch: " << (Latch ? Latch->getName() : "nullptr") << "\n"
  277            << "\tLatch: " << (Latch ? Latch->getName() : "nullptr") << "\n"
  278            << "\tEntryBlock: "
  280            << "\n";
  289       LLVM_DEBUG(dbgs() << "FC has invalid CFG requirements!\n");
  308       LLVM_DEBUG(dbgs() << "Loop " << L->getName()
  309                         << " trip count not computable!\n");
  314       LLVM_DEBUG(dbgs() << "Loop " << L->getName()
  315                         << " is not in simplified form!\n");
  406     OS << "<Invalid>";
  421   dbgs() << "Fusion Candidates: \n";
  423     dbgs() << "*** Fusion Candidate Set ***\n";
  425     dbgs() << "****************************\n";
  491   dbgs() << "****************************\n";
  494   dbgs() << "****************************\n";
  530     LLVM_DEBUG(dbgs() << "Performing Loop Fusion on function " << F.getName()
  531                       << "\n");
  535       LLVM_DEBUG(dbgs() << "Got " << LDT.size() << " loop sets for depth "
  535       LLVM_DEBUG(dbgs() << "Got " << LDT.size() << " loop sets for depth "
  536                         << LDT.getDepth() << "\n";);
  548             dbgs() << "  Visit loop set (#" << LV.size() << "):\n";
  548             dbgs() << "  Visit loop set (#" << LV.size() << "):\n";
  564       LLVM_DEBUG(dbgs() << "Descend one level!\n");
  570       LLVM_DEBUG(dbgs() << "Function after Loop Fusion: \n"; F.dump(););
  579     LLVM_DEBUG(dbgs() << "Loop Fusion complete\n");
  628             LLVM_DEBUG(dbgs() << "Adding " << CurrCand
  629                               << " to existing candidate set\n");
  638           LLVM_DEBUG(dbgs() << "Adding " << CurrCand << " to new set\n");
  638           LLVM_DEBUG(dbgs() << "Adding " << CurrCand << " to new set\n");
  672       LLVM_DEBUG(dbgs() << "Trip count of first loop could not be computed!");
  679       LLVM_DEBUG(dbgs() << "Trip count of second loop could not be computed!");
  682     LLVM_DEBUG(dbgs() << "\tTrip counts: " << *TripCount0 << " & "
  682     LLVM_DEBUG(dbgs() << "\tTrip counts: " << *TripCount0 << " & "
  683                       << *TripCount1 << " are "
  684                       << (TripCount0 == TripCount1 ? "identical" : "different")
  685                       << "\n");
  704       LLVM_DEBUG(dbgs() << "Attempting fusion on Candidate Set:\n"
  705                         << CandidateSet << "\n");
  715           LLVM_DEBUG(dbgs() << "Attempting to fuse candidate \n"; FC0->dump();
  716                      dbgs() << " with\n"; FC1->dump(); dbgs() << "\n");
  716                      dbgs() << " with\n"; FC1->dump(); dbgs() << "\n");
  722             LLVM_DEBUG(dbgs() << "Fusion candidates do not have identical trip "
  731                        << "Fusion candidates are not adjacent. Not fusing.\n");
  740             LLVM_DEBUG(dbgs() << "Fusion candidates do not have identical "
  753             LLVM_DEBUG(dbgs() << "Fusion candidate does not have empty "
  761             LLVM_DEBUG(dbgs() << "Fusion candidate does not have empty exit "
  769             LLVM_DEBUG(dbgs() << "Fusion candidate does not have empty guard "
  779             LLVM_DEBUG(dbgs() << "Memory dependencies do not allow fusion!\n");
  787                      << "\tFusion appears to be "
  788                      << (BeneficialToFuse ? "" : "un") << "profitable!\n");
  788                      << (BeneficialToFuse ? "" : "un") << "profitable!\n");
  798           LLVM_DEBUG(dbgs() << "\tFusion is performed: " << *FC0 << " and "
  798           LLVM_DEBUG(dbgs() << "\tFusion is performed: " << *FC0 << " and "
  799                             << *FC1 << "\n");
  828           LLVM_DEBUG(dbgs() << "Candidate Set (after fusion): " << CandidateSet
  829                             << "\n");
  888       LLVM_DEBUG(dbgs() << "    Access function check: " << *SCEVPtr0 << " vs "
  888       LLVM_DEBUG(dbgs() << "    Access function check: " << *SCEVPtr0 << " vs "
  889                         << *SCEVPtr1 << "\n");
  895       LLVM_DEBUG(dbgs() << "    Access function after rewrite: " << *SCEVPtr0
  896                         << " [Valid: " << Rewriter.wasValidSCEV() << "]\n");
  896                         << " [Valid: " << Rewriter.wasValidSCEV() << "]\n");
  921       LLVM_DEBUG(dbgs() << "    Relation: " << *SCEVPtr0
  922                         << (IsAlwaysGE ? "  >=  " : "  may <  ") << *SCEVPtr1
  923                         << "\n");
  937       LLVM_DEBUG(dbgs() << "Check dep: " << I0 << " vs " << I1 << " : "
  937       LLVM_DEBUG(dbgs() << "Check dep: " << I0 << " vs " << I1 << " : "
  937       LLVM_DEBUG(dbgs() << "Check dep: " << I0 << " vs " << I1 << " : "
  938                         << DepChoice << "\n");
  950         LLVM_DEBUG(dbgs() << "DA res: "; DepResult->dump(dbgs());
  951                    dbgs() << " [#l: " << DepResult->getLevels() << "][Ordered: "
  951                    dbgs() << " [#l: " << DepResult->getLevels() << "][Ordered: "
  952                           << (DepResult->isOrdered() ? "true" : "false")
  953                           << "]\n");
  954         LLVM_DEBUG(dbgs() << "DepResult Levels: " << DepResult->getLevels()
  955                           << "\n");
  961             dbgs() << "TODO: Implement pred/succ dependence handling!\n");
  980     LLVM_DEBUG(dbgs() << "Check if " << FC0 << " can be fused with " << FC1
  980     LLVM_DEBUG(dbgs() << "Check if " << FC0 << " can be fused with " << FC1
  981                       << "\n");
 1149     LLVM_DEBUG(dbgs() << "Fusion Candidate 0: \n"; FC0.dump();
 1150                dbgs() << "Fusion Candidate 1: \n"; FC1.dump(););
 1302     LLVM_DEBUG(dbgs() << "Fusion done:\n");
 1555     LLVM_DEBUG(dbgs() << "Fusion done:\n");
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  397   LLVM_DEBUG(dbgs() << DEBUG_TYPE " Scanning: F["
  399                     << "] Countable Loop %" << CurLoop->getHeader()->getName()
  400                     << "\n");
 1031   LLVM_DEBUG(dbgs() << "  Formed memset: " << *NewCall << "\n"
 1031   LLVM_DEBUG(dbgs() << "  Formed memset: " << *NewCall << "\n"
 1032                     << "    from store to: " << *Ev << " at: " << *TheStore
 1032                     << "    from store to: " << *Ev << " at: " << *TheStore
 1033                     << "\n");
 1171   LLVM_DEBUG(dbgs() << "  Formed memcpy: " << *NewCall << "\n"
 1171   LLVM_DEBUG(dbgs() << "  Formed memcpy: " << *NewCall << "\n"
 1172                     << "    from load ptr=" << *LoadEv << " at: " << *LI << "\n"
 1172                     << "    from load ptr=" << *LoadEv << " at: " << *LI << "\n"
 1172                     << "    from load ptr=" << *LoadEv << " at: " << *LI << "\n"
 1173                     << "    from store ptr=" << *StoreEv << " at: " << *SI
 1173                     << "    from store ptr=" << *StoreEv << " at: " << *SI
 1174                     << "\n");
 1198       LLVM_DEBUG(dbgs() << "  " << CurLoop->getHeader()->getParent()->getName()
 1199                         << " : LIR " << (IsMemset ? "Memset" : "Memcpy")
 1199                         << " : LIR " << (IsMemset ? "Memset" : "Memcpy")
 1200                         << " avoided: multi-block top-level loop\n");
 1209   LLVM_DEBUG(dbgs() << DEBUG_TYPE " Scanning: F["
 1211                     << "] Noncountable Loop %"
 1212                     << CurLoop->getHeader()->getName() << "\n");
 1921     LLVM_DEBUG(dbgs() << "Basic control-flow layout unrecognized.\n");
 1924   LLVM_DEBUG(dbgs() << "Recognized basic control-flow layout.\n");
 1931   LLVM_DEBUG(dbgs() << "Analyzing header icmp " << *BCmpValue
 1932                     << "   as bcmp pattern.\n");
 1948     LLVM_DEBUG(dbgs() << "Loop header icmp did not match bcmp pattern.\n");
 1951   LLVM_DEBUG(dbgs() << "Recognized header icmp as bcmp pattern with loads:\n\t"
 1952                     << *CmpOfLoads.LoadA << "\n\t" << *CmpOfLoads.LoadB
 1953                     << "\n");
 1981     LLVM_DEBUG(dbgs() << "Loop control-flow not recognized.\n");
 1989   LLVM_DEBUG(dbgs() << "Recognized loop control-flow.\n");
 1991   LLVM_DEBUG(dbgs() << "Performing side-effect analysis on the loop.\n");
 2006                      << "Loop contains instruction " << *I
 2007                      << "   which is used outside of the loop in basic block  "
 2008                      << ExitBB->getName() << "  in phi node  " << PHI << "\n");
 2008                      << ExitBB->getName() << "  in phi node  " << PHI << "\n");
 2023             dbgs() << "Loop contains instruction with potential side-effects: "
 2024                    << I << "\n");
 2029   LLVM_DEBUG(dbgs() << "No loop instructions deemed to have side-effects.\n");
 2044     LLVM_DEBUG(dbgs() << "Failed to get SCEV expressions for load sources.\n");
 2048   LLVM_DEBUG(dbgs() << "Got SCEV expressions (at loop scope) for loads:\n\t"
 2049                     << *ScevForSrcA << "\n\t" << *ScevForSrcB << "\n");
 2049                     << *ScevForSrcA << "\n\t" << *ScevForSrcB << "\n");
 2058     LLVM_DEBUG(dbgs() << "Unsupported SCEV expressions for loads. Only support "
 2062                       << *RecStepForA << "\n\t" << *RecStepForB << "\n");
 2062                       << *RecStepForA << "\n\t" << *RecStepForB << "\n");
 2070   LLVM_DEBUG(dbgs() << "Got SCEV expressions for load sources:\n\t" << *SrcA
 2071                     << "\n\t" << *SrcB << "\n");
 2071                     << "\n\t" << *SrcB << "\n");
 2077     LLVM_DEBUG(dbgs() << "Unsupported SCEV expressions for loads, unavaliable "
 2082   LLVM_DEBUG(dbgs() << "SCEV expressions for loads are acceptable.\n");
 2092   LLVM_DEBUG(dbgs() << "Got SCEV expression for loop latch exit count: "
 2093                     << *LoopExitCount << "\n");
 2100     LLVM_DEBUG(dbgs() << "Unsupported SCEV expression for loop latch exit.\n");
 2111   LLVM_DEBUG(dbgs() << "Computed iteration count: " << *Iterations << "\n");
 2111   LLVM_DEBUG(dbgs() << "Computed iteration count: " << *Iterations << "\n");
 2130   LLVM_DEBUG(dbgs() << "Recognizing bcmp idiom\n");
 2134     LLVM_DEBUG(dbgs() << "Basic loop structure unrecognized.\n");
 2137   LLVM_DEBUG(dbgs() << "Recognized basic loop structure.\n");
 2160   LLVM_DEBUG(dbgs() << "Got comparison between values of type " << *BCmpValTy
 2161                     << " of size " << BCmpTyBits
 2162                     << " bits (while byte = " << ByteTyBits << " bits).\n");
 2162                     << " bits (while byte = " << ByteTyBits << " bits).\n");
 2166     LLVM_DEBUG(dbgs() << "Value size is not a multiple of byte.\n");
 2174   LLVM_DEBUG(dbgs() << "Size is exactly " << BCmpTyBytes
 2175                     << " bytes, eligible for bcmp conversion.\n");
 2198   LLVM_DEBUG(dbgs() << "Computed total byte count: " << *NBytes << "\n");
 2198   LLVM_DEBUG(dbgs() << "Computed total byte count: " << *NBytes << "\n");
 2215   LLVM_DEBUG(dbgs() << "Recognized bcmp idiom\n");
 2228   LLVM_DEBUG(dbgs() << "Transforming control-flow.\n");
 2405   LLVM_DEBUG(dbgs() << "Deleting old loop.\n");
 2599   LLVM_DEBUG(dbgs() << "Transforming bcmp loop idiom into a call.\n");
 2600   LLVM_DEBUG(dbgs() << "Emitting new instructions.\n");
 2664   LLVM_DEBUG(dbgs() << "Transformed loop bcmp idiom into a call.\n");
 2689     LLVM_DEBUG(dbgs() << "bcmp idiom recognition failed.\n");
lib/Transforms/Scalar/LoopInterchange.cpp
  109   LLVM_DEBUG(dbgs() << "Found " << MemInstr.size()
  110                     << " Loads and Stores to analyze\n");
  129                    dbgs() << "Found " << DepType
  130                           << " dependency between Src and Dst\n"
  131                           << " Src:" << *Src << "\n Dst:" << *Dst << '\n');
  131                           << " Src:" << *Src << "\n Dst:" << *Dst << '\n');
  171           LLVM_DEBUG(dbgs() << "Cannot handle more than " << MaxMemInstrCount
  172                             << " dependencies inside loop\n");
  274   LLVM_DEBUG(dbgs() << "Calling populateWorklist on Func: "
  275                     << L.getHeader()->getParent()->getName() << " Loop: %"
  469         LLVM_DEBUG(dbgs() << "Couldn't compute backedge count\n");
  473         LLVM_DEBUG(dbgs() << "NumBackEdges is not equal to 1\n");
  477         LLVM_DEBUG(dbgs() << "Loop doesn't have unique exit block\n");
  494       LLVM_DEBUG(dbgs() << "Loop doesn't contain minimum nesting level.\n");
  498       LLVM_DEBUG(dbgs() << "Cannot handle loops of depth greater than "
  499                         << MaxLoopNestDepth << "\n");
  503       LLVM_DEBUG(dbgs() << "Not valid loop candidate for interchange\n");
  507     LLVM_DEBUG(dbgs() << "Processing LoopList of size = " << LoopNestDepth
  508                       << "\n");
  514       LLVM_DEBUG(dbgs() << "Populating dependency matrix failed\n");
  525       LLVM_DEBUG(dbgs() << "OuterMostLoop needs an unique exit block");
  553     LLVM_DEBUG(dbgs() << "Processing Inner Loop Id = " << InnerLoopId
  554                       << " and OuterLoopId = " << OuterLoopId << "\n");
  554                       << " and OuterLoopId = " << OuterLoopId << "\n");
  560       LLVM_DEBUG(dbgs() << "Not interchanging loops. Cannot prove legality.\n");
  563     LLVM_DEBUG(dbgs() << "Loops are legal to interchange\n");
  566       LLVM_DEBUG(dbgs() << "Interchanging loops not profitable.\n");
  580     LLVM_DEBUG(dbgs() << "Loops interchanged.\n");
  599   LLVM_DEBUG(dbgs() << "Checking if loops are tightly nested\n");
  614   LLVM_DEBUG(dbgs() << "Checking instructions in Loop header and Loop latch\n");
  621   LLVM_DEBUG(dbgs() << "Loops are perfectly nested\n");
  692           LLVM_DEBUG(dbgs() << "Inner loop PHI is not part of reductions "
  708               << "Failed to recognize PHI as an induction or reduction.\n");
  748         dbgs() << "Loops where the latch is not the exiting block are not"
  749                << " supported currently.\n");
  764         dbgs() << "Only outer loops with induction or reduction PHI nodes "
  765                << "are supported currently.\n");
  778     LLVM_DEBUG(dbgs() << "Loops with more than 1 induction variables are not "
  779                       << "supported currently.\n");
  793         dbgs() << "Only inner loops with induction or reduction PHI nodes "
  794                << "are supported currently.\n");
  808         dbgs() << "We currently only support loops with 1 induction variable."
  809                << "Failed to interchange due to current limitation\n");
  823     LLVM_DEBUG(dbgs() << "Loop structure not understood by pass\n");
  837         dbgs() << "Can only handle LCSSA PHIs in inner loops currently.\n");
  868         dbgs() << "Did not find an instruction to increment the induction "
  869                << "variable.\n");
  893       LLVM_DEBUG(dbgs() << "Found unsupported instructions between induction "
  894                         << "variable increment and branch.\n");
  911     LLVM_DEBUG(dbgs() << "Did not find the induction variable.\n");
  964     LLVM_DEBUG(dbgs() << "Failed interchange InnerLoopId = " << InnerLoopId
  965                       << " and OuterLoopId = " << OuterLoopId
  966                       << " due to dependence\n");
  983             dbgs() << "Loops with call instructions cannot be interchanged "
  984                    << "safely.");
  998     LLVM_DEBUG(dbgs() << "Not legal because of current transform limitation\n");
 1004     LLVM_DEBUG(dbgs() << "Loops not tightly nested\n");
 1016     LLVM_DEBUG(dbgs() << "Found unsupported PHI nodes in outer loop exit.\n");
 1110   LLVM_DEBUG(dbgs() << "Cost = " << Cost << "\n");
 1110   LLVM_DEBUG(dbgs() << "Cost = " << Cost << "\n");
 1227     LLVM_DEBUG(dbgs() << "Splitting the inner loop latch\n");
 1230       LLVM_DEBUG(dbgs() << "Failed to find the point to split loop latch \n");
 1296     LLVM_DEBUG(dbgs() << "splitting InnerLoopHeader done\n");
 1301     LLVM_DEBUG(dbgs() << "adjustLoopLinks failed\n");
 1427   LLVM_DEBUG(dbgs() << "adjustLoopBranches called\n");
lib/Transforms/Scalar/LoopLoadElimination.cpp
  135     OS << *Cand.Store << " -->\n";
  136     OS.indent(2) << *Cand.Load << "\n";
  294             dbgs() << "Removing from candidates: \n"
  296                    << "  The load may have multiple stores forwarding to "
  297                    << "it\n");
  405     LLVM_DEBUG(dbgs() << "\nPointer Checks (count: " << Checks.size()
  406                       << "):\n");
  452     LLVM_DEBUG(dbgs() << "\nIn \"" << L->getHeader()->getParent()->getName()
  453                       << "\" checking " << *L << "\n");
  453                       << "\" checking " << *L << "\n");
  492       LLVM_DEBUG(dbgs() << "Candidate " << Cand);
  514           << ". Valid store-to-load forwarding across the loop backedge\n");
  527       LLVM_DEBUG(dbgs() << "Too many run-time checks needed.\n");
  533       LLVM_DEBUG(dbgs() << "Too many SCEV run-time checks needed.\n");
  539         LLVM_DEBUG(dbgs() << "Versioning is needed but not allowed with "
  550             dbgs() << "Versioning is needed but not allowed when optimizing "
  556         LLVM_DEBUG(dbgs() << "Loop is not is loop-simplify form");
lib/Transforms/Scalar/LoopPassManager.cpp
   30     dbgs() << "Starting Loop pass manager run.\n";
   37       dbgs() << "Running pass: " << Pass->name() << " on " << L;
   37       dbgs() << "Running pass: " << Pass->name() << " on " << L;
   90     dbgs() << "Finished Loop pass manager run.\n";
lib/Transforms/Scalar/LoopPredication.cpp
  244     dbgs() << "LoopICmp Pred = " << Pred << ", IV = " << *IV
  244     dbgs() << "LoopICmp Pred = " << Pred << ", IV = " << *IV
  245            << ", Limit = " << *Limit << "\n";
  245            << ", Limit = " << *Limit << "\n";
  482   LLVM_DEBUG(dbgs() << "IV of type: " << *LatchType
  483                     << "can be represented as range check type:"
  484                     << *RangeCheckType << "\n");
  485   LLVM_DEBUG(dbgs() << "LatchCheck.IV: " << *NewLatchCheck.IV << "\n");
  485   LLVM_DEBUG(dbgs() << "LatchCheck.IV: " << *NewLatchCheck.IV << "\n");
  486   LLVM_DEBUG(dbgs() << "LatchCheck.Limit: " << *NewLatchCheck.Limit << "\n");
  486   LLVM_DEBUG(dbgs() << "LatchCheck.Limit: " << *NewLatchCheck.Limit << "\n");
  572     LLVM_DEBUG(dbgs() << "Can't expand limit check!\n");
  577     LLVM_DEBUG(dbgs() << "Can't expand limit check!\n");
  588   LLVM_DEBUG(dbgs() << "LHS: " << *LatchLimit << "\n");
  588   LLVM_DEBUG(dbgs() << "LHS: " << *LatchLimit << "\n");
  589   LLVM_DEBUG(dbgs() << "RHS: " << *RHS << "\n");
  589   LLVM_DEBUG(dbgs() << "RHS: " << *RHS << "\n");
  590   LLVM_DEBUG(dbgs() << "Pred: " << LimitCheckPred << "\n");
  590   LLVM_DEBUG(dbgs() << "Pred: " << LimitCheckPred << "\n");
  615     LLVM_DEBUG(dbgs() << "Can't expand limit check!\n");
  620     LLVM_DEBUG(dbgs() << "Can't expand limit check!\n");
  627     LLVM_DEBUG(dbgs() << "Not the same. PostDecLatchCheckIV: "
  629                       << "  and RangeCheckIV: " << *RangeCheck.IV << "\n");
  629                       << "  and RangeCheckIV: " << *RangeCheck.IV << "\n");
  666   LLVM_DEBUG(dbgs() << "Analyzing ICmpInst condition:\n");
  675     LLVM_DEBUG(dbgs() << "Failed to parse the loop latch condition!\n");
  678   LLVM_DEBUG(dbgs() << "Guard check:\n");
  681     LLVM_DEBUG(dbgs() << "Unsupported range check predicate("
  682                       << RangeCheck->Pred << ")!\n");
  687     LLVM_DEBUG(dbgs() << "Range check IV is not affine!\n");
  694     LLVM_DEBUG(dbgs() << "Range check and latch have IVs different steps!\n");
  700     LLVM_DEBUG(dbgs() << "Failed to generate a loop latch check "
  702                       << *Ty << "\n");
  713     LLVM_DEBUG(dbgs() << "Range and latch have different step values!\n");
  783   LLVM_DEBUG(dbgs() << "Processing guard:\n");
  802   LLVM_DEBUG(dbgs() << "Widened checks = " << NumWidened << "\n");
  802   LLVM_DEBUG(dbgs() << "Widened checks = " << NumWidened << "\n");
  809   LLVM_DEBUG(dbgs() << "Processing guard:\n");
  830   LLVM_DEBUG(dbgs() << "Widened checks = " << NumWidened << "\n");
  830   LLVM_DEBUG(dbgs() << "Widened checks = " << NumWidened << "\n");
  839     LLVM_DEBUG(dbgs() << "The loop doesn't have a single latch!\n");
  845     LLVM_DEBUG(dbgs() << "Failed to match the latch terminator!\n");
  855     LLVM_DEBUG(dbgs() << "Failed to match the latch condition!\n");
  860     LLVM_DEBUG(dbgs() << "Failed to parse the loop latch condition!\n");
  870     LLVM_DEBUG(dbgs() << "The induction variable is not affine!\n");
  876     LLVM_DEBUG(dbgs() << "Unsupported loop stride(" << *Step << ")!\n");
  876     LLVM_DEBUG(dbgs() << "Unsupported loop stride(" << *Step << ")!\n");
  893     LLVM_DEBUG(dbgs() << "Unsupported loop latch predicate(" << Result->Pred
  894                       << ")!\n");
  934         << "Ignored user setting for loop-predication-latch-probability-scale: "
  935         << LatchExitProbabilityScale << "\n");
  936     LLVM_DEBUG(dbgs() << "The value is set to 1.0\n");
  959   LLVM_DEBUG(dbgs() << "Analyzing ");
  986   LLVM_DEBUG(dbgs() << "Latch check:\n");
  990     LLVM_DEBUG(dbgs() << "Loop not profitable to predicate!\n");
lib/Transforms/Scalar/LoopRerollPass.cpp
  591         LLVM_DEBUG(dbgs() << "LRR: Possible IV: " << *I << " = " << *PHISCEV
  591         LLVM_DEBUG(dbgs() << "LRR: Possible IV: " << *I << " = " << *PHISCEV
  592                           << "\n");
  597           LLVM_DEBUG(dbgs() << "LRR: Possible loop control only IV: " << *I
  598                             << " = " << *PHISCEV << "\n");
  598                             << " = " << *PHISCEV << "\n");
  665     LLVM_DEBUG(dbgs() << "LRR: Possible reduction: " << *I << " (with "
  665     LLVM_DEBUG(dbgs() << "LRR: Possible reduction: " << *I << " (with "
  666                       << SLR.size() << " chained instructions)\n");
  804         LLVM_DEBUG(dbgs() << "LRR: Aborting due to non-instruction: " << *I
  805                           << "\n");
  827       LLVM_DEBUG(dbgs() << "LRR: Multiple roots found for base - aborting!\n");
  843       LLVM_DEBUG(dbgs() << "LRR: Aborting - Root and Base #users not the same: "
  844                         << "#Base=" << NumBaseUses
  845                         << ", #Root=" << KV.second->getNumUses() << "\n");
  845                         << ", #Root=" << KV.second->getNumUses() << "\n");
  983     LLVM_DEBUG(dbgs() << "LRR: Aborting because no root sets found!\n");
  990           << "LRR: Aborting because not all root sets have the same size\n");
  998     LLVM_DEBUG(dbgs() << "LRR: Aborting - too many iterations found. "
  999                       << "#Found=" << Scale
 1000                       << ", #Max=" << IL_MaxRerollIterations << "\n");
 1000                       << ", #Max=" << IL_MaxRerollIterations << "\n");
 1004   LLVM_DEBUG(dbgs() << "LRR: Successfully found roots: Scale=" << Scale
 1005                     << "\n");
 1039         LLVM_DEBUG(dbgs() << "LRR: Aborting - use sets are different sizes\n");
 1197           dbgs() << "LRR: Aborting - instruction is not used in 1 iteration: "
 1198                  << *KV.first << " (#uses=" << KV.second.count() << ")\n");
 1198                  << *KV.first << " (#uses=" << KV.second.count() << ")\n");
 1205     dbgs() << "LRR: " << KV.second.find_first() << "\t" << *KV.first << "\n";
 1205     dbgs() << "LRR: " << KV.second.find_first() << "\t" << *KV.first << "\n";
 1205     dbgs() << "LRR: " << KV.second.find_first() << "\t" << *KV.first << "\n";
 1265           LLVM_DEBUG(dbgs() << "LRR: iteration root match failed at "
 1266                             << *BaseInst << " vs. " << *RootInst << "\n");
 1266                             << *BaseInst << " vs. " << *RootInst << "\n");
 1302         LLVM_DEBUG(dbgs() << "LRR: iteration root match failed at " << *BaseInst
 1303                           << " vs. " << *RootInst << " (prev. case overlap)\n");
 1303                           << " vs. " << *RootInst << " (prev. case overlap)\n");
 1313             LLVM_DEBUG(dbgs() << "LRR: iteration root match failed at "
 1314                               << *BaseInst << " vs. " << *RootInst
 1315                               << " (depends on future store)\n");
 1328         LLVM_DEBUG(dbgs() << "LRR: iteration root match failed at " << *BaseInst
 1329                           << " vs. " << *RootInst
 1330                           << " (side effects prevent reordering)\n");
 1382                          << "LRR: iteration root match failed at " << *BaseInst
 1383                          << " vs. " << *RootInst << " (operand " << j << ")\n");
 1383                          << " vs. " << *RootInst << " (operand " << j << ")\n");
 1383                          << " vs. " << *RootInst << " (operand " << j << ")\n");
 1396         LLVM_DEBUG(dbgs() << "LRR: iteration root match failed at " << *BaseInst
 1397                           << " vs. " << *RootInst << " (uses outside loop)\n");
 1397                           << " vs. " << *RootInst << " (uses outside loop)\n");
 1414   LLVM_DEBUG(dbgs() << "LRR: Matched all iteration increments for " << *IV
 1415                     << "\n");
 1439       LLVM_DEBUG(dbgs() << "LRR: removing: " << *J << "\n");
 1439       LLVM_DEBUG(dbgs() << "LRR: removing: " << *J << "\n");
 1517         LLVM_DEBUG(dbgs() << "LRR: Out-of-order non-associative reduction: "
 1518                           << J << "\n");
 1525                      << "LRR: Iteration " << PrevIter << " reduction use count "
 1525                      << "LRR: Iteration " << PrevIter << " reduction use count "
 1526                      << Count << " is not equal to the base use count "
 1527                      << BaseCount << "\n");
 1623   LLVM_DEBUG(dbgs() << "LRR: Found all root induction increments for: " << *IV
 1624                     << "\n");
 1653   LLVM_DEBUG(dbgs() << "LRR: F[" << Header->getParent()->getName() << "] Loop %"
 1653   LLVM_DEBUG(dbgs() << "LRR: F[" << Header->getParent()->getName() << "] Loop %"
 1654                     << Header->getName() << " (" << L->getNumBlocks()
 1655                     << " block(s))\n");
 1665   LLVM_DEBUG(dbgs() << "\n Before Reroll:\n" << *(L->getHeader()) << "\n");
 1665   LLVM_DEBUG(dbgs() << "\n Before Reroll:\n" << *(L->getHeader()) << "\n");
 1666   LLVM_DEBUG(dbgs() << "LRR: backedge-taken count = " << *BackedgeTakenCount
 1667                << "\n");
 1677     LLVM_DEBUG(dbgs() << "LRR: No possible IVs found\n");
 1692   LLVM_DEBUG(dbgs() << "\n After Reroll:\n" << *(L->getHeader()) << "\n");
 1692   LLVM_DEBUG(dbgs() << "\n After Reroll:\n" << *(L->getHeader()) << "\n");
lib/Transforms/Scalar/LoopSimplifyCFG.cpp
  158     dbgs() << "Constant terminator folding for loop " << L << "\n";
  158     dbgs() << "Constant terminator folding for loop " << L << "\n";
  159     dbgs() << "After terminator constant-folding, the loop will";
  161       dbgs() << " not";
  162     dbgs() << " be destroyed\n";
  165       dbgs() << Message << "\n";
  165       dbgs() << Message << "\n";
  167         dbgs() << "\t" << BB->getName() << "\n";
  167         dbgs() << "\t" << BB->getName() << "\n";
  171       dbgs() << Message << "\n";
  171       dbgs() << Message << "\n";
  173         dbgs() << "\t" << BB->getName() << "\n";
  173         dbgs() << "\t" << BB->getName() << "\n";
  459       LLVM_DEBUG(dbgs() << "Deleting dead loop block " << BB->getName()
  460                         << "\n");
  481       LLVM_DEBUG(dbgs() << "Replacing terminator of " << BB->getName()
  482                         << " with an unconditional branch to the block "
  483                         << TheOnlySucc->getName() << "\n");
  538     LLVM_DEBUG(dbgs() << "In function " << Header->getParent()->getName()
  539                       << ": ");
  542       LLVM_DEBUG(dbgs() << "Loops with irreducible CFG are not supported!\n");
  549           dbgs() << "No constant terminator folding candidates found in loop "
  550                  << Header->getName() << "\n");
  558           << "Give up constant terminator folding in loop " << Header->getName()
  559           << ": we don't currently support deletion of the current loop.\n");
  568           dbgs() << "Give up constant terminator folding in loop "
  569                  << Header->getName() << ": we don't currently"
  579     LLVM_DEBUG(dbgs() << "Constant-folding " << FoldCandidates.size()
  580                       << " terminators in loop " << Header->getName() << "\n");
  580                       << " terminators in loop " << Header->getName() << "\n");
  587       LLVM_DEBUG(dbgs() << "Deleting " << DeadLoopBlocks.size()
  588                     << " dead blocks in loop " << Header->getName() << "\n");
  588                     << " dead blocks in loop " << Header->getName() << "\n");
lib/Transforms/Scalar/LoopSink.cpp
  238     LLVM_DEBUG(dbgs() << "Sinking a clone of " << I << " To: " << N->getName()
  238     LLVM_DEBUG(dbgs() << "Sinking a clone of " << I << " To: " << N->getName()
  242   LLVM_DEBUG(dbgs() << "Sinking " << I << " To: " << MoveBB->getName() << '\n');
  242   LLVM_DEBUG(dbgs() << "Sinking " << I << " To: " << MoveBB->getName() << '\n');
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  222   OS << "[NumUses=" << UsedByIndices.count() << ']';
  590     if (!First) OS << " + "; else First = false;
  594     if (!First) OS << " + "; else First = false;
  598     if (!First) OS << " + "; else First = false;
  599     OS << "reg(" << *BaseReg << ')';
  602     if (!First) OS << " + "; else First = false;
  603     OS << "**error: HasBaseReg**";
  605     if (!First) OS << " + "; else First = false;
  606     OS << "**error: !HasBaseReg**";
  609     if (!First) OS << " + "; else First = false;
  610     OS << Scale << "*reg(";
  614       OS << "<unknown>";
  618     if (!First) OS << " + ";
  619     OS << "imm(" << UnfoldedOffset << ')';
 1446     OS << C.Insns << " instruction" << (C.Insns == 1 ? " " : "s ");
 1446     OS << C.Insns << " instruction" << (C.Insns == 1 ? " " : "s ");
 1447   OS << C.NumRegs << " reg" << (C.NumRegs == 1 ? "" : "s");
 1447   OS << C.NumRegs << " reg" << (C.NumRegs == 1 ? "" : "s");
 1449     OS << ", with addrec cost " << C.AddRecCost;
 1451     OS << ", plus " << C.NumIVMuls << " IV mul"
 1451     OS << ", plus " << C.NumIVMuls << " IV mul"
 1452        << (C.NumIVMuls == 1 ? "" : "s");
 1454     OS << ", plus " << C.NumBaseAdds << " base add"
 1454     OS << ", plus " << C.NumBaseAdds << " base add"
 1455        << (C.NumBaseAdds == 1 ? "" : "s");
 1457     OS << ", plus " << C.ScaleCost << " scale cost";
 1457     OS << ", plus " << C.ScaleCost << " scale cost";
 1459     OS << ", plus " << C.ImmCost << " imm cost";
 1459     OS << ", plus " << C.ImmCost << " imm cost";
 1461     OS << ", plus " << C.SetupCost << " setup cost";
 1461     OS << ", plus " << C.SetupCost << " setup cost";
 1485   OS << "UserInst=";
 1488     OS << "store ";
 1491     OS << UserInst->getOpcodeName();
 1495   OS << ", OperandValToReplace=";
 1499     OS << ", PostIncLoop=";
 1504     OS << ", Offset=" << Offset;
 1591   OS << "LSR Use: Kind=";
 1593   case Basic:    OS << "Basic"; break;
 1594   case Special:  OS << "Special"; break;
 1595   case ICmpZero: OS << "ICmpZero"; break;
 1597     OS << "Address of ";
 1599       OS << "pointer"; // the full pointer type could be really verbose
 1604     OS << " in addrspace(" << AccessTy.AddrSpace << ')';
 1607   OS << ", Offsets={";
 1617     OS << ", all-fixups-outside-loop";
 1620     OS << ", widest fixup type: " << *WidestFixupType;
 2469     LLVM_DEBUG(dbgs() << "  Change loop exiting icmp to use postinc iv: "
 2842     LLVM_DEBUG(dbgs() << "Chain: " << *Chain.Incs[0].UserInst << " users:\n";
 2842     LLVM_DEBUG(dbgs() << "Chain: " << *Chain.Incs[0].UserInst << " users:\n";
 2844                     : Users) { dbgs() << "  " << *Inst << "\n"; });
 2844                     : Users) { dbgs() << "  " << *Inst << "\n"; });
 2897   LLVM_DEBUG(dbgs() << "Chain: " << *Chain.Incs[0].UserInst << " Cost: " << cost
 2897   LLVM_DEBUG(dbgs() << "Chain: " << *Chain.Incs[0].UserInst << " Cost: " << cost
 2898                     << "\n");
 2951       LLVM_DEBUG(dbgs() << "IV Chain Limit\n");
 2964     LLVM_DEBUG(dbgs() << "IV Chain#" << ChainIdx << " Head: (" << *UserInst
 2964     LLVM_DEBUG(dbgs() << "IV Chain#" << ChainIdx << " Head: (" << *UserInst
 2965                       << ") IV=" << *LastIncExpr << "\n");
 2965                       << ") IV=" << *LastIncExpr << "\n");
 2967     LLVM_DEBUG(dbgs() << "IV Chain#" << ChainIdx << "  Inc: (" << *UserInst
 2967     LLVM_DEBUG(dbgs() << "IV Chain#" << ChainIdx << "  Inc: (" << *UserInst
 2968                       << ") IV+" << *LastIncExpr << "\n");
 2968                       << ") IV+" << *LastIncExpr << "\n");
 3038   LLVM_DEBUG(dbgs() << "Collecting IV Chains.\n");
 3107   LLVM_DEBUG(dbgs() << "Final Chain: " << *Chain.Incs[0].UserInst << "\n");
 3107   LLVM_DEBUG(dbgs() << "Final Chain: " << *Chain.Incs[0].UserInst << "\n");
 3110     LLVM_DEBUG(dbgs() << "        Inc: " << *Inc.UserInst << "\n");
 3110     LLVM_DEBUG(dbgs() << "        Inc: " << *Inc.UserInst << "\n");
 3167     LLVM_DEBUG(dbgs() << "Concealed chain head: " << *Head.UserInst << "\n");
 3167     LLVM_DEBUG(dbgs() << "Concealed chain head: " << *Head.UserInst << "\n");
 3172   LLVM_DEBUG(dbgs() << "Generate chain at: " << *IVSrc << "\n");
 3172   LLVM_DEBUG(dbgs() << "Generate chain at: " << *IVSrc << "\n");
 3251       LLVM_DEBUG(dbgs() << "Use is in profitable chain: " << **UseI << '\n');
 4090   OS << "in formulae referencing " << *OrigReg << " in use " << LUIdx
 4090   OS << "in formulae referencing " << *OrigReg << " in use " << LUIdx
 4091      << " , add offset " << Imm;
 4130     LLVM_DEBUG(dbgs() << "Generating cross-use offsets for " << *Reg << ':';
 4146         LLVM_DEBUG(dbgs() << "Skipping cross-use reuse for " << *OrigReg
 4302   LLVM_DEBUG(dbgs() << "\n"
 4326     LLVM_DEBUG(dbgs() << "Filtering for use "; LU.print(dbgs());
 4351         LLVM_DEBUG(dbgs() << "  Filtering loser "; F.print(dbgs());
 4352                    dbgs() << "\n");
 4379         LLVM_DEBUG(dbgs() << "  Filtering out formula "; F.print(dbgs());
 4380                    dbgs() << "\n"
 4402     dbgs() << "\n"
 4431     LLVM_DEBUG(dbgs() << "The search space is too complex.\n");
 4433     LLVM_DEBUG(dbgs() << "Narrowing the search space by eliminating formulae "
 4455               LLVM_DEBUG(dbgs() << "  Deleting "; F.print(dbgs());
 4471                   LLVM_DEBUG(dbgs() << "  Deleting "; F.print(dbgs());
 4487     LLVM_DEBUG(dbgs() << "After pre-selection:\n"; print_uses(dbgs()));
 4498       dbgs() << "The search space is too complex.\n"
 4518       LLVM_DEBUG(dbgs() << "  Deleting use "; LU.print(dbgs()); dbgs() << '\n');
 4526         LLVM_DEBUG(dbgs() << "New fixup has offset " << Fixup.Offset << '\n');
 4535           LLVM_DEBUG(dbgs() << "  Deleting "; F.print(dbgs()); dbgs() << '\n');
 4554   LLVM_DEBUG(dbgs() << "After pre-selection:\n"; print_uses(dbgs()));
 4562     LLVM_DEBUG(dbgs() << "The search space is too complex.\n");
 4564     LLVM_DEBUG(dbgs() << "Narrowing the search space by re-filtering out "
 4569     LLVM_DEBUG(dbgs() << "After pre-selection:\n"; print_uses(dbgs()));
 4587       dbgs() << "The search space is too complex.\n"
 4603     LLVM_DEBUG(dbgs() << "Filtering for use "; LU.print(dbgs());
 4649       LLVM_DEBUG(dbgs() << "  Filtering out formula "; F.print(dbgs());
 4650                  dbgs() << "\n"
 4669     dbgs() << "\n"
 4727   LLVM_DEBUG(dbgs() << "The search space is too complex.\n");
 4748       dbgs() << "Narrowing the search space by deleting costly formulas\n");
 4790     LLVM_DEBUG(dbgs() << "  The formula "; LU.Formulae[MinIdx].print(dbgs());
 4791                dbgs() << " with min reg num " << FMinRegNum << '\n');
 4795       LLVM_DEBUG(dbgs() << "  Deleting "; LU.Formulae.back().print(dbgs());
 4802     LLVM_DEBUG(dbgs() << "  Leaving only "; F.print(dbgs()); dbgs() << '\n');
 4808   LLVM_DEBUG(dbgs() << "After pre-selection:\n"; print_uses(dbgs()));
 4821     LLVM_DEBUG(dbgs() << "The search space is too complex.\n");
 4843     LLVM_DEBUG(dbgs() << "Narrowing the search space by assuming " << *Best
 4844                       << " will yield profitable reuse.\n");
 4857           LLVM_DEBUG(dbgs() << "  Deleting "; F.print(dbgs()); dbgs() << '\n');
 4871     LLVM_DEBUG(dbgs() << "After pre-selection:\n"; print_uses(dbgs()));
 4953         LLVM_DEBUG(dbgs() << "New best at "; NewCost.print(dbgs());
 4954                    dbgs() << ".\nRegs:\n";
 4956                       << "- " << *S << "\n";
 4956                       << "- " << *S << "\n";
 4982     LLVM_DEBUG(dbgs() << "\nNo Satisfactory Solution\n");
 4987   LLVM_DEBUG(dbgs() << "\n"
 4989              SolutionCost.print(dbgs()); dbgs() << ":\n";
 4991                dbgs() << "  ";
 4993                dbgs() << "\n"
 5515       LLVM_DEBUG(dbgs() << "LSR skipping loop, too many IV Users in " << U
 5516                         << "\n");
 5549   LLVM_DEBUG(dbgs() << "\nLSR on loop ";
 5551              dbgs() << ":\n");
 5562     LLVM_DEBUG(dbgs() << "LSR skipping outer loop " << *L << "\n");
 5562     LLVM_DEBUG(dbgs() << "LSR skipping outer loop " << *L << "\n");
 5575   LLVM_DEBUG(dbgs() << "LSR found " << Uses.size() << " uses:\n";
 5575   LLVM_DEBUG(dbgs() << "LSR found " << Uses.size() << " uses:\n";
 5613   OS << "LSR has identified the following interesting factors and types: ";
 5617     if (!First) OS << ", ";
 5623     if (!First) OS << ", ";
 5631   OS << "LSR is examining the following fixup sites:\n";
 5634       dbgs() << "  ";
 5641   OS << "LSR is examining the following uses:\n";
 5643     dbgs() << "  ";
 5647       OS << "    ";
lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
  173     LLVM_DEBUG(dbgs() << "Won't unroll-and-jam; explicit count set by "
  215     LLVM_DEBUG(dbgs() << "Won't unroll-and-jam; can't create remainder and "
  238     LLVM_DEBUG(dbgs() << "Won't unroll-and-jam; small inner loop count is "
  248         dbgs() << "Won't unroll-and-jam; More than one inner loop block\n");
  268     LLVM_DEBUG(dbgs() << "Won't unroll-and-jam; No loop invariant loads\n");
  307   LLVM_DEBUG(dbgs() << "Loop Unroll and Jam: F["
  308                     << L->getHeader()->getParent()->getName() << "] Loop %"
  309                     << L->getHeader()->getName() << "\n");
  321     LLVM_DEBUG(dbgs() << "  Disabled due to pragma.\n");
  326     LLVM_DEBUG(dbgs() << "  Disabled due to not being safe.\n");
  342   LLVM_DEBUG(dbgs() << "  Outer Loop Size: " << OuterLoopSize << "\n");
  342   LLVM_DEBUG(dbgs() << "  Outer Loop Size: " << OuterLoopSize << "\n");
  343   LLVM_DEBUG(dbgs() << "  Inner Loop Size: " << InnerLoopSize << "\n");
  343   LLVM_DEBUG(dbgs() << "  Inner Loop Size: " << InnerLoopSize << "\n");
  345     LLVM_DEBUG(dbgs() << "  Not unrolling loop which contains non-duplicatable "
  350     LLVM_DEBUG(dbgs() << "  Not unrolling loop with inlinable calls.\n");
  355         dbgs() << "  Not unrolling loop with convergent instructions.\n");
lib/Transforms/Scalar/LoopUnrollPass.cpp
  430           LLVM_DEBUG(dbgs() << "Adding cost of instruction (iteration "
  431                             << Iteration << "): ");
  467   LLVM_DEBUG(dbgs() << "Starting LoopUnroll profitability analysis...\n");
  474     LLVM_DEBUG(dbgs() << " Analyzing iteration " << Iteration << "\n");
  474     LLVM_DEBUG(dbgs() << " Analyzing iteration " << Iteration << "\n");
  542             LLVM_DEBUG(dbgs() << "Can't analyze cost of loop with call\n");
  554           LLVM_DEBUG(dbgs() << "  Exceeded threshold.. exiting.\n"
  555                             << "  UnrolledCost: " << UnrolledCost
  556                             << ", MaxUnrolledLoopSize: " << MaxUnrolledLoopSize
  557                             << "\n");
  610       LLVM_DEBUG(dbgs() << "  No opportunities found.. exiting.\n"
  611                         << "  UnrolledCost: " << UnrolledCost << "\n");
  611                         << "  UnrolledCost: " << UnrolledCost << "\n");
  632   LLVM_DEBUG(dbgs() << "Analysis finished:\n"
  633                     << "UnrolledCost: " << UnrolledCost << ", "
  633                     << "UnrolledCost: " << UnrolledCost << ", "
  634                     << "RolledDynamicCost: " << RolledDynamicCost << "\n");
  634                     << "RolledDynamicCost: " << RolledDynamicCost << "\n");
  854       LLVM_DEBUG(dbgs() << "  will not try to unroll partially because "
  855                         << "-unroll-allow-partial not given\n");
  908     LLVM_DEBUG(dbgs() << "  partially unrolling with count: " << UP.Count
  909                       << "\n");
  951         dbgs() << "  will not try to unroll loop with runtime trip count "
  952                << "-unroll-runtime not given\n");
  973         dbgs() << "Remainder loop is restricted (that could architecture "
  977                << TripMultiple << ".  Reducing unroll count from " << OrigCount
  978                << " to " << UP.Count << ".\n");
  978                << " to " << UP.Count << ".\n");
 1004   LLVM_DEBUG(dbgs() << "  runtime unrolling with count: " << UP.Count
 1005                     << "\n");
 1022   LLVM_DEBUG(dbgs() << "Loop Unroll: F["
 1023                     << L->getHeader()->getParent()->getName() << "] Loop %"
 1024                     << L->getHeader()->getName() << "\n");
 1030         dbgs() << "  Not unrolling loop which is not in loop-simplify form.\n");
 1061   LLVM_DEBUG(dbgs() << "  Loop Size = " << LoopSize << "\n");
 1061   LLVM_DEBUG(dbgs() << "  Loop Size = " << LoopSize << "\n");
 1063     LLVM_DEBUG(dbgs() << "  Not unrolling loop which contains non-duplicatable"
 1064                       << " instructions.\n");
 1074     LLVM_DEBUG(dbgs() << "  Not unrolling loop with inlinable calls.\n");
lib/Transforms/Scalar/LoopUnswitch.cpp
  308       LLVM_DEBUG(dbgs() << "NOT unswitching loop %" << L->getHeader()->getName()
  309                         << ", contents cannot be "
  310                         << "duplicated!\n");
  884     LLVM_DEBUG(dbgs() << "NOT unswitching loop %"
  886                       << " at non-trivial condition '" << *Val
  887                       << "' == " << *LoopCond << "\n"
  887                       << "' == " << *LoopCond << "\n"
  888                       << ". Cost too high.\n");
  893     LLVM_DEBUG(dbgs() << "NOT unswitching loop %"
  895                       << " at non-trivial condition '" << *Val
  896                       << "' == " << *LoopCond << "\n"
  896                       << "' == " << *LoopCond << "\n"
  897                       << ". Condition is divergent.\n");
 1002   LLVM_DEBUG(dbgs() << "loop-unswitch: Trivial-Unswitch loop %"
 1003                     << loopHeader->getName() << " [" << L->getBlocks().size()
 1004                     << " blocks] in Function "
 1006                     << " on cond: " << *Val << " == " << *Cond << "\n");
 1006                     << " on cond: " << *Val << " == " << *Cond << "\n");
 1006                     << " on cond: " << *Val << " == " << *Cond << "\n");
 1236   LLVM_DEBUG(dbgs() << "loop-unswitch: Unswitching loop %"
 1237                     << loopHeader->getName() << " [" << L->getBlocks().size()
 1238                     << " blocks] in Function " << F->getName() << " when '"
 1238                     << " blocks] in Function " << F->getName() << " when '"
 1239                     << *Val << "' == " << *LIC << "\n");
 1239                     << *Val << "' == " << *LIC << "\n");
 1418   LLVM_DEBUG(dbgs() << "Replace with '" << *V << "': " << *I << "\n");
 1418   LLVM_DEBUG(dbgs() << "Replace with '" << *V << "': " << *I << "\n");
 1418   LLVM_DEBUG(dbgs() << "Replace with '" << *V << "': " << *I << "\n");
 1589       LLVM_DEBUG(dbgs() << "Remove dead instruction '" << *I << "\n");
 1589       LLVM_DEBUG(dbgs() << "Remove dead instruction '" << *I << "\n");
lib/Transforms/Scalar/LoopVersioningLICM.cpp
  217     LLVM_DEBUG(dbgs() << "    loop is not in loop-simplify form.\n");
  222     LLVM_DEBUG(dbgs() << "    loop is not innermost\n");
  227     LLVM_DEBUG(dbgs() << "    loop has multiple backedges\n");
  232     LLVM_DEBUG(dbgs() << "    loop has multiple exiting block\n");
  239     LLVM_DEBUG(dbgs() << "    loop is not bottom tested\n");
  245     LLVM_DEBUG(dbgs() << "    Parallel loop is not worth versioning\n");
  250     LLVM_DEBUG(dbgs() << "    loop depth is more then threshold\n");
  257     LLVM_DEBUG(dbgs() << "    loop does not has trip count\n");
  305     LLVM_DEBUG(dbgs() << "    Alias tracker type safety failed!\n");
  310     LLVM_DEBUG(dbgs() << "    No memory modified in loop body\n");
  316     LLVM_DEBUG(dbgs() << "    No ambiguity in memory access.\n");
  334       LLVM_DEBUG(dbgs() << "    Convergent call site found.\n");
  339       LLVM_DEBUG(dbgs() << "    Unsafe call site found.\n");
  346     LLVM_DEBUG(dbgs() << "    May throw instruction found in loop body\n");
  354       LLVM_DEBUG(dbgs() << "    Found a non-simple load.\n");
  368       LLVM_DEBUG(dbgs() << "    Found a non-simple store.\n");
  407     LLVM_DEBUG(dbgs() << "    LAA: Runtime check not found !!\n");
  414         dbgs() << "    LAA: Runtime checks are more than threshold !!\n");
  428     LLVM_DEBUG(dbgs() << "    Invariant not found !!\n");
  433     LLVM_DEBUG(dbgs() << "    Found a read-only loop!\n");
  441         << "    Invariant load & store are less then defined threshold\n");
  442     LLVM_DEBUG(dbgs() << "    Invariant loads & stores: "
  444                       << "%\n");
  445     LLVM_DEBUG(dbgs() << "    Invariant loads & store threshold: "
  446                       << InvariantThreshold << "%\n");
  479   LLVM_DEBUG(dbgs() << "Loop: " << *CurLoop);
  483         dbgs() << "    Revisiting loop in LoopVersioningLICM not allowed.\n\n");
  489         dbgs() << "    Loop structure not suitable for LoopVersioningLICM\n\n");
  502         << "    Loop instructions not suitable for LoopVersioningLICM\n\n");
  509         << "    Loop memory access not suitable for LoopVersioningLICM\n\n");
  519   LLVM_DEBUG(dbgs() << "    Loop Versioning found to be beneficial\n\n");
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  400     LLVM_DEBUG(dbgs() << "Replace stores:\n"; for (Instruction *SI
  403                dbgs() << "With: " << *AMemSet << '\n');
  527     LLVM_DEBUG(dbgs() << "Lifting " << *I << " before " << *P << "\n");
  527     LLVM_DEBUG(dbgs() << "Lifting " << *I << " before " << *P << "\n");
  527     LLVM_DEBUG(dbgs() << "Lifting " << *I << " before " << *P << "\n");
  602           LLVM_DEBUG(dbgs() << "Promoting " << *LI << " to " << *SI << " => "
  602           LLVM_DEBUG(dbgs() << "Promoting " << *LI << " to " << *SI << " => "
  602           LLVM_DEBUG(dbgs() << "Promoting " << *LI << " to " << *SI << " => "
  603                             << *M << "\n");
  692       LLVM_DEBUG(dbgs() << "Promoting " << *SI << " to " << *M << "\n");
  692       LLVM_DEBUG(dbgs() << "Promoting " << *SI << " to " << *M << "\n");
  692       LLVM_DEBUG(dbgs() << "Promoting " << *SI << " to " << *M << "\n");
  978   LLVM_DEBUG(dbgs() << "MemCpyOptPass: Forwarding memcpy->memcpy src:\n"
 1239   LLVM_DEBUG(dbgs() << "MemCpyOptPass: Optimizing memmove -> memcpy: " << *M
 1240                     << "\n");
 1322   LLVM_DEBUG(dbgs() << "MemCpyOptPass: Forwarding memcpy to byval:\n"
 1323                     << "  " << *MDep << "\n"
 1323                     << "  " << *MDep << "\n"
 1324                     << "  " << *CS.getInstruction() << "\n");
 1324                     << "  " << *CS.getInstruction() << "\n");
lib/Transforms/Scalar/MergeICmps.cpp
  145   LLVM_DEBUG(dbgs() << "load\n");
  147     LLVM_DEBUG(dbgs() << "used outside of block\n");
  152     LLVM_DEBUG(dbgs() << "volatile or atomic\n");
  159   LLVM_DEBUG(dbgs() << "GEP\n");
  161     LLVM_DEBUG(dbgs() << "used outside of block\n");
  166     LLVM_DEBUG(dbgs() << "not dereferenceable\n");
  331     LLVM_DEBUG(dbgs() << "cmp has several uses\n");
  336   LLVM_DEBUG(dbgs() << "cmp "
  337                     << (ExpectedPredicate == ICmpInst::ICMP_EQ ? "eq" : "ne")
  338                     << "\n");
  358   LLVM_DEBUG(dbgs() << "branch\n");
  366     LLVM_DEBUG(dbgs() << "icmp\n");
  375     LLVM_DEBUG(dbgs() << "const\n");
  377     LLVM_DEBUG(dbgs() << "false\n");
  380     LLVM_DEBUG(dbgs() << "icmp\n");
  395   LLVM_DEBUG(dbgs() << "Block '" << Comparison.BB->getName()
  396                     << "': Found cmp of " << Comparison.SizeBits()
  397                     << " bits between " << Comparison.Lhs().BaseId << " + "
  397                     << " bits between " << Comparison.Lhs().BaseId << " + "
  398                     << Comparison.Lhs().Offset << " and "
  399                     << Comparison.Rhs().BaseId << " + "
  400                     << Comparison.Rhs().Offset << "\n");
  401   LLVM_DEBUG(dbgs() << "\n");
  449       LLVM_DEBUG(dbgs() << "chain with invalid BCECmpBlock, no merge.\n");
  453       LLVM_DEBUG(dbgs() << "block '" << Comparison.BB->getName()
  454                         << "' does extra work besides compare\n");
  471                      << "Split initial block '" << Comparison.BB->getName()
  472                      << "' that does extra work besides compare\n");
  477                      << "ignoring initial block '" << Comparison.BB->getName()
  478                      << "' that does extra work besides compare\n");
  512     LLVM_DEBUG(dbgs() << "chain with no BCE basic blocks, no merge\n");
  624   LLVM_DEBUG(dbgs() << "Merging " << Comparisons.size() << " comparisons -> "
  624   LLVM_DEBUG(dbgs() << "Merging " << Comparisons.size() << " comparisons -> "
  625                     << BB->getName() << "\n");
  627     LLVM_DEBUG(dbgs() << "Only one comparison, updating branches\n");
  642       LLVM_DEBUG(dbgs() << "Splitting non_BCE work to header\n");
  692   LLVM_DEBUG(dbgs() << "Simplifying comparison chain starting at block "
  693                     << EntryBlock_->getName() << "\n");
  707       LLVM_DEBUG(dbgs() << "Merging block " << Comparisons_[I].BB->getName()
  708                         << " into " << Comparisons_[I + 1].BB->getName()
  709                         << "\n");
  726     LLVM_DEBUG(dbgs() << "Updating jump into old chain from " << Pred->getName()
  727                       << "\n");
  738     LLVM_DEBUG(dbgs() << "Changing function entry from "
  739                       << EntryBlock_->getName() << " to "
  740                       << NextCmpBlock->getName() << "\n");
  749     LLVM_DEBUG(dbgs() << "Deleting merged block " << Cmp.BB->getName() << "\n");
  749     LLVM_DEBUG(dbgs() << "Deleting merged block " << Cmp.BB->getName() << "\n");
  769       LLVM_DEBUG(dbgs() << "skip: block " << BlockIndex
  770                         << " has its address taken\n");
  777       LLVM_DEBUG(dbgs() << "skip: block " << BlockIndex
  778                         << " has two or more predecessors\n");
  783       LLVM_DEBUG(dbgs() << "skip: block " << BlockIndex
  784                         << " does not link back to the phi\n");
  795   LLVM_DEBUG(dbgs() << "processPhi()\n");
  797     LLVM_DEBUG(dbgs() << "skip: only one incoming value in phi\n");
  821       LLVM_DEBUG(dbgs() << "skip: several non-constant values\n");
  834           << "skip: non-constant value not from cmp or not from last block.\n");
  841     LLVM_DEBUG(dbgs() << "skip: no non-constant block\n");
  845     LLVM_DEBUG(dbgs() << "skip: last block non-phi successor\n");
  855     LLVM_DEBUG(dbgs() << "skip: only one compare block\n");
  865   LLVM_DEBUG(dbgs() << "MergeICmpsLegacyPass: " << F.getName() << "\n");
  865   LLVM_DEBUG(dbgs() << "MergeICmpsLegacyPass: " << F.getName() << "\n");
lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
  188   LLVM_DEBUG(dbgs() << "can Sink? : "; Store0->dump(); dbgs() << "\n");
  188   LLVM_DEBUG(dbgs() << "can Sink? : "; Store0->dump(); dbgs() << "\n");
  247   LLVM_DEBUG(dbgs() << "Sink Instruction into BB \n"; BB->dump();
  248              dbgs() << "Instruction Left\n"; S0->dump(); dbgs() << "\n";
  248              dbgs() << "Instruction Left\n"; S0->dump(); dbgs() << "\n";
  249              dbgs() << "Instruction Right\n"; S1->dump(); dbgs() << "\n");
  249              dbgs() << "Instruction Right\n"; S1->dump(); dbgs() << "\n");
  340       LLVM_DEBUG(dbgs() << "Search again\n"; Instruction *I = &*RBI; I->dump());
  350   LLVM_DEBUG(dbgs() << "Instruction Merger\n");
lib/Transforms/Scalar/NewGVN.cpp
  225       LLVM_DEBUG(dbgs() << "Component root is " << *I << "\n");
  225       LLVM_DEBUG(dbgs() << "Component root is " << *I << "\n");
  231         LLVM_DEBUG(dbgs() << "Component member is " << *Member << "\n");
  231         LLVM_DEBUG(dbgs() << "Component member is " << *Member << "\n");
 1072       LLVM_DEBUG(dbgs() << "Simplified " << *I << " to "
 1072       LLVM_DEBUG(dbgs() << "Simplified " << *I << " to "
 1073                         << " constant " << *C << "\n");
 1073                         << " constant " << *C << "\n");
 1081       LLVM_DEBUG(dbgs() << "Simplified " << *I << " to "
 1081       LLVM_DEBUG(dbgs() << "Simplified " << *I << " to "
 1082                         << " variable " << *V << "\n");
 1082                         << " variable " << *V << "\n");
 1109         LLVM_DEBUG(dbgs() << "Simplified " << *I << " to "
 1109         LLVM_DEBUG(dbgs() << "Simplified " << *I << " to "
 1110                           << " expression " << *CC->getDefiningExpr() << "\n");
 1110                           << " expression " << *CC->getDefiningExpr() << "\n");
 1430         LLVM_DEBUG(dbgs() << "Coercing load from store " << *DepSI
 1431                           << " to constant " << *C << "\n");
 1431                           << " to constant " << *C << "\n");
 1446           LLVM_DEBUG(dbgs() << "Coercing load from load " << *LI
 1447                             << " to constant " << *PossibleConstant << "\n");
 1447                             << " to constant " << *PossibleConstant << "\n");
 1456         LLVM_DEBUG(dbgs() << "Coercing load from meminst " << *DepMI
 1457                           << " to constant " << *PossibleConstant << "\n");
 1457                           << " to constant " << *PossibleConstant << "\n");
 1538   LLVM_DEBUG(dbgs() << "Found predicate info from instruction !\n");
 1578     LLVM_DEBUG(dbgs() << "Copy is not of any condition operands!\n");
 1664   LLVM_DEBUG(dbgs() << "Setting " << *From);
 1665   LLVM_DEBUG(dbgs() << " equivalent to congruence class ");
 1667                     << " with current MemoryAccess leader ");
 1668   LLVM_DEBUG(dbgs() << *NewClass->getMemoryLeader() << "\n");
 1686             LLVM_DEBUG(dbgs() << "Memory class leader change for class "
 1687                               << OldClass->getID() << " to "
 1689                               << " due to removal of a memory member " << *From
 1690                               << "\n");
 1767           dbgs() << "PHI Node " << *I
 1768                  << " has no non-undef arguments, valuing it as undef\n");
 1772     LLVM_DEBUG(dbgs() << "No arguments of PHI node " << *I << " are live\n");
 1772     LLVM_DEBUG(dbgs() << "No arguments of PHI node " << *I << " are live\n");
 1811     LLVM_DEBUG(dbgs() << "Simplified PHI node " << *I << " to " << *AllSameValue
 1811     LLVM_DEBUG(dbgs() << "Simplified PHI node " << *I << " to " << *AllSameValue
 1812                       << "\n");
 2081   LLVM_DEBUG(dbgs() << "Adding memory user " << *U << " to " << *To << "\n");
 2081   LLVM_DEBUG(dbgs() << "Adding memory user " << *U << " to " << *To << "\n");
 2081   LLVM_DEBUG(dbgs() << "Adding memory user " << *U << " to " << *To << "\n");
 2217     LLVM_DEBUG(dbgs() << "Memory class leader change for class "
 2219                       << " due to new memory instruction becoming leader\n");
 2227       LLVM_DEBUG(dbgs() << "Memory class leader change for class "
 2228                         << OldClass->getID() << " to "
 2230                         << " due to removal of old leader " << *InstMA << "\n");
 2230                         << " due to removal of old leader " << *InstMA << "\n");
 2267         LLVM_DEBUG(dbgs() << "Changing leader of congruence class "
 2268                           << NewClass->getID() << " from "
 2269                           << *NewClass->getLeader() << " to  " << *SI
 2270                           << " because store joined class\n");
 2290       LLVM_DEBUG(dbgs() << "Erasing expression " << *OldClass->getDefiningExpr()
 2291                         << " from table\n");
 2308     LLVM_DEBUG(dbgs() << "Value class leader change for class "
 2309                       << OldClass->getID() << "\n");
 2372       LLVM_DEBUG(dbgs() << "Created new congruence class for " << *I
 2373                         << " using expression " << *E << " at "
 2373                         << " using expression " << *E << " at "
 2374                         << NewClass->getID() << " and leader "
 2377         LLVM_DEBUG(dbgs() << " and stored value "
 2379       LLVM_DEBUG(dbgs() << "\n");
 2397     LLVM_DEBUG(dbgs() << "New class " << EClass->getID() << " for expression "
 2397     LLVM_DEBUG(dbgs() << "New class " << EClass->getID() << " for expression "
 2398                       << *E << "\n");
 2436       LLVM_DEBUG(dbgs() << "Block " << getBlockName(To)
 2437                         << " marked reachable\n");
 2441       LLVM_DEBUG(dbgs() << "Block " << getBlockName(To)
 2442                         << " was reachable, but new edge {"
 2443                         << getBlockName(From) << "," << getBlockName(To)
 2444                         << "} to it found\n");
 2489         LLVM_DEBUG(dbgs() << "Condition for Terminator " << *TI
 2490                           << " evaluated to true\n");
 2493         LLVM_DEBUG(dbgs() << "Condition for Terminator " << *TI
 2494                           << " evaluated to false\n");
 2675     LLVM_DEBUG(dbgs() << "Cannot find phi of ops operand for " << *TransInst
 2676                       << " in block " << getBlockName(PredBB) << "\n");
 2676                       << " in block " << getBlockName(PredBB) << "\n");
 2725       LLVM_DEBUG(dbgs() << "Found possible dependent phi of ops\n");
 2734           << "PHIs for operands are not all in the same block, aborting\n");
 2802       LLVM_DEBUG(dbgs() << "Skipping phi of ops operand for incoming block "
 2804                         << " because the block is unreachable\n");
 2810     LLVM_DEBUG(dbgs() << "Found phi of ops operand " << *FoundVal << " in "
 2810     LLVM_DEBUG(dbgs() << "Found phi of ops operand " << *FoundVal << " in "
 2811                       << getBlockName(PredBB) << "\n");
 2820         << "Not creating real PHI of ops because it simplified to existing "
 2846   LLVM_DEBUG(dbgs() << "Created phi of ops " << *ValuePHI << " for " << *I
 2846   LLVM_DEBUG(dbgs() << "Created phi of ops " << *ValuePHI << " for " << *I
 2847                     << "\n");
 2919     LLVM_DEBUG(dbgs() << "Congruence class " << CongruenceClasses[i]->getID()
 2920                       << " has " << CongruenceClasses[i]->size()
 2921                       << " members\n");
 2991       LLVM_DEBUG(dbgs() << "Skipping trivially dead instruction " << I << "\n");
 2991       LLVM_DEBUG(dbgs() << "Skipping trivially dead instruction " << I << "\n");
 3057     LLVM_DEBUG(dbgs() << "Memory Phi value numbered to " << *AllSameValue
 3058                       << "\n");
 3060     LLVM_DEBUG(dbgs() << "Memory Phi value numbered to itself\n");
 3079   LLVM_DEBUG(dbgs() << "Processing instruction " << *I << "\n");
 3079   LLVM_DEBUG(dbgs() << "Processing instruction " << *I << "\n");
 3260   LLVM_DEBUG(dbgs() << "Beginning iteration verification\n");
 3378           LLVM_DEBUG(dbgs() << "Skipping instructions in block "
 3380                             << " because it is unreachable\n");
 3390         LLVM_DEBUG(dbgs() << "Processing MemoryPhi " << *MP << "\n");
 3390         LLVM_DEBUG(dbgs() << "Processing MemoryPhi " << *MP << "\n");
 3460   LLVM_DEBUG(dbgs() << "Block " << getBlockName(&F.getEntryBlock())
 3461                     << " marked reachable\n");
 3488     LLVM_DEBUG(dbgs() << "We believe block " << getBlockName(&BB)
 3489                       << " is unreachable\n");
 3680   LLVM_DEBUG(dbgs() << "  BasicBlock Dead:" << *BB);
 3707   LLVM_DEBUG(dbgs() << "Marking " << *I << " for deletion\n");
 3707   LLVM_DEBUG(dbgs() << "Marking " << *I << " for deletion\n");
 3712   LLVM_DEBUG(dbgs() << "Replacing " << *I << " with " << *V << "\n");
 3712   LLVM_DEBUG(dbgs() << "Replacing " << *I << " with " << *V << "\n");
 3712   LLVM_DEBUG(dbgs() << "Replacing " << *I << " with " << *V << "\n");
 3838         LLVM_DEBUG(dbgs() << "Replacing incoming value of " << PHI
 3839                           << " for block "
 3841                           << " with undef due to it being unreachable\n");
 3873     LLVM_DEBUG(dbgs() << "Eliminating in congruence class " << CC->getID()
 3874                       << "\n");
 3912         LLVM_DEBUG(dbgs() << "Found replacement " << *(Leader) << " for "
 3912         LLVM_DEBUG(dbgs() << "Found replacement " << *(Leader) << " for "
 3913                           << *Member << "\n");
 3953             LLVM_DEBUG(dbgs() << "Inserting fully real phi of ops" << *Def
 3954                               << " into block "
 3955                               << getBlockName(getBlockForValue(Def)) << "\n");
 3962             LLVM_DEBUG(dbgs() << "Elimination Stack is empty\n");
 3964             LLVM_DEBUG(dbgs() << "Elimination Stack Top DFS numbers are ("
 3965                               << EliminationStack.dfs_back().first << ","
 3966                               << EliminationStack.dfs_back().second << ")\n");
 3969           LLVM_DEBUG(dbgs() << "Current DFS numbers are (" << MemberDFSIn << ","
 3969           LLVM_DEBUG(dbgs() << "Current DFS numbers are (" << MemberDFSIn << ","
 3970                             << MemberDFSOut << ")\n");
 4053                      << "Found replacement " << *DominatingLeader << " for "
 4053                      << "Found replacement " << *DominatingLeader << " for "
 4054                      << *U->get() << " in " << *(U->getUser()) << "\n");
 4054                      << *U->get() << " in " << *(U->getUser()) << "\n");
 4123         LLVM_DEBUG(dbgs() << "Marking dead store " << *Member
 4124                           << " that is dominated by " << *Leader << "\n");
 4124                           << " that is dominated by " << *Leader << "\n");
lib/Transforms/Scalar/PlaceSafepoints.cpp
  323         LLVM_DEBUG(dbgs() << "skipping safepoint placement in finite loop\n");
  334             << "skipping safepoint placement due to unconditional call\n");
  350     LLVM_DEBUG(dbgs() << "[LSP] terminator instruction: " << *Term);
lib/Transforms/Scalar/Reassociate.cpp
   77   dbgs() << Instruction::getOpcodeName(I->getOpcode()) << " "
   77   dbgs() << Instruction::getOpcodeName(I->getOpcode()) << " "
   80     dbgs() << "[ ";
   82     dbgs() << ", #" << Ops[i].Rank << "] ";
   82     dbgs() << ", #" << Ops[i].Rank << "] ";
  172     LLVM_DEBUG(dbgs() << "Calculated Rank[" << Arg.getName() << "] = " << Rank
  172     LLVM_DEBUG(dbgs() << "Calculated Rank[" << Arg.getName() << "] = " << Rank
  173                       << "\n");
  213   LLVM_DEBUG(dbgs() << "Calculated Rank[" << V->getName() << "] = " << Rank
  213   LLVM_DEBUG(dbgs() << "Calculated Rank[" << V->getName() << "] = " << Rank
  214                     << "\n");
  455   LLVM_DEBUG(dbgs() << "LINEARIZE: " << *I << '\n');
  504       LLVM_DEBUG(dbgs() << "OPERAND: " << *Op << " (" << Weight << ")\n");
  504       LLVM_DEBUG(dbgs() << "OPERAND: " << *Op << " (" << Weight << ")\n");
  504       LLVM_DEBUG(dbgs() << "OPERAND: " << *Op << " (" << Weight << ")\n");
  511         LLVM_DEBUG(dbgs() << "DIRECT ADD: " << *Op << " (" << Weight << ")\n");
  511         LLVM_DEBUG(dbgs() << "DIRECT ADD: " << *Op << " (" << Weight << ")\n");
  511         LLVM_DEBUG(dbgs() << "DIRECT ADD: " << *Op << " (" << Weight << ")\n");
  525                      << "ADD USES LEAF: " << *Op << " (" << Weight << ")\n");
  525                      << "ADD USES LEAF: " << *Op << " (" << Weight << ")\n");
  525                      << "ADD USES LEAF: " << *Op << " (" << Weight << ")\n");
  585                      << "MORPH LEAF: " << *Op << " (" << Weight << ") TO ");
  585                      << "MORPH LEAF: " << *Op << " (" << Weight << ") TO ");
  585                      << "MORPH LEAF: " << *Op << " (" << Weight << ") TO ");
  595       LLVM_DEBUG(dbgs() << "ADD LEAF: " << *Op << " (" << Weight << ")\n");
  595       LLVM_DEBUG(dbgs() << "ADD LEAF: " << *Op << " (" << Weight << ")\n");
  595       LLVM_DEBUG(dbgs() << "ADD LEAF: " << *Op << " (" << Weight << ")\n");
  687         LLVM_DEBUG(dbgs() << "RA: " << *Op << '\n');
  689         LLVM_DEBUG(dbgs() << "TO: " << *Op << '\n');
  697       LLVM_DEBUG(dbgs() << "RA: " << *Op << '\n');
  710       LLVM_DEBUG(dbgs() << "TO: " << *Op << '\n');
  723       LLVM_DEBUG(dbgs() << "RA: " << *Op << '\n');
  736       LLVM_DEBUG(dbgs() << "TO: " << *Op << '\n');
  768     LLVM_DEBUG(dbgs() << "RA: " << *Op << '\n');
  770     LLVM_DEBUG(dbgs() << "TO: " << *Op << '\n');
  969   LLVM_DEBUG(dbgs() << "Negated: " << *New << '\n');
 1454       LLVM_DEBUG(dbgs() << "\nFACTORING [" << NumFound << "]: " << *TheOp
 1454       LLVM_DEBUG(dbgs() << "\nFACTORING [" << NumFound << "]: " << *TheOp
 1588     LLVM_DEBUG(dbgs() << "\nFACTORING [" << MaxOcc << "]: " << *MaxOccVal
 1588     LLVM_DEBUG(dbgs() << "\nFACTORING [" << MaxOcc << "]: " << *MaxOccVal
 1911   LLVM_DEBUG(dbgs() << "Erasing dead inst: "; I->dump());
 1963         LLVM_DEBUG(dbgs() << "FMul with negative constant: " << *I << '\n');
 1977         LLVM_DEBUG(dbgs() << "FDiv with negative constant: " << *I << '\n');
 2054   LLVM_DEBUG(dbgs() << "Combine negations for: " << *I << '\n');
 2209   LLVM_DEBUG(dbgs() << "RAIn:\t"; PrintOps(I, Ops); dbgs() << '\n');
 2227     LLVM_DEBUG(dbgs() << "Reassoc to scalar: " << *V << '\n');
 2258   LLVM_DEBUG(dbgs() << "RAOut:\t"; PrintOps(I, Ops); dbgs() << '\n');
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  378     dbgs() << "Live Variables:\n";
  380       dbgs() << " " << V->getName() << " " << *V << "\n";
  380       dbgs() << " " << V->getName() << " " << *V << "\n";
  380       dbgs() << " " << V->getName() << " " << *V << "\n";
  383     dbgs() << "Safepoint For: " << Call->getCalledValue()->getName() << "\n";
  383     dbgs() << "Safepoint For: " << Call->getCalledValue()->getName() << "\n";
  384     dbgs() << "Number live values: " << LiveSet.size() << "\n";
  384     dbgs() << "Number live values: " << LiveSet.size() << "\n";
  615     LLVM_DEBUG(dbgs() << "fBDV-cached: " << I->getName() << " -> "
  615     LLVM_DEBUG(dbgs() << "fBDV-cached: " << I->getName() << " -> "
  616                       << Cached->getName() << "\n");
  695       OS << "U";
  698       OS << "B";
  701       OS << "C";
  704     OS << " (" << getBaseValue() << " - "
  704     OS << " (" << getBaseValue() << " - "
  705        << (getBaseValue() ? getBaseValue()->getName() : "nullptr") << "): ";
  847   LLVM_DEBUG(dbgs() << "States after initialization:\n");
  849     LLVM_DEBUG(dbgs() << " " << Pair.second << " for " << *Pair.first << "\n");
  849     LLVM_DEBUG(dbgs() << " " << Pair.second << " for " << *Pair.first << "\n");
  849     LLVM_DEBUG(dbgs() << " " << Pair.second << " for " << *Pair.first << "\n");
  922   LLVM_DEBUG(dbgs() << "States after meet iteration:\n");
  924     LLVM_DEBUG(dbgs() << " " << Pair.second << " for " << *Pair.first << "\n");
  924     LLVM_DEBUG(dbgs() << " " << Pair.second << " for " << *Pair.first << "\n");
  924     LLVM_DEBUG(dbgs() << " " << Pair.second << " for " << *Pair.first << "\n");
 1124         dbgs() << "Updating base value cache"
 1125                << " for: " << BDV->getName() << " from: "
 1125                << " for: " << BDV->getName() << " from: "
 1127                << " to: " << Base->getName() << "\n");
 1127                << " to: " << Base->getName() << "\n");
 1182     errs() << "Base Pairs (w/o Relocation):\n";
 1184       errs() << " derived ";
 1186       errs() << " base ";
 1188       errs() << "\n";;
 2267       errs() << "Base Pairs: (w/Relocation)\n";
 2269         errs() << " derived ";
 2271         errs() << " base ";
 2273         errs() << "\n";
lib/Transforms/Scalar/SCCP.cpp
  282     LLVM_DEBUG(dbgs() << "Marking Block Executable: " << BB->getName() << '\n');
  435     LLVM_DEBUG(dbgs() << "markConstant: " << *C << ": " << *V << '\n');
  435     LLVM_DEBUG(dbgs() << "markConstant: " << *C << ": " << *V << '\n');
  449     LLVM_DEBUG(dbgs() << "markForcedConstant: " << *C << ": " << *V << '\n');
  449     LLVM_DEBUG(dbgs() << "markForcedConstant: " << *C << ": " << *V << '\n');
  459     LLVM_DEBUG(dbgs() << "markOverdefined: ";
  461                << "Function '" << F->getName() << "'\n";
  461                << "Function '" << F->getName() << "'\n";
  562       LLVM_DEBUG(dbgs() << "Marking Edge Executable: " << Source->getName()
  563                         << " -> " << Dest->getName() << '\n');
  657     LLVM_DEBUG(dbgs() << "SCCP: Don't know how to handle: " << I << '\n');
  751   LLVM_DEBUG(dbgs() << "Unknown terminator instruction: " << TI << '\n');
 1374       LLVM_DEBUG(dbgs() << "\nPopped off OI-WL: " << *I << '\n');
 1390       LLVM_DEBUG(dbgs() << "\nPopped off I-WL: " << *I << '\n');
 1408       LLVM_DEBUG(dbgs() << "\nPopped off BBWL: " << *BB << '\n');
 1788     LLVM_DEBUG(dbgs() << "  Can\'t treat the result of musttail call : " << *CI
 1789                       << " as a constant\n");
 1793   LLVM_DEBUG(dbgs() << "  Constant: " << *Const << " = " << *V << '\n');
 1793   LLVM_DEBUG(dbgs() << "  Constant: " << *Const << " = " << *V << '\n');
 1804   LLVM_DEBUG(dbgs() << "SCCP on function '" << F.getName() << "'\n");
 1804   LLVM_DEBUG(dbgs() << "SCCP on function '" << F.getName() << "'\n");
 1819     LLVM_DEBUG(dbgs() << "RESOLVING UNDEFs\n");
 1831       LLVM_DEBUG(dbgs() << "  BasicBlock Dead:" << BB);
 1929     LLVM_DEBUG(dbgs() << "Can't zap returns of the function : " << F.getName()
 1930                       << " due to present musttail call of it\n");
 1957       LLVM_DEBUG(dbgs() << "Can't zap return of the block due to present "
 1958                         << "musttail call : " << *CI << "\n");
 1958                         << "musttail call : " << *CI << "\n");
 2051     LLVM_DEBUG(dbgs() << "RESOLVING UNDEFS\n");
 2084         LLVM_DEBUG(dbgs() << "  BasicBlock Dead:" << *BB);
 2221     LLVM_DEBUG(dbgs() << "Found that GV '" << GV->getName()
 2222                       << "' is constant!\n");
lib/Transforms/Scalar/SROA.cpp
  678       LLVM_DEBUG(dbgs() << "WARNING: Ignoring " << Size << " byte use @"
  678       LLVM_DEBUG(dbgs() << "WARNING: Ignoring " << Size << " byte use @"
  680                         << " which has zero size or starts outside of the "
  681                         << AllocSize << " byte alloca:\n"
  682                         << "    alloca: " << AS.AI << "\n"
  682                         << "    alloca: " << AS.AI << "\n"
  683                         << "       use: " << I << "\n");
  683                         << "       use: " << I << "\n");
  698       LLVM_DEBUG(dbgs() << "WARNING: Clamping a " << Size << " byte use @"
  698       LLVM_DEBUG(dbgs() << "WARNING: Clamping a " << Size << " byte use @"
  699                         << Offset << " to remain within the " << AllocSize
  700                         << " byte alloca:\n"
  701                         << "    alloca: " << AS.AI << "\n"
  701                         << "    alloca: " << AS.AI << "\n"
  702                         << "       use: " << I << "\n");
  702                         << "       use: " << I << "\n");
  815       LLVM_DEBUG(dbgs() << "WARNING: Ignoring " << Size << " byte store @"
  815       LLVM_DEBUG(dbgs() << "WARNING: Ignoring " << Size << " byte store @"
  816                         << Offset << " which extends past the end of the "
  817                         << AllocSize << " byte alloca:\n"
  818                         << "    alloca: " << AS.AI << "\n"
  818                         << "    alloca: " << AS.AI << "\n"
  819                         << "       use: " << SI << "\n");
  819                         << "       use: " << SI << "\n");
 1089   OS << "\n";
 1095   OS << Indent << "[" << I->beginOffset() << "," << I->endOffset() << ")"
 1095   OS << Indent << "[" << I->beginOffset() << "," << I->endOffset() << ")"
 1095   OS << Indent << "[" << I->beginOffset() << "," << I->endOffset() << ")"
 1096      << " slice #" << (I - begin())
 1097      << (I->isSplittable() ? " (splittable)" : "");
 1102   OS << Indent << "  used by: " << *I->getUse()->getUser() << "\n";
 1102   OS << Indent << "  used by: " << *I->getUse()->getUser() << "\n";
 1107     OS << "Can't analyze slices for alloca: " << AI << "\n"
 1107     OS << "Can't analyze slices for alloca: " << AI << "\n"
 1108        << "  A pointer to this alloca escaped by:\n"
 1109        << "  " << *PointerEscapingInstr << "\n";
 1109        << "  " << *PointerEscapingInstr << "\n";
 1113   OS << "Slices of alloca: " << AI << "\n";
 1113   OS << "Slices of alloca: " << AI << "\n";
 1263   LLVM_DEBUG(dbgs() << "    original: " << PN << "\n");
 1263   LLVM_DEBUG(dbgs() << "    original: " << PN << "\n");
 1313   LLVM_DEBUG(dbgs() << "          speculated to: " << *NewPN << "\n");
 1313   LLVM_DEBUG(dbgs() << "          speculated to: " << *NewPN << "\n");
 1355   LLVM_DEBUG(dbgs() << "    original: " << SI << "\n");
 1355   LLVM_DEBUG(dbgs() << "    original: " << SI << "\n");
 1386     LLVM_DEBUG(dbgs() << "          speculated to: " << *V << "\n");
 1386     LLVM_DEBUG(dbgs() << "          speculated to: " << *V << "\n");
 2133   LLVM_DEBUG(dbgs() << "       start: " << *V << "\n");
 2133   LLVM_DEBUG(dbgs() << "       start: " << *V << "\n");
 2142     LLVM_DEBUG(dbgs() << "     shifted: " << *V << "\n");
 2142     LLVM_DEBUG(dbgs() << "     shifted: " << *V << "\n");
 2148     LLVM_DEBUG(dbgs() << "     trunced: " << *V << "\n");
 2148     LLVM_DEBUG(dbgs() << "     trunced: " << *V << "\n");
 2159   LLVM_DEBUG(dbgs() << "       start: " << *V << "\n");
 2159   LLVM_DEBUG(dbgs() << "       start: " << *V << "\n");
 2162     LLVM_DEBUG(dbgs() << "    extended: " << *V << "\n");
 2162     LLVM_DEBUG(dbgs() << "    extended: " << *V << "\n");
 2171     LLVM_DEBUG(dbgs() << "     shifted: " << *V << "\n");
 2171     LLVM_DEBUG(dbgs() << "     shifted: " << *V << "\n");
 2177     LLVM_DEBUG(dbgs() << "      masked: " << *Old << "\n");
 2177     LLVM_DEBUG(dbgs() << "      masked: " << *Old << "\n");
 2179     LLVM_DEBUG(dbgs() << "    inserted: " << *V << "\n");
 2179     LLVM_DEBUG(dbgs() << "    inserted: " << *V << "\n");
 2196     LLVM_DEBUG(dbgs() << "     extract: " << *V << "\n");
 2196     LLVM_DEBUG(dbgs() << "     extract: " << *V << "\n");
 2206   LLVM_DEBUG(dbgs() << "     shuffle: " << *V << "\n");
 2206   LLVM_DEBUG(dbgs() << "     shuffle: " << *V << "\n");
 2220     LLVM_DEBUG(dbgs() << "     insert: " << *V << "\n");
 2220     LLVM_DEBUG(dbgs() << "     insert: " << *V << "\n");
 2245   LLVM_DEBUG(dbgs() << "    shuffle: " << *V << "\n");
 2245   LLVM_DEBUG(dbgs() << "    shuffle: " << *V << "\n");
 2253   LLVM_DEBUG(dbgs() << "    blend: " << *V << "\n");
 2253   LLVM_DEBUG(dbgs() << "    blend: " << *V << "\n");
 2356     LLVM_DEBUG(dbgs() << "  rewriting " << (IsSplit ? "split " : ""));
 2356     LLVM_DEBUG(dbgs() << "  rewriting " << (IsSplit ? "split " : ""));
 2358     LLVM_DEBUG(dbgs() << "\n");
 2388     LLVM_DEBUG(dbgs() << "    !!!! Cannot rewrite: " << I << "\n");
 2388     LLVM_DEBUG(dbgs() << "    !!!! Cannot rewrite: " << I << "\n");
 2494     LLVM_DEBUG(dbgs() << "    original: " << LI << "\n");
 2494     LLVM_DEBUG(dbgs() << "    original: " << LI << "\n");
 2594     LLVM_DEBUG(dbgs() << "          to: " << *V << "\n");
 2594     LLVM_DEBUG(dbgs() << "          to: " << *V << "\n");
 2622     LLVM_DEBUG(dbgs() << "          to: " << *Store << "\n");
 2622     LLVM_DEBUG(dbgs() << "          to: " << *Store << "\n");
 2644     LLVM_DEBUG(dbgs() << "          to: " << *Store << "\n");
 2644     LLVM_DEBUG(dbgs() << "          to: " << *Store << "\n");
 2649     LLVM_DEBUG(dbgs() << "    original: " << SI << "\n");
 2649     LLVM_DEBUG(dbgs() << "    original: " << SI << "\n");
 2717     LLVM_DEBUG(dbgs() << "          to: " << *NewSI << "\n");
 2717     LLVM_DEBUG(dbgs() << "          to: " << *NewSI << "\n");
 2751     LLVM_DEBUG(dbgs() << "       splat: " << *V << "\n");
 2751     LLVM_DEBUG(dbgs() << "       splat: " << *V << "\n");
 2756     LLVM_DEBUG(dbgs() << "    original: " << II << "\n");
 2756     LLVM_DEBUG(dbgs() << "    original: " << II << "\n");
 2806       LLVM_DEBUG(dbgs() << "          to: " << *New << "\n");
 2806       LLVM_DEBUG(dbgs() << "          to: " << *New << "\n");
 2872     LLVM_DEBUG(dbgs() << "          to: " << *New << "\n");
 2872     LLVM_DEBUG(dbgs() << "          to: " << *New << "\n");
 2880     LLVM_DEBUG(dbgs() << "    original: " << II << "\n");
 2880     LLVM_DEBUG(dbgs() << "    original: " << II << "\n");
 2909       LLVM_DEBUG(dbgs() << "          to: " << II << "\n");
 2909       LLVM_DEBUG(dbgs() << "          to: " << II << "\n");
 2992       LLVM_DEBUG(dbgs() << "          to: " << *New << "\n");
 2992       LLVM_DEBUG(dbgs() << "          to: " << *New << "\n");
 3066     LLVM_DEBUG(dbgs() << "          to: " << *Store << "\n");
 3066     LLVM_DEBUG(dbgs() << "          to: " << *Store << "\n");
 3072     LLVM_DEBUG(dbgs() << "    original: " << II << "\n");
 3072     LLVM_DEBUG(dbgs() << "    original: " << II << "\n");
 3103     LLVM_DEBUG(dbgs() << "          to: " << *New << "\n");
 3103     LLVM_DEBUG(dbgs() << "          to: " << *New << "\n");
 3146     LLVM_DEBUG(dbgs() << "    original: " << PN << "\n");
 3146     LLVM_DEBUG(dbgs() << "    original: " << PN << "\n");
 3165     LLVM_DEBUG(dbgs() << "          to: " << PN << "\n");
 3165     LLVM_DEBUG(dbgs() << "          to: " << PN << "\n");
 3179     LLVM_DEBUG(dbgs() << "    original: " << SI << "\n");
 3179     LLVM_DEBUG(dbgs() << "    original: " << SI << "\n");
 3192     LLVM_DEBUG(dbgs() << "          to: " << SI << "\n");
 3192     LLVM_DEBUG(dbgs() << "          to: " << SI << "\n");
 3236     LLVM_DEBUG(dbgs() << "  Rewriting FCA loads and stores...\n");
 3367       LLVM_DEBUG(dbgs() << "          to: " << *Load << "\n");
 3367       LLVM_DEBUG(dbgs() << "          to: " << *Load << "\n");
 3377     LLVM_DEBUG(dbgs() << "    original: " << LI << "\n");
 3377     LLVM_DEBUG(dbgs() << "    original: " << LI << "\n");
 3412       LLVM_DEBUG(dbgs() << "          to: " << *Store << "\n");
 3412       LLVM_DEBUG(dbgs() << "          to: " << *Store << "\n");
 3424     LLVM_DEBUG(dbgs() << "    original: " << SI << "\n");
 3424     LLVM_DEBUG(dbgs() << "    original: " << SI << "\n");
 3629   LLVM_DEBUG(dbgs() << "Pre-splitting loads and stores\n");
 3661   LLVM_DEBUG(dbgs() << "  Searching for candidate loads and stores\n");
 3716       LLVM_DEBUG(dbgs() << "    Candidate: " << *I << "\n");
 3716       LLVM_DEBUG(dbgs() << "    Candidate: " << *I << "\n");
 3778                             << "    Mismatched splits for load and store:\n"
 3779                             << "      " << *LI << "\n"
 3779                             << "      " << *LI << "\n"
 3780                             << "      " << *SI << "\n");
 3780                             << "      " << *SI << "\n");
 3853     LLVM_DEBUG(dbgs() << "  Splitting load: " << *LI << "\n");
 3853     LLVM_DEBUG(dbgs() << "  Splitting load: " << *LI << "\n");
 3880       LLVM_DEBUG(dbgs() << "    new slice [" << NewSlices.back().beginOffset()
 3881                         << ", " << NewSlices.back().endOffset()
 3882                         << "): " << *PLoad << "\n");
 3882                         << "): " << *PLoad << "\n");
 3902         LLVM_DEBUG(dbgs() << "    Deferred splitting of store: " << *SI
 3903                           << "\n");
 3910       LLVM_DEBUG(dbgs() << "    Splitting store of load: " << *SI << "\n");
 3910       LLVM_DEBUG(dbgs() << "    Splitting store of load: " << *SI << "\n");
 3927         LLVM_DEBUG(dbgs() << "      +" << PartOffset << ":" << *PStore << "\n");
 3927         LLVM_DEBUG(dbgs() << "      +" << PartOffset << ":" << *PStore << "\n");
 3927         LLVM_DEBUG(dbgs() << "      +" << PartOffset << ":" << *PStore << "\n");
 3976     LLVM_DEBUG(dbgs() << "  Splitting store: " << *SI << "\n");
 3976     LLVM_DEBUG(dbgs() << "  Splitting store: " << *SI << "\n");
 3986       LLVM_DEBUG(dbgs() << "          of load: " << *LI << "\n");
 3986       LLVM_DEBUG(dbgs() << "          of load: " << *LI << "\n");
 4027       LLVM_DEBUG(dbgs() << "    new slice [" << NewSlices.back().beginOffset()
 4028                         << ", " << NewSlices.back().endOffset()
 4029                         << "): " << *PStore << "\n");
 4029                         << "): " << *PStore << "\n");
 4031         LLVM_DEBUG(dbgs() << "      of split load: " << *PLoad << "\n");
 4031         LLVM_DEBUG(dbgs() << "      of split load: " << *PLoad << "\n");
 4086   LLVM_DEBUG(dbgs() << "  Pre-split slices:\n");
 4174   LLVM_DEBUG(dbgs() << "Rewriting alloca partition "
 4175                     << "[" << P.beginOffset() << "," << P.endOffset()
 4175                     << "[" << P.beginOffset() << "," << P.endOffset()
 4176                     << ") to: " << *NewAI << "\n");
 4176                     << ") to: " << *NewAI << "\n");
 4435   LLVM_DEBUG(dbgs() << "SROA alloca: " << AI << "\n");
 4435   LLVM_DEBUG(dbgs() << "SROA alloca: " << AI << "\n");
 4487   LLVM_DEBUG(dbgs() << "  Speculating PHIs\n");
 4491   LLVM_DEBUG(dbgs() << "  Speculating Selects\n");
 4512     LLVM_DEBUG(dbgs() << "Deleting dead instruction: " << *I << "\n");
 4512     LLVM_DEBUG(dbgs() << "Deleting dead instruction: " << *I << "\n");
 4551   LLVM_DEBUG(dbgs() << "Promoting allocas with mem2reg...\n");
 4559   LLVM_DEBUG(dbgs() << "SROA function: " << F.getName() << "\n");
 4559   LLVM_DEBUG(dbgs() << "SROA function: " << F.getName() << "\n");
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
 1217         RSO << "Dead instruction detected!\n" << I << "\n";
 1217         RSO << "Dead instruction detected!\n" << I << "\n";
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  353   LLVM_DEBUG(dbgs() << "  Trying to unswitch branch: " << BI << "\n");
  353   LLVM_DEBUG(dbgs() << "  Trying to unswitch branch: " << BI << "\n");
  405     dbgs() << "    unswitching trivial invariant conditions for: " << BI
  406            << "\n";
  408       dbgs() << "      " << *Invariant << " == true";
  408       dbgs() << "      " << *Invariant << " == true";
  410         dbgs() << " ||";
  411       dbgs() << "\n";
  540   LLVM_DEBUG(dbgs() << "    done: unswitching trivial branch...\n");
  575   LLVM_DEBUG(dbgs() << "  Trying to unswitch switch: " << SI << "\n");
  575   LLVM_DEBUG(dbgs() << "  Trying to unswitch switch: " << SI << "\n");
  601   LLVM_DEBUG(dbgs() << "    unswitching trivial switch...\n");
  835   LLVM_DEBUG(dbgs() << "    done: unswitching trivial switch...\n");
 2379   LLVM_DEBUG(dbgs() << "Turning " << *GI << " into a branch.\n");
 2379   LLVM_DEBUG(dbgs() << "Turning " << *GI << " into a branch.\n");
 2516   LLVM_DEBUG(dbgs() << "  Computed multiplier  " << CostMultiplier
 2517                     << " (siblings " << SiblingsMultiplier << " * clones "
 2517                     << " (siblings " << SiblingsMultiplier << " * clones "
 2518                     << (1 << ClonesPower) << ")"
 2519                     << " for unswitch candidate: " << TI << "\n");
 2519                     << " for unswitch candidate: " << TI << "\n");
 2611       dbgs() << "Cannot unswitch because of cleanuppad in exit block\n";
 2616       dbgs() << "Considering " << UnswitchCandidates.size()
 2617              << " non-trivial loop invariant conditions for unswitching.\n");
 2653   LLVM_DEBUG(dbgs() << "  Total loop cost: " << LoopCost << "\n");
 2653   LLVM_DEBUG(dbgs() << "  Total loop cost: " << LoopCost << "\n");
 2745       LLVM_DEBUG(dbgs() << "  Computed cost of " << CandidateCost
 2746                         << " (multiplier: " << CostMultiplier << ")"
 2746                         << " (multiplier: " << CostMultiplier << ")"
 2747                         << " for unswitch candidate: " << TI << "\n");
 2747                         << " for unswitch candidate: " << TI << "\n");
 2749       LLVM_DEBUG(dbgs() << "  Computed cost of " << CandidateCost
 2750                         << " for unswitch candidate: " << TI << "\n");
 2750                         << " for unswitch candidate: " << TI << "\n");
 2762     LLVM_DEBUG(dbgs() << "Cannot unswitch, lowest cost found: "
 2763                       << BestUnswitchCost << "\n");
 2772   LLVM_DEBUG(dbgs() << "  Unswitching non-trivial (cost = "
 2773                     << BestUnswitchCost << ") terminator: " << *BestUnswitchTI
 2774                     << "\n");
 2849   LLVM_DEBUG(dbgs() << "Unswitching loop in " << F.getName() << ": " << L
 2849   LLVM_DEBUG(dbgs() << "Unswitching loop in " << F.getName() << ": " << L
 2850                     << "\n");
 2928   LLVM_DEBUG(dbgs() << "Unswitching loop in " << F.getName() << ": " << *L
 2928   LLVM_DEBUG(dbgs() << "Unswitching loop in " << F.getName() << ": " << *L
 2929                     << "\n");
lib/Transforms/Scalar/Sink.cpp
  189   LLVM_DEBUG(dbgs() << "Sink" << *Inst << " (";
  189   LLVM_DEBUG(dbgs() << "Sink" << *Inst << " (";
  190              Inst->getParent()->printAsOperand(dbgs(), false); dbgs() << " -> ";
  191              SuccToSinkTo->printAsOperand(dbgs(), false); dbgs() << ")\n");
  244     LLVM_DEBUG(dbgs() << "Sinking iteration " << NumSinkIter << "\n");
  244     LLVM_DEBUG(dbgs() << "Sinking iteration " << NumSinkIter << "\n");
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
   66       LLVM_DEBUG(dbgs() << "  Unsafe: use in a different BB: " << *UI << "\n");
   66       LLVM_DEBUG(dbgs() << "  Unsafe: use in a different BB: " << *UI << "\n");
   72         LLVM_DEBUG(dbgs() << "  Unsafe: convergent "
   85       LLVM_DEBUG(dbgs() << "  Unsafe: can't speculate use: " << *UI << "\n");
   85       LLVM_DEBUG(dbgs() << "  Unsafe: can't speculate use: " << *UI << "\n");
  136           LLVM_DEBUG(dbgs() << "  Unsafe: can't speculate transitive use: "
  137                             << *OpI << "\n");
  239     LLVM_DEBUG(dbgs() << "    Free: " << PN << "\n");
  239     LLVM_DEBUG(dbgs() << "    Free: " << PN << "\n");
  247     LLVM_DEBUG(dbgs() << "    Unsafe PHI: " << PN << "\n");
  247     LLVM_DEBUG(dbgs() << "    Unsafe PHI: " << PN << "\n");
  298         LLVM_DEBUG(dbgs() << "  Not profitable to fold imm: " << *IncomingC
  299                           << "\n"
  302                           << "\n"
  304                           << FoldedCost << "\n");
  324   LLVM_DEBUG(dbgs() << "    Cost savings " << (TotalMatCost - TotalFoldedCost)
  325                     << ": " << PN << "\n");
  325                     << ": " << PN << "\n");
  503             LLVM_DEBUG(dbgs() << "  Not profitable, speculation cost: " << *PN
  504                               << "\n"
  507                               << "\n"
  509                               << SpecCost << "\n");
  563   LLVM_DEBUG(dbgs() << "  Speculating around " << SpecPNs.size() << " PHIs!\n");
  563   LLVM_DEBUG(dbgs() << "  Speculating around " << SpecPNs.size() << " PHIs!\n");
  576       LLVM_DEBUG(dbgs() << "  Split critical edge from: " << PredBB->getName()
  577                         << "\n");
  611   LLVM_DEBUG(dbgs() << "  Inserting " << NumSpecInsts
  612                     << " speculated instructions, " << NumRedundantInsts
  613                     << " redundancies\n");
  735   LLVM_DEBUG(dbgs() << "Evaluating phi nodes for speculation:\n");
  764     LLVM_DEBUG(dbgs() << "  No safe and profitable PHIs found!\n");
  784       LLVM_DEBUG(dbgs() << "  Invalid: predecessor terminator: "
  785                         << PredBB->getName() << "\n");
  790     LLVM_DEBUG(dbgs() << "  Unimportant: phi with only one predecessor\n");
lib/Transforms/Scalar/SpeculativeExecution.cpp
  154     LLVM_DEBUG(dbgs() << "Not running SpeculativeExecution because "
lib/Transforms/Scalar/StructurizeCFG.cpp
  519     LLVM_DEBUG(dbgs() << "Visiting: "
  520                       << (RN->isSubRegion() ? "SubRegion with entry: " : "")
  521                       << RN->getEntry()->getName() << " Loop Depth: "
  522                       << LI->getLoopDepth(RN->getEntry()) << "\n");
  958       LLVM_DEBUG(dbgs() << "BB: " << Br->getParent()->getName()
  959                         << " has uniform terminator\n");
 1013       LLVM_DEBUG(dbgs() << "Skipping region with uniform control flow: " << *R
lib/Transforms/Scalar/TailRecursionElimination.cpp
  313       LLVM_DEBUG(dbgs() << "Marked as tail call candidate: " << *CI << "\n");
  313       LLVM_DEBUG(dbgs() << "Marked as tail call candidate: " << *CI << "\n");
  714       LLVM_DEBUG(dbgs() << "FOLDING: " << *BB
  715                         << "INTO UNCOND BRANCH PRED: " << *Pred);
lib/Transforms/Scalar/WarnMissedTransforms.cpp
   26     LLVM_DEBUG(dbgs() << "Leftover unroll transformation\n");
   37     LLVM_DEBUG(dbgs() << "Leftover unroll-and-jam transformation\n");
   48     LLVM_DEBUG(dbgs() << "Leftover vectorization transformation\n");
   73     LLVM_DEBUG(dbgs() << "Leftover distribute transformation\n");
lib/Transforms/Utils/ASanStackFrameLayout.cpp
  109     StackDescription << " " << Var.Offset << " " << Var.Size << " "
  109     StackDescription << " " << Var.Offset << " " << Var.Size << " "
  109     StackDescription << " " << Var.Offset << " " << Var.Size << " "
  110                      << Name.size() << " " << Name;
lib/Transforms/Utils/AddDiscriminators.cpp
  213         LLVM_DEBUG(dbgs() << "Could not encode discriminator: "
  214                           << DIL->getFilename() << ":" << DIL->getLine() << ":"
  214                           << DIL->getFilename() << ":" << DIL->getLine() << ":"
  215                           << DIL->getColumn() << ":" << Discriminator << " "
  215                           << DIL->getColumn() << ":" << Discriminator << " "
  216                           << I << "\n");
  219         LLVM_DEBUG(dbgs() << DIL->getFilename() << ":" << DIL->getLine() << ":"
  219         LLVM_DEBUG(dbgs() << DIL->getFilename() << ":" << DIL->getLine() << ":"
  220                    << DIL->getColumn() << ":" << Discriminator << " " << I
  220                    << DIL->getColumn() << ":" << Discriminator << " " << I
  221                    << "\n");
  251                      << "Could not encode discriminator: "
  252                      << CurrentDIL->getFilename() << ":"
  253                      << CurrentDIL->getLine() << ":" << CurrentDIL->getColumn()
  254                      << ":" << Discriminator << " " << I << "\n");
  254                      << ":" << Discriminator << " " << I << "\n");
  254                      << ":" << Discriminator << " " << I << "\n");
lib/Transforms/Utils/BasicBlockUtils.cpp
  213   LLVM_DEBUG(dbgs() << "Merging: " << BB->getName() << " into "
  213   LLVM_DEBUG(dbgs() << "Merging: " << BB->getName() << " into "
  214                     << PredBB->getName() << "\n");
lib/Transforms/Utils/CodeExtractor.cpp
  212   LLVM_DEBUG(dbgs() << "Region front block: " << Result.front()->getName()
  222         LLVM_DEBUG(dbgs() << "The first block cannot be an unwind block\n");
  232         LLVM_DEBUG(dbgs() << "No blocks in this region may have entries from "
  234                           << "Problematic source BB: " << BB->getName() << "\n"
  234                           << "Problematic source BB: " << BB->getName() << "\n"
  235                           << "Problematic destination BB: " << PBB->getName()
  236                           << "\n");
  497       LLVM_DEBUG(dbgs() << "Sinking lifetime.start: " << *LMI.LifeStart
  498                         << "\n");
  502       LLVM_DEBUG(dbgs() << "Hoisting lifetime.end: " << *LMI.LifeEnd << "\n");
  502       LLVM_DEBUG(dbgs() << "Hoisting lifetime.end: " << *LMI.LifeEnd << "\n");
  524       LLVM_DEBUG(dbgs() << "Sinking alloca: " << *AI << "\n");
  524       LLVM_DEBUG(dbgs() << "Sinking alloca: " << *AI << "\n");
  554     LLVM_DEBUG(dbgs() << "Sinking alloca (via bitcast): " << *AI << "\n");
  554     LLVM_DEBUG(dbgs() << "Sinking alloca (via bitcast): " << *AI << "\n");
  563         LLVM_DEBUG(dbgs() << "Sinking bitcast-of-alloca: " << *BitcastAddr
  564                           << "\n");
  773   LLVM_DEBUG(dbgs() << "inputs: " << inputs.size() << "\n");
  773   LLVM_DEBUG(dbgs() << "inputs: " << inputs.size() << "\n");
  774   LLVM_DEBUG(dbgs() << "outputs: " << outputs.size() << "\n");
  774   LLVM_DEBUG(dbgs() << "outputs: " << outputs.size() << "\n");
  788     LLVM_DEBUG(dbgs() << "value used in func: " << *value << "\n");
  788     LLVM_DEBUG(dbgs() << "value used in func: " << *value << "\n");
  794     LLVM_DEBUG(dbgs() << "instr used in func: " << *output << "\n");
  794     LLVM_DEBUG(dbgs() << "instr used in func: " << *output << "\n");
  802     dbgs() << "Function type: " << *RetTy << " f(";
  802     dbgs() << "Function type: " << *RetTy << " f(";
  804       dbgs() << *i << ", ";
  805     dbgs() << ")\n";
lib/Transforms/Utils/CtorUtils.cpp
  138     LLVM_DEBUG(dbgs() << "Optimizing Global Constructor: " << *F << "\n");
  138     LLVM_DEBUG(dbgs() << "Optimizing Global Constructor: " << *F << "\n");
lib/Transforms/Utils/Evaluator.cpp
  291     LLVM_DEBUG(dbgs() << "Too few arguments for function.\n");
  300       LLVM_DEBUG(dbgs() << "Can not convert function argument.\n");
  320       LLVM_DEBUG(dbgs() << "Failed to fold bitcast call expr\n");
  334     LLVM_DEBUG(dbgs() << "Evaluating Instruction: " << *CurInst << "\n");
  334     LLVM_DEBUG(dbgs() << "Evaluating Instruction: " << *CurInst << "\n");
  338         LLVM_DEBUG(dbgs() << "Store is not simple! Can not evaluate.\n");
  343         LLVM_DEBUG(dbgs() << "Folding constant ptr expression: " << *Ptr);
  345         LLVM_DEBUG(dbgs() << "; To: " << *Ptr << "\n");
  345         LLVM_DEBUG(dbgs() << "; To: " << *Ptr << "\n");
  350             dbgs() << "Pointer is too complex for us to evaluate store.");
  359         LLVM_DEBUG(dbgs() << "Store value is too complex to evaluate store. "
  360                           << *Val << "\n");
  367                      << "Attempting to resolve bitcast on constant ptr.\n");
  387             LLVM_DEBUG(dbgs() << "Failed to bitcast constant ptr, can not "
  393           LLVM_DEBUG(dbgs() << "Evaluated bitcast: " << *Val << "\n");
  393           LLVM_DEBUG(dbgs() << "Evaluated bitcast: " << *Val << "\n");
  402       LLVM_DEBUG(dbgs() << "Found a BinaryOperator! Simplifying: "
  403                         << *InstResult << "\n");
  408       LLVM_DEBUG(dbgs() << "Found a CmpInst! Simplifying: " << *InstResult
  409                         << "\n");
  414       LLVM_DEBUG(dbgs() << "Found a Cast! Simplifying: " << *InstResult
  415                         << "\n");
  420       LLVM_DEBUG(dbgs() << "Found a Select! Simplifying: " << *InstResult
  421                         << "\n");
  425       LLVM_DEBUG(dbgs() << "Found an ExtractValueInst! Simplifying: "
  426                         << *InstResult << "\n");
  431       LLVM_DEBUG(dbgs() << "Found an InsertValueInst! Simplifying: "
  432                         << *InstResult << "\n");
  442       LLVM_DEBUG(dbgs() << "Found a GEP! Simplifying: " << *InstResult << "\n");
  442       LLVM_DEBUG(dbgs() << "Found a GEP! Simplifying: " << *InstResult << "\n");
  446             dbgs() << "Found a Load! Not a simple load, can not evaluate.\n");
  453         LLVM_DEBUG(dbgs() << "Found a constant pointer expression, constant "
  455                           << *Ptr << "\n");
  460             dbgs() << "Failed to compute load result. Can not evaluate load."
  465       LLVM_DEBUG(dbgs() << "Evaluated load: " << *InstResult << "\n");
  465       LLVM_DEBUG(dbgs() << "Evaluated load: " << *InstResult << "\n");
  468         LLVM_DEBUG(dbgs() << "Found an array alloca. Can not evaluate.\n");
  477       LLVM_DEBUG(dbgs() << "Found an alloca. Result: " << *InstResult << "\n");
  477       LLVM_DEBUG(dbgs() << "Found an alloca. Result: " << *InstResult << "\n");
  483         LLVM_DEBUG(dbgs() << "Ignoring debug info.\n");
  490         LLVM_DEBUG(dbgs() << "Found inline asm, can not evaluate.\n");
  497             LLVM_DEBUG(dbgs() << "Can not optimize a volatile memset "
  498                               << "intrinsic.\n");
  506             LLVM_DEBUG(dbgs() << "Ignoring no-op memset.\n");
  513           LLVM_DEBUG(dbgs() << "Ignoring lifetime intrinsic.\n");
  523                        << "Found unused invariant_start. Can't evaluate.\n");
  535               LLVM_DEBUG(dbgs() << "Found a global var that is an invariant: "
  536                                 << *GV << "\n");
  539                          << "Found a global var, but can not treat it as an "
  547           LLVM_DEBUG(dbgs() << "Skipping assume intrinsic.\n");
  551           LLVM_DEBUG(dbgs() << "Skipping sideeffect intrinsic.\n");
  556         LLVM_DEBUG(dbgs() << "Unknown intrinsic. Can not evaluate.\n");
  564         LLVM_DEBUG(dbgs() << "Can not resolve function pointer.\n");
  575           LLVM_DEBUG(dbgs() << "Constant folded function call. Result: "
  576                             << *InstResult << "\n");
  578           LLVM_DEBUG(dbgs() << "Can not constant fold function call.\n");
  583           LLVM_DEBUG(dbgs() << "Can not constant fold vararg function call.\n");
  591           LLVM_DEBUG(dbgs() << "Failed to evaluate function.\n");
  600           LLVM_DEBUG(dbgs() << "Successfully evaluated function. Result: "
  601                             << *InstResult << "\n\n");
  604                      << "Successfully evaluated function. Result: 0\n\n");
  608       LLVM_DEBUG(dbgs() << "Found a terminator instruction.\n");
  635         LLVM_DEBUG(dbgs() << "Can not handle terminator.");
  640       LLVM_DEBUG(dbgs() << "Successfully evaluated block.\n");
  645           dbgs() << "Failed to evaluate block due to unhandled instruction."
  660       LLVM_DEBUG(dbgs() << "Found an invoke instruction. Finished Block.\n\n");
  699     LLVM_DEBUG(dbgs() << "Trying to evaluate BB: " << *CurBB << "\n");
  699     LLVM_DEBUG(dbgs() << "Trying to evaluate BB: " << *CurBB << "\n");
lib/Transforms/Utils/FlattenCFG.cpp
  314   LLVM_DEBUG(dbgs() << "Use parallel and/or in:\n" << *FirstCondBlock);
  481   LLVM_DEBUG(dbgs() << "If conditions merged into:\n" << *FirstEntryBlock);
lib/Transforms/Utils/FunctionComparator.cpp
  391     LLVM_DEBUG(dbgs() << "Looking at valueID " << L->getValueID() << "\n");
  391     LLVM_DEBUG(dbgs() << "Looking at valueID " << L->getValueID() << "\n");
lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
  100   Ostream << "------- Dumping inliner stats for [" << ModuleName
  101           << "] -------\n";
  104     Ostream << "-- List of inlined functions:\n";
  122       Ostream << "Inlined "
  123               << (Node->second->Imported ? "imported " : "not imported ")
  124               << "function [" << Node->first() << "]"
  124               << "function [" << Node->first() << "]"
  125               << ": #inlines = " << Node->second->NumberOfInlines
  126               << ", #inlines_to_importing_module = "
  127               << Node->second->NumberOfRealInlines << "\n";
  136   Ostream << "-- Summary:\n"
  137           << "All functions: " << AllFunctions
  138           << ", imported functions: " << ImportedFunctions << "\n"
  138           << ", imported functions: " << ImportedFunctions << "\n"
lib/Transforms/Utils/LibCallsShrinkWrap.cpp
   81       LLVM_DEBUG(dbgs() << "CDCE calls: " << CI->getCalledFunction()->getName()
   82                         << "\n");
   85         LLVM_DEBUG(dbgs() << "Transformed\n");
  423     LLVM_DEBUG(dbgs() << "Not handled powf() and powl()\n");
  435       LLVM_DEBUG(dbgs() << "Not handled pow(): constant base out of range\n");
  449     LLVM_DEBUG(dbgs() << "Not handled pow(): FP type base\n");
  463       LLVM_DEBUG(dbgs() << "Not handled pow(): type too wide\n");
  479   LLVM_DEBUG(dbgs() << "Not handled pow(): base not from integer convert\n");
  498   LLVM_DEBUG(dbgs() << "== Basic Block After ==");
  500                     << *CallBB->getSingleSuccessor() << "\n");
lib/Transforms/Utils/Local.cpp
  762   LLVM_DEBUG(dbgs() << "Looking to fold " << BB->getName() << " into "
  762   LLVM_DEBUG(dbgs() << "Looking to fold " << BB->getName() << " into "
  763                     << Succ->getName() << "\n");
  787                      << "Can't fold, phi node " << PN->getName() << " in "
  787                      << "Can't fold, phi node " << PN->getName() << " in "
  788                      << Succ->getName() << " is conflicting with "
  789                      << BBPN->getName() << " with regard to common predecessor "
  790                      << IBB->getName() << "\n");
  803           LLVM_DEBUG(dbgs() << "Can't fold, phi node " << PN->getName()
  804                             << " in " << Succ->getName()
  805                             << " is conflicting with regard to common "
  806                             << "predecessor " << IBB->getName() << "\n");
  806                             << "predecessor " << IBB->getName() << "\n");
 1001   LLVM_DEBUG(dbgs() << "Killing Trivial BB: \n" << *BB);
 1300     LLVM_DEBUG(dbgs() << "Failed to convert dbg.declare to dbg.value: "
 1330     LLVM_DEBUG(dbgs() << "Failed to convert dbg.declare to dbg.value: "
 1361     LLVM_DEBUG(dbgs() << "Failed to convert dbg.declare to dbg.value: "
 1635     LLVM_DEBUG(dbgs() << "SALVAGE: " << *DII << '\n');
 1751         LLVM_DEBUG(dbgs() << "MOVE:  " << *DII << '\n');
 1775     LLVM_DEBUG(dbgs() << "REWRITE:  " << *DII << '\n');
 1786         LLVM_DEBUG(dbgs() << "Erased UseBeforeDef:  " << *DII << '\n');
 2472     LLVM_DEBUG(dbgs() << "Replace dominated use of '" << From->getName()
 2473                       << "' as " << *To << " in " << *U << "\n");
 2473                       << "' as " << *To << " in " << *U << "\n");
 2473                       << "' as " << *To << " in " << *U << "\n");
 2688     LLVM_DEBUG(dbgs() << "collectBitParts max recursion depth reached.\n");
 2985     LLVM_DEBUG(dbgs() << "Alloca search cancelled on unknown instruction: "
 2986                       << *V << "\n");
lib/Transforms/Utils/LoopRotationUtils.cpp
  243           dbgs() << "LoopRotation: NOT rotating - contains non-duplicatable"
  244                  << " instructions: ";
  249       LLVM_DEBUG(dbgs() << "LoopRotation: NOT rotating - contains convergent "
  274   LLVM_DEBUG(dbgs() << "LoopRotation: rotating "; L->dump());
  512   LLVM_DEBUG(dbgs() << "LoopRotation: into "; L->dump());
  615   LLVM_DEBUG(dbgs() << "Folding loop latch " << Latch->getName() << " into "
  615   LLVM_DEBUG(dbgs() << "Folding loop latch " << Latch->getName() << " into "
  616                     << LastExit->getName() << "\n");
lib/Transforms/Utils/LoopSimplify.cpp
  151   LLVM_DEBUG(dbgs() << "LoopSimplify: Creating pre-header "
  152                     << PreheaderBB->getName() << "\n");
  252   LLVM_DEBUG(dbgs() << "LoopSimplify: Splitting out a new outer loop\n");
  382   LLVM_DEBUG(dbgs() << "LoopSimplify: Inserting unique backedge block "
  383                     << BEBlock->getName() << "\n");
  500       LLVM_DEBUG(dbgs() << "LoopSimplify: Deleting edge from dead predecessor "
  501                         << P->getName() << "\n");
  525                      << "LoopSimplify: Resolving \"br i1 undef\" to exit in "
  526                      << ExitingBlock->getName() << "\n");
  668       LLVM_DEBUG(dbgs() << "LoopSimplify: Eliminating exiting block "
  669                         << ExitingBlock->getName() << "\n");
lib/Transforms/Utils/LoopUnroll.cpp
  284     LLVM_DEBUG(dbgs() << "  Can't unroll; loop preheader-insertion failed.\n");
  290     LLVM_DEBUG(dbgs() << "  Can't unroll; loop exit-block-insertion failed.\n");
  296     LLVM_DEBUG(dbgs() << "  Can't unroll; Loop body cannot be cloned.\n");
  312     LLVM_DEBUG(dbgs() << "  Can't unroll; loop not terminated by a conditional "
  326         dbgs() << "Can't unroll; a conditional latch must exit the loop");
  339     LLVM_DEBUG(dbgs() << "Can't unroll; conditional header must exit the loop");
  346         dbgs() << "  Won't unroll loop: address of header block is taken.\n");
  351     LLVM_DEBUG(dbgs() << "  Trip Count = " << ULO.TripCount << "\n");
  351     LLVM_DEBUG(dbgs() << "  Trip Count = " << ULO.TripCount << "\n");
  353     LLVM_DEBUG(dbgs() << "  Trip Multiple = " << ULO.TripMultiple << "\n");
  353     LLVM_DEBUG(dbgs() << "  Trip Multiple = " << ULO.TripMultiple << "\n");
  362     LLVM_DEBUG(dbgs() << "Won't unroll; almost nothing to do\n");
  442       LLVM_DEBUG(dbgs() << "Won't unroll; remainder loop could not be "
  462     LLVM_DEBUG(dbgs() << "COMPLETELY UNROLLING loop %" << Header->getName()
  463                       << " with trip count " << ULO.TripCount << "!\n");
  463                       << " with trip count " << ULO.TripCount << "!\n");
  472     LLVM_DEBUG(dbgs() << "PEELING loop %" << Header->getName()
  473                       << " with iteration count " << ULO.PeelCount << "!\n");
  473                       << " with iteration count " << ULO.PeelCount << "!\n");
  489     LLVM_DEBUG(dbgs() << "UNROLLING loop %" << Header->getName() << " by "
  489     LLVM_DEBUG(dbgs() << "UNROLLING loop %" << Header->getName() << " by "
  492       LLVM_DEBUG(dbgs() << " with a breakout at trip " << BreakoutTrip);
  499       LLVM_DEBUG(dbgs() << " with " << ULO.TripMultiple << " trips per branch");
  499       LLVM_DEBUG(dbgs() << " with " << ULO.TripMultiple << " trips per branch");
  507       LLVM_DEBUG(dbgs() << " with run-time trip count");
  512     LLVM_DEBUG(dbgs() << "!\n");
  597                          << "Failed to create new discriminator: "
  598                          << DIL->getFilename() << " Line: " << DIL->getLine());
lib/Transforms/Utils/LoopUnrollAndJam.cpp
  185     LLVM_DEBUG(dbgs() << "Won't unroll-and-jam; almost nothing to do\n");
  202       LLVM_DEBUG(dbgs() << "Won't unroll-and-jam; remainder loop could not be "
  218     LLVM_DEBUG(dbgs() << "COMPLETELY UNROLL AND JAMMING loop %"
  219                       << Header->getName() << " with trip count " << TripCount
  220                       << "!\n");
  233     LLVM_DEBUG(dbgs() << "UNROLL AND JAMMING loop %" << Header->getName()
  234                       << " by " << Count);
  236       LLVM_DEBUG(dbgs() << " with " << TripMultiple << " trips per branch");
  236       LLVM_DEBUG(dbgs() << " with " << TripMultiple << " trips per branch");
  242       LLVM_DEBUG(dbgs() << " with run-time trip count");
  245     LLVM_DEBUG(dbgs() << "!\n");
  308                          << "Failed to create new discriminator: "
  309                          << DIL->getFilename() << " Line: " << DIL->getLine());
  636           LLVM_DEBUG(dbgs() << "  Confused dependency between:\n"
  637                             << "  " << *Src << "\n"
  637                             << "  " << *Src << "\n"
  638                             << "  " << *Dst << "\n");
  638                             << "  " << *Dst << "\n");
  643             LLVM_DEBUG(dbgs() << "  > dependency between:\n"
  644                               << "  " << *Src << "\n"
  644                               << "  " << *Src << "\n"
  645                               << "  " << *Dst << "\n");
  645                               << "  " << *Dst << "\n");
  652             LLVM_DEBUG(dbgs() << "  < > dependency between:\n"
  653                               << "  " << *Src << "\n"
  653                               << "  " << *Src << "\n"
  654                               << "  " << *Dst << "\n");
  654                               << "  " << *Dst << "\n");
  745     LLVM_DEBUG(dbgs() << "Won't unroll-and-jam; Address taken\n");
  755     LLVM_DEBUG(dbgs() << "Won't unroll-and-jam; Incompatible loop layout\n");
  763     LLVM_DEBUG(dbgs() << "Won't unroll-and-jam; Can't currently handle "
  771     LLVM_DEBUG(dbgs() << "Won't unroll-and-jam; Inner loop iteration count is "
  780     LLVM_DEBUG(dbgs() << "Won't unroll-and-jam; Something may throw\n");
  808     LLVM_DEBUG(dbgs() << "Won't unroll-and-jam; can't move required "
  817     LLVM_DEBUG(dbgs() << "Won't unroll-and-jam; failed dependency check\n");
lib/Transforms/Utils/LoopUnrollPeel.cpp
  277     LLVM_DEBUG(dbgs() << "Force-peeling first " << UnrollForcePeelCount
  278                       << " iterations.\n");
  331         LLVM_DEBUG(dbgs() << "Peel " << DesiredPeelCount
  332                           << " iteration(s) to turn"
  333                           << " some Phis into invariants.\n");
  359     LLVM_DEBUG(dbgs() << "Profile-based estimated trip count is " << *PeelCount
  360                       << "\n");
  365         LLVM_DEBUG(dbgs() << "Peeling first " << *PeelCount
  366                           << " iterations.\n");
  370       LLVM_DEBUG(dbgs() << "Requested peel count: " << *PeelCount << "\n");
  370       LLVM_DEBUG(dbgs() << "Requested peel count: " << *PeelCount << "\n");
  371       LLVM_DEBUG(dbgs() << "Already peel count: " << AlreadyPeeled << "\n");
  371       LLVM_DEBUG(dbgs() << "Already peel count: " << AlreadyPeeled << "\n");
  372       LLVM_DEBUG(dbgs() << "Max peel count: " << UnrollPeelMaxCount << "\n");
  372       LLVM_DEBUG(dbgs() << "Max peel count: " << UnrollPeelMaxCount << "\n");
  373       LLVM_DEBUG(dbgs() << "Peel cost: " << LoopSize * (*PeelCount + 1)
  374                         << "\n");
  375       LLVM_DEBUG(dbgs() << "Max peel cost: " << UP.Threshold << "\n");
  375       LLVM_DEBUG(dbgs() << "Max peel cost: " << UP.Threshold << "\n");
lib/Transforms/Utils/LoopUnrollRuntime.cpp
  443         dbgs() << "Bailout for multi-exit handling when latch exit has >1 "
  552   LLVM_DEBUG(dbgs() << "Trying runtime unrolling on Loop: \n");
  554   LLVM_DEBUG(UseEpilogRemainder ? dbgs() << "Using epilog remainder.\n"
  555                                 : dbgs() << "Using prolog remainder.\n");
  559     LLVM_DEBUG(dbgs() << "Not in simplify form!\n");
  573         << "Loop latch not terminated by a conditional branch.\n");
  585         << "One of the loop latch successors must be the exit block.\n");
  602         << "Multiple exit/exiting blocks in loop and multi-exit unrolling not "
  620     LLVM_DEBUG(dbgs() << "Could not compute exit block SCEV\n");
  630     LLVM_DEBUG(dbgs() << "Could not compute trip count SCEV.\n");
  640     LLVM_DEBUG(dbgs() << "High cost for expanding trip count scev!\n");
  649         << "Count failed constraint on overflow trip count calculation.\n");
  943     LLVM_DEBUG(dbgs() << "Unrolling remainder loop\n");
lib/Transforms/Utils/LoopUtils.cpp
   92           dbgs() << "WARNING: Can't create a dedicated exit block for loop: "
   93                  << *L << "\n");
   95       LLVM_DEBUG(dbgs() << "LoopSimplify: Creating dedicated exit block "
   96                         << NewExitBB->getName() << "\n");
lib/Transforms/Utils/LowerSwitch.cpp
  187   O << "[";
  191     O << "[" << B->Low->getValue() << ", " << B->High->getValue() << "]";
  191     O << "[" << B->Low->getValue() << ", " << B->High->getValue() << "]";
  191     O << "[" << B->Low->getValue() << ", " << B->High->getValue() << "]";
  193       O << ", ";
  196   return O << "]";
  273   LLVM_DEBUG(dbgs() << "LHS: " << LHS << "\n");
  273   LLVM_DEBUG(dbgs() << "LHS: " << LHS << "\n");
  275   LLVM_DEBUG(dbgs() << "RHS: " << RHS << "\n");
  275   LLVM_DEBUG(dbgs() << "RHS: " << RHS << "\n");
  278   LLVM_DEBUG(dbgs() << "Pivot ==> [" << Pivot.Low->getValue() << ", "
  278   LLVM_DEBUG(dbgs() << "Pivot ==> [" << Pivot.Low->getValue() << ", "
  279                     << Pivot.High->getValue() << "]\n");
  301   LLVM_DEBUG(dbgs() << "LHS Bounds ==> [" << LowerBound->getSExtValue() << ", "
  301   LLVM_DEBUG(dbgs() << "LHS Bounds ==> [" << LowerBound->getSExtValue() << ", "
  302                     << NewUpperBound->getSExtValue() << "]\n"
  303                     << "RHS Bounds ==> [" << NewLowerBound->getSExtValue()
  304                     << ", " << UpperBound->getSExtValue() << "]\n");
  304                     << ", " << UpperBound->getSExtValue() << "]\n");
  459   LLVM_DEBUG(dbgs() << "Clusterify finished. Total clusters: " << Cases.size()
  460                     << ". Total non-default cases: " << NumSimpleCases
  461                     << "\nCase clusters: " << Cases << "\n");
  461                     << "\nCase clusters: " << Cases << "\n");
lib/Transforms/Utils/MisExpect.cpp
  101       LLVM_DEBUG(llvm::dbgs() << "------------------\n");
  103                  << "Function: " << I->getFunction()->getName() << "\n");
  103                  << "Function: " << I->getFunction()->getName() << "\n");
  104       LLVM_DEBUG(llvm::dbgs() << "Instruction: " << *I << ":\n");
  104       LLVM_DEBUG(llvm::dbgs() << "Instruction: " << *I << ":\n");
  106         llvm::dbgs() << "Weights[" << Idx << "] = " << Weights[Idx] << "\n";
  106         llvm::dbgs() << "Weights[" << Idx << "] = " << Weights[Idx] << "\n";
  106         llvm::dbgs() << "Weights[" << Idx << "] = " << Weights[Idx] << "\n";
  136                  << "Unlikely Targets: " << NumUnlikelyTargets << ":\n");
  136                  << "Unlikely Targets: " << NumUnlikelyTargets << ":\n");
  137       LLVM_DEBUG(llvm::dbgs() << "Profile Count: " << ProfileCount << ":\n");
  137       LLVM_DEBUG(llvm::dbgs() << "Profile Count: " << ProfileCount << ":\n");
  139                  << "Scaled Threshold: " << ScaledThreshold << ":\n");
  139                  << "Scaled Threshold: " << ScaledThreshold << ":\n");
  140       LLVM_DEBUG(llvm::dbgs() << "------------------\n");
lib/Transforms/Utils/ModuleUtils.cpp
  173       Stream << "Sanitizer interface function defined with wrong type: " << *F;
lib/Transforms/Utils/PredicateInfo.cpp
  604     LLVM_DEBUG(dbgs() << "Visiting " << *Op << "\n");
  604     LLVM_DEBUG(dbgs() << "Visiting " << *Op << "\n");
  673         LLVM_DEBUG(dbgs() << "Rename Stack is empty\n");
  675         LLVM_DEBUG(dbgs() << "Rename Stack Top DFS numbers are ("
  676                           << RenameStack.back().DFSIn << ","
  677                           << RenameStack.back().DFSOut << ")\n");
  680       LLVM_DEBUG(dbgs() << "Current DFS numbers are (" << VD.DFSIn << ","
  680       LLVM_DEBUG(dbgs() << "Current DFS numbers are (" << VD.DFSIn << ","
  681                         << VD.DFSOut << ")\n");
  700         LLVM_DEBUG(dbgs() << "Skipping execution due to debug counter\n");
  711       LLVM_DEBUG(dbgs() << "Found replacement " << *Result.Def << " for "
  711       LLVM_DEBUG(dbgs() << "Found replacement " << *Result.Def << " for "
  712                         << *VD.U->get() << " in " << *(VD.U->getUser())
  713                         << "\n");
  814   OS << "PredicateInfo for function: " << F.getName() << "\n";
  814   OS << "PredicateInfo for function: " << F.getName() << "\n";
  837       OS << "; Has predicate info\n";
  839         OS << "; branch predicate info { TrueEdge: " << PB->TrueEdge
  840            << " Comparison:" << *PB->Condition << " Edge: [";
  840            << " Comparison:" << *PB->Condition << " Edge: [";
  842         OS << ",";
  844         OS << "] }\n";
  846         OS << "; switch predicate info { CaseValue: " << *PS->CaseValue
  847            << " Switch:" << *PS->Switch << " Edge: [";
  847            << " Switch:" << *PS->Switch << " Edge: [";
  849         OS << ",";
  851         OS << "] }\n";
  853         OS << "; assume predicate info {"
  854            << " Comparison:" << *PA->Condition << " }\n";
  854            << " Comparison:" << *PA->Condition << " }\n";
lib/Transforms/Utils/SSAUpdater.cpp
  185   LLVM_DEBUG(dbgs() << "  Inserted PHI: " << *InsertedPHI << "\n");
  185   LLVM_DEBUG(dbgs() << "  Inserted PHI: " << *InsertedPHI << "\n");
lib/Transforms/Utils/SSAUpdaterBulk.cpp
   42   LLVM_DEBUG(dbgs() << "SSAUpdater: Var=" << Var << ": initialized with Ty = "
   42   LLVM_DEBUG(dbgs() << "SSAUpdater: Var=" << Var << ": initialized with Ty = "
   43                     << *Ty << ", Name = " << Name << "\n");
   43                     << *Ty << ", Name = " << Name << "\n");
   53   LLVM_DEBUG(dbgs() << "SSAUpdater: Var=" << Var
   54                     << ": added new available value" << *V << " in "
   54                     << ": added new available value" << *V << " in "
   55                     << BB->getName() << "\n");
   63   LLVM_DEBUG(dbgs() << "SSAUpdater: Var=" << Var << ": added a use" << *U->get()
   63   LLVM_DEBUG(dbgs() << "SSAUpdater: Var=" << Var << ": added a use" << *U->get()
   64                     << " in " << getUserBB(U)->getName() << "\n");
   64                     << " in " << getUserBB(U)->getName() << "\n");
  137     LLVM_DEBUG(dbgs() << "SSAUpdater: rewriting " << R.Uses.size()
  138                       << " use(s)\n");
  185       LLVM_DEBUG(dbgs() << "SSAUpdater: replacing " << *OldVal << " with " << *V
  185       LLVM_DEBUG(dbgs() << "SSAUpdater: replacing " << *OldVal << " with " << *V
  186                         << "\n");
lib/Transforms/Utils/SimplifyCFG.cpp
  861       LLVM_DEBUG(dbgs() << "Threading pred instr: " << *Pred->getTerminator()
  862                         << "Through successor TI: " << *TI << "Leaving: " << *NI
  862                         << "Through successor TI: " << *TI << "Leaving: " << *NI
  863                         << "\n");
  875     LLVM_DEBUG(dbgs() << "Threading pred instr: " << *Pred->getTerminator()
  876                       << "Through successor TI: " << *TI);
  885     LLVM_DEBUG(dbgs() << "Leaving: " << *TI << "\n");
  885     LLVM_DEBUG(dbgs() << "Leaving: " << *TI << "\n");
  926   LLVM_DEBUG(dbgs() << "Threading pred instr: " << *Pred->getTerminator()
  927                     << "Through successor TI: " << *TI << "Leaving: " << *NI
  927                     << "Through successor TI: " << *TI << "Leaving: " << *NI
  928                     << "\n");
 1773     LLVM_DEBUG(dbgs() << "SINK: instruction can be sunk: " << *(*LRI)[0]
 1774                       << "\n");
 1786     LLVM_DEBUG(dbgs() << "SINK: #phid values: " << NumPHIdValues << "\n");
 1786     LLVM_DEBUG(dbgs() << "SINK: #phid values: " << NumPHIdValues << "\n");
 1814     LLVM_DEBUG(dbgs() << "SINK: Splitting edge\n");
 1836     LLVM_DEBUG(dbgs() << "SINK: Sink: "
 1838                       << "\n");
 1846           dbgs() << "SINK: stopping here, too many PHIs would be created!\n");
 2089   LLVM_DEBUG(dbgs() << "SPECULATIVELY EXECUTING BB" << *ThenBB << "\n";);
 2089   LLVM_DEBUG(dbgs() << "SPECULATIVELY EXECUTING BB" << *ThenBB << "\n";);
 2405   LLVM_DEBUG(dbgs() << "FOUND IF CONDITION!  " << *IfCond
 2406                     << "  T: " << IfTrue->getName()
 2407                     << "  F: " << IfFalse->getName() << "\n");
 2407                     << "  F: " << IfFalse->getName() << "\n");
 2521   LLVM_DEBUG(dbgs() << "\nCHANGING BRANCH TO TWO RETURNS INTO SELECT:"
 2522                     << "\n  " << *BI << "NewRet = " << *RI << "TRUEBLOCK: "
 2522                     << "\n  " << *BI << "NewRet = " << *RI << "TRUEBLOCK: "
 2522                     << "\n  " << *BI << "NewRet = " << *RI << "TRUEBLOCK: "
 2523                     << *TrueSucc << "FALSEBLOCK: " << *FalseSucc);
 2705     LLVM_DEBUG(dbgs() << "FOLDING BRANCH TO COMMON DEST:\n" << *PBI << *BB);
 3342   LLVM_DEBUG(dbgs() << "FOLDING BRs:" << *PBI->getParent()
 3343                     << "AND: " << *BI->getParent());
 3445   LLVM_DEBUG(dbgs() << "INTO: " << *PBI->getParent());
 3746   LLVM_DEBUG(dbgs() << "Converting 'icmp' chain with " << Values.size()
 3747                     << " cases into SWITCH.  BB is:\n"
 3771     LLVM_DEBUG(dbgs() << "  ** 'icmp' chain unhandled condition: " << *ExtraCase
 3772                       << "\nEXTRABB = " << *BB);
 3803   LLVM_DEBUG(dbgs() << "  ** 'icmp' chain result is:\n" << *BB << '\n');
 4131       LLVM_DEBUG(dbgs() << "FOLDING: " << *BB
 4132                         << "INTO UNCOND BRANCH PRED: " << *Pred);
 4325   LLVM_DEBUG(dbgs() << "SimplifyCFG: switch default is dead.\n");
 4475       LLVM_DEBUG(dbgs() << "SimplifyCFG: switch case " << CaseVal
 4476                         << " is dead.\n");
 6051     LLVM_DEBUG(dbgs() << "Removing BB: \n" << *BB);
lib/Transforms/Utils/SimplifyIndVar.cpp
  159   LLVM_DEBUG(dbgs() << "INDVARS: Eliminated IV operand: " << *IVOperand
  160                     << " -> " << *UseInst << '\n');
  236   LLVM_DEBUG(dbgs() << "INDVARS: Simplified comparison: " << *ICmp << '\n');
  267     LLVM_DEBUG(dbgs() << "INDVARS: Eliminated comparison: " << *ICmp << '\n');
  271     LLVM_DEBUG(dbgs() << "INDVARS: Eliminated comparison: " << *ICmp << '\n');
  282     LLVM_DEBUG(dbgs() << "INDVARS: Turn to unsigned comparison: " << *ICmp
  309     LLVM_DEBUG(dbgs() << "INDVARS: Simplified sdiv: " << *SDiv << '\n');
  325   LLVM_DEBUG(dbgs() << "INDVARS: Simplified srem: " << *Rem << '\n');
  334   LLVM_DEBUG(dbgs() << "INDVARS: Simplified rem: " << *Rem << '\n');
  348   LLVM_DEBUG(dbgs() << "INDVARS: Simplified rem: " << *Rem << '\n');
  677   LLVM_DEBUG(dbgs() << "INDVARS: Replace IV user: " << *I
  678                     << " with loop invariant: " << *S << '\n');
  718   LLVM_DEBUG(dbgs() << "INDVARS: Eliminated identity: " << *UseInst << '\n');
lib/Transforms/Utils/SplitModule.cpp
  103   LLVM_DEBUG(dbgs() << "Partition module with (" << M->size()
  104                     << ")functions\n");
  195     LLVM_DEBUG(dbgs() << "Root[" << CurrentClusterID << "] cluster_size("
  195     LLVM_DEBUG(dbgs() << "Root[" << CurrentClusterID << "] cluster_size("
  196                       << I.first << ") ----> " << I.second->getData()->getName()
  197                       << "\n");
  204       LLVM_DEBUG(dbgs() << "----> " << (*MI)->getName()
  205                         << ((*MI)->hasLocalLinkage() ? " l " : " e ") << "\n");
  205                         << ((*MI)->hasLocalLinkage() ? " l " : " e ") << "\n");
lib/Transforms/Utils/VNCoercion.cpp
  436     LLVM_DEBUG(dbgs() << "GVN WIDENED LOAD: " << *SrcVal << "\n");
  436     LLVM_DEBUG(dbgs() << "GVN WIDENED LOAD: " << *SrcVal << "\n");
  437     LLVM_DEBUG(dbgs() << "TO: " << *NewLoad << "\n");
  437     LLVM_DEBUG(dbgs() << "TO: " << *NewLoad << "\n");
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  629       LLVM_DEBUG(dbgs() << "LSV: Found may-write/throw operation: " << I
  633       LLVM_DEBUG(dbgs() << "LSV: Found may-read/write/throw operation: " << I
  687           dbgs() << "LSV: Found alias:\n"
  689                  << "  " << *MemInstr << '\n'
  690                  << "  " << *getLoadStorePointerOperand(MemInstr) << '\n'
  691                  << "  Aliased instruction and pointer:\n"
  692                  << "  " << *ChainInstr << '\n'
  693                  << "  " << *getLoadStorePointerOperand(ChainInstr) << '\n';
  856     LLVM_DEBUG(dbgs() << "LSV: Analyzing a chain of length " << Size << ".\n");
  856     LLVM_DEBUG(dbgs() << "LSV: Analyzing a chain of length " << Size << ".\n");
  870   LLVM_DEBUG(dbgs() << "LSV: Vectorizing " << Instrs.size()
  871                     << " instructions.\n");
 1003     LLVM_DEBUG(dbgs() << "LSV: Chain doesn't match with the vector factor."
 1011     dbgs() << "LSV: Stores to vectorize:\n";
 1013       dbgs() << "  " << *I << "\n";
 1013       dbgs() << "  " << *I << "\n";
 1153     LLVM_DEBUG(dbgs() << "LSV: Chain doesn't match with the vector factor."
 1182     dbgs() << "LSV: Loads to vectorize:\n";
 1261   LLVM_DEBUG(dbgs() << "LSV: Target said misaligned is allowed? " << Allows
 1262                     << " and fast? " << Fast << "\n";);
 1262                     << " and fast? " << Fast << "\n";);
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
   90              << "LV: Interleaving disabled by the pass manager\n");
  115     LLVM_DEBUG(dbgs() << "LV: Not vectorizing: #pragma vectorize disable.\n");
  121     LLVM_DEBUG(dbgs() << "LV: Not vectorizing: No #pragma vectorize enable.\n");
  127     LLVM_DEBUG(dbgs() << "LV: Not vectorizing: Disabled/already vectorized.\n");
  233         LLVM_DEBUG(dbgs() << "LV: ignoring invalid hint '" << Name << "'\n");
  233         LLVM_DEBUG(dbgs() << "LV: ignoring invalid hint '" << Name << "'\n");
  268     LLVM_DEBUG(dbgs() << "LV: Too many memory checks needed.\n");
  309     LLVM_DEBUG(dbgs() << "LV: Canonical IV not found.\n");
  317     LLVM_DEBUG(dbgs() << "LV: Unsupported loop latch branch.\n");
  325         dbgs() << "LV: Loop latch condition is not a compare instruction.\n");
  334     LLVM_DEBUG(dbgs() << "LV: Loop latch condition is not uniform.\n");
  401         LLVM_DEBUG(dbgs() << "LV: Found an outside user for : " << *UI << '\n');
  540   LLVM_DEBUG(dbgs() << "LV: Found an induction variable.\n");
  558           << "LV: Found unsupported PHI for outer loop vectorization.\n");
  779         LLVM_DEBUG(dbgs() << "LV: Found FP op with unsafe algebra.\n");
  814       LLVM_DEBUG(dbgs() << "LV: Did not find one integer induction var.\n");
 1107   LLVM_DEBUG(dbgs() << "LV: Found a loop: " << TheLoop->getHeader()->getName()
 1125     LLVM_DEBUG(dbgs() << "LV: We can vectorize this outer loop!\n");
 1133     LLVM_DEBUG(dbgs() << "LV: Can't if-convert the loop.\n");
 1142     LLVM_DEBUG(dbgs() << "LV: Can't vectorize the instructions or CFG\n");
 1151     LLVM_DEBUG(dbgs() << "LV: Can't vectorize due to memory conflicts\n");
 1158   LLVM_DEBUG(dbgs() << "LV: We can vectorize this loop"
 1159                     << (LAI->getRuntimePointerChecking()->Need
 1162                     << "!\n");
 1187   LLVM_DEBUG(dbgs() << "LV: checking if tail can be folded by masking.\n");
 1237   LLVM_DEBUG(dbgs() << "LV: can fold tail by masking.\n");
lib/Transforms/Vectorize/LoopVectorize.cpp
  821                    << "Failed to create new discriminator: "
  822                    << DIL->getFilename() << " Line: " << DIL->getLine());
  836   dbgs() << "LV: Not vectorizing: " << DebugMsg;
  838     dbgs() << " " << *I;
 1539     LLVM_DEBUG(dbgs() << "LV: Loop hints prevent outer loop vectorization.\n");
 1545     LLVM_DEBUG(dbgs() << "LV: Not vectorizing: Interleave is not supported for "
 4334     LLVM_DEBUG(dbgs() << "LV: Found an unhandled instruction: " << I);
 4450       LLVM_DEBUG(dbgs() << "LV: Found scalar instruction: " << *I << "\n");
 4450       LLVM_DEBUG(dbgs() << "LV: Found scalar instruction: " << *I << "\n");
 4467     LLVM_DEBUG(dbgs() << "LV: Found scalar instruction: " << *Ind << "\n");
 4467     LLVM_DEBUG(dbgs() << "LV: Found scalar instruction: " << *Ind << "\n");
 4468     LLVM_DEBUG(dbgs() << "LV: Found scalar instruction: " << *IndUpdate
 4469                       << "\n");
 4497       LLVM_DEBUG(dbgs() << "LV: Found scalar instruction: " << *Src << "\n");
 4497       LLVM_DEBUG(dbgs() << "LV: Found scalar instruction: " << *Src << "\n");
 4537     LLVM_DEBUG(dbgs() << "LV: Found scalar instruction: " << *Ind << "\n");
 4537     LLVM_DEBUG(dbgs() << "LV: Found scalar instruction: " << *Ind << "\n");
 4538     LLVM_DEBUG(dbgs() << "LV: Found scalar instruction: " << *IndUpdate
 4539                       << "\n");
 4677     LLVM_DEBUG(dbgs() << "LV: Found uniform instruction: " << *Cmp << "\n");
 4677     LLVM_DEBUG(dbgs() << "LV: Found uniform instruction: " << *Cmp << "\n");
 4738       LLVM_DEBUG(dbgs() << "LV: Found uniform instruction: " << *V << "\n");
 4738       LLVM_DEBUG(dbgs() << "LV: Found uniform instruction: " << *V << "\n");
 4768         LLVM_DEBUG(dbgs() << "LV: Found uniform instruction: " << *OI << "\n");
 4768         LLVM_DEBUG(dbgs() << "LV: Found uniform instruction: " << *OI << "\n");
 4813     LLVM_DEBUG(dbgs() << "LV: Found uniform instruction: " << *Ind << "\n");
 4813     LLVM_DEBUG(dbgs() << "LV: Found uniform instruction: " << *Ind << "\n");
 4814     LLVM_DEBUG(dbgs() << "LV: Found uniform instruction: " << *IndUpdate
 4815                       << "\n");
 4822   LLVM_DEBUG(dbgs() << "LV: Performing code size checks.\n");
 4867   LLVM_DEBUG(dbgs() << "LV: Found trip count: " << TC << '\n');
 4880         dbgs() << "LV: vector predicate hint/switch found.\n"
 4881                << "LV: Not allowing scalar epilogue, creating predicated "
 4882                << "vector loop.\n");
 4889           dbgs() << "LV: Not allowing scalar epilogue due to -Os/-Oz.\n");
 4891       LLVM_DEBUG(dbgs() << "LV: Not allowing scalar epilogue due to low trip "
 4892                         << "count.\n");
 4911     LLVM_DEBUG(dbgs() << "LV: No tail will remain for any chosen VF.\n");
 4958   LLVM_DEBUG(dbgs() << "LV: The Smallest and Widest types: " << SmallestType
 4959                     << " / " << WidestType << " bits.\n");
 4959                     << " / " << WidestType << " bits.\n");
 4960   LLVM_DEBUG(dbgs() << "LV: The Widest register safe to use is: "
 4961                     << WidestRegister << " bits.\n");
 4966     LLVM_DEBUG(dbgs() << "LV: The target has no vector registers.\n");
 4973     LLVM_DEBUG(dbgs() << "LV: Clamping the MaxVF to the constant trip count: "
 4974                       << ConstTripCount << "\n");
 5008         LLVM_DEBUG(dbgs() << "LV: Overriding calculated MaxVF(" << MaxVF
 5009                           << ") with target's minimum: " << MinVF << '\n');
 5022   LLVM_DEBUG(dbgs() << "LV: Scalar loop costs: " << (int)ScalarCost << ".\n");
 5022   LLVM_DEBUG(dbgs() << "LV: Scalar loop costs: " << (int)ScalarCost << ".\n");
 5038     LLVM_DEBUG(dbgs() << "LV: Vector loop of width " << i
 5039                       << " costs: " << (int)VectorCost << ".\n");
 5039                       << " costs: " << (int)VectorCost << ".\n");
 5042           dbgs() << "LV: Not considering vector loop of width " << i
 5043                  << " because it will not generate any vector instructions.\n");
 5061              << "LV: Vectorization seems to be not beneficial, "
 5062              << "but was forced by a user.\n");
 5063   LLVM_DEBUG(dbgs() << "LV: Selecting VF: " << Width << ".\n");
 5063   LLVM_DEBUG(dbgs() << "LV: Selecting VF: " << Width << ".\n");
 5175     LLVM_DEBUG(dbgs() << "LV: The target has " << TargetNumRegisters
 5176                       << " registers of "
 5177                       << TTI.getRegisterClassName(pair.first) << " register class\n");
 5177                       << TTI.getRegisterClassName(pair.first) << " register class\n");
 5236     LLVM_DEBUG(dbgs() << "LV: Interleaving because of reductions.\n");
 5247   LLVM_DEBUG(dbgs() << "LV: Loop cost is " << LoopCost << '\n');
 5276           dbgs() << "LV: Interleaving to saturate store or load ports.\n");
 5280     LLVM_DEBUG(dbgs() << "LV: Interleaving to reduce branch cost.\n");
 5288     LLVM_DEBUG(dbgs() << "LV: Interleaving to expose ILP.\n");
 5292   LLVM_DEBUG(dbgs() << "LV: Not Interleaving.\n");
 5381   LLVM_DEBUG(dbgs() << "LV(REG): Calculating max register usage:\n");
 5450     LLVM_DEBUG(dbgs() << "LV(REG): At #" << i << " Interval # "
 5450     LLVM_DEBUG(dbgs() << "LV(REG): At #" << i << " Interval # "
 5470       dbgs() << "LV(REG): VF = " << VFs[i] << '\n';
 5471       dbgs() << "LV(REG): Found max usage: " << MaxUsages[i].size()
 5472              << " item\n";
 5474         dbgs() << "LV(REG): RegisterClass: "
 5475                << TTI.getRegisterClassName(pair.first) << ", " << pair.second
 5475                << TTI.getRegisterClassName(pair.first) << ", " << pair.second
 5476                << " registers\n";
 5478       dbgs() << "LV(REG): Found invariant usage: " << Invariant.size()
 5479              << " item\n";
 5481         dbgs() << "LV(REG): RegisterClass: "
 5482                << TTI.getRegisterClassName(pair.first) << ", " << pair.second
 5482                << TTI.getRegisterClassName(pair.first) << ", " << pair.second
 5483                << " registers\n";
 5672       LLVM_DEBUG(dbgs() << "LV: Found an estimated cost of " << C.first
 5673                         << " for VF " << VF << " For instruction: " << I
 5673                         << " for VF " << VF << " For instruction: " << I
 6403       LLVM_DEBUG(dbgs() << "LV: VPlan computed VF " << VF << ".\n");
 6403       LLVM_DEBUG(dbgs() << "LV: VPlan computed VF " << VF << ".\n");
 6407         LLVM_DEBUG(dbgs() << "LV: VPlan stress testing: "
 6408                           << "overriding computed VF.\n");
 6414     LLVM_DEBUG(dbgs() << "LV: Using " << (UserVF ? "user " : "") << "VF " << VF
 6414     LLVM_DEBUG(dbgs() << "LV: Using " << (UserVF ? "user " : "") << "VF " << VF
 6414     LLVM_DEBUG(dbgs() << "LV: Using " << (UserVF ? "user " : "") << "VF " << VF
 6415                       << " to build VPlans.\n");
 6426       dbgs() << "LV: Not vectorizing. Inner loops aren't supported in the "
 6442         << "LV: Invalidate all interleaved groups due to fold-tail by masking "
 6448     LLVM_DEBUG(dbgs() << "LV: Using user VF " << UserVF << ".\n");
 6448     LLVM_DEBUG(dbgs() << "LV: Using user VF " << UserVF << ".\n");
 6481   LLVM_DEBUG(dbgs() << "Setting best plan to VF=" << VF << ", UF=" << UF
 6481   LLVM_DEBUG(dbgs() << "Setting best plan to VF=" << VF << ", UF=" << UF
 6961     LLVM_DEBUG(dbgs() << "LV: Scalarizing:" << *I << "\n");
 6961     LLVM_DEBUG(dbgs() << "LV: Scalarizing:" << *I << "\n");
 6965   LLVM_DEBUG(dbgs() << "LV: Scalarizing and predicating:" << *I << "\n");
 6965   LLVM_DEBUG(dbgs() << "LV: Scalarizing and predicating:" << *I << "\n");
 7156         LLVM_DEBUG(dbgs() << "Sinking" << *SAIt->first << " after"
 7156         LLVM_DEBUG(dbgs() << "Sinking" << *SAIt->first << " after"
 7158                           << " to vectorize a 1st order recurrence.\n");
 7214   RSO << "Initial VPlan for VF={" << VF;
 7217     RSO << "," << VF;
 7219   RSO << "},UF>=1";
 7266   O << " +\n"
 7267     << Indent << "\"INTERLEAVE-GROUP with factor " << IG->getFactor() << " at ";
 7267     << Indent << "\"INTERLEAVE-GROUP with factor " << IG->getFactor() << " at ";
 7270     O << ", ";
 7273   O << "\\l\"";
 7276       O << " +\n"
 7277         << Indent << "\"  " << VPlanIngredient(I) << " " << i << "\\l\"";
 7277         << Indent << "\"  " << VPlanIngredient(I) << " " << i << "\\l\"";
 7277         << Indent << "\"  " << VPlanIngredient(I) << " " << i << "\\l\"";
 7495   LLVM_DEBUG(dbgs() << "Vectorizing outer loop in \""
 7496                     << L->getHeader()->getParent()->getName() << "\"\n");
 7514   LLVM_DEBUG(dbgs() << "\nLV: Checking a loop in \""
 7515                     << L->getHeader()->getParent()->getName() << "\" from "
 7516                     << DebugLocStr << "\n");
 7521       dbgs() << "LV: Loop hints:"
 7522              << " force="
 7523              << (Hints.getForce() == LoopVectorizeHints::FK_Disabled
 7528              << " width=" << Hints.getWidth()
 7529              << " unroll=" << Hints.getInterleave() << "\n");
 7529              << " unroll=" << Hints.getInterleave() << "\n");
 7543     LLVM_DEBUG(dbgs() << "LV: Loop hints prevent vectorization.\n");
 7554     LLVM_DEBUG(dbgs() << "LV: Not vectorizing: Cannot prove legality.\n");
 7578     LLVM_DEBUG(dbgs() << "LV: Found a loop with a very small trip count. "
 7579                       << "This loop is worth vectorizing only if no scalar "
 7580                       << "iteration overheads are incurred.");
 7582       LLVM_DEBUG(dbgs() << " But vectorizing was explicitly forced.\n");
 7584       LLVM_DEBUG(dbgs() << "\n");
 7656     LLVM_DEBUG(dbgs() << "LV: Not vectorizing: loop did not meet vectorization "
 7663     LLVM_DEBUG(dbgs() << "LV: Vectorization is possible but not beneficial.\n");
 7673     LLVM_DEBUG(dbgs() << "LV: Ignoring UserIC, because vectorization and "
 7681     LLVM_DEBUG(dbgs() << "LV: Interleaving is not beneficial.\n");
 7694         dbgs() << "LV: Interleaving is beneficial but is explicitly disabled.");
 7721     LLVM_DEBUG(dbgs() << "LV: Interleave Count is " << IC << '\n');
 7728     LLVM_DEBUG(dbgs() << "LV: Found a vectorizable loop (" << VF.Width
 7729                       << ") in " << DebugLocStr << '\n');
 7736     LLVM_DEBUG(dbgs() << "LV: Found a vectorizable loop (" << VF.Width
 7737                       << ") in " << DebugLocStr << '\n');
 7738     LLVM_DEBUG(dbgs() << "LV: Interleave Count is " << IC << '\n');
lib/Transforms/Vectorize/SLPVectorizer.cpp
  652       OS << "{User:" << (UserTE ? std::to_string(UserTE->Idx) : "null")
  653          << " EdgeIdx:" << EdgeIdx << "}";
  653          << " EdgeIdx:" << EdgeIdx << "}";
 1114         OS << "Operand " << Cnt++ << "\n";
 1114         OS << "Operand " << Cnt++ << "\n";
 1116           OS.indent(Indent) << "{";
 1120             OS << "null";
 1121           OS << ", APO:" << OpData.APO << "}\n";
 1121           OS << ", APO:" << OpData.APO << "}\n";
 1123         OS << "\n";
 1347       dbgs() << Idx << ".\n";
 1349         dbgs() << "Operand " << OpI << ":\n";
 1349         dbgs() << "Operand " << OpI << ":\n";
 1351           dbgs().indent(2) << *V << "\n";
 1353       dbgs() << "Scalars: \n";
 1355         dbgs().indent(2) << *V << "\n";
 1356       dbgs() << "NeedToGather: " << NeedToGather << "\n";
 1356       dbgs() << "NeedToGather: " << NeedToGather << "\n";
 1357       dbgs() << "MainOp: " << *MainOp << "\n";
 1357       dbgs() << "MainOp: " << *MainOp << "\n";
 1358       dbgs() << "AltOp: " << *AltOp << "\n";
 1358       dbgs() << "AltOp: " << *AltOp << "\n";
 1359       dbgs() << "VectorizedValue: ";
 1363         dbgs() << "NULL";
 1364       dbgs() << "\n";
 1365       dbgs() << "ReuseShuffleIndices: ";
 1367         dbgs() << "Emtpy";
 1370           dbgs() << ReuseIdx << ", ";
 1371       dbgs() << "\n";
 1372       dbgs() << "ReorderIndices: ";
 1374         dbgs() << ReorderIdx << ", ";
 1375       dbgs() << "\n";
 1376       dbgs() << "UserTreeIndices: ";
 1378         dbgs() << EInfo << ", ";
 1379       dbgs() << "\n";
 1434       dbgs() << "\n";
 1601         os << "/ " << *Inst;
 1733       LLVM_DEBUG(dbgs() << "SLP:   schedule " << *SD << "\n");
 1733       LLVM_DEBUG(dbgs() << "SLP:   schedule " << *SD << "\n");
 1756                          << "SLP:    gets ready (def): " << *DepBundle << "\n");
 1756                          << "SLP:    gets ready (def): " << *DepBundle << "\n");
 1788                        << "SLP:    gets ready (mem): " << *DepBundle << "\n");
 1788                        << "SLP:    gets ready (mem): " << *DepBundle << "\n");
 1814                        << "SLP:    initially in ready list: " << *I << "\n");
 1814                        << "SLP:    initially in ready list: " << *I << "\n");
 2050       OS << "<splat> " << *Entry->Scalars[0];
 2058         OS << " <extract>";
 2059       OS << "\n";
 2134         LLVM_DEBUG(dbgs() << "SLP: Need to extract: Extra arg from lane "
 2135                           << Lane << " from " << *Scalar << ".\n");
 2135                           << Lane << " from " << *Scalar << ".\n");
 2139         LLVM_DEBUG(dbgs() << "SLP: Checking user:" << *U << ".\n");
 2139         LLVM_DEBUG(dbgs() << "SLP: Checking user:" << *U << ".\n");
 2153             LLVM_DEBUG(dbgs() << "SLP: \tInternal user will be removed:" << *U
 2154                               << ".\n");
 2164         LLVM_DEBUG(dbgs() << "SLP: Need to extract:" << *U << " from lane "
 2164         LLVM_DEBUG(dbgs() << "SLP: Need to extract:" << *U << " from lane "
 2165                           << Lane << " from " << *Scalar << ".\n");
 2165                           << Lane << " from " << *Scalar << ".\n");
 2178     LLVM_DEBUG(dbgs() << "SLP: Gathering due to max recursion depth.\n");
 2185     LLVM_DEBUG(dbgs() << "SLP: Gathering due to vector type.\n");
 2192       LLVM_DEBUG(dbgs() << "SLP: Gathering due to store vector type.\n");
 2199     LLVM_DEBUG(dbgs() << "SLP: Gathering due to C,S,B,O. \n");
 2210       LLVM_DEBUG(dbgs() << "SLP: The instruction (" << *V
 2211                         << ") is ephemeral.\n");
 2219     LLVM_DEBUG(dbgs() << "SLP: \tChecking bundle: " << *S.OpValue << ".\n");
 2219     LLVM_DEBUG(dbgs() << "SLP: \tChecking bundle: " << *S.OpValue << ".\n");
 2221       LLVM_DEBUG(dbgs() << "SLP: Gathering due to partial overlap.\n");
 2228     LLVM_DEBUG(dbgs() << "SLP: Perfect diamond merge at " << *S.OpValue
 2229                       << ".\n");
 2239       LLVM_DEBUG(dbgs() << "SLP: The instruction (" << *V
 2240                         << ") is already in tree.\n");
 2251       LLVM_DEBUG(dbgs() << "SLP: Gathering due to gathered scalar.\n");
 2265     LLVM_DEBUG(dbgs() << "SLP: bundle in unreachable block.\n");
 2284     LLVM_DEBUG(dbgs() << "SLP: Shuffle for reused scalars.\n");
 2287       LLVM_DEBUG(dbgs() << "SLP: Scalar used twice in bundle.\n");
 2302     LLVM_DEBUG(dbgs() << "SLP: We are not able to schedule this bundle!\n");
 2310   LLVM_DEBUG(dbgs() << "SLP: We are able to schedule this bundle.\n");
 2326                        << "SLP: Need to swizzle PHINodes (terminator use).\n");
 2336       LLVM_DEBUG(dbgs() << "SLP: added a vector of PHINodes.\n");
 2358         LLVM_DEBUG(dbgs() << "SLP: Reusing or shuffling extract sequence.\n");
 2371           dbgs() << "SLP: Reusing or shuffling of reordered extract sequence "
 2374             dbgs() << " " << Idx;
 2375           dbgs() << "\n";
 2392       LLVM_DEBUG(dbgs() << "SLP: Gather extract sequence.\n");
 2412         LLVM_DEBUG(dbgs() << "SLP: Gathering loads of non-packed type.\n");
 2426           LLVM_DEBUG(dbgs() << "SLP: Gathering non-simple loads.\n");
 2458             LLVM_DEBUG(dbgs() << "SLP: added a vector of loads.\n");
 2467             LLVM_DEBUG(dbgs() << "SLP: added a vector of jumbled loads.\n");
 2473       LLVM_DEBUG(dbgs() << "SLP: Gathering non-consecutive loads.\n");
 2499                      << "SLP: Gathering casts with different src types.\n");
 2505       LLVM_DEBUG(dbgs() << "SLP: added a vector of casts.\n");
 2532                      << "SLP: Gathering cmp with different predicate.\n");
 2539       LLVM_DEBUG(dbgs() << "SLP: added a vector of compares.\n");
 2587       LLVM_DEBUG(dbgs() << "SLP: added a vector of un/bin op.\n");
 2616           LLVM_DEBUG(dbgs() << "SLP: not-vectorizable GEP (nested indexes).\n");
 2631                      << "SLP: not-vectorizable GEP (different types).\n");
 2644                      << "SLP: not-vectorizable GEP (non-constant indexes).\n");
 2654       LLVM_DEBUG(dbgs() << "SLP: added a vector of GEPs.\n");
 2673           LLVM_DEBUG(dbgs() << "SLP: Non-consecutive store.\n");
 2679       LLVM_DEBUG(dbgs() << "SLP: added a vector of stores.\n");
 2698         LLVM_DEBUG(dbgs() << "SLP: Non-vectorizable call.\n");
 2715           LLVM_DEBUG(dbgs() << "SLP: mismatched calls:" << *CI << "!=" << *V
 2715           LLVM_DEBUG(dbgs() << "SLP: mismatched calls:" << *CI << "!=" << *V
 2716                             << "\n");
 2728               LLVM_DEBUG(dbgs() << "SLP: mismatched arguments in call:" << *CI
 2729                                 << " argument " << ScalarArgs[j] << "!=" << A1J
 2729                                 << " argument " << ScalarArgs[j] << "!=" << A1J
 2730                                 << "\n");
 2743           LLVM_DEBUG(dbgs() << "SLP: mismatched bundle operands in calls:"
 2744                             << *CI << "!=" << *V << '\n');
 2770         LLVM_DEBUG(dbgs() << "SLP: ShuffleVector are not vectorized.\n");
 2775       LLVM_DEBUG(dbgs() << "SLP: added a ShuffleVector op.\n");
 2803       LLVM_DEBUG(dbgs() << "SLP: Gathering unknown instruction.\n");
 3218       LLVM_DEBUG(dbgs() << "SLP: Call cost " << VecCallCost - ScalarCallCost
 3219                         << " (" << VecCallCost << "-" << ScalarCallCost << ")"
 3219                         << " (" << VecCallCost << "-" << ScalarCallCost << ")"
 3219                         << " (" << VecCallCost << "-" << ScalarCallCost << ")"
 3220                         << " for " << *CI << "\n");
 3220                         << " for " << *CI << "\n");
 3273   LLVM_DEBUG(dbgs() << "SLP: Check whether the tree with height "
 3274                     << VectorizableTree.size() << " is fully vectorizable .\n");
 3327   LLVM_DEBUG(dbgs() << "SLP: Assume load combining for scalar reduction of "
 3328              << *(cast<Instruction>(FirstReduced)) << "\n");
 3382       dbgs() << "SLP: #LV: " << LiveValues.size();
 3384         dbgs() << " " << X->getName();
 3385       dbgs() << ", Looking at ";
 3424   LLVM_DEBUG(dbgs() << "SLP: Calculating cost for tree of size "
 3425                     << VectorizableTree.size() << ".\n");
 3453     LLVM_DEBUG(dbgs() << "SLP: Adding cost " << C
 3454                       << " for bundle that starts with " << *TE.Scalars[0]
 3455                       << ".\n");
 3496     OS << "SLP: Spill Cost = " << SpillCost << ".\n"
 3496     OS << "SLP: Spill Cost = " << SpillCost << ".\n"
 3497        << "SLP: Extract Cost = " << ExtractCost << ".\n"
 3497        << "SLP: Extract Cost = " << ExtractCost << ".\n"
 3498        << "SLP: Total Cost = " << Cost << ".\n";
 3498        << "SLP: Total Cost = " << Cost << ".\n";
 3726     LLVM_DEBUG(dbgs() << "SLP: Diamond merged for " << *E->Scalars[0] << ".\n");
 3726     LLVM_DEBUG(dbgs() << "SLP: Diamond merged for " << *E->Scalars[0] << ".\n");
 3877         LLVM_DEBUG(dbgs() << "SLP: Diamond merged for " << *VL0 << ".\n");
 3877         LLVM_DEBUG(dbgs() << "SLP: Diamond merged for " << *VL0 << ".\n");
 3899         LLVM_DEBUG(dbgs() << "SLP: Diamond merged for " << *VL0 << ".\n");
 3899         LLVM_DEBUG(dbgs() << "SLP: Diamond merged for " << *VL0 << ".\n");
 3927         LLVM_DEBUG(dbgs() << "SLP: Diamond merged for " << *VL0 << ".\n");
 3927         LLVM_DEBUG(dbgs() << "SLP: Diamond merged for " << *VL0 << ".\n");
 3946         LLVM_DEBUG(dbgs() << "SLP: Diamond merged for " << *VL0 << ".\n");
 3946         LLVM_DEBUG(dbgs() << "SLP: Diamond merged for " << *VL0 << ".\n");
 3989         LLVM_DEBUG(dbgs() << "SLP: Diamond merged for " << *VL0 << ".\n");
 3989         LLVM_DEBUG(dbgs() << "SLP: Diamond merged for " << *VL0 << ".\n");
 4131         LLVM_DEBUG(dbgs() << "SLP: OpVec[" << j << "]: " << *OpVec << "\n");
 4131         LLVM_DEBUG(dbgs() << "SLP: OpVec[" << j << "]: " << *OpVec << "\n");
 4131         LLVM_DEBUG(dbgs() << "SLP: OpVec[" << j << "]: " << *OpVec << "\n");
 4177         LLVM_DEBUG(dbgs() << "SLP: Diamond merged for " << *VL0 << ".\n");
 4177         LLVM_DEBUG(dbgs() << "SLP: Diamond merged for " << *VL0 << ".\n");
 4263   LLVM_DEBUG(dbgs() << "SLP: Extracting " << ExternalUses.size()
 4264                     << " values .\n");
 4352     LLVM_DEBUG(dbgs() << "SLP: Replaced:" << *User << ".\n");
 4352     LLVM_DEBUG(dbgs() << "SLP: Replaced:" << *User << ".\n");
 4373           LLVM_DEBUG(dbgs() << "SLP: \tvalidating user:" << *U << ".\n");
 4373           LLVM_DEBUG(dbgs() << "SLP: \tvalidating user:" << *U << ".\n");
 4381       LLVM_DEBUG(dbgs() << "SLP: \tErasing scalar:" << *Scalar << ".\n");
 4381       LLVM_DEBUG(dbgs() << "SLP: \tErasing scalar:" << *Scalar << ".\n");
 4392   LLVM_DEBUG(dbgs() << "SLP: Optimizing " << GatherSeq.size()
 4393                     << " gather sequences instructions.\n");
 4489   LLVM_DEBUG(dbgs() << "SLP:  bundle: " << *S.OpValue << "\n");
 4489   LLVM_DEBUG(dbgs() << "SLP:  bundle: " << *S.OpValue << "\n");
 4506       LLVM_DEBUG(dbgs() << "SLP:  reset schedule because " << *BundleMember
 4507                         << " was already scheduled\n");
 4543   LLVM_DEBUG(dbgs() << "SLP: try schedule bundle " << *Bundle << " in block "
 4543   LLVM_DEBUG(dbgs() << "SLP: try schedule bundle " << *Bundle << " in block "
 4544                     << BB->getName() << "\n");
 4574   LLVM_DEBUG(dbgs() << "SLP:  cancel scheduling of " << *Bundle << "\n");
 4574   LLVM_DEBUG(dbgs() << "SLP:  cancel scheduling of " << *Bundle << "\n");
 4633     LLVM_DEBUG(dbgs() << "SLP:  initialize schedule region to " << *I << "\n");
 4633     LLVM_DEBUG(dbgs() << "SLP:  initialize schedule region to " << *I << "\n");
 4645       LLVM_DEBUG(dbgs() << "SLP:  exceeded schedule region size limit\n");
 4655         LLVM_DEBUG(dbgs() << "SLP:  extend schedule region start to " << *I
 4656                           << "\n");
 4669         LLVM_DEBUG(dbgs() << "SLP:  extend schedule region end to " << *I
 4670                           << "\n");
 4734         LLVM_DEBUG(dbgs() << "SLP:       update deps of " << *BundleMember
 4735                           << "\n");
 4836       LLVM_DEBUG(dbgs() << "SLP:     gets ready on update: " << *SD->Inst
 4837                         << "\n");
 4860   LLVM_DEBUG(dbgs() << "SLP: schedule block " << BS->BB->getName() << "\n");
 4860   LLVM_DEBUG(dbgs() << "SLP: schedule block " << BS->BB->getName() << "\n");
 5293   LLVM_DEBUG(dbgs() << "SLP: Analyzing blocks in " << F.getName() << ".\n");
 5293   LLVM_DEBUG(dbgs() << "SLP: Analyzing blocks in " << F.getName() << ".\n");
 5308       LLVM_DEBUG(dbgs() << "SLP: Found stores for " << Stores.size()
 5309                         << " underlying objects.\n");
 5320       LLVM_DEBUG(dbgs() << "SLP: Found GEPs for " << GEPs.size()
 5321                         << " underlying objects.\n");
 5328     LLVM_DEBUG(dbgs() << "SLP: vectorized \"" << F.getName() << "\"\n");
 5328     LLVM_DEBUG(dbgs() << "SLP: vectorized \"" << F.getName() << "\"\n");
 5337   LLVM_DEBUG(dbgs() << "SLP: Analyzing a store chain of length " << ChainLen
 5338                     << "\n");
 5357     LLVM_DEBUG(dbgs() << "SLP: Analyzing " << VF << " stores at offset " << i
 5357     LLVM_DEBUG(dbgs() << "SLP: Analyzing " << VF << " stores at offset " << i
 5358                       << "\n");
 5368     LLVM_DEBUG(dbgs() << "SLP: Found cost=" << Cost << " for VF=" << VF
 5368     LLVM_DEBUG(dbgs() << "SLP: Found cost=" << Cost << " for VF=" << VF
 5369                       << "\n");
 5371       LLVM_DEBUG(dbgs() << "SLP: Decided to vectorize cost=" << Cost << "\n");
 5371       LLVM_DEBUG(dbgs() << "SLP: Decided to vectorize cost=" << Cost << "\n");
 5507   LLVM_DEBUG(dbgs() << "SLP: Trying to vectorize a list of length = "
 5508                     << VL.size() << ".\n");
 5577       LLVM_DEBUG(dbgs() << "SLP: Analyzing " << OpsWidth << " operations "
 5577       LLVM_DEBUG(dbgs() << "SLP: Analyzing " << OpsWidth << " operations "
 5578                         << "\n");
 5602         LLVM_DEBUG(dbgs() << "SLP: Vectorizing list at cost:" << Cost << ".\n");
 5602         LLVM_DEBUG(dbgs() << "SLP: Vectorizing list at cost:" << Cost << ".\n");
 6444       LLVM_DEBUG(dbgs() << "SLP: Vectorizing horizontal reduction at cost:"
 6445                         << Cost << ". (HorRdx)\n");
 6568     LLVM_DEBUG(dbgs() << "SLP: Adding cost " << VecReduxCost - ScalarReduxCost
 6569                       << " for reduction that starts with " << *FirstReducedVal
 6570                       << " (It is a "
 6571                       << (IsPairwiseReduction ? "pairwise" : "splitting")
 6572                       << " reduction)\n");
 6836   LLVM_DEBUG(dbgs() << "SLP: array mappable to vector: " << *IVI << "\n");
 6836   LLVM_DEBUG(dbgs() << "SLP: array mappable to vector: " << *IVI << "\n");
 6925       LLVM_DEBUG(dbgs() << "SLP: Trying to vectorize starting at PHIs ("
 6926                         << NumElts << ")\n");
 7029     LLVM_DEBUG(dbgs() << "SLP: Analyzing a getelementptr list of length "
 7030                       << Entry.second.size() << ".\n");
 7118     LLVM_DEBUG(dbgs() << "SLP: Analyzing a store chain of length "
 7119                       << it->second.size() << ".\n");
lib/Transforms/Vectorize/VPlan.cpp
  120   LLVM_DEBUG(dbgs() << "LV: created " << NewBB->getName() << '\n');
  143     LLVM_DEBUG(dbgs() << "LV: draw edge from" << PredBB->getName() << '\n');
  193   LLVM_DEBUG(dbgs() << "LV: vectorizing VPBB:" << getName()
  194                     << " in BB:" << NewBB->getName() << '\n');
  227   LLVM_DEBUG(dbgs() << "LV: filled BB:" << *NewBB);
  250       LLVM_DEBUG(dbgs() << "LV: VPBlock in RPO " << Block->getName() << '\n');
  267         LLVM_DEBUG(dbgs() << "LV: VPBlock in RPO " << Block->getName() << '\n');
  338   O << " +\n" << Indent << "\"EMIT ";
  338   O << " +\n" << Indent << "\"EMIT ";
  340   O << "\\l\"";
  345   O << " = ";
  349     O << "not";
  352     O << "icmp ule";
  355     O << "combined load";
  358     O << "combined store";
  361     O << Instruction::getOpcodeName(getOpcode());
  365     O << " ";
  505   OS << "digraph VPlan {\n";
  506   OS << "graph [labelloc=t, fontsize=30; label=\"Vectorization Plan";
  508     OS << "\\n" << DOT::EscapeString(Plan.getName());
  510     OS << ", where:";
  512       OS << "\\n"
  513          << *Plan.getOrCreateBackedgeTakenCount() << " := BackedgeTakenCount";
  515       OS << "\\n" << *Entry.second;
  520   OS << "\"]\n";
  521   OS << "node [shape=rect, fontname=Courier, fontsize=30]\n";
  522   OS << "edge [fontname=Courier, fontsize=30]\n";
  523   OS << "compound=true\n";
  528   OS << "}\n";
  546   OS << Indent << getUID(Tail) << " -> " << getUID(Head);
  547   OS << " [ label=\"" << Label << '\"';
  549     OS << " ltail=" << getUID(From);
  551     OS << " lhead=" << getUID(To);
  553     OS << "; splines=none";
  554   OS << "]\n";
  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: ";
  580     OS << " +\n" << Indent << " \"BlockPredicate: ";
  583       OS << " (" << DOT::EscapeString(PredI->getParent()->getName())
  584          << ")\\l\"";
  595     OS << " +\n" << Indent << " \"CondBit: ";
  595     OS << " +\n" << Indent << " \"CondBit: ";
  598       OS << " (" << DOT::EscapeString(CBI->getParent()->getName()) << ")\\l\"";
  598       OS << " (" << DOT::EscapeString(CBI->getParent()->getName()) << ")\\l\"";
  601       OS << "\"";
  606   OS << "\n" << Indent << "]\n";
  606   OS << "\n" << Indent << "]\n";
  611   OS << Indent << "subgraph " << getUID(Region) << " {\n";
  611   OS << Indent << "subgraph " << getUID(Region) << " {\n";
  613   OS << Indent << "fontname=Courier\n"
  614      << Indent << "label=\""
  616      << DOT::EscapeString(Region->getName()) << "\"\n";
  622   OS << Indent << "}\n";
  632       RSO << " = ";
  634     RSO << Inst->getOpcodeName() << " ";
  634     RSO << Inst->getOpcodeName() << " ";
  639         Inst->getOperand(I)->printAsOperand(RSO << ", ", false);
  648   O << " +\n" << Indent << "\"WIDEN\\l\"";
  648   O << " +\n" << Indent << "\"WIDEN\\l\"";
  650     O << " +\n" << Indent << "\"  " << VPlanIngredient(&Instr) << "\\l\"";
  650     O << " +\n" << Indent << "\"  " << VPlanIngredient(&Instr) << "\\l\"";
  650     O << " +\n" << Indent << "\"  " << VPlanIngredient(&Instr) << "\\l\"";
  655   O << " +\n" << Indent << "\"WIDEN-INDUCTION";
  655   O << " +\n" << Indent << "\"WIDEN-INDUCTION";
  657     O << "\\l\"";
  658     O << " +\n" << Indent << "\"  " << VPlanIngredient(IV) << "\\l\"";
  658     O << " +\n" << Indent << "\"  " << VPlanIngredient(IV) << "\\l\"";
  658     O << " +\n" << Indent << "\"  " << VPlanIngredient(IV) << "\\l\"";
  659     O << " +\n" << Indent << "\"  " << VPlanIngredient(Trunc) << "\\l\"";
  659     O << " +\n" << Indent << "\"  " << VPlanIngredient(Trunc) << "\\l\"";
  659     O << " +\n" << Indent << "\"  " << VPlanIngredient(Trunc) << "\\l\"";
  661     O << " " << VPlanIngredient(IV) << "\\l\"";
  661     O << " " << VPlanIngredient(IV) << "\\l\"";
  665   O << " +\n" << Indent << "\"WIDEN-PHI " << VPlanIngredient(Phi) << "\\l\"";
  665   O << " +\n" << Indent << "\"WIDEN-PHI " << VPlanIngredient(Phi) << "\\l\"";
  665   O << " +\n" << Indent << "\"WIDEN-PHI " << VPlanIngredient(Phi) << "\\l\"";
  669   O << " +\n" << Indent << "\"BLEND ";
  669   O << " +\n" << Indent << "\"BLEND ";
  671   O << " =";
  675     O << " ";
  679       O << " ";
  681       O << "/";
  685   O << "\\l\"";
  689   O << " +\n"
  690     << Indent << "\"" << (IsUniform ? "CLONE " : "REPLICATE ")
  690     << Indent << "\"" << (IsUniform ? "CLONE " : "REPLICATE ")
  693     O << " (S->V)";
  694   O << "\\l\"";
  698   O << " +\n"
  699     << Indent << "\"PHI-PREDICATED-INSTRUCTION " << VPlanIngredient(PredInst)
  700     << "\\l\"";
  705   O << " +\n" << Indent << "\"WIDEN " << VPlanIngredient(&Instr);
  705   O << " +\n" << Indent << "\"WIDEN " << VPlanIngredient(&Instr);
  707     O << ", ";
  710   O << "\\l\"";
lib/Transforms/Vectorize/VPlan.h
  919     O << " +\n" << Indent << "\"BRANCH-ON-MASK ";
  919     O << " +\n" << Indent << "\"BRANCH-ON-MASK ";
  923       O << " All-One";
  924     O << "\\l\"";
lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
  116   LLVM_DEBUG(dbgs() << "Creating VPBasicBlock for " << BB->getName() << "\n");
  116   LLVM_DEBUG(dbgs() << "Creating VPBasicBlock for " << BB->getName() << "\n");
  346   LLVM_DEBUG(dbgs() << "Dominator Tree after building the plain CFG.\n";
  352   LLVM_DEBUG(dbgs() << "VPLoop Info After buildPlainCFG:\n";
lib/Transforms/Vectorize/VPlanPredicator.cpp
  221       LLVM_DEBUG(dbgs() << "Linearizing: " << PrevBlock->getName() << "->"
  221       LLVM_DEBUG(dbgs() << "Linearizing: " << PrevBlock->getName() << "->"
  222                         << CurrBlock->getName() << "\n");
lib/Transforms/Vectorize/VPlanSLP.cpp
   82     LLVM_DEBUG(dbgs() << "VPSLP: not all operands are VPInstructions\n");
   99     LLVM_DEBUG(dbgs() << "VPSLP: Opcodes do not agree \n");
  107     LLVM_DEBUG(dbgs() << "VPSLP: operands in different BBs\n");
  113     LLVM_DEBUG(dbgs() << "VPSLP: Some operands have multiple users.\n");
  134             dbgs() << "VPSLP: instruction modifying memory between loads\n");
  143       LLVM_DEBUG(dbgs() << "VPSLP: only simple loads are supported.\n");
  153       LLVM_DEBUG(dbgs() << "VPSLP: only simple stores are supported.\n");
  246   LLVM_DEBUG(dbgs() << "      getBest\n");
  249   LLVM_DEBUG(dbgs() << "        Candidates  for "
  250                     << *cast<VPInstruction>(Last)->getUnderlyingInstr() << " ");
  256                         << " ");
  260   LLVM_DEBUG(dbgs() << "\n");
  291   LLVM_DEBUG(dbgs() << "Found best "
  293                     << "\n");
  305   LLVM_DEBUG(dbgs() << "Reordering multinode\n");
  317     LLVM_DEBUG(dbgs() << "  Finding best value for lane " << Lane << "\n");
  317     LLVM_DEBUG(dbgs() << "  Finding best value for lane " << Lane << "\n");
  319     LLVM_DEBUG(dbgs() << "  Candidates  ");
  323                  << " ");
  326     LLVM_DEBUG(dbgs() << "\n");
  329       LLVM_DEBUG(dbgs() << "  Checking " << Op << "\n");
  329       LLVM_DEBUG(dbgs() << "  Checking " << Op << "\n");
  348   dbgs() << " Ops: ";
  352         dbgs() << *Instr << " | ";
  355     dbgs() << " nullptr | ";
  357   dbgs() << "\n";
  384     dbgs() << "buildGraph: ";
  400         dbgs() << "  Visiting Commutative";
  406         LLVM_DEBUG(dbgs() << "    Same opcode, continue building\n");
  409         LLVM_DEBUG(dbgs() << "    Adding multinode Ops\n");
  419       LLVM_DEBUG(dbgs() << "Reorder \n");
  434       LLVM_DEBUG(dbgs() << "Found final order\n");
  437     LLVM_DEBUG(dbgs() << "  NonCommuntative\n");
  466   LLVM_DEBUG(dbgs() << "Create VPInstruction "; VPI->print(dbgs());
  467              cast<VPInstruction>(Values[0])->print(dbgs()); dbgs() << "\n");
lib/Transforms/Vectorize/VPlanValue.h
   89     OS << "%vp" << (unsigned short)(unsigned long long)this;
lib/Transforms/Vectorize/VPlanVerifier.cpp
  129   LLVM_DEBUG(dbgs() << "Verifying VPlan H-CFG.\n");
lib/XRay/BlockPrinter.cpp
   14   OS << "\n[New Block]\n";
   22     OS << "\n[New Block]\n";
   24   OS << "Preamble: \n";
   42     OS << "\nBody:\n";
   44     OS << "\nMetadata: ";
   46   OS << " ";
   53     OS << "\nMetadata:";
   55   OS << " ";
   63     OS << "\n";
   65   OS << "*  ";
   72     OS << "\n";
   74   OS << "*  ";
   81     OS << "\n";
   83   OS << "*  ";
   91     OS << "\n";
   93   OS << "-  ";
  100   OS << " : ";
  107     OS << " *** ";
lib/XRay/RecordPrinter.cpp
   75   OS << "<End of Buffer>" << 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';
  102     errs() << "bugpoint: " << Filename << ": error: input module is broken!\n";
  102     errs() << "bugpoint: " << Filename << ": error: input module is broken!\n";
  141   outs() << "Read input file      : '" << Filenames[0] << "'\n";
  141   outs() << "Read input file      : '" << Filenames[0] << "'\n";
  148     outs() << "Linking in input file: '" << Filenames[i] << "'\n";
  148     outs() << "Linking in input file: '" << Filenames[i] << "'\n";
  153   outs() << "*** All input ok\n";
  177     outs() << "Running selected passes on program to test for crash: ";
  187   outs() << "Running the code generator to test for a crash: ";
  200     outs() << "Generating reference output from raw program: ";
  216   outs() << "*** Checking the code generator...\n";
  223     outs() << "\n*** Output matches: Debugging miscompilation!\n";
  231   outs() << "\n*** Input program does not match reference diff!\n";
  232   outs() << "Debugging code generator problem!\n";
  245     outs() << " " << Funcs[i]->getName();
  247     outs() << "... <" << Funcs.size() << " total>";
  247     outs() << "... <" << Funcs.size() << " total>";
  256     outs() << " " << GVs[i]->getName();
  258     outs() << "... <" << GVs.size() << " total>";
  258     outs() << "... <" << GVs.size() << " total>";
tools/bugpoint/CrashDebugger.cpp
   89     outs() << "Checking to see if these passes crash: "
   90            << getPassesString(Prefix) << ": ";
   98       errs() << BD.getToolName() << ": Error reading bitcode file '"
   98       errs() << BD.getToolName() << ": Error reading bitcode file '"
   99              << PrefixOutput << "'!\n";
  105   outs() << "Checking to see if these passes crash: " << getPassesString(Suffix)
  106          << ": ";
  159   outs() << "Checking for crash with only these global variables: ";
  161   outs() << ": ";
  254   outs() << "Checking for crash with only these functions: ";
  256   outs() << ": ";
  452   outs() << "Checking for crash with only these blocks:";
  457     outs() << " " << BBs[i]->getName();
  459     outs() << "... <" << Blocks.size() << " total>";
  459     outs() << "... <" << Blocks.size() << " total>";
  460   outs() << ": ";
  507     errs() << "verify failed!\n";
  571   outs() << "Checking for crash with changing conditionals to always jump to "
  572          << (Direction ? "true" : "false") << ":";
  572          << (Direction ? "true" : "false") << ":";
  577     outs() << " " << BBs[i]->getName();
  579     outs() << "... <" << Blocks.size() << " total>";
  579     outs() << "... <" << Blocks.size() << " total>";
  580   outs() << ": ";
  614     errs() << "verify failed!\n";
  675   outs() << "Checking for crash with CFG simplifying:";
  680     outs() << " " << BBs[i]->getName();
  682     outs() << "... <" << Blocks.size() << " total>";
  682     outs() << "... <" << Blocks.size() << " total>";
  683   outs() << ": ";
  706     errs() << "verify failed!\n";
  769   outs() << "Checking for crash with only " << Instructions.size();
  771     outs() << " instruction: ";
  773     outs() << " instructions: ";
  837   outs() << "Checking for crash with only these named metadata nodes:";
  840     outs() << " " << NamedMDs[i];
  842     outs() << "... <" << NamedMDs.size() << " total>";
  842     outs() << "... <" << NamedMDs.size() << " total>";
  843   outs() << ": ";
  907   outs() << "Checking for crash with only " << OldMDNodeOps.size();
  909     outs() << " named metadata operand: ";
  911     outs() << " named metadata operands: ";
  972   outs() << "\nChecking to see if we can delete global inits: ";
  976     outs() << "\n*** Able to remove all global initializers!\n";
  981   outs() << "  - Removing all global inits hides problem!\n";
  989     outs() << "\n*** Attempting to reduce the number of global initializers "
  990            << "in the testcase\n";
 1027     outs() << "\n*** Attempting to reduce testcase by deleting instruc"
 1028            << "tions: Simplification Level #" << Simplification << '\n';
 1063               outs() << "Checking instruction: " << *I;
 1105     outs() << "\n*** Attempting to reduce the number of functions "
 1124     outs() << "\n*** Attempting to reduce the number of function attributes in "
 1214     outs() << "\n*** Attempting to strip the debug info: ";
 1218     outs() << "\n*** Attempting to strip the debug type info: ";
 1226       outs() << "\n*** Attempting to remove named metadata: ";
 1253     outs() << "\n*** Attempting to perform final cleanups: ";
 1277   outs() << "\n*** Debugging optimizer crash!\n";
 1286   outs() << "\n*** Found crashing pass"
 1287          << (PassesToRun.size() == 1 ? ": " : "es: ")
 1298       errs() << toString(std::move(E)) << "\n";
 1301       errs() << "<crash>\n";
 1313   errs() << "*** Debugging code generator crash!\n";
tools/bugpoint/ExecutionDriver.cpp
  142   outs() << "Initializing execution environment: ";
  251     outs() << Message << "\nExiting.\n";
  257     outs() << Message << "\nExiting.\n";
  275     errs() << ToolName
  276            << ": Error making unique filename: " << toString(Temp.takeError())
  277            << "\n";
  282     errs() << ToolName << ": Error emitting bitcode to file '" << Temp->TmpName
  282     errs() << ToolName << ": Error emitting bitcode to file '" << Temp->TmpName
  283            << "'!\n";
  310       errs() << ToolName << ": Error making unique filename: " << EC.message()
  310       errs() << ToolName << ": Error making unique filename: " << EC.message()
  311              << "!\n";
  317       errs() << ToolName << ": Error emitting bitcode to file '" << BitcodeFile
  317       errs() << ToolName << ": Error emitting bitcode to file '" << BitcodeFile
  318              << "'!\n";
  335     errs() << ToolName << ": Error making unique filename: " << EC.message()
  335     errs() << ToolName << ": Error making unique filename: " << EC.message()
  336            << "\n";
  353     errs() << "<timeout>";
  357           << "\n"
  431   outs() << "\nReference output is: " << ReferenceOutputFile << "\n\n";
  431   outs() << "\nReference output is: " << ReferenceOutputFile << "\n\n";
  454       errs() << "While diffing output: " << Error << '\n';
tools/bugpoint/ExtractFunction.cpp
  122     errs() << "Instruction removal failed.  Sorry. :(  Please report a bug!\n";
  145     errs() << "Final cleanups failed.  Sorry. :(  Please report a bug!\n";
  157     outs() << "*** Loop extraction failed: ";
  159     outs() << "*** Sorry. :(  Please report a bug!\n";
  326     LLVM_DEBUG(errs() << "Removing function ");
  328     LLVM_DEBUG(errs() << "\n");
  343         errs() << "*** Error: when reducing functions, encountered "
  346         errs() << "' with an initializer that references blockaddresses "
  348                << SafeFn->getName() << "' and from test function '"
  349                << TestFn->getName() << "'.\n";
  376     outs() << "*** Basic Block extraction failed!\n";
  377     errs() << "Error creating temporary file: " << toString(Temp.takeError())
  378            << "\n";
  398     OS << BB->getParent()->getName() << " " << BB->getName() << "\n";
  398     OS << BB->getParent()->getName() << " " << BB->getName() << "\n";
  402     errs() << "Error writing list of blocks to not extract\n";
  416     outs() << "*** Basic Block extraction failed, please report a bug!\n";
tools/bugpoint/FindBugs.cpp
   25   outs() << "Starting bug finding procedure...\n\n";
   31   outs() << "\n";
   33     outs() << "Generating reference output from raw program: \n";
   49     outs() << "Running selected passes on program to test for crash: ";
   51       outs() << "-" << PassesToRun[i] << " ";
   51       outs() << "-" << PassesToRun[i] << " ";
   56       outs() << "\n";
   57       outs() << "Optimizer passes caused failure!\n\n";
   60       outs() << "Combination " << num << " optimized successfully!\n";
   60       outs() << "Combination " << num << " optimized successfully!\n";
   66     outs() << "Running the code generator to test for a crash: ";
   68       outs() << "\n*** compileProgram threw an exception: ";
   78     outs() << "*** Checking if passes caused miscompliation:\n";
   85       outs() << "\n*** diffProgram returned true!\n";
   90     outs() << "\n*** diff'd output matches!\n";
   94     outs() << "\n\n";
tools/bugpoint/ListReducer.h
   86         errs() << "\n\n*** Reduction Interrupted, cleaning up...\n\n";
   96         errs() << "\n\n*** Testing shuffled set...\n\n";
  111           errs() << "\n\n*** Shuffling does not hide the bug...\n\n";
  114           errs() << "\n\n*** Shuffling hides the bug...\n\n";
  179             errs() << "\n\n*** Reduction Interrupted, cleaning up...\n\n";
tools/bugpoint/Miscompilation.cpp
   65   outs() << "Checking to see if '" << getPassesString(Suffix)
   66          << "' compiles correctly: ";
   71     errs() << " Error running this sequence of passes"
   72            << " on the input program!\n";
   87     outs() << " nope.\n";
   89       errs() << BD.getToolName() << ": I'm confused: the test fails when "
   89       errs() << BD.getToolName() << ": I'm confused: the test fails when "
   90              << "no passes are run, nondeterministic program?\n";
   95   outs() << " yup.\n"; // No miscompilation!
  102   outs() << "Checking to see if '" << getPassesString(Prefix)
  103          << "' compiles correctly: ";
  113     errs() << " Error running this sequence of passes"
  114            << " on the input program!\n";
  128     outs() << " nope.\n";
  132   outs() << " yup.\n"; // No miscompilation!
  140     errs() << BD.getToolName() << ": Error reading bitcode file '"
  140     errs() << BD.getToolName() << ": Error reading bitcode file '"
  141            << BitcodeResult << "'!\n";
  150   outs() << "Checking to see if '" << getPassesString(Suffix)
  151          << "' passes compile correctly after the '" << getPassesString(Prefix)
  152          << "' passes: ";
  158     errs() << " Error running this sequence of passes"
  159            << " on the input program!\n";
  174     outs() << " nope.\n";
  179   outs() << " yup.\n"; // No miscompilation!
  252   outs() << "Checking to see if the program is misoptimized when "
  253          << (Funcs.size() == 1 ? "this function is" : "these functions are")
  254          << " run through the pass"
  255          << (BD.getPassesToRun().size() == 1 ? "" : "es") << ":";
  255          << (BD.getPassesToRun().size() == 1 ? "" : "es") << ":";
  326     errs() << "Extracted a loop from the breaking portion of the program.\n";
  351       errs() << "  *** ERROR: Loop extraction broke the program. :("
  352              << " Please report a bug!\n";
  353       errs() << "      Continuing on with un-loop-extracted version.\n";
  362       errs() << "Please submit the " << OutputPrefix
  363              << "-loop-extract-fail-*.bc files.\n";
  368     outs() << "  Testing after loop extraction:\n";
  386       outs() << "*** Loop extraction masked the problem.  Undoing.\n";
  411     outs() << "*** Loop extraction successful!\n";
  488   outs() << "Checking to see if the program is misoptimized when all ";
  490     outs() << "but these " << BBs.size() << " blocks are extracted: ";
  490     outs() << "but these " << BBs.size() << " blocks are extracted: ";
  492       outs() << BBs[i]->getName() << " ";
  494       outs() << "...";
  496     outs() << "blocks are extracted.";
  578     errs() << "Nondeterministic problem extracting blocks??\n";
  631       errs() << "\n***Cannot reduce functions: ";
  635   outs() << "\n*** The following function"
  636          << (MiscompiledFunctions.size() == 1 ? " is" : "s are")
  637          << " being miscompiled: ";
  660       outs() << "\n*** The following function"
  661              << (MiscompiledFunctions.size() == 1 ? " is" : "s are")
  662              << " being miscompiled: ";
  683       outs() << "\n*** The following function"
  684              << (MiscompiledFunctions.size() == 1 ? " is" : "s are")
  685              << " being miscompiled: ";
  702   outs() << "  Optimizing functions being tested: ";
  706     errs() << " Error running this sequence of passes"
  707            << " on the input program!\n";
  714   outs() << "done.\n";
  716   outs() << "  Checking to see if the merged program executes correctly: ";
  722     outs() << (Broken ? " nope.\n" : " yup.\n");
  747   outs() << "\n*** Found miscompiling pass"
  748          << (getPassesToRun().size() == 1 ? "" : "es") << ": "
  748          << (getPassesToRun().size() == 1 ? "" : "es") << ": "
  758   outs() << "Outputting reduced bitcode files which expose the problem:\n";
  765   outs() << "  Non-optimized portion: ";
  769   outs() << "  Portion that is input to optimizer: ";
  931     errs() << "Bugpoint has a bug, which corrupted a module!!\n";
  952     errs() << BD.getToolName()
  953            << "Error making unique filename: " << EC.message() << "\n";
  953            << "Error making unique filename: " << EC.message() << "\n";
  957     errs() << "Error writing bitcode to `" << TestModuleBC.str()
  958            << "'\nExiting.";
  970     errs() << BD.getToolName()
  971            << "Error making unique filename: " << EC.message() << "\n";
  971            << "Error making unique filename: " << EC.message() << "\n";
  976     errs() << "Error writing bitcode to `" << SafeModuleBC << "'\nExiting.";
  976     errs() << "Error writing bitcode to `" << SafeModuleBC << "'\nExiting.";
  997     errs() << ": still failing!\n";
  999     errs() << ": didn't fail.\n";
 1011       outs() << "\n*** The \"safe\" i.e. 'known good' backend cannot match "
 1012              << "the reference diff.  This may be due to a\n    front-end "
 1013              << "bug or a bug in the original program, but this can also "
 1014              << "happen if bugpoint isn't running the program with the "
 1015              << "right flags or input.\n    I left the result of executing "
 1016              << "the program with the \"safe\" backend in this file for "
 1017              << "you: '" << *Result << "'.\n";
 1017              << "you: '" << *Result << "'.\n";
 1044     errs() << getToolName() << "Error making unique filename: " << EC.message()
 1044     errs() << getToolName() << "Error making unique filename: " << EC.message()
 1045            << "\n";
 1050     errs() << "Error writing bitcode to `" << TestModuleBC << "'\nExiting.";
 1050     errs() << "Error writing bitcode to `" << TestModuleBC << "'\nExiting.";
 1060     errs() << getToolName() << "Error making unique filename: " << EC.message()
 1060     errs() << getToolName() << "Error making unique filename: " << EC.message()
 1061            << "\n";
 1066     errs() << "Error writing bitcode to `" << SafeModuleBC << "'\nExiting.";
 1066     errs() << "Error writing bitcode to `" << SafeModuleBC << "'\nExiting.";
 1073   outs() << "You can reproduce the problem with the command line: \n";
 1075     outs() << "  lli -load " << *SharedObject << " " << TestModuleBC;
 1075     outs() << "  lli -load " << *SharedObject << " " << TestModuleBC;
 1077     outs() << "  llc " << TestModuleBC << " -o " << TestModuleBC << ".s\n";
 1077     outs() << "  llc " << TestModuleBC << " -o " << TestModuleBC << ".s\n";
 1077     outs() << "  llc " << TestModuleBC << " -o " << TestModuleBC << ".s\n";
 1078     outs() << "  cc " << *SharedObject << " " << TestModuleBC.str() << ".s -o "
 1078     outs() << "  cc " << *SharedObject << " " << TestModuleBC.str() << ".s -o "
 1078     outs() << "  cc " << *SharedObject << " " << TestModuleBC.str() << ".s -o "
 1079            << TestModuleBC << ".exe\n";
 1080     outs() << "  ./" << TestModuleBC << ".exe";
 1080     outs() << "  ./" << TestModuleBC << ".exe";
 1083     outs() << " " << InputArgv[i];
 1085   outs() << "The shared object was created with:\n  llc -march=c "
 1086          << SafeModuleBC.str() << " -o temporary.c\n"
 1087          << "  cc -xc temporary.c -O2 -o " << *SharedObject;
 1089     outs() << " -G"; // Compile a shared library, `-G' for Sparc
 1091     outs() << " -fPIC -shared"; // `-shared' for Linux/X86, maybe others
 1093   outs() << " -fno-strict-aliasing\n";
tools/bugpoint/OptimizerDriver.cpp
   97     errs() << "Error opening file '" << Filename << "' for writing!\n";
   97     errs() << "Error opening file '" << Filename << "' for writing!\n";
  101   outs() << "Emitted bitcode to '" << Filename << "'\n";
  101   outs() << "Emitted bitcode to '" << Filename << "'\n";
  104   outs() << "\n*** You can reproduce the problem with: ";
  106     outs() << "valgrind ";
  107   outs() << "opt " << Filename;
  109     outs() << " -load " << PluginLoader::getPlugin(i);
  111   outs() << " " << getPassesString(PassesToRun) << "\n";
  111   outs() << " " << getPassesString(PassesToRun) << "\n";
  140     errs() << getToolName()
  141            << ": Error making unique filename: " << EC.message() << "\n";
  141            << ": Error making unique filename: " << EC.message() << "\n";
  150     errs() << getToolName()
  151            << ": Error making unique filename: " << toString(Temp.takeError())
  152            << "\n";
  161     errs() << "Error writing bitcode file: " << Temp->TmpName << "\n";
  161     errs() << "Error writing bitcode file: " << Temp->TmpName << "\n";
  172       errs() << Path.getError().message() << "\n";
  175     errs() << "Cannot find `opt' in PATH!\n";
  179     errs() << "Specified `opt' binary does not exist: " << tool << "\n";
  179     errs() << "Specified `opt' binary does not exist: " << tool << "\n";
  188       errs() << Path.getError().message() << "\n";
  192     errs() << "Cannot find `valgrind' in PATH!\n";
  227   LLVM_DEBUG(errs() << "\nAbout to run:\t";
  229              << " " << Args[i];
  230              errs() << "\n";);
  250       outs() << "Success!\n";
  252       outs() << "Exited with error code '" << result << "'\n";
  252       outs() << "Exited with error code '" << result << "'\n";
  255         outs() << "Execute failed: " << ErrMsg << "\n";
  255         outs() << "Execute failed: " << ErrMsg << "\n";
  257         outs() << "Crashed: " << ErrMsg << "\n";
  257         outs() << "Crashed: " << ErrMsg << "\n";
  260       outs() << "Dumped core\n";
  278     errs() << getToolName() << ": Error reading bitcode file '" << BitcodeResult
  278     errs() << getToolName() << ": Error reading bitcode file '" << BitcodeResult
  279            << "'!\n";
tools/bugpoint/ToolRunner.cpp
  119     errs() << "Error making unique filename: " << EC.message() << "\n";
  119     errs() << "Error making unique filename: " << EC.message() << "\n";
  192   outs() << "<lli>";
  194   LLVM_DEBUG(errs() << "\nAbout to run:\t";
  196              << " " << LLIArgs[i];
  197              errs() << "\n";);
  442     errs() << "Error making unique filename: " << EC.message() << "\n";
  442     errs() << "Error making unique filename: " << EC.message() << "\n";
  460   outs() << (UseIntegratedAssembler ? "<llc-ia>" : "<llc>");
  462   LLVM_DEBUG(errs() << "\nAbout to run:\t";
  464              << " " << LLCArgs[i];
  465              errs() << "\n";);
  521     errs() << Message << "\n";
  578   outs() << "<jit>";
  580   LLVM_DEBUG(errs() << "\nAbout to run:\t";
  582              << " " << JITArgs[i];
  583              errs() << "\n";);
  584   LLVM_DEBUG(errs() << "\nSending output to " << OutputFile << "\n");
  584   LLVM_DEBUG(errs() << "\nSending output to " << OutputFile << "\n");
  668     errs() << "Error making unique filename: " << EC.message() << "\n";
  668     errs() << "Error making unique filename: " << EC.message() << "\n";
  685   outs() << "<CC>";
  687   LLVM_DEBUG(errs() << "\nAbout to run:\t";
  689              << " " << CCArgs[i];
  690              errs() << "\n";);
  732   outs() << "<program>";
  735       errs() << "\nAbout to run:\t";
  737       << " " << ProgramArgs[i];
  738       errs() << "\n";);
  743     LLVM_DEBUG(errs() << "<run locally>");
  757     outs() << "<run remotely>";
  772     errs() << "Error making unique filename: " << EC.message() << "\n";
  772     errs() << "Error making unique filename: " << EC.message() << "\n";
  829   outs() << "<CC>";
  831   LLVM_DEBUG(errs() << "\nAbout to run:\t";
  833              << " " << CCArgs[i];
  834              errs() << "\n";);
tools/bugpoint/bugpoint.cpp
  185     outs() << "Override triple set to '" << TargetTriple.getTriple() << "'\n";
  185     outs() << "Override triple set to '" << TargetTriple.getTriple() << "'\n";
tools/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
   38         llvm::errs() << "top-level-decl: \"" << ND->getNameAsString() << "\"\n";
   38         llvm::errs() << "top-level-decl: \"" << ND->getNameAsString() << "\"\n";
   74       llvm::errs() << "late-parsed-decl: \"" << FD->getNameAsString() << "\"\n";
   74       llvm::errs() << "late-parsed-decl: \"" << FD->getNameAsString() << "\"\n";
   90       llvm::errs() << "PrintFunctionNames arg = " << args[i] << "\n";
   90       llvm::errs() << "PrintFunctionNames arg = " << args[i] << "\n";
  115     ros << "Help for PrintFunctionNames plugin goes here\n";
tools/clang/examples/clang-interpreter/main.cpp
  180     llvm::errs() << "clang invocation:\n";
  182     llvm::errs() << "\n";
tools/clang/include/clang/AST/TextNodeDumper.h
   64       OS << "\n";
   90           OS << LabelStr << ": ";
tools/clang/include/clang/Analysis/Analyses/Dominators.h
   95     llvm::errs() << "Immediate " << (IsPostDom ? "post " : "")
   95     llvm::errs() << "Immediate " << (IsPostDom ? "post " : "")
   96                  << "dominance tree (Node#,IDom#):\n";
  106         llvm::errs() << "(" << (*I)->getBlockID()
  107                      << ","
  109                      << ")\n";
  128         llvm::errs() << "(" << (*I)->getBlockID()
  129                      << "," << (*I)->getBlockID() << ")\n";
  129                      << "," << (*I)->getBlockID() << ")\n";
  258     llvm::errs() << "Control dependencies (Node#,Dependency#):\n";
  266         llvm::errs() << "(" << BB->getBlockID()
  267                      << ","
  269                      << ")\n";
tools/clang/include/clang/Analysis/CFG.h
 1090     OS << "BB#" << getBlockID();
tools/clang/include/clang/Basic/DiagnosticError.h
   24   void log(raw_ostream &OS) const override { OS << "clang diagnostic"; }
tools/clang/include/clang/Basic/DiagnosticOptions.def
   46 SEMANTIC_DIAGOPT(IgnoreWarnings, 1, 0)   /// -w
   47 DIAGOPT(NoRewriteMacros, 1, 0)  /// -Wno-rewrite-macros
   48 DIAGOPT(Pedantic, 1, 0)         /// -pedantic
   49 DIAGOPT(PedanticErrors, 1, 0)   /// -pedantic-errors
   50 DIAGOPT(ShowColumn, 1, 1)       /// Show column number on diagnostics.
   51 DIAGOPT(ShowLocation, 1, 1)     /// Show source location information.
   52 DIAGOPT(ShowLevel, 1, 1)        /// Show diagnostic level.
   53 DIAGOPT(AbsolutePath, 1, 0)     /// Use absolute paths.
   54 DIAGOPT(ShowCarets, 1, 1)       /// Show carets in diagnostics.
   55 DIAGOPT(ShowFixits, 1, 1)       /// Show fixit information.
   56 DIAGOPT(ShowSourceRanges, 1, 0) /// Show source ranges in numeric form.
   57 DIAGOPT(ShowParseableFixits, 1, 0) /// Show machine parseable fix-its.
   58 DIAGOPT(ShowPresumedLoc, 1, 0)  /// Show presumed location for diagnostics.
   59 DIAGOPT(ShowOptionNames, 1, 0)  /// Show the option name for mappable
   61 DIAGOPT(ShowNoteIncludeStack, 1, 0) /// Show include stacks for notes.
   62 VALUE_DIAGOPT(ShowCategories, 2, 0) /// Show categories: 0 -> none, 1 -> Number,
   67 DIAGOPT(ShowColors, 1, 0)       /// Show diagnostics with ANSI color sequences.
   70 DIAGOPT(VerifyDiagnostics, 1, 0) /// Check that diagnostics match the expected
   77 DIAGOPT(ElideType, 1, 0)         /// Elide identical types in template diffing
   78 DIAGOPT(ShowTemplateTree, 1, 0)  /// Print a template tree when diffing
   79 DIAGOPT(CLFallbackMode, 1, 0)    /// Format for clang-cl fallback mode
   81 VALUE_DIAGOPT(ErrorLimit, 32, 0)           /// Limit # errors emitted.
   83 VALUE_DIAGOPT(MacroBacktraceLimit, 32, DefaultMacroBacktraceLimit)
   85 VALUE_DIAGOPT(TemplateBacktraceLimit, 32, DefaultTemplateBacktraceLimit)
   87 VALUE_DIAGOPT(ConstexprBacktraceLimit, 32, DefaultConstexprBacktraceLimit)
   89 VALUE_DIAGOPT(SpellCheckingLimit, 32, DefaultSpellCheckingLimit)
   91 VALUE_DIAGOPT(SnippetLineLimit, 32, DefaultSnippetLineLimit)
   93 VALUE_DIAGOPT(TabStop, 32, DefaultTabStop) /// The distance between tab stops.
   95 VALUE_DIAGOPT(MessageLength, 32, 0)
tools/clang/include/clang/Basic/JsonSupport.h
   23     Out << (IsDot ? "&nbsp;" : " ");
   86     Out << "null";
   94       Out << "null";
   99       Out << "{ ";
  100     Out << "\"line\": " << PLoc.getLine()
  101         << ", \"column\": " << PLoc.getColumn()
  102         << ", \"file\": \"" << PLoc.getFilename() << "\"";
  102         << ", \"file\": \"" << PLoc.getFilename() << "\"";
  102         << ", \"file\": \"" << PLoc.getFilename() << "\"";
  104       Out << " }";
  111   Out << "{ ";
  113   Out << ", \"spelling\": ";
  115   Out << " }";
tools/clang/include/clang/Basic/LangOptions.def
   82 LANGOPT(C99               , 1, 0, "C99")
   83 LANGOPT(C11               , 1, 0, "C11")
   84 LANGOPT(C17               , 1, 0, "C17")
   85 LANGOPT(C2x               , 1, 0, "C2x")
   86 LANGOPT(MSVCCompat        , 1, 0, "Microsoft Visual C++ full compatibility mode")
   87 LANGOPT(MicrosoftExt      , 1, 0, "Microsoft C++ extensions")
   88 LANGOPT(AsmBlocks         , 1, 0, "Microsoft inline asm blocks")
   89 LANGOPT(Borland           , 1, 0, "Borland extensions")
   90 LANGOPT(CPlusPlus         , 1, 0, "C++")
   91 LANGOPT(CPlusPlus11       , 1, 0, "C++11")
   92 LANGOPT(CPlusPlus14       , 1, 0, "C++14")
   93 LANGOPT(CPlusPlus17       , 1, 0, "C++17")
   94 LANGOPT(CPlusPlus2a       , 1, 0, "C++2a")
   95 LANGOPT(ObjC              , 1, 0, "Objective-C")
  102 LANGOPT(AppExt , 1, 0, "Objective-C App Extension")
  103 LANGOPT(Trigraphs         , 1, 0,"trigraphs")
  104 LANGOPT(LineComment       , 1, 0, "'//' comments")
  105 LANGOPT(Bool              , 1, 0, "bool, true, and false keywords")
  106 LANGOPT(Half              , 1, 0, "half keyword")
  107 LANGOPT(WChar             , 1, CPlusPlus, "wchar_t keyword")
  108 LANGOPT(Char8             , 1, 0, "char8_t keyword")
  109 LANGOPT(DeclSpecKeyword   , 1, 0, "__declspec keyword")
  112 LANGOPT(GNUMode           , 1, 1, "GNU extensions")
  113 LANGOPT(GNUKeywords       , 1, 1, "GNU keywords")
  114 VALUE_LANGOPT(GNUCVersion , 32, 0, "GNU C compatibility version")
  116 LANGOPT(Digraphs          , 1, 0, "digraphs")
  118 LANGOPT(CXXOperatorNames  , 1, 0, "C++ operator name keywords")
  119 LANGOPT(AppleKext         , 1, 0, "Apple kext support")
  121 LANGOPT(WritableStrings   , 1, 0, "writable string support")
  122 LANGOPT(ConstStrings      , 1, 0, "const-qualified string support")
  125 LANGOPT(AltiVec           , 1, 0, "AltiVec-style vector initializers")
  126 LANGOPT(ZVector           , 1, 0, "System z vector extensions")
  127 LANGOPT(Exceptions        , 1, 0, "exception handling")
  128 LANGOPT(ObjCExceptions    , 1, 0, "Objective-C exceptions")
  129 LANGOPT(CXXExceptions     , 1, 0, "C++ exceptions")
  130 LANGOPT(DWARFExceptions   , 1, 0, "dwarf exception handling")
  131 LANGOPT(SjLjExceptions    , 1, 0, "setjmp-longjump exception handling")
  132 LANGOPT(SEHExceptions     , 1, 0, "SEH .xdata exception handling")
  133 LANGOPT(WasmExceptions    , 1, 0, "WebAssembly exception handling")
  134 LANGOPT(ExternCNoUnwind   , 1, 0, "Assume extern C functions don't unwind")
  135 LANGOPT(TraditionalCPP    , 1, 0, "traditional CPP emulation")
  136 LANGOPT(RTTI              , 1, 1, "run-time type information")
  137 LANGOPT(RTTIData          , 1, 1, "emit run-time type information data")
  138 LANGOPT(MSBitfields       , 1, 0, "Microsoft-compatible structure layout")
  139 LANGOPT(Freestanding, 1, 0, "freestanding implementation")
  140 LANGOPT(NoBuiltin         , 1, 0, "disable builtin functions")
  141 LANGOPT(NoMathBuiltin     , 1, 0, "disable math builtin functions")
  142 LANGOPT(GNUAsm            , 1, 1, "GNU-style inline assembly")
  143 LANGOPT(Coroutines        , 1, 0, "C++20 coroutines")
  144 LANGOPT(DllExportInlines  , 1, 1, "dllexported classes dllexport inline methods")
  145 LANGOPT(RelaxedTemplateTemplateArgs, 1, 0, "C++17 relaxed matching of template template arguments")
  147 LANGOPT(DoubleSquareBracketAttributes, 1, 0, "'[[]]' attributes extension for all language standard modes")
  150 LANGOPT(POSIXThreads      , 1, 0, "POSIX thread support")
  151 LANGOPT(Blocks            , 1, 0, "blocks extension to C")
  153 LANGOPT(MathErrno         , 1, 1, "errno in math functions")
  155 LANGOPT(Modules           , 1, 0, "modules semantics")
  156 COMPATIBLE_LANGOPT(ModulesTS  , 1, 0, "C++ Modules TS syntax")
  157 COMPATIBLE_LANGOPT(CPlusPlusModules, 1, 0, "C++ modules syntax")
  163 COMPATIBLE_LANGOPT(ModulesDeclUse    , 1, 0, "require declaration of module uses")
  165 COMPATIBLE_LANGOPT(ModulesStrictDeclUse, 1, 0, "requiring declaration of module uses and all headers to be in modules")
  168 COMPATIBLE_LANGOPT(ModulesLocalVisibility, 1, 0, "local submodule visibility")
  169 COMPATIBLE_LANGOPT(Optimize          , 1, 0, "__OPTIMIZE__ predefined macro")
  170 COMPATIBLE_LANGOPT(OptimizeSize      , 1, 0, "__OPTIMIZE_SIZE__ predefined macro")
  171 COMPATIBLE_LANGOPT(Static            , 1, 0, "__STATIC__ predefined macro (as opposed to __DYNAMIC__)")
  172 VALUE_LANGOPT(PackStruct  , 32, 0,
  174 VALUE_LANGOPT(MaxTypeAlign  , 32, 0,
  176 VALUE_LANGOPT(AlignDouble            , 1, 0, "Controls if doubles should be aligned to 8 bytes (x86 only)")
  177 VALUE_LANGOPT(LongDoubleSize        , 32, 0, "width of long double")
  178 LANGOPT(PPCIEEELongDouble            , 1, 0, "use IEEE 754 quadruple-precision for long double")
  179 COMPATIBLE_VALUE_LANGOPT(PICLevel    , 2, 0, "__PIC__ level")
  180 COMPATIBLE_VALUE_LANGOPT(PIE         , 1, 0, "is pie")
  181 LANGOPT(ROPI                         , 1, 0, "Read-only position independence")
  182 LANGOPT(RWPI                         , 1, 0, "Read-write position independence")
  183 COMPATIBLE_LANGOPT(GNUInline         , 1, 0, "GNU inline semantics")
  184 COMPATIBLE_LANGOPT(NoInlineDefine    , 1, 0, "__NO_INLINE__ predefined macro")
  185 COMPATIBLE_LANGOPT(Deprecated        , 1, 0, "__DEPRECATED predefined macro")
  186 COMPATIBLE_LANGOPT(FastMath          , 1, 0, "fast FP math optimizations, and __FAST_MATH__ predefined macro")
  187 COMPATIBLE_LANGOPT(FiniteMathOnly    , 1, 0, "__FINITE_MATH_ONLY__ predefined macro")
  188 COMPATIBLE_LANGOPT(UnsafeFPMath      , 1, 0, "Unsafe Floating Point Math")
  193 LANGOPT(CharIsSigned      , 1, 1, "signed char")
  194 LANGOPT(WCharSize         , 4, 0, "width of wchar_t")
  195 LANGOPT(WCharIsSigned        , 1, 0, "signed or unsigned wchar_t")
  199 LANGOPT(ShortEnums        , 1, 0, "short enum types")
  201 LANGOPT(OpenCL            , 1, 0, "OpenCL")
  202 LANGOPT(OpenCLVersion     , 32, 0, "OpenCL C version")
  203 LANGOPT(OpenCLCPlusPlus   , 1, 0, "C++ for OpenCL")
  204 LANGOPT(OpenCLCPlusPlusVersion     , 32, 0, "C++ for OpenCL version")
  205 LANGOPT(NativeHalfType    , 1, 0, "Native half type support")
  206 LANGOPT(NativeHalfArgsAndReturns, 1, 0, "Native half args and returns")
  207 LANGOPT(HalfArgsAndReturns, 1, 0, "half args and returns")
  208 LANGOPT(CUDA              , 1, 0, "CUDA")
  209 LANGOPT(HIP               , 1, 0, "HIP")
  210 LANGOPT(OpenMP            , 32, 0, "OpenMP support and version of OpenMP (31, 40 or 45)")
  211 LANGOPT(OpenMPSimd        , 1, 0, "Use SIMD only OpenMP support.")
  212 LANGOPT(OpenMPUseTLS      , 1, 0, "Use TLS for threadprivates or runtime calls")
  213 LANGOPT(OpenMPIsDevice    , 1, 0, "Generate code only for OpenMP target device")
  214 LANGOPT(OpenMPCUDAMode    , 1, 0, "Generate code for OpenMP pragmas in SIMT/SPMD mode")
  215 LANGOPT(OpenMPCUDAForceFullRuntime , 1, 0, "Force to use full runtime in all constructs when offloading to CUDA devices")
  216 LANGOPT(OpenMPCUDANumSMs  , 32, 0, "Number of SMs for CUDA devices.")
  217 LANGOPT(OpenMPCUDABlocksPerSM  , 32, 0, "Number of blocks per SM for CUDA devices.")
  218 LANGOPT(OpenMPCUDAReductionBufNum , 32, 1024, "Number of the reduction records in the intermediate reduction buffer used for the teams reductions.")
  219 LANGOPT(OpenMPOptimisticCollapse  , 1, 0, "Use at most 32 bits to represent the collapsed loop nest counter.")
  220 LANGOPT(RenderScript      , 1, 0, "RenderScript")
  222 LANGOPT(CUDAIsDevice      , 1, 0, "compiling for CUDA device")
  223 LANGOPT(CUDAAllowVariadicFunctions, 1, 0, "allowing variadic functions in CUDA device code")
  224 LANGOPT(CUDAHostDeviceConstexpr, 1, 1, "treating unattributed constexpr functions as __host__ __device__")
  225 LANGOPT(CUDADeviceApproxTranscendentals, 1, 0, "using approximate transcendental functions")
  226 LANGOPT(GPURelocatableDeviceCode, 1, 0, "generate relocatable device code")
  227 LANGOPT(GPUAllowDeviceInit, 1, 0, "allowing device side global init functions for HIP")
  229 LANGOPT(SYCLIsDevice      , 1, 0, "Generate code for SYCL device")
  231 LANGOPT(HIPUseNewLaunchAPI, 1, 0, "Use new kernel launching API for HIP")
  233 LANGOPT(SizedDeallocation , 1, 0, "sized deallocation")
  234 LANGOPT(AlignedAllocation , 1, 0, "aligned allocation")
  235 LANGOPT(AlignedAllocationUnavailable, 1, 0, "aligned allocation functions are unavailable")
  236 LANGOPT(NewAlignOverride  , 32, 0, "maximum alignment guaranteed by '::operator new(size_t)'")
  237 LANGOPT(ConceptsTS , 1, 0, "enable C++ Extensions for Concepts")
  244 LANGOPT(NoConstantCFStrings , 1, 0, "no constant CoreFoundation strings")
  246 LANGOPT(GlobalAllocationFunctionVisibilityHidden , 1, 0, "hidden visibility for global operator new and delete declaration")
  253 LANGOPT(SinglePrecisionConstants , 1, 0, "treating double-precision floating point constants as single precision constants")
  254 LANGOPT(FastRelaxedMath , 1, 0, "OpenCL fast relaxed math")
  257 LANGOPT(NoBitFieldTypeAlign , 1, 0, "bit-field type alignment")
  258 LANGOPT(HexagonQdsp6Compat , 1, 0, "hexagon-qdsp6 backward compatibility")
  259 LANGOPT(ObjCAutoRefCount , 1, 0, "Objective-C automated reference counting")
  260 LANGOPT(ObjCWeakRuntime     , 1, 0, "__weak support in the ARC runtime")
  261 LANGOPT(ObjCWeak            , 1, 0, "Objective-C __weak in ARC and MRC files")
  262 LANGOPT(ObjCSubscriptingLegacyRuntime         , 1, 0, "Subscripting support in legacy ObjectiveC runtime")
  263 LANGOPT(CFProtectionBranch , 1, 0, "Control-Flow Branch Protection enabled")
  264 LANGOPT(FakeAddressSpaceMap , 1, 0, "OpenCL fake address space map")
  266 LANGOPT(IncludeDefaultHeader, 1, 0, "Include default header file for OpenCL")
  267 LANGOPT(DeclareOpenCLBuiltins, 1, 0, "Declare OpenCL builtin functions")
  269 LANGOPT(BlocksRuntimeOptional , 1, 0, "optional blocks runtime")
  270 LANGOPT(
  280 LANGOPT(SetVisibilityForExternDecls, 1, 0,
  305 VALUE_LANGOPT(MSCompatibilityVersion, 32, 0, "Microsoft Visual C/C++ Version")
  306 VALUE_LANGOPT(VtorDispMode, 2, 1, "How many vtordisps to insert")
  308 LANGOPT(ApplePragmaPack, 1, 0, "Apple gcc-compatible #pragma pack handling")
  310 LANGOPT(RetainCommentsFromSystemHeaders, 1, 0, "retain documentation comments from system headers in the AST")
  312 LANGOPT(SanitizeAddressFieldPadding, 2, 0, "controls how aggressive is ASan "
  316 LANGOPT(Cmse, 1, 0, "ARM Security extensions support")
  318 LANGOPT(XRayInstrument, 1, 0, "controls whether to do XRay instrumentation")
  319 LANGOPT(XRayAlwaysEmitCustomEvents, 1, 0,
  322 LANGOPT(XRayAlwaysEmitTypedEvents, 1, 0,
  326 LANGOPT(ForceEmitVTables, 1, 0, "whether to emit all vtables")
  335 COMPATIBLE_VALUE_LANGOPT(FunctionAlignment, 5, 0, "Default alignment for functions")
  337 LANGOPT(FixedPoint, 1, 0, "fixed point types")
  338 LANGOPT(PaddingOnUnsignedFixedPoint, 1, 0,
  341 LANGOPT(RegisterStaticDestructors, 1, 1, "Register C++ static destructors")
tools/clang/include/clang/Basic/MacroBuilder.h
   30     Out << "#define " << Name << ' ' << Value << '\n';
   36     Out << "#undef " << Name << '\n';
tools/clang/include/clang/Basic/PlistSupport.h
   68   return o << PlistHeader;
   72   o << "<integer>";
   74   o << "</integer>";
   79   o << "<string>";
   87       o << "&amp;";
   90       o << "&lt;";
   93       o << "&gt;";
   96       o << "&apos;";
   99       o << "&quot;";
  103   o << "</string>";
  113   Indent(o, indent) << "<dict>\n";
  114   Indent(o, indent) << " <key>line</key>";
  116   Indent(o, indent) << " <key>col</key>";
  118   Indent(o, indent) << " <key>file</key>";
  120   Indent(o, indent) << "</dict>\n";
  128   Indent(o, indent) << "<array>\n";
  135   Indent(o, indent) << "</array>\n";
tools/clang/include/clang/Frontend/CommandLineSourceLoc.h
  122         errs() << "error: "
  123                << "source location must be of the form filename:line:column\n";
tools/clang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h
   69     OS << "concrete memory address '" << I << "'";
   69     OS << "concrete memory address '" << I << "'";
   81     OS << (I.isSigned() ? "signed " : "unsigned ") << I.getBitWidth()
   82        << "-bit integer '" << I << "'";
   82        << "-bit integer '" << I << "'";
  121     OS << "(" << Visit(S->getLHS()) << ") "
  121     OS << "(" << Visit(S->getLHS()) << ") "
  122        << std::string(BinaryOperator::getOpcodeStr(S->getOpcode())) << " "
  170     OS << "element of type '" << R->getElementType().getAsString()
  171        << "' with index ";
  176       OS << "'" << Visit(R->getIndex()) << "'";
  176       OS << "'" << Visit(R->getIndex()) << "'";
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
  216     Indent(Out, Space, IsDot) << "\"constraints\": ";
  218       Out << "null," << NL;
  218       Out << "null," << NL;
  223     Out << '[' << NL;
  227           << "{ \"symbol\": \"" << I->first << "\", \"range\": \"";
  227           << "{ \"symbol\": \"" << I->first << "\", \"range\": \"";
  229       Out << "\" }";
  233       Out << NL;
  237     Indent(Out, Space, IsDot) << "],";
tools/clang/include/clang/Tooling/DiagnosticsYaml.h
   44         llvm::errs() << "Fix conflicts with existing fix: "
   45                      << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 1780     OS << "[\n";
 1782   ~JSONEditWriter() override { OS << "]\n"; }
 1791       OS << " {\n";
 1794       OS << " },\n";
 1805       OS << "  \"file\": \"";
 1806       OS.write_escaped(Path.str()) << "\",\n";
 1807       OS << "  \"offset\": " << Offset << ",\n";
 1807       OS << "  \"offset\": " << Offset << ",\n";
 1820       OS << "  \"remove\": " << Length << ",\n";
 1820       OS << "  \"remove\": " << Length << ",\n";
 1824       OS << "  \"text\": \"";
 1825       OS.write_escaped(Text) << "\",\n";
tools/clang/lib/ARCMigrate/PlistReporter.cpp
   61     llvm::errs() << "error: could not create file: " << outPath << '\n';
   70   o << "<dict>\n"
   75     EmitString(o << "  ", SM.getFileEntryForID(FID)->getName()) << '\n';
   77   o << " </array>\n"
   89     o << "  <dict>\n";
   92     o << "   <key>description</key>";
   94     o << "   <key>category</key>";
   97     o << "   <key>type</key>";
  101     o << "  <key>location</key>\n";
  106       o << "   <key>ranges</key>\n";
  107       o << "   <array>\n";
  113       o << "   </array>\n";
  117     o << "  </dict>\n";
  120   o << " </array>\n";
  123   o << "</dict>\n</plist>\n";
tools/clang/lib/ARCMigrate/TransGCAttrs.cpp
  334   llvm::errs() << "\n################\n";
  337     llvm::errs() << "KIND: "
  338         << (Attr.Kind == GCAttrOccurrence::Strong ? "strong" : "weak");
  339     llvm::errs() << "\nLOC: ";
  341     llvm::errs() << "\nTYPE: ";
  344       llvm::errs() << "DECL:\n";
  347       llvm::errs() << "DECL: NONE";
  349     llvm::errs() << "\nMIGRATABLE: " << Attr.FullyMigratable;
  350     llvm::errs() << "\n----------------\n";
  352   llvm::errs() << "\n################\n";
tools/clang/lib/AST/APValue.cpp
   30   Out << "typeid(";
   32   Out << ")";
  397     OS << "None";
  400     OS << "Indeterminate";
  403     OS << "Int: " << getInt();
  406     OS << "Float: " << GetApproxValue(getFloat());
  409     OS << "FixedPoint : " << getFixedPoint();
  412     OS << "Vector: ";
  415       OS << ", ";
  420     OS << "ComplexInt: " << getComplexIntReal() << ", " << getComplexIntImag();
  420     OS << "ComplexInt: " << getComplexIntReal() << ", " << getComplexIntImag();
  423     OS << "ComplexFloat: " << GetApproxValue(getComplexFloatReal())
  424        << ", " << GetApproxValue(getComplexFloatImag());
  427     OS << "LValue: <todo>";
  430     OS << "Array: ";
  433       if (I != getArraySize() - 1) OS << ", ";
  436       OS << getArraySize() - getArrayInitializedElts() << " x ";
  441     OS << "Struct ";
  443       OS << " bases: ";
  446         OS << ", ";
  451       OS << " fields: ";
  454         OS << ", ";
  460     OS << "Union: ";
  464     OS << "MemberPointer: <todo>";
  467     OS << "AddrLabelDiff: <todo>";
  477     Out << "<out of lifetime>";
  480     Out << "<uninitialized>";
  484       Out << (getInt().getBoolValue() ? "true" : "false");
  499       Out << ", ";
  506     Out << getComplexIntReal() << "+" << getComplexIntImag() << "i";
  506     Out << getComplexIntReal() << "+" << getComplexIntImag() << "i";
  509     Out << GetApproxValue(getComplexFloatReal()) << "+"
  510         << GetApproxValue(getComplexFloatImag()) << "i";
  522         Out << (Ctx.getLangOpts().CPlusPlus11 ? "nullptr" : "0");
  524         Out << "*(" << InnerTy.stream(Ctx.getPrintingPolicy()) << "*)"
  524         Out << "*(" << InnerTy.stream(Ctx.getPrintingPolicy()) << "*)"
  527         Out << "(" << Ty.stream(Ctx.getPrintingPolicy()) << ")"
  527         Out << "(" << Ty.stream(Ctx.getPrintingPolicy()) << ")"
  539           Out << "*(";
  541           Out << "(char*)";
  554         Out << "{*new "
  555             << Base.getDynamicAllocType().stream(Ctx.getPrintingPolicy()) << "#"
  556             << DA.getIndex() << "}";
  565         Out << " + " << (O / S);
  576       Out << "*(&";
  586       Out << "{*new "
  587           << Base.getDynamicAllocType().stream(Ctx.getPrintingPolicy()) << "#"
  588           << DA.getIndex() << "}";
  611           Out << ".";
  613             Out << *CastToBase << "::";
  628       Out << " + 1";
  641         Out << ", ";
  644           Out << "...";
  663           Out << ", ";
  670         Out << ", ";
  682       Out << "." << *FD << " = ";
  682       Out << "." << *FD << " = ";
  691       Out << '&' << *cast<CXXRecordDecl>(VD->getDeclContext()) << "::" << *VD;
  694     Out << "0";
  697     Out << "&&" << getAddrLabelDiffLHS()->getLabel()->getName();
  698     Out << " - ";
  699     Out << "&&" << getAddrLabelDiffRHS()->getLabel()->getName();
tools/clang/lib/AST/ASTContext.cpp
  975   llvm::errs() << "\n*** AST Context Stats:\n";
  976   llvm::errs() << "  " << Types.size() << " types total.\n";
  976   llvm::errs() << "  " << Types.size() << " types total.\n";
 1003   llvm::errs() << "Total bytes = " << TotalBytes << "\n";
 1003   llvm::errs() << "Total bytes = " << TotalBytes << "\n";
 1006   llvm::errs() << NumImplicitDefaultConstructorsDeclared << "/"
 1008                << " implicit default constructors created\n";
 1009   llvm::errs() << NumImplicitCopyConstructorsDeclared << "/"
 1011                << " implicit copy constructors created\n";
 1013     llvm::errs() << NumImplicitMoveConstructorsDeclared << "/"
 1015                  << " implicit move constructors created\n";
 1016   llvm::errs() << NumImplicitCopyAssignmentOperatorsDeclared << "/"
 1018                << " implicit copy assignment operators created\n";
 1020     llvm::errs() << NumImplicitMoveAssignmentOperatorsDeclared << "/"
 1022                  << " implicit move assignment operators created\n";
 1023   llvm::errs() << NumImplicitDestructorsDeclared << "/"
 1025                << " implicit destructors created\n";
 1028     llvm::errs() << "\n";
tools/clang/lib/AST/ASTDiagnostic.cpp
  308       OS << "'" << S << "' (vector of " << VTy->getNumElements() << " '"
  308       OS << "'" << S << "' (vector of " << VTy->getNumElements() << " '"
  308       OS << "'" << S << "' (vector of " << VTy->getNumElements() << " '"
  310          << "' " << Values << ")";
  310          << "' " << Values << ")";
  310          << "' " << Values << ")";
  348         OS << "unqualified";
  431           OS << "the global namespace";
  433           OS << "the global scope";
  435         OS << "block literal";
  437         OS << "lambda expression";
  446           OS << "namespace ";
  448           OS << "method ";
  450           OS << "function ";
  461       OS << '\'' << At->getSpelling() << '\'';
 1550           OS << FromTD->getNameAsString() << "<>";
 1568               OS << ", ";
 1573             OS << ", ";
 1577             OS << "...";
 1583         OS << ">";
 1651     OS << (FromDefault ? "(default) " : "");
 1656       OS << " != " << (ToDefault ? "(default) " : "");
 1656       OS << " != " << (ToDefault ? "(default) " : "");
 1660       OS << "]";
 1673       OS << (FromDefault ? "(default) " : "");
 1678       OS << (FromDefault ? "[(default) " : "[");
 1682       OS << " != " << (ToDefault ? "(default) " : "");
 1682       OS << " != " << (ToDefault ? "(default) " : "");
 1696     OS << "(no argument)";
 1713       OS << "template " << FromTD->getNameAsString();
 1715       OS << (FromDefault ? "(default) template " : "template ");
 1720       OS << (FromDefault ? "[(default) template " : "[template ");
 1724       OS << " != " << (ToDefault ? "(default) template " : "template ");
 1724       OS << " != " << (ToDefault ? "(default) template " : "template ");
 1743         OS << ((FromInt == 0) ? "false" : "true");
 1754       OS << (FromDefault ? "(default) " : "");
 1757       OS << (FromDefault ? "[(default) " : "[");
 1759       OS << " != " << (ToDefault ? "(default) " : "");
 1759       OS << " != " << (ToDefault ? "(default) " : "");
 1774         OS << " aka ";
 1779         OS << "(";
 1783         OS << ") ";
 1787         OS << ((Val == 0) ? "false" : "true");
 1794       OS << "(no argument)";
 1822         OS << "&";
 1832           OS << " aka ";
 1835           OS << " aka ";
 1839       OS << "nullptr";
 1843     OS << "(no argument)";
 1858       OS << (FromDefault ? "(default) " : "");
 1863       OS << (FromDefault ? "[(default) " : "[");
 1867       OS << " != " << (ToDefault ? "(default) " : "");
 1867       OS << " != " << (ToDefault ? "(default) " : "");
 1882       OS << (DefaultDecl ? "(default) " : "");
 1887       OS << (DefaultDecl ? "[(default) " : "[");
 1891       OS << " != " << (DefaultInt ? "(default) " : "");
 1891       OS << " != " << (DefaultInt ? "(default) " : "");
 1904       OS << (DefaultInt ? "(default) " : "");
 1907       OS << (DefaultInt ? "[(default) " : "[");
 1909       OS << " != " << (DefaultDecl ? "(default) " : "");
 1909       OS << " != " << (DefaultDecl ? "(default) " : "");
 1922         OS << "  ";
 1926       OS << "[...]";
 1928       OS << "[" << NumElideArgs << " * ...]";
 1928       OS << "[" << NumElideArgs << " * ...]";
 1958       OS << "[";
 1961         OS << "(no qualifiers) ";
 1967       OS << "!= ";
 1970         OS << "(no qualifiers)";
 1978       OS << "] ";
tools/clang/lib/AST/ASTDumper.cpp
   27     OS << "StoredDeclsMap ";
   32       OS << " primary";
   46         OS << "DeclarationName ";
   58               OS << " hidden";
   78         OS << "<undeserialized lookups>";
  158     llvm::errs() << msg << ": ";
  158     llvm::errs() << msg << ": ";
tools/clang/lib/AST/ASTImporterLookupTable.cpp
  119     llvm::errs() << "empty\n";
  123     llvm::errs() << "==== Name: ";
  136     llvm::errs() << "== DC:" << cast<Decl>(DC) << Primary << "\n";
  136     llvm::errs() << "== DC:" << cast<Decl>(DC) << Primary << "\n";
tools/clang/lib/AST/ASTTypeTraits.cpp
  139       OS << "(empty NestedNameSpecifierLoc)";
  151     OS << "Unable to print values of type " << NodeKind.asStringRef() << "\n";
  151     OS << "Unable to print values of type " << NodeKind.asStringRef() << "\n";
  162     OS << "Unable to dump values of type " << NodeKind.asStringRef() << "\n";
  162     OS << "Unable to dump values of type " << NodeKind.asStringRef() << "\n";
tools/clang/lib/AST/CommentLexer.cpp
   22   llvm::errs() << "comments::Token Kind=" << Kind << " ";
   22   llvm::errs() << "comments::Token Kind=" << Kind << " ";
   24   llvm::errs() << " " << Length << " \"" << L.getSpelling(*this, SM) << "\"\n";
   24   llvm::errs() << " " << Length << " \"" << L.getSpelling(*this, SM) << "\"\n";
   24   llvm::errs() << " " << Length << " \"" << L.getSpelling(*this, SM) << "\"\n";
tools/clang/lib/AST/DataCollection.cpp
   25   MacroStack << " ";
tools/clang/lib/AST/Decl.cpp
   84     OS << ": ";
   86   OS << Message;
   89     OS << " '";
   91     OS << "'";
 1572     OS << "(anonymous)";
 1617         OS << (P.MSVCFormatting ? "`anonymous namespace\'"
 1624         OS << "(anonymous " << RD->getKindName() << ')';
 1637             OS << ", ";
 1643             OS << ", ";
 1644           OS << "...";
 1663     OS << "::";
tools/clang/lib/AST/DeclBase.cpp
  170   llvm::errs() << "\n*** Decl Stats:\n";
  176   llvm::errs() << "  " << totalDecls << " decls total.\n";
  176   llvm::errs() << "  " << totalDecls << " decls total.\n";
  190   llvm::errs() << "Total bytes = " << totalBytes << "\n";
  190   llvm::errs() << "Total bytes = " << totalBytes << "\n";
  275     OS << ": ";
  278   OS << Message;
  281     OS << " '";
  524       Out << "not available on " << PrettyPlatformName
  538       Out << "introduced in " << PrettyPlatformName << ' '
  551       Out << "obsoleted in " << PrettyPlatformName << ' '
  564       Out << "first deprecated in " << PrettyPlatformName << ' '
tools/clang/lib/AST/DeclCXX.cpp
 3050       os << ", ";
tools/clang/lib/AST/DeclPrinter.cpp
  201       if (!isFirst) Out << ", ";
  223     Out << "  ";
  284   Out << ";\n";
  292   case AS_public:    Out << "public"; break;
  293   case AS_protected: Out << "protected"; break;
  294   case AS_private:   Out << "private"; break;
  311       Out << ", ";
  320     Out << "(";
  352             Out << ", ";
  357     Out << ")";
  359       Out << "...";
  431       Out << ":\n";
  473       Out << Terminator;
  481       Out << "\n";
  486       Out << "#pragma omp end declare target\n";
  502     Out << "typedef ";
  505       Out << "__module_private__ ";
  513   Out << "using " << *D;
  515   Out << " = " << D->getTypeSourceInfo()->getType().getAsString(Policy);
  520     Out << "__module_private__ ";
  521   Out << "enum";
  524       Out << " class";
  526       Out << " struct";
  534     Out << " : " << D->getIntegerType().stream(Policy);
  537     Out << " {\n";
  539     Indent() << "}";
  545     Out << "__module_private__ ";
  554     Out << " {\n";
  556     Indent() << "}";
  564     Out << " = ";
  575     EOut << "(";
  577     EOut << ")";
  579   EOut << " ";
  590     Out << "template<> ";
  603     case SC_Extern: Out << "extern "; break;
  604     case SC_Static: Out << "static "; break;
  605     case SC_PrivateExtern: Out << "__private_extern__ "; break;
  610     if (D->isInlineSpecified())  Out << "inline ";
  611     if (D->isVirtualAsWritten()) Out << "virtual ";
  612     if (D->isModulePrivate())    Out << "__module_private__ ";
  614       Out << "constexpr ";
  615     if (D->isConsteval())        Out << "consteval ";
  661         if (i) POut << ", ";
  666         if (D->getNumParams()) POut << ", ";
  667         POut << "...";
  730           Out << "auto ";
  731         Out << Proto << " -> ";
  745     Out << " = 0";
  747     Out << " = delete";
  749     Out << " = default";
  761           Out << ";\n";
  771         Out << " {}";
  781     Out << "friend ";
  782     Out << " " << TSI->getType().getAsString(Policy);
  786     Out << "friend ";
  791     Out << "friend ";
  796     Out << "friend ";
  804     Out << "mutable ";
  806     Out << "__module_private__ ";
  812     Out << " : ";
  819       Out << " ";
  821       Out << " = ";
  828   Out << *D << ":";
  841       Out << VarDecl::getStorageClassSpecifierString(SC) << " ";
  841       Out << VarDecl::getStorageClassSpecifierString(SC) << " ";
  847       Out << "__thread ";
  850       Out << "_Thread_local ";
  853       Out << "thread_local ";
  858       Out << "__module_private__ ";
  861       Out << "constexpr ";
  880         Out << "(";
  882         Out << " = ";
  889         Out << ")";
  900   Out << "__asm (";
  902   Out << ")";
  906   Out << "@import " << D->getImportedModule()->getFullModuleName()
  907       << ";\n";
  911   Out << "static_assert(";
  914     Out << ", ";
  917   Out << ")";
  925     Out << "inline ";
  926   Out << "namespace " << *D << " {\n";
  926   Out << "namespace " << *D << " {\n";
  928   Indent() << "}";
  932   Out << "using namespace ";
  939   Out << "namespace " << *D << " = ";
  939   Out << "namespace " << *D << " = ";
  952     Out << "__module_private__ ";
  969       Out << " : ";
  973           Out << ", ";
  976           Out << "virtual ";
  981           Out << " ";
  986           Out << "...";
  993       Out << " {}";
  995       Out << " {\n";
  997       Indent() << "}";
 1019   Out << "extern \"" << l << "\" ";
 1019   Out << "extern \"" << l << "\" ";
 1019   Out << "extern \"" << l << "\" ";
 1021     Out << "{\n";
 1023     Indent() << "}";
 1033     Out << "template ";
 1042       Out << ", ";
 1049         Out << "typename";
 1051         Out << "class";
 1054         Out << " ...";
 1061         Out << " = ";
 1071         Out << " = ";
 1088   Out << "<";
 1092       Out << ", ";
 1121   Out << ">";
 1129     Out << "class ";
 1131       Out << "...";
 1136     Out << "concept " << Concept->getName() << " = " ;
 1136     Out << "concept " << Concept->getName() << " = " ;
 1139     Out << ";";
 1155     Out << "#pragma omp end declare target\n";
 1168           Out << ";\n";
 1183           Out << ";";
 1184         Out << "\n";
 1192   Out << "template<> ";
 1211     Out << "in ";
 1213     Out << "inout ";
 1215     Out << "out ";
 1217     Out << "bycopy ";
 1219     Out << "byref ";
 1221     Out << "oneway ";
 1232   Out << "<";
 1238       Out << ", ";
 1246       Out << "__covariant ";
 1250       Out << "__contravariant ";
 1257       Out << " : " << Param->getUnderlyingType().getAsString(Policy);
 1260   Out << ">";
 1265     Out << "- ";
 1267     Out << "+ ";
 1279       Out << " ";
 1292       Out << ", ...";
 1310     Out << "@implementation " << I << " : " << *SID;
 1310     Out << "@implementation " << I << " : " << *SID;
 1312     Out << "@implementation " << I;
 1315     Out << "{\n";
 1320                     getAsString(Policy) << ' ' << *I << ";\n";
 1323     Out << "}\n";
 1326     Out << "\n";
 1331     Out << "\n";
 1332   Out << "@end";
 1340     Out << "@class " << I;
 1346     Out << ";";
 1350   Out << "@interface " << I;
 1357     Out << " : " << QualType(OID->getSuperClassType(), 0).getAsString(Policy);
 1365     Out << "> ";
 1369     Out << "{\n";
 1375                       .getAsString(Policy) << ' ' << *I << ";\n";
 1378     Out << "}\n";
 1381     Out << "\n";
 1387     Out << "\n";
 1388   Out << "@end";
 1394     Out << "@protocol " << *PID << ";\n";
 1394     Out << "@protocol " << *PID << ";\n";
 1400     Out << "@protocol " << *PID;
 1404     Out << ">\n";
 1406     Out << "@protocol " << *PID << '\n';
 1408   Out << "@end";
 1412   Out << "@implementation " << *PID->getClassInterface() << '(' << *PID <<")\n";
 1412   Out << "@implementation " << *PID->getClassInterface() << '(' << *PID <<")\n";
 1415   Out << "@end";
 1420   Out << "@interface " << *PID->getClassInterface();
 1424   Out << "(" << *PID << ")\n";
 1424   Out << "(" << *PID << ")\n";
 1426     Out << "{\n";
 1430                     getAsString(Policy) << ' ' << *I << ";\n";
 1432     Out << "}\n";
 1436   Out << "@end";
 1442   Out << "@compatibility_alias " << *AID
 1443       << ' ' << *AID->getClassInterface() << ";\n";
 1457     Out << "@required\n";
 1459     Out << "@optional\n";
 1463   Out << "@property";
 1466     Out << "(";
 1468       Out << (first ? "" : ", ") << "class";
 1468       Out << (first ? "" : ", ") << "class";
 1474       Out << (first ? "" : ", ") << "nonatomic";
 1474       Out << (first ? "" : ", ") << "nonatomic";
 1479       Out << (first ? "" : ", ") << "atomic";
 1479       Out << (first ? "" : ", ") << "atomic";
 1484       Out << (first ? "" : ", ") << "assign";
 1484       Out << (first ? "" : ", ") << "assign";
 1488       Out << (first ? "" : ", ") << "retain";
 1488       Out << (first ? "" : ", ") << "retain";
 1493       Out << (first ? "" : ", ") << "strong";
 1493       Out << (first ? "" : ", ") << "strong";
 1497       Out << (first ? "" : ", ") << "copy";
 1497       Out << (first ? "" : ", ") << "copy";
 1501       Out << (first ? "" : ", ") << "weak";
 1501       Out << (first ? "" : ", ") << "weak";
 1506       Out << (first ? "" : ", ") << "unsafe_unretained";
 1506       Out << (first ? "" : ", ") << "unsafe_unretained";
 1512       Out << (first ? "" : ", ") << "readwrite";
 1512       Out << (first ? "" : ", ") << "readwrite";
 1517       Out << (first ? "" : ", ") << "readonly";
 1517       Out << (first ? "" : ", ") << "readonly";
 1522       Out << (first ? "" : ", ") << "getter = ";
 1522       Out << (first ? "" : ", ") << "getter = ";
 1527       Out << (first ? "" : ", ") << "setter = ";
 1527       Out << (first ? "" : ", ") << "setter = ";
 1538           Out << (first ? "" : ", ") << "null_resettable";
 1538           Out << (first ? "" : ", ") << "null_resettable";
 1540           Out << (first ? "" : ", ")
 1548     Out << ")";
 1562     Out << "@synthesize ";
 1564     Out << "@dynamic ";
 1572     Out << "using ";
 1574     Out << "typename ";
 1592   Out << "using typename ";
 1599     Out << "using ";
 1609   Out << "#pragma omp threadprivate";
 1618     Out << ")";
 1623   Out << "#pragma omp allocate";
 1632     Out << ")";
 1635     Out << " ";
 1643   Out << "#pragma omp requires ";
 1653     Out << "#pragma omp declare reduction (";
 1658       Out << OpName;
 1663     Out << " : ";
 1665     Out << " : ";
 1667     Out << ")";
 1669       Out << " initializer(";
 1672         Out << "omp_priv(";
 1675         Out << "omp_priv = ";
 1682         Out << ")";
 1683       Out << ")";
 1690     Out << "#pragma omp declare mapper (";
 1692     Out << " : ";
 1694     Out << " ";
 1696     Out << ")";
 1700         Out << " ";
tools/clang/lib/AST/DeclarationName.cpp
  158     OS << "<deduction guide for ";
  167     OS << "operator";
  170     OS << OpName;
  175     OS << "operator\"\"" << getCXXLiteralIdentifier()->getName();
  179     OS << "operator ";
  192     OS << "<using-directive>";
  474         OS << "operator ";
tools/clang/lib/AST/Expr.cpp
  710       Out << ComputeName(IK, DCDecl) << "_block_invoke";
  723         Out << "virtual ";
  725         Out << "static ";
  742       case CC_C: POut << "__cdecl "; break;
  743       case CC_X86StdCall: POut << "__stdcall "; break;
  744       case CC_X86FastCall: POut << "__fastcall "; break;
  745       case CC_X86ThisCall: POut << "__thiscall "; break;
  746       case CC_X86VectorCall: POut << "__vectorcall "; break;
  747       case CC_X86RegCall: POut << "__regcall "; break;
  755     POut << "(";
  758         if (i) POut << ", ";
  763         if (FD->getNumParams()) POut << ", ";
  764         POut << "...";
  768         POut << "void";
  771     POut << ")";
  776         POut << " const";
  778         POut << " volatile";
  781         POut << " &";
  783         POut << " &&";
  808         TOut << Param << " = ";
  810         TOut << ", ";
  824         TOut << Param << " = ";
  826         TOut << ", ";
  834       POut << " [" << TemplateParams << "]";
  834       POut << " [" << TemplateParams << "]";
 1107   case UTF8:  OS << "u8"; break;
 1138           OS << "\\x";
 1149           OS << "\\U00"
 1153           OS << "\\u";
 1169             OS << "\"\"";
 1185     case '\\': OS << "\\\\"; break;
 1186     case '"': OS << "\\\""; break;
 1187     case '\a': OS << "\\a"; break;
 1188     case '\b': OS << "\\b"; break;
 1189     case '\f': OS << "\\f"; break;
 1190     case '\n': OS << "\\n"; break;
 1191     case '\r': OS << "\\r"; break;
 1192     case '\t': OS << "\\t"; break;
 1193     case '\v': OS << "\\v"; break;
tools/clang/lib/AST/ExprConstant.cpp
 1818     Out << "->" << *Callee << '(';
 1825       Out << ", ";
 1832       Out << "->" << *Callee << '(';
 9519   LLVM_DEBUG(llvm::dbgs() << "The number of elements to initialize: "
 9520                           << NumEltsToInit << ".\n");
tools/clang/lib/AST/ExternalASTMerger.cpp
  204         logs() << "(ExternalASTMerger*)" << (void*)&Parent
  205                << " imported (DeclContext*)" << (void*)ToDC
  206                << ", (ASTContext*)" << (void*)&getToContext()
  207                << " from (DeclContext*)" << (void*)llvm::cast<DeclContext>(From)
  208                << ", (ASTContext*)" << (void*)&getFromContext()
  209                << "\n";
  215           logs() << "(ExternalASTMerger*)" << (void*)&Parent
  216                  << " forced origin (DeclContext*)"
  218                  << ", (ASTContext*)"
  220                  << "\n";
  224           logs() << "(ExternalASTMerger*)" << (void*)&Parent
  225                  << " maybe recording origin (DeclContext*)" << (void*)FromDC
  226                  << ", (ASTContext*)" << (void*)&getFromContext()
  227                  << "\n";
  300       logs() << "(ExternalASTMerger*)" << (void*)this
  301              << " asserting for (DeclContext*)" << (const void*)DC
  302              << ", (ASTContext*)" << (void*)&Target.AST
  303              << "\n";
  379     logs() << "(ExternalASTMerger*)" << (void*)this
  380              << (DoRecord ? " decided " : " decided NOT")
  381              << " to record origin (DeclContext*)" << (void*)Origin.DC
  382              << ", (ASTContext*)" << (void*)&Origin.AST
  383              << "\n";
  425       logs() << "(ExternalASTMerger*)" << (void *)this
  426              << " removing source (ASTContext*)" << (void *)&S.getASTContext()
  427              << "\n";
tools/clang/lib/AST/FormatString.cpp
  706         os << ".";
  708       os << "*" << getPositionalArgIndex() << "$";
  708       os << "*" << getPositionalArgIndex() << "$";
  710       os << "*";
  714         os << ".";
tools/clang/lib/AST/InheritViz.cpp
   44     Out << "digraph \"" << llvm::DOT::EscapeString(Type.getAsString())
   45         << "\" {\n";
   47     Out << "}\n";
   75   Out << "  ";
   80   Out << " [ shape=\"box\", label=\"" << llvm::DOT::EscapeString(TypeName);
   86     Out << "\\n(" << CanonType.getAsString() << ")";
   86     Out << "\\n(" << CanonType.getAsString() << ")";
   90   Out << " \"];\n";
  107     Out << "  ";
  109     Out << " -> ";
  114       Out << " [ style=\"dashed\" ]";
  116     Out << ";";
  128   Out << "Class_" << CanonType.getAsOpaquePtr();
  130     Out << "_" << DirectBaseCount[CanonType];
  143     llvm::errs() << "Error: " << EC.message() << "\n";
  143     llvm::errs() << "Error: " << EC.message() << "\n";
  147   llvm::errs() << "Writing '" << Filename << "'... ";
  147   llvm::errs() << "Writing '" << Filename << "'... ";
  153   llvm::errs() << " done. \n";
tools/clang/lib/AST/Interp/Boolean.h
   82   void print(llvm::raw_ostream &OS) const { OS << (V ? "true" : "false"); }
tools/clang/lib/AST/Interp/ByteCodeGenError.h
   27   void log(raw_ostream &OS) const override { OS << "unimplemented feature"; }
tools/clang/lib/AST/Interp/Disasm.cpp
   29       OS << Name << "::" << Name << ":\n";
   29       OS << Name << "::" << Name << ":\n";
   31       OS << F->getNameAsString() << ":\n";
   34     OS << "<<expr>>\n";
   37   OS << "frame size: " << getFrameSize() << "\n";
   37   OS << "frame size: " << getFrameSize() << "\n";
   38   OS << "arg size:   " << getArgSize() << "\n";
   38   OS << "arg size:   " << getArgSize() << "\n";
   39   OS << "rvo:        " << hasRVO() << "\n";
   39   OS << "rvo:        " << hasRVO() << "\n";
   42     OS << Name;
   51     OS << llvm::format("%8d", Addr) << " ";
tools/clang/lib/AST/Interp/InterpFrame.cpp
   65     OS << "nullptr";
   90     OS << "&";
  100       OS << "[" << It->expand().getIndex() << "]";
  100       OS << "[" << It->expand().getIndex() << "]";
  104       OS << " + " << Index;
  107     OS << ".";
  117     OS << "->";
  119   OS << *F << "(";
  134       OS << ", ";
  136   OS << ")";
tools/clang/lib/AST/Interp/Pointer.h
  304     OS << "{" << Base << ", " << Offset << ", ";
  304     OS << "{" << Base << ", " << Offset << ", ";
  304     OS << "{" << Base << ", " << Offset << ", ";
  308       OS << "nullptr";
  309     OS << "}";
tools/clang/lib/AST/ItaniumMangle.cpp
  369         Out << "B";
  646   Out << "_Z";
  711     Out << "Ua9enable_ifI";
  955     Out << "St";
 1139     Out << "gs";
 1143       Out << "sr";
 1156       Out << "sr";
 1164       Out << "sr";
 1182       Out << "sr";
 1197       Out << "sr";
 1224       Out << "dn";
 1231       Out << "on";
 1273       Out << "DC";
 1320         Out << "12_GLOBAL__N_1";
 1393       Out << "Ut";
 1490   Out << II->getLength() + sizeof("__regcall3__") - 1 << "__regcall3__"
 1640         Out << "__" << disc << '_';
 1681   Out << "Ub";
 1695       Out << "Tp";
 1696     Out << "Ty";
 1700         Out << "Tn";
 1706         Out << "Tp";
 1710       Out << "Tn";
 1717         Out << "Tt";
 1720         Out << "E";
 1724         Out << "Tp";
 1725       Out << "Tt";
 1728       Out << "E";
 1759   Out << "Ul";
 1761   Out << "E";
 1960     Out << "_SUBSTPACK_";
 2011     Out << "_SUBSTPACK_";
 2086       Out << "_SUBSTPACK_";
 2134     Out << "cv";
 2139     Out << "li";
 2153   case OO_New: Out << "nw"; break;
 2155   case OO_Array_New: Out << "na"; break;
 2157   case OO_Delete: Out << "dl"; break;
 2159   case OO_Array_Delete: Out << "da"; break;
 2163     Out << (Arity == 1? "ps" : "pl"); break;
 2167     Out << (Arity == 1? "ng" : "mi"); break;
 2171     Out << (Arity == 1? "ad" : "an"); break;
 2176     Out << (Arity == 1? "de" : "ml"); break;
 2178   case OO_Tilde: Out << "co"; break;
 2180   case OO_Slash: Out << "dv"; break;
 2182   case OO_Percent: Out << "rm"; break;
 2184   case OO_Pipe: Out << "or"; break;
 2186   case OO_Caret: Out << "eo"; break;
 2188   case OO_Equal: Out << "aS"; break;
 2190   case OO_PlusEqual: Out << "pL"; break;
 2192   case OO_MinusEqual: Out << "mI"; break;
 2194   case OO_StarEqual: Out << "mL"; break;
 2196   case OO_SlashEqual: Out << "dV"; break;
 2198   case OO_PercentEqual: Out << "rM"; break;
 2200   case OO_AmpEqual: Out << "aN"; break;
 2202   case OO_PipeEqual: Out << "oR"; break;
 2204   case OO_CaretEqual: Out << "eO"; break;
 2206   case OO_LessLess: Out << "ls"; break;
 2208   case OO_GreaterGreater: Out << "rs"; break;
 2210   case OO_LessLessEqual: Out << "lS"; break;
 2212   case OO_GreaterGreaterEqual: Out << "rS"; break;
 2214   case OO_EqualEqual: Out << "eq"; break;
 2216   case OO_ExclaimEqual: Out << "ne"; break;
 2218   case OO_Less: Out << "lt"; break;
 2220   case OO_Greater: Out << "gt"; break;
 2222   case OO_LessEqual: Out << "le"; break;
 2224   case OO_GreaterEqual: Out << "ge"; break;
 2226   case OO_Exclaim: Out << "nt"; break;
 2228   case OO_AmpAmp: Out << "aa"; break;
 2230   case OO_PipePipe: Out << "oo"; break;
 2232   case OO_PlusPlus: Out << "pp"; break;
 2234   case OO_MinusMinus: Out << "mm"; break;
 2236   case OO_Comma: Out << "cm"; break;
 2238   case OO_ArrowStar: Out << "pm"; break;
 2240   case OO_Arrow: Out << "pt"; break;
 2242   case OO_Call: Out << "cl"; break;
 2244   case OO_Subscript: Out << "ix"; break;
 2249   case OO_Conditional: Out << "qu"; break;
 2252   case OO_Coawait: Out << "aw"; break;
 2255   case OO_Spaceship: Out << "ss"; break;
 2269     Out << "U2ASI";
 2271     Out << "E";
 2585     Out << "Du";
 2588     Out << "Ds";
 2591     Out << "Di";
 2609     Out << "DF16_";
 2637     Out << "Dh";
 2650     Out << TI->getLongDoubleMangling();
 2658     Out << TI->getFloat128Mangling();
 2662     Out << "Dn";
 2674     Out << "11objc_object";
 2677     Out << "10objc_class";
 2680     Out << "13objc_selector";
 2689     Out << "11ocl_sampler";
 2692     Out << "9ocl_event";
 2695     Out << "12ocl_clkevent";
 2698     Out << "9ocl_queue";
 2701     Out << "13ocl_reserveid";
 2819       Out << "DO";
 2821       Out << "E";
 2824       Out << "Dw";
 2827       Out << "E";
 2830     Out << "Do";
 2912           Out << "U25pass_dynamic_object_size" << Attr->getType();
 2914           Out << "U17pass_object_size" << Attr->getType();
 2966   Out << "A_";
 3011   Out << "_SUBSTPACK_";
 3091   Out << BaseName << EltName;
 3091   Out << BaseName << EltName;
 3198   Out << "Dv" << T->getNumElements() << '_';
 3221   Out << "Dv";
 3236   Out << "Dv";
 3250   Out << "Dp";
 3261     Out << "U8__kindof";
 3267     QualOS << "objcproto";
 3287   Out << "U13block_pointer";
 3333       Out << "Ts";
 3336       Out << "Tu";
 3339       Out << "Te";
 3369   Out << "u6typeof";
 3375   Out << "u6typeof";
 3395     Out << "Dt";
 3397     Out << "DT";
 3410         Out << "3eut";
 3425   Out << (T->isDecltypeAuto() ? "Dc" : "Da");
 3441   Out << "U7_Atomic";
 3449   Out << "8ocl_pipe";
 3484     Out << "dtdefpT";
 3486     Out << (IsArrow ? "pt" : "dt");
 3687       Out << "u8__uuidoft";
 3691       Out << "u8__uuidofz";
 3713     Out << "il";
 3715     Out << "E";
 3723         Out << "di";
 3726         Out << "dx";
 3731         Out << "dX";
 3769       Out << "cp";
 3776       Out << "cl";
 3793     if (New->isGlobalNew()) Out << "gs";
 3794     Out << (New->isArray() ? "na" : "nw");
 3802         Out << "il";
 3804         Out << "pi";
 3838         Out << "sr";
 3846     Out << "dn";
 3899       Out << "tl";
 3902       Out << "E";
 3906     Out << "cv";
 3923     Out << "il";
 3926     Out << "E";
 3936       Out << "tl";
 3938       Out << "cv";
 3960     Out << "cv";
 3962     Out << "_E";
 3966     Out << "nx";
 4029       Out << "tw";
 4032       Out << "tr";
 4042       Out << "ti";
 4045       Out << "te";
 4055     if (DE->isGlobalDelete()) Out << "gs";
 4056     Out << (DE->isArrayForm() ? "da" : "dl");
 4074     Out << "ix";
 4084       Out << "ds";
 4123     Out << "v1U" << Kind.size() << Kind;
 4141       Out << "tl";
 4144       Out << "E";
 4184     Out << "L_Z";
 4202     Out << "_SUBSTPACK_";
 4208     Out << "v110_SUBSTPACK";
 4247     Out << "Lb";
 4253     Out << "Lb";
 4279       Out << "0_";
 4302     Out << "0E";
 4306     Out << "LDnE";
 4311     Out << "sp";
 4318       Out << "sP";
 4321       Out << "E";
 4325     Out << "sZ";
 4348       Out << (FE->getInit() ? "fL" : "fl");
 4350       Out << (FE->getInit() ? "fR" : "fr");
 4353       Out << "ds";
 4367     Out << "fpT";
 4372     Out << "v18co_await";
 4378     Out << "v18co_await";
 4384     Out << "v18co_yield";
 4431     Out << "fp";
 4433     Out << "fL" << (nestingDepth - 1) << 'p';
 4494     Out << "D0";
 4497     Out << "D1";
 4500     Out << "D2";
 4503     Out << "D5";
 4555     Out << "Dp";
 4608     Out << "0E";
 4774       Out << "St";
 4785       Out << "Sa";
 4791       Out << "Sb";
 4819       Out << "Ss";
 4826       Out << "Si";
 4833       Out << "So";
 4840       Out << "Sd";
 4988   Mangler.getStream() << "_ZT";
 5010   Mangler.getStream() << "_ZT";
 5027   Mangler.getStream() << "_ZGV";
 5036   Out << "__cxx_global_var_init";
 5043   Mangler.getStream() << "__dtor_";
 5053   Mangler.getStream() << "__filt_";
 5063   Mangler.getStream() << "__fin_";
 5074   Mangler.getStream() << "_ZTH";
 5083   Mangler.getStream() << "_ZTW";
 5093   Mangler.getStream() << "_ZGR";
 5103   Mangler.getStream() << "_ZTV";
 5111   Mangler.getStream() << "_ZTT";
 5121   Mangler.getStream() << "_ZTC";
 5132   Mangler.getStream() << "_ZTI";
 5140   Mangler.getStream() << "_ZTS";
tools/clang/lib/AST/Mangle.cpp
   41     Out << "__" << Outer << "_block_invoke";
   41     Out << "__" << Outer << "_block_invoke";
   43     Out << "__" << Outer << "_block_invoke_" << discriminator+1;
   43     Out << "__" << Outer << "_block_invoke_" << discriminator+1;
  164     Out << "__regcall3__";
  208     Out << "_block_invoke";
  210     Out << "_block_invoke_" << discriminator+1;
tools/clang/lib/AST/MicrosoftMangle.cpp
   66     OS << "??@" << HexString << '@';
  523       Out << "$$J0";
  685       Out << "$0A@";
  708   Out << "?_9";
  710   Out << "$B";
  742     Out << "A@";
  869           Out << "?A0x" << Context.getAnonymousNamespaceHash() << '@';
  996           Out << "?_O";
 1000           Out << "?_F";
 1004       Out << "?0";
 1021       Out << "?B";
 1029       Out << "?__K";
 1105       Out << "YAX";
 1115       Out << "@Z";
 1149   case Dtor_Base: Out << "?1"; return;
 1151   case Dtor_Complete: Out << "?_D"; return;
 1153   case Dtor_Deleting: Out << "?_G"; return;
 1169   case OO_New: Out << "?2"; break;
 1171   case OO_Delete: Out << "?3"; break;
 1173   case OO_Equal: Out << "?4"; break;
 1175   case OO_GreaterGreater: Out << "?5"; break;
 1177   case OO_LessLess: Out << "?6"; break;
 1179   case OO_Exclaim: Out << "?7"; break;
 1181   case OO_EqualEqual: Out << "?8"; break;
 1183   case OO_ExclaimEqual: Out << "?9"; break;
 1185   case OO_Subscript: Out << "?A"; break;
 1188   case OO_Arrow: Out << "?C"; break;
 1190   case OO_Star: Out << "?D"; break;
 1192   case OO_PlusPlus: Out << "?E"; break;
 1194   case OO_MinusMinus: Out << "?F"; break;
 1196   case OO_Minus: Out << "?G"; break;
 1198   case OO_Plus: Out << "?H"; break;
 1200   case OO_Amp: Out << "?I"; break;
 1202   case OO_ArrowStar: Out << "?J"; break;
 1204   case OO_Slash: Out << "?K"; break;
 1206   case OO_Percent: Out << "?L"; break;
 1208   case OO_Less: Out << "?M"; break;
 1210   case OO_LessEqual: Out << "?N"; break;
 1212   case OO_Greater: Out << "?O"; break;
 1214   case OO_GreaterEqual: Out << "?P"; break;
 1216   case OO_Comma: Out << "?Q"; break;
 1218   case OO_Call: Out << "?R"; break;
 1220   case OO_Tilde: Out << "?S"; break;
 1222   case OO_Caret: Out << "?T"; break;
 1224   case OO_Pipe: Out << "?U"; break;
 1226   case OO_AmpAmp: Out << "?V"; break;
 1228   case OO_PipePipe: Out << "?W"; break;
 1230   case OO_StarEqual: Out << "?X"; break;
 1232   case OO_PlusEqual: Out << "?Y"; break;
 1234   case OO_MinusEqual: Out << "?Z"; break;
 1236   case OO_SlashEqual: Out << "?_0"; break;
 1238   case OO_PercentEqual: Out << "?_1"; break;
 1240   case OO_GreaterGreaterEqual: Out << "?_2"; break;
 1242   case OO_LessLessEqual: Out << "?_3"; break;
 1244   case OO_AmpEqual: Out << "?_4"; break;
 1246   case OO_PipeEqual: Out << "?_5"; break;
 1248   case OO_CaretEqual: Out << "?_6"; break;
 1277   case OO_Array_New: Out << "?_U"; break;
 1279   case OO_Array_Delete: Out << "?_V"; break;
 1281   case OO_Coawait: Out << "?__L"; break;
 1283   case OO_Spaceship: Out << "?__M"; break;
 1344   Out << "?$";
 1351   Out << "$0";
 1386       Out << "$E?";
 1388       Out << "$1?";
 1429       Out << "$$Z";
 1469         Out << "$1?";
 1521         Out << (Context.getASTContext().getLangOpts().isCompatibleWithMSVC(
 1526         Out << "$S";
 1541       Out << "$$Y";
 1556   Stream << "?$";
 1570   Stream << "?$";
 1599   Stream << "?$";
 1836   Stream << "?$";
 1893       Out << "$$B";
 1916       Out << "$$C";
 2023     Out << "_J";
 2026     Out << "_K";
 2029     Out << "_L";
 2032     Out << "_M";
 2035     Out << "_N";
 2038     Out << "_Q";
 2041     Out << "_S";
 2044     Out << "_U";
 2048     Out << "_W";
 2074     Out << "PA";
 2078     Out << "PA";
 2082     Out << "PA";
 2086     Out << "PA";
 2090     Out << "PA";
 2100     Out << "$$T";
 2156     Out << "$$A8@@";
 2159     Out << "$$A6";
 2165   Out << "$$A6";
 2219         Out << (PointersAre64Bit ? "PEAXI@Z" : "PAXI@Z");
 2224         Out << "XXZ";
 2423     Out << "_E";
 2455       Out << "W4";
 2647   Out << "$$Q";
 2659   Stream << "?$";
 2720     Stream << "?$";
 2787   Out << "?$";
 2817   Out << "_E";
 2929   Stream << "?$";
 3090   Mangler.getStream() << "??_E";
 3106     Mangler.getStream() << "??_S";
 3108     Mangler.getStream() << "??_7";
 3110   Mangler.getStream() << "6B"; // '6' for vftable, 'B' for const.
 3125   Mangler.getStream() << "??_8";
 3127   Mangler.getStream() << "7B";  // '7' for vbtable, 'B' for const.
 3136   Mangler.getStream() << "??_R0";
 3138   Mangler.getStream() << "@8";
 3152   Mangler.getStream() << "??_K";
 3154   Mangler.getStream() << "$C";
 3165   Mangler.getStream() << "_TI";
 3180   Mangler.getStream() << "_CTA";
 3190   Mangler.getStream() << "_CT";
 3235   Mangler.getStream() << "??_R1";
 3241   Mangler.getStream() << "8";
 3248   Mangler.getStream() << "??_R2";
 3250   Mangler.getStream() << "8";
 3257   Mangler.getStream() << "??_R3";
 3259   Mangler.getStream() << "8";
 3275     Out << VFTableMangling << "??_R4@";
 3282   Out << "??_R4" << StringRef(VFTableMangling).drop_front(4);
 3293   Mangler.getStream() << "?filt$" << SEHFilterIds[EnclosingDecl]++ << "@0@";
 3293   Mangler.getStream() << "?filt$" << SEHFilterIds[EnclosingDecl]++ << "@0@";
 3305   Mangler.getStream() << "?fin$" << SEHFinallyIds[EnclosingDecl]++ << "@0@";
 3305   Mangler.getStream() << "?fin$" << SEHFinallyIds[EnclosingDecl]++ << "@0@";
 3338   Mangler.getStream() << "?$RT" << ManglingNumber << '@';
 3347   Mangler.getStream() << "?$TSS" << GuardNum << '@';
 3349   Mangler.getStream() << "@4HA";
 3369     Mangler.getStream() << (VD->getTLSKind() ? "??__J" : "??_B");
 3371     Mangler.getStream() << "?$S1@";
 3381   Mangler.getStream() << (Visible ? "@5" : "@4IA");
 3391   Mangler.getStream() << "??__" << CharCode;
 3396     Mangler.getStream() << "@@";
 3402   Mangler.getStream() << "YAXXZ";
 3440   Mangler.getStream() << "??_C@_";
 3513         Mangler.getStream() << "?$";
tools/clang/lib/AST/NestedNameSpecifier.cpp
  298     OS << "__super";
  302     OS << "template ";
  347   OS << "::";
tools/clang/lib/AST/OpenMPClause.cpp
 1163   OS << "if(";
 1165     OS << getOpenMPDirectiveName(Node->getNameModifier()) << ": ";
 1165     OS << getOpenMPDirectiveName(Node->getNameModifier()) << ": ";
 1167   OS << ")";
 1171   OS << "final(";
 1173   OS << ")";
 1177   OS << "num_threads(";
 1179   OS << ")";
 1183   OS << "safelen(";
 1185   OS << ")";
 1189   OS << "simdlen(";
 1191   OS << ")";
 1195   OS << "allocator(";
 1197   OS << ")";
 1201   OS << "collapse(";
 1203   OS << ")";
 1207   OS << "default("
 1208      << getOpenMPSimpleClauseTypeName(OMPC_default, Node->getDefaultKind())
 1209      << ")";
 1213   OS << "proc_bind("
 1214      << getOpenMPSimpleClauseTypeName(OMPC_proc_bind, Node->getProcBindKind())
 1215      << ")";
 1219   OS << "unified_address";
 1224   OS << "unified_shared_memory";
 1228   OS << "reverse_offload";
 1233   OS << "dynamic_allocators";
 1238   OS << "atomic_default_mem_order("
 1239      << getOpenMPSimpleClauseTypeName(OMPC_atomic_default_mem_order,
 1241      << ")";
 1245   OS << "schedule(";
 1247     OS << getOpenMPSimpleClauseTypeName(OMPC_schedule,
 1250       OS << ", ";
 1251       OS << getOpenMPSimpleClauseTypeName(OMPC_schedule,
 1254     OS << ": ";
 1256   OS << getOpenMPSimpleClauseTypeName(OMPC_schedule, Node->getScheduleKind());
 1258     OS << ", ";
 1261   OS << ")";
 1265   OS << "ordered";
 1267     OS << "(";
 1269     OS << ")";
 1274   OS << "nowait";
 1278   OS << "untied";
 1282   OS << "nogroup";
 1286   OS << "mergeable";
 1289 void OMPClausePrinter::VisitOMPReadClause(OMPReadClause *) { OS << "read"; }
 1291 void OMPClausePrinter::VisitOMPWriteClause(OMPWriteClause *) { OS << "write"; }
 1294   OS << "update";
 1298   OS << "capture";
 1302   OS << "seq_cst";
 1306   OS << "threads";
 1309 void OMPClausePrinter::VisitOMPSIMDClause(OMPSIMDClause *) { OS << "simd"; }
 1312   OS << "device(";
 1314   OS << ")";
 1318   OS << "num_teams(";
 1320   OS << ")";
 1324   OS << "thread_limit(";
 1326   OS << ")";
 1330   OS << "priority(";
 1332   OS << ")";
 1336   OS << "grainsize(";
 1338   OS << ")";
 1342   OS << "num_tasks(";
 1344   OS << ")";
 1348   OS << "hint(";
 1350   OS << ")";
 1373   OS << "allocate";
 1375     OS << "(";
 1377     OS << ":";
 1382   OS << ")";
 1387     OS << "private";
 1389     OS << ")";
 1395     OS << "firstprivate";
 1397     OS << ")";
 1403     OS << "lastprivate";
 1405     OS << ")";
 1411     OS << "shared";
 1413     OS << ")";
 1419     OS << "reduction(";
 1426       OS << getOperatorSpelling(OOK);
 1433     OS << ":";
 1435     OS << ")";
 1442     OS << "task_reduction(";
 1449       OS << getOperatorSpelling(OOK);
 1456     OS << ":";
 1458     OS << ")";
 1464     OS << "in_reduction(";
 1471       OS << getOperatorSpelling(OOK);
 1478     OS << ":";
 1480     OS << ")";
 1486     OS << "linear";
 1489          << getOpenMPSimpleClauseTypeName(OMPC_linear, Node->getModifier());
 1495       OS << ": ";
 1498     OS << ")";
 1504     OS << "aligned";
 1507       OS << ": ";
 1510     OS << ")";
 1516     OS << "copyin";
 1518     OS << ")";
 1524     OS << "copyprivate";
 1526     OS << ")";
 1533     OS << ")";
 1538   OS << "depend(";
 1539   OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(),
 1542     OS << " :";
 1545   OS << ")";
 1550     OS << "map(";
 1554           OS << getOpenMPSimpleClauseTypeName(OMPC_map,
 1567       OS << getOpenMPSimpleClauseTypeName(OMPC_map, Node->getMapType());
 1571     OS << ")";
 1577     OS << "to";
 1581       OS << "mapper(";
 1586       OS << MapperId << "):";
 1591     OS << ")";
 1597     OS << "from";
 1601       OS << "mapper(";
 1606       OS << MapperId << "):";
 1611     OS << ")";
 1616   OS << "dist_schedule(" << getOpenMPSimpleClauseTypeName(
 1616   OS << "dist_schedule(" << getOpenMPSimpleClauseTypeName(
 1619     OS << ", ";
 1622   OS << ")";
 1626   OS << "defaultmap(";
 1627   OS << getOpenMPSimpleClauseTypeName(OMPC_defaultmap,
 1629   OS << ": ";
 1630   OS << getOpenMPSimpleClauseTypeName(OMPC_defaultmap,
 1632   OS << ")";
 1637     OS << "use_device_ptr";
 1639     OS << ")";
 1645     OS << "is_device_ptr";
 1647     OS << ")";
tools/clang/lib/AST/PrintfFormatString.cpp
  899   os << "%";
  903     os << getPositionalArgIndex() << "$";
  907   if (IsLeftJustified)    os << "-";
  908   if (HasPlusPrefix)      os << "+";
  909   if (HasSpacePrefix)     os << " ";
  910   if (HasAlternativeForm) os << "#";
  911   if (HasLeadingZeroes)   os << "0";
  923   os << LM.toString();
  925   os << CS.toString();
tools/clang/lib/AST/RecordLayoutBuilder.cpp
 3105     llvm::outs() << "\n*** Dumping AST Record Layout\n";
 3281   OS << llvm::right_justify(Buffer, 10) << " | ";
 3286   OS << "           | ";
 3303     OS << ' ' << Description;
 3305     OS << " (empty)";
 3319       OS << '(' << *RD << " vtable pointer)\n";
 3323       OS << '(' << *RD << " vftable pointer)\n";
 3353       OS << '(' << *RD << " vbtable pointer)\n";
 3399         OS << "(vtordisp for vbase " << *VBase << ")\n";
 3399         OS << "(vtordisp for vbase " << *VBase << ")\n";
 3413   OS << "[sizeof=" << Layout.getSize().getQuantity();
 3415     OS << ", dsize=" << Layout.getDataSize().getQuantity();
 3416   OS << ", align=" << Layout.getAlignment().getQuantity();
 3419     OS << ",\n";
 3421     OS << " nvsize=" << Layout.getNonVirtualSize().getQuantity();
 3422     OS << ", nvalign=" << Layout.getNonVirtualAlignment().getQuantity();
 3424   OS << "]\n";
 3445   OS << "Type: " << getTypeDeclType(RD).getAsString() << "\n";
 3445   OS << "Type: " << getTypeDeclType(RD).getAsString() << "\n";
 3446   OS << "\nLayout: ";
 3447   OS << "<ASTRecordLayout\n";
 3448   OS << "  Size:" << toBits(Info.getSize()) << "\n";
 3448   OS << "  Size:" << toBits(Info.getSize()) << "\n";
 3450     OS << "  DataSize:" << toBits(Info.getDataSize()) << "\n";
 3450     OS << "  DataSize:" << toBits(Info.getDataSize()) << "\n";
 3451   OS << "  Alignment:" << toBits(Info.getAlignment()) << "\n";
 3451   OS << "  Alignment:" << toBits(Info.getAlignment()) << "\n";
 3452   OS << "  FieldOffsets: [";
 3454     if (i) OS << ", ";
 3457   OS << "]>\n";
tools/clang/lib/AST/ScanfFormatString.cpp
  527   os << "%";
  530     os << getPositionalArgIndex() << "$";
  532     os << "*";
  535   os << LM.toString();
  536   os << CS.toString();
tools/clang/lib/AST/Stmt.cpp
  102   llvm::errs() << "\n*** Stmt/Expr Stats:\n";
  107   llvm::errs() << "  " << sum << " stmts/exprs total.\n";
  107   llvm::errs() << "  " << sum << " stmts/exprs total.\n";
  112     llvm::errs() << "    " << StmtClassInfo[i].Counter << " "
  112     llvm::errs() << "    " << StmtClassInfo[i].Counter << " "
  113                  << StmtClassInfo[i].Name << ", " << StmtClassInfo[i].Size
  113                  << StmtClassInfo[i].Name << ", " << StmtClassInfo[i].Size
  114                  << " each (" << StmtClassInfo[i].Counter*StmtClassInfo[i].Size
  115                  << " bytes)\n";
  119   llvm::errs() << "Total bytes = " << sum << "\n";
  119   llvm::errs() << "Total bytes = " << sum << "\n";
tools/clang/lib/AST/StmtPrinter.cpp
   93         OS << ";" << NL;
   97         Indent() << "<<<NULL STATEMENT>>>" << NL;
  109       OS << "; ";
  115         OS << " ";
  139         OS << "<null expr>";
  144         OS << "  ";
  155       Indent() << "<<unknown stmt type>>" << NL;
  159       OS << "<<unknown expr type>>";
  179   OS << "{" << NL;
  183   Indent() << "}";
  196   Indent() << ";" << NL;
  202   OS << ";" << NL;
  208   OS << "" << NL;
  212   Indent(-1) << "case ";
  215     OS << " ... ";
  218   OS << ":" << NL;
  224   Indent(-1) << "default:" << NL;
  229   Indent(-1) << Node->getName() << ":" << NL;
  229   Indent(-1) << Node->getName() << ":" << NL;
  242   OS << "if (";
  262     OS << "else";
  284   Indent() << "switch (";
  291   OS << ")";
  296   Indent() << "while (";
  301   OS << ")" << NL;
  306   Indent() << "do ";
  309     OS << " ";
  316   OS << "while (";
  318   OS << ");" << NL;
  322   Indent() << "for (";
  326     OS << (Node->getCond() ? "; " : ";");
  329   OS << ";";
  331     OS << " ";
  334   OS << ")";
  339   Indent() << "for (";
  344   OS << " in ";
  346   OS << ")";
  351   Indent() << "for (";
  357   OS << " : ";
  359   OS << ")";
  366     OS << "__if_exists (";
  368     OS << "__if_not_exists (";
  374   OS << Node->getNameInfo() << ") ";
  380   Indent() << "goto " << Node->getLabel()->getName() << ";";
  380   Indent() << "goto " << Node->getLabel()->getName() << ";";
  385   Indent() << "goto *";
  387   OS << ";";
  392   Indent() << "continue;";
  397   Indent() << "break;";
  402   Indent() << "return";
  404     OS << " ";
  407   OS << ";";
  412   Indent() << "asm ";
  415     OS << "volatile ";
  418     OS << "goto ";
  420   OS << "(";
  426     OS << " : ";
  430       OS << ", ";
  435       OS << "] ";
  439     OS << " (";
  441     OS << ")";
  447     OS << " : ";
  451       OS << ", ";
  456       OS << "] ";
  460     OS << " (";
  462     OS << ")";
  467     OS << " : ";
  471       OS << ", ";
  478     OS << " : ";
  482       OS << ", ";
  486   OS << ");";
  492   Indent() << "__asm ";
  494     OS << "{" << NL;
  497     Indent() << "}" << NL;
  505   Indent() << "@try";
  513     Indent() << "@catch(";
  518     OS << ")";
  526     Indent() << "@finally";
  536   Indent() << "@catch (...) { /* todo */ } " << NL;
  540   Indent() << "@throw";
  542     OS << " ";
  545   OS << ";" << NL;
  550   OS << "@available(...)";
  554   Indent() << "@synchronized (";
  556   OS << ")";
  562   Indent() << "@autoreleasepool";
  568   OS << "catch (";
  572     OS << "...";
  573   OS << ") ";
  584   Indent() << "try ";
  587     OS << " ";
  594   Indent() << (Node->getIsCXXTry() ? "try " : "__try ");
  608   OS << "__finally ";
  614   OS << "__except (";
  616   OS << ")" << NL;
  634   Indent() << "__leave;";
  657   Indent() << "#pragma omp parallel";
  662   Indent() << "#pragma omp simd";
  667   Indent() << "#pragma omp for";
  672   Indent() << "#pragma omp for simd";
  677   Indent() << "#pragma omp sections";
  682   Indent() << "#pragma omp section";
  687   Indent() << "#pragma omp single";
  692   Indent() << "#pragma omp master";
  697   Indent() << "#pragma omp critical";
  699     OS << " (";
  701     OS << ")";
  707   Indent() << "#pragma omp parallel for";
  713   Indent() << "#pragma omp parallel for simd";
  719   Indent() << "#pragma omp parallel sections";
  724   Indent() << "#pragma omp task";
  729   Indent() << "#pragma omp taskyield";
  734   Indent() << "#pragma omp barrier";
  739   Indent() << "#pragma omp taskwait";
  744   Indent() << "#pragma omp taskgroup";
  749   Indent() << "#pragma omp flush";
  754   Indent() << "#pragma omp ordered";
  759   Indent() << "#pragma omp atomic";
  764   Indent() << "#pragma omp target";
  769   Indent() << "#pragma omp target data";
  775   Indent() << "#pragma omp target enter data";
  781   Indent() << "#pragma omp target exit data";
  787   Indent() << "#pragma omp target parallel";
  793   Indent() << "#pragma omp target parallel for";
  798   Indent() << "#pragma omp teams";
  804   Indent() << "#pragma omp cancellation point "
  805            << getOpenMPDirectiveName(Node->getCancelRegion());
  810   Indent() << "#pragma omp cancel "
  811            << getOpenMPDirectiveName(Node->getCancelRegion());
  816   Indent() << "#pragma omp taskloop";
  822   Indent() << "#pragma omp taskloop simd";
  828   Indent() << "#pragma omp master taskloop";
  834   Indent() << "#pragma omp master taskloop simd";
  840   Indent() << "#pragma omp parallel master taskloop";
  845   Indent() << "#pragma omp distribute";
  851   Indent() << "#pragma omp target update";
  857   Indent() << "#pragma omp distribute parallel for";
  863   Indent() << "#pragma omp distribute parallel for simd";
  869   Indent() << "#pragma omp distribute simd";
  875   Indent() << "#pragma omp target parallel for simd";
  880   Indent() << "#pragma omp target simd";
  886   Indent() << "#pragma omp teams distribute";
  892   Indent() << "#pragma omp teams distribute simd";
  898   Indent() << "#pragma omp teams distribute parallel for simd";
  904   Indent() << "#pragma omp teams distribute parallel for";
  909   Indent() << "#pragma omp target teams";
  915   Indent() << "#pragma omp target teams distribute";
  921   Indent() << "#pragma omp target teams distribute parallel for";
  927   Indent() << "#pragma omp target teams distribute parallel for simd";
  933   Indent() << "#pragma omp target teams distribute simd";
  942   OS << Node->getBuiltinStr() << "()";
  957     OS << "template ";
  968     OS << "template ";
  978     OS << "template ";
 1000       OS << (Node->isArrow() ? "->" : ".");
 1008     OS << "super.";
 1011     OS << ".";
 1013     OS << Node->getClassReceiver()->getName() << ".";
 1028   OS << "[";
 1030   OS << "]";
 1043   case CharacterLiteral::UTF8:  OS << "u8"; break;
 1050     OS << "'\\\\'";
 1053     OS << "'\\''";
 1057     OS << "'\\a'";
 1060     OS << "'\\b'";
 1067     OS << "'\\f'";
 1070     OS << "'\\n'";
 1073     OS << "'\\r'";
 1076     OS << "'\\t'";
 1079     OS << "'\\v'";
 1089       OS << "'" << (char)value << "'";
 1089       OS << "'" << (char)value << "'";
 1091       OS << "'\\x" << llvm::format("%02x", value) << "'";
 1091       OS << "'\\x" << llvm::format("%02x", value) << "'";
 1093       OS << "'\\u" << llvm::format("%04x", value) << "'";
 1093       OS << "'\\u" << llvm::format("%04x", value) << "'";
 1095       OS << "'\\U" << llvm::format("%08x", value) << "'";
 1095       OS << "'\\U" << llvm::format("%08x", value) << "'";
 1126   case BuiltinType::Char_U:    OS << "i8"; break;
 1127   case BuiltinType::UChar:     OS << "Ui8"; break;
 1128   case BuiltinType::Short:     OS << "i16"; break;
 1129   case BuiltinType::UShort:    OS << "Ui16"; break;
 1133   case BuiltinType::ULong:     OS << "UL"; break;
 1134   case BuiltinType::LongLong:  OS << "LL"; break;
 1135   case BuiltinType::ULongLong: OS << "ULL"; break;
 1146     case BuiltinType::ShortFract:   OS << "hr"; break;
 1147     case BuiltinType::ShortAccum:   OS << "hk"; break;
 1148     case BuiltinType::UShortFract:  OS << "uhr"; break;
 1149     case BuiltinType::UShortAccum:  OS << "uhk"; break;
 1150     case BuiltinType::Fract:        OS << "r"; break;
 1151     case BuiltinType::Accum:        OS << "k"; break;
 1152     case BuiltinType::UFract:       OS << "ur"; break;
 1153     case BuiltinType::UAccum:       OS << "uk"; break;
 1154     case BuiltinType::LongFract:    OS << "lr"; break;
 1155     case BuiltinType::LongAccum:    OS << "lk"; break;
 1156     case BuiltinType::ULongFract:   OS << "ulr"; break;
 1157     case BuiltinType::ULongAccum:   OS << "ulk"; break;
 1177   case BuiltinType::Float16:    OS << "F16"; break;
 1192   OS << "i";
 1200   OS << "(";
 1202   OS << ")";
 1232   OS << "__builtin_offsetof(";
 1234   OS << ", ";
 1240       OS << "[";
 1242       OS << "]";
 1257       OS << ".";
 1262   OS << ")";
 1268     OS << "sizeof";
 1272       OS << "alignof";
 1274       OS << "_Alignof";
 1276       OS << "__alignof";
 1279     OS << "__alignof";
 1282     OS << "vec_step";
 1285     OS << "__builtin_omp_required_simd_align";
 1293     OS << " ";
 1299   OS << "_Generic(";
 1302     OS << ", ";
 1305       OS << "default";
 1308     OS << ": ";
 1311   OS << ")";
 1316   OS << "[";
 1318   OS << "]";
 1323   OS << "[";
 1327     OS << ":";
 1331   OS << "]";
 1341     if (i) OS << ", ";
 1348   OS << "(";
 1350   OS << ")";
 1369       OS << (Node->isArrow() ? "->" : ".");
 1379     OS << "template ";
 1387   OS << (Node->isArrow() ? "->isa" : ".isa");
 1392   OS << ".";
 1417   OS << " " << BinaryOperator::getOpcodeStr(Node->getOpcode()) << " ";
 1417   OS << " " << BinaryOperator::getOpcodeStr(Node->getOpcode()) << " ";
 1423   OS << " " << BinaryOperator::getOpcodeStr(Node->getOpcode()) << " ";
 1423   OS << " " << BinaryOperator::getOpcodeStr(Node->getOpcode()) << " ";
 1429   OS << " ? ";
 1431   OS << " : ";
 1440   OS << " ?: ";
 1445   OS << "&&" << Node->getLabel()->getName();
 1449   OS << "(";
 1451   OS << ")";
 1455   OS << "__builtin_choose_expr(";
 1457   OS << ", ";
 1459   OS << ", ";
 1461   OS << ")";
 1465   OS << "__null";
 1469   OS << "__builtin_shufflevector(";
 1471     if (i) OS << ", ";
 1474   OS << ")";
 1478   OS << "__builtin_convertvector(";
 1480   OS << ", ";
 1482   OS << ")";
 1491   OS << "{";
 1493     if (i) OS << ", ";
 1497       OS << "{}";
 1499   OS << "}";
 1505   OS << "{";
 1507   OS << "}";
 1511   OS << "*";
 1515   OS << "(";
 1517     if (i) OS << ", ";
 1520   OS << ")";
 1529           OS << II->getName() << ":";
 1533         OS << "." << D.getFieldName()->getName();
 1536       OS << "[";
 1541         OS << " ... ";
 1544       OS << "]";
 1549     OS << " = ";
 1551     OS << " ";
 1557   OS << "{";
 1558   OS << "/*base*/";
 1560   OS << ", ";
 1562   OS << "/*updater*/";
 1564   OS << "}";
 1568   OS << "/*no init*/";
 1573     OS << "/*implicit*/";
 1575     OS << "()";
 1577     OS << "/*implicit*/(";
 1581       OS << "{}";
 1588   OS << "__builtin_va_arg(";
 1590   OS << ", ";
 1592   OS << ")";
 1609   OS << Name;
 1616     OS << ", ";
 1621     OS << ", ";
 1626     OS << ", ";
 1631     OS << ", ";
 1635     OS << ", ";
 1638   OS << ")";
 1646       OS << getOperatorSpelling(Kind) << ' ';
 1650       OS << ' ' << getOperatorSpelling(Kind);
 1659         OS << ", ";
 1670     OS << getOperatorSpelling(Kind) << ' ';
 1674     OS << ' ' << getOperatorSpelling(Kind) << ' ';
 1693   OS << "<<<";
 1695   OS << ">>>(";
 1697   OS << ")";
 1710   OS << Node->getCastName() << '<';
 1712   OS << ">(";
 1714   OS << ")";
 1734   OS << "__builtin_bit_cast(";
 1736   OS << ", ";
 1738   OS << ")";
 1742   OS << "typeid(";
 1748   OS << ")";
 1752   OS << "__uuidof(";
 1758   OS << ")";
 1764     OS << "->";
 1766     OS << ".";
 1775   OS << "[";
 1777   OS << "]";
 1792       OS << "operator\"\"" << Node->getUDSuffix()->getName();
 1794       OS << "()";
 1826   OS << (Node->getValue() ? "true" : "false");
 1830   OS << "nullptr";
 1834   OS << "this";
 1839     OS << "throw";
 1841     OS << "throw ";
 1859     OS << "(";
 1862     OS << ")";
 1874     OS << "{";
 1876     OS << "(";
 1883       OS << ", ";
 1889     OS << "}";
 1891     OS << ")";
 1919       OS << ", ";
 1924       OS << "this";
 1928       OS << "*this";
 1946       OS << "...";
 1965         OS << ", ";
 1974         OS << ", ";
 1975       OS << "...";
 1980       OS << " mutable";
 1989       OS << " -> ";
 1997     OS << "{}";
 2007   OS << "()";
 2012     OS << "::";
 2013   OS << "new ";
 2016     OS << "(";
 2021       OS << ", ";
 2024     OS << ") ";
 2027     OS << "(";
 2038     OS << ")";
 2043       OS << "(";
 2046       OS << ")";
 2052     OS << "::";
 2053   OS << "delete ";
 2055     OS << "[] ";
 2062     OS << "->";
 2067   OS << "~";
 2077     OS << "{";
 2085     if (i) OS << ", ";
 2090     OS << "}";
 2095   OS << "<forwarded>";
 2111   OS << "(";
 2116       OS << ", ";
 2119   OS << ")";
 2126     OS << (Node->isArrow() ? "->" : ".");
 2131     OS << "template ";
 2140     OS << (Node->isArrow() ? "->" : ".");
 2145     OS << "template ";
 2181   OS << getTypeTraitName(E->getTrait()) << "(";
 2181   OS << getTypeTraitName(E->getTrait()) << "(";
 2184       OS << ", ";
 2187   OS << ")";
 2191   OS << getTypeTraitName(E->getTrait()) << '(';
 2197   OS << getExpressionTraitName(E->getTrait()) << '(';
 2203   OS << "noexcept(";
 2205   OS << ")";
 2210   OS << "...";
 2214   OS << "sizeof...(" << *E->getPack() << ")";
 2214   OS << "sizeof...(" << *E->getPack() << ")";
 2236   OS << "(";
 2239     OS << " " << BinaryOperator::getOpcodeStr(E->getOperator()) << " ";
 2239     OS << " " << BinaryOperator::getOpcodeStr(E->getOperator()) << " ";
 2241   OS << "...";
 2243     OS << " " << BinaryOperator::getOpcodeStr(E->getOperator()) << " ";
 2243     OS << " " << BinaryOperator::getOpcodeStr(E->getOperator()) << " ";
 2246   OS << ")";
 2254     OS << "template ";
 2267   OS << "co_return";
 2269     OS << " ";
 2272   OS << ";";
 2276   OS << "co_await ";
 2281   OS << "co_await ";
 2286   OS << "co_yield ";
 2293   OS << "@";
 2298   OS << "@";
 2303   OS << "@[ ";
 2307       OS << ", ";
 2310   OS << " ]";
 2314   OS << "@{ ";
 2317       OS << ", ";
 2321     OS << " : ";
 2324       OS << "...";
 2326   OS << " }";
 2330   OS << "@encode(";
 2336   OS << "@selector(";
 2342   OS << "@protocol(" << *Node->getProtocol() << ')';
 2346   OS << "[";
 2358     OS << "Super";
 2373            OS << ":";
 2375       else OS << ", "; // Handle variadic methods.
 2380   OS << "]";
 2384   OS << (Node->getValue() ? "__objc_yes" : "__objc_no");
 2402   OS << "^";
 2407     OS << "()";
 2412       if (AI != BD->param_begin()) OS << ", ";
 2419       if (!BD->param_empty()) OS << ", ";
 2420       OS << "...";
 2424   OS << "{ }";
 2437   OS << "__builtin_astype(";
 2439   OS << ", ";
 2441   OS << ")";
tools/clang/lib/AST/StmtViz.cpp
   41       Out << Node->getStmtClassName();
   43       Out << "<NULL>";
tools/clang/lib/AST/TemplateBase.cpp
   71     Out << (Val.getBoolValue() ? "true" : "false");
   74     Out << ((Ch == '\'') ? "'\\" : "'");
   76     Out << "'";
  397     Out << "(no value)";
  414       Out << "(anonymous)";
  420     Out << "nullptr";
  429     Out << "...";
  441     Out << "<";
  447         Out << ", ";
  451     Out << ">";
tools/clang/lib/AST/TemplateName.cpp
  228       OS << "template ";
  233     OS << "template ";
  238       OS << "operator " << getOperatorSpelling(DTN->getOperator());
  238       OS << "operator " << getOperatorSpelling(DTN->getOperator());
tools/clang/lib/AST/TextNodeDumper.cpp
   27     OS << " first " << First;
   34     OS << " prev " << Prev;
   61     OS << "<<<NULL>>>";
   67     OS << C->getCommentKindName();
   87     OS << "Attr";
   92     OS << " Inherited";
   94     OS << " Implicit";
  101   OS << "TemplateArgument";
  114     OS << "<<<NULL>>>";
  119     OS << Node->getStmtClassName();
  125     OS << " openmp_structured_block";
  136         OS << " lvalue";
  139         OS << " xvalue";
  150         OS << " bitfield";
  153         OS << " objcproperty";
  156         OS << " objcsubscript";
  159         OS << " vectorcomponent";
  171     OS << "<<<NULL>>>";
  177       OS << "LocInfo Type";
  185     OS << T->getTypeClassName() << "Type";
  185     OS << T->getTypeClassName() << "Type";
  188   OS << " ";
  194     OS << " sugar";
  197     OS << " dependent";
  199     OS << " instantiation_dependent";
  202     OS << " variably_modified";
  204     OS << " contains_unexpanded_pack";
  206     OS << " imported";
  212   OS << "QualType";
  214   OS << " ";
  216   OS << " " << T.split().Quals.getAsString();
  222     OS << "<<<NULL>>>";
  228     OS << D->getDeclKindName() << "Decl";
  228     OS << D->getDeclKindName() << "Decl";
  232     OS << " parent " << cast<Decl>(D->getDeclContext());
  238     OS << " imported";
  240     OS << " in " << M->getFullModuleName();
  244       AddChild([=] { OS << "also in " << M->getFullModuleName(); });
  247       OS << " hidden";
  249     OS << " implicit";
  252     OS << " used";
  254     OS << " referenced";
  257     OS << " invalid";
  260       OS << " constexpr";
  262       OS << " consteval";
  271         OS << " <undeserialized declarations>";
  280   OS << "CXXCtorInitializer";
  294   OS << "capture";
  296     OS << " byref";
  298     OS << " nested";
  308     OS << "<<<NULL>>> OMPClause";
  314     OS << "OMP" << ClauseName.substr(/*Start=*/0, /*N=*/1).upper()
  315        << ClauseName.drop_front() << "Clause";
  320     OS << " <implicit>";
  326     OS << "case ";
  329     OS << "default";
  333     OS << " selected";
  353     OS << "<invalid sloc>";
  358     OS << PLoc.getFilename() << ':' << PLoc.getLine() << ':'
  363     OS << "line" << ':' << PLoc.getLine() << ':' << PLoc.getColumn();
  366     OS << "col" << ':' << PLoc.getColumn();
  375   OS << " <";
  378     OS << ", ";
  381   OS << ">";
  390   OS << "'" << QualType::getAsString(T_split, PrintPolicy) << "'";
  390   OS << "'" << QualType::getAsString(T_split, PrintPolicy) << "'";
  396       OS << ":'" << QualType::getAsString(D_split, PrintPolicy) << "'";
  396       OS << ":'" << QualType::getAsString(D_split, PrintPolicy) << "'";
  408     OS << "<<<NULL>>>";
  414     OS << D->getDeclKindName();
  420     OS << " '" << ND->getDeclName() << '\'';
  439     OS << "public";
  442     OS << "protected";
  445     OS << "private";
  473   OS << " Text=\"" << C->getText() << "\"";
  473   OS << " Text=\"" << C->getText() << "\"";
  478   OS << " Name=\"" << getCommandName(C->getCommandID()) << "\"";
  478   OS << " Name=\"" << getCommandName(C->getCommandID()) << "\"";
  478   OS << " Name=\"" << getCommandName(C->getCommandID()) << "\"";
  481     OS << " RenderNormal";
  484     OS << " RenderBold";
  487     OS << " RenderMonospaced";
  490     OS << " RenderEmphasized";
  495     OS << " Arg[" << i << "]=\"" << C->getArgText(i) << "\"";
  495     OS << " Arg[" << i << "]=\"" << C->getArgText(i) << "\"";
  495     OS << " Arg[" << i << "]=\"" << C->getArgText(i) << "\"";
  500   OS << " Name=\"" << C->getTagName() << "\"";
  500   OS << " Name=\"" << C->getTagName() << "\"";
  502     OS << " Attrs: ";
  505       OS << " \"" << Attr.Name << "=\"" << Attr.Value << "\"";
  505       OS << " \"" << Attr.Name << "=\"" << Attr.Value << "\"";
  505       OS << " \"" << Attr.Name << "=\"" << Attr.Value << "\"";
  509     OS << " SelfClosing";
  514   OS << " Name=\"" << C->getTagName() << "\"";
  514   OS << " Name=\"" << C->getTagName() << "\"";
  519   OS << " Name=\"" << getCommandName(C->getCommandID()) << "\"";
  519   OS << " Name=\"" << getCommandName(C->getCommandID()) << "\"";
  519   OS << " Name=\"" << getCommandName(C->getCommandID()) << "\"";
  521     OS << " Arg[" << i << "]=\"" << C->getArgText(i) << "\"";
  521     OS << " Arg[" << i << "]=\"" << C->getArgText(i) << "\"";
  521     OS << " Arg[" << i << "]=\"" << C->getArgText(i) << "\"";
  526   OS << " "
  527      << comments::ParamCommandComment::getDirectionAsString(C->getDirection());
  530     OS << " explicitly";
  532     OS << " implicitly";
  536       OS << " Param=\"" << C->getParamName(FC) << "\"";
  536       OS << " Param=\"" << C->getParamName(FC) << "\"";
  538       OS << " Param=\"" << C->getParamNameAsWritten() << "\"";
  538       OS << " Param=\"" << C->getParamNameAsWritten() << "\"";
  542     OS << " ParamIndex=" << C->getParamIndex();
  549       OS << " Param=\"" << C->getParamName(FC) << "\"";
  549       OS << " Param=\"" << C->getParamName(FC) << "\"";
  551       OS << " Param=\"" << C->getParamNameAsWritten() << "\"";
  551       OS << " Param=\"" << C->getParamNameAsWritten() << "\"";
  555     OS << " Position=<";
  559         OS << ", ";
  561     OS << ">";
  567   OS << " Name=\"" << getCommandName(C->getCommandID())
  567   OS << " Name=\"" << getCommandName(C->getCommandID())
  568      << "\""
  570      << C->getCloseName() << "\"";
  576   OS << " Text=\"" << C->getText() << "\"";
  576   OS << " Text=\"" << C->getText() << "\"";
  581   OS << " Text=\"" << C->getText() << "\"";
  581   OS << " Text=\"" << C->getText() << "\"";
  585   OS << " null";
  589   OS << " type";
  595   OS << " decl";
  600   OS << " nullptr";
  604   OS << " integral " << TA.getAsIntegral();
  608   OS << " template ";
  614   OS << " template expansion ";
  619   OS << " expr";
  623   OS << " pack";
  630   OS << " (";
  637       OS << " -> ";
  643       OS << "virtual ";
  653     OS << " has_init";
  655     OS << " has_var";
  657     OS << " has_else";
  662     OS << " has_init";
  664     OS << " has_var";
  669     OS << " has_var";
  673   OS << " '" << Node->getName() << "'";
  673   OS << " '" << Node->getName() << "'";
  673   OS << " '" << Node->getName() << "'";
  677   OS << " '" << Node->getLabel()->getName() << "'";
  677   OS << " '" << Node->getLabel()->getName() << "'";
  683     OS << " gnu_range";
  689     OS << " ";
  696     OS << " adl";
  700   OS << " <";
  703     OS << Node->getCastKindName();
  706   OS << ">";
  712     OS << " part_of_explicit_cast";
  716   OS << " ";
  719     OS << " (";
  721     OS << ")";
  725   case NOUR_Unevaluated: OS << " non_odr_use_unevaluated"; break;
  726   case NOUR_Constant: OS << " non_odr_use_constant"; break;
  727   case NOUR_Discarded: OS << " non_odr_use_discarded"; break;
  733   OS << " (";
  735     OS << "no ";
  736   OS << "ADL) = '" << Node->getName() << '\'';
  741     OS << " empty";
  749     OS << " " << Node->getDecl()->getDeclKindName() << "Decl";
  749     OS << " " << Node->getDecl()->getDeclKindName() << "Decl";
  749     OS << " " << Node->getDecl()->getDeclKindName() << "Decl";
  751   OS << "='" << *Node->getDecl() << "'";
  751   OS << "='" << *Node->getDecl() << "'";
  754     OS << " isFreeIvar";
  758   OS << " " << PredefinedExpr::getIdentKindName(Node->getIdentKind());
  763   OS << " " << Node->getValue();
  769   OS << " " << Node->getValue().toString(10, isSigned);
  774   OS << " " << Node->getValueAsString(/*Radix=*/10);
  779   OS << " " << Node->getValueAsApproximateDouble();
  784   OS << " ";
  790     OS << " field ";
  797     OS << " result_dependent";
  801   OS << " " << (Node->isPostfix() ? "postfix" : "prefix") << " '"
  801   OS << " " << (Node->isPostfix() ? "postfix" : "prefix") << " '"
  801   OS << " " << (Node->isPostfix() ? "postfix" : "prefix") << " '"
  802      << UnaryOperator::getOpcodeStr(Node->getOpcode()) << "'";
  804     OS << " cannot overflow";
  811     OS << " sizeof";
  814     OS << " alignof";
  817     OS << " vec_step";
  820     OS << " __builtin_omp_required_simd_align";
  823     OS << " __alignof";
  831   OS << " " << (Node->isArrow() ? "->" : ".") << *Node->getMemberDecl();
  831   OS << " " << (Node->isArrow() ? "->" : ".") << *Node->getMemberDecl();
  835   case NOUR_Unevaluated: OS << " non_odr_use_unevaluated"; break;
  836   case NOUR_Constant: OS << " non_odr_use_constant"; break;
  837   case NOUR_Discarded: OS << " non_odr_use_discarded"; break;
  843   OS << " " << Node->getAccessor().getNameStart();
  843   OS << " " << Node->getAccessor().getNameStart();
  847   OS << " '" << BinaryOperator::getOpcodeStr(Node->getOpcode()) << "'";
  847   OS << " '" << BinaryOperator::getOpcodeStr(Node->getOpcode()) << "'";
  852   OS << " '" << BinaryOperator::getOpcodeStr(Node->getOpcode())
  853      << "' ComputeLHSTy=";
  855   OS << " ComputeResultTy=";
  860   OS << " " << Node->getLabel()->getName();
  865   OS << " " << Node->getCastName() << "<"
  865   OS << " " << Node->getCastName() << "<"
  865   OS << " " << Node->getCastName() << "<"
  866      << Node->getTypeAsWritten().getAsString() << ">"
  867      << " <" << Node->getCastKindName();
  867      << " <" << Node->getCastKindName();
  869   OS << ">";
  873   OS << " " << (Node->getValue() ? "true" : "false");
  873   OS << " " << (Node->getValue() ? "true" : "false");
  878     OS << " implicit";
  879   OS << " this";
  884   OS << " functional cast to " << Node->getTypeAsWritten().getAsString() << " <"
  884   OS << " functional cast to " << Node->getTypeAsWritten().getAsString() << " <"
  885      << Node->getCastKindName() << ">";
  885      << Node->getCastKindName() << ">";
  892     OS << " list";
  899     OS << " elidable";
  901     OS << " list";
  903     OS << " std::initializer_list";
  905     OS << " zeroing";
  910   OS << " (CXXTemporary";
  912   OS << ")";
  917     OS << " global";
  919     OS << " array";
  930     OS << " global";
  932     OS << " array";
  942     OS << " extended by ";
  959   OS << " " << (Node->isArrow() ? "->" : ".") << Node->getMember();
  959   OS << " " << (Node->isArrow() ? "->" : ".") << Node->getMember();
  963   OS << " selector=";
  970     OS << " class=";
  975     OS << " super (instance)";
  979     OS << " super (class)";
  986     OS << " selector=";
  993     OS << " catch all";
 1001   OS << " ";
 1011     OS << " Kind=MethodRef Getter=\"";
 1015       OS << "(null)";
 1017     OS << "\" Setter=\"";
 1021       OS << "(null)";
 1022     OS << "\"";
 1024     OS << " Kind=PropertyRef Property=\"" << *Node->getExplicitProperty()
 1029     OS << " super";
 1031   OS << " Messaging=";
 1033     OS << "Getter&Setter";
 1035     OS << "Getter";
 1037     OS << "Setter";
 1043     OS << " Kind=ArraySubscript GetterForArray=\"";
 1045     OS << " Kind=DictionarySubscript GetterForDictionary=\"";
 1049     OS << "(null)";
 1052     OS << "\" SetterForArray=\"";
 1054     OS << "\" SetterForDictionary=\"";
 1058     OS << "(null)";
 1062   OS << " " << (Node->getValue() ? "__objc_yes" : "__objc_no");
 1062   OS << " " << (Node->getValue() ? "__objc_yes" : "__objc_no");
 1067     OS << " written as lvalue reference";
 1075     OS << " static";
 1078     OS << " *";
 1081   OS << " " << T->getIndexTypeQualifiers().getAsString();
 1085   OS << " " << T->getSize();
 1090   OS << " ";
 1098   OS << " ";
 1104   OS << " ";
 1113     OS << " altivec";
 1116     OS << " altivec pixel";
 1119     OS << " altivec bool";
 1122     OS << " neon";
 1125     OS << " neon poly";
 1128   OS << " " << T->getNumElements();
 1134     OS << " noreturn";
 1136     OS << " produces_result";
 1138     OS << " regparm " << EI.getRegParm();
 1139   OS << " " << FunctionType::getNameForCallConv(EI.getCC());
 1145     OS << " trailing_return";
 1147     OS << " const";
 1149     OS << " volatile";
 1151     OS << " restrict";
 1153     OS << " variadic";
 1158     OS << " &";
 1161     OS << " &&";
 1180     OS << " underlying_type";
 1190   OS << " depth " << T->getDepth() << " index " << T->getIndex();
 1190   OS << " depth " << T->getDepth() << " index " << T->getIndex();
 1192     OS << " pack";
 1198     OS << " decltype(auto)";
 1200     OS << " undeduced";
 1206     OS << " alias";
 1207   OS << " ";
 1222     OS << " expansions " << *N;
 1231     OS << " __module_private__";
 1237       OS << " class";
 1239       OS << " struct";
 1243     OS << " __module_private__";
 1252     OS << " __module_private__";
 1254     OS << " definition";
 1276     OS << ' ' << VarDecl::getStorageClassSpecifierString(SC);
 1278     OS << " inline";
 1280     OS << " virtual";
 1282     OS << " __module_private__";
 1285     OS << " pure";
 1287     OS << " default";
 1289       OS << "_delete";
 1292     OS << " delete";
 1294     OS << " trivial";
 1302       OS << " noexcept-unevaluated " << EPI.ExceptionSpec.SourceDecl;
 1305       OS << " noexcept-uninstantiated " << EPI.ExceptionSpec.SourceTemplate;
 1314         OS << D << " " << D->getParent()->getName()
 1315            << "::" << D->getNameAsString() << " '"
 1315            << "::" << D->getNameAsString() << " '"
 1316            << QualType::getAsString(T_split, PrintPolicy) << "'";
 1321         OS << "Overrides: [ ";
 1325           OS << ", ";
 1328         OS << " ]";
 1338     OS << " <<<NULL params x " << D->getNumParams() << ">>>";
 1338     OS << " <<<NULL params x " << D->getNumParams() << ">>>";
 1345     OS << " mutable";
 1347     OS << " __module_private__";
 1355     OS << ' ' << VarDecl::getStorageClassSpecifierString(SC);
 1360     OS << " tls";
 1363     OS << " tls_dynamic";
 1367     OS << " __module_private__";
 1369     OS << " nrvo";
 1371     OS << " inline";
 1373     OS << " constexpr";
 1377       OS << " cinit";
 1380       OS << " callinit";
 1383       OS << " listinit";
 1388     OS << " destroyed";
 1390     OS << " pack";
 1400     OS << " nothrow";
 1417     OS << "compiler";
 1420     OS << "exestr";
 1423     OS << "lib";
 1426     OS << "linker";
 1429     OS << "user";
 1434     OS << " \"" << Arg << "\"";
 1434     OS << " \"" << Arg << "\"";
 1439   OS << " \"" << D->getName() << "\" \"" << D->getValue() << "\"";
 1439   OS << " \"" << D->getName() << "\" \"" << D->getValue() << "\"";
 1439   OS << " \"" << D->getName() << "\" \"" << D->getValue() << "\"";
 1445     OS << " openmp_standalone_directive";
 1452   OS << " combiner";
 1455     OS << " initializer";
 1459       OS << " omp_priv = ";
 1462       OS << " omp_priv ()";
 1475         OS << "<<<NULL>>> OMPClause";
 1481         OS << "OMP" << ClauseName.substr(/*Start=*/0, /*N=*/1).upper()
 1482            << ClauseName.drop_front() << "Clause";
 1498     OS << " inline";
 1531       OS << "DefinitionData";
 1536     FLAG(isParsingBaseSpecifiers, parsing_base_specifiers);
 1538     FLAG(isGenericLambda, generic);
 1539     FLAG(isLambda, lambda);
 1541     FLAG(isAnonymousStructOrUnion, is_anonymous);
 1542     FLAG(canPassInRegisters, pass_in_registers);
 1543     FLAG(isEmpty, empty);
 1544     FLAG(isAggregate, aggregate);
 1545     FLAG(isStandardLayout, standard_layout);
 1546     FLAG(isTriviallyCopyable, trivially_copyable);
 1547     FLAG(isPOD, pod);
 1548     FLAG(isTrivial, trivial);
 1549     FLAG(isPolymorphic, polymorphic);
 1550     FLAG(isAbstract, abstract);
 1551     FLAG(isLiteral, literal);
 1553     FLAG(hasUserDeclaredConstructor, has_user_declared_ctor);
 1554     FLAG(hasConstexprNonCopyMoveConstructor, has_constexpr_non_copy_move_ctor);
 1555     FLAG(hasMutableFields, has_mutable_fields);
 1556     FLAG(hasVariantMembers, has_variant_members);
 1557     FLAG(allowConstDefaultInit, can_const_default_init);
 1562         OS << "DefaultConstructor";
 1564       FLAG(hasDefaultConstructor, exists);
 1565       FLAG(hasTrivialDefaultConstructor, trivial);
 1566       FLAG(hasNonTrivialDefaultConstructor, non_trivial);
 1567       FLAG(hasUserProvidedDefaultConstructor, user_provided);
 1568       FLAG(hasConstexprDefaultConstructor, constexpr);
 1569       FLAG(needsImplicitDefaultConstructor, needs_implicit);
 1570       FLAG(defaultedDefaultConstructorIsConstexpr, defaulted_is_constexpr);
 1576         OS << "CopyConstructor";
 1578       FLAG(hasSimpleCopyConstructor, simple);
 1579       FLAG(hasTrivialCopyConstructor, trivial);
 1580       FLAG(hasNonTrivialCopyConstructor, non_trivial);
 1581       FLAG(hasUserDeclaredCopyConstructor, user_declared);
 1582       FLAG(hasCopyConstructorWithConstParam, has_const_param);
 1583       FLAG(needsImplicitCopyConstructor, needs_implicit);
 1584       FLAG(needsOverloadResolutionForCopyConstructor,
 1587         FLAG(defaultedCopyConstructorIsDeleted, defaulted_is_deleted);
 1588       FLAG(implicitCopyConstructorHasConstParam, implicit_has_const_param);
 1594         OS << "MoveConstructor";
 1596       FLAG(hasMoveConstructor, exists);
 1597       FLAG(hasSimpleMoveConstructor, simple);
 1598       FLAG(hasTrivialMoveConstructor, trivial);
 1599       FLAG(hasNonTrivialMoveConstructor, non_trivial);
 1600       FLAG(hasUserDeclaredMoveConstructor, user_declared);
 1601       FLAG(needsImplicitMoveConstructor, needs_implicit);
 1602       FLAG(needsOverloadResolutionForMoveConstructor,
 1605         FLAG(defaultedMoveConstructorIsDeleted, defaulted_is_deleted);
 1611         OS << "CopyAssignment";
 1613       FLAG(hasTrivialCopyAssignment, trivial);
 1614       FLAG(hasNonTrivialCopyAssignment, non_trivial);
 1615       FLAG(hasCopyAssignmentWithConstParam, has_const_param);
 1616       FLAG(hasUserDeclaredCopyAssignment, user_declared);
 1617       FLAG(needsImplicitCopyAssignment, needs_implicit);
 1618       FLAG(needsOverloadResolutionForCopyAssignment, needs_overload_resolution);
 1619       FLAG(implicitCopyAssignmentHasConstParam, implicit_has_const_param);
 1625         OS << "MoveAssignment";
 1627       FLAG(hasMoveAssignment, exists);
 1628       FLAG(hasSimpleMoveAssignment, simple);
 1629       FLAG(hasTrivialMoveAssignment, trivial);
 1630       FLAG(hasNonTrivialMoveAssignment, non_trivial);
 1631       FLAG(hasUserDeclaredMoveAssignment, user_declared);
 1632       FLAG(needsImplicitMoveAssignment, needs_implicit);
 1633       FLAG(needsOverloadResolutionForMoveAssignment, needs_overload_resolution);
 1639         OS << "Destructor";
 1641       FLAG(hasSimpleDestructor, simple);
 1642       FLAG(hasIrrelevantDestructor, irrelevant);
 1643       FLAG(hasTrivialDestructor, trivial);
 1644       FLAG(hasNonTrivialDestructor, non_trivial);
 1645       FLAG(hasUserDeclaredDestructor, user_declared);
 1646       FLAG(hasConstexprDestructor, constexpr);
 1647       FLAG(needsImplicitDestructor, needs_implicit);
 1648       FLAG(needsOverloadResolutionForDestructor, needs_overload_resolution);
 1650         FLAG(defaultedDestructorIsDeleted, defaulted_is_deleted);
 1657         OS << "virtual ";
 1661         OS << "...";
 1684     OS << " typename";
 1686     OS << " class";
 1687   OS << " depth " << D->getDepth() << " index " << D->getIndex();
 1687   OS << " depth " << D->getDepth() << " index " << D->getIndex();
 1689     OS << " ...";
 1696   OS << " depth " << D->getDepth() << " index " << D->getIndex();
 1696   OS << " depth " << D->getDepth() << " index " << D->getIndex();
 1698     OS << " ...";
 1704   OS << " depth " << D->getDepth() << " index " << D->getIndex();
 1704   OS << " depth " << D->getDepth() << " index " << D->getIndex();
 1706     OS << " ...";
 1742     OS << " virtual";
 1745     OS << "target ";
 1750     OS << "nominated ";
 1757     OS << "constructed ";
 1767     OS << " C";
 1770     OS << " C++";
 1773     OS << " C++11";
 1776     OS << " C++14";
 1795     OS << " synthesize";
 1799     OS << " none";
 1802     OS << " private";
 1805     OS << " protected";
 1808     OS << " public";
 1811     OS << " package";
 1818     OS << " -";
 1820     OS << " +";
 1825     OS << " variadic";
 1835     OS << " covariant";
 1839     OS << " contravariant";
 1844     OS << " bounded";
 1896     OS << " required";
 1898     OS << " optional";
 1903       OS << " readonly";
 1905       OS << " assign";
 1907       OS << " readwrite";
 1909       OS << " retain";
 1911       OS << " copy";
 1913       OS << " nonatomic";
 1915       OS << " atomic";
 1917       OS << " weak";
 1919       OS << " strong";
 1921       OS << " unsafe_unretained";
 1923       OS << " class";
 1934     OS << " synthesize";
 1936     OS << " dynamic";
 1943     OS << " variadic";
 1946     OS << " captures_this";
tools/clang/lib/AST/TypePrinter.cpp
  141     OS << "const";
  146     OS << "volatile";
  152       OS << "restrict";
  154       OS << "__restrict";
  179     OS << "NULL TYPE";
  362   OS << "_Complex ";
  447   OS << "&&";
  476   OS << "::*";
  507     OS << "static ";
  522   OS << "[]";
  542     OS << "static ";
  597   OS << " __attribute__((address_space(";
  600   OS << ")))";
  613   OS << " __attribute__((ext_vector_type(";
  616   OS << ")))";
  623     OS << "__vector __pixel ";
  626     OS << "__vector __bool ";
  630     OS << "__vector ";
  634     OS << "__attribute__((neon_vector_type("
  635        << T->getNumElements() << "))) ";
  639     OS << "__attribute__((neon_polyvector_type(" <<
  640           T->getNumElements() << "))) ";
  646     OS << "__attribute__((__vector_size__("
  648        << " * sizeof(";
  650     OS << ")))) ";
  665     OS << "__vector __pixel ";
  668     OS << "__vector __bool ";
  672     OS << "__vector ";
  676     OS << "__attribute__((neon_vector_type(";
  679     OS << "))) ";
  683     OS << "__attribute__((neon_polyvector_type(";
  686     OS << "))) ";
  692     OS << "__attribute__((__vector_size__(";
  695     OS << " * sizeof(";
  697     OS << ")))) ";
  716   OS << " __attribute__((ext_vector_type(";
  718   OS << ")))";
  726     OS << " throw(";
  728       OS << "...";
  732           OS << ", ";
  738     OS << " __attribute__((nothrow))";
  740     OS << " noexcept";
  755     OS << "auto ";
  792       if (i) OS << ", ";
  795       if (EPI.isConsumed()) OS << "__attribute__((ns_consumed)) ";
  797         OS << "__attribute__((noescape)) ";
  800         OS << "__attribute__((" << getParameterABISpelling(ABI) << ")) ";
  800         OS << "__attribute__((" << getParameterABISpelling(ABI) << ")) ";
  808       OS << ", ";
  809     OS << "...";
  812     OS << "void";
  822     OS << " " << T->getMethodQuals().getAsString();
  829     OS << " &";
  833     OS << " &&";
  839     OS << " -> ";
  859       OS << " __attribute__((stdcall))";
  862       OS << " __attribute__((fastcall))";
  865       OS << " __attribute__((thiscall))";
  868       OS << " __attribute__((vectorcall))";
  871       OS << " __attribute__((pascal))";
  874       OS << " __attribute__((pcs(\"aapcs\")))";
  877       OS << " __attribute__((pcs(\"aapcs-vfp\")))";
  880       OS << "__attribute__((aarch64_vector_pcs))";
  883       OS << " __attribute__((intel_ocl_bicc))";
  886       OS << " __attribute__((ms_abi))";
  889       OS << " __attribute__((sysv_abi))";
  892       OS << " __attribute__((regcall))";
  899       OS << " __attribute__((swiftcall))";
  902       OS << " __attribute__((preserve_most))";
  905       OS << " __attribute__((preserve_all))";
  911     OS << " __attribute__((noreturn))";
  913     OS << " __attribute__((ns_returns_retained))";
  915     OS << " __attribute__((regparm ("
  916        << Info.getRegParm() << ")))";
  918     OS << " __attribute__((no_caller_saved_registers))";
  920     OS << " __attribute__((nocf_check))";
  939   OS << "()";
  972   OS << MacroName << " ";
  988   OS << "typeof ";
  998   OS << "typeof(";
 1007   OS << "decltype(";
 1022       OS << "__underlying_type(";
 1050     case AutoTypeKeyword::Auto: OS << "auto"; break;
 1051     case AutoTypeKeyword::DecltypeAuto: OS << "decltype(auto)"; break;
 1052     case AutoTypeKeyword::GNUAutoType: OS << "__auto_type"; break;
 1086   OS << "_Atomic(";
 1098     OS << "read_only ";
 1100     OS << "write_only ";
 1101   OS << "pipe ";
 1119       OS << NS->getName() << "::";
 1121       OS << "(anonymous namespace)::";
 1127     OS << "::";
 1130       OS << Typedef->getIdentifier()->getName() << "::";
 1132       OS << Tag->getIdentifier()->getName() << "::";
 1174       OS << "lambda";
 1177       OS << "anonymous";
 1185         OS << " " << D->getKindName();
 1190         OS << " at ";
 1247       OS << "auto";
 1249       OS << "type-parameter-" << T->getDepth() << '-' << T->getIndex();
 1325       OS << " ";
 1363     OS << " ";
 1380     OS << " ";
 1400   OS << "...";
 1413     OS << "__kindof ";
 1423     case attr::Ptr32: OS << " __ptr32"; break;
 1424     case attr::Ptr64: OS << " __ptr64"; break;
 1425     case attr::SPtr: OS << " __sptr"; break;
 1426     case attr::UPtr: OS << " __uptr"; break;
 1434       OS << " _Nonnull";
 1436       OS << " _Nullable";
 1438       OS << " _Null_unspecified";
 1477     OS << " [[clang::lifetimebound]]";
 1487   OS << " __attribute__((";
 1520     OS << "ns_returns_retained";
 1525   case attr::AnyX86NoCfCheck: OS << "nocf_check"; break;
 1526   case attr::CDecl: OS << "cdecl"; break;
 1527   case attr::FastCall: OS << "fastcall"; break;
 1528   case attr::StdCall: OS << "stdcall"; break;
 1529   case attr::ThisCall: OS << "thiscall"; break;
 1530   case attr::SwiftCall: OS << "swiftcall"; break;
 1531   case attr::VectorCall: OS << "vectorcall"; break;
 1532   case attr::Pascal: OS << "pascal"; break;
 1533   case attr::MSABI: OS << "ms_abi"; break;
 1534   case attr::SysVABI: OS << "sysv_abi"; break;
 1535   case attr::RegCall: OS << "regcall"; break;
 1537     OS << "pcs(";
 1541    OS << (t->castAs<FunctionType>()->getCallConv() == CC_AAPCS ?
 1546   case attr::AArch64VectorPcs: OS << "aarch64_vector_pcs"; break;
 1547   case attr::IntelOclBicc: OS << "inteloclbicc"; break;
 1549     OS << "preserve_most";
 1553     OS << "preserve_all";
 1556     OS << "noderef";
 1559   OS << "))";
 1600     OS << "__kindof ";
 1611         OS << ",";
 1693         OS << Comma;
 1697         OS << Comma;
 1790     OS << "__unaligned";
 1801         OS << "__global";
 1804         OS << "__local";
 1809         OS << "__constant";
 1812         OS << "__generic";
 1815         OS << "__device__";
 1818         OS << "__constant__";
 1821         OS << "__shared__";
 1824         OS << "__attribute__((address_space(";
 1826         OS << ")))";
 1835       OS << "__weak";
 1837       OS << "__strong";
 1848     case Qualifiers::OCL_ExplicitNone: OS << "__unsafe_unretained"; break;
 1851         OS << "__strong";
 1854     case Qualifiers::OCL_Weak: OS << "__weak"; break;
 1855     case Qualifiers::OCL_Autoreleasing: OS << "__autoreleasing"; break;
tools/clang/lib/AST/VTableBuilder.cpp
  404   Out << "Final overriders for (";
  406   Out << ", ";
  407   Out << Base.getBaseOffset().getQuantity() << ")\n";
  417     Out << "  ";
  419     Out << " - (";
  421     Out << ", " << Overrider.Offset.getQuantity() << ')';
  428       Out << " [ret-adj: ";
  431         Out << " vbase, ";
  434       Out << Offset.NonVirtualOffset.getQuantity() << " nv]";
  437     Out << "\n";
 1877     Out << "Construction vtable for ('";
 1879     Out << "', ";
 1880     Out << MostDerivedClassOffset.getQuantity() << ") in '";
 1883     Out << "Vtable for '";
 1886   Out << "' (" << Components.size() << " entries).\n";
 1886   Out << "' (" << Components.size() << " entries).\n";
 1912       Out << "vcall_offset ("
 1914           << ")";
 1918       Out << "vbase_offset ("
 1920           << ")";
 1924       Out << "offset_to_top ("
 1926           << ")";
 1931       Out << " RTTI";
 1942         Out << " [pure]";
 1945         Out << " [deleted]";
 1951           Out << "\n       [return adjustment: ";
 1952           Out << Thunk.Return.NonVirtual << " non-virtual";
 1955             Out << ", " << Thunk.Return.Virtual.Itanium.VBaseOffsetOffset;
 1956             Out << " vbase offset offset";
 1964           Out << "\n       [this adjustment: ";
 1965           Out << Thunk.This.NonVirtual << " non-virtual";
 1968             Out << ", " << Thunk.This.Virtual.Itanium.VCallOffsetOffset;
 1969             Out << " vcall offset offset";
 1988         Out << "() [complete]";
 1990         Out << "() [deleting]";
 1993         Out << " [pure]";
 1999           Out << "\n       [this adjustment: ";
 2000           Out << Thunk.This.NonVirtual << " non-virtual";
 2003             Out << ", " << Thunk.This.Virtual.Itanium.VCallOffsetOffset;
 2004             Out << " vcall offset offset";
 2020       Out << "[unused] " << Str;
 2022         Out << " [pure]";
 2036         Out << "       -- (";
 2038         Out << ", " << Base.getBaseOffset().getQuantity();
 2039         Out << ") vtable address --\n";
 2055           Out << "       -- (" << Name;
 2056           Out << ", " << BaseOffset.getQuantity() << ") vtable address --\n";
 2056           Out << ", " << BaseOffset.getQuantity() << ") vtable address --\n";
 2078     Out << "Virtual base offset offsets for '";
 2080     Out << "' (";
 2082     Out << (ClassNamesAndOffsets.size() == 1 ? " entry" : " entries") << ").\n";
 2082     Out << (ClassNamesAndOffsets.size() == 1 ? " entry" : " entries") << ").\n";
 2085       Out << "   " << I.first << " | " << I.second.getQuantity() << '\n';
 2085       Out << "   " << I.first << " | " << I.second.getQuantity() << '\n';
 2087     Out << "\n";
 2113       Out << "Thunks for '" << MethodName << "' (" << ThunksVector.size();
 2113       Out << "Thunks for '" << MethodName << "' (" << ThunksVector.size();
 2114       Out << (ThunksVector.size() == 1 ? " entry" : " entries") << ").\n";
 2114       Out << (ThunksVector.size() == 1 ? " entry" : " entries") << ").\n";
 2123           Out << "return adjustment: " << Thunk.Return.NonVirtual;
 2124           Out << " non-virtual";
 2126             Out << ", " << Thunk.Return.Virtual.Itanium.VBaseOffsetOffset;
 2127             Out << " vbase offset offset";
 2131             Out << "\n       ";
 2136           Out << "this adjustment: ";
 2137           Out << Thunk.This.NonVirtual << " non-virtual";
 2140             Out << ", " << Thunk.This.Virtual.Itanium.VCallOffsetOffset;
 2141             Out << " vcall offset offset";
 2180     Out << "VTable indices for '";
 2182     Out << "' (" << IndicesMap.size() << " entries).\n";
 2182     Out << "' (" << IndicesMap.size() << " entries).\n";
 3055     Out << "'";
 3057     Out << "' in ";
 3068       Out << LinePrefix;
 3069     Out << "[return adjustment (to type '"
 3071         << "'): ";
 3073       Out << "vbptr at offset " << R.Virtual.Microsoft.VBPtrOffset << ", ";
 3073       Out << "vbptr at offset " << R.Virtual.Microsoft.VBPtrOffset << ", ";
 3075       Out << "vbase #" << R.Virtual.Microsoft.VBIndex << ", ";
 3075       Out << "vbase #" << R.Virtual.Microsoft.VBIndex << ", ";
 3076     Out << R.NonVirtual << " non-virtual]";
 3083       Out << LinePrefix;
 3084     Out << "[this adjustment: ";
 3087       Out << "vtordisp at " << T.Virtual.Microsoft.VtordispOffset << ", ";
 3087       Out << "vtordisp at " << T.Virtual.Microsoft.VtordispOffset << ", ";
 3089         Out << "vbptr at " << T.Virtual.Microsoft.VBPtrOffset
 3090             << " to the left,";
 3092         Out << LinePrefix << " vboffset at "
 3092         Out << LinePrefix << " vboffset at "
 3093             << T.Virtual.Microsoft.VBOffsetOffset << " in the vbtable, ";
 3096     Out << T.NonVirtual << " non-virtual]";
 3101   Out << "VFTable for ";
 3103   Out << "'";
 3105   Out << "' (" << Components.size()
 3106       << (Components.size() == 1 ? " entry" : " entries") << ").\n";
 3106       << (Components.size() == 1 ? " entry" : " entries") << ").\n";
 3117       Out << " RTTI";
 3129         Out << " [pure]";
 3132         Out << " [deleted]";
 3145       Out << "() [scalar deleting]";
 3148         Out << " [pure]";
 3198       Out << "Thunks for '" << MethodName << "' (" << ThunksVector.size();
 3198       Out << "Thunks for '" << MethodName << "' (" << ThunksVector.size();
 3199       Out << (ThunksVector.size() == 1 ? " entry" : " entries") << ").\n";
 3199       Out << (ThunksVector.size() == 1 ? " entry" : " entries") << ").\n";
 3629     Out << "VFTable indices for ";
 3630     Out << "'";
 3632     Out << "' (" << IndicesMap.size()
 3633         << (IndicesMap.size() == 1 ? " entry" : " entries") << ").\n";
 3633         << (IndicesMap.size() == 1 ? " entry" : " entries") << ").\n";
 3643         Out << " -- accessible via ";
 3645           Out << "vbtable index " << VBIndex << ", ";
 3645           Out << "vbtable index " << VBIndex << ", ";
 3646         Out << "vfptr at offset " << VFPtrOffset.getQuantity() << " --\n";
 3646         Out << "vfptr at offset " << VFPtrOffset.getQuantity() << " --\n";
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp
  692         llvm::errs() << "Tried to match orphan node:\n";
tools/clang/lib/ASTMatchers/Dynamic/Diagnostics.cpp
  146         OS << "<Argument_Not_Provided>";
  155     OS << Range.Start.Line << ":" << Range.Start.Column << ": ";
  155     OS << Range.Start.Line << ":" << Range.Start.Column << ": ";
  179       if (i != 0) OS << "\n";
  188     if (i != 0) OS << "\n";
  202     if (i != 0) OS << "\n";
  206       OS << "\n";
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  546       OS << "|";
  548       OS << "...";
  622         OS << "Matcher<T> " << Name << "(Matcher<T>";
  622         OS << "Matcher<T> " << Name << "(Matcher<T>";
  624         OS << "Matcher<" << RetKinds << "> " << Name << "(";
  624         OS << "Matcher<" << RetKinds << "> " << Name << "(";
  624         OS << "Matcher<" << RetKinds << "> " << Name << "(";
  627             OS << ", ";
  636               if (!FirstArgKind) OS << "|";
  642             if (!FirstArgKind) OS << "|";
  643             OS << "Matcher<" << MatcherKinds << ">";
  643             OS << "Matcher<" << MatcherKinds << ">";
  648         OS << "...";
  649       OS << ")";
tools/clang/lib/Analysis/AnalysisDeclContext.cpp
  490       Out << "\t#" << Frame << ' ';
  493         Out << "Calling " << D->getQualifiedNameAsString();
  495         Out << "Calling anonymous code";
  497         Out << " at line ";
  502       Out << "Entering scope";
  505       Out << "Invoking block";
  507         Out << " defined at line ";
  512     Out << NL;
  532         << "{ \"lctx_id\": " << LCtx->getID() << ", \"location_context\": \"";
  532         << "{ \"lctx_id\": " << LCtx->getID() << ", \"location_context\": \"";
  535       Out << '#' << Frame << " Call\", \"calling\": \"";
  540         Out << "anonymous code";
  542       Out << "\", \"location\": ";
  546         Out << "null";
  549       Out << ", \"items\": ";
  552       Out << "Entering scope\" ";
  555       Out << "Invoking block\" ";
  557         Out << ", \"location\": ";
  569     Out << NL;
tools/clang/lib/Analysis/BodyFarm.cpp
  318   LLVM_DEBUG(llvm::dbgs() << "Generating body for call_once\n");
  330     llvm::dbgs() << "libcxx03 std::call_once implementation, skipping.\n";
  334     llvm::dbgs() << "unknown std::call_once implementation, skipping.\n";
  346     LLVM_DEBUG(llvm::dbgs() << "Flag field is not a record: "
  347                             << "unknown std::call_once implementation, "
  348                             << "ignoring the call.\n");
  363     LLVM_DEBUG(llvm::dbgs() << "No field _M_once or __state_ found on "
  364                             << "std::once_flag struct: unknown std::call_once "
  365                             << "implementation, ignoring the call.");
  372                << "Not supported: synthesizing body for functors when "
  373                << "body farming std::call_once, ignoring the call.");
  400     LLVM_DEBUG(llvm::dbgs() << "Types of params of the callback do not match "
  401                             << "params passed to std::call_once, "
  402                             << "ignoring the call\n");
  416       LLVM_DEBUG(llvm::dbgs() << "Types of params of the callback do not match "
  417                               << "params passed to std::call_once, "
  418                               << "ignoring the call\n");
tools/clang/lib/Analysis/CFG.cpp
 5148     OS << "[B" << I->second.first << "." << I->second.second << "]";
 5148     OS << "[B" << I->second.first << "." << I->second.second << "]";
 5148     OS << "[B" << I->second.first << "." << I->second.second << "]";
 5163     OS << "[B" << I->second.first << "." << I->second.second << "]";
 5163     OS << "[B" << I->second.first << "." << I->second.second << "]";
 5163     OS << "[B" << I->second.first << "." << I->second.second << "]";
 5182     OS << "if ";
 5194     OS << "static init " << VD->getName();
 5198     OS << "for (" ;
 5200       OS << "...";
 5201     OS << "; ";
 5204     OS << "; ";
 5206       OS << "...";
 5207     OS << ")";
 5211     OS << "while " ;
 5217     OS << "do ... while ";
 5223     OS << "switch ";
 5228     OS << "try ...";
 5232     OS << "__try ...";
 5238     OS << " ? ... : ...";
 5242     OS << "__builtin_choose_expr( ";
 5245     OS << " )";
 5249     OS << "goto *";
 5265         OS << " || ...";
 5268         OS << " && ...";
 5286       OS << "(Temp Dtor) ";
 5290       OS << "(See if most derived ctor has already initialized vbases)";
 5306   OS << "(";
 5309   OS << ")";
 5312     OS << " (Base initializer)";
 5314     OS << " (Delegating initializer)";
 5316     OS << " (Member initializer)";
 5325     OS << ", ";
 5331     OS << ", ";
 5382       OS << ", ";
 5385     OS << ", ";
 5387     OS << "+" << ACC->getIndex();
 5393       OS << ", ";
 5422         OS << "({ ... ; ";
 5424         OS << " })\n";
 5431         OS << "... , ";
 5441         OS << " (OperatorCall)";
 5442       OS << " (CXXRecordTypedCall";
 5444       OS << ")";
 5446       OS << " (OperatorCall)";
 5448       OS << " (BindTemporary)";
 5450       OS << " (CXXConstructExpr";
 5454       OS << ", " << CCE->getType().getAsString() << ")";
 5454       OS << ", " << CCE->getType().getAsString() << ")";
 5456       OS << " (" << CE->getStmtClassName() << ", "
 5456       OS << " (" << CE->getStmtClassName() << ", "
 5456       OS << " (" << CE->getStmtClassName() << ", "
 5457          << CE->getCastKindName()
 5458          << ", " << CE->getType().getAsString()
 5459          << ")";
 5483     OS << ".~";
 5485     OS << "() (Implicit destructor)\n";
 5491     OS << " (Lifetime ends)\n";
 5495     OS << E.castAs<CFGLoopExit>().getLoopStmt()->getStmtClassName() << " (LoopExit)\n";
 5495     OS << E.castAs<CFGLoopExit>().getLoopStmt()->getStmtClassName() << " (LoopExit)\n";
 5499     OS << "CFGScopeBegin(";
 5502     OS << ")\n";
 5506     OS << "CFGScopeEnd(";
 5509     OS << ")\n";
 5513     OS << "CFGNewAllocator(";
 5516     OS << ")\n";
 5527     OS << "->~" << RD->getName().str() << "()";
 5527     OS << "->~" << RD->getName().str() << "()";
 5528     OS << " (Implicit destructor)\n";
 5534     OS << "~" << BS->getType()->getAsCXXRecordDecl()->getName() << "()";
 5534     OS << "~" << BS->getType()->getAsCXXRecordDecl()->getName() << "()";
 5535     OS << " (Base object destructor)\n";
 5542     OS << "this->" << FD->getName();
 5543     OS << ".~" << T->getAsCXXRecordDecl()->getName() << "()";
 5543     OS << ".~" << T->getAsCXXRecordDecl()->getName() << "()";
 5544     OS << " (Member object destructor)\n";
 5550     OS << "~";
 5552     OS << "() (Temporary object destructor)\n";
 5568   OS << "\n [B" << B.getBlockID();
 5571     OS << " (ENTRY)]\n";
 5573     OS << " (EXIT)]\n";
 5575     OS << " (INDIRECT GOTO DISPATCH)]\n";
 5577     OS << " (NORETURN)]\n";
 5579     OS << "]\n";
 5587       OS << "  ";
 5590       OS << L->getName();
 5592       OS << "case ";
 5597         OS << " ... ";
 5602       OS << "default";
 5604       OS << "catch (";
 5609         OS << "...";
 5610       OS << ")";
 5612       OS << "__except (";
 5615       OS << ")";
 5619     OS << ":\n";
 5629       OS << " ";
 5631     OS << llvm::format("%3d", j) << ": ";
 5643     OS << "   T: ";
 5662       OS << "   Preds " ;
 5665       OS << '(' << B.pred_size() << "):";
 5674           OS << "\n     ";
 5683         OS << " B" << B->getBlockID();
 5685           OS << "(Unreachable)";
 5699       OS << "   Succs ";
 5702       OS << '(' << B.succ_size() << "):";
 5711           OS << "\n    ";
 5722           OS << " B" << B->getBlockID();
 5724             OS << "(Unreachable)";
 5727           OS << " NULL";
tools/clang/lib/Analysis/CallGraph.cpp
  215   OS << " --- Call graph Dump --- \n";
  224     OS << "  Function: ";
  226       OS << "< root >";
  230     OS << " calls: ";
  235       OS << " ";
  253   os << "< >";
tools/clang/lib/Analysis/LiveVariables.cpp
  637     llvm::errs() << "\n[ B" << (*it)->getBlockID()
  638                  << " (live variables at block exit) ]\n";
  655       llvm::errs() << " " << (*di)->getDeclName().getAsString()
  656                    << " <";
  658       llvm::errs() << ">\n";
  661   llvm::errs() << "\n";
  672     llvm::errs() << "\n[ B" << I->getBlockID()
  673                  << " (live statements at block exit) ]\n";
  675       llvm::errs() << "\n";
  678     llvm::errs() << "\n";
tools/clang/lib/Analysis/PathDiagnostic.cpp
  160     warning << "warning: Path diagnostic report is not generated. Current "
  161             << "output format does not support diagnostics that cross file "
  162             << "boundaries. Refer to --analyzer-output for valid output "
  163             << "formats\n";
  899     Out << ", ";
  925       Out << Prefix << "anonymous block";
  933         Out << "defaulted ";
  935         Out << "implicit ";
  940         Out << "default ";
  942         Out << "copy ";
  944         Out << "move ";
  946       Out << "constructor";
  950         Out << "destructor";
  954         Out << "'" << *MD << "'";
  954         Out << "'" << *MD << "'";
  957         Out << "copy assignment operator";
  960         Out << "move assignment operator";
  964         Out << "'" << *MD->getParent() << "::" << *MD << "'";
  964         Out << "'" << *MD->getParent() << "::" << *MD << "'";
  964         Out << "'" << *MD->getParent() << "::" << *MD << "'";
  966         Out << "'" << *MD << "'";
  966         Out << "'" << *MD << "'";
  997   Out << "Calling ";
 1017   Out << "Entered call";
 1042       Out << "Returning to caller";
 1136     llvm::errs() << "[" << index++ << "]  ";
 1136     llvm::errs() << "[" << index++ << "]  ";
 1138     llvm::errs() << "\n";
 1143   llvm::errs() << "CALL\n--------------\n";
 1148     llvm::errs() << *ND << "\n";
 1154   llvm::errs() << "EVENT\n--------------\n";
 1155   llvm::errs() << getString() << "\n";
 1156   llvm::errs() << " ---- at ----\n";
 1161   llvm::errs() << "CONTROL\n--------------\n";
 1163   llvm::errs() << " ---- to ----\n";
 1168   llvm::errs() << "MACRO\n--------------\n";
 1173   llvm::errs() << "NOTE\n--------------\n";
 1174   llvm::errs() << getString() << "\n";
 1175   llvm::errs() << " ---- at ----\n";
 1180   llvm::errs() << "POP-UP\n--------------\n";
 1181   llvm::errs() << getString() << "\n";
 1182   llvm::errs() << " ---- at ----\n";
 1188     llvm::errs() << "<INVALID>\n";
 1195     llvm::errs() << "<range>\n";
 1199     llvm::errs() << "\n";
 1205       llvm::errs() << "<NULL STMT>\n";
 1209       llvm::errs() << *ND << "\n";
 1212       llvm::errs() << "<block>\n";
 1214       llvm::errs() << "<unknown decl>\n";
 1216       llvm::errs() << "<NULL DECL>\n";
tools/clang/lib/Analysis/ProgramPoint.cpp
   57   Out << "\"kind\": \"";
   60     Out << "BlockEntrance\""
   61         << ", \"block_id\": "
   67     Out << "FunctionExit\""
   68         << ", \"block_id\": " << FEP->getBlock()->getBlockID()
   69         << ", \"stmt_id\": ";
   72       Out << RS->getID(Context) << ", \"stmt\": ";
   75       Out << "null, \"stmt\": null";
   83     Out << "CallEnter\"";
   86     Out << "CallExitBegin\"";
   89     Out << "CallExitEnd\"";
   92     Out << "EpsilonPoint\"";
   96     Out << "LoopExit\", \"stmt\": \""
   97         << castAs<LoopExit>().getLoopStmt()->getStmtClassName() << '\"';
  102     Out << "PreCall\", \"decl\": \""
  104         << "\", \"location\": ";
  111     Out << "PostCall\", \"decl\": \""
  113         << "\", \"location\": ";
  119     Out << "PostInitializer\", ";
  122       Out << "\"field_decl\": \"" << *FD << '\"';
  124       Out << "\"type\": \"";
  136     Out << "Edge\", \"src_id\": " << E.getSrc()->getBlockID()
  137         << ", \"dst_id\": " << E.getDst()->getBlockID() << ", \"terminator\": ";
  137         << ", \"dst_id\": " << E.getDst()->getBlockID() << ", \"terminator\": ";
  140       Out << "null, \"term_kind\": null";
  146     Out << ", \"location\": ";
  149     Out << ", \"term_kind\": \"";
  151       Out << "SwitchStmt\", \"case\": ";
  154           Out << "{ \"lhs\": ";
  158             Out << "null";
  161           Out << ", \"rhs\": ";
  165             Out << "null";
  167           Out << " }";
  170           Out << "\"default\"";
  173         Out << "\"implicit default\"";
  177       Out << "IndirectGotoStmt\"";
  179       Out << "Condition\", \"value\": "
  180           << (*E.getSrc()->succ_begin() == E.getDst() ? "true" : "false");
  189     Out << "Statement\", \"stmt_kind\": \"" << S->getStmtClassName()
  189     Out << "Statement\", \"stmt_kind\": \"" << S->getStmtClassName()
  190         << "\", \"stmt_id\": " << S->getID(Context)
  191         << ", \"pointer\": \"" << (const void *)S << "\", ";
  191         << ", \"pointer\": \"" << (const void *)S << "\", ";
  193       Out << "\"cast_kind\": \"" << CS->getCastKindName() << "\", ";
  193       Out << "\"cast_kind\": \"" << CS->getCastKindName() << "\", ";
  193       Out << "\"cast_kind\": \"" << CS->getCastKindName() << "\", ";
  195     Out << "\"pretty\": ";
  199     Out << ", \"location\": ";
  202     Out << ", \"stmt_point_kind\": \"";
  204       Out << "PreLoad";
  206       Out << "PreStore";
  208       Out << "PostAllocatorCall";
  210       Out << "PostCondition";
  212       Out << "PostLoad";
  214       Out << "PostLValue";
  216       Out << "PostStore";
  218       Out << "PostStmt";
  220       Out << "PostStmtPurgeDeadSymbols";
  222       Out << "PreStmtPurgeDeadSymbols";
  224       Out << "PreStmt";
  226       Out << "\nKind: '" << getKind();
tools/clang/lib/Analysis/ThreadSafety.cpp
  471       llvm::errs() << "Undefined";
  476       llvm::errs() << "<<NULL>>";
  480     llvm::errs() << "." << i << " " << ((const void*) Dec);
  480     llvm::errs() << "." << i << " " << ((const void*) Dec);
  490       llvm::errs() << " = ";
  494         llvm::errs() << "\n";
  505       llvm::errs() << " -> ";
  507       llvm::errs() << "\n";
tools/clang/lib/Analysis/plugins/CheckerOptionHandling/CheckerOptionHandling.cpp
   16   llvm::outs() << "Example option is set to "
   17                << (Mgr.getAnalyzerOptions().getCheckerBooleanOption(
tools/clang/lib/Basic/Diagnostic.cpp
  247   llvm::errs() << "diagnostic state at ";
  249   llvm::errs() << ": " << CurDiagState << "\n";
  249   llvm::errs() << ": " << CurDiagState << "\n";
  260       llvm::errs() << "File " << &File << " <FileID " << ID.getHashValue()
  260       llvm::errs() << "File " << &File << " <FileID " << ID.getHashValue()
  261                    << ">: " << SrcMgr.getBuffer(ID)->getBufferIdentifier();
  266         llvm::errs() << " parent " << File.Parent << " <FileID "
  266         llvm::errs() << " parent " << File.Parent << " <FileID "
  267                      << Decomp.first.getHashValue() << "> ";
  273         llvm::errs() << " has_local_transitions";
  274       llvm::errs() << "\n";
  287         llvm::errs() << "  ";
  291         llvm::errs() << ": state " << Transition.State << ":\n";
  291         llvm::errs() << ": state " << Transition.State << ":\n";
  304         llvm::errs() << "    ";
  306           llvm::errs() << "<unknown " << Mapping.first << ">";
  306           llvm::errs() << "<unknown " << Mapping.first << ">";
  309         llvm::errs() << ": ";
  312         case diag::Severity::Ignored: llvm::errs() << "ignored"; break;
  313         case diag::Severity::Remark: llvm::errs() << "remark"; break;
  314         case diag::Severity::Warning: llvm::errs() << "warning"; break;
  315         case diag::Severity::Error: llvm::errs() << "error"; break;
  316         case diag::Severity::Fatal: llvm::errs() << "fatal"; break;
  320           llvm::errs() << " default";
  322           llvm::errs() << " pragma";
  324           llvm::errs() << " no-error";
  326           llvm::errs() << " no-fatal";
  328           llvm::errs() << " overruled";
  329         llvm::errs() << "\n";
  955         Out << '\'' << S << '\'';
  958         Out << S;
  961         Out << S;
  964         Out << '<' << S << '>';
  966         Out << "(null)";
tools/clang/lib/Basic/FileManager.cpp
  564   llvm::errs() << "\n*** File Manager Stats:\n";
  565   llvm::errs() << UniqueRealFiles.size() << " real files found, "
  566                << UniqueRealDirs.size() << " real dirs found.\n";
  567   llvm::errs() << VirtualFileEntries.size() << " virtual files found, "
  568                << VirtualDirectoryEntries.size() << " virtual dirs found.\n";
  569   llvm::errs() << NumDirLookups << " dir lookups, "
  570                << NumDirCacheMisses << " dir cache misses.\n";
  571   llvm::errs() << NumFileLookups << " file lookups, "
  572                << NumFileCacheMisses << " file cache misses.\n";
tools/clang/lib/Basic/Module.cpp
  195       OS << ".";
  422     OS << "framework ";
  424     OS << "explicit ";
  425   OS << "module ";
  431       OS << " [system]";
  433       OS << " [extern_c]";
  436   OS << " {\n";
  440     OS << "requires ";
  443         OS << ", ";
  445         OS << "!";
  448     OS << "\n";
  453     OS << "umbrella header \"";
  455     OS << "\"\n";
  458     OS << "umbrella \"";
  460     OS << "\"\n";
  465     OS << "config_macros ";
  467       OS << "[exhaustive]";
  470         OS << ", ";
  473     OS << "\n";
  489       OS << K.Prefix << "header \"";
  491       OS << "\" { size " << H.Entry->getSize()
  492          << " mtime " << H.Entry->getModificationTime() << " }\n";
  492          << " mtime " << H.Entry->getModificationTime() << " }\n";
  498       OS << Kinds[U.Kind].Prefix << "header \"";
  500       OS << "\"";
  502         OS << " {";
  504           OS << " size " << *U.Size;
  506           OS << " mtime " << *U.ModTime;
  507         OS << " }";
  509       OS << "\n";
  515     OS << "export_as" << ExportAsModule << "\n";
  515     OS << "export_as" << ExportAsModule << "\n";
  529     OS << "export ";
  533         OS << ".*";
  535       OS << "*";
  537     OS << "\n";
  542     OS << "export ";
  545       OS << (UnresolvedExports[I].Id.empty() ? "*" : ".*");
  546     OS << "\n";
  551     OS << "use ";
  553     OS << "\n";
  558     OS << "use ";
  560     OS << "\n";
  565     OS << "link ";
  567       OS << "framework ";
  568     OS << "\"";
  570     OS << "\"";
  575     OS << "conflict ";
  577     OS << ", \"";
  579     OS << "\"\n";
  584     OS << "conflict ";
  586     OS << ", \"";
  588     OS << "\"\n";
  594       OS << "explicit ";
  595     OS << "module * {\n";
  598       OS << "export *\n";
  601     OS << "}\n";
  605   OS << "}\n";
tools/clang/lib/Basic/ObjCRuntime.cpp
   34   case ObjCRuntime::MacOSX: out << "macosx"; break;
   35   case ObjCRuntime::FragileMacOSX: out << "macosx-fragile"; break;
   36   case ObjCRuntime::iOS: out << "ios"; break;
   37   case ObjCRuntime::WatchOS: out << "watchos"; break;
   38   case ObjCRuntime::GNUstep: out << "gnustep"; break;
   39   case ObjCRuntime::GCC: out << "gcc"; break;
   40   case ObjCRuntime::ObjFW: out << "objfw"; break;
tools/clang/lib/Basic/SourceLocation.cpp
   34     OS << ": ";
   36   OS << Message << '\n';
   45     OS << "<invalid loc>";
   53       OS << "<invalid>";
   57     OS << PLoc.getFilename() << ':' << PLoc.getLine()
   64   OS << " <Spelling=";
   94       OS << "<invalid sloc>";
  100       OS << PLoc.getFilename() << ':' << PLoc.getLine() << ':'
  103       OS << "line" << ':' << PLoc.getLine() << ':' << PLoc.getColumn();
  105       OS << "col" << ':' << PLoc.getColumn();
  111   OS << " <Spelling=";
  122     OS << ", ";
tools/clang/lib/Basic/SourceManager.cpp
 2050   llvm::errs() << "\n*** Source Manager Stats:\n";
 2051   llvm::errs() << FileInfos.size() << " files mapped, " << MemBufferInfos.size()
 2052                << " mem buffers mapped.\n";
 2053   llvm::errs() << LocalSLocEntryTable.size() << " local SLocEntry's allocated ("
 2055                << " bytes of capacity), "
 2056                << NextLocalOffset << "B of Sloc address space used.\n";
 2058                << " loaded SLocEntries allocated, "
 2060                << "B of Sloc address space used.\n";
 2070   llvm::errs() << NumFileBytesMapped << " bytes of files mapped, "
 2071                << NumLineNumsComputed << " files with line #'s computed, "
 2072                << NumMacroArgsComputed << " files with macro args computed.\n";
 2073   llvm::errs() << "FileID scans: " << NumLinearScans << " linear, "
 2073   llvm::errs() << "FileID scans: " << NumLinearScans << " linear, "
 2074                << NumBinaryProbes << " binary.\n";
 2082     out << "SLocEntry <FileID " << ID << "> " << (Entry.isFile() ? "file" : "expansion")
 2082     out << "SLocEntry <FileID " << ID << "> " << (Entry.isFile() ? "file" : "expansion")
 2082     out << "SLocEntry <FileID " << ID << "> " << (Entry.isFile() ? "file" : "expansion")
 2083         << " <SourceLocation " << Entry.getOffset() << ":";
 2083         << " <SourceLocation " << Entry.getOffset() << ":";
 2085       out << *NextStart << ">\n";
 2087       out << "???\?>\n";
 2091         out << "  covers <FileID " << ID << ":" << int(ID + FI.NumCreatedFIDs)
 2091         out << "  covers <FileID " << ID << ":" << int(ID + FI.NumCreatedFIDs)
 2092             << ">\n";
 2094         out << "  included from " << FI.getIncludeLoc().getOffset() << "\n";
 2094         out << "  included from " << FI.getIncludeLoc().getOffset() << "\n";
 2096         out << "  for " << (CC->OrigEntry ? CC->OrigEntry->getName() : "<none>")
 2097             << "\n";
 2099           out << "  contents overridden\n";
 2101           out << "  contents from "
 2103               << "\n";
 2108       out << "  spelling from " << EI.getSpellingLoc().getOffset() << "\n";
 2108       out << "  spelling from " << EI.getSpellingLoc().getOffset() << "\n";
 2109       out << "  macro " << (EI.isMacroArgExpansion() ? "arg" : "body")
 2109       out << "  macro " << (EI.isMacroArgExpansion() ? "arg" : "body")
 2110           << " range <" << EI.getExpansionLocStart().getOffset() << ":"
 2110           << " range <" << EI.getExpansionLocStart().getOffset() << ":"
 2111           << EI.getExpansionLocEnd().getOffset() << ">\n";
tools/clang/lib/Basic/Version.cpp
  108     OS << " (";
  127   OS << ToolName << " version " CLANG_VERSION_STRING " "
  146   OS << "Clang " CLANG_VERSION_STRING " " << getClangFullRepositoryVersion();
tools/clang/lib/CodeGen/BackendUtil.cpp
 1404       errs() << "Error loading imported file '" << I.first()
 1405              << "': " << MBOrErr.getError().message() << "\n";
 1405              << "': " << MBOrErr.getError().message() << "\n";
 1412         errs() << "Error loading imported file '" << I.first()
 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/CGBuiltin.cpp
  706     AsmOS << "lock ";
  707   AsmOS << "bt";
  710   AsmOS << SizeSuffix << " $2, ($1)\n\tsetc ${0:b}";
 1126     OS << "__os_log_helper";
 1127     OS << "_" << BufferAlignment.getQuantity();
 1128     OS << "_" << int(Layout.getSummaryByte());
 1129     OS << "_" << int(Layout.getNumArgsByte());
 1131       OS << "_" << int(Item.getSizeByte()) << "_"
 1131       OS << "_" << int(Item.getSizeByte()) << "_"
 7422                        ((1 << 1) | ((SysReg >> 14) & 1))  << ":" <<
 7423                        ((SysReg >> 11) & 7)               << ":" <<
 7424                        ((SysReg >> 7)  & 15)              << ":" <<
 7425                        ((SysReg >> 3)  & 15)              << ":" <<
tools/clang/lib/CodeGen/CGDebugInfo.cpp
  291       OS << OC->getIdentifier()->getNameStart() << '('
  292          << OC->getIdentifier()->getNameStart() << ')';
 1945     OS << Quals << "::";
 1951     OS << "`dynamic initializer for '";
 1954     OS << "`dynamic atexit destructor for '";
 2387         OS << " ";
 2390       OS << "\"-" << (Undef ? 'U' : 'D');
 2394           OS << "\\\\";
 2397           OS << "\\\"";
 4314       << "__block_literal_" << CGM.getUniqueBlockCount();
tools/clang/lib/CodeGen/CGObjCMac.cpp
 5591       OS << "\t.objc_class_name_" << Sym->getName() << "=0\n"
 5591       OS << "\t.objc_class_name_" << Sym->getName() << "=0\n"
 5592          << "\t.globl .objc_class_name_" << Sym->getName() << "\n";
 5592          << "\t.globl .objc_class_name_" << Sym->getName() << "\n";
 5594       OS << "\t.lazy_reference .objc_class_name_" << Sym->getName() << "\n";
 5594       OS << "\t.lazy_reference .objc_class_name_" << Sym->getName() << "\n";
 5596       OS << "\t.objc_category_name_" << Category << "=0\n"
 5596       OS << "\t.objc_category_name_" << Category << "=0\n"
 5597          << "\t.globl .objc_category_name_" << Category << "\n";
 5597          << "\t.globl .objc_category_name_" << Category << "\n";
 6279       << ((flags & NonFragileABI_Class_Meta) ? "_OBJC_METACLASS_RO_$_"
 6584     llvm::raw_svector_ostream(ExtName) << Interface->getObjCRuntimeNameAsString() << "_$_"
 6871     llvm::raw_svector_ostream(Protocol) << "_OBJC_PROTOCOL_$_"
 6963       << "_OBJC_PROTOCOL_$_" << PD->getObjCRuntimeNameAsString();
 6979   llvm::raw_svector_ostream(ProtocolRef) << "_OBJC_LABEL_PROTOCOL_$_"
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1671     OS2 << ";" << PLoc.getFilename() << ";";
 1671     OS2 << ";" << PLoc.getFilename() << ";";
 1671     OS2 << ";" << PLoc.getFilename() << ";";
 1674     OS2 << ";" << PLoc.getLine() << ";" << PLoc.getColumn() << ";;";
 1674     OS2 << ";" << PLoc.getLine() << ";" << PLoc.getColumn() << ";;";
 1674     OS2 << ";" << PLoc.getLine() << ";" << PLoc.getColumn() << ";;";
 2688       OS << "_decl_tgt_ref_ptr";
 2903     OS << "__omp_offloading_" << llvm::format("_%x", DeviceID)
 2904        << llvm::format("_%x_", FileID) << VD->getName() << "_l" << Line;
 5987   Out << Prefix << Name << "_"
 6492     OS << "__omp_offloading" << llvm::format("_%x", DeviceID)
 6493        << llvm::format("_%x_", FileID) << ParentName << "_l" << Line;
 9661     OS << "__omp_offloading_firstprivate_" << llvm::format("_%x", DeviceID)
 9662        << llvm::format("_%x_", FileID) << VD->getName() << "_l" << Line;
10334       Out << "_ZGV" << Data.ISA << Mask;
10483       Out << "ls" << ParamAttr.StrideOrArg;
10517   Out << Prefix << ISA << LMask << VLEN;
10519     Out << "v";
10520   Out << ParSeq << "_" << MangledName;
tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
  775     llvm::outs() << "\n*** Dumping IRgen Record Layout\n";
  776     llvm::outs() << "Record: ";
  778     llvm::outs() << "\nLayout: ";
  862   OS << "<CGRecordLayout\n";
  863   OS << "  LLVMType:" << *CompleteObjectType << "\n";
  863   OS << "  LLVMType:" << *CompleteObjectType << "\n";
  865     OS << "  NonVirtualBaseLLVMType:" << *BaseSubobjectType << "\n";
  865     OS << "  NonVirtualBaseLLVMType:" << *BaseSubobjectType << "\n";
  866   OS << "  IsZeroInitializable:" << IsZeroInitializable << "\n";
  866   OS << "  IsZeroInitializable:" << IsZeroInitializable << "\n";
  867   OS << "  BitFields:[\n";
  885     OS << "\n";
  888   OS << "]>\n";
  896   OS << "<CGBitFieldInfo"
  897      << " Offset:" << Offset
  898      << " Size:" << Size
  899      << " IsSigned:" << IsSigned
  900      << " StorageSize:" << StorageSize
  901      << " StorageOffset:" << StorageOffset.getQuantity() << ">";
  901      << " StorageOffset:" << StorageOffset.getQuantity() << ">";
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  573     Out << "_debug__";
tools/clang/lib/CodeGen/CodeGenAction.cpp
  660     MsgStream << " (hotness: " << *D.getHotness() << ")";
  660     MsgStream << " (hotness: " << *D.getHotness() << ")";
tools/clang/lib/CodeGen/CodeGenModule.cpp
  950     Out << ".resolver";
  974     Out << "arch_" << Info.Architecture;
 1007       Out << "__regcall3__" << II->getName();
tools/clang/lib/CodeGen/CodeGenTypes.cpp
   74     OS << "anon";
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
 1293   OS << FunctionName << ":\n";
 1301       OS << "Expansion,";
 1304       OS << "Skipped,";
 1307       OS << "Gap,";
 1311     OS << "File " << R.FileID << ", " << R.LineStart << ":" << R.ColumnStart
 1311     OS << "File " << R.FileID << ", " << R.LineStart << ":" << R.ColumnStart
 1311     OS << "File " << R.FileID << ", " << R.LineStart << ":" << R.ColumnStart
 1312        << " -> " << R.LineEnd << ":" << R.ColumnEnd << " = ";
 1312        << " -> " << R.LineEnd << ":" << R.ColumnEnd << " = ";
 1312        << " -> " << R.LineEnd << ":" << R.ColumnEnd << " = ";
 1315       OS << " (Expanded file = " << R.ExpandedFileID << ")";
 1315       OS << " (Expanded file = " << R.ExpandedFileID << ")";
 1316     OS << "\n";
tools/clang/lib/CodeGen/MacroPPCallbacks.cpp
   38         Name << "...";
   45       Name << "...";
tools/clang/lib/CodeGen/TargetInfo.cpp
  222   OS << "(ABIArgInfo Kind=";
  225     OS << "Direct Type=";
  229       OS << "null";
  232     OS << "Extend";
  235     OS << "Ignore";
  238     OS << "InAlloca Offset=" << getInAllocaFieldIndex();
  241     OS << "Indirect Align=" << getIndirectAlign().getQuantity()
  242        << " ByVal=" << getIndirectByVal()
  243        << " Realign=" << getIndirectRealign();
  246     OS << "Expand";
  249     OS << "CoerceAndExpand Type=";
  253   OS << ")\n";
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp
  395       llvm::errs() << "CTU loaded AST file: " << FileName << "\n";
  395       llvm::errs() << "CTU loaded AST file: " << FileName << "\n";
tools/clang/lib/Driver/Compilation.cpp
  175       *OS << "[Logging clang options]";
tools/clang/lib/Driver/Driver.cpp
 1394     ScriptOS << "# Crash reproducer for " << getClangFullVersion() << "\n"
 1394     ScriptOS << "# Crash reproducer for " << getClangFullVersion() << "\n"
 1395              << "# Driver args: ";
 1397     ScriptOS << "# Original command: ";
 1401       ScriptOS << "\n# Additional information: " << AdditionalInformation
 1402                << "\n";
 1540   OS << "Target: " << TC.getTripleString() << '\n';
 1546       OS << "Thread model: " << A->getValue();
 1546       OS << "Thread model: " << A->getValue();
 1548     OS << "Thread model: " << TC.getThreadModel();
 1552   OS << "InstalledDir: " << InstalledDir << '\n';
 1556     OS << "Configuration file: " << ConfigFile << '\n';
 1661     llvm::outs() << CLANG_VERSION_STRING << "\n";
 1661     llvm::outs() << CLANG_VERSION_STRING << "\n";
 1691       llvm::errs() << "System configuration file directory: "
 1692                    << SystemConfigDir << "\n";
 1694       llvm::errs() << "User configuration file directory: "
 1695                    << UserConfigDir << "\n";
 1709     llvm::outs() << "programs: =";
 1717     llvm::outs() << "\n";
 1718     llvm::outs() << "libraries: =" << ResourceDir;
 1731     llvm::outs() << "\n";
 1738     llvm::outs() << GetFilePath(A->getValue(), TC) << "\n";
 1749     llvm::outs() << "\n";
 1765       llvm::outs() << TC.getCompilerRT(C.getArgs(), "builtins") << "\n";
 1768       llvm::outs() << GetFilePath("libgcc.a", TC) << "\n";
 1776       llvm::outs() << Multilib << "\n";
 1783       llvm::outs() << ".\n";
 1787       llvm::outs() << Suffix.substr(1) << "\n";
 1793     llvm::outs() << TC.getTripleString() << "\n";
 1799     llvm::outs() << Triple.getTriple() << "\n";
 1830   os << Action::getClassName(A->getKind()) << ", ";
 1830   os << Action::getClassName(A->getKind()) << ", ";
 1832     os << "\"" << IA->getInputArg().getValue() << "\"";
 1832     os << "\"" << IA->getInputArg().getValue() << "\"";
 1832     os << "\"" << IA->getInputArg().getValue() << "\"";
 1834     os << '"' << BIA->getArchName() << '"' << ", {"
 1835        << PrintActions1(C, *BIA->input_begin(), Ids, SibIndent, SibKind) << "}";
 1845             os << ", ";
 1850             os << "host";
 1851           os << " (";
 1855             os << ":" << BoundArch;
 1855             os << ":" << BoundArch;
 1856           os << ")";
 1858           os << " {" << PrintActions1(C, A, Ids, SibIndent, SibKind) << "}";
 1858           os << " {" << PrintActions1(C, A, Ids, SibIndent, SibKind) << "}";
 1868         os << Prefix << PrintActions1(C, PreRequisite, Ids, SibIndent, SibKind);
 1872       os << "}";
 1874       os << "{}";
 1884       offload_os << ", (" << S;
 1886         offload_os << ", " << A->getOffloadingArch();
 1886         offload_os << ", " << A->getOffloadingArch();
 1887       offload_os << ")";
 1897   llvm::errs() << Indent + getSelfIndent(Kind) << Id << ": " << os.str() << ", "
 1897   llvm::errs() << Indent + getSelfIndent(Kind) << Id << ": " << os.str() << ", "
 1898                << types::getTypeName(A->getType()) << offload_os.str() << "\n";
 1898                << types::getTypeName(A->getType()) << offload_os.str() << "\n";
 4289     llvm::errs() << "# \"" << T->getToolChain().getTripleString() << '"'
 4290                  << " - \"" << T->getName() << "\", inputs: [";
 4290                  << " - \"" << T->getName() << "\", inputs: [";
 4290                  << " - \"" << T->getName() << "\", inputs: [";
 4294         llvm::errs() << ", ";
 4297       llvm::errs() << "], output: " << Result.getAsString() << "\n";
 4297       llvm::errs() << "], output: " << Result.getAsString() << "\n";
 4299       llvm::errs() << "], outputs: [";
 4303           llvm::errs() << ", ";
 4305       llvm::errs() << "] \n";
tools/clang/lib/Driver/Job.cpp
  123       OS << Arg << '\n';
  141     OS << "\" ";
  292     OS << "\n Arguments passed via response file:\n";
  297       OS << "\n";
  298     OS << " (end of response file)";
  301   OS << Terminator;
  320       llvm::outs() << llvm::sys::path::filename(Arg) << "\n";
  384   OS << " ||";
  422   OS << " || (exit 0)" << Terminator;
  422   OS << " || (exit 0)" << Terminator;
tools/clang/lib/Driver/Multilib.cpp
   87     OS << ".";
   91   OS << ";";
   94       OS << "@" << Flag.substr(1);
  291     OS << M << "\n";
tools/clang/lib/Driver/ToolChains/Clang.cpp
 1937   CDB << "{ \"directory\": \"" << escape(*CWD) << "\"";
 1937   CDB << "{ \"directory\": \"" << escape(*CWD) << "\"";
 1938   CDB << ", \"file\": \"" << escape(Input.getFilename()) << "\"";
 1938   CDB << ", \"file\": \"" << escape(Input.getFilename()) << "\"";
 1939   CDB << ", \"output\": \"" << escape(Output.getFilename()) << "\"";
 1939   CDB << ", \"output\": \"" << escape(Output.getFilename()) << "\"";
 1940   CDB << ", \"arguments\": [\"" << escape(D.ClangExecutable) << "\"";
 1940   CDB << ", \"arguments\": [\"" << escape(D.ClangExecutable) << "\"";
 1944   CDB << ", \"" << escape(Buf) << "\"";
 1944   CDB << ", \"" << escape(Buf) << "\"";
 1948     CDB << ", \"" << escape(Buf) << "\"";
 1948     CDB << ", \"" << escape(Buf) << "\"";
 1950   CDB << ", \"" << escape(Input.getFilename()) << "\"";
 1950   CDB << ", \"" << escape(Input.getFilename()) << "\"";
 1968       CDB << ", \"" << escape(it) << "\"";
 1968       CDB << ", \"" << escape(it) << "\"";
 1972   CDB << ", \"" << escape(Buf) << "\"]},\n";
 1972   CDB << ", \"" << escape(Buf) << "\"]},\n";
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
 1324   LksStream << "/*\n";
 1325   LksStream << "       HIP Offload Linker Script\n";
 1326   LksStream << " *** Automatically generated by Clang ***\n";
 1327   LksStream << "*/\n";
 1328   LksStream << "TARGET(binary)\n";
 1329   LksStream << "INPUT(" << BundleFile << ")\n";
 1329   LksStream << "INPUT(" << BundleFile << ")\n";
 1329   LksStream << "INPUT(" << BundleFile << ")\n";
 1330   LksStream << "SECTIONS\n";
 1331   LksStream << "{\n";
 1332   LksStream << "  .hip_fatbin :\n";
 1333   LksStream << "  ALIGN(0x10)\n";
 1334   LksStream << "  {\n";
 1335   LksStream << "    PROVIDE_HIDDEN(__hip_fatbin = .);\n";
 1336   LksStream << "    " << BundleFile << "\n";
 1336   LksStream << "    " << BundleFile << "\n";
 1336   LksStream << "    " << BundleFile << "\n";
 1337   LksStream << "  }\n";
 1338   LksStream << "  /DISCARD/ :\n";
 1339   LksStream << "  {\n";
 1340   LksStream << "    * ( __CLANG_OFFLOAD_BUNDLE__* )\n";
 1341   LksStream << "  }\n";
 1342   LksStream << "}\n";
 1343   LksStream << "INSERT BEFORE .data\n";
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  277     OS << "Found CUDA installation: " << InstallPath << ", version "
  277     OS << "Found CUDA installation: " << InstallPath << ", version "
  278        << CudaVersionToString(Version) << "\n";
  278        << CudaVersionToString(Version) << "\n";
tools/clang/lib/Driver/ToolChains/Darwin.cpp
 2333     OS << "-target-sdk-version=" << SDKInfo->getVersion();
tools/clang/lib/Driver/ToolChains/Gnu.cpp
 1855     OS << "Found candidate GCC installation: " << InstallPath << "\n";
 1855     OS << "Found candidate GCC installation: " << InstallPath << "\n";
 1858     OS << "Selected GCC installation: " << GCCInstallPath << "\n";
 1858     OS << "Selected GCC installation: " << GCCInstallPath << "\n";
 1861     OS << "Candidate multilib: " << Multilib << "\n";
 1861     OS << "Candidate multilib: " << Multilib << "\n";
 1864     OS << "Selected multilib: " << SelectedMultilib << "\n";
 1864     OS << "Selected multilib: " << SelectedMultilib << "\n";
tools/clang/lib/Format/BreakableToken.cpp
   70   LLVM_DEBUG(llvm::dbgs() << "Comment split: \"" << Text
   71                           << "\", Column limit: " << ColumnLimit
   72                           << ", Content start: " << ContentStartColumn << "\n");
   72                           << ", Content start: " << ContentStartColumn << "\n");
  449     llvm::dbgs() << "IndentAtLineBreak " << IndentAtLineBreak << "\n";
  449     llvm::dbgs() << "IndentAtLineBreak " << IndentAtLineBreak << "\n";
  450     llvm::dbgs() << "DelimitersOnNewline " << DelimitersOnNewline << "\n";
  450     llvm::dbgs() << "DelimitersOnNewline " << DelimitersOnNewline << "\n";
  452       llvm::dbgs() << i << " |" << Content[i] << "| "
  452       llvm::dbgs() << i << " |" << Content[i] << "| "
  453                    << "CC=" << ContentColumn[i] << "| "
  453                    << "CC=" << ContentColumn[i] << "| "
  454                    << "IN=" << (Content[i].data() - Lines[i].data()) << "\n";
  454                    << "IN=" << (Content[i].data() - Lines[i].data()) << "\n";
tools/clang/lib/Format/ContinuationIndenter.cpp
 1602             << "Failed to update the prefix delimiter of a raw string: "
 1603             << llvm::toString(std::move(PrefixErr)) << "\n";
 1614             << "Failed to update the suffix delimiter of a raw string: "
 1615             << llvm::toString(std::move(SuffixErr)) << "\n";
 1625         llvm::errs() << "Failed to reformat raw string: "
 1626                      << llvm::toString(std::move(Err)) << "\n";
 1886   LLVM_DEBUG(llvm::dbgs() << "Breaking protruding token at column "
 1887                           << StartColumn << ".\n");
 1891                << "  Line: " << LineIndex << " (Reflow: " << Reflow << ")\n");
 1891                << "  Line: " << LineIndex << " (Reflow: " << Reflow << ")\n");
 1891                << "  Line: " << LineIndex << " (Reflow: " << Reflow << ")\n");
 1899       LLVM_DEBUG(llvm::dbgs() << "    Over limit, need: "
 1901                               << ", space: " << ColumnLimit
 1902                               << ", reflown prefix: " << ContentStartColumn
 1903                               << ", offset in line: " << TailOffset << "\n");
 1903                               << ", offset in line: " << TailOffset << "\n");
 1919         LLVM_DEBUG(llvm::dbgs() << "    No break opportunity.\n");
 1946         LLVM_DEBUG(llvm::dbgs() << "    ToSplit: " << ToSplitColumns << "\n");
 1946         LLVM_DEBUG(llvm::dbgs() << "    ToSplit: " << ToSplitColumns << "\n");
 1967                    << "    ContentStartColumn: " << ContentStartColumn << "\n");
 1967                    << "    ContentStartColumn: " << ContentStartColumn << "\n");
 1969                    << "    ToNextSplit: " << ToNextSplitColumns << "\n");
 1969                    << "    ToNextSplit: " << ToNextSplitColumns << "\n");
 1982                      << "    Penalty excess: " << ExcessCharactersPenalty
 1983                      << "\n            break : " << NewBreakPenalty << "\n");
 1983                      << "\n            break : " << NewBreakPenalty << "\n");
 1990           LLVM_DEBUG(llvm::dbgs() << "    Continuing on line...\n");
 2006       LLVM_DEBUG(llvm::dbgs() << "    Breaking...\n");
 2013                  << "    ContentIndent: " << ContentIndent << "\n");
 2013                  << "    ContentIndent: " << ContentIndent << "\n");
 2039       LLVM_DEBUG(llvm::dbgs() << "    Breaking at: " << TailOffset + Split.first
 2040                               << ", " << Split.second << "\n");
 2040                               << ", " << Split.second << "\n");
 2080                    << "    Size of reflown text: " << ContentStartColumn
 2081                    << "\n    Potential reflow split: ");
 2083           LLVM_DEBUG(llvm::dbgs() << SplitBeforeNext.first << ", "
 2084                                   << SplitBeforeNext.second << "\n");
 2093                        << "    Over limit after reflow, need: "
 2095                        << ", space: " << ColumnLimit
 2096                        << ", reflown prefix: " << ContentStartColumn
 2097                        << ", offset in line: " << TailOffset << "\n");
 2097                        << ", offset in line: " << TailOffset << "\n");
 2106               LLVM_DEBUG(llvm::dbgs() << "    Did not find later break\n");
 2115                 LLVM_DEBUG(llvm::dbgs() << "    Next split protrudes, need: "
 2117                                         << ", space: " << ColumnLimit);
 2128           LLVM_DEBUG(llvm::dbgs() << "not found.\n");
 2170     LLVM_DEBUG(llvm::dbgs() << "Replacing whitespace after last line.\n");
tools/clang/lib/Format/Format.cpp
 1173                    << "Duplicate languages in the config file on positions "
 1174                    << j << " and " << i << "\n");
 1174                    << j << " and " << i << "\n");
 1290             llvm::errs() << llvm::toString(std::move(Err)) << "\n";
 1648         llvm::errs() << llvm::toString(std::move(Err)) << "\n";
 1789                      << "Detected ObjC at location "
 1792                      << " token: " << FormatTok->TokenText << " token type: "
 1792                      << " token: " << FormatTok->TokenText << " token type: "
 1793                      << getTokenTypeName(FormatTok->Type) << "\n");
 1793                      << getTokenTypeName(FormatTok->Type) << "\n");
 1967     llvm::errs() << llvm::toString(std::move(Err)) << "\n";
 2136     llvm::errs() << llvm::toString(std::move(Err)) << "\n";
 2304       llvm::errs() << "Insertions other than header #include insertion are "
 2306                    << R.getReplacementText() << "\n";
 2324         llvm::errs() << "Failed to add header deletion replacement for "
 2325                      << Header << ": " << llvm::toString(std::move(Err))
 2326                      << "\n";
 2615     LLVM_DEBUG(llvm::dbgs() << "Trying " << ConfigFile << "...\n");
 2615     LLVM_DEBUG(llvm::dbgs() << "Trying " << ConfigFile << "...\n");
 2624       LLVM_DEBUG(llvm::dbgs() << "Trying " << ConfigFile << "...\n");
 2624       LLVM_DEBUG(llvm::dbgs() << "Trying " << ConfigFile << "...\n");
 2647                  << "Using configuration file " << ConfigFile << "\n");
 2647                  << "Using configuration file " << ConfigFile << "\n");
tools/clang/lib/Format/NamespaceEndCommentsFixer.cpp
  134     llvm::errs() << "Error while adding namespace end comment: "
  135                  << llvm::toString(std::move(Err)) << "\n";
  148     llvm::errs() << "Error while updating namespace end comment: "
  149                  << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Format/SortJavaScriptImports.cpp
  189     LLVM_DEBUG(llvm::dbgs() << "Replacing imports:\n"
  190                             << getSourceText(InsertionPoint) << "\nwith:\n"
  191                             << ReferencesText << "\n");
  198       llvm::errs() << llvm::toString(std::move(Err)) << "\n";
  308         llvm::dbgs() << "JsModuleReference: {"
  309                      << "is_export: " << Reference.IsExport
  310                      << ", cat: " << Reference.Category
  311                      << ", url: " << Reference.URL
  312                      << ", prefix: " << Reference.Prefix;
  314           llvm::dbgs() << ", " << Reference.Symbols[i].Symbol << " as "
  314           llvm::dbgs() << ", " << Reference.Symbols[i].Symbol << " as "
  316         llvm::dbgs() << ", text: " << getSourceText(Reference.Range);
  317         llvm::dbgs() << "}\n";
tools/clang/lib/Format/TokenAnalyzer.cpp
   58       llvm::dbgs() << "File encoding: "
   59                    << (Encoding == encoding::Encoding_UTF8 ? "UTF8" : "unknown")
   60                    << "\n");
   61   LLVM_DEBUG(llvm::dbgs() << "Language: " << getLanguageName(Style.Language)
   62                           << "\n");
   76     LLVM_DEBUG(llvm::dbgs() << "Run " << Run << "...\n");
   76     LLVM_DEBUG(llvm::dbgs() << "Run " << Run << "...\n");
   89       llvm::dbgs() << "Replacements for run " << Run << ":\n";
   89       llvm::dbgs() << "Replacements for run " << Run << ":\n";
   93         llvm::dbgs() << I->toString() << "\n";
  106         llvm::errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Format/TokenAnnotator.cpp
 3538   llvm::errs() << "AnnotatedTokens(L=" << Line.Level << "):\n";
 3538   llvm::errs() << "AnnotatedTokens(L=" << Line.Level << "):\n";
 3541     llvm::errs() << " M=" << Tok->MustBreakBefore
 3542                  << " C=" << Tok->CanBreakBefore
 3543                  << " T=" << getTokenTypeName(Tok->Type)
 3543                  << " T=" << getTokenTypeName(Tok->Type)
 3544                  << " S=" << Tok->SpacesRequiredBefore
 3545                  << " B=" << Tok->BlockParameterCount
 3546                  << " BK=" << Tok->BlockKind << " P=" << Tok->SplitPenalty
 3546                  << " BK=" << Tok->BlockKind << " P=" << Tok->SplitPenalty
 3547                  << " Name=" << Tok->Tok.getName() << " L=" << Tok->TotalLength
 3547                  << " Name=" << Tok->Tok.getName() << " L=" << Tok->TotalLength
 3547                  << " Name=" << Tok->Tok.getName() << " L=" << Tok->TotalLength
 3548                  << " PPK=" << Tok->PackingKind << " FakeLParens=";
 3548                  << " PPK=" << Tok->PackingKind << " FakeLParens=";
 3550       llvm::errs() << Tok->FakeLParens[i] << "/";
 3551     llvm::errs() << " FakeRParens=" << Tok->FakeRParens;
 3552     llvm::errs() << " II=" << Tok->Tok.getIdentifierInfo();
 3553     llvm::errs() << " Text='" << Tok->TokenText << "'\n";
 3553     llvm::errs() << " Text='" << Tok->TokenText << "'\n";
 3558   llvm::errs() << "----\n";
tools/clang/lib/Format/UnwrappedLineFormatter.cpp
  716   llvm::dbgs() << "State: ";
  718     llvm::dbgs() << (P.Tok ? P.Tok->TokenText : "F") << "|" << P.Indent << "|"
  718     llvm::dbgs() << (P.Tok ? P.Tok->TokenText : "F") << "|" << P.Indent << "|"
  719                  << P.LastSpace << "|" << P.NestedBlockIndent << " ";
  719                  << P.LastSpace << "|" << P.NestedBlockIndent << " ";
  721   llvm::dbgs() << State.NextToken->TokenText << "\n";
  963                    << "\n---\nPenalty for line: " << Penalty << "\n");
  963                    << "\n---\nPenalty for line: " << Penalty << "\n");
  987       LLVM_DEBUG(llvm::dbgs() << "Could not find a solution.\n");
  996                << "Total number of analyzed states: " << Count << "\n");
  996                << "Total number of analyzed states: " << Count << "\n");
  997     LLVM_DEBUG(llvm::dbgs() << "---\n");
 1041           llvm::dbgs() << "Penalty for placing "
 1042                        << (*I)->Previous->State.NextToken->Tok.getName()
 1043                        << " on a new line: " << Penalty << "\n";
 1043                        << " on a new line: " << Penalty << "\n";
tools/clang/lib/Format/UnwrappedLineParser.cpp
  259     LLVM_DEBUG(llvm::dbgs() << "----\n");
 2447   llvm::dbgs() << Prefix << "Line(" << Line.Level
 2448                << ", FSC=" << Line.FirstStartColumn << ")"
 2448                << ", FSC=" << Line.FirstStartColumn << ")"
 2449                << (Line.InPPDirective ? " MACRO" : "") << ": ";
 2449                << (Line.InPPDirective ? " MACRO" : "") << ": ";
 2453     llvm::dbgs() << I->Tok->Tok.getName() << "["
 2453     llvm::dbgs() << I->Tok->Tok.getName() << "["
 2454                  << "T=" << I->Tok->Type << ", OC=" << I->Tok->OriginalColumn
 2454                  << "T=" << I->Tok->Type << ", OC=" << I->Tok->OriginalColumn
 2455                  << "] ";
 2468   llvm::dbgs() << "\n";
tools/clang/lib/Format/UsingDeclarationsSorter.cpp
  147         llvm::errs() << "Error while sorting using declarations: "
  148                      << llvm::toString(std::move(Err)) << "\n";
  166       llvm::dbgs() << "Replacing '" << OldText << "' with '" << Text << "'\n";
  166       llvm::dbgs() << "Replacing '" << OldText << "' with '" << Text << "'\n";
  166       llvm::dbgs() << "Replacing '" << OldText << "' with '" << Text << "'\n";
  171       llvm::errs() << "Error while sorting using declarations: "
  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)
   61             << ":\n";
   65         Out << "\n";
   87             Out << "Lookup map is in primary DeclContext "
   88                 << DC->getPrimaryContext() << "\n";
   90           Out << "Not a DeclContext\n";
tools/clang/lib/Frontend/ChainedIncludesSource.cpp
  182       os << ".pch" << i-1;
tools/clang/lib/Frontend/CompilerInstance.cpp
  947     OS << "clang -cc1 version " CLANG_VERSION_STRING
  948        << " based upon " << BACKEND_PACKAGE_STRING
  948        << " based upon " << BACKEND_PACKAGE_STRING
  949        << " default target " << llvm::sys::getDefaultTargetTriple() << "\n";
  949        << " default target " << llvm::sys::getDefaultTargetTriple() << "\n";
  981       OS << NumWarnings << " warning" << (NumWarnings == 1 ? "" : "s");
  981       OS << NumWarnings << " warning" << (NumWarnings == 1 ? "" : "s");
  983       OS << " and ";
  985       OS << NumErrors << " error" << (NumErrors == 1 ? "" : "s");
  985       OS << NumErrors << " error" << (NumErrors == 1 ? "" : "s");
  987       OS << " generated";
  990           OS << " when compiling for host";
  992           OS << " when compiling for " << getTargetOpts().CPU;
  995       OS << ".\n";
tools/clang/lib/Frontend/CompilerInvocation.cpp
  387       os << " ";
  388     os << Args.getArgString(i);
tools/clang/lib/Frontend/DependencyFile.cpp
  337       OS << " \\\n  ";
  358       OS << " \\\n ";
  375       OS << ":\n";
tools/clang/lib/Frontend/DependencyGraph.cpp
   97   OS << "header_" << Node->getUID();
  110   OS << "digraph \"dependencies\" {\n";
  117     OS << " [ shape=\"box\", label=\"";
  123     << "\"];\n";
  133       OS << " -> ";
  135       OS << ";\n";
  138   OS << "}\n";
tools/clang/lib/Frontend/DiagnosticRenderer.cpp
  444     Message << "expanded from here";
  446     Message << "expanded from macro '" << MacroName << "'";
  446     Message << "expanded from macro '" << MacroName << "'";
  579   Message << "(skipping " << (MacroDepth - MacroLimit)
  580           << " expansions in backtrace; use -fmacro-backtrace-limit=0 to "
  597   Message << "in file included from " << PLoc.getFilename() << ':'
  597   Message << "in file included from " << PLoc.getFilename() << ':'
  598           << PLoc.getLine() << ":";
  608   Message << "in module '" << ModuleName;
  610     Message << "' imported from " << PLoc.getFilename() << ':'
  610     Message << "' imported from " << PLoc.getFilename() << ':'
  612   Message << ":";
  623     Message << "while building module '" << ModuleName << "' imported from "
  623     Message << "while building module '" << ModuleName << "' imported from "
  624             << PLoc.getFilename() << ':' << PLoc.getLine() << ":";
  624             << PLoc.getFilename() << ':' << PLoc.getLine() << ":";
  626     Message << "while building module '" << ModuleName << "':";
  626     Message << "while building module '" << ModuleName << "':";
tools/clang/lib/Frontend/FrontendAction.cpp
   91     llvm::outs() << "PCH DECL: " << D->getDeclKindName();
   91     llvm::outs() << "PCH DECL: " << D->getDeclKindName();
   93       llvm::outs() << " - ";
   96     llvm::outs() << "\n";
  985     llvm::errs() << "\nSTATISTICS FOR '" << getCurrentFile() << "':\n";
  985     llvm::errs() << "\nSTATISTICS FOR '" << getCurrentFile() << "':\n";
  990     llvm::errs() << "\n";
tools/clang/lib/Frontend/FrontendActions.cpp
  442     Out << "---" << YAML << "\n";
  442     Out << "---" << YAML << "\n";
  506         << "Generated by "
  507         << (FullVersion == getClangFullRepositoryVersion()? "this"
  509         << " Clang: " << FullVersion << "\n";
  509         << " Clang: " << FullVersion << "\n";
  514       Out.indent(2) << "Module name: " << ModuleName << "\n";
  514       Out.indent(2) << "Module name: " << ModuleName << "\n";
  517       Out.indent(2) << "Module map file: " << ModuleMapPath << "\n";
  517       Out.indent(2) << "Module map file: " << ModuleMapPath << "\n";
  522       Out.indent(2) << "Language options:\n";
  535         Out.indent(4) << "Module features:\n";
  537           Out.indent(6) << Feature << "\n";
  545       Out.indent(2) << "Target options:\n";
  546       Out.indent(4) << "  Triple: " << TargetOpts.Triple << "\n";
  546       Out.indent(4) << "  Triple: " << TargetOpts.Triple << "\n";
  547       Out.indent(4) << "  CPU: " << TargetOpts.CPU << "\n";
  547       Out.indent(4) << "  CPU: " << TargetOpts.CPU << "\n";
  548       Out.indent(4) << "  ABI: " << TargetOpts.ABI << "\n";
  548       Out.indent(4) << "  ABI: " << TargetOpts.ABI << "\n";
  551         Out.indent(4) << "Target features:\n";
  554           Out.indent(6) << TargetOpts.FeaturesAsWritten[I] << "\n";
  563       Out.indent(2) << "Diagnostic options:\n";
  571       Out.indent(4) << "Diagnostic flags:\n";
  573         Out.indent(6) << "-W" << Warning << "\n";
  573         Out.indent(6) << "-W" << Warning << "\n";
  575         Out.indent(6) << "-R" << Remark << "\n";
  575         Out.indent(6) << "-R" << Remark << "\n";
  583       Out.indent(2) << "Header search options:\n";
  584       Out.indent(4) << "System root [-isysroot=]: '" << HSOpts.Sysroot << "'\n";
  584       Out.indent(4) << "System root [-isysroot=]: '" << HSOpts.Sysroot << "'\n";
  585       Out.indent(4) << "Resource dir [ -resource-dir=]: '" << HSOpts.ResourceDir << "'\n";
  585       Out.indent(4) << "Resource dir [ -resource-dir=]: '" << HSOpts.ResourceDir << "'\n";
  586       Out.indent(4) << "Module Cache: '" << SpecificModuleCachePath << "'\n";
  586       Out.indent(4) << "Module Cache: '" << SpecificModuleCachePath << "'\n";
  587       DUMP_BOOLEAN(HSOpts.UseBuiltinIncludes,
  589       DUMP_BOOLEAN(HSOpts.UseStandardSystemIncludes,
  591       DUMP_BOOLEAN(HSOpts.UseStandardCXXIncludes,
  593       DUMP_BOOLEAN(HSOpts.UseLibcxx,
  601       Out.indent(2) << "Preprocessor options:\n";
  602       DUMP_BOOLEAN(PPOpts.UsePredefines,
  604       DUMP_BOOLEAN(PPOpts.DetailedRecord,
  608         Out.indent(4) << "Predefined macros:\n";
  616           Out << "-U";
  618           Out << "-D";
  619         Out << I->first << "\n";
  627       Out.indent(2) << "Module file extension '"
  628                     << Metadata.BlockName << "' " << Metadata.MajorVersion
  629                     << "." << Metadata.MinorVersion;
  631         Out << ": ";
  635       Out << "\n";
  652       Out.indent(2) << "Input file: " << Filename;
  655         Out << " [";
  657           Out << "System";
  659             Out << ", ";
  662           Out << "Overridden";
  664             Out << ", ";
  667           Out << "ExplicitModule";
  669         Out << "]";
  672       Out << "\n";
  684       Out.indent(2) << "Imports module '" << ModuleName
  685                     << "': " << Filename.str() << "\n";
  685                     << "': " << Filename.str() << "\n";
  709   Out << "Information for module file '" << getCurrentFile() << "':\n";
  709   Out << "Information for module file '" << getCurrentFile() << "':\n";
  715   Out << "  Module format: " << (IsRaw ? "raw" : "obj") << "\n";
  715   Out << "  Module format: " << (IsRaw ? "raw" : "obj") << "\n";
  715   Out << "  Module format: " << (IsRaw ? "raw" : "obj") << "\n";
  744     llvm::errs() << "\n";
  757     llvm::errs() << "\n";
  828       (*OS) << "# 1 \"";
  830       (*OS) << "\"\n";
  833     (*OS) << "#pragma clang module contents\n";
  888   OS << "{\n";
  889   OS << "\n\"features\" : [\n";
  901   OS << "\n],\n";
  903   OS << "\n\"extensions\" : [\n";
  915   OS << "\n]\n";
  917   OS << "}";
tools/clang/lib/Frontend/InitHeaderSearch.cpp
  179     llvm::errs() << "ignoring nonexistent directory \""
  180                  << MappedPathStr << "\"\n";
  535       llvm::errs() << "ignoring duplicate directory \""
  536                    << CurEntry.getName() << "\"\n";
  538         llvm::errs() << "  as it is a non-system directory that duplicates "
  539                      << "a system directory\n";
  600     llvm::errs() << "#include \"...\" search starts here:\n";
  603         llvm::errs() << "#include <...> search starts here:\n";
  614       llvm::errs() << " " << Name << Suffix << "\n";
  614       llvm::errs() << " " << Name << Suffix << "\n";
  614       llvm::errs() << " " << Name << Suffix << "\n";
  616     llvm::errs() << "End of search list.\n";
tools/clang/lib/Frontend/InitPreprocessor.cpp
  301     Out << "namespace std {\n"
  302         << "\n"
  303         << "struct __true_type;\n"
  304         << "struct __false_type;\n"
  305         << "\n";
  307     Out << "template<typename _Tp> struct __is_scalar;\n"
  308         << "\n";
  311       Out << "template<typename _Tp>\n"
  312           << "struct __is_scalar<__attribute__((objc_ownership(strong))) _Tp> {\n"
  313           << "  enum { __value = 0 };\n"
  314           << "  typedef __false_type __type;\n"
  315           << "};\n"
  316           << "\n";
  320       Out << "template<typename _Tp>\n"
  321           << "struct __is_scalar<__attribute__((objc_ownership(weak))) _Tp> {\n"
  322           << "  enum { __value = 0 };\n"
  323           << "  typedef __false_type __type;\n"
  324           << "};\n"
  325           << "\n";
  329       Out << "template<typename _Tp>\n"
  330           << "struct __is_scalar<__attribute__((objc_ownership(autoreleasing)))"
  331           << " _Tp> {\n"
  332           << "  enum { __value = 0 };\n"
  333           << "  typedef __false_type __type;\n"
  334           << "};\n"
  335           << "\n";
  338     Out << "}\n";
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
  258       OS << "--- !" << Format << "\n";
  258       OS << "--- !" << Format << "\n";
  259       OS << "IfsVersion: 1.0\n";
  260       OS << "Triple: " << T.str() << "\n";
  260       OS << "Triple: " << T.str() << "\n";
  261       OS << "ObjectFileFormat: " << "ELF" << "\n"; // TODO: For now, just ELF.
  261       OS << "ObjectFileFormat: " << "ELF" << "\n"; // TODO: For now, just ELF.
  261       OS << "ObjectFileFormat: " << "ELF" << "\n"; // TODO: For now, just ELF.
  262       OS << "Symbols:\n";
  266           OS << "  \""
  270              << Name << "\" : { Type: ";
  276             OS << "NoType";
  280             OS << "Object, Size: "
  285             OS << "Func";
  289             OS << ", Weak: true";
  290           OS << " }\n";
  293       OS << "...\n";
tools/clang/lib/Frontend/LayoutOverrideSource.cpp
  195     OS << "Type: blah " << L->first() << '\n';
  196     OS << "  Size:" << L->second.Size << '\n';
  197     OS << "  Alignment:" << L->second.Align << '\n';
  198     OS << "  FieldOffsets: [";
  201         OS << ", ";
  204     OS << "]\n";
tools/clang/lib/Frontend/LogDiagnosticPrinter.cpp
   41   OS << "    <dict>\n";
   42   OS << "      <key>level</key>\n"
   43      << "      ";
   46     OS << "      <key>filename</key>\n"
   47        << "      ";
   51     OS << "      <key>line</key>\n"
   52        << "      ";
   56     OS << "      <key>column</key>\n"
   57        << "      ";
   61     OS << "      <key>message</key>\n"
   62        << "      ";
   65   OS << "      <key>ID</key>\n"
   66      << "      ";
   69     OS << "      <key>WarningOption</key>\n"
   70        << "      ";
   73   OS << "    </dict>\n";
   90   OS << "<dict>\n";
   92     OS << "  <key>main-file</key>\n"
   93        << "  ";
   97     OS << "  <key>dwarf-debug-flags</key>\n"
   98        << "  ";
  101   OS << "  <key>diagnostics</key>\n";
  102   OS << "  <array>\n";
  105   OS << "  </array>\n";
  106   OS << "</dict>\n";
tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp
   36   OS << "#define " << II.getName();
   49         OS << "...";
   55       OS << "...";  // #define foo(x...)
  194     OS << "#line" << ' ' << LineNo << ' ' << '"';
  343     OS << "#" << TokenText << " "
  343     OS << "#" << TokenText << " "
  345        << " /* clang -E -dI */";
  358       OS << "#pragma clang module import " << Imported->getFullModuleName(true)
  359          << " /* clang -E: implicit import for "
  360          << "#" << PP.getSpelling(IncludeTok) << " "
  360          << "#" << PP.getSpelling(IncludeTok) << " "
  362          << " */";
  387   OS << "#pragma clang module begin " << M->getFullModuleName(true);
  394   OS << "#pragma clang module end /*" << M->getFullModuleName(true) << "*/";
  394   OS << "#pragma clang module end /*" << M->getFullModuleName(true) << "*/";
  429   OS << "#undef " << MacroNameTok.getIdentifierInfo()->getName();
  451   OS << "#pragma ";
  456       OS << "message(\"";
  459       OS << "warning \"";
  462       OS << "error \"";
  478   OS << "#pragma clang __debug ";
  488   OS << "#pragma " << Namespace << " diagnostic push";
  488   OS << "#pragma " << Namespace << " diagnostic push";
  496   OS << "#pragma " << Namespace << " diagnostic pop";
  496   OS << "#pragma " << Namespace << " diagnostic pop";
  506   OS << "#pragma " << Namespace << " diagnostic ";
  506   OS << "#pragma " << Namespace << " diagnostic ";
  509     OS << "remark";
  512     OS << "warning";
  515     OS << "error";
  518     OS << "ignored";
  521     OS << "fatal";
  524   OS << " \"" << Str << '"';
  533   OS << "#pragma warning(" << WarningSpec << ':';
  544   OS << "#pragma warning(push";
  546     OS << ", " << Level;
  554   OS << "#pragma warning(pop)";
  562   OS << "#pragma character_execution_set(push";
  564     OS << ", " << Str;
  572   OS << "#pragma character_execution_set(pop)";
  580   OS << "#pragma clang assume_nonnull begin";
  588   OS << "#pragma clang assume_nonnull end";
tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp
  233     (*OS) << "#pragma clang module build ";
  266     (*OS) << "#pragma clang module endbuild /*" << MF->ModuleName << "*/\n";
  266     (*OS) << "#pragma clang module endbuild /*" << MF->ModuleName << "*/\n";
  285       OS << "# 1 \"";
  287       OS << "\"\n";
  290     OS << "#pragma clang module contents\n";
tools/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp
  126     OS << "#line" << ' ' << Line << ' ' << '"';
  140       OS << " 3";
  144       OS << " 3 4";
  150   OS << "#pragma clang module import " << Mod->getFullModuleName(true)
  151      << " /* clang -frewrite-includes: implicit import */" << MainEOL;
  358   OS << "#if 0 /* expanded by -frewrite-includes */" << MainEOL;
  363   OS << "#endif /* expanded by -frewrite-includes */" << MainEOL;
  434                 OS << "#pragma clang module begin "
  435                    << Mod->getFullModuleName(true) << "\n";
  441                 OS << "#pragma clang module end /*"
  442                    << Mod->getFullModuleName(true) << "*/\n";
  489             OS << "#if 0 /* disabled by -frewrite-includes */" << MainEOL;
  491               OS << "#if 0" << MainEOL;
  498             OS << "#endif" << MainEOL;
  499             OS << "#endif /* disabled by -frewrite-includes */" << MainEOL;
  500             OS << (elif ? "#elif " : "#if ") << (isTrue ? "1" : "0")
  500             OS << (elif ? "#elif " : "#if ") << (isTrue ? "1" : "0")
  501                << " /* evaluated by -frewrite-includes */" << MainEOL;
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 5862     llvm::errs() << "No changes\n";
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 4921     llvm::errs() << "No changes\n";
tools/clang/lib/Frontend/TestModuleFileExtension.cpp
   37     OS << "Hello from " << Ext->BlockName << " v" << Ext->MajorVersion << "."
   37     OS << "Hello from " << Ext->BlockName << " v" << Ext->MajorVersion << "."
   37     OS << "Hello from " << Ext->BlockName << " v" << Ext->MajorVersion << "."
tools/clang/lib/Frontend/TextDiagnostic.cpp
  716   case DiagnosticsEngine::Note:    OS << "note"; break;
  717   case DiagnosticsEngine::Remark:  OS << "remark"; break;
  718   case DiagnosticsEngine::Warning: OS << "warning"; break;
  719   case DiagnosticsEngine::Error:   OS << "error"; break;
  720   case DiagnosticsEngine::Fatal:   OS << "fatal error"; break;
  728     OS << "(clang)";
  730   OS << ": ";
  816         OS << ": ";
  833   case DiagnosticOptions::Vi:    OS << " +" << LineNo; break;
  909     OS << "In file included from " << PLoc.getFilename() << ':'
  909     OS << "In file included from " << PLoc.getFilename() << ':'
  910        << PLoc.getLine() << ":\n";
  912     OS << "In included file:\n";
  918     OS << "In module '" << ModuleName << "' imported from "
  918     OS << "In module '" << ModuleName << "' imported from "
  919        << PLoc.getFilename() << ':' << PLoc.getLine() << ":\n";
  919        << PLoc.getFilename() << ':' << PLoc.getLine() << ":\n";
  921     OS << "In module '" << ModuleName << "':\n";
  921     OS << "In module '" << ModuleName << "':\n";
  928     OS << "While building module '" << ModuleName << "' imported from "
  928     OS << "While building module '" << ModuleName << "' imported from "
  929       << PLoc.getFilename() << ':' << PLoc.getLine() << ":\n";
  929       << PLoc.getFilename() << ':' << PLoc.getLine() << ":\n";
  931     OS << "While building module '" << ModuleName << "':\n";
  931     OS << "While building module '" << ModuleName << "':\n";
 1354     OS << "fix-it:\"";
 1356     OS << "\":{" << SM.getLineNumber(BInfo.first, BInfo.second)
 1360       << "}:\"";
 1362     OS << "\"\n";
tools/clang/lib/Frontend/TextDiagnosticPrinter.cpp
   59       OS << " [-ferror-limit=]";
   75       OS << " [-Werror";
   81       OS << (Started ? "," : " [")
   82          << (Level == DiagnosticsEngine::Remark ? "-R" : "-W") << Opt;
   85         OS << "=" << OptValue;
   95       OS << (Started ? "," : " [");
  129     OS << Prefix << ": ";
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  853       OS << "\n  (frontend)";
  855       OS << "\n ";
  858         OS << " File " << File->getName();
  859       OS << " Line " << SourceMgr->getPresumedLineNumber(I->first);
  861     OS << ": " << I->second;
  881       OS << "\n  File *";
  883       OS << "\n  File " << SourceMgr.getFilename(D->DiagnosticLoc);
  885       OS << " Line *";
  887       OS << " Line " << SourceMgr.getPresumedLineNumber(D->DiagnosticLoc);
  889       OS << " (directive at "
  892     OS << ": " << D->Text;
tools/clang/lib/Index/CommentToXML.cpp
  197   Result << "<" << C->getTagName();
  201       Result << " ";
  205         Result << "=\"" << Attr.Value << "\"";
  205         Result << "=\"" << Attr.Value << "\"";
  210     Result << ">";
  212     Result << "/>";
  278       Result << " ";
  284     Result << "<b>";
  286     Result << "</b>";
  290     Result << "<tt>";
  292     Result<< "</tt>";
  296     Result << "<em>";
  298     Result << "</em>";
  310   Result << "</" << C->getTagName() << ">";
  310   Result << "</" << C->getTagName() << ">";
  318   Result << "<p>";
  323   Result << "</p>";
  330     Result << "<p class=\"para-brief\">";
  332     Result << "</p>";
  336     Result << "<p class=\"para-returns\">"
  339     Result << "</p>";
  350       Result << "<dt class=\"param-name-index-vararg\">";
  353       Result << "<dt class=\"param-name-index-"
  355              << "\">";
  359     Result << "<dt class=\"param-name-index-invalid\">";
  362   Result << "</dt>";
  366       Result << "<dd class=\"param-descr-index-vararg\">";
  368       Result << "<dd class=\"param-descr-index-"
  370              << "\">";
  372     Result << "<dd class=\"param-descr-index-invalid\">";
  375   Result << "</dd>";
  382       Result << "<dt class=\"tparam-name-index-"
  384              << "\">";
  386       Result << "<dt class=\"tparam-name-index-other\">";
  389     Result << "<dt class=\"tparam-name-index-invalid\">";
  393   Result << "</dt>";
  397       Result << "<dd class=\"tparam-descr-index-"
  399              << "\">";
  401       Result << "<dd class=\"tparam-descr-index-other\">";
  403     Result << "<dd class=\"tparam-descr-index-invalid\">";
  406   Result << "</dd>";
  415   Result << "<pre>";
  421   Result << "</pre>";
  431   Result << "<pre>";
  433   Result << "</pre>";
  445     Result << "<p class=\"para-brief\">";
  447     Result << "</p>";
  459     Result << "<dl>";
  462     Result << "</dl>";
  466     Result << "<dl>";
  469     Result << "</dl>";
  473     Result << "<div class=\"result-discussion\">";
  476     Result << "</div>";
  497       Result << "&amp;";
  500       Result << "&lt;";
  503       Result << "&gt;";
  506       Result << "&quot;";
  509       Result << "&#39;";
  512       Result << "&#47;";
  623       Result << " ";
  628     Result << "<bold>";
  630     Result << "</bold>";
  634     Result << "<monospaced>";
  636     Result << "</monospaced>";
  640     Result << "<emphasized>";
  642     Result << "</emphasized>";
  649   Result << "<rawHTML";
  651     Result << " isMalformed=\"1\"";
  652   Result << ">";
  661   Result << "</rawHTML>";
  666   Result << "<rawHTML";
  668     Result << " isMalformed=\"1\"";
  669   Result << ">&lt;/" << C->getTagName() << "&gt;</rawHTML>";
  669   Result << ">&lt;/" << C->getTagName() << "&gt;</rawHTML>";
  684     Result << "<Para>";
  686     Result << "<Para kind=\"" << ParagraphKind << "\">";
  686     Result << "<Para kind=\"" << ParagraphKind << "\">";
  692   Result << "</Para>";
  729   Result << "<Parameter><Name>";
  733   Result << "</Name>";
  737       Result << "<IsVarArg />";
  739       Result << "<Index>" << C->getParamIndex() << "</Index>";
  739       Result << "<Index>" << C->getParamIndex() << "</Index>";
  742   Result << "<Direction isExplicit=\"" << C->isDirectionExplicit() << "\">";
  742   Result << "<Direction isExplicit=\"" << C->isDirectionExplicit() << "\">";
  745     Result << "in";
  748     Result << "out";
  751     Result << "in,out";
  754   Result << "</Direction><Discussion>";
  756   Result << "</Discussion></Parameter>";
  761   Result << "<Parameter><Name>";
  764   Result << "</Name>";
  767     Result << "<Index>" << C->getIndex(0) << "</Index>";
  767     Result << "<Index>" << C->getIndex(0) << "</Index>";
  770   Result << "<Discussion>";
  772   Result << "</Discussion></Parameter>";
  783     Result << "<Verbatim xml:space=\"preserve\" kind=\"code\">";
  786     Result << "<Verbatim xml:space=\"preserve\" kind=\"verbatim\">";
  794   Result << "</Verbatim>";
  804   Result << "<Verbatim xml:space=\"preserve\" kind=\"verbatim\">";
  806   Result << "</Verbatim>";
  818       Result << "<Other";
  822       Result << "<Function";
  827         Result << " templateKind=\"template\"";
  830         Result << " templateKind=\"specialization\"";
  837         Result << " isInstanceMethod=\"1\"";
  839         Result << " isClassMethod=\"1\"";
  843       Result << "<Class";
  848         Result << " templateKind=\"template\"";
  851         Result << " templateKind=\"specialization\"";
  854         Result << " templateKind=\"partialSpecialization\"";
  860       Result << "<Variable";
  864       Result << "<Namespace";
  868       Result << "<Typedef";
  872       Result << "<Enum";
  885           Result << " file=\"";
  887           Result << "\"";
  889         Result << " line=\"" << SM.getLineNumber(FID, FileOffset)
  890                << "\" column=\"" << SM.getColumnNumber(FID, FileOffset)
  891                << "\"";
  896     Result << ">";
  901         Result << "<Name>";
  905         Result << "</Name>";
  909       Result << "<Name>&lt;anonymous&gt;</Name>";
  916         Result << "<USR>";
  918         Result << "</USR>";
  924     Result << "<Other><Name>unknown</Name>";
  928     Result << "<Headerfile>";
  930     Result << "</Headerfile>";
  935     Result << "<Declaration>";
  940     Result << "</Declaration>";
  945     Result << "<Abstract>";
  947     Result << "</Abstract>";
  949     Result << "<Abstract>";
  951     Result << "</Abstract>";
  956     Result << "<TemplateParameters>";
  959     Result << "</TemplateParameters>";
  963     Result << "<Parameters>";
  966     Result << "</Parameters>";
  970     Result << "<Exceptions>";
  973     Result << "</Exceptions>";
  977     Result << "<ResultDiscussion>";
  980     Result << "</ResultDiscussion>";
  990             Result << "<Deprecated/>";
  992             Result << "<Deprecated>";
  994             Result << "</Deprecated>";
  999             Result << "<Unavailable/>";
 1001             Result << "<Unavailable>";
 1003             Result << "</Unavailable>";
 1010       Result << "<Availability";
 1018       Result << " distribution=\"" << Distribution << "\">";
 1018       Result << " distribution=\"" << Distribution << "\">";
 1021         Result << "<IntroducedInVersion>"
 1023                << "</IntroducedInVersion>";
 1027         Result << "<DeprecatedInVersion>"
 1029                << "</DeprecatedInVersion>";
 1033         Result << "<RemovedAfterVersion>"
 1035                << "</RemovedAfterVersion>";
 1039         Result << "<DeprecationSummary>";
 1041         Result << "</DeprecationSummary>";
 1044         Result << "<Unavailable/>";
 1045       Result << "</Availability>";
 1056         Result << "<Discussion>";
 1062       Result << "</Discussion>";
 1073       Result << "&amp;";
 1076       Result << "&lt;";
 1079       Result << "&gt;";
 1082       Result << "&quot;";
 1085       Result << "&apos;";
 1098   Result << "<![CDATA[";
 1102       Result << "]]]]><![CDATA[>";
 1113   Result << "]]>";
tools/clang/lib/Index/FileIndexRecord.cpp
   44   OS << "DECLS BEGIN ---\n";
   59   OS << "DECLS END ---\n";
tools/clang/lib/Index/IndexSymbol.cpp
  447     case SymbolRole::Declaration: OS << "Decl"; break;
  448     case SymbolRole::Definition: OS << "Def"; break;
  449     case SymbolRole::Reference: OS << "Ref"; break;
  450     case SymbolRole::Read: OS << "Read"; break;
  451     case SymbolRole::Write: OS << "Writ"; break;
  452     case SymbolRole::Call: OS << "Call"; break;
  453     case SymbolRole::Dynamic: OS << "Dyn"; break;
  454     case SymbolRole::AddressOf: OS << "Addr"; break;
  455     case SymbolRole::Implicit: OS << "Impl"; break;
  456     case SymbolRole::Undefinition: OS << "Undef"; break;
  457     case SymbolRole::RelationChildOf: OS << "RelChild"; break;
  458     case SymbolRole::RelationBaseOf: OS << "RelBase"; break;
  459     case SymbolRole::RelationOverrideOf: OS << "RelOver"; break;
  460     case SymbolRole::RelationReceivedBy: OS << "RelRec"; break;
  461     case SymbolRole::RelationCalledBy: OS << "RelCall"; break;
  462     case SymbolRole::RelationExtendedBy: OS << "RelExt"; break;
  463     case SymbolRole::RelationAccessorOf: OS << "RelAcc"; break;
  464     case SymbolRole::RelationContainedBy: OS << "RelCont"; break;
  465     case SymbolRole::RelationIBTypeOf: OS << "RelIBType"; break;
  466     case SymbolRole::RelationSpecializationOf: OS << "RelSpecialization"; break;
  467     case SymbolRole::NameReference: OS << "NameReference"; break;
  573     case SymbolProperty::Generic: OS << "Gen"; break;
  574     case SymbolProperty::TemplatePartialSpecialization: OS << "TPS"; break;
  575     case SymbolProperty::TemplateSpecialization: OS << "TS"; break;
  576     case SymbolProperty::UnitTest: OS << "test"; break;
  577     case SymbolProperty::IBAnnotated: OS << "IB"; break;
  578     case SymbolProperty::IBOutletCollection: OS << "IBColl"; break;
  579     case SymbolProperty::GKInspectable: OS << "GKI"; break;
  580     case SymbolProperty::Local: OS << "local"; break;
  581     case SymbolProperty::ProtocolInterface: OS << "protocol"; break;
tools/clang/lib/Index/USRGeneration.cpp
  115     Out << "@UD@";
  211   Out << (isa<ObjCIvarDecl>(D) ? "@" : "@FI@");
  231     Out << "@FT@";
  234     Out << "@F@";
  283     case RQ_RValue: Out << "&&"; break;
  290   Out << "@";
  311     Out << "@VT";
  315     Out << "@VP";
  361     Out << "@aN";
  367     Out << "@N@" << D->getName();
  381     Out << "@NA@" << D->getName();
  411   Out << (D->isInstanceMethod() ? "(im)" : "(cm)")
  439         Out << "objc(ext)" << ID->getName() << '@';
  512       case TTK_Struct: Out << "@ST"; break;
  513       case TTK_Union:  Out << "@UT"; break;
  524       case TTK_Struct: Out << "@SP"; break;
  525       case TTK_Union:  Out << "@UP"; break;
  536       case TTK_Struct: Out << "@S"; break;
  537       case TTK_Union:  Out << "@U"; break;
  538       case TTK_Enum:   Out << "@E"; break;
  585   Out << "@T@";
  596     Out << "@M@" << Container;
  791       Out << "&&";
  987   Out << "@UUV@";
  996   Out << "@UUT@";
 1013     OS << "@M@" << ClsSymDefinedIn << '@';
 1016   OS << "@CM@" << CatSymDefinedIn << '@';
 1027   OS << "objc(cs)" << Cls;
 1035   OS << "objc(cy)" << Cls << '@' << Cat;
 1045   OS << (IsInstanceMethod ? "(im)" : "(cm)") << Sel;
 1050   OS << (isClassProp ? "(cpy)" : "(py)") << Prop;
 1056     OS << "@M@" << ExtSymDefinedIn << '@';
 1057   OS << "objc(pl)" << Prot;
 1063     OS << "@M@" << ExtSymDefinedIn;
 1064   OS << "@E@" << EnumName;
 1111   Out << "@macro@";
 1149   OS << "@M@" << ModName;
tools/clang/lib/Lex/HeaderMap.cpp
  176   llvm::dbgs() << "Header Map " << getFileName() << ":\n  " << NumBuckets
  176   llvm::dbgs() << "Header Map " << getFileName() << ":\n  " << NumBuckets
  177                << ", " << getEndianAdjustedWord(Hdr.NumEntries) << "\n";
  177                << ", " << getEndianAdjustedWord(Hdr.NumEntries) << "\n";
  192     llvm::dbgs() << "  " << i << ". " << Key << " -> '" << Prefix << "' '"
  192     llvm::dbgs() << "  " << i << ". " << Key << " -> '" << Prefix << "' '"
  192     llvm::dbgs() << "  " << i << ". " << Key << " -> '" << Prefix << "' '"
  192     llvm::dbgs() << "  " << i << ". " << Key << " -> '" << Prefix << "' '"
  193                  << Suffix << "'\n";
tools/clang/lib/Lex/HeaderSearch.cpp
   90   llvm::errs() << "\n*** HeaderSearch Stats:\n"
   91                << FileInfo.size() << " files tracked.\n";
   99   llvm::errs() << "  " << NumOnceOnlyFiles << " #import/#pragma once files.\n"
   99   llvm::errs() << "  " << NumOnceOnlyFiles << " #import/#pragma once files.\n"
  100                << "  " << NumSingleIncludedFiles << " included exactly once.\n"
  100                << "  " << NumSingleIncludedFiles << " included exactly once.\n"
  101                << "  " << MaxNumIncludes << " max times a file is included.\n";
  101                << "  " << MaxNumIncludes << " max times a file is included.\n";
  103   llvm::errs() << "  " << NumIncluded << " #include/#include_next/#import.\n"
  103   llvm::errs() << "  " << NumIncluded << " #include/#include_next/#import.\n"
  104                << "    " << NumMultiIncludeFileOptzn
  105                << " #includes skipped due to the multi-include optimization.\n";
  107   llvm::errs() << NumFrameworkLookups << " framework lookups.\n"
  108                << NumSubFrameworkLookups << " subframework lookups.\n";
tools/clang/lib/Lex/MacroInfo.cpp
  136   Out << "MacroInfo " << this;
  137   if (IsBuiltinMacro) Out << " builtin";
  138   if (IsDisabled) Out << " disabled";
  139   if (IsUsed) Out << " used";
  141     Out << " allow_redefinitions_without_warning";
  142   if (IsWarnIfUnused) Out << " warn_if_unused";
  143   if (UsedForHeaderGuard) Out << " header_guard";
  145   Out << "\n    #define <macro>";
  147     Out << "(";
  149       if (I) Out << ", ";
  153       if (NumParameters && IsC99Varargs) Out << ", ";
  154       Out << "...";
  156     Out << ")";
  164       Out << " ";
  168       Out << Punc;
  174       Out << Tok.getName();
  219   case MD_Define: Out << "DefMacroDirective"; break;
  220   case MD_Undefine: Out << "UndefMacroDirective"; break;
  221   case MD_Visibility: Out << "VisibilityMacroDirective"; break;
  223   Out << " " << this;
  226     Out << " prev " << Prev;
  227   if (IsFromPCH) Out << " from_pch";
  230     Out << (IsPublic ? " public" : " private");
  234       Out << "\n  ";
  238   Out << "\n";
tools/clang/lib/Lex/ModuleMap.cpp
 1246   llvm::errs() << "Modules:";
 1252   llvm::errs() << "Headers:";
 1255     llvm::errs() << "  \"" << H->first->getName() << "\" -> ";
 1255     llvm::errs() << "  \"" << H->first->getName() << "\" -> ";
 1260         llvm::errs() << ",";
 1263     llvm::errs() << "\n";
 2646         OS << ".";
tools/clang/lib/Lex/PPMacroExpansion.cpp
  267   llvm::errs() << "MacroState " << State << " " << II->getNameStart();
  267   llvm::errs() << "MacroState " << State << " " << II->getNameStart();
  267   llvm::errs() << "MacroState " << State << " " << II->getNameStart();
  269     llvm::errs() << " ambiguous";
  271     llvm::errs() << " overrides";
  273       llvm::errs() << " " << O->getOwningModule()->getFullModuleName();
  275   llvm::errs() << "\n";
  280     llvm::errs() << " ";
  292     llvm::errs() << " ModuleMacro " << MM << " "
  292     llvm::errs() << " ModuleMacro " << MM << " "
  295       llvm::errs() << " undef";
  298       llvm::errs() << " active";
  301       llvm::errs() << " hidden";
  303       llvm::errs() << " overridden";
  306       llvm::errs() << " overrides";
  308         llvm::errs() << " " << O->getOwningModule()->getFullModuleName();
  313     llvm::errs() << "\n";
  315       llvm::errs() << "  ";
  317       llvm::errs() << "\n";
tools/clang/lib/Lex/Preprocessor.cpp
  231   llvm::errs() << tok::getTokenName(Tok.getKind()) << " '"
  231   llvm::errs() << tok::getTokenName(Tok.getKind()) << " '"
  232                << getSpelling(Tok) << "'";
  236   llvm::errs() << "\t";
  238     llvm::errs() << " [StartOfLine]";
  240     llvm::errs() << " [LeadingSpace]";
  242     llvm::errs() << " [ExpandDisabled]";
  245     llvm::errs() << " [UnClean='" << StringRef(Start, Tok.getLength())
  246                  << "']";
  249   llvm::errs() << "\tLoc=<";
  251   llvm::errs() << ">";
  259   llvm::errs() << "MACRO: ";
  262     llvm::errs() << "  ";
  264   llvm::errs() << "\n";
  268   llvm::errs() << "\n*** Preprocessor Stats:\n";
  269   llvm::errs() << NumDirectives << " directives found:\n";
  270   llvm::errs() << "  " << NumDefined << " #define.\n";
  270   llvm::errs() << "  " << NumDefined << " #define.\n";
  271   llvm::errs() << "  " << NumUndefined << " #undef.\n";
  271   llvm::errs() << "  " << NumUndefined << " #undef.\n";
  272   llvm::errs() << "  #include/#include_next/#import:\n";
  273   llvm::errs() << "    " << NumEnteredSourceFiles << " source files entered.\n";
  273   llvm::errs() << "    " << NumEnteredSourceFiles << " source files entered.\n";
  274   llvm::errs() << "    " << MaxIncludeStackDepth << " max include stack depth\n";
  274   llvm::errs() << "    " << MaxIncludeStackDepth << " max include stack depth\n";
  275   llvm::errs() << "  " << NumIf << " #if/#ifndef/#ifdef.\n";
  275   llvm::errs() << "  " << NumIf << " #if/#ifndef/#ifdef.\n";
  276   llvm::errs() << "  " << NumElse << " #else/#elif.\n";
  276   llvm::errs() << "  " << NumElse << " #else/#elif.\n";
  277   llvm::errs() << "  " << NumEndif << " #endif.\n";
  277   llvm::errs() << "  " << NumEndif << " #endif.\n";
  278   llvm::errs() << "  " << NumPragma << " #pragma.\n";
  278   llvm::errs() << "  " << NumPragma << " #pragma.\n";
  279   llvm::errs() << NumSkipped << " #if/#ifndef#ifdef regions skipped\n";
  281   llvm::errs() << NumMacroExpanded << "/" << NumFnMacroExpanded << "/"
  281   llvm::errs() << NumMacroExpanded << "/" << NumFnMacroExpanded << "/"
  282              << NumBuiltinMacroExpanded << " obj/fn/builtin macros expanded, "
  283              << NumFastMacroExpanded << " on the fast path.\n";
  285              << " token paste (##) operations performed, "
  286              << NumFastTokenPaste << " on the fast path.\n";
  288   llvm::errs() << "\nPreprocessor Memory: " << getTotalMemory() << "B total";
  288   llvm::errs() << "\nPreprocessor Memory: " << getTotalMemory() << "B total";
  290   llvm::errs() << "\n  BumpPtr: " << BP.getTotalMemory();
  291   llvm::errs() << "\n  Macro Expanded Tokens: "
  293   llvm::errs() << "\n  Predefines Buffer: " << Predefines.capacity();
  295   llvm::errs() << "\n  Macros: "
  297   llvm::errs() << "\n  #pragma push_macro Info: "
  299   llvm::errs() << "\n  Poison Reasons: "
  301   llvm::errs() << "\n  Comment Handlers: "
  302                << llvm::capacity_in_bytes(CommentHandlers) << "\n";
tools/clang/lib/Parse/ParseAST.cpp
   61     OS << "<eof> parser at end of file\n";
   66     OS << "<unknown> parser at unknown location\n";
   73     OS << ": at annotation token\n";
   82       OS << ": unknown current parser token\n";
   85     OS << ": current parser token '" << StringRef(Spelling, Length) << "'\n";
   85     OS << ": current parser token '" << StringRef(Spelling, Length) << "'\n";
  182     llvm::errs() << "\nSTATISTICS:\n";
tools/clang/lib/Parse/ParseInit.cpp
  168                                          << " = ";
tools/clang/lib/Rewrite/HTMLRewrite.cpp
  182       if (EscapeSpaces) os << "&nbsp;";
  190             os << "&nbsp;";
  193             os << " ";
  200     case '<': os << "&lt;"; break;
  201     case '>': os << "&gt;"; break;
  202     case '&': os << "&amp;"; break;
  214   OS << "<tr class=\"codeline\" data-linenumber=\"" << LineNo << "\">"
  214   OS << "<tr class=\"codeline\" data-linenumber=\"" << LineNo << "\">"
  215      << "<td class=\"num\" id=\"LN" << LineNo << "\">" << LineNo
  215      << "<td class=\"num\" id=\"LN" << LineNo << "\">" << LineNo
  216      << "</td><td class=\"line\">";
  219     OS << " </td></tr>";
  269   os << "<table class=\"code\" data-fileid=\"" << FID.getHashValue() << "\">\n";
  269   os << "<table class=\"code\" data-fileid=\"" << FID.getHashValue() << "\">\n";
  286   os << "<!doctype html>\n" // Use HTML 5 doctype
  290     os << "<title>" << html::EscapeText(title) << "</title>\n";
  290     os << "<title>" << html::EscapeText(title) << "</title>\n";
  292   os << R"<<<(
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
 2259   llvm::errs() << "\n*** Analysis Based Warnings Stats:\n";
 2264   llvm::errs() << NumFunctionsAnalyzed << " functions analyzed ("
 2265                << NumFunctionsWithBadCFGs << " w/o CFGs).\n"
 2266                << "  " << NumCFGBlocks << " CFG blocks built.\n"
 2266                << "  " << NumCFGBlocks << " CFG blocks built.\n"
 2267                << "  " << AvgCFGBlocksPerFunction
 2268                << " average CFG blocks per function.\n"
 2269                << "  " << MaxCFGBlocksPerFunction
 2270                << " max CFG blocks per function.\n";
 2277                << " functions analyzed for uninitialiazed variables\n"
 2278                << "  " << NumUninitAnalysisVariables << " variables analyzed.\n"
 2278                << "  " << NumUninitAnalysisVariables << " variables analyzed.\n"
 2279                << "  " << AvgUninitVariablesPerFunction
 2280                << " average variables per function.\n"
 2281                << "  " << MaxUninitAnalysisVariablesPerFunction
 2282                << " max variables per function.\n"
 2283                << "  " << NumUninitAnalysisBlockVisits << " block visits.\n"
 2283                << "  " << NumUninitAnalysisBlockVisits << " block visits.\n"
 2284                << "  " << AvgUninitBlockVisitsPerFunction
 2285                << " average block visits per function.\n"
 2286                << "  " << MaxUninitAnalysisBlockVisitsPerFunction
 2287                << " max block visits per function.\n";
tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  317       OS << "{#" << C.Optional->getAsString() << "#}";
  317       OS << "{#" << C.Optional->getAsString() << "#}";
  320       OS << "<#" << C.Text << "#>";
  320       OS << "<#" << C.Text << "#>";
  320       OS << "<#" << C.Text << "#>";
  324       OS << "[#" << C.Text << "#]";
  324       OS << "[#" << C.Text << "#]";
  324       OS << "[#" << C.Text << "#]";
  327       OS << "<#" << C.Text << "#>";
  327       OS << "<#" << C.Text << "#>";
  327       OS << "<#" << C.Text << "#>";
  330       OS << C.Text;
  391         OS << "::";
  542     OS << "PREFERRED-TYPE: " << Context.getPreferredType().getAsString()
  543        << "\n";
  550     OS << "COMPLETION: ";
  564           OS << " (" << llvm::join(Tags, ",") << ")";
  564           OS << " (" << llvm::join(Tags, ",") << ")";
  569         OS << " : " << CCS->getAsString();
  571           OS << " : " << BriefComment;
  571           OS << " : " << BriefComment;
  584         OS << " (requires fix-it:"
  585            << " {" << SM.getLineNumber(BInfo.first, BInfo.second) << ':'
  588            << SM.getColumnNumber(EInfo.first, EInfo.second) << "}"
  589            << " to \"" << FixIt.CodeToInsert << "\")";
  589            << " to \"" << FixIt.CodeToInsert << "\")";
  595       OS << Results[I].Keyword << '\n';
  603         OS << " : " << CCS->getAsString();
  609       OS << "Pattern : " << Results[I].Pattern->getAsString() << '\n';
  627       OS << "[#" << C.Text << "#]";
  627       OS << "[#" << C.Text << "#]";
  627       OS << "[#" << C.Text << "#]";
  631       OS << "<#" << C.Text << "#>";
  631       OS << "<#" << C.Text << "#>";
  631       OS << "<#" << C.Text << "#>";
  639       OS << C.Text;
  649   OS << "OPENING_PAREN_LOC: ";
  651   OS << "\n";
  657       OS << "OVERLOAD: " << getOverloadAsString(*CCS) << "\n";
  657       OS << "OVERLOAD: " << getOverloadAsString(*CCS) << "\n";
tools/clang/lib/Sema/Scope.cpp
  143     OS << "Flags: ";
  175       OS << Info.second;
  178         OS << " | ";
  188     OS << "Parent: (clang::Scope*)" << Parent << '\n';
  190   OS << "Depth: " << Depth << '\n';
  191   OS << "MSLastManglingNumber: " << getMSLastManglingNumber() << '\n';
  192   OS << "MSCurManglingNumber: " << getMSCurManglingNumber() << '\n';
  194     OS << "Entity : (clang::DeclContext*)" << DC << '\n';
  197     OS << "NRVO not allowed\n";
  199     OS << "NRVO candidate : (clang::VarDecl*)" << NRVO.getPointer() << '\n';
tools/clang/lib/Sema/Sema.cpp
  454   llvm::errs() << "\n*** Semantic Analysis Stats:\n";
  455   llvm::errs() << NumSFINAEErrors << " SFINAE diagnostics trapped.\n";
tools/clang/lib/Sema/SemaAttr.cpp
  645       OS << (I.index() == Rules.size() - 1 ? ", and " : ", ");
  646     OS << "'" << attr::getSubjectMatchRuleSpelling(I.value()) << "'";
  646     OS << "'" << attr::getSubjectMatchRuleSpelling(I.value()) << "'";
  646     OS << "'" << attr::getSubjectMatchRuleSpelling(I.value()) << "'";
tools/clang/lib/Sema/SemaCast.cpp
 1937     OS << "__" << DstCCName;
 1944     OS << "__attribute__((" << DstCCName << "))";
 1944     OS << "__attribute__((" << DstCCName << "))";
tools/clang/lib/Sema/SemaChecking.cpp
 7564       OS << "\\x" << llvm::format("%02x", CodePoint);
 7566       OS << "\\u" << llvm::format("%04x", CodePoint);
 7568       OS << "\\U" << llvm::format("%08x", CodePoint);
 8465       CastFix << "(";
 8467       CastFix << ")";
 8485         CastFix << "(";
 9863   OS << "sizeof(";
 9865   OS << ")";
 9964   OS << "sizeof(";
 9966   OS << ") - ";
 9967   OS << "strlen(";
 9969   OS << ") - 1";
10729     OS << '\'' << *ED << "' (" << Value << ")";
10729     OS << '\'' << *ED << "' (" << Value << ")";
10732     OS << (BL->getValue() ? "YES" : "NO");
tools/clang/lib/Sema/SemaDecl.cpp
13239             << "  int " << FTI.Params[i].Ident->getName() << ";\n";
13239             << "  int " << FTI.Params[i].Ident->getName() << ";\n";
14659     OS << "::";
14662     OS << II->getName() << "::";
tools/clang/lib/Sema/SemaDeclAttr.cpp
 8382     FixItOS << "if (" << (SemaRef.getLangOpts().ObjC ? "@available"
 8382     FixItOS << "if (" << (SemaRef.getLangOpts().ObjC ? "@available"
 8384             << "("
 8387             << " " << Introduced.getAsString() << ", *)) {\n"
 8387             << " " << Introduced.getAsString() << ", *)) {\n"
 8388             << Indentation << ExtraIndentation;
 8397     FixItOS << "\n"
 8398             << Indentation << "} else {\n"
 8399             << Indentation << ExtraIndentation
 8400             << "// Fallback on earlier versions\n"
 8401             << Indentation << "}";
tools/clang/lib/Sema/SemaDeclCXX.cpp
  951       OS << ", ";
12238     OS << "__i" << Depth;
tools/clang/lib/Sema/SemaExceptionSpec.cpp
  398     OS << "throw()";
  402     OS << "throw(";
  408         OS << ", ";
  412     OS << ")";
  417     OS << "noexcept";
  423     OS << "noexcept(";
  426     OS << ")";
  429     OS <<"__attribute__((nothrow))";
tools/clang/lib/Sema/SemaExpr.cpp
 7219     OS << "(vector of " << NumElements << " '" << EleTyName << "' values)";
 7219     OS << "(vector of " << NumElements << " '" << EleTyName << "' values)";
 7219     OS << "(vector of " << NumElements << " '" << EleTyName << "' values)";
10423     llvm::errs() << "unhandled cast kind: " << CastExpr::getCastKindName(CK)
10423     llvm::errs() << "unhandled cast kind: " << CastExpr::getCastKindName(CK)
10424                  << "\n";
tools/clang/lib/Sema/SemaInit.cpp
 3357     OS << "`-";
 3360   case EK_Variable: OS << "Variable"; break;
 3361   case EK_Parameter: OS << "Parameter"; break;
 3362   case EK_Parameter_CF_Audited: OS << "CF audited function Parameter";
 3364   case EK_Result: OS << "Result"; break;
 3365   case EK_StmtExprResult: OS << "StmtExprResult"; break;
 3366   case EK_Exception: OS << "Exception"; break;
 3367   case EK_Member: OS << "Member"; break;
 3368   case EK_Binding: OS << "Binding"; break;
 3369   case EK_New: OS << "New"; break;
 3370   case EK_Temporary: OS << "Temporary"; break;
 3371   case EK_CompoundLiteralInit: OS << "CompoundLiteral";break;
 3372   case EK_RelatedResult: OS << "RelatedResult"; break;
 3373   case EK_Base: OS << "Base"; break;
 3374   case EK_Delegating: OS << "Delegating"; break;
 3375   case EK_ArrayElement: OS << "ArrayElement " << Index; break;
 3376   case EK_VectorElement: OS << "VectorElement " << Index; break;
 3377   case EK_ComplexElement: OS << "ComplexElement " << Index; break;
 3378   case EK_BlockElement: OS << "Block"; break;
 3380     OS << "Block (lambda)";
 3383     OS << "LambdaCapture ";
 3389     OS << " ";
 3393   OS << " '" << getType().getAsString() << "'\n";
 3393   OS << " '" << getType().getAsString() << "'\n";
 9152     OS << "Failed sequence: ";
 9155       OS << "too many initializers for reference";
 9159       OS << "parenthesized list init for reference";
 9163       OS << "array requires initializer list";
 9167       OS << "address of unaddressable function was taken";
 9171       OS << "array requires initializer list or string literal";
 9175       OS << "array requires initializer list or wide string literal";
 9179       OS << "narrow string into wide char array";
 9183       OS << "wide string into char array";
 9187       OS << "incompatible wide string into wide char array";
 9191       OS << "plain string literal into char8_t array";
 9195       OS << "u8 string literal into char array";
 9199       OS << "array type mismatch";
 9203       OS << "non-constant array initializer";
 9207       OS << "address of overloaded function failed";
 9211       OS << "overload resolution for reference initialization failed";
 9215       OS << "non-const lvalue reference bound to temporary";
 9219       OS << "non-const lvalue reference bound to bit-field";
 9223       OS << "non-const lvalue reference bound to vector element";
 9227       OS << "non-const lvalue reference bound to unrelated type";
 9231       OS << "rvalue reference bound to an lvalue";
 9235       OS << "reference initialization drops qualifiers";
 9239       OS << "reference with mismatching address space bound to temporary";
 9243       OS << "reference initialization failed";
 9247       OS << "conversion failed";
 9251       OS << "conversion from property failed";
 9255       OS << "too many initializers for scalar";
 9259       OS << "parenthesized list init for reference";
 9263       OS << "referencing binding to initializer list";
 9267       OS << "initializer list for non-aggregate, non-scalar type";
 9271       OS << "overloading failed for user-defined conversion";
 9275       OS << "constructor overloading failed";
 9279       OS << "default initialization of a const variable";
 9283       OS << "initialization of incomplete type";
 9287       OS << "list initialization checker failure";
 9291       OS << "variable length array has an initializer";
 9295       OS << "initializer expression isn't contextually valid";
 9299       OS << "list constructor overloading failed";
 9303       OS << "list copy initialization chose explicit constructor";
 9311     OS << "Dependent sequence\n";
 9315     OS << "Normal sequence: ";
 9321       OS << " -> ";
 9326       OS << "resolve address of overloaded function";
 9330       OS << "derived-to-base (rvalue)";
 9334       OS << "derived-to-base (xvalue)";
 9338       OS << "derived-to-base (lvalue)";
 9342       OS << "bind reference to lvalue";
 9346       OS << "bind reference to a temporary";
 9350       OS << "final copy in class direct-initialization";
 9354       OS << "extraneous C++03 copy to temporary";
 9358       OS << "user-defined conversion via " << *S->Function.Function;
 9362       OS << "qualification conversion (rvalue)";
 9366       OS << "qualification conversion (xvalue)";
 9370       OS << "qualification conversion (lvalue)";
 9374       OS << "non-atomic-to-atomic conversion";
 9378       OS << "implicit conversion sequence (";
 9380       OS << ")";
 9384       OS << "implicit conversion sequence with narrowing prohibited (";
 9386       OS << ")";
 9390       OS << "list aggregate initialization";
 9394       OS << "unwrap reference initializer list";
 9398       OS << "rewrap reference initializer list";
 9402       OS << "constructor initialization";
 9406       OS << "list initialization via constructor";
 9410       OS << "zero initialization";
 9414       OS << "C assignment";
 9418       OS << "string initialization";
 9422       OS << "Objective-C object conversion";
 9426       OS << "indexing for array initialization loop";
 9430       OS << "array initialization loop";
 9434       OS << "array initialization";
 9438       OS << "array initialization (GNU extension)";
 9442       OS << "parenthesized array initialization";
 9446       OS << "pass by indirect copy and restore";
 9450       OS << "pass by indirect restore";
 9454       OS << "Objective-C object retension";
 9458       OS << "std::initializer_list from initializer list";
 9462       OS << "list initialization from std::initializer_list";
 9466       OS << "OpenCL sampler_t from integer constant";
 9470       OS << "OpenCL opaque type from zero";
 9474     OS << " [" << S->Type.getAsString() << ']';
 9555   OS << "static_cast<";
 9570   OS << ">(";
tools/clang/lib/Sema/SemaLookup.cpp
  659   Out << Decls.size() << " result(s)";
  660   if (isAmbiguous()) Out << ", ambiguous";
  661   if (Paths) Out << ", base paths present";
  664     Out << "\n";
  670   llvm::errs() << "lookup results for " << getLookupName().getAsString()
  671                << ":\n";
tools/clang/lib/Sema/SemaOpenMP.cpp
11406     Out << "'" << getOpenMPSimpleClauseTypeName(K, I) << "'";
11406     Out << "'" << getOpenMPSimpleClauseTypeName(K, I) << "'";
11406     Out << "'" << getOpenMPSimpleClauseTypeName(K, I) << "'";
11408       Out << " or ";
11410       Out << ", ";
tools/clang/lib/Sema/SemaOverload.cpp
  481     OS << GetImplicitConversionName(First);
  487       OS << " -> ";
  489     OS << GetImplicitConversionName(Second);
  492       OS << " (by copy constructor)";
  494       OS << " (direct reference binding)";
  496       OS << " (reference binding)";
  503       OS << " -> ";
  505     OS << GetImplicitConversionName(Third);
  510     OS << "No conversions required";
  520     OS << " -> ";
  525     OS << "aggregate initialization";
  527     OS << " -> ";
  537     OS << "Worst std::initializer_list element conversion: ";
  540     OS << "Standard conversion: ";
  544     OS << "User-defined conversion: ";
  548     OS << "Ellipsis conversion";
  551     OS << "Ambiguous conversion";
  554     OS << "Bad conversion";
  558   OS << "\n";
tools/clang/lib/Sema/SemaStmtAsm.cpp
  911     OS << "__MSASMLABEL_.${:uid}__";
tools/clang/lib/Sema/SemaTemplate.cpp
10298       Out << "[with ";
10300       Out << ", ";
10308     Out << " = ";
tools/clang/lib/Serialization/ASTReader.cpp
 4107   OS << "Timestamp file\n";
 8240   llvm::errs() << Name << ":\n";
 8243     llvm::errs() << "  " << I->first << " -> " << I->second->FileName
 8243     llvm::errs() << "  " << I->first << " -> " << I->second->FileName
 8244       << "\n";
 8249   llvm::errs() << "*** PCH/ModuleFile Remappings:\n";
 8261   llvm::errs() << "\n*** PCH/Modules Loaded:";
tools/clang/lib/Serialization/GlobalModuleIndex.cpp
  374   llvm::errs() << "*** Global Module Index Dump:\n";
  375   llvm::errs() << "Module files:\n";
  377     llvm::errs() << "** " << MI.FileName << "\n";
  377     llvm::errs() << "** " << MI.FileName << "\n";
  381       llvm::errs() << "\n";
  383   llvm::errs() << "\n";
tools/clang/lib/Serialization/Module.cpp
   40   llvm::errs() << "  " << Name << ":\n";
   40   llvm::errs() << "  " << Name << ":\n";
   43     llvm::errs() << "    " << I->first << " -> " << I->second << "\n";
   43     llvm::errs() << "    " << I->first << " -> " << I->second << "\n";
   43     llvm::errs() << "    " << I->first << " -> " << I->second << "\n";
   48   llvm::errs() << "\nModule: " << FileName << "\n";
   48   llvm::errs() << "\nModule: " << FileName << "\n";
   50     llvm::errs() << "  Imports: ";
   53         llvm::errs() << ", ";
   56     llvm::errs() << "\n";
   60   llvm::errs() << "  Base source location offset: " << SLocEntryBaseOffset
   64   llvm::errs() << "  Base identifier ID: " << BaseIdentifierID << '\n'
   65                << "  Number of identifiers: " << LocalNumIdentifiers << '\n';
   68   llvm::errs() << "  Base macro ID: " << BaseMacroID << '\n'
   69                << "  Number of macros: " << LocalNumMacros << '\n';
   72   llvm::errs() << "  Base submodule ID: " << BaseSubmoduleID << '\n'
   73                << "  Number of submodules: " << LocalNumSubmodules << '\n';
   76   llvm::errs() << "  Base selector ID: " << BaseSelectorID << '\n'
   77                << "  Number of selectors: " << LocalNumSelectors << '\n';
   80   llvm::errs() << "  Base preprocessed entity ID: " << BasePreprocessedEntityID
   82                << "  Number of preprocessed entities: "
   87   llvm::errs() << "  Base type index: " << BaseTypeIndex << '\n'
   88                << "  Number of types: " << LocalNumTypes << '\n';
   91   llvm::errs() << "  Base decl ID: " << BaseDeclID << '\n'
   92                << "  Number of decls: " << LocalNumDecls << '\n';
tools/clang/lib/StaticAnalyzer/Checkers/AnalysisOrderChecker.cpp
   65       llvm::errs() << "PreStmt<CastExpr> (Kind : " << CE->getCastKindName()
   65       llvm::errs() << "PreStmt<CastExpr> (Kind : " << CE->getCastKindName()
   66                    << ")\n";
   71       llvm::errs() << "PostStmt<CastExpr> (Kind : " << CE->getCastKindName()
   71       llvm::errs() << "PostStmt<CastExpr> (Kind : " << CE->getCastKindName()
   72                    << ")\n";
   78       llvm::errs() << "PreStmt<ArraySubscriptExpr>\n";
   84       llvm::errs() << "PostStmt<ArraySubscriptExpr>\n";
   89       llvm::errs() << "PreStmt<CXXNewExpr>\n";
   94       llvm::errs() << "PostStmt<CXXNewExpr>\n";
   99       llvm::errs() << "PreStmt<OffsetOfExpr>\n";
  104       llvm::errs() << "PostStmt<OffsetOfExpr>\n";
  109       llvm::errs() << "PreCall";
  111         llvm::errs() << " (" << ND->getQualifiedNameAsString() << ')';
  118       llvm::errs() << "PostCall";
  120         llvm::errs() << " (" << ND->getQualifiedNameAsString() << ')';
  127       llvm::errs() << "EndFunction\nReturnStmt: " << (S ? "yes" : "no") << "\n";
  127       llvm::errs() << "EndFunction\nReturnStmt: " << (S ? "yes" : "no") << "\n";
  127       llvm::errs() << "EndFunction\nReturnStmt: " << (S ? "yes" : "no") << "\n";
  131       llvm::errs() << "CFGElement: ";
  136         llvm::errs() << "CFGStmt\n";
  138         llvm::errs() << "CFGAutomaticObjDtor\n";
  145       llvm::errs() << "NewAllocator\n";
  150       llvm::errs() << "Bind\n";
  155       llvm::errs() << "LiveSymbols\n";
  165       llvm::errs() << "RegionChanges\n";
tools/clang/lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp
  101     output << "block(line:" << Loc.getLine() << ":col:" << Loc.getColumn();
  101     output << "block(line:" << Loc.getLine() << ":col:" << Loc.getColumn();
  108   output << " -> Total CFGBlocks: " << total << " | Unreachable CFGBlocks: "
  108   output << " -> Total CFGBlocks: " << total << " | Unreachable CFGBlocks: "
  109       << unreachable << " | Exhausted Block: "
  110       << (Eng.wasBlocksExhausted() ? "yes" : "no")
  111       << " | Empty WorkList: "
  112       << (Eng.hasEmptyWorkList() ? "yes" : "no");
  130       outputI << "(" << NameOfRootFunction << ")" <<
  130       outputI << "(" << NameOfRootFunction << ")" <<
  130       outputI << "(" << NameOfRootFunction << ")" <<
tools/clang/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp
  246   os << "Out of bound memory access ";
  249     os << "(accessed memory precedes memory block)";
  252     os << "(access exceeds upper limit of memory block)";
  255     os << "(index is tainted)";
  270   os << "raw_offset_v2{" << getRegion() << ',' << getByteOffset() << '}';
tools/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
  171         os << "Array element cannot be nil";
  174           os << "Value stored into '";
  175           os << GetReceiverInterfaceName(msg) << "' cannot be nil";
  178           os << "'"<< GetReceiverInterfaceName(msg) << "' key cannot be nil";
  178           os << "'"<< GetReceiverInterfaceName(msg) << "' key cannot be nil";
  186           os << "Value argument ";
  189           os << "Key argument ";
  191         os << "to '";
  193         os << "' cannot be nil";
  195         os << "Argument to '" << GetReceiverInterfaceName(msg) << "' method '";
  195         os << "Argument to '" << GetReceiverInterfaceName(msg) << "' method '";
  197         os << "' cannot be nil";
  498       os << (PrimitiveTypeSize == 8 ? "An " : "A ")
  499          << PrimitiveTypeSize << "-bit integer is used to initialize a "
  500          << "CFNumber object that represents "
  501          << (CFNumberSize == 8 ? "an " : "a ")
  502          << CFNumberSize << "-bit integer; ";
  504       os << "A CFNumber object that represents "
  505          << (CFNumberSize == 8 ? "an " : "a ")
  506          << CFNumberSize << "-bit integer is used to initialize "
  507          << (PrimitiveTypeSize == 8 ? "an " : "a ")
  508          << PrimitiveTypeSize << "-bit integer; ";
  513       << " bits of the CFNumber value will "
  514       << (isCreate ? "be garbage." : "overwrite adjacent storage.");
  517       << " bits of the integer value will be "
  518       << (isCreate ? "lost." : "garbage.");
  575     OS << "Null pointer argument in call to "
  632     os << "The '";
  634     os << "' message should be sent to instances "
  636        << "' and not the class directly";
  782       os << "Argument to '" << TypeName << "' method '";
  782       os << "Argument to '" << TypeName << "' method '";
  784       os << "Argument to method '";
  787     os << "' should be an Objective-C pointer type, not '";
  789     os << "'";
tools/clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
  174   os << "Call to blocking function '" << Call.getCalleeIdentifier()->getName()
  175      << "' inside of critical section";
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
  295       OS << "Null pointer argument in call to " << CurrentFunctionDescription
  295       OS << "Null pointer argument in call to " << CurrentFunctionDescription
  297          << " parameter";
  358          << &CurrentFunctionDescription[1]
  359          << " accesses out-of-bound array element";
  805         os << "Argument to " << CurrentFunctionDescription
  805         os << "Argument to " << CurrentFunctionDescription
  806            << " is the address of the label '" << Label->getLabel()->getName()
  807            << "', which is not a null-terminated string";
  853       os << "Argument to " << CurrentFunctionDescription << " is ";
  853       os << "Argument to " << CurrentFunctionDescription << " is ";
  853       os << "Argument to " << CurrentFunctionDescription << " is ";
  856         os << ", which is not a null-terminated string";
  858         os << "not a null-terminated string";
 1017       os << "the address of the function '" << *FD << '\'';
 1019       os << "the address of a function";
 1023     os << "block text";
 1026     os << "a block";
 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/CStringSyntaxChecker.cpp
  229       os << "Potential buffer overflow. ";
  231         os << "Replace with 'sizeof(" << DstName << ") "
  231         os << "Replace with 'sizeof(" << DstName << ") "
  232               "- strlen(" << DstName <<") - 1'";
  233         os << " or u";
  235         os << "U";
  236       os << "se a safer 'strlcat' API";
  254       os << "The third argument allows to potentially copy more bytes than it should. ";
  255       os << "Replace with the value ";
  257           os << "sizeof(" << DstName << ")";
  257           os << "sizeof(" << DstName << ")";
  259           os << "sizeof(<destination buffer>)";
  260       os << " or lower";
tools/clang/lib/StaticAnalyzer/Checkers/CXXSelfAssignmentChecker.cpp
   59         Out << "Assuming " << MD->getParamDecl(0)->getName() << " == *this";
   59         Out << "Assuming " << MD->getParamDecl(0)->getName() << " == *this";
   69         Out << "Assuming " << MD->getParamDecl(0)->getName() << " != *this";
   69         Out << "Assuming " << MD->getParamDecl(0)->getName() << " != *this";
tools/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
  117          << " argument in message expression is an uninitialized value";
  121       Os << "Argument for property setter is an uninitialized value";
  125         Os << "Argument for subscript setter is an uninitialized value";
  127         Os << "Subscript index is an uninitialized value";
  134        << " block call argument is an uninitialized value";
  138        << " function call argument is an uninitialized value";
  162        << " function call argument is a pointer to uninitialized value";
  165        << " function call argument is an uninitialized value";
  279         os << "Passed-by-value struct argument contains uninitialized data";
  282           os << " (e.g., field: '" << *F.FieldChain[0] << "')";
  282           os << " (e.g., field: '" << *F.FieldChain[0] << "')";
  284           os << " (e.g., via the field chain: '";
  294           os << "')";
  414         os << "Function ";
  417         os << "Block ";
  419       os << "taking " << Params << " argument"
  419       os << "taking " << Params << " argument"
  420          << (Params == 1 ? "" : "s") << " is called with fewer ("
  420          << (Params == 1 ? "" : "s") << " is called with fewer ("
  421          << Call.getNumArgs() << ")";
  517   os << "The receiver of message '";
  519   os << "' is nil";
  521     os << ", which results in forming a null reference";
  523     os << " and returns a value of type '";
  525     os << "' that will be garbage";
tools/clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
  118           Out << "Assuming ";
  123           Out << (IsKnownCast ? "Field '" : "field '")
  126           Out << (IsKnownCast ? "The object" : "the object");
  129         Out << ' ' << (CastSucceeds ? "is a" : "is not a") << " '" << CastToName
  129         Out << ' ' << (CastSucceeds ? "is a" : "is not a") << " '" << CastToName
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
  235     OS << "'" << *D << "' lacks a 'dealloc' instance method but "
  235     OS << "'" << *D << "' lacks a 'dealloc' instance method but "
  236        << "must release '" << *PropImplRequiringRelease->getPropertyIvarDecl()
  237        << "'";
  240       OS << " and others";
  568     OS << "The '" << *IvarDecl << "' ivar in '" << *ImplDecl
  568     OS << "The '" << *IvarDecl << "' ivar in '" << *ImplDecl
  569        << "' was ";
  572       OS << "retained";
  574       OS << "copied";
  576     OS << " by a synthesized property but not released"
  684   OS << "The '" << *PropImpl->getPropertyIvarDecl()
  685      << "' ivar in '" << *Container;
  689     OS << "' will be released by '-[CIFilter dealloc]' but also released here";
  691     OS << "' was synthesized for ";
  694       OS << "a weak";
  696       OS << "an assign, readwrite";
  698     OS <<  " property but was released in 'dealloc'";
  740   OS << "'" << *PropImpl->getPropertyIvarDecl()
  741      << "' should be released rather than deallocated";
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp
   52     os << "The Objective-C class '"
   54        << "', which is derived from class '"
   56        << "', defines the instance method '";
   58     os << "' whose return type is '"
   60        << "'.  A method with the same name (same selector) is also defined in "
   63        << "' and has a return type of '"
   65        << "'.  These two types are incompatible, and may result in undefined "
tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
  308   os << "Variable '" << drCond->getDecl()->getName()
  309      << "' with floating point type '" << drCond->getType().getAsString()
  310      << "' should not be used as a loop counter";
  635   out << "Call to '" << Name << "' should have at least 6 'X's in the"
  635   out << "Call to '" << Name << "' should have at least 6 'X's in the"
  636     " format string to be secure (" << numX << " 'X'";
  639   out << " seen";
  641     out << ", " << suffix << " character";
  641     out << ", " << suffix << " character";
  644     out << " used as a suffix";
  780   Out1 << "Potential insecure memory buffer bounds restriction in call '"
  781        << Name << "'";
  782   Out2 << "Call to function '" << Name
  783        << "' is insecure as it does not provide ";
  786     Out2 << "bounding of the memory buffer or ";
  789   Out2 << "security checks introduced "
  792        << Name << "_s' in case of C11";
  860   os1 << '\'' << *FD << "' is a poor random number generator";
  864   os2 << "Function '" << *FD
  865       << "' is obsolete because it implements a poor random number generator."
  866       << "  Use 'arc4random' instead";
  976   os1 << "Return value is not checked in call to '" << *FD << '\'';
  980   os2 << "The return value from the call to '" << *FD
  981       << "' is not checked.  If an error occurs in '" << *FD
  982       << "', the following code may execute with unexpected privileges";
tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
  221         os << "Value stored to '" << *V
  222            << "' during its initialization is never read";
  248         os << "Value stored to '" << *V << "' is never read";
  248         os << "Value stored to '" << *V << "' is never read";
  256         os << "Although the value stored to '" << *V
  257            << "' is used in the enclosing expression, the value is never "
  259            << *V << "'";
tools/clang/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp
  279     llvm::errs() << "[config]\n";
  281       llvm::errs() << Keys[I]->getKey() << " = "
  285     llvm::errs() << "[stats]\n" << "num-entries = " << Keys.size() << '\n';
  285     llvm::errs() << "[stats]\n" << "num-entries = " << Keys.size() << '\n';
tools/clang/lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp
  140   OS << "Conversion from derived to base happened here";
tools/clang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp
   65         os << " (" << (loadedFrom ? "loaded from" : "from")
   65         os << " (" << (loadedFrom ? "loaded from" : "from")
   66            << " variable '" <<  VD->getName() << "')";
   66            << " variable '" <<  VD->getName() << "')";
   73       os << " (" << (loadedFrom ? "loaded from" : "via")
   73       os << " (" << (loadedFrom ? "loaded from" : "via")
   74          << " field '" << ME->getMemberNameInfo() << "')";
   74          << " field '" << ME->getMemberNameInfo() << "')";
   81       os << " (" << (loadedFrom ? "loaded from" : "via")
   81       os << " (" << (loadedFrom ? "loaded from" : "via")
   82          << " ivar '" << IV->getDecl()->getName() << "')";
   82          << " ivar '" << IV->getDecl()->getName() << "')";
  138     os << "Array access";
  142     os << " results in a null pointer dereference";
  146     os << "Array access";
  150     os << " results in a null pointer dereference";
  154     os << "Dereference of null pointer";
  163       os << "Access to field '" << M->getMemberNameInfo()
  164          << "' results in a dereference of a null pointer";
  172     os << "Access to instance variable '" << *IV->getDecl()
  173        << "' results in a dereference of a null pointer";
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypeChecker.cpp
   76   OS << "Object has a dynamic type '";
   79   OS << "' which is incompatible with static type '";
   82   OS << "'";
  114   OS << "Type '";
  117   OS << "' is inferred from ";
  120     OS << "explicit cast (from '";
  123     OS << "' to '";
  126     OS << "')";
  128     OS << "implicit cast (from '";
  131     OS << "' to '";
  134     OS << "')";
  136     OS << "this context";
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
  909   OS << "Conversion from value of type '";
  911   OS << "' to incompatible type '";
  913   OS << "'";
  948   OS << "Type '";
  950   OS << "' is inferred from ";
  953     OS << "explicit cast (from '";
  956     OS << "' to '";
  959     OS << "')";
  961     OS << "implicit cast (from '";
  964     OS << "' to '";
  967     OS << "')";
  969     OS << "this context";
tools/clang/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp
  191   OS << "Waiting on a callback using a " << Type << " creates useless threads "
  191   OS << "Waiting on a callback using a " << Type << " creates useless threads "
  191   OS << "Waiting on a callback using a " << Type << " creates useless threads "
  192      << "and is subject to priority inversion; consider "
  193      << "using a synchronous API or changing the caller to be asynchronous";
tools/clang/lib/StaticAnalyzer/Checkers/InnerPointerChecker.cpp
  298   OS << "Pointer to inner buffer of '" << ObjTy.getAsString()
  299      << "' obtained here";
tools/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
  350     os << "Property "<< PD->getName() << " ";
  350     os << "Property "<< PD->getName() << " ";
  352     os << "Instance variable "<< IvarDecl->getName() << " ";
  352     os << "Instance variable "<< IvarDecl->getName() << " ";
  536   os << "needs to be invalidated; ";
  538     os << "no invalidation method is declared for ";
  540     os << "no invalidation method is defined in the @implementation for ";
  558   os << "needs to be invalidated or set to nil";
tools/clang/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp
  262   os << "AST class '" << Root->getName() << "' has a field '"
  262   os << "AST class '" << Root->getName() << "' has a field '"
  263      << FieldChain.front()->getName() << "' that allocates heap memory";
  265     os << " via the following chain: ";
  276   os << " (type " << FieldChain.back()->getType().getAsString() << ")";
  276   os << " (type " << FieldChain.back()->getType().getAsString() << ")";
tools/clang/lib/StaticAnalyzer/Checkers/MIGChecker.cpp
  217     OS << "Value passed through parameter '" << PVD->getName()
  218        << "\' is deallocated";
tools/clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
  240   os << "Deallocator doesn't match the allocator: '"
  241      << FunctionsToTrack[PDeallocIdx].Name << "' should be used.";
  241      << FunctionsToTrack[PDeallocIdx].Name << "' should be used.";
  282         os << "Allocated data should be released before another call to "
  283             << "the allocator: missing a call to '"
  284             << FunctionsToTrack[DIdx].Name
  285             << "'.";
  479   os << "Allocated data is not released: missing a call to '"
  480       << FunctionsToTrack[FI.DeallocatorIdx].Name << "'.";
  480       << FunctionsToTrack[FI.DeallocatorIdx].Name << "'.";
  658     Out << Sep << "KeychainAPIChecker :" << NL;
  658     Out << Sep << "KeychainAPIChecker :" << NL;
  658     Out << Sep << "KeychainAPIChecker :" << NL;
tools/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp
   94   os << "Call to '" << FName << "' uses";
   94   os << "Call to '" << FName << "' uses";
  106       os << " memory within";
  108       os << " the block variable '";
  110       os << " the local variable '";
  115       os << " memory within";
  116     os << " the instance variable '" << IVR->getDecl()->getName() << '\'';
  118     os << " heap-allocated memory";
  127     os << " stack allocated memory";
  129   os << " for the predicate value.  Using such transient memory for "
  132     os << "  Perhaps you intended to declare the variable as 'static'?";
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
  187     CASE(Allocated)
  188     CASE(AllocatedOfSizeZero)
  189     CASE(Released)
  190     CASE(Relinquished)
  191     CASE(Escaped)
  782       os << "Reallocation of " << ArgIndex << llvm::getOrdinalSuffix(ArgIndex)
  783          << " parameter failed";
 1689       os << "()";
 1695       os << "-";
 1697       os << "+";
 1703     os << "'"
 1704        << getOperatorSpelling(NE->getOperatorNew()->getOverloadedOperator())
 1705        << "'";
 1710     os << "'"
 1711        << getOperatorSpelling(DE->getOperatorDelete()->getOverloadedOperator())
 1712        << "'";
 1725     case AF_Malloc: os << "malloc()"; return;
 1726     case AF_CXXNew: os << "'new'"; return;
 1727     case AF_CXXNewArray: os << "'new[]'"; return;
 1728     case AF_IfNameIndex: os << "'if_nameindex()'"; return;
 1729     case AF_InnerBuffer: os << "container-specific allocator"; return;
 1737     case AF_Malloc: os << "free()"; return;
 1738     case AF_CXXNew: os << "'delete'"; return;
 1739     case AF_CXXNewArray: os << "'delete[]'"; return;
 1740     case AF_IfNameIndex: os << "'if_freenameindex()'"; return;
 1741     case AF_InnerBuffer: os << "container-specific deallocator"; return;
 1960     os << "an integer (" << IntVal->getValue() << ")";
 1960     os << "an integer (" << IntVal->getValue() << ")";
 1962     os << "a constant address (" << ConstAddr->getValue() << ")";
 1962     os << "a constant address (" << ConstAddr->getValue() << ")";
 1964     os << "the address of the label '" << Label->getLabel()->getName() << "'";
 1964     os << "the address of the label '" << Label->getLabel()->getName() << "'";
 1977       os << "the address of the function '" << *FD << '\'';
 1979       os << "the address of a function";
 1983     os << "block text";
 1987     os << "a block";
 2001         os << "the address of the local variable '" << VD->getName() << "'";
 2001         os << "the address of the local variable '" << VD->getName() << "'";
 2003         os << "the address of a local stack variable";
 2016         os << "the address of the parameter '" << VD->getName() << "'";
 2016         os << "the address of the parameter '" << VD->getName() << "'";
 2018         os << "the address of a parameter";
 2032           os << "the address of the static variable '" << VD->getName() << "'";
 2032           os << "the address of the static variable '" << VD->getName() << "'";
 2034           os << "the address of the global variable '" << VD->getName() << "'";
 2034           os << "the address of the global variable '" << VD->getName() << "'";
 2036         os << "the address of a global variable";
 2070     os << "Argument to ";
 2072       os << "deallocator";
 2074     os << " is ";
 2078       os << ", which is not memory allocated by ";
 2080       os << "not memory allocated by ";
 2145         os << DeallocOs.str() << " cannot";
 2147         os << "Cannot";
 2149       os << " take ownership of memory";
 2152         os << " allocated by " << AllocOs.str();
 2154       os << "Memory";
 2156         os << " allocated by " << AllocOs.str();
 2158       os << " should be deallocated by ";
 2162         os << ", not " << DeallocOs.str();
 2212   os << "Argument to ";
 2214     os << "deallocator";
 2215   os << " is offset by "
 2217      << " "
 2218      << ((abs(offsetBytes) > 1) ? "bytes" : "byte")
 2219      << " from the start of ";
 2221     os << "memory allocated by " << AllocNameOs.str();
 2223     os << "allocated memory";
 2378     Os << "Argument to ";
 2380       Os << "deallocator";
 2382     Os << " is a function pointer";
 2603     os << "Potential leak of memory pointed to by ";
 2606     os << "Potential memory leak";
 3238           OS << "Inner buffer of '" << ObjTy.getAsString() << "' ";
 3238           OS << "Inner buffer of '" << ObjTy.getAsString() << "' ";
 3241             OS << "deallocated by call to destructor";
 3245             OS << "reallocated by call to '";
 3257             OS << "'";
 3362     Out << Sep << "MallocChecker :" << NL;
 3362     Out << Sep << "MallocChecker :" << NL;
 3362     Out << Sep << "MallocChecker :" << NL;
 3371       Out << " : ";
 3374         Out << " (" << CheckNames[*CheckKind].getName() << ")";
 3374         Out << " (" << CheckNames[*CheckKind].getName() << ")";
 3375       Out << NL;
tools/clang/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
  221         OS << "Result of ";
  226           OS << "call";
  227         OS << " is converted to a pointer of type '"
  228             << PointeeType.getAsString() << "', which is incompatible with "
  229             << "sizeof operand type '" << SizeofType.getAsString() << "'";
  229             << "sizeof operand type '" << SizeofType.getAsString() << "'";
tools/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp
  304         OS << "Smart pointer";
  306         OS << " is reset to null when moved from";
  315       OS << "Object";
  317       OS << " is moved";
  320       OS << "Object";
  322       OS << " is left in a valid but unspecified state after move";
  413         OS << "Method called on moved-from object";
  417         OS << "Moved-from object";
  419         OS << " is copied";
  422         OS << "Moved-from object";
  424         OS << " is moved";
  427         OS << "Dereference of null smart pointer";
  582     OS << " '" << RegionDecl->getNameAsString() << "'";
  582     OS << " '" << RegionDecl->getNameAsString() << "'";
  597       OS << " of type '" << RD->getQualifiedNameAsString() << "'";
  597       OS << " of type '" << RD->getQualifiedNameAsString() << "'";
  742     Out << Sep << "Moved-from objects :" << NL;
  742     Out << Sep << "Moved-from objects :" << NL;
  742     Out << Sep << "Moved-from objects :" << NL;
  746         Out << ": moved";
  748         Out << ": moved and reported";
  749       Out << NL;
tools/clang/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp
  258   os << "Potential null dereference.  According to coding standards ";
  259   os << (isNSError
  263   os  << " may be null";
tools/clang/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp
  195   OS << "Null pointer passed to "
  197      << " parameter expecting 'nonnull'";
tools/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
  212     Out << getNullabilityString(Nullab) << "\n";
  212     Out << getNullabilityString(Nullab) << "\n";
  587     OS << (RetExpr->getType()->isObjCObjectPointerType() ? "nil" : "Null");
  588     OS << " returned from a " << C.getDeclDescription(D) <<
  588     OS << " returned from a " << C.getDeclDescription(D) <<
  621       OS << "Nullable pointer is returned from a " << C.getDeclDescription(D) <<
  621       OS << "Nullable pointer is returned from a " << C.getDeclDescription(D) <<
  687       OS << (Param->getType()->isObjCObjectPointerType() ? "nil" : "Null");
  688       OS << " passed to a callee that requires a non-null " << ParamIdx
  689          << llvm::getOrdinalSuffix(ParamIdx) << " parameter";
  714         OS << "Nullable pointer is passed to a callee that requires a non-null "
  715            << ParamIdx << llvm::getOrdinalSuffix(ParamIdx) << " parameter";
 1108     OS << (LocType->isObjCObjectPointerType() ? "nil" : "Null");
 1109     OS << " assigned to a pointer which is expected to have non-null value";
 1176     Out << Sep << NL
 1176     Out << Sep << NL
 1177         << "Nullability invariant was violated, warnings suppressed." << NL;
 1177         << "Nullability invariant was violated, warnings suppressed." << NL;
 1183     Out << Sep << NL;
 1183     Out << Sep << NL;
 1186     Out << I->first << " : ";
 1188     Out << NL;
tools/clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp
  142     OS << "Comparing ";
  144     OS << "Converting ";
  146   OS << "a pointer value of type '" << ObjT.getAsString() << "' to a ";
  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";
  175     OS << "; instead, either compare the pointer to "
  176        << (IsObjC ? "nil" : IsCpp ? "nullptr" : "NULL") << " or ";
  176        << (IsObjC ? "nil" : IsCpp ? "nullptr" : "NULL") << " or ";
  178     OS << "; did you mean to ";
  181     OS << "compare the result of calling " << SuggestedApi;
  183     OS << "call " << SuggestedApi;
  186     OS << "?";
tools/clang/lib/StaticAnalyzer/Checkers/OSObjectCStyleCast.cpp
   46   OS << "C-style cast of OSObject. Use OSDynamicCast instead.";
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
  132     OsName << " Invalid use of '" << Name << "'" ;
  132     OsName << " Invalid use of '" << Name << "'" ;
  138     Os << " The "<< ((ArgNum == 1) ? "second" : "third") << " argument to '"
  138     Os << " The "<< ((ArgNum == 1) ? "second" : "third") << " argument to '"
  138     Os << " The "<< ((ArgNum == 1) ? "second" : "third") << " argument to '"
  139         << Name << "' must be a C array of pointer-sized values, not '"
  140         << Arg->getType().getAsString() << "'";
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp
  180   OS << Sep << "ObjC container sizes :" << NL;
  180   OS << Sep << "ObjC container sizes :" << NL;
  180   OS << Sep << "ObjC container sizes :" << NL;
  182     OS << I.first << " : " << I.second << NL;
  182     OS << I.first << " : " << I.second << NL;
tools/clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp
  204         os << "The '" << S.getAsString()
  205            << "' instance method in " << SuperclassName.str() << " subclass '"
  205            << "' instance method in " << SuperclassName.str() << " subclass '"
  206            << *D << "' is missing a [super " << S.getAsString() << "] call";
  206            << *D << "' is missing a [super " << S.getAsString() << "] call";
tools/clang/lib/StaticAnalyzer/Checkers/ObjCPropertyChecker.cpp
   69   OS << "Property of mutable type '" << PropTypeName
   70      << "' has 'copy' attribute; an immutable object will be stored instead";
tools/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
  346   Out << Sep << NL << *this << " :" << NL;
  346   Out << Sep << NL << *this << " :" << NL;
  346   Out << Sep << NL << *this << " :" << NL;
  346   Out << Sep << NL << *this << " :" << NL;
  349     Out << "  An init method has been called." << NL;
  349     Out << "  An init method has been called." << NL;
  353       Out << "  An argument of the current call came from the 'self' variable."
  354           << NL;
  357       Out << "  An argument of the current call came from an init method."
  358           << NL;
  362   Out << NL;
  365     Out << I->first << " : ";
  368       Out << "none";
  371       Out << "self variable";
  375         Out << " | ";
  376       Out << "result of init method";
  379     Out << NL;
tools/clang/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp
  163     OS << "Use of instance variable '" << *IvarRegion->getDecl() <<
  163     OS << "Use of instance variable '" << *IvarRegion->getDecl() <<
tools/clang/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp
  159       os << "Instance variable '" << *I->first << "' in class '" << *ID
  159       os << "Instance variable '" << *I->first << "' in class '" << *ID
  160          << "' is never used by the methods in its @implementation "
tools/clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp
  313     Os << "Excessive padding in '";
  316        << "'";
  324         Os << " instantiated here: "
  328     Os << " (" << BaselinePad.getQuantity() << " padding bytes, where "
  328     Os << " (" << BaselinePad.getQuantity() << " padding bytes, where "
  329        << OptimalPad.getQuantity() << " is optimal). \n"
  330        << "Optimal fields order: \n";
  332       Os << FD->getName() << ", \n";
  333     Os << "consider reordering the fields or adding explicit padding "
tools/clang/lib/StaticAnalyzer/Checkers/PointerIterationChecker.cpp
   49   OS << "Iteration of pointer-like elements "
   50      << "can result in non-deterministic ordering";
tools/clang/lib/StaticAnalyzer/Checkers/PointerSortingChecker.cpp
   49   OS << "Sorting pointer-like elements "
   50      << "can result in non-deterministic ordering";
tools/clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
  187     Out << Sep << "Mutex states:" << NL;
  187     Out << Sep << "Mutex states:" << NL;
  187     Out << Sep << "Mutex states:" << NL;
  191         Out << ": locked";
  193         Out << ": unlocked";
  195         Out << ": destroyed";
  197         Out << ": not tracked, possibly destroyed";
  199         Out << ": unlocked, possibly destroyed";
  200       Out << NL;
  206     Out << Sep << "Mutex lock order:" << NL;
  206     Out << Sep << "Mutex lock order:" << NL;
  206     Out << Sep << "Mutex lock order:" << NL;
  209       Out << NL;
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
   48     Out << "Tracked " << T.getAsString() << " | ";
   48     Out << "Tracked " << T.getAsString() << " | ";
   53       Out << "Owned";
   55       if (cnt) Out << " (+ " << cnt << ")";
   55       if (cnt) Out << " (+ " << cnt << ")";
   60       Out << "NotOwned";
   62       if (cnt) Out << " (+ " << cnt << ")";
   62       if (cnt) Out << " (+ " << cnt << ")";
   67       Out << "ReturnedOwned";
   69       if (cnt) Out << " (+ " << cnt << ")";
   69       if (cnt) Out << " (+ " << cnt << ")";
   74       Out << "ReturnedNotOwned";
   76       if (cnt) Out << " (+ " << cnt << ")";
   76       if (cnt) Out << " (+ " << cnt << ")";
   81       Out << "Released";
   85       Out << "-dealloc (not-owned)";
   89       Out << "Leaked";
   93       Out << "Leaked (Bad naming)";
   97       Out << "Use-After-Release [ERROR]";
  101       Out << "Release of Not-Owned [ERROR]";
  105       Out << "Over-autoreleased";
  109       Out << "Non-owned object returned instead of owned";
  117     Out << " [direct ivar access]";
  120     Out << " [released after direct ivar access]";
  124     Out << " [autorelease -" << ACnt << ']';
 1268     os << "Object was autoreleased ";
 1270       os << V.getAutoreleaseCount() << " times but the object ";
 1272       os << "but ";
 1273     os << "has a +" << V.getCount() << " retain count";
 1273     os << "has a +" << V.getCount() << " retain count";
 1463   Out << Sep << NL;
 1463   Out << Sep << NL;
 1466     Out << I.first << " : ";
 1468     Out << NL;
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
  108       os << "Object released by directly sending the '-dealloc' message";
  124         os << "Object autoreleased";
  129         os << "Reference count decremented.";
  131         os << "Reference count incremented.";
  134         os << " The object now has a +" << Count << " retain count.";
  134         os << " The object now has a +" << Count << " retain count.";
  142         os << "Strong instance variable relinquished. ";
  144       os << "Object released.";
  152       os << "Object returned to caller as an owning reference (single "
  157       os << "Object returned to caller with a +0 retain count";
  227       os << "Call to method '" << MD->getQualifiedNameAsString() << '\'';
  229       os << "Call to function '" << FD->getQualifiedNameAsString() << '\'';
  231       os << "function call";
  234     os << "Operator 'new'";
  242       os << "Method";
  245       os << "Property";
  248       os << "Subscript";
  258     os << " returns ";
  260     os << " writes ";
  264     os << "a Core Foundation object of type '"
  265        << Sym->getType().getAsString() << "' with a ";
  267     os << "an OSObject of type '" << findAllocatedObjectName(S, Sym->getType())
  268        << "' with a ";
  270     os << "an object of type '" << Sym->getType().getAsString()
  271        << "' with a ";
  276       os << "an Objective-C object with a ";
  279       os << "an instance of " << PT->getPointeeType().getAsString()
  280          << " with a ";
  285     os << "+1 retain count";
  288     os << "+0 retain count";
  292     os << " into an out parameter '";
  296     os << "'";
  302         os << " (assuming the call returns zero)";
  304         os << " (assuming the call returns non-zero)";
  404         os << "Parameter '";
  407         os << "' is marked as consuming, but the function did not consume "
  408            << "the reference\n";
  441   os << "Parameter '" << PVD->getNameAsString() << "' starts at +";
  441   os << "Parameter '" << PVD->getNameAsString() << "' starts at +";
  443     os << "1, as it is marked as consuming";
  446     os << "0";
  495     os << "Object is now not exclusively owned";
  511       os << "NSArray literal is an object with a +0 retain count";
  513       os << "NSDictionary literal is an object with a +0 retain count";
  516         os << "NSNumber literal is an object with a +0 retain count";
  525           os << *BoxClass << " b";
  527           os << "B";
  530         os << "oxed expression produces an object with a +0 retain count";
  533       os << "Object loaded from instance variable";
  549     os << "Assuming dynamic cast returns null due to type mismatch";
  746   os << "Object leaked: ";
  750     os << "object allocated and stored into '" << *RegionDescription << '\'';
  752     os << "allocated object of type '" << getPrettyTypeName(Sym->getType())
  753        << "'";
  766     os << (isa<ObjCMethodDecl>(D) ? " is returned from a method "
  770       os << "that is annotated as CF_RETURNS_NOT_RETAINED";
  772       os << "that is annotated as NS_RETURNS_NOT_RETAINED";
  774       os << "that is annotated as OS_RETURNS_NOT_RETAINED";
  778           os << "managed by Automatic Reference Counting";
  780           os << "whose name ('" << MD->getSelector().getAsString()
  781              << "') does not start with "
  790           os << "whose name ('" << *FD
  791              << "') does not contain 'Copy' or 'Create'.  This violates the "
  798           os << "whose name ('" << FuncName
  799             << "') starts with '" << StringRef(FuncName).substr(0, 3) << "'";
  799             << "') starts with '" << StringRef(FuncName).substr(0, 3) << "'";
  804     os << " is not referenced later in this execution path and has a retain "
  893   os << "Potential leak of an object";
  897     os << " stored into '" << *RegionDescription << '\'';
  901     os << " of type '" << getPrettyTypeName(Sym->getType()) << "'";
  901     os << " of type '" << getPrettyTypeName(Sym->getType()) << "'";
tools/clang/lib/StaticAnalyzer/Checkers/ReturnValueChecker.cpp
  106         Out << '\'' << Name << "' returns "
  107             << (ExpectedValue ? "true" : "false");
  154         Out << '\'' << Name << "' returns "
  155             << (ExpectedValue ? "false" : "true");
tools/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
   74   os << "Address of ";
   79     os << "stack memory associated with a compound literal "
   81        << SM.getExpansionLineNumber(CL->getBeginLoc()) << " returned to caller";
   87     os << "stack memory allocated by call to alloca() on line "
   93     os << "stack-allocated block declared on line "
   96     os << "stack memory associated with local variable '" << VR->getString()
  101     os << "stack memory associated with temporary object of type '";
  103     os << "'";
  164   os << " returned to caller";
  202     Out << " is captured by an asynchronously-executed block";
  225     Out << " is captured by a returned block";
  346     Out << " is still referred to by the ";
  348       Out << "static";
  350       Out << "global";
  351     Out << " variable '";
  354         << "' upon returning to the caller.  This will be a dangling reference";
tools/clang/lib/StaticAnalyzer/Checkers/Taint.cpp
   34     Out << "Tainted symbols:" << NL;
   34     Out << "Tainted symbols:" << NL;
   37     Out << I.first << " : " << I.second << NL;
   37     Out << I.first << " : " << I.second << NL;
tools/clang/lib/StaticAnalyzer/Checkers/TraversalChecker.cpp
   50   llvm::outs() << C.getSourceManager().getSpellingLineNumber(Loc) << " "
   51                << Parent->getStmtClassName() << "\n";
   51                << Parent->getStmtClassName() << "\n";
   55   llvm::outs() << "--BEGIN FUNCTION--\n";
   60   llvm::outs() << "--END FUNCTION--\n";
  110     llvm::outs() << "Returning void\n";
  112     llvm::outs() << "Returning " << C.getSVal(CallE) << "\n";
  112     llvm::outs() << "Returning " << C.getSVal(CallE) << "\n";
tools/clang/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp
   83         os << "Variable '" << VD->getName()
   84            << "' is uninitialized when captured by block";
tools/clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp
  111       OS << "The " << (isLeft ? "left" : "right") << " operand of '"
  111       OS << "The " << (isLeft ? "left" : "right") << " operand of '"
  111       OS << "The " << (isLeft ? "left" : "right") << " operand of '"
  113          << "' is a garbage value";
  115         OS << " due to array index out of bounds";
  121         OS << "The result of the "
  122            << ((B->getOpcode() == BinaryOperatorKind::BO_Shl) ? "left"
  124            << " shift is undefined because the right operand is negative";
  130         OS << "The result of the "
  131            << ((B->getOpcode() == BinaryOperatorKind::BO_Shl) ? "left"
  133            << " shift is undefined due to shifting by ";
  140           OS << "a value that is";
  142           OS << '\'' << I->getZExtValue() << "\', which is";
  144           OS << '\'' << I->getSExtValue() << "\', which is";
  146         OS << " greater or equal to the width of type '"
  147            << B->getLHS()->getType().getAsString() << "'.";
  150         OS << "The result of the left shift is undefined because the left "
  161         OS << "The result of the left shift is undefined due to shifting \'"
  162            << LHS->getSExtValue() << "\' by \'" << RHS->getZExtValue()
  163            << "\', which is unrepresentable in the unsigned version of "
  164            << "the return type \'" << B->getLHS()->getType().getAsString()
  165            << "\'";
  168         OS << "The result of the '"
  170            << "' expression is undefined";
tools/clang/lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp
   66       OS << "The expression is an uninitialized value. "
   76           OS << "The left expression of the compound assignment is an "
   97             OS << "Value assigned to field '" << I->getMember()->getName()
   98                << "' in implicit constructor is garbage or undefined";
  109     OS << DefaultMsg;
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
   61     Out << "uninitialized field ";
   96     Out << BaseClassT->getAsCXXRecordDecl()->getName() << "::";
  200   WarningOS << UninitFields.size() << " uninitialized field"
  201             << (UninitFields.size() == 1 ? "" : "s")
  202             << " at the end of the constructor call";
  436   Out << "this->";
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedPointee.cpp
   39       Out << "uninitialized pointee ";
   41       Out << "uninitialized pointer ";
   52       Out << "->";
   68     Out << "uninitialized pointee ";
   74       Out << "reinterpret_cast";
   77       Out << "static_cast";
   78     Out << '<' << CastBackType.getAsString() << ">(";
   86     Out << "->";
   97     Out << "object references itself ";
tools/clang/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp
  193       OS << "The " << CreateModeArgIndex + 1
  195          << " argument to '" << VariantName << "' is not an integer";
  195          << " argument to '" << VariantName << "' is not an integer";
  195          << " argument to '" << VariantName << "' is not an integer";
  205     OS << "Call to '" << VariantName << "' with more than " << MaxArgCount
  205     OS << "Call to '" << VariantName << "' with more than " << MaxArgCount
  205     OS << "Call to '" << VariantName << "' with more than " << MaxArgCount
  206        << " arguments";
  259     OS << "Call to '" << VariantName << "' requires a "
  259     OS << "Call to '" << VariantName << "' requires a "
  259     OS << "Call to '" << VariantName << "' requires a "
  262        << " argument when the 'O_CREAT' flag is set";
  295   os << "Call to 'pthread_once' uses";
  297     os << " the local variable '" << VR->getDecl()->getName() << '\'';
  299     os << " stack allocated memory";
  300   os << " for the \"control\" value.  Using such transient memory for "
  303     os << "  Perhaps you intended to declare the variable as 'static'?";
  350   os << "Call to '" << fn_name << "' has an allocation size of 0 bytes";
  350   os << "Call to '" << fn_name << "' has an allocation size of 0 bytes";
  350   os << "Call to '" << fn_name << "' has an allocation size of 0 bytes";
tools/clang/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp
   59   os << "Declared variable-length array (VLA) ";
   62     os << "uses a garbage value as its size";
   65     os << "has zero size";
   68     os << "has tainted size";
   71     os << "has negative size";
tools/clang/lib/StaticAnalyzer/Checkers/ValistChecker.cpp
  296       OS << " " << VariableName;
tools/clang/lib/StaticAnalyzer/Checkers/VforkChecker.cpp
  130     os << What << " is prohibited after a successful vfork";
  130     os << What << " is prohibited after a successful vfork";
  133       os << "; " << Details;
  133       os << "; " << Details;
tools/clang/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
  124   OS << "Call to ";
  126     OS << "pure ";
  127   OS << "virtual method '" << MD->getParent()->getNameAsString()
  128      << "::" << MD->getNameAsString() << "' during ";
  128      << "::" << MD->getNameAsString() << "' during ";
  130     OS << "construction ";
  132     OS << "destruction ";
  134     OS << "has undefined behavior";
  136     OS << "bypasses virtual dispatch";
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
  593     os << "Execution continues on line "
  597     os << "Execution jumps to the end of the ";
  600       os << "method";
  602       os << "function";
  605       os << "anonymous block";
  752       os << "No cases match in the switch statement. "
  757       os << "Control jumps to the 'default' case at line "
  762       os << "Control jumps to 'case ";
  783       os << ":'  at line " << End.asLocation().getExpansionLineNumber();
  788     os << "'Default' branch taken. ";
  802   os << "Control jumps to line " << End.asLocation().getExpansionLineNumber();
  815   os << "Left side of '";
  819     os << "&&"
  820       << "' is ";
  823       os << "false";
  828       os << "true";
  835     os << "||"
  836       << "' is ";
  839       os << "false";
  844       os << "true";
  896     os << "'?' condition is ";
  899       os << "false";
  901       os << "true";
  927       os << "Loop condition is true. ";
  954       os << "Loop condition is false. ";
 3179         os << " (within a call to '" << ND->getDeclName() << "')";
 3179         os << " (within a call to '" << ND->getDeclName() << "')";
 3263   llvm::raw_svector_ostream(fullDesc) << CheckName.getName() << ":" << name
 3264                                       << ":" << category;
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  695   os << "Returning without writing to '";
  702   os << "'";
  771     os << "(";
  774     os << "*";
  778     os << ")";
 1069           Out << "Returning nil";
 1071           Out << "Returning null pointer";
 1074         Out << "Returning zero";
 1079         Out << "Returning the value " << CI->getValue();
 1090           Out << "Returning pointer";
 1092           Out << "Returning value";
 1099           Out << " (reference to ";
 1101           Out << ")";
 1108           Out << " (loaded from '" << *DD << "')";
 1108           Out << " (loaded from '" << *DD << "')";
 1248     os << " ";
 1256           os << action << "nil";
 1256           os << action << "nil";
 1262       os << action << "a null pointer value";
 1262       os << action << "a null pointer value";
 1265     os << action << CVal->getValue();
 1271           os << (R->canPrintPretty() ? "initialized" : "Initializing")
 1272             << " to a garbage value";
 1274           os << (R->canPrintPretty() ? "declared" : "Declaring")
 1275             << " without an initial value";
 1279       os << (R->canPrintPretty() ? "initialized" : "Initialized")
 1280         << " here";
 1291   os << "Passing ";
 1295       os << "nil object reference";
 1297       os << "null pointer value";
 1299     os << "uninitialized value";
 1301     os << "the value " << CI->getValue();
 1303     os << "value";
 1308   os << " via " << Idx << llvm::getOrdinalSuffix(Idx) << " parameter";
 1308   os << " via " << Idx << llvm::getOrdinalSuffix(Idx) << " parameter";
 1310     os << " ";
 1323           os << "nil object reference stored";
 1330         os << "Null pointer value stored";
 1332         os << "Storing null pointer value";
 1337       os << "Uninitialized value stored";
 1339       os << "Storing uninitialized value";
 1343       os << "The value " << CV->getValue() << " is assigned";
 1343       os << "The value " << CV->getValue() << " is assigned";
 1345       os << "Assigning " << CV->getValue();
 1349       os << "Value assigned";
 1351       os << "Assigning value";
 1355     os << " to ";
 1576       os << "Assuming pointer value is ";
 1577       os << (Assumption ? "non-null" : "null");
 2110     OS << "'";
 2112     OS << "' not called";
 2115     OS << "No method is called";
 2117   OS << " because the receiver is nil";
 2375         Out << "null";
 2381         Out << "nil";
 2392       Out << "field '" << ME->getMemberDecl()->getName() << '\'';
 2450   Out << (IsAssuming ? "Assuming " : "")
 2451       << (shouldInvert ? RhsString : LhsString) << " is ";
 2477       Out << "equal to ";
 2480       Out << "not equal to ";
 2532   Out << "Assuming " << LhsString << " is ";
 2532   Out << "Assuming " << LhsString << " is ";
 2562   Out << (IsAssuming ? "Assuming '" : "'") << VD->getDeclName() << "' is ";
 2562   Out << (IsAssuming ? "Assuming '" : "'") << VD->getDeclName() << "' is ";
 2594   Out << (IsAssuming ? "Assuming field '" : "Field '")
 2595       << ME->getMemberDecl()->getName() << "' is ";
 2631     Out << (TookTrue ? "non-null" : "null");
 2636     Out << (TookTrue ? "non-nil" : "nil");
 2649       Out << (TookTrue ? "true" : "false");
 2651       Out << (TookTrue ? "not equal to 0" : "0");
 2654       Out << (IntValue.getValue()->getBoolValue() ? "true" : "false");
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
  442     Out << "\n";
  447     Out << "Call to ";
  453   Out << "Unknown call (type " << getKind() << ")";
  453   Out << "Unknown call (type " << getKind() << ")";
  559       llvm::dbgs() << "Using autosynthesized body for " << FD->getName()
  560                    << "\n";
tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp
  709   Indent(Out, Space, IsDot) << "\"checker_messages\": ";
  719   NLOut << "\", " << NL;                     // Inject the ending and a new line
  719   NLOut << "\", " << NL;                     // Inject the ending and a new line
  720   Indent(NLOut, InnerSpace, IsDot) << "\"";  // then begin the next message.
  735       Out << '[' << NL;
  751         << "{ \"checker\": \"" << CT.second->getCheckerName().getName()
  752         << "\", \"messages\": [" << NL;
  752         << "\", \"messages\": [" << NL;
  754         << '\"' << TempBuf.str().trim() << '\"' << NL;
  755     Indent(Out, Space, IsDot) << "]}";
  759     Out << NL;
  766     Indent(Out, --Space, IsDot) << "]";
  768     Out << "null";
  770   Out << NL;
tools/clang/lib/StaticAnalyzer/Core/DynamicType.cpp
  142   Indent(Out, Space, IsDot) << "\"dynamic_types\": ";
  146     Out << "null," << NL;
  146     Out << "null," << NL;
  151   Out << '[' << NL;
  156         << "{ \"region\": \"" << MR << "\", \"dyn_type\": ";
  156         << "{ \"region\": \"" << MR << "\", \"dyn_type\": ";
  158       Out << "null";
  161           << "\", \"sub_classable\": "
  162           << (DTI.canBeASubClass() ? "true" : "false");
  164     Out << " }";
  168     Out << NL;
  172   Indent(Out, Space, IsDot) << "]," << NL;
  172   Indent(Out, Space, IsDot) << "]," << NL;
  178   Indent(Out, Space, IsDot) << "\"dynamic_casts\": ";
  182     Out << "null," << NL;
  182     Out << "null," << NL;
  187   Out << '[' << NL;
  192     Indent(Out, Space, IsDot) << "{ \"region\": \"" << MR << "\", \"casts\": ";
  192     Indent(Out, Space, IsDot) << "{ \"region\": \"" << MR << "\", \"casts\": ";
  194       Out << "null ";
  197       Out << '[' << NL;
  200             << "{ \"from\": \"" << SI->from().getAsString() << "\", \"to\": \""
  200             << "{ \"from\": \"" << SI->from().getAsString() << "\", \"to\": \""
  201             << SI->to().getAsString() << "\", \"kind\": \""
  202             << (SI->succeeds() ? "success" : "fail") << "\" }";
  202             << (SI->succeeds() ? "success" : "fail") << "\" }";
  206         Out << NL;
  215     Out << NL;
  219   Indent(Out, Space, IsDot) << "]," << NL;
  219   Indent(Out, Space, IsDot) << "]," << NL;
tools/clang/lib/StaticAnalyzer/Core/Environment.cpp
  207   Indent(Out, Space, IsDot) << "\"environment\": ";
  210     Out << "null," << NL;
  210     Out << "null," << NL;
  231   Out << "{ \"pointer\": \"" << (const void *)LCtx->getStackFrame()
  232       << "\", \"items\": [" << NL;
  232       << "\", \"items\": [" << NL;
  249         Out << '[' << NL;
  266           << "{ \"stmt_id\": " << S->getID(Ctx) << ", \"pretty\": ";
  266           << "{ \"stmt_id\": " << S->getID(Ctx) << ", \"pretty\": ";
  269       Out << ", \"value\": ";
  272       Out << " }";
  276       Out << NL;
  282       Out << "null ";
  285   Indent(Out, --Space, IsDot) << "]}," << NL;
  285   Indent(Out, --Space, IsDot) << "]}," << NL;
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
  153       Out << "\"stmt_id\": " << S->getID(getASTContext());
  155       Out << "\"init_id\": " << I->getID(getASTContext());
  158     Out << ", \"kind\": \"" << getItem().getKindAsString()
  159         << "\", \"argument_index\": ";
  164       Out << "null";
  167     Out << ", \"pretty\": ";
  572       Out << "[" << NL;
  572       Out << "[" << NL;
  585     Indent(Out, Space, IsDot) << "{ ";
  587     Out << ", \"value\": \"" << Value << "\" }";
  587     Out << ", \"value\": \"" << Value << "\" }";
  591     Out << NL;
  597     Out << "null ";
  604   Indent(Out, Space, IsDot) << "\"constructing_objects\": ";
  608     Out << '[' << NL;
  614     Indent(Out, Space, IsDot) << "]," << NL; // End of "constructing_objects".
  614     Indent(Out, Space, IsDot) << "]," << NL; // End of "constructing_objects".
  616     Out << "null," << NL;
  616     Out << "null," << NL;
 3060     Out << "{ \"state_id\": " << State->getID()
 3061         << ",\\l";
 3063     Indent(Out, Space, IsDot) << "\"program_points\": [\\l";
 3069           Indent(Out, Space + 1, IsDot) << "{ ";
 3071           Out << ", \"tag\": ";
 3073             Out << '\"' << Tag->getTagDescription() << "\"";
 3075             Out << "null";
 3076           Out << ", \"node_id\": " << OtherNode->getID() <<
 3076           Out << ", \"node_id\": " << OtherNode->getID() <<
 3077                  ", \"is_sink\": " << OtherNode->isSink() <<
 3078                  ", \"has_report\": " << nodeHasBugReport(OtherNode) << " }";
 3081         [&](const ExplodedNode *) { Out << ",\\l"; },
 3084     Out << "\\l"; // Adds a new-line to the last program point.
 3085     Indent(Out, Space, IsDot) << "],\\l";
 3089     Out << "\\l}\\l";
 3102   llvm::errs() << "Warning: viewing graph requires assertions" << "\n";
 3102   llvm::errs() << "Warning: viewing graph requires assertions" << "\n";
 3111   llvm::errs() << "Warning: viewing graph requires assertions" << "\n";
 3111   llvm::errs() << "Warning: viewing graph requires assertions" << "\n";
 3135   llvm::errs() << "Warning: dumping graph requires assertions" << "\n";
 3135   llvm::errs() << "Warning: dumping graph requires assertions" << "\n";
 3145     llvm::errs() << "warning: Trimmed ExplodedGraph is empty.\n";
 3153   llvm::errs() << "Warning: dumping graph requires assertions" << "\n";
 3153   llvm::errs() << "Warning: dumping graph requires assertions" << "\n";
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
  168       llvm::errs() << "warning: could not create directory '"
  169                    << Directory << "': " << ec.message() << '\n';
  213     llvm::errs() << "warning: no diagnostics generated for main file.\n";
  225           llvm::errs() << "warning: could not make '" << Model
  226                        << "' absolute: " << EC.message() << '\n';
  231           llvm::errs() << "warning: could not create file in '" << Directory
  232                        << "': " << EC.message() << '\n';
  253               llvm::errs() << "warning: could not create file '" << Model
  254                            << "': " << EC.message() << '\n';
  291         os << "<hr class=divider>\n";
  293       os << "<div id=File" << I->getHashValue() << ">\n";
  293       os << "<div id=File" << I->getHashValue() << ">\n";
  297         os << "<div class=FileNav><a href=\"#File" << (I - 1)->getHashValue()
  298            << "\">&#x2190;</a></div>";
  300       os << "<h4 class=FileName>" << SMgr.getFileEntryForID(*I)->getName()
  301          << "</h4>\n";
  305         os << "<div class=FileNav><a href=\"#File" << (I + 1)->getHashValue()
  306            << "\">&#x2192;</a></div>";
  308       os << "</div>\n";
  351   os << "var relevant_lines = {";
  355       os << ", ";
  357     os << "\"" << I->first.getHashValue() << "\": {";
  357     os << "\"" << I->first.getHashValue() << "\": {";
  360         os << ", ";
  362       os << "\"" << LineNo << "\": 1";
  362       os << "\"" << LineNo << "\": 1";
  364     os << "}";
  367   os << "};";
  374   os << "<script type='text/javascript'>\n";
  376   os << R"<<<(
  466     os << "<!-- REPORTHEADER -->\n"
  467        << "<h3>Bug Summary</h3>\n<table class=\"simpletable\">\n"
  471        << "</td></tr>\n<tr><td class=\"rowname\">Warning:</td><td>"
  474        << ", column "
  476        << "</a><br />"
  477        << D.getVerboseDescription() << "</td></tr>\n";
  487         os << "<tr><td class=\"rowname\">Note:</td><td>"
  488            << "<a href=\"#Note" << NumExtraPieces << "\">line "
  488            << "<a href=\"#Note" << NumExtraPieces << "\">line "
  489            << LineNumber << ", column " << ColumnNumber << "</a><br />"
  489            << LineNumber << ", column " << ColumnNumber << "</a><br />"
  490            << P->getString() << "</td></tr>";
  499       os << "<tr><td></td><td>" << html::EscapeText(*I) << "</td></tr>\n";
  499       os << "<tr><td></td><td>" << html::EscapeText(*I) << "</td></tr>\n";
  502     os << R"<<<(
  512     os << R"<<<(
  534       os << "\n<!-- BUGDESC " << BugDesc << " -->\n";
  534       os << "\n<!-- BUGDESC " << BugDesc << " -->\n";
  538       os << "\n<!-- BUGTYPE " << BugType << " -->\n";
  538       os << "\n<!-- BUGTYPE " << BugType << " -->\n";
  549       os << "\n<!-- BUGCATEGORY " << BugCategory << " -->\n";
  549       os << "\n<!-- BUGCATEGORY " << BugCategory << " -->\n";
  551     os << "\n<!-- BUGFILE " << DirName << Entry->getName() << " -->\n";
  551     os << "\n<!-- BUGFILE " << DirName << Entry->getName() << " -->\n";
  553     os << "\n<!-- FILENAME " << llvm::sys::path::filename(Entry->getName()) << " -->\n";
  553     os << "\n<!-- FILENAME " << llvm::sys::path::filename(Entry->getName()) << " -->\n";
  555     os  << "\n<!-- FUNCTIONNAME " <<  declName << " -->\n";
  555     os  << "\n<!-- FUNCTIONNAME " <<  declName << " -->\n";
  555     os  << "\n<!-- FUNCTIONNAME " <<  declName << " -->\n";
  557     os << "\n<!-- ISSUEHASHCONTENTOFLINEINCONTEXT "
  560        << " -->\n";
  562     os << "\n<!-- BUGLINE "
  564        << " -->\n";
  566     os << "\n<!-- BUGCOLUMN "
  568       << " -->\n";
  570     os << "\n<!-- BUGPATHLENGTH " << path.size() << " -->\n";
  570     os << "\n<!-- BUGPATHLENGTH " << path.size() << " -->\n";
  573     os << "\n<!-- BUGMETAEND -->\n";
  631   Out << "<tr><td valign='top'><div class='PathIndex PathIndexPopUp'>"
  637   Out << "</div></td><td>" << Piece.getString() << "</td></tr>";
  637   Out << "</div></td><td>" << Piece.getString() << "</td></tr>";
  645     Out << "</tbody></table></span>";
  796   os << "\n<tr><td class=\"num\"></td><td class=\"line\"><div id=\"";
  799     os << "Note" << num;
  801     os << "EndPath";
  803     os << "Path" << num;
  805   os << "\" class=\"msg";
  807     os << " msg" << Kind;
  807     os << " msg" << Kind;
  808   os << "\" style=\"margin-left:" << PosNo << "ex";
  808   os << "\" style=\"margin-left:" << PosNo << "ex";
  855       os << "; max-width:" << em << "em";
  855       os << "; max-width:" << em << "em";
  858     os << "; max-width:100em";
  860   os << "\">";
  863     os << "<table class=\"msgT\"><tr><td valign=\"top\">";
  864     os << "<div class=\"PathIndex";
  865     if (Kind) os << " PathIndex" << Kind;
  865     if (Kind) os << " PathIndex" << Kind;
  866     os << "\">" << num << "</div>";
  866     os << "\">" << num << "</div>";
  869       os << "</td><td><div class=\"PathNav\"><a href=\"#Path"
  871          << "\" title=\"Previous event ("
  873          << ")\">&#x2190;</a></div></td>";
  876     os << "</td><td>";
  880     os << "Within the expansion of the macro '";
  898     os << "':\n";
  901       os << "</td>";
  903         os << "<td><div class=\"PathNav\"><a href=\"#";
  905           os << "EndPath";
  907           os << "Path" << (num + 1);
  908         os << "\" title=\"Next event ("
  910         << ")\">&#x2192;</a></div></td>";
  913       os << "</tr></table>";
  923       os << "</td>";
  925         os << "<td><div class=\"PathNav\"><a href=\"#";
  927           os << "EndPath";
  929           os << "Path" << (num + 1);
  930         os << "\" title=\"Next event ("
  932            << ")\">&#x2192;</a></div></td>";
  935       os << "</tr></table>";
  939   os << "</div></td></tr>";
  980       os << "<div class=\"msg msgEvent\" style=\"width:94%; "
  985       os << "</div></td><td valign=\"top\">"
  987          << "</td></tr></table></div>\n";
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
  455   os << "<Unknown Region>";
  459   os << "alloca{S" << Ex->getID(getContext()) << ',' << Cnt << '}';
  463   os << "code{" << getDecl()->getDeclName().getAsString() << '}';
  467   os << "block_code{" << static_cast<const void *>(this) << '}';
  471   os << "block_data{" << BC;
  472   os << "; ";
  476     os << "(" << I.getCapturedRegion() << "<-" <<
  476     os << "(" << I.getCapturedRegion() << "<-" <<
  477                  I.getOriginalRegion() << ") ";
  483   os << "{ S" << CL->getID(getContext()) <<  " }";
  483   os << "{ S" << CL->getID(getContext()) <<  " }";
  487   os << "temp_object{" << getValueType().getAsString() << ", "
  487   os << "temp_object{" << getValueType().getAsString() << ", "
  488      << "S" << Ex->getID(getContext()) << '}';
  492   os << "Base{" << superRegion << ',' << getDecl()->getName() << '}';
  496   os << "Derived{" << superRegion << ',' << getDecl()->getName() << '}';
  500   os << "this";
  504   os << "Element{" << superRegion << ','
  509   os << superRegion << "." << *getDecl();
  513   os << "Ivar{" << superRegion << ',' << *getDecl() << '}';
  528     os << "Heap";
  529   os << "SymRegion{" << sym << '}';
  537     os << "VarRegion{D" << VD->getID() << '}';
  545   os << "raw_offset{" << getRegion() << ',' << getOffset().getQuantity() << '}';
  549   os << "CodeSpaceRegion";
  553   os << "StaticGlobalsMemSpace{" << CR << '}';
  557   os << "GlobalInternalSpaceRegion";
  561   os << "GlobalSystemSpaceRegion";
  565   os << "GlobalImmutableSpaceRegion";
  569   os << "HeapSpaceRegion";
  573   os << "UnknownSpaceRegion";
  577   os << "StackArgumentsSpaceRegion";
  581   os << "StackLocalsSpaceRegion";
  594   os << "'";
  596   os << "'";
  630   os << "." << getDecl()->getName();
  635     os << "\'";
  637     os << "'";
  639     os << "field " << "\'" << getDecl()->getName() << "'";
  639     os << "field " << "\'" << getDecl()->getName() << "'";
  639     os << "field " << "\'" << getDecl()->getName() << "'";
 1260           LLVM_DEBUG(llvm::dbgs() << "MemRegion::getAsArrayOffset: "
 1261                                   << "offset overflowing, returning unknown\n");
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
  196   Indent(o, indent) << "<key>ranges</key>\n";
  197   Indent(o, indent) << "<array>\n";
  208   Indent(o, indent) << "</array>\n";
  215   Indent(o, indent) << "<key>extended_message</key>\n";
  221   Indent(o, indent) << "<key>message</key>\n";
  234   Indent(o, indent) << "<key>fixits</key>\n";
  235   Indent(o, indent) << "<array>\n";
  241     Indent(o, indent) << " <dict>\n";
  242     Indent(o, indent) << "  <key>remove_range</key>\n";
  245     Indent(o, indent) << "  <key>insert_string</key>";
  247     o << "\n";
  248     Indent(o, indent) << " </dict>\n";
  250   Indent(o, indent) << "</array>\n";
  260   Indent(o, indent) << "<dict>\n";
  263   Indent(o, indent) << "<key>kind</key><string>control</string>\n";
  266   Indent(o, indent) << "<key>edges</key>\n";
  268   Indent(o, indent) << "<array>\n";
  272     Indent(o, indent) << "<dict>\n";
  278     Indent(o, indent) << "<key>start</key>\n";
  284     Indent(o, indent) << "<key>end</key>\n";
  290     Indent(o, indent) << "</dict>\n";
  293   Indent(o, indent) << "</array>\n";
  299     Indent(o, indent) << "<key>alternate</key>";
  307   Indent(o, indent) << "</dict>\n";
  316   Indent(o, indent) << "<dict>\n";
  319   Indent(o, indent) << "<key>kind</key><string>event</string>\n";
  322     Indent(o, indent) << "<key>key_event</key><true/>\n";
  328   Indent(o, indent) << "<key>location</key>\n";
  336   Indent(o, indent) << "<key>depth</key>";
  347   Indent(o, indent); o << "</dict>\n";
  398     Indent(o, indent) << "<dict>\n";
  404     Indent(o, indent) << "<key>location</key>\n";
  412     Indent(o, indent) << "<key>name</key>";
  416     Indent(o, indent) << "<key>expansion</key>";
  422     o << "</dict>\n";
  431   Indent(o, indent) << "<dict>\n";
  437   Indent(o, indent) << "<key>location</key>\n";
  452   Indent(o, indent); o << "</dict>\n";
  460   Indent(o, indent) << "<dict>\n";
  463   Indent(o, indent) << "<key>kind</key><string>pop-up</string>\n";
  468   Indent(o, indent) << "<key>location</key>\n";
  483   Indent(o, indent) << "</dict>\n";
  499   Indent(o, IndentLevel) << "<key>ExecutedLines</key>\n";
  500   Indent(o, IndentLevel) << "<dict>\n";
  507     Indent(o, IndentLevel) << "<key>" << FileKey << "</key>\n";
  507     Indent(o, IndentLevel) << "<key>" << FileKey << "</key>\n";
  508     Indent(o, IndentLevel) << "<array>\n";
  512       EmitInteger(o, LineNo) << "\n";
  515     Indent(o, IndentLevel) << "</array>\n";
  518   Indent(o, IndentLevel) << "</dict>\n";
  542     o << "   <key>notes</key>\n"
  548     o << "   </array>\n";
  551   o << "   <key>path</key>\n";
  553   o << "   <array>\n";
  558   o << "   </array>\n";
  563   o << "   <key>macro_expansions</key>\n"
  566   o << "   </array>\n";
  650     llvm::errs() << "warning: could not create file: " << EC.message() << '\n';
  660   o << "<dict>\n" <<
  660   o << "<dict>\n" <<
  663   o << " <key>diagnostics</key>\n"
  669     o << "  <dict>\n";
  675     o << "   <key>description</key>";
  677     o << "   <key>category</key>";
  679     o << "   <key>type</key>";
  681     o << "   <key>check_name</key>";
  684     o << "   <!-- This hash is experimental and going to change! -->\n";
  685     o << "   <key>issue_hash_content_of_line_in_context</key>";
  720           o << "  <key>issue_context_kind</key>";
  722           o << "  <key>issue_context</key>";
  740             o << "  <key>issue_hash_function_offset</key><string>"
  742               << "</string>\n";
  747             o << "  <key>issue_hash_function_offset</key><string>"
  749               << "</string>\n";
  757     o << "  <key>location</key>\n";
  770               o << "  </array>\n";
  773             o <<  "  <key>" << lastName << "_files</key>\n";
  773             o <<  "  <key>" << lastName << "_files</key>\n";
  774             o << "  <array>\n";
  776           o << "   <string>" << CI->second << "</string>\n";
  776           o << "   <string>" << CI->second << "</string>\n";
  778         o << "  </array>\n";
  785     o << "  </dict>\n";
  788   o << " </array>\n";
  790   o << " <key>files</key>\n"
  793     EmitString(o << "  ", SM.getFileEntryForID(FID)->getName()) << '\n';
  794   o << " </array>\n";
  797     o << " <key>statistics</key>\n";
  806   o << "</dict>\n</plist>\n";
tools/clang/lib/StaticAnalyzer/Core/PrettyStackTraceLocationContext.h
   36     Out << "While analyzing stack: \n";
tools/clang/lib/StaticAnalyzer/Core/ProgramState.cpp
  447   Indent(Out, Space, IsDot) << "\"program_state\": {" << NL;
  447   Indent(Out, Space, IsDot) << "\"program_state\": {" << NL;
tools/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
  227   os << "{ ";
  232       os << ", ";
  234     os << '[' << i->From().toString(10) << ", " << i->To().toString(10)
  237   os << " }";
  767   Indent(Out, Space, IsDot) << "\"constraints\": ";
  769     Out << "null," << NL;
  769     Out << "null," << NL;
  774   Out << '[' << NL;
  778         << "{ \"symbol\": \"" << I.getKey() << "\", \"range\": \"";
  778         << "{ \"symbol\": \"" << I.getKey() << "\", \"range\": \"";
  780     Out << "\" }";
  784     Out << NL;
  788   Indent(Out, Space, IsDot) << "]," << NL;
  788   Indent(Out, Space, IsDot) << "]," << NL;
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
  125   Out << "\"kind\": \"" << (K.isDirect() ? "Direct" : "Default")
  125   Out << "\"kind\": \"" << (K.isDirect() ? "Direct" : "Default")
  126       << "\", \"offset\": ";
  131     Out << "null";
  237           << "{ \"cluster\": \"" << I.getKey() << "\", \"pointer\": \""
  237           << "{ \"cluster\": \"" << I.getKey() << "\", \"pointer\": \""
  238           << (const void *)I.getKey() << "\", \"items\": [" << NL;
  238           << (const void *)I.getKey() << "\", \"items\": [" << NL;
  243         Indent(Out, Space, IsDot) << "{ " << CI.getKey() << ", \"value\": ";
  243         Indent(Out, Space, IsDot) << "{ " << CI.getKey() << ", \"value\": ";
  245         Out << " }";
  248         Out << NL;
  252       Indent(Out, Space, IsDot) << "]}";
  255       Out << NL;
 2679   Indent(Out, Space, IsDot) << "\"store\": ";
 2682     Out << "null," << NL;
 2682     Out << "null," << NL;
 2686   Out << "{ \"pointer\": \"" << Bindings.asStore() << "\", \"items\": [" << NL;
 2686   Out << "{ \"pointer\": \"" << Bindings.asStore() << "\", \"items\": [" << NL;
 2686   Out << "{ \"pointer\": \"" << Bindings.asStore() << "\", \"items\": [" << NL;
 2688   Indent(Out, Space, IsDot) << "]}," << NL;
 2688   Indent(Out, Space, IsDot) << "]}," << NL;
tools/clang/lib/StaticAnalyzer/Core/SVals.cpp
  299       os << "Unknown";
  308       os << "Undefined";
  327       os << C.getLoc() << " [as " << C.getNumBits() << " bit integer]";
  327       os << C.getLoc() << " [as " << C.getNumBits() << " bit integer]";
  332       os << "compoundVal{";
  339           os << ", ";
  343       os << "}";
  348       os << "lazyCompoundVal{" << const_cast<void *>(C.getStore())
  354       os << "pointerToMember{";
  358         os << "|" << CastRes.getDecl()->getQualifiedNameAsString() << "|";
  358         os << "|" << CastRes.getDecl()->getQualifiedNameAsString() << "|";
  365           os << ", ";
  382       os << castAs<loc::ConcreteInt>().getValue().getZExtValue() << " (Loc)";
  385       os << "&&" << castAs<loc::GotoLabel>().getLabel()->getName();
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
   44   os << ") "
   63      << " (";
   71   os << ") "
   73      << " (";
   79   os << '(' << ToTy.getAsString() << ") (";
   85   os << "conj_$" << getSymbolID() << '{' << T.getAsString() << ", LC"
   85   os << "conj_$" << getSymbolID() << '{' << T.getAsString() << ", LC"
   88     os << ", S" << S->getID(LCtx->getDecl()->getASTContext());
   90     os << ", no stmt";
   91   os << ", #" << Count << '}';
   95   os << "derived_$" << getSymbolID() << '{'
  100   os << "extent_$" << getSymbolID() << '{' << getRegion() << '}';
  104   os << "meta_$" << getSymbolID() << '{'
  111   os << "reg_$" << getSymbolID()
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  130                  << "-" << SM.getSpellingColumnNumber(Hint.RemoveRange.getEnd())
  131                  << ": '" << Hint.CodeToInsert << "'";
  131                  << ": '" << Hint.CodeToInsert << "'";
  309       llvm::errs() << "ANALYZE";
  312         llvm::errs() << " (Syntax)";
  314         llvm::errs() << " (Path, ";
  317             llvm::errs() << " Inline_Minimal";
  320             llvm::errs() << " Inline_Regular";
  323         llvm::errs() << ")";
  328       llvm::errs() << ": " << Loc.getFilename() << ' '
  328       llvm::errs() << ": " << Loc.getFilename() << ' '
  692           OS << ", ";
  702       OS << "block (line: " << Loc.getLine() << ", col: " << Loc.getColumn()
  702       OS << "block (line: " << Loc.getLine() << ", col: " << Loc.getColumn()
  719         OS << OC->getIdentifier()->getNameStart() << '('
  720            << OC->getIdentifier()->getNameStart() << ')';
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp
   49   out << "OVERVIEW: Clang Static Analyzer Checkers List\n\n";
   50   out << "USAGE: -analyzer-checker <CHECKER or PACKAGE,...>\n\n";
   61   out << "OVERVIEW: Clang Static Analyzer Enabled Checkers List\n\n";
   81   out << R"(
  129     out << "\n\n";
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
  512   Out << "CHECKERS:\n";
  567   Out << "OVERVIEW: Clang Static Analyzer Checker and Package Option List\n\n";
  568   Out << "USAGE: -analyzer-config <OPTION1=VALUE,OPTION2=VALUE,...>\n\n";
  569   Out << "       -analyzer-config OPTION1=VALUE, -analyzer-config "
  571   Out << "OPTIONS:\n\n";
  592     Out << "\n\n";
tools/clang/lib/Tooling/AllTUsExecution.cpp
   97     llvm::errs() << Msg.str() << "\n";
tools/clang/lib/Tooling/CommonOptionsParser.cpp
  138       llvm::errs() << "Error while trying to load a compilation database:\n"
  139                    << ErrorMessage << "Running without flags.\n";
tools/clang/lib/Tooling/CompilationDatabase.cpp
   76     ErrorStream << It->getName() << ": " << DatabaseErrorMessage << "\n";
   76     ErrorStream << It->getName() << ": " << DatabaseErrorMessage << "\n";
tools/clang/lib/Tooling/Core/Replacement.cpp
   90   Stream << FilePath << ": " << ReplacementRange.getOffset() << ":+"
   90   Stream << FilePath << ": " << ReplacementRange.getOffset() << ":+"
   91          << ReplacementRange.getLength() << ":\"" << ReplacementText << "\"";
   91          << ReplacementRange.getLength() << ":\"" << ReplacementText << "\"";
  619       llvm::errs() << "File path " << Entry.first << " is invalid.\n";
  619       llvm::errs() << "File path " << Entry.first << " is invalid.\n";
tools/clang/lib/Tooling/FileMatchTrie.cpp
  187     Error << "Cannot resolve relative paths";
  193     Error << "Path is ambiguous";
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
  357         llvm::dbgs() << "interpolate: chose " << OriginalPaths[Best.first]
  358                      << " as proxy for " << OriginalFilename << " preferring "
  358                      << " as proxy for " << OriginalFilename << " preferring "
  359                      << (PreferLanguage == types::TY_INVALID
  362                      << " score=" << Best.second << "\n");
  362                      << " score=" << Best.second << "\n");
tools/clang/lib/Tooling/Refactoring.cpp
   51     llvm::errs() << "Skipped some replacements.\n";
   90       llvm::errs() << llvm::toString(CurStyle.takeError()) << "\n";
   97       llvm::errs() << llvm::toString(NewReplacements.takeError()) << "\n";
tools/clang/lib/Tooling/Refactoring/ASTSelection.cpp
  220     OS << D->getDeclKindName() << "Decl";
  220     OS << D->getDeclKindName() << "Decl";
  222       OS << " \"" << ND->getNameAsString() << '"';
  224     OS << S->getStmtClassName();
  226   OS << ' ' << selectionKindToString(Node.SelectionKind) << "\n";
  226   OS << ' ' << selectionKindToString(Node.SelectionKind) << "\n";
tools/clang/lib/Tooling/Refactoring/Extract/Extract.cpp
  156     OS << "static ";
  163     OS << " {\n";
  165       OS << "return ";
  169     OS << "\n}\n\n";
tools/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp
  175         llvm::errs() << "Renaming failed in " << Replace.getFilePath() << "! "
  175         llvm::errs() << "Renaming failed in " << Replace.getFilePath() << "! "
  176                      << llvm::toString(std::move(Err)) << "\n";
  214         errs() << "clang-rename: renamed at: " << SourceMgr.getFilename(FullLoc)
  215                << ":" << FullLoc.getSpellingLineNumber() << ":"
  215                << ":" << FullLoc.getSpellingLineNumber() << ":"
  216                << FullLoc.getSpellingColumnNumber() << "\n";
  225       llvm::errs() << "Failed to create renaming replacements for '" << PrevName
  226                    << "'! " << llvm::toString(Change.takeError()) << "\n";
  226                    << "'! " << llvm::toString(Change.takeError()) << "\n";
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
  526       llvm::errs() << "Failed to add replacement to AtomicChange: "
  527                    << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Tooling/RefactoringCallbacks.cpp
   56           llvm::errs() << "Skipping replacement " << Replacement.toString()
   57                        << " due to this error:\n"
   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
  212                      << " used in replacement template not bound in Matcher \n";
  224     llvm::errs() << "Node to be replaced " << FromId
  225                  << " not bound in query.\n";
  233     llvm::errs() << "Query and replace failed in " << Replacement.getFilePath()
  234                  << "! " << llvm::toString(std::move(Err)) << "\n";
  234                  << "! " << llvm::toString(std::move(Err)) << "\n";
tools/clang/lib/Tooling/Syntax/Nodes.cpp
   16     return OS << "Leaf";
   18     return OS << "TranslationUnit";
   20     return OS << "TopLevelDeclaration";
   22     return OS << "CompoundStatement";
tools/clang/lib/Tooling/Syntax/Tokens.cpp
  329                                           << "Token: "
  332                                           << "\n"
  579       OS << "<empty>";
  586       OS << " " << PrintToken(Tokens[I]);
  593   OS << "expanded tokens:\n"
  594      << "  ";
  597   OS << "\n";
  610        << "  spelled tokens:\n"
  611        << "    ";
  613     OS << "\n";
  616       OS << "  no mappings.\n";
  619     OS << "  mappings:\n";
tools/clang/lib/Tooling/Syntax/Tree.cpp
   74       OS << " ";
   79       OS << "<eof>";
   91       OS << "*: ";
   93       OS << static_cast<int>(N->role()) << ": ";
   97     OS << "\n";
  102   OS << T->kind() << "\n";
  107         OS << "| ";
  109         OS << "  ";
  112       OS << "`-";
  115       OS << "|-";
tools/clang/lib/Tooling/Tooling.cpp
  367     llvm::errs() << "clang Invocation:\n";
  369     llvm::errs() << "\n";
  471       llvm::errs() << "Skipping " << SourcePath
  472                    << ". Error while getting an absolute path: "
  473                    << llvm::toString(AbsPath.takeError()) << "\n";
  485       llvm::errs() << "Could not get working directory: "
  486                    << CWD.getError().message() << "\n";
  501       llvm::errs() << "Skipping " << File << ". Compile command not found.\n";
  501       llvm::errs() << "Skipping " << File << ". Compile command not found.\n";
  545       LLVM_DEBUG({ llvm::dbgs() << "Processing: " << File << ".\n"; });
  545       LLVM_DEBUG({ llvm::dbgs() << "Processing: " << File << ".\n"; });
  553           llvm::errs() << "Error while processing " << File << ".\n";
  553           llvm::errs() << "Error while processing " << File << ".\n";
  562       llvm::errs() << "Error when trying to restore working dir: "
  563                    << EC.message() << "\n";
tools/clang/lib/Tooling/Transformer/Stencil.cpp
   98   OS << "\"";
  100   OS << "\"";
tools/clang/lib/Tooling/Transformer/Transformer.cpp
   43         llvm::errs() << "note: skipping match at loc ", *Result.SourceManager);
   44     llvm::errs() << "\n";
tools/clang/tools/arcmt-test/arcmt-test.cpp
   93     OS << "Insert: ";
   95     OS << " \"" << text << "\"\n";
   95     OS << " \"" << text << "\"\n";
  100     OS << "Remove: ";
  128     llvm::errs() << "error: no input files\n";
  167     llvm::errs() << "error: no input files\n";
  192         llvm::errs() << "\n##### FINAL RESULT #####\n";
  194         llvm::errs() << "\n##### OUTPUT AFTER "<< i+1 <<". TRANSFORMATION #####\n";
  194         llvm::errs() << "\n##### OUTPUT AFTER "<< i+1 <<". TRANSFORMATION #####\n";
  196       llvm::errs() << "\n##########################\n\n";
  233       errs() << "error: filename '" << fname
  234                    << "' does not have '.result' extension\n";
  246     errs() << "error: could not read remappings input\n";
  255     errs() << "error: no files to verify from stdin\n";
  259     errs() << "error: files to verify are not original/result pairs\n";
  270       errs() << "error: '" << inputOrigFname << "' is not in the list of "
  270       errs() << "error: '" << inputOrigFname << "' is not in the list of "
  271              << "transformed files to verify\n";
  276       errs() << "error: '" << It->second << "' does not exist\n";
  276       errs() << "error: '" << It->second << "' does not exist\n";
  280       errs() << "error: '" << inputResultFname << "' does not exist\n";
  280       errs() << "error: '" << inputResultFname << "' does not exist\n";
  285       errs() << "error: '" << It->second << "' is different than "
  285       errs() << "error: '" << It->second << "' is different than "
  286              << "'" << inputResultFname << "'\n";
  286              << "'" << inputResultFname << "'\n";
  296       errs() << "error: '" << I->second << "' was not verified!\n";
  296       errs() << "error: '" << I->second << "' was not verified!\n";
  313   OS << ":" << PL.getLine() << ":"
  313   OS << ":" << PL.getLine() << ":"
  325   OS << " [" << PL.getLine() << ":"
  325   OS << " [" << PL.getLine() << ":"
  327   OS << " - ";
  335   OS << PL.getLine() << ":" << endCol << "]";
  335   OS << PL.getLine() << ":" << endCol << "]";
tools/clang/tools/c-index-test/core_main.cpp
  107     OS << Line << ':' << Col << " | ";
  110     OS << " | ";
  113     OS << " | ";
  116       OS << "<no-cgname>";
  117     OS << " | ";
  120     OS << " | ";
  122     OS << "rel: " << Relations.size() << '\n';
  127       OS << " | ";
  145     OS << Line << ':' << Col << " | ";
  148     OS << " | ";
  151     OS << " | ";
  154     OS << " |\n";
  168     OS << Line << ':' << Col << " | ";
  171     OS << " | ";
  174     OS << " | ";
  179       OS << "<no-usr>";
  183     OS << " | ";
  186     OS << " |\n";
  200   OS << "---- Module Inputs ----\n";
  203     OS << (isSystem ? "system" : "user") << " | ";
  203     OS << (isSystem ? "system" : "user") << " | ";
  237         OS << "==== Module " << Mod.ModuleName << " ====\n";
  237         OS << "==== Module " << Mod.ModuleName << " ====\n";
  256     errs() << "unknown module format: " << format << '\n';
  270     errs() << "failed to create TU for: " << modulePath << '\n';
  300     OS << "<no-name>";
  302   OS << " | ";
  306     OS << "<no-usr>";
  314   OS << Mod->getFullModuleName() << " | ";
  343     errs() << "error: action required; pass '-help' for options\n";
  353       errs() << "error: missing compiler args; pass '-- <compiler arguments>'\n";
tools/clang/tools/clang-diff/ClangDiff.cpp
   96           << "Error while trying to load a compilation database, running "
  224     OS << "&amp;";
  227     OS << "&lt;";
  230     OS << "&gt;";
  233     OS << "&#x27;";
  236     OS << "&quot;";
  290   OS << "<span id='" << MyTag << Id << "' "
  290   OS << "<span id='" << MyTag << Id << "' "
  291      << "tid='" << OtherTag << TargetId << "' ";
  291      << "tid='" << OtherTag << TargetId << "' ";
  292   OS << "title='";
  294   OS << "\n" << LeftId << " -> " << RightId;
  294   OS << "\n" << LeftId << " -> " << RightId;
  297     OS << "\n";
  300   OS << "'";
  302     OS << " class='" << getChangeKindAbbr(Node.Change) << "'";
  302     OS << " class='" << getChangeKindAbbr(Node.Change) << "'";
  303   OS << ">";
  315   OS << "</span>";
  323       OS << R"(\")";
  326       OS << R"(\\)";
  329       OS << R"(\n)";
  332       OS << R"(\t)";
  336         OS << R"(\u00)" << hexdigit(C >> 4) << hexdigit(C);
  347   OS << R"("id":)" << int(Id);
  348   OS << R"(,"type":")" << N.getTypeLabel() << '"';
  350   OS << R"(,"begin":)" << Offsets.first;
  351   OS << R"(,"end":)" << Offsets.second;
  354     OS << R"(,"value":")";
  363   OS << "{";
  368     OS << R"(,"identifier":")";
  370     OS << R"(")";
  372       OS << R"(,"qualified_identifier":")";
  374       OS << R"(")";
  377   OS << R"(,"children":[)";
  381       OS << ",";
  385   OS << "]}";
  391     OS << "None";
  397     OS << ": " << Value;
  398   OS << "(" << Id << ")";
  398   OS << "(" << Id << ")";
  404       OS << " ";
  406     OS << "\n";
  421     OS << "Update ";
  423     OS << " to " << DstTree.getNodeValue(Dst) << "\n";
  423     OS << " to " << DstTree.getNodeValue(Dst) << "\n";
  429       OS << "Insert";
  431       OS << "Move";
  433       OS << "Update and Move";
  434     OS << " ";
  436     OS << " into ";
  438     OS << " at " << DstTree.findPositionInParent(Dst) << "\n";
  438     OS << " at " << DstTree.findPositionInParent(Dst) << "\n";
  459       llvm::errs() << "Error: Please specify exactly one filename.\n";
  470     llvm::outs() << R"({"filename":")";
  472     llvm::outs() << R"(","root":)";
  474     llvm::outs() << "}\n";
  479     llvm::errs() << "Error: Exactly two paths are required.\n";
  495       llvm::errs() << "Error: Invalid argument for -stop-after\n";
  504     llvm::outs() << HtmlDiffHeader << "<pre>";
  504     llvm::outs() << HtmlDiffHeader << "<pre>";
  505     llvm::outs() << "<div id='L' class='code'>";
  507     llvm::outs() << "</div>";
  508     llvm::outs() << "<div id='R' class='code'>";
  511     llvm::outs() << "</div>";
  512     llvm::outs() << "</pre></div></body></html>\n";
  519       llvm::outs() << "Match ";
  521       llvm::outs() << " to ";
  523       llvm::outs() << "\n";
  529       llvm::outs() << "Delete ";
  531       llvm::outs() << "\n";
tools/clang/tools/clang-format/ClangFormat.cpp
  196       errs() << "error: cannot use -lines with -offset/-length\n";
  203         errs() << "error: invalid <start line>:<end line> pair\n";
  207         errs() << "error: start line should be less than end line\n";
  225     errs() << "error: number of -offset and -length arguments must match.\n";
  230       errs() << "error: offset " << Offsets[i] << " is outside the file\n";
  230       errs() << "error: offset " << Offsets[i] << " is outside the file\n";
  238         errs() << "error: invalid length " << Lengths[i]
  239                << ", offset + length (" << Offsets[i] + Lengths[i]
  240                << ") is outside the file.\n";
  263       outs() << "&#10;";
  266       outs() << "&#13;";
  269       outs() << "&lt;";
  272       outs() << "&amp;";
  284     outs() << "<replacement "
  285            << "offset='" << R.getOffset() << "' "
  285            << "offset='" << R.getOffset() << "' "
  286            << "length='" << R.getLength() << "'>";
  286            << "length='" << R.getLength() << "'>";
  288     outs() << "</replacement>\n";
  355   outs() << "<?xml version='1.0'?>\n<replacements "
  357          << (Status.FormatComplete ? "false" : "true") << "'";
  357          << (Status.FormatComplete ? "false" : "true") << "'";
  359     outs() << " line='" << Status.Line << "'";
  359     outs() << " line='" << Status.Line << "'";
  360   outs() << ">\n";
  362     outs() << "<cursor>" << FormatChanges.getShiftedCodePosition(CursorPosition)
  363            << "</cursor>\n";
  366   outs() << "</replacements>\n";
  372     errs() << "error: cannot use -i when reading from stdin.\n";
  381     errs() << EC.message() << "\n";
  393     errs() << "error: encoding with unsupported byte order mark \""
  394            << InvalidBOM << "\" detected";
  394            << InvalidBOM << "\" detected";
  396       errs() << " in file '" << FileName << "'";
  396       errs() << " in file '" << FileName << "'";
  397     errs() << ".\n";
  409     llvm::errs() << llvm::toString(FormatStyle.takeError()) << "\n";
  420     llvm::errs() << llvm::toString(ChangedCode.takeError()) << "\n";
  452         outs() << "{ \"Cursor\": "
  454                << ", \"IncompleteFormat\": "
  455                << (Status.FormatComplete ? "false" : "true");
  457           outs() << ", \"Line\": " << Status.Line;
  458         outs() << " }\n";
  487       llvm::errs() << EC.message() << "\n";
  497     llvm::errs() << llvm::toString(FormatStyle.takeError()) << "\n";
  501   outs() << Config << "\n";
  536     errs() << "error: -offset, -length and -lines can only be used for "
  542       errs() << "Formatting " << FileName << "\n";
  542       errs() << "Formatting " << FileName << "\n";
tools/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp
   67           errs() << "error: opt level must be between 0 and 3.\n";
   75   errs()<< "ERROR: " << message << "\n";
   75   errs()<< "ERROR: " << message << "\n";
tools/clang/tools/clang-import-test/clang-import-test.cpp
  137         llvm::errs() << ": ";
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  333     OS << OFFLOAD_BUNDLER_MAGIC_STR;
  493       errs() << "\"" << *Objcopy << "\"";
  493       errs() << "\"" << *Objcopy << "\"";
  495         errs() << " \"" << Arg << "\"";
  495         errs() << " \"" << Arg << "\"";
  496       errs() << "\n";
  591     OS << BundleStartString << TargetTriple << "\n";
  596     OS << BundleEndString << TargetTriple << "\n";
  893       Msg << "invalid target '" << Target << "'";
  893       Msg << "invalid target '" << Target << "'";
  895         Msg << ", unknown offloading kind '" << Kind << "'";
  895         Msg << ", unknown offloading kind '" << Kind << "'";
  897         Msg << ", unknown target triple '" << Triple << "'";
  897         Msg << ", unknown target triple '" << Triple << "'";
tools/clang/tools/clang-refactor/ClangRefactor.cpp
  122       llvm::errs() << "error: -selection=" << Range.FileName
  123                    << ":... : given file is not in the target TU\n";
  132       llvm::errs() << "error: -selection=" << Range.FileName << ':'
  135                    << " : invalid source location\n";
  160   llvm::errs() << "error: '-selection' option must be specified using "
  321       llvm::errs() << llvm::toString(std::move(Err)) << "\n";
  356         llvm::errs() << "duplicate refactoring action command '"
  357                      << Action->getCommand() << "'!";
  490         llvm::errs() << "error: failed to open " << File << " for rewriting\n";
  490         llvm::errs() << "error: failed to open " << File << " for rewriting\n";
  504           llvm::errs() << EC.message() << "\n";
  520     llvm::outs() << "invoking action '" << Subcommand.getName() << "':\n";
  520     llvm::outs() << "invoking action '" << Subcommand.getName() << "':\n";
  523       llvm::outs() << "  -selection=";
  525       llvm::outs() << " -> ";
  527       llvm::outs() << "\n";
  557       OS << "ERROR: '" << Subcommand.getName()
  558          << "' can't be invoked with the given arguments:\n";
  560         OS << "  missing '-" << Opt.getKey() << "' option\n";
  560         OS << "  missing '-" << Opt.getKey() << "' option\n";
  588       OS << "error: no refactoring action given\n";
  589       OS << "note: the following actions are supported:\n";
  591         OS.indent(2) << Subcommand->getName() << "\n";
  620     llvm::errs() << llvm::toString(std::move(Err)) << "\n";
  626     llvm::errs() << llvm::toString(ActionFactory.takeError()) << "\n";
  632     llvm::errs() << "Failed to run refactoring action on files\n";
tools/clang/tools/clang-refactor/TestSupport.cpp
   34     OS << "Test selection group '" << Group.Name << "':\n";
   34     OS << "Test selection group '" << Group.Name << "':\n";
   36       OS << "  " << Range.Begin << "-" << Range.End << "\n";
   36       OS << "  " << Range.Begin << "-" << Range.End << "\n";
   36       OS << "  " << Range.Begin << "-" << Range.End << "\n";
   47     llvm::errs() << "error: -selection=test:" << Filename
   48                  << " : given file is not in the target TU";
   70     OS << const_cast<tooling::AtomicChange &>(Change).toYAMLString() << "\n";
   95       llvm::errs() << "failed to open" << File << "\n";
   95       llvm::errs() << "failed to open" << File << "\n";
  221           << "error: unexpected refactoring result for range starting at "
  222           << LineColumn.first << ':' << LineColumn.second << " in group '"
  223           << TestRanges.GroupedRanges[Group.index()].Name << "':\n  ";
  225         llvm::errs() << "valid result";
  227         llvm::errs() << "error '" << ErrorMessage << "'";
  227         llvm::errs() << "error '" << ErrorMessage << "'";
  228       llvm::errs() << " does not match initial ";
  230         llvm::errs() << "error '" << *CanonicalErrorMessage << "'\n";
  230         llvm::errs() << "error '" << *CanonicalErrorMessage << "'\n";
  232         llvm::errs() << "valid result\n";
  234         llvm::errs() << "  Expected to Produce:\n";
  236         llvm::errs() << "  Produced:\n";
  244       llvm::outs() << TestGroup.Ranges.size() << " '" << TestGroup.Name
  245                    << "' results:\n";
  246       llvm::outs() << *CanonicalErrorMessage << "\n";
  248       llvm::outs() << TestGroup.Ranges.size() << " '" << TestGroup.Name
  249                    << "' results:\n";
  298     llvm::errs() << "error: -selection=test:" << Filename
  299                  << " : could not open the given file";
  331         llvm::errs() << "error: suspicious comment '" << Comment
  332                      << "' that "
  334         llvm::errs() << "note: please reword if this isn't a range command\n";
  379     llvm::errs() << "error: -selection=test:" << Filename
  380                  << ": no 'range' commands";
tools/clang/tools/clang-rename/ClangRename.cpp
  108       errs() << "clang-rename: failed to read " << Input << ": "
  108       errs() << "clang-rename: failed to read " << Input << ": "
  109              << Buffer.getError().message() << "\n";
  127     errs() << "clang-rename: -new-name must be specified.\n\n";
  132     errs() << "clang-rename: -offset and -qualified-name can't be present at "
  145       errs() << "ERROR: new name is not a valid identifier in C++17.\n\n";
  151     errs() << "clang-rename: number of symbol offsets(" << SymbolOffsets.size()
  152            << ") + number of qualified names (" << QualifiedNames.size()
  153            << ") must be equal to number of new names(" << NewNames.size()
  154            << ").\n\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";
  111             OS << "Error while scanning dependencies for " << Input << ":\n";
  133     llvm::errs() << "error: " << ErrorMessage << "\n";
  133     llvm::errs() << "error: " << ErrorMessage << "\n";
  222     llvm::outs() << "Running clang-scan-deps on " << Inputs.size()
  223                  << " files using " << NumWorkers << " workers\n";
  223                  << " files using " << NumWorkers << " workers\n";
tools/clang/tools/diagtool/DiagTool.cpp
   55     out << "  " << (*it);
tools/clang/tools/diagtool/FindDiagnosticID.cpp
   68     llvm::errs() << "error: invalid diagnostic '" << DiagnosticName << "'\n";
   68     llvm::errs() << "error: invalid diagnostic '" << DiagnosticName << "'\n";
   71   OS << Diag->DiagID << "\n";
tools/clang/tools/diagtool/ListWarnings.cpp
   42     out << "  " << E.DiagName;
   44       out << " [-W" << E.Flag << "]";
   44       out << " [-W" << E.Flag << "]";
   72   out << "Warnings with flags (" << Flagged.size() << "):\n";
   72   out << "Warnings with flags (" << Flagged.size() << "):\n";
   75   out << "Warnings without flags (" << Unflagged.size() << "):\n";
   75   out << "Warnings without flags (" << Unflagged.size() << "):\n";
   78   out << "\nSTATISTICS:\n\n";
   83   out << "  Percentage of warnings with flags: "
   84       << llvm::format("%.4g", percentFlagged) << "%\n";
   86   out << "  Number of unique flags: "
   90   out << "  Average number of diagnostics per flag: "
   93   out << "  Number in -Wpedantic (not covered by other -W flags): "
tools/clang/tools/diagtool/ShowEnabledWarnings.cpp
   39   llvm::errs() << "Usage: diagtool show-enabled [<flags>] <single-input.c>\n";
  137       Out << getCharForLevel(PD.Level) << "  ";
  140       Out << " [-W" << PD.Flag << "]";
  140       Out << " [-W" << PD.Flag << "]";
tools/clang/tools/diagtool/TreeView.cpp
   61     out << "-W" << Group.getName() << "\n" << Colors::RESET;
   61     out << "-W" << Group.getName() << "\n" << Colors::RESET;
   73         out << DR.getName() << Colors::RESET << "\n";
   82       llvm::errs() << "No such diagnostic group exists\n";
   88       llvm::errs() << "No such diagnostic group exists\n";
  119     out << '\n' << Colors::GREEN << "GREEN" << Colors::RESET
  120         << " = enabled by default\n\n";
  125   llvm::errs() << "Usage: diagtool tree [--internal] [<diagnostic-group>]\n";
tools/clang/tools/diagtool/diagtool_main.cpp
   22   llvm::errs() << "usage: diagtool <command> [<args>]\n\n";
tools/clang/tools/driver/cc1gen_reproducer_main.cpp
   80       OS << ", ";
   82     OS << '"' << Key << "\": ";
  105     llvm::outs() << "REPRODUCER METAINFO: " << OS.str() << "\n";
  105     llvm::outs() << "REPRODUCER METAINFO: " << OS.str() << "\n";
  144   OS << "REPRODUCER:\n";
  145   OS << "{\n";
  146   OS << R"("files":[)";
  152   OS << "]\n}\n";
  158     llvm::errs() << "error: missing invocation file\n";
  166     llvm::errs() << "error: failed to read " << Input << ": "
  166     llvm::errs() << "error: failed to read " << Input << ": "
  167                  << Buffer.getError().message() << "\n";
tools/clang/tools/driver/driver.cpp
  111     OS << "### Adding argument " << Str << " at beginning\n";
  111     OS << "### Adding argument " << Str << " at beginning\n";
  111     OS << "### Adding argument " << Str << " at beginning\n";
  116     OS << "### Adding argument " << Str << " at end\n";
  116     OS << "### Adding argument " << Str << " at end\n";
  116     OS << "### Adding argument " << Str << " at end\n";
  131         OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n";
  131         OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n";
  131         OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n";
  131         OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n";
  139         OS << "### Deleting argument " << Args[i] << '\n';
  139         OS << "### Deleting argument " << Args[i] << '\n';
  143             OS << "### Deleting argument " << Args[i] << '\n';
  143             OS << "### Deleting argument " << Args[i] << '\n';
  146             OS << "### Invalid X edit, end of command line!\n";
  161         OS << "### Deleting argument " << Args[i] << '\n';
  161         OS << "### Deleting argument " << Args[i] << '\n';
  166     OS << "### Adding argument " << Edit << " at end\n";
  166     OS << "### Adding argument " << Edit << " at end\n";
  169     OS << "### Unrecognized edit: " << Edit << "\n";
  169     OS << "### Unrecognized edit: " << Edit << "\n";
  185   *OS << "### CCC_OVERRIDE_OPTIONS: " << OverrideStr << "\n";
  185   *OS << "### CCC_OVERRIDE_OPTIONS: " << OverrideStr << "\n";
  185   *OS << "### CCC_OVERRIDE_OPTIONS: " << OverrideStr << "\n";
  316   llvm::errs() << "error: unknown integrated tool '" << Tool << "'. "
  316   llvm::errs() << "error: unknown integrated tool '" << Tool << "'. "
  317                << "Valid tools include '-cc1' and '-cc1as'.\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()
   64              << "\n";
  107       errs() << "Error reading " << I->path() << ": " << BufferError.message()
  107       errs() << "Error reading " << I->path() << ": " << BufferError.message()
  108              << "\n";
  162       errs() << "Described file '" << R.getFilePath()
  163              << "' doesn't exist. Ignoring...\n";
  219         errs() << llvm::toString(std::move(Err)) << "\n";
  253       errs() << "Error deleting file: " << Filename << "\n";
  253       errs() << "Error deleting file: " << Filename << "\n";
  254       errs() << Error.message() << "\n";
  255       errs() << "Please delete the file manually\n";
tools/clang/tools/extra/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp
   85   OS << "clang-apply-replacements version " CLANG_VERSION_STRING << "\n";
   85   OS << "clang-apply-replacements version " CLANG_VERSION_STRING << "\n";
  102     llvm::errs() << llvm::toString(FormatStyleOrError.takeError()) << "\n";
  119     errs() << "Trouble iterating over directory '" << Directory
  120            << "': " << ErrorCode.message() << "\n";
  120            << "': " << ErrorCode.message() << "\n";
  149       errs() << llvm::toString(NewFileData.takeError()) << "\n";
  157       llvm::errs() << "Could not open " << FileName << " for writing\n";
  157       llvm::errs() << "Could not open " << FileName << " for writing\n";
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  162     llvm::errs() << "start or end location were invalid\n";
  167         << "start or end location were in different macro expansions\n";
  173     llvm::errs() << "start or end location were in different files\n";
  196     llvm::errs() << "insert Location is invalid.\n";
  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 << ". "
  109     llvm::errs() << "Failed to open whitelist file " << WhiteListFile << ". "
  110                  << WhiteListPatterns.getError().message() << "\n";
  134     llvm::errs() << "Failed applying all replacements.\n";
  146       OS << "[\n";
  148         OS << "  {\n";
  149         OS << "    \"FilePath\": \"" << *I << "\",\n";
  149         OS << "    \"FilePath\": \"" << *I << "\",\n";
  155         OS << "    \"SourceText\": \""
  156            << llvm::yaml::escape(ContentStream.str()) << "\"\n";
  157         OS << "  }";
  159           OS << ",\n";
  161       OS << "\n]\n";
  171     outs() << "============== " << File << " ==============\n";
  171     outs() << "============== " << File << " ==============\n";
  173     outs() << "\n============================================\n";
tools/clang/tools/extra/clang-doc/BitcodeReader.cpp
  495   llvm::errs() << "invalid child type for info";
tools/clang/tools/extra/clang-doc/BitcodeWriter.cpp
  570     llvm::errs() << "Unexpected info, unable to write.\n";
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp
  103     OS << kDoctypeDecl << "\n";
  103     OS << kDoctypeDecl << "\n";
  106       OS << "\n";
  192   OS << "<" << Tag.ToString();
  194     OS << " " << A.first << "=\"" << A.second << "\"";
  194     OS << " " << A.first << "=\"" << A.second << "\"";
  194     OS << " " << A.first << "=\"" << A.second << "\"";
  196     OS << "/>";
  199   OS << ">";
  201     OS << "\n";
  210       OS << "\n";
  217   OS << "</" << Tag.ToString() << ">";
  217   OS << "</" << Tag.ToString() << ">";
  912   OS << "var JsonIndex = `\n";
  914   OS << "`;\n";
tools/clang/tools/extra/clang-doc/MDGenerator.cpp
   37       Stream << ", ";
   44   OS << Text << "\n\n";
   47 static void writeNewLine(raw_ostream &OS) { OS << "\n\n"; }
   50   OS << std::string(Num, '#') + " " + Text << "\n\n";
   56      << "\n\n";
   72     OS << genEmphasis(I.Name) << " " << I.Text;
   75     OS << genEmphasis(I.ParamName) << I.Text << Direction << "\n\n";
   78     OS << genEmphasis(I.ParamName) << I.Text << Direction << "\n\n";
   94       Attrs << " \"" << I.AttrKeys[Idx] << "=" << I.AttrValues[Idx] << "\"";
   94       Attrs << " \"" << I.AttrKeys[Idx] << "=" << I.AttrValues[Idx] << "\"";
   94       Attrs << " \"" << I.AttrKeys[Idx] << "=" << I.AttrValues[Idx] << "\"";
  103     OS << "Unknown comment kind: " << I.Kind << ".\n\n";
  103     OS << "Unknown comment kind: " << I.Kind << ".\n\n";
  118       Members << "| " << N << " |\n";
  118       Members << "| " << N << " |\n";
  133       Stream << ", ";
tools/clang/tools/extra/clang-doc/tool/ClangDocMain.cpp
  139       llvm::errs() << "Unable to remove existing documentation directory for "
  140                    << DirName << ".\n";
  146     llvm::errs() << "Unable to create documentation directories.\n";
  190     llvm::errs() << toString(Exec.takeError()) << "\n";
  196   llvm::outs() << "Emiting docs in " << Format << " format.\n";
  196   llvm::outs() << "Emiting docs in " << Format << " format.\n";
  199     llvm::errs() << toString(G.takeError()) << "\n";
  240   llvm::outs() << "Mapping decls...\n";
  245       llvm::errs() << "Error mapping decls in files. Clang-doc will ignore "
  247                    << toString(std::move(Err)) << "\n";
  249       llvm::errs() << toString(std::move(Err)) << "\n";
  257   llvm::outs() << "Collecting infos...\n";
  266   llvm::outs() << "Reducing " << USRToBitcode.size() << " infos...\n";
  266   llvm::outs() << "Reducing " << USRToBitcode.size() << " infos...\n";
  282           llvm::errs() << toString(ReadInfos.takeError()) << "\n";
  300         llvm::errs() << toString(InfoPath.takeError()) << "\n";
  308         llvm::errs() << "Error opening info file: " << FileErr.message()
  309                      << "\n";
  319         llvm::errs() << toString(std::move(Err)) << "\n";
  328   llvm::outs() << "Generating assets for docs...\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
  159                           << "'");
  279   LLVM_DEBUG(llvm::dbgs() << "TypoScopeQualifiers: " << TypoScopeString
  280                           << "\n");
  360   LLVM_DEBUG(llvm::dbgs() << "Looking up '" << Query << "' at ");
  360   LLVM_DEBUG(llvm::dbgs() << "Looking up '" << Query << "' at ");
  365   LLVM_DEBUG(llvm::dbgs() << " ...");
  393   LLVM_DEBUG(llvm::dbgs() << "Having found " << MatchedSymbols.size()
  394                           << " symbols\n");
tools/clang/tools/extra/clang-include-fixer/SymbolIndexManager.cpp
   99     LLVM_DEBUG(llvm::dbgs() << "Searching " << Names.back() << "... got "
   99     LLVM_DEBUG(llvm::dbgs() << "Searching " << Names.back() << "... got "
  100                             << Symbols.size() << " results...\n");
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp
  102     llvm::errs() << "Declaration " << ND->getNameAsString() << "("
  102     llvm::errs() << "Declaration " << ND->getNameAsString() << "("
  103                  << ND->getDeclKindName()
  104                  << ") has invalid declaration location.";
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp
  100               llvm::errs() << "Can't open " << Path << "\n";
  100               llvm::errs() << "Can't open " << Path << "\n";
  119     llvm::errs() << "Can't open '" << OutputFile << "': " << EC.message()
  119     llvm::errs() << "Can't open '" << OutputFile << "': " << EC.message()
  137     llvm::errs() << "Must specify at least one one source file.\n";
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp
  209         llvm::errs() << "Couldn't find YAML db: " << DB.getError().message()
  226             llvm::errs() << "Couldn't load fuzzy YAML db: "
  239   OS << "{\n"
  240      << "  \"FilePath\": \""
  241      << llvm::yaml::escape(Context.getFilePath()) << "\",\n"
  242      << "  \"QuerySymbolInfos\": [\n";
  244     OS << "     {\"RawIdentifier\": \"" << Info.RawIdentifier << "\",\n";
  244     OS << "     {\"RawIdentifier\": \"" << Info.RawIdentifier << "\",\n";
  245     OS << "      \"Range\":{";
  246     OS << "\"Offset\":" << Info.Range.getOffset() << ",";
  246     OS << "\"Offset\":" << Info.Range.getOffset() << ",";
  247     OS << "\"Length\":" << Info.Range.getLength() << "}}";
  247     OS << "\"Length\":" << Info.Range.getLength() << "}}";
  249       OS << ",\n";
  251   OS << "\n  ],\n";
  252   OS << "  \"HeaderInfos\": [\n";
  255     OS << "     {\"Header\": \"" << llvm::yaml::escape(Info.Header) << "\",\n"
  255     OS << "     {\"Header\": \"" << llvm::yaml::escape(Info.Header) << "\",\n"
  256        << "      \"QualifiedName\": \"" << Info.QualifiedName << "\"}";
  256        << "      \"QualifiedName\": \"" << Info.QualifiedName << "\"}";
  258       OS << ",\n";
  260   OS << "\n";
  261   OS << "  ]\n";
  262   OS << "}\n";
  281       errs() << EC.message() << "\n";
  293       errs() << "Should be running in STDIN mode\n";
  312       errs() << "Expect exactly one unique header.\n";
  329       llvm::errs() << llvm::toString(InsertStyle.takeError()) << "\n";
  336       errs() << "Failed to create replacements: "
  337              << llvm::toString(Replacements.takeError()) << "\n";
  344       llvm::errs() << llvm::toString(ChangedCode.takeError()) << "\n";
  390     llvm::errs() << "Fatal compiler error occurred while parsing file!"
  409       llvm::errs() << llvm::toString(InsertStyle.takeError()) << "\n";
  422       errs() << "Failed to create replacement: "
  423              << llvm::toString(Replacements.takeError()) << "\n";
  432         llvm::errs() << "Added #include "
  433                      << Context.getHeaderInfos().front().Header << " for "
  434                      << Context.getFilePath() << "\n";
  444       llvm::errs() << llvm::toString(ChangedCode.takeError()) << "\n";
  462       llvm::errs() << "Failed to apply replacements.\n";
tools/clang/tools/extra/clang-move/HelperDeclRefGraph.cpp
   21   OS << " --- Call graph Dump --- \n";
   25     OS << "  Declarations: ";
   27     OS << " (" << N << ") ";
   27     OS << " (" << N << ") ";
   28     OS << " calls: ";
   31       OS << " (" << CI << ") ";
   31       OS << " (" << CI << ") ";
  118     LLVM_DEBUG(llvm::dbgs() << "Find helper function usage: "
  119                             << FuncRef->getDecl()->getNameAsString() << " ("
  120                             << FuncRef->getDecl() << ")\n");
  129                << "Find helper class usage: " << UsedClass->getNameAsString()
  130                << " (" << UsedClass << ")\n");
  130                << " (" << UsedClass << ")\n");
tools/clang/tools/extra/clang-move/Move.cpp
   91     llvm::errs() << "Warning: could not make absolute file: '" << EC.message()
  564     llvm::errs() << "No symbols being moved.\n";
  676     LLVM_DEBUG(llvm::dbgs() << "Add helper : " << ND->getNameAsString() << " ("
  676     LLVM_DEBUG(llvm::dbgs() << "Add helper : " << ND->getNameAsString() << " ("
  677                             << ND << ")\n");
  736       LLVM_DEBUG(llvm::dbgs() << "Check helper is used: "
  737                               << D->getNameAsString() << " (" << D << ")\n");
  737                               << D->getNameAsString() << " (" << D << ")\n");
  740         LLVM_DEBUG(llvm::dbgs() << "Helper removed in old.cc: "
  741                                 << 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()
  822                             << " " << D << "\n");
  822                             << " " << D << "\n");
  847     llvm::errs() << "Failed to get file: " << OldFile << "\n";
  847     llvm::errs() << "Failed to get file: " << OldFile << "\n";
tools/clang/tools/extra/clang-move/tool/ClangMove.cpp
  101     llvm::errs() << "Provide either --old_depend_on_new or "
  136     llvm::outs() << "[\n";
  139       llvm::outs() << "  {\n";
  140       llvm::outs() << "    \"DeclarationName\": \"" << I->QualifiedName
  141                    << "\",\n";
  142       llvm::outs() << "    \"DeclarationType\": \"" << I->Kind << "\",\n";
  142       llvm::outs() << "    \"DeclarationType\": \"" << I->Kind << "\",\n";
  143       llvm::outs() << "    \"Templated\": " << (I->Templated ? "true" : "false")
  143       llvm::outs() << "    \"Templated\": " << (I->Templated ? "true" : "false")
  144                    << "\n";
  145       llvm::outs() << "  }";
  148         llvm::outs() << ",\n";
  150     llvm::outs() << "\n]\n";
  157       llvm::errs() << "Failed to create " << NewCC << ": " << EC.message()
  157       llvm::errs() << "Failed to create " << NewCC << ": " << EC.message()
  158                    << "\n";
  165       llvm::errs() << "Failed to create " << NewHeader << ": " << EC.message()
  165       llvm::errs() << "Failed to create " << NewHeader << ": " << EC.message()
  166                    << "\n";
  181     llvm::errs() << "Failed applying all replacements.\n";
  190       OS << "[\n";
  192         OS << "  {\n";
  193         OS << "    \"FilePath\": \"" << *I << "\",\n";
  193         OS << "    \"FilePath\": \"" << *I << "\",\n";
  199         OS << "    \"SourceText\": \""
  200            << llvm::yaml::escape(ContentStream.str()) << "\"\n";
  201         OS << "  }";
  203           OS << ",\n";
  205       OS << "\n]\n";
tools/clang/tools/extra/clang-query/Query.cpp
   25   OS << ErrStr << "\n";
   34   OS << "Available commands:\n\n"
   97       OS << "Not a valid top-level matcher.\n";
  104       OS << "\n  " << prefixText << Source << "\n";
  104       OS << "\n  " << prefixText << Source << "\n";
  105       OS << "  " << std::string(prefixText.size() + Source.size(), '=') << '\n';
  109       OS << "\nMatch #" << ++MatchCount << ":\n\n";
  109       OS << "\nMatch #" << ++MatchCount << ":\n\n";
  125           OS << "Binding for \"" << BI->first << "\":\n";
  125           OS << "Binding for \"" << BI->first << "\":\n";
  127           OS << "\n";
  130           OS << "Binding for \"" << BI->first << "\":\n";
  130           OS << "Binding for \"" << BI->first << "\":\n";
  132           OS << "\n";
  137         OS << "No bindings.\n";
  141   OS << MatchCount << (MatchCount == 1 ? " match.\n" : " matches.\n");
tools/clang/tools/extra/clang-query/tool/ClangQuery.cpp
   69     llvm::errs() << ExeName << ": cannot open " << FileName << "\n";
   69     llvm::errs() << ExeName << ": cannot open " << FileName << "\n";
   69     llvm::errs() << ExeName << ": cannot open " << FileName << "\n";
   89     llvm::errs() << argv[0] << ": cannot specify both -c and -f\n";
   89     llvm::errs() << argv[0] << ": cannot specify both -c and -f\n";
   94     llvm::errs() << argv[0]
   95                  << ": cannot specify both -c or -f with --preload\n";
  109     llvm::errs() << "Failed to build AST for some of the files, "
  110                  << "results may be incomplete."
  111                  << "\n";
tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp
   42     llvm::errs() << "Definition of " << RecordName << "  not found\n";
   42     llvm::errs() << "Definition of " << RecordName << "  not found\n";
   46     llvm::errs() << "The name " << RecordName
   47                  << " is ambiguous, several definitions found\n";
   66     llvm::errs() << "Number of provided fields doesn't match definition.\n";
   72       llvm::errs() << "Field " << Name << " not found in definition.\n";
   72       llvm::errs() << "Field " << Name << " not found in definition.\n";
  136       llvm::errs() << "Currently reodering of fields with different accesses "
  239     llvm::errs() << "Currently only full initialization is supported\n";
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  149               llvm::errs() << "Trying to resolve conflict: "
  150                            << llvm::toString(std::move(Err)) << "\n";
  164                     << "Can't resolve conflict, skipping the replacement.\n";
  193           llvm::errs() << "Can't get buffer for file " << File << ": "
  193           llvm::errs() << "Can't get buffer for file " << File << ": "
  194                        << Buffer.getError().message() << "\n";
  202           llvm::errs() << llvm::toString(Style.takeError()) << "\n";
  209           llvm::errs() << llvm::toString(Replacements.takeError()) << "\n";
  219                        << ". Skipping formatting.\n";
  222           llvm::errs() << "Can't apply replacements for file " << File << "\n";
  222           llvm::errs() << "Can't apply replacements for file " << File << "\n";
  226         llvm::errs() << "clang-tidy failed to apply suggested fixes.\n";
  228         llvm::errs() << "clang-tidy applied " << AppliedFixes << " of "
  228         llvm::errs() << "clang-tidy applied " << AppliedFixes << " of "
  229                      << TotalFixes << " suggested fixes.\n";
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
   91         llvm::errs() << "Fix conflicts with existing fix! "
   92                      << llvm::toString(std::move(Err)) << "\n";
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp
  227   LLVM_DEBUG(llvm::dbgs() << "Getting options for file " << FileName
  228                           << "...\n");
  258                    << "Caching configuration for path " << Path << ".\n");
  258                    << "Caching configuration for path " << Path << ".\n");
  277     llvm::errs() << "Error reading configuration from " << Directory
  278                  << ": directory doesn't exist.\n";
  285     LLVM_DEBUG(llvm::dbgs() << "Trying " << ConfigFile << "...\n");
  285     LLVM_DEBUG(llvm::dbgs() << "Trying " << ConfigFile << "...\n");
  297       llvm::errs() << "Can't read " << ConfigFile << ": " << EC.message()
  297       llvm::errs() << "Can't read " << ConfigFile << ": " << EC.message()
  298                    << "\n";
  310         llvm::errs() << "Error parsing " << ConfigFile << ": "
  310         llvm::errs() << "Error parsing " << ConfigFile << ": "
  311                      << ParsedOptions.getError().message() << "\n";
tools/clang/tools/extra/clang-tidy/ClangTidyProfiling.cpp
   47   OS << "{\n";
   48   OS << "\"file\": \"" << Storage->SourceFilename << "\",\n";
   48   OS << "\"file\": \"" << Storage->SourceFilename << "\",\n";
   49   OS << "\"timestamp\": \"" << Storage->Timestamp << "\",\n";
   49   OS << "\"timestamp\": \"" << Storage->Timestamp << "\",\n";
   50   OS << "\"profile\": {\n";
   52   OS << "\n}\n";
   53   OS << "}\n";
   63     llvm::errs() << "Unable to create output directory '" << OutputDirectory
   64                  << "': " << EC.message() << "\n";
   64                  << "': " << EC.message() << "\n";
   71     llvm::errs() << "Error opening output file '" << Storage->StoreFilename
   72                  << "': " << EC.message() << "\n";
   72                  << "': " << EC.message() << "\n";
tools/clang/tools/extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp
   45       llvm::errs() << "Did not record contents for input file: "
   46                    << FileEntry->getName() << "\n";
tools/clang/tools/extra/clang-tidy/bugprone/DynamicStaticInitializersCheck.cpp
   36     llvm::errs() << "Invalid header file extension: "
   37                  << RawStringHeaderFileExtensions << "\n";
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
  147       Stream << " : " << joined << "()";
  147       Stream << " : " << joined << "()";
  150       Stream << " " << joined << "(),";
  150       Stream << " " << joined << "(),";
  153       Stream << ", " << joined << "()";
  153       Stream << ", " << joined << "()";
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.cpp
   92     Stream << ", " << toString(SMFS[i]);
tools/clang/tools/extra/clang-tidy/google/GlobalNamesInHeadersCheck.cpp
   29     llvm::errs() << "Invalid header file extension: "
   30                  << RawStringHeaderFileExtensions << "\n";
tools/clang/tools/extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.cpp
   28     llvm::errs() << "Invalid header file extension: "
   29                  << RawStringHeaderFileExtensions << "\n";
tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.cpp
   40     llvm::errs() << "Invalid header file extension: "
   41                  << RawStringHeaderFileExtensions << "\n";
tools/clang/tools/extra/clang-tidy/modernize/AvoidBindCheck.cpp
   87   Stream << "(";
   90     Stream << Delimiter << "auto && arg" << I;
   93   Stream << ")";
  101       Stream << Delimiter << "arg" << B.PlaceHolderIndex;
  166   Stream << "[" << (HasCapturedArgument ? "=" : "") << "]";
  166   Stream << "[" << (HasCapturedArgument ? "=" : "") << "]";
  166   Stream << "[" << (HasCapturedArgument ? "=" : "") << "]";
  168   Stream << " { return ";
  170   Stream << "(";
  172   Stream << "); }";
tools/clang/tools/extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp
  206       Str << ", ";
  208     Str << "'" << ChooseParamName(ParamInfo).str() << "'";
  208     Str << "'" << ChooseParamName(ParamInfo).str() << "'";
tools/clang/tools/extra/clang-tidy/tool/ClangTidyMain.cpp
  232     llvm::errs() << "Suppressed " << Stats.errorsIgnored() << " warnings (";
  232     llvm::errs() << "Suppressed " << Stats.errorsIgnored() << " warnings (";
  235       llvm::errs() << Stats.ErrorsIgnoredNonUserCode << " in non-user code";
  240                    << " due to line filter";
  244       llvm::errs() << Separator << Stats.ErrorsIgnoredNOLINT << " NOLINT";
  249                    << " with check filters";
  250     llvm::errs() << ").\n";
  252       llvm::errs() << "Use -header-filter=.* to display errors from all "
  262     llvm::errs() << "Invalid LineFilter: " << Err.message() << "\n\nUsage:\n";
  262     llvm::errs() << "Invalid LineFilter: " << Err.message() << "\n\nUsage:\n";
  298       llvm::errs() << "Error: invalid configuration specified.\n"
  299                    << ParsedConfig.getError().message() << "\n";
  313     llvm::errs() << "Can't load virtual filesystem overlay file '"
  314                  << OverlayFile << "': " << Buffer.getError().message()
  315                  << ".\n";
  322     llvm::errs() << "Error: invalid virtual filesystem overlay file '"
  323                  << OverlayFile << "'.\n";
  354       llvm::errs() << "Can't make absolute path from " << Input << ": "
  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
  382                        << ".\n";
  392       llvm::errs() << "No checks enabled.\n";
  395     llvm::outs() << "Enabled checks:";
  397       llvm::outs() << "\n    " << CheckName;
  398     llvm::outs() << "\n\n";
  408                  << "\n";
  413     llvm::errs() << "Error: no checks enabled.\n";
  419     llvm::errs() << "Error: no input files specified.\n";
  449       llvm::errs() << "Error opening output file: " << EC.message() << '\n';
  459           << "Found compiler errors, but -fix-errors was not specified.\n"
  466       llvm::errs() << WErrorCount << " warning" << Plural << " treated as error"
  466       llvm::errs() << WErrorCount << " warning" << Plural << " treated as error"
  467                    << Plural << "\n";
  481       llvm::errs() << "Found compiler error(s).\n";
tools/clang/tools/extra/clang-tidy/utils/TransformerClangTidyCheck.cpp
   79     llvm::errs() << "Rewrite failed: "
   80                  << llvm::toString(Transformations.takeError()) << "\n";
   90     llvm::errs() << "Error in explanation: "
   91                  << llvm::toString(Explanation.takeError()) << "\n";
tools/clang/tools/extra/clangd/AST.cpp
  133     Out << "using namespace ";
tools/clang/tools/extra/clangd/Cancellation.h
   89     OS << "Task was cancelled.";
tools/clang/tools/extra/clangd/CodeComplete.cpp
 1855   OS << "CodeCompleteResult: " << R.Completions.size() << (R.HasMore ? "+" : "")
 1855   OS << "CodeCompleteResult: " << R.Completions.size() << (R.HasMore ? "+" : "")
 1856      << " (" << getCompletionKindString(R.Context) << ")"
 1856      << " (" << getCompletionKindString(R.Context) << ")"
 1857      << " items:\n";
 1859     OS << C << "\n";
tools/clang/tools/extra/clangd/Compiler.cpp
   32     OS << ":";
tools/clang/tools/extra/clangd/Diagnostics.cpp
  202     OS << llvm::sys::path::filename(D.File) << ":";
  204     OS << D.File << ":";
  209   OS << (Pos.line + 1) << ":" << (Pos.character + 1) << ":";
  209   OS << (Pos.line + 1) << ":" << (Pos.character + 1) << ":";
  213     OS << " ";
  215     OS << "\n";
  216   OS << diagLeveltoString(D.Severity) << ": " << D.Message;
  241     OS << " (" << (D.Fixes.size() > 1 ? "fixes" : "fix") << " available)";
  241     OS << " (" << (D.Fixes.size() > 1 ? "fixes" : "fix") << " available)";
  241     OS << " (" << (D.Fixes.size() > 1 ? "fixes" : "fix") << " available)";
  245       OS << "\n\n";
  261     OS << "\n\n";
  270   OS << "[";
  272     OS << D.File << ":";
  273   OS << D.Range.start << "-" << D.Range.end << "] ";
  273   OS << D.Range.start << "-" << D.Range.end << "] ";
  279   OS << F.Message << " {";
  282     OS << Sep << Edit;
  285   return OS << "}";
  291     OS << ", notes: {";
  294       OS << Sep << Note;
  297     OS << "}";
  300     OS << ", fixes: {";
  303       OS << Sep << Fix;
  471     OS << "…";
  562           M << "change '";
  564           M << "' to '";
  566           M << "'";
  568           M << "remove '";
  570           M << "'";
  572           M << "insert '";
  574           M << "'";
tools/clang/tools/extra/clangd/FindTarget.cpp
   48     OS << ": ";
  737     REL_CASE(Alias);
  738     REL_CASE(Underlying);
  739     REL_CASE(TemplateInstantiation);
  740     REL_CASE(TemplatePattern);
  749       OS << Sep << static_cast<DeclRelation>(I);
  758   OS << "targets = {";
  762       OS << ", ";
  767   OS << "}";
  769     OS << ", qualifier = '";
  772     OS << "'";
  775     OS << ", decl";
tools/clang/tools/extra/clangd/FuzzyMatch.cpp
  310   OS << "=== Match \"" << llvm::StringRef(Word, WordN) << "\" against ["
  310   OS << "=== Match \"" << llvm::StringRef(Word, WordN) << "\" against ["
  311      << llvm::StringRef(Pat, PatN) << "] ===\n";
  313     OS << "Pattern is empty: perfect match.\n";
  317     OS << "Word is empty: no match.\n";
  321     OS << "Substring check failed.\n";
  325     OS << "Substring check passed, but all matches are forbidden\n";
  328     OS << "Lowercase query, so scoring ignores case\n";
  359     OS << " " << C << " ";
  359     OS << " " << C << " ";
  360   OS << "\n";
  362     OS << " " << (A[I] == Match ? Pat[J++] : ' ') << " ";
  362     OS << " " << (A[I] == Match ? Pat[J++] : ' ') << " ";
  363   OS << "\n";
  366   OS << "\n";
  368   OS << "\nSegmentation:";
  369   OS << "\n'" << llvm::StringRef(Word, WordN) << "'\n ";
  369   OS << "\n'" << llvm::StringRef(Word, WordN) << "'\n ";
  372   OS << "\n[" << llvm::StringRef(Pat, PatN) << "]\n ";
  372   OS << "\n[" << llvm::StringRef(Pat, PatN) << "]\n ";
  375   OS << "\n";
  377   OS << "\nScoring table (last-Miss, last-Match):\n";
  378   OS << " |    ";
  380     OS << "  " << C << " ";
  380     OS << "  " << C << " ";
  381   OS << "\n";
  382   OS << "-+----" << std::string(WordN * 4, '-') << "\n";
  382   OS << "-+----" << std::string(WordN * 4, '-') << "\n";
  385       OS << ((I && A == Miss) ? Pat[I - 1] : ' ') << "|";
  391           OS << "    ";
  393       OS << "\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;
  111     Out << "Content-Length: " << S.size() << "\r\n\r\n" << S;
tools/clang/tools/extra/clangd/Logger.cpp
   37     llvm::errs() << Message << "\n";
tools/clang/tools/extra/clangd/Protocol.cpp
  154   OS << TE.range << " => \"";
  492   OS << D.range << " [";
  495     OS << "error";
  498     OS << "warning";
  501     OS << "note";
  504     OS << "remark";
  507     OS << "diagnostic";
  510   return OS << '(' << D.severity << "): " << D.message << "]";
  510   return OS << '(' << D.severity << "): " << D.message << "]";
  555   O << SI.containerName << "::" << SI.name << " - " << toJSON(SI);
  555   O << SI.containerName << "::" << SI.name << " - " << toJSON(SI);
  591       O << " ";
  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);
  916     O << "(r)";
  918     O << "(w)";
  975   return O << I.name << " - " << toJSON(I);
 1056   return OS << toString(Enc);
tools/clang/tools/extra/clangd/Protocol.h
   65     OS << int(Code) << ": " << Message;
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp
  168         RegStream << ".*";
  173         RegStream << "[^/]*";
tools/clang/tools/extra/clangd/RIFF.cpp
   74   OS << "RIFF";
tools/clang/tools/extra/clangd/Selection.cpp
  130       OS << "QualifiedTypeLoc";
  132       OS << TL->getType()->getTypeClassName() << "TypeLoc";
  132       OS << TL->getType()->getTypeClassName() << "TypeLoc";
  143   OS << " ";
  450   OS << "\n";
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp
  364     return OS << "Variable";
  366     return OS << "LocalVariable";
  368     return OS << "Parameter";
  370     return OS << "Function";
  372     return OS << "Method";
  374     return OS << "StaticMethod";
  376     return OS << "Field";
  378     return OS << "StaticField";
  380     return OS << "Class";
  382     return OS << "Enum";
  384     return OS << "EnumConstant";
  386     return OS << "Typedef";
  388     return OS << "DependentType";
  390     return OS << "DependentName";
  392     return OS << "Namespace";
  394     return OS << "TemplateParameter";
  396     return OS << "Primitive";
  398     return OS << "Macro";
tools/clang/tools/extra/clangd/TUScheduler.cpp
  802     OS << "file is queued";
  805     OS << "running " << Action.Name;
  808     OS << "parsing includes";
  811     OS << "parsing main file";
  814     OS << "idle";
tools/clang/tools/extra/clangd/XRefs.cpp
  511       OS << ", ";
  541         Out << "...";
  550       OS << "template <";
  553       OS << "> class"; // FIXME: TemplateTemplateParameter doesn't store the
 1029   OS << S.Name << ": " << S.PreferredDeclaration;
 1031     OS << " def=" << *S.Definition;
 1302     OS << " = " << *P.Default;
tools/clang/tools/extra/clangd/benchmarks/IndexBenchmark.cpp
   46     llvm::errs() << "Error when parsing JSON requests file: "
   51     llvm::errs() << "Error: top-level value is not a JSON array: " << Log
   60       llvm::errs() << "Error when deserializing request: " << Item << '\n';
   96     llvm::errs() << "Usage: " << argv[0]
   96     llvm::errs() << "Usage: " << argv[0]
   97                  << " global-symbol-index.yaml requests.json "
tools/clang/tools/extra/clangd/index/Ref.cpp
   16     return OS << "Unknown";
   23         OS << ", ";
   24       OS << Messages[I];
   32   return OS << R.Location << ":" << R.Kind;
tools/clang/tools/extra/clangd/index/Symbol.cpp
   16     return OS << "None";
tools/clang/tools/extra/clangd/index/SymbolLocation.cpp
   34     return OS << "(none)";
   35   return OS << L.FileURI << "[" << L.Start.line() << ":" << L.Start.column()
   35   return OS << L.FileURI << "[" << L.Start.line() << ":" << L.Start.column()
   35   return OS << L.FileURI << "[" << L.Start.line() << ":" << L.Start.column()
   36             << "-" << L.End.line() << ":" << L.End.column() << ")";
   36             << "-" << L.End.line() << ":" << L.End.column() << ")";
   36             << "-" << L.End.line() << ":" << L.End.column() << ")";
tools/clang/tools/extra/clangd/index/SymbolOrigin.cpp
   16     return OS << "unknown";
tools/clang/tools/extra/clangd/index/dex/Iterator.cpp
   79     OS << "(& ";
   82       OS << Separator << *Child;
  200     OS << "(| ";
  203       OS << Separator << *Child;
  248     return OS << "true";
  275     return OS << "false";
  300     return OS << "(* " << Factor << ' ' << *Child << ')';
  340     return OS << "(LIMIT " << Limit << " " << *Child << ')';
  340     return OS << "(LIMIT " << Limit << " " << *Child << ')';
tools/clang/tools/extra/clangd/index/dex/PostingList.cpp
   81         OS << Sep << Doc;
tools/clang/tools/extra/clangd/index/dex/Token.h
   83       OS << "T=";
   86       OS << "S=";
   89       OS << "U=";
   92       OS << "Ty=";
   95       OS << "?=";
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp
  172           << "Missing required argument: please provide id or -name.\n";
  179         llvm::outs() << llvm::toString(SID.takeError()) << "\n";
  195       llvm::outs() << "not found\n";
  219           << "Missing required argument: please provide id or -name.\n";
  226         llvm::outs() << llvm::toString(SID.takeError()) << "\n";
  250         llvm::outs() << R << "\n";
  288     llvm::outs() << "Failed to open the index.\n";
  303       llvm::outs() << "dexp - Index explorer\nCommands:\n";
  306       llvm::outs() << "Get detailed command help with e.g. `find -help`.\n";
  322       llvm::outs() << "Unknown command. Try 'help'.\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";
  472     llvm::errs() << "A number of worker threads cannot be 0. Did you mean to "
  479       llvm::errs() << "Ignoring -j because -sync is set.\n";
  493       llvm::errs() << "Error while opening an input mirror file: "
  511       llvm::errs() << "Error while opening trace file " << TraceFile << ": "
  511       llvm::errs() << "Error while opening trace file " << TraceFile << ": "
  511       llvm::errs() << "Error while opening trace file " << TraceFile << ": "
  526     llvm::errs() << Overview << "\n";
  526     llvm::errs() << Overview << "\n";
  557         llvm::errs() << "Error while converting the relative path specified by "
  559                      << EC.message() << ". The argument will be ignored.\n";
  565           << "Path specified by --compile-commands-dir does not exist. The "
  626     llvm::errs() << "This clangd binary wasn't built with XPC support.\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;
   36       OS << "' as " << *M.Annotated;
   53     llvm::raw_os_ostream(*OS) << "Matches " << Candidate;
   66     auto AnnotatedMatch = Matcher.dumpLast(*OS << "\n");
  189     O << "Ranks strings in order: [";
  191       O << "\n\t" << Str;
  192     O << "\n]";
  208         *OS << "\nDoesn't match '" << Str.Word << "'";
  208         *OS << "\nDoesn't match '" << Str.Word << "'";
  209         Matcher.dumpLast(*OS << "\n");
  217           *OS << "\nDoesn't match " << Str << ", but " << AnnotatedMatch << "\n"
  217           *OS << "\nDoesn't match " << Str << ", but " << AnnotatedMatch << "\n"
  217           *OS << "\nDoesn't match " << Str << ", but " << AnnotatedMatch << "\n"
  221           *OS << "\nRanks '" << Str.Word << "'=" << *Score << " above '"
  221           *OS << "\nRanks '" << Str.Word << "'=" << *Score << " above '"
  221           *OS << "\nRanks '" << Str.Word << "'=" << *Score << " above '"
  222               << LastMatch->Word << "'=" << *LastScore << "\n"
  222               << LastMatch->Word << "'=" << *LastScore << "\n"
  225           Matcher.dumpLast(*OS << "\n");
tools/clang/tools/extra/clangd/unittests/JSONTransportTests.cpp
   61     Log << "Notification " << Method << ": " << Params << "\n";
   61     Log << "Notification " << Method << ": " << Params << "\n";
   61     Log << "Notification " << Method << ": " << Params << "\n";
   69     Log << "Call " << Method << "(" << ID << "): " << Params << "\n";
   69     Log << "Call " << Method << "(" << ID << "): " << Params << "\n";
   69     Log << "Call " << Method << "(" << ID << "): " << Params << "\n";
   69     Log << "Call " << Method << "(" << ID << "): " << Params << "\n";
   81       Log << "Reply(" << ID << "): " << *Params << "\n";
   81       Log << "Reply(" << ID << "): " << *Params << "\n";
   81       Log << "Reply(" << ID << "): " << *Params << "\n";
   83       Log << "Reply(" << ID
   84           << "): error = " << llvm::toString(Params.takeError()) << "\n";
   84           << "): error = " << llvm::toString(Params.takeError()) << "\n";
tools/clang/tools/extra/modularize/CoverageChecker.cpp
  361     llvm::errs() << "error: Include path \"" << IncludePath
  362       << "\" is not relative to the module map file.\n";
  395     llvm::errs() << "warning: No headers found in include path: \""
  396       << IncludePath << "\"\n";
  419       llvm::errs() << "warning: " << ModuleMapPath
  420         << " does not account for file: " << *I << "\n";
  420         << " does not account for file: " << *I << "\n";
tools/clang/tools/extra/modularize/Modularize.cpp
  948       errs() << "error: " << kindName << " '" << E->first()
  948       errs() << "error: " << kindName << " '" << E->first()
  949              << "' defined at multiple locations:\n";
  951         errs() << "    " << FI->File->getName() << ":" << FI->Line << ":"
  951         errs() << "    " << FI->File->getName() << ":" << FI->Line << ":"
  951         errs() << "    " << FI->File->getName() << ":" << FI->Line << ":"
  952                << FI->Column << "\n";
  978       errs() << "internal error: phantom header content mismatch\n";
  984     errs() << "error: header '" << H->first->getName()
  985            << "' has different contents depending on how it was included.\n";
  987       errs() << "note: '" << H->second[I].Name << "' in "
  987       errs() << "note: '" << H->second[I].Name << "' in "
  988              << H->second[I].Loc.File->getName() << " at "
  989              << H->second[I].Loc.Line << ":" << H->second[I].Loc.Column
  990              << " not always provided\n";
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp
   86         errs() << "modularize: error: Unable to get header list '" << InputPath
   87           << "': " << EC.message() << '\n';
   96       errs() << "modularize: error: Unable to get problem header list '" << ProblemFilesPath
   97         << "': " << EC.message() << '\n';
  266     llvm::errs() << "error: File \"" << InputPath << "\" not found.\n";
  266     llvm::errs() << "error: File \"" << InputPath << "\" not found.\n";
  391       << ": error : Header not found: " << MissingFile << "\n";
  391       << ": error : Header not found: " << MissingFile << "\n";
  514   errs() << "\nThese are the files with possible errors:\n\n";
  516     errs() << ProblemFile << "\n";
  522   errs() << "\nThese are the files with no detected errors:\n\n";
  532       errs() << GoodFile << "\n";
  538   errs() <<
  548     errs() << (Good ? "" : "#") << File << "\n";
  548     errs() << (Good ? "" : "#") << File << "\n";
tools/clang/tools/extra/modularize/ModuleAssistant.cpp
   82     OS << "module " << Name << " {\n";
   82     OS << "module " << Name << " {\n";
   97       OS << "exclude header \"" << *I << "\"\n";
   97       OS << "exclude header \"" << *I << "\"\n";
   99       OS << "header \"" << *I << "\"\n";
   99       OS << "header \"" << *I << "\"\n";
  105     OS << "export *\n";
  112     OS << "}\n";
  186     llvm::errs() << "warning: " << FilePath
  187                  << " depends on other headers being included first,"
  273     llvm::errs() << Argv0 << ": error opening " << FilePath << ":"
  273     llvm::errs() << Argv0 << ": error opening " << FilePath << ":"
  273     llvm::errs() << Argv0 << ": error opening " << FilePath << ":"
  274                  << EC.message() << "\n";
  282   OS << "// " << ModuleMapPath << "\n";
  282   OS << "// " << ModuleMapPath << "\n";
  283   OS << "// Generated by: " << CommandLine << "\n\n";
  283   OS << "// Generated by: " << CommandLine << "\n\n";
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp
  878         OS << SourcePath << ":" << I->Line << ":" << I->Column << ":\n";
  878         OS << SourcePath << ":" << I->Line << ":" << I->Column << ":\n";
  878         OS << SourcePath << ":" << I->Line << ":" << I->Column << ":\n";
  879         OS << getSourceLine(PP, FileID, I->Line) << "\n";
  881           OS << std::string(I->Column - 1, ' ') << "^\n";
  882         OS << "error: Include directive within " << BlockIdentifierMessage
  882         OS << "error: Include directive within " << BlockIdentifierMessage
  883            << ".\n";
  884         OS << SourcePath << ":" << BlockStartLine << ":" << BlockStartColumn
  884         OS << SourcePath << ":" << BlockStartLine << ":" << BlockStartColumn
  885            << ":\n";
  886         OS << getSourceLine(PP, BlockStartLoc) << "\n";
  888           OS << std::string(BlockStartColumn - 1, ' ') << "^\n";
  889         OS << "The \"" << BlockIdentifierMessage << "\" block is here.\n";
  889         OS << "The \"" << BlockIdentifierMessage << "\" block is here.\n";
  889         OS << "The \"" << BlockIdentifierMessage << "\" block is here.\n";
 1146       OS << *MacroExpTracker.InstanceSourceLine;
 1148         OS << std::string(ItemKey.Column - 1, ' ') << "^\n";
 1149       OS << "error: Macro instance '" << *MacroExpTracker.MacroUnexpanded
 1149       OS << "error: Macro instance '" << *MacroExpTracker.MacroUnexpanded
 1150          << "' has different values in this header, depending on how it was "
 1157         OS << "  '" << *MacroExpTracker.MacroUnexpanded << "' expanded to: '"
 1157         OS << "  '" << *MacroExpTracker.MacroUnexpanded << "' expanded to: '"
 1157         OS << "  '" << *MacroExpTracker.MacroUnexpanded << "' expanded to: '"
 1158            << *MacroInfo.MacroExpanded
 1159            << "' with respect to these inclusion paths:\n";
 1168             OS << std::string((Index * 2) + 4, ' ') << *getHeaderFilePath(H)
 1169                << "\n";
 1176           OS << *MacroInfo.DefinitionSourceLine;
 1179                << "^\n";
 1180           OS << "Macro defined here.\n";
 1182           OS << "(no macro definition)"
 1183              << "\n";
 1204       OS << *HeaderPaths[ItemKey.File] << ":" << ItemKey.Line << ":"
 1204       OS << *HeaderPaths[ItemKey.File] << ":" << ItemKey.Line << ":"
 1204       OS << *HeaderPaths[ItemKey.File] << ":" << ItemKey.Line << ":"
 1205          << ItemKey.Column << "\n";
 1206       OS << "#" << getDirectiveSpelling(CondTracker.DirectiveKind) << " "
 1206       OS << "#" << getDirectiveSpelling(CondTracker.DirectiveKind) << " "
 1206       OS << "#" << getDirectiveSpelling(CondTracker.DirectiveKind) << " "
 1207          << *CondTracker.ConditionUnexpanded << "\n";
 1207          << *CondTracker.ConditionUnexpanded << "\n";
 1208       OS << "^\n";
 1209       OS << "error: Conditional expression instance '"
 1210          << *CondTracker.ConditionUnexpanded
 1211          << "' has different values in this header, depending on how it was "
 1218         OS << "  '" << *CondTracker.ConditionUnexpanded << "' expanded to: '"
 1218         OS << "  '" << *CondTracker.ConditionUnexpanded << "' expanded to: '"
 1218         OS << "  '" << *CondTracker.ConditionUnexpanded << "' expanded to: '"
 1219            << ConditionValueKindStrings[MacroInfo.ConditionValue]
 1220            << "' with respect to these inclusion paths:\n";
 1229             OS << std::string((Index * 2) + 4, ' ') << *getHeaderFilePath(H)
 1230                << "\n";
tools/clang/tools/extra/pp-trace/PPCallbacksTracker.cpp
   40     SS << "\"" << PLoc.getFilename() << ':' << PLoc.getLine() << ':'
   40     SS << "\"" << PLoc.getFilename() << ':' << PLoc.getLine() << ':'
   41        << PLoc.getColumn() << "\"";
  277   SS << "[";
  280       SS << ", ";
  283   SS << "]";
  519   SS << "[" << getSourceLocationString(PP, Value.getBegin()) << ", "
  519   SS << "[" << getSourceLocationString(PP, Value.getBegin()) << ", "
  520      << getSourceLocationString(PP, Value.getEnd()) << "]";
  540   SS << "[";
  543       SS << ", ";
  544     SS << "{"
  545        << "Name: " << Value[I].first->getName() << ", "
  545        << "Name: " << Value[I].first->getName() << ", "
  546        << "Loc: " << getSourceLocationString(PP, Value[I].second) << "}";
  546        << "Loc: " << getSourceLocationString(PP, Value[I].second) << "}";
  548   SS << "]";
  577   SS << "[";
  580     SS << "(local)";
  584     if (Any) SS << ", ";
  587   SS << "]";
  600   SS << "[";
  607       SS << ", ";
  611         SS << " ";
  618         SS << "<" << Current->getName() << ">";
  618         SS << "<" << Current->getName() << ">";
  618         SS << "<" << Current->getName() << ">";
  624   SS << "]";
  642   SS << "\"" << Value << "\"";
  642   SS << "\"" << Value << "\"";
tools/clang/tools/extra/pp-trace/PPTrace.cpp
   94     OS << "---\n";
   96       OS << "- Callback: " << Callback.Name << "\n";
   96       OS << "- Callback: " << Callback.Name << "\n";
   98         OS << "  " << Arg.Name << ": " << Arg.Value << "\n";
   98         OS << "  " << Arg.Name << ": " << Arg.Value << "\n";
   98         OS << "  " << Arg.Name << ": " << Arg.Value << "\n";
  100     OS << "...\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";
  119         llvm::errs() << "----" << key.str() << "\n" << value.str() << "\n";
tools/clang/tools/extra/unittests/clang-tidy/ClangTidyTest.h
  149             llvm::errs() << llvm::toString(std::move(Err)) << "\n";
tools/clang/tools/libclang/ARCMigrate.cpp
   44       llvm::errs() << "clang_getRemappings was called with NULL parameter\n";
   50       llvm::errs() << "Error by clang_getRemappings(\"" << migrate_dir_path
   50       llvm::errs() << "Error by clang_getRemappings(\"" << migrate_dir_path
   51                    << "\")\n";
   52       llvm::errs() << "\"" << migrate_dir_path << "\" does not exist\n";
   52       llvm::errs() << "\"" << migrate_dir_path << "\" does not exist\n";
   52       llvm::errs() << "\"" << migrate_dir_path << "\" does not exist\n";
   64       llvm::errs() << "Error by clang_getRemappings(\"" << migrate_dir_path
   64       llvm::errs() << "Error by clang_getRemappings(\"" << migrate_dir_path
   65                    << "\")\n";
   89       llvm::errs() << "clang_getRemappingsFromFileList was called with "
   96       llvm::errs() << "clang_getRemappingsFromFileList was called with "
  109       llvm::errs() << "Error by clang_getRemappingsFromFileList\n";
tools/clang/tools/libclang/BuildSystem.cpp
  134   OS << "framework module " << MMD->ModuleName << " {\n";
  134   OS << "framework module " << MMD->ModuleName << " {\n";
  135   OS << "  umbrella header \"";
  136   OS.write_escaped(MMD->UmbrellaHeader) << "\"\n";
  138   OS << "  export *\n";
  139   OS << "  module * { export * }\n";
  140   OS << "}\n";
tools/clang/tools/libclang/CIndex.cpp
 4991       OS << "<>";
 4992     OS << "(";
 4995         OS << ", ";
 5001         OS << ", ";
 5002       OS << "...";
 5004     OS << ")";
 5012     OS << "<";
 5016         OS << ", ";
 5027         OS << (TTP->wasDeclaredWithTypename()? "typename" : "class");
 5032         OS << "template<...> class";
 5035     OS << ">";
 8903         LogOS << " (" << Unit->getASTFileName() << ')';
 8907     LogOS << "<NULL TU>";
 8980   OS << "[libclang:" << Name << ':';
 8994     OS << "--------------------------------------------------\n";
tools/clang/tools/libclang/CIndexDiagnostic.cpp
  261       Out << clang_getCString(FName) << ":" << Line << ":";
  261       Out << clang_getCString(FName) << ":" << Line << ":";
  261       Out << clang_getCString(FName) << ":" << Line << ":";
  264         Out << Column << ":";
  283           Out << "{" << StartLine << ":" << StartColumn << "-"
  283           Out << "{" << StartLine << ":" << StartColumn << "-"
  283           Out << "{" << StartLine << ":" << StartColumn << "-"
  284               << EndLine << ":" << EndColumn << "}";
  284               << EndLine << ":" << EndColumn << "}";
  288           Out << ":";
  291       Out << " ";
  298   case CXDiagnostic_Note: Out << "note: "; break;
  299   case CXDiagnostic_Warning: Out << "warning: "; break;
  300   case CXDiagnostic_Error: Out << "error: "; break;
  301   case CXDiagnostic_Fatal: Out << "fatal error: "; break;
  306     Out << clang_getCString(Text);
  308     Out << "<no diagnostic text>";
  320           Out << " [" << OptionText;
  320           Out << " [" << OptionText;
  333             Out << " [";
  335             Out << ", ";
  344             Out << " [";
  346             Out << ", ";
  347           Out << clang_getCString(CategoryName);
  357       Out << "]";
tools/clang/tools/libclang/CIndexer.cpp
  171     OS << R"(")" << Key << R"(":")";
  171     OS << R"(")" << Key << R"(":")";
  180   OS << R"("libclang.opts":)" << ParseOptions;
  182   OS << R"("args":[)";
  189     OS << R"(],"invocation-args":[)";
  197     OS << R"(],"unsaved_file_hashes":[)";
  213   OS << "]}";
tools/clang/tools/libclang/CLog.h
   76       LogOS << Str;
tools/clang/unittests/AST/ASTImporterFixtures.cpp
  226     llvm::errs() << "FromAST:\n";
  228     llvm::errs() << "\n";
  231     llvm::errs() << "ToAST:\n";
tools/clang/unittests/AST/ASTTraverserTest.cpp
   30   void Visit(const Decl *D) { OS << D->getDeclKindName() << "Decl"; }
   30   void Visit(const Decl *D) { OS << D->getDeclKindName() << "Decl"; }
   32   void Visit(const Stmt *S) { OS << S->getStmtClassName(); }
   35     OS << "QualType " << QT.split().Quals.getAsString();
   38   void Visit(const Type *T) { OS << T->getTypeClassName() << "Type"; }
   38   void Visit(const Type *T) { OS << T->getTypeClassName() << "Type"; }
   41     OS << C->getCommentKindName();
   44   void Visit(const CXXCtorInitializer *Init) { OS << "CXXCtorInitializer"; }
   54     OS << "Attr";
   57   void Visit(const OMPClause *C) { OS << "OMPClause"; }
   60     OS << "TemplateArgument";
   81   OS << "\n";
tools/clang/unittests/AST/CommentParser.cpp
   66     llvm::errs() << "=== Source:\n" << Source << "\n=== AST:\n";
   66     llvm::errs() << "=== Source:\n" << Source << "\n=== AST:\n";
   66     llvm::errs() << "=== Source:\n" << Source << "\n=== AST:\n";
tools/clang/unittests/AST/MatchVerifier.h
  195       Msg << "Expected location <" << ExpectLine << ":" << ExpectColumn
  195       Msg << "Expected location <" << ExpectLine << ":" << ExpectColumn
  196           << ">, found <";
  240       Msg << "Expected range <" << ExpectBeginLine << ":" << ExpectBeginColumn
  240       Msg << "Expected range <" << ExpectBeginLine << ":" << ExpectBeginColumn
  241           << '-' << ExpectEndLine << ":" << ExpectEndColumn << ">, found <";
  241           << '-' << ExpectEndLine << ":" << ExpectEndColumn << ">, found <";
  275       Msg << "Expected dump substring <" << ExpectSubstring << ">, found <"
  275       Msg << "Expected dump substring <" << ExpectSubstring << ">, found <"
  302       Msg << "Expected pretty print <" << ExpectString << ">, found <"
  302       Msg << "Expected pretty print <" << ExpectString << ">, found <"
tools/clang/unittests/CodeGen/CodeGenExternalTest.cpp
  182           dbgs() << "\n";
  199           dbgs() << "\n";
  237           dbgs() << "\n";
  239           dbgs() << "\n";
  241           dbgs() << "\n";
tools/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp
   58     IndexFile.os() << "c:@F@f#I# " << ASTFileName << "\n";
   58     IndexFile.os() << "c:@F@f#I# " << ASTFileName << "\n";
tools/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
   73       llvm::errs() << llvm::toString(ft.takeError()) << "\n";
   74       llvm::errs() << getPathInWatched(testFile) << "\n";
  202       OS << "Expected initial events: \n";
  204         OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
  204         OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
  206       OS << "Expected non-initial events: \n";
  208         OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
  208         OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
  213       OS << "Expected but not seen initial events: \n";
  215         OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
  215         OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
  219       OS << "Expected but not seen non-initial events: \n";
  221         OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
  221         OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
  225       OS << "Unexpected initial events seen: \n";
  227         OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
  227         OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
  231       OS << "Unexpected non-initial events seen: \n";
  233         OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
  233         OS << eventKindToString(E.Kind) << " " << E.Filename << "\n";
  378     bStream << "foo";
tools/clang/unittests/Format/FormatTest.cpp
   37     LLVM_DEBUG(llvm::errs() << "---\n");
   38     LLVM_DEBUG(llvm::errs() << Code << "\n\n");
   51     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
   51     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestCSharp.cpp
   23     LLVM_DEBUG(llvm::errs() << "---\n");
   24     LLVM_DEBUG(llvm::errs() << Code << "\n\n");
   29     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
   29     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestComments.cpp
   40     LLVM_DEBUG(llvm::errs() << "---\n");
   41     LLVM_DEBUG(llvm::errs() << Code << "\n\n");
   54     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
   54     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestJS.cpp
   23     LLVM_DEBUG(llvm::errs() << "---\n");
   24     LLVM_DEBUG(llvm::errs() << Code << "\n\n");
   32     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
   32     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestJava.cpp
   23     LLVM_DEBUG(llvm::errs() << "---\n");
   24     LLVM_DEBUG(llvm::errs() << Code << "\n\n");
   29     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
   29     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestObjC.cpp
   42     LLVM_DEBUG(llvm::errs() << "---\n");
   43     LLVM_DEBUG(llvm::errs() << Code << "\n\n");
   55     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
   55     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestProto.cpp
   23     LLVM_DEBUG(llvm::errs() << "---\n");
   24     LLVM_DEBUG(llvm::errs() << Code << "\n\n");
   29     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
   29     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestRawStrings.cpp
   35     LLVM_DEBUG(llvm::errs() << "---\n");
   36     LLVM_DEBUG(llvm::errs() << Code << "\n\n");
   49     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
   49     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestSelective.cpp
   23     LLVM_DEBUG(llvm::errs() << "---\n");
   24     LLVM_DEBUG(llvm::errs() << Code << "\n\n");
   32     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
   32     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestTableGen.cpp
   23     LLVM_DEBUG(llvm::errs() << "---\n");
   24     LLVM_DEBUG(llvm::errs() << Code << "\n\n");
   29     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
   29     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/FormatTestTextProto.cpp
   23     LLVM_DEBUG(llvm::errs() << "---\n");
   24     LLVM_DEBUG(llvm::errs() << Code << "\n\n");
   29     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
   29     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp
   27     LLVM_DEBUG(llvm::errs() << "---\n");
   28     LLVM_DEBUG(llvm::errs() << Code << "\n\n");
   33     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
   33     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Format/UsingDeclarationsSorterTest.cpp
   25     LLVM_DEBUG(llvm::errs() << "---\n");
   26     LLVM_DEBUG(llvm::errs() << Code << "\n\n");
   31     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
   31     LLVM_DEBUG(llvm::errs() << "\n" << *Result << "\n\n");
tools/clang/unittests/Frontend/ASTUnitTest.cpp
   38     input_file->os() << "";
tools/clang/unittests/Rewrite/RewriteBufferTest.cpp
   32   raw_string_ostream(EndTag) << "</" << tagName << '>';
tools/clang/unittests/Serialization/InMemoryModuleCacheTest.cpp
   20   raw_svector_ostream(Bytes) << "data:" << I;
tools/clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp
   33         Output << PD->getCheckerName() << ":" << PD->getShortDescription();
tools/clang/unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp
   78       OS << "/";
   84       OS << "???";
   86       OS << "/";
   89     OS << "@" << Index++;
   98     OS << "@" << Index++;
tools/clang/unittests/Tooling/RefactoringTest.cpp
  110     llvm::errs() << "Error is a success.";
  116     llvm::errs() << "Handling error...\n";
  118       OS << "Unexpected error code: " << int(RE.get()) << "\n";
  118       OS << "Unexpected error code: " << int(RE.get()) << "\n";
  120       OS << "Expected Existing != Actual Existing.\n";
  122         OS << "Expected existing replacement: " << ExpectedExisting->toString()
  123            << "\n";
  125         OS << "Actual existing replacement: "
  126            << RE.getExistingReplacement()->toString() << "\n";
  129       OS << "Expected New != Actual New.\n";
  131         OS << "Expected new replacement: " << ExpectedNew->toString() << "\n";
  131         OS << "Expected new replacement: " << ExpectedNew->toString() << "\n";
  133         OS << "Actual new replacement: " << RE.getNewReplacement()->toString()
  134            << "\n";
  934         llvm::errs() << M.getOffset() << " " << M.getLength() << " "
  934         llvm::errs() << M.getOffset() << " " << M.getLength() << " "
  935                      << M.getReplacementText() << "\n";
  948         llvm::errs() << M.getOffset() << " " << M.getLength() << " "
  948         llvm::errs() << M.getOffset() << " " << M.getLength() << " "
  949                      << M.getReplacementText() << "\n";
 1332       llvm::errs() << "Failed to apply changes: "
 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/TestVisitor.h
  229         Stream << ", partial match: \"" << Name << "\" at ";
  229         Stream << ", partial match: \"" << Name << "\" at ";
tools/clang/unittests/Tooling/TransformerTest.cpp
   91       llvm::errs() << "Running tool failed.\n";
   95       llvm::errs() << "Generating changes failed.\n";
  101       llvm::errs() << "Applying changes failed: "
  102                    << llvm::toString(ChangedCode.takeError()) << "\n";
tools/clang/unittests/libclang/LibclangTest.cpp
  442                  << clang_getCString(clang_formatDiagnostic(
  444                  << "\n");
  451       LLVM_DEBUG(llvm::dbgs() << "Reparse failed\n");
  682       LLVM_DEBUG(llvm::dbgs() << "Saving failed\n");
  691       LLVM_DEBUG(llvm::dbgs() << "Loading failed\n");
tools/clang/utils/TableGen/ClangASTNodesEmitter.cpp
  100     OS << "#ifndef " << NodeName << "\n";
  100     OS << "#ifndef " << NodeName << "\n";
  101     OS << "#  define " << NodeName << "(Type, Base) "
  101     OS << "#  define " << NodeName << "(Type, Base) "
  102         << BaseName << "(Type, Base)\n";
  103     OS << "#endif\n";
  106       OS << "ABSTRACT_" << macroHierarchyName() << "(" << NodeName << "("
  106       OS << "ABSTRACT_" << macroHierarchyName() << "(" << NodeName << "("
  106       OS << "ABSTRACT_" << macroHierarchyName() << "(" << NodeName << "("
  107           << R->getName() << ", " << baseName(*Base) << "))\n";
  107           << R->getName() << ", " << baseName(*Base) << "))\n";
  109       OS << NodeName << "(" << R->getName() << ", "
  109       OS << NodeName << "(" << R->getName() << ", "
  110           << baseName(*Base) << ")\n";
  128     OS << "#undef " << NodeName << "\n\n";
  128     OS << "#undef " << NodeName << "\n\n";
  134       OS << "LAST_" << macroHierarchyName() << "_RANGE(";
  134       OS << "LAST_" << macroHierarchyName() << "_RANGE(";
  136       OS << macroHierarchyName() << "_RANGE(";
  137     OS << Base->getName() << ", " << First->getName() << ", "
  137     OS << Base->getName() << ", " << First->getName() << ", "
  138        << Last->getName() << ")\n\n";
  175   OS << "#ifndef ABSTRACT_" << macroHierarchyName() << "\n";
  175   OS << "#ifndef ABSTRACT_" << macroHierarchyName() << "\n";
  176   OS << "#  define ABSTRACT_" << macroHierarchyName() << "(Type) Type\n";
  176   OS << "#  define ABSTRACT_" << macroHierarchyName() << "(Type) Type\n";
  177   OS << "#endif\n";
  179   OS << "#ifndef " << macroHierarchyName() << "_RANGE\n";
  179   OS << "#ifndef " << macroHierarchyName() << "_RANGE\n";
  180   OS << "#  define "
  181      << macroHierarchyName() << "_RANGE(Base, First, Last)\n";
  182   OS << "#endif\n\n";
  184   OS << "#ifndef LAST_" << macroHierarchyName() << "_RANGE\n";
  184   OS << "#ifndef LAST_" << macroHierarchyName() << "_RANGE\n";
  185   OS << "#  define LAST_" 
  186      << macroHierarchyName() << "_RANGE(Base, First, Last) " 
  187      << macroHierarchyName() << "_RANGE(Base, First, Last)\n";
  188   OS << "#endif\n\n";
  192   OS << "#undef " << macroHierarchyName() << "\n";
  192   OS << "#undef " << macroHierarchyName() << "\n";
  193   OS << "#undef " << macroHierarchyName() << "_RANGE\n";
  193   OS << "#undef " << macroHierarchyName() << "_RANGE\n";
  194   OS << "#undef LAST_" << macroHierarchyName() << "_RANGE\n";
  194   OS << "#undef LAST_" << macroHierarchyName() << "_RANGE\n";
  195   OS << "#undef ABSTRACT_" << macroHierarchyName() << "\n";
  195   OS << "#undef ABSTRACT_" << macroHierarchyName() << "\n";
  210   OS << "#ifndef DECL_CONTEXT\n";
  211   OS << "#  define DECL_CONTEXT(DECL)\n";
  212   OS << "#endif\n";
  214   OS << "#ifndef DECL_CONTEXT_BASE\n";
  215   OS << "#  define DECL_CONTEXT_BASE(DECL) DECL_CONTEXT(DECL)\n";
  216   OS << "#endif\n";
  231         OS << "DECL_CONTEXT_BASE(" << B->getName() << ")\n";
  231         OS << "DECL_CONTEXT_BASE(" << B->getName() << ")\n";
  243       OS << "DECL_CONTEXT(" << (*i)->getName() << ")\n";
  243       OS << "DECL_CONTEXT(" << (*i)->getName() << ")\n";
  245   OS << "#undef DECL_CONTEXT\n";
  246   OS << "#undef DECL_CONTEXT_BASE\n";
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
  242     virtual void writeHasChildren(raw_ostream &OS) const { OS << "false"; }
  263       OS << "  " << type << " get" << getUpperName() << "() const {\n";
  263       OS << "  " << type << " get" << getUpperName() << "() const {\n";
  263       OS << "  " << type << " get" << getUpperName() << "() const {\n";
  264       OS << "    return " << getLowerName() << ";\n";
  264       OS << "    return " << getLowerName() << ";\n";
  265       OS << "  }";
  273       OS << "A->get" << getUpperName() << "()";
  273       OS << "A->get" << getUpperName() << "()";
  277       OS << getLowerName() << "(" << getUpperName() << ")";
  277       OS << getLowerName() << "(" << getUpperName() << ")";
  281       OS << getLowerName() << "()";
  285       OS << type << " " << getUpperName();
  289       OS << type << " " << getLowerName() << ";";
  289       OS << type << " " << getLowerName() << ";";
  294       OS << "    " << type << " " << getLowerName() << " = " << read << ";\n";
  294       OS << "    " << type << " " << getLowerName() << " = " << read << ";\n";
  294       OS << "    " << type << " " << getLowerName() << " = " << read << ";\n";
  294       OS << "    " << type << " " << getLowerName() << " = " << read << ";\n";
  302       OS << "    " << WritePCHRecord(type, "SA->get" +
  318         OS << "\" << get" << getUpperName()
  319            << "()->getNameInfo().getAsString() << \"";
  323         OS << "\" << (get" << getUpperName() << "() ? get" << getUpperName()
  323         OS << "\" << (get" << getUpperName() << "() ? get" << getUpperName()
  324            << "()->getName() : \"\") << \"";
  326         OS << "\" << get" << getUpperName() << "().getAsString() << \"";
  326         OS << "\" << get" << getUpperName() << "().getAsString() << \"";
  328         OS << "\" << get" << getUpperName() << "().getSourceIndex() << \"";
  328         OS << "\" << get" << getUpperName() << "().getSourceIndex() << \"";
  330         OS << "\" << get" << getUpperName() << "() << \"";
  330         OS << "\" << get" << getUpperName() << "() << \"";
  335         OS << "    OS << \" \";\n";
  336         OS << "    dumpBareDeclRef(SA->get" << getUpperName() << "());\n"; 
  336         OS << "    dumpBareDeclRef(SA->get" << getUpperName() << "());\n"; 
  340         OS << "    if (SA->get" << getUpperName() << "())\n"
  340         OS << "    if (SA->get" << getUpperName() << "())\n"
  341            << "      OS << \" \" << SA->get" << getUpperName()
  342            << "()->getName();\n";
  345           OS << "    if (SA->get" << getUpperName() << "Loc())";
  345           OS << "    if (SA->get" << getUpperName() << "Loc())";
  346         OS << "    OS << \" \" << SA->get" << getUpperName()
  347            << "().getAsString();\n";
  349         OS << "    if (SA->get" << getUpperName() << "()) OS << \" "
  349         OS << "    if (SA->get" << getUpperName() << "()) OS << \" "
  350            << getUpperName() << "\";\n";
  352         OS << "    OS << \" \" << SA->get" << getUpperName() << "();\n";
  352         OS << "    OS << \" \" << SA->get" << getUpperName() << "();\n";
  355           OS << "    if (SA->get" << getUpperName() << "().isValid())\n  ";
  355           OS << "    if (SA->get" << getUpperName() << "().isValid())\n  ";
  356         OS << "    OS << \" \" << SA->get" << getUpperName()
  357            << "().getSourceIndex();\n";
  375       OS << "\n\n  static const " << getType() << " Default" << getUpperName()
  375       OS << "\n\n  static const " << getType() << " Default" << getUpperName()
  376          << " = ";
  378         OS << (Default != 0 ? "true" : "false");
  381       OS << ";";
  392       OS << "  llvm::StringRef get" << getUpperName() << "() const {\n";
  392       OS << "  llvm::StringRef get" << getUpperName() << "() const {\n";
  393       OS << "    return llvm::StringRef(" << getLowerName() << ", "
  393       OS << "    return llvm::StringRef(" << getLowerName() << ", "
  394          << getLowerName() << "Length);\n";
  395       OS << "  }\n";
  396       OS << "  unsigned get" << getUpperName() << "Length() const {\n";
  396       OS << "  unsigned get" << getUpperName() << "Length() const {\n";
  397       OS << "    return " << getLowerName() << "Length;\n";
  397       OS << "    return " << getLowerName() << "Length;\n";
  398       OS << "  }\n";
  399       OS << "  void set" << getUpperName()
  400          << "(ASTContext &C, llvm::StringRef S) {\n";
  401       OS << "    " << getLowerName() << "Length = S.size();\n";
  401       OS << "    " << getLowerName() << "Length = S.size();\n";
  402       OS << "    this->" << getLowerName() << " = new (C, 1) char ["
  402       OS << "    this->" << getLowerName() << " = new (C, 1) char ["
  403          << getLowerName() << "Length];\n";
  404       OS << "    if (!S.empty())\n";
  405       OS << "      std::memcpy(this->" << getLowerName() << ", S.data(), "
  405       OS << "      std::memcpy(this->" << getLowerName() << ", S.data(), "
  406          << getLowerName() << "Length);\n";
  407       OS << "  }";
  411       OS << "get" << getUpperName() << "()";
  411       OS << "get" << getUpperName() << "()";
  415       OS << "A->get" << getUpperName() << "()";
  415       OS << "A->get" << getUpperName() << "()";
  419       OS << "      if (!" << getUpperName() << ".empty())\n";
  419       OS << "      if (!" << getUpperName() << ".empty())\n";
  420       OS << "        std::memcpy(" << getLowerName() << ", " << getUpperName()
  420       OS << "        std::memcpy(" << getLowerName() << ", " << getUpperName()
  421          << ".data(), " << getLowerName() << "Length);\n";
  421          << ".data(), " << getLowerName() << "Length);\n";
  425       OS << getLowerName() << "Length(" << getUpperName() << ".size()),"
  425       OS << getLowerName() << "Length(" << getUpperName() << ".size()),"
  426          << getLowerName() << "(new (Ctx, 1) char[" << getLowerName()
  427          << "Length])";
  431       OS << getLowerName() << "Length(0)," << getLowerName() << "(nullptr)";
  431       OS << getLowerName() << "Length(0)," << getLowerName() << "(nullptr)";
  435       OS << "llvm::StringRef " << getUpperName();
  439       OS << "unsigned " << getLowerName() << "Length;\n";
  439       OS << "unsigned " << getLowerName() << "Length;\n";
  440       OS << "char *" << getLowerName() << ";";
  440       OS << "char *" << getLowerName() << ";";
  444       OS << "    std::string " << getLowerName()
  445          << "= Record.readString();\n";
  453       OS << "    Record.AddString(SA->get" << getUpperName() << "());\n";
  453       OS << "    Record.AddString(SA->get" << getUpperName() << "());\n";
  457       OS << "\\\"\" << get" << getUpperName() << "() << \"\\\"";
  457       OS << "\\\"\" << get" << getUpperName() << "() << \"\\\"";
  461       OS << "    OS << \" \\\"\" << SA->get" << getUpperName()
  462          << "() << \"\\\"\";\n";
  473       OS << "  bool is" << getUpperName() << "Dependent() const;\n";
  473       OS << "  bool is" << getUpperName() << "Dependent() const;\n";
  475       OS << "  unsigned get" << getUpperName() << "(ASTContext &Ctx) const;\n";
  475       OS << "  unsigned get" << getUpperName() << "(ASTContext &Ctx) const;\n";
  477       OS << "  bool is" << getUpperName() << "Expr() const {\n";
  477       OS << "  bool is" << getUpperName() << "Expr() const {\n";
  478       OS << "    return is" << getLowerName() << "Expr;\n";
  478       OS << "    return is" << getLowerName() << "Expr;\n";
  479       OS << "  }\n";
  481       OS << "  Expr *get" << getUpperName() << "Expr() const {\n";
  481       OS << "  Expr *get" << getUpperName() << "Expr() const {\n";
  482       OS << "    assert(is" << getLowerName() << "Expr);\n";
  482       OS << "    assert(is" << getLowerName() << "Expr);\n";
  483       OS << "    return " << getLowerName() << "Expr;\n";
  483       OS << "    return " << getLowerName() << "Expr;\n";
  484       OS << "  }\n";
  486       OS << "  TypeSourceInfo *get" << getUpperName() << "Type() const {\n";
  486       OS << "  TypeSourceInfo *get" << getUpperName() << "Type() const {\n";
  487       OS << "    assert(!is" << getLowerName() << "Expr);\n";
  487       OS << "    assert(!is" << getLowerName() << "Expr);\n";
  488       OS << "    return " << getLowerName() << "Type;\n";
  488       OS << "    return " << getLowerName() << "Type;\n";
  489       OS << "  }";
  493       OS << "bool " << getAttrName() << "Attr::is" << getUpperName()
  493       OS << "bool " << getAttrName() << "Attr::is" << getUpperName()
  494          << "Dependent() const {\n";
  495       OS << "  if (is" << getLowerName() << "Expr)\n";
  495       OS << "  if (is" << getLowerName() << "Expr)\n";
  496       OS << "    return " << getLowerName() << "Expr && (" << getLowerName()
  496       OS << "    return " << getLowerName() << "Expr && (" << getLowerName()
  497          << "Expr->isValueDependent() || " << getLowerName()
  498          << "Expr->isTypeDependent());\n"; 
  499       OS << "  else\n";
  500       OS << "    return " << getLowerName()
  501          << "Type->getType()->isDependentType();\n";
  502       OS << "}\n";
  507       OS << "unsigned " << getAttrName() << "Attr::get" << getUpperName()
  507       OS << "unsigned " << getAttrName() << "Attr::get" << getUpperName()
  508          << "(ASTContext &Ctx) const {\n";
  509       OS << "  assert(!is" << getUpperName() << "Dependent());\n";
  509       OS << "  assert(!is" << getUpperName() << "Dependent());\n";
  510       OS << "  if (is" << getLowerName() << "Expr)\n";
  510       OS << "  if (is" << getLowerName() << "Expr)\n";
  511       OS << "    return " << getLowerName() << "Expr ? " << getLowerName()
  511       OS << "    return " << getLowerName() << "Expr ? " << getLowerName()
  512          << "Expr->EvaluateKnownConstInt(Ctx).getZExtValue()"
  513          << " * Ctx.getCharWidth() : "
  514          << "Ctx.getTargetDefaultAlignForAttributeAligned();\n";
  515       OS << "  else\n";
  516       OS << "    return 0; // FIXME\n";
  517       OS << "}\n";
  522       OS << "  if (A->is" << Name << "Expr()) {\n"
  522       OS << "  if (A->is" << Name << "Expr()) {\n"
  523          << "    if (!getDerived().TraverseStmt(A->get" << Name << "Expr()))\n" 
  523          << "    if (!getDerived().TraverseStmt(A->get" << Name << "Expr()))\n" 
  524          << "      return false;\n" 
  525          << "  } else if (auto *TSI = A->get" << Name << "Type()) {\n"
  525          << "  } else if (auto *TSI = A->get" << Name << "Type()) {\n"
  526          << "    if (!getDerived().TraverseTypeLoc(TSI->getTypeLoc()))\n"
  527          << "      return false;\n" 
  528          << "  }\n";
  532       OS << "is" << getLowerName() << "Expr, is" << getLowerName()
  532       OS << "is" << getLowerName() << "Expr, is" << getLowerName()
  533          << "Expr ? static_cast<void*>(" << getLowerName()
  534          << "Expr) : " << getLowerName()
  535          << "Type";
  544       OS << "    if (is" << getLowerName() << "Expr)\n";
  544       OS << "    if (is" << getLowerName() << "Expr)\n";
  545       OS << "       " << getLowerName() << "Expr = reinterpret_cast<Expr *>("
  545       OS << "       " << getLowerName() << "Expr = reinterpret_cast<Expr *>("
  546          << getUpperName() << ");\n";
  547       OS << "    else\n";
  548       OS << "       " << getLowerName()
  549          << "Type = reinterpret_cast<TypeSourceInfo *>(" << getUpperName()
  550          << ");\n";
  554       OS << "is" << getLowerName() << "Expr(Is" << getUpperName() << "Expr)";
  554       OS << "is" << getLowerName() << "Expr(Is" << getUpperName() << "Expr)";
  554       OS << "is" << getLowerName() << "Expr(Is" << getUpperName() << "Expr)";
  558       OS << "is" << getLowerName() << "Expr(false)";
  558       OS << "is" << getLowerName() << "Expr(false)";
  562       OS << "bool Is" << getUpperName() << "Expr, void *" << getUpperName();
  562       OS << "bool Is" << getUpperName() << "Expr, void *" << getUpperName();
  566       OS << "Is" << getUpperName() << "Expr, " << getUpperName();
  566       OS << "Is" << getUpperName() << "Expr, " << getUpperName();
  570       OS << "bool is" << getLowerName() << "Expr;\n";
  570       OS << "bool is" << getLowerName() << "Expr;\n";
  571       OS << "union {\n";
  572       OS << "Expr *" << getLowerName() << "Expr;\n";
  572       OS << "Expr *" << getLowerName() << "Expr;\n";
  573       OS << "TypeSourceInfo *" << getLowerName() << "Type;\n";
  573       OS << "TypeSourceInfo *" << getLowerName() << "Type;\n";
  574       OS << "};";
  578       OS << "is" << getLowerName() << "Expr, " << getLowerName() << "Ptr";
  578       OS << "is" << getLowerName() << "Expr, " << getLowerName() << "Ptr";
  578       OS << "is" << getLowerName() << "Expr, " << getLowerName() << "Ptr";
  582       OS << "    bool is" << getLowerName() << "Expr = Record.readInt();\n";
  582       OS << "    bool is" << getLowerName() << "Expr = Record.readInt();\n";
  583       OS << "    void *" << getLowerName() << "Ptr;\n";
  583       OS << "    void *" << getLowerName() << "Ptr;\n";
  584       OS << "    if (is" << getLowerName() << "Expr)\n";
  584       OS << "    if (is" << getLowerName() << "Expr)\n";
  585       OS << "      " << getLowerName() << "Ptr = Record.readExpr();\n";
  585       OS << "      " << getLowerName() << "Ptr = Record.readExpr();\n";
  586       OS << "    else\n";
  587       OS << "      " << getLowerName()
  588          << "Ptr = Record.getTypeSourceInfo();\n";
  592       OS << "    Record.push_back(SA->is" << getUpperName() << "Expr());\n";
  592       OS << "    Record.push_back(SA->is" << getUpperName() << "Expr());\n";
  593       OS << "    if (SA->is" << getUpperName() << "Expr())\n";
  593       OS << "    if (SA->is" << getUpperName() << "Expr())\n";
  594       OS << "      Record.AddStmt(SA->get" << getUpperName() << "Expr());\n";
  594       OS << "      Record.AddStmt(SA->get" << getUpperName() << "Expr());\n";
  595       OS << "    else\n";
  596       OS << "      Record.AddTypeSourceInfo(SA->get" << getUpperName()
  597          << "Type());\n";
  606       OS << "\";\n";
  607       OS << "    " << getLowerName()
  608          << "Expr->printPretty(OS, nullptr, Policy);\n";
  609       OS << "    OS << \"";
  613       OS << "    if (!SA->is" << getUpperName() << "Expr())\n";
  613       OS << "    if (!SA->is" << getUpperName() << "Expr())\n";
  614       OS << "      dumpType(SA->get" << getUpperName()
  615          << "Type()->getType());\n";
  619       OS << "    if (SA->is" << getUpperName() << "Expr())\n";
  619       OS << "    if (SA->is" << getUpperName() << "Expr())\n";
  620       OS << "      Visit(SA->get" << getUpperName() << "Expr());\n";
  620       OS << "      Visit(SA->get" << getUpperName() << "Expr());\n";
  624       OS << "SA->is" << getUpperName() << "Expr()";
  624       OS << "SA->is" << getUpperName() << "Expr()";
  634       OS << "    OS << Val;\n";
  638       OS << "      OS << \" \" << Val;\n";
  657       OS << "  typedef " << Type << "* " << IteratorType << ";\n";
  657       OS << "  typedef " << Type << "* " << IteratorType << ";\n";
  657       OS << "  typedef " << Type << "* " << IteratorType << ";\n";
  658       OS << "  " << IteratorType << " " << BeginFn << " const {"
  658       OS << "  " << IteratorType << " " << BeginFn << " const {"
  658       OS << "  " << IteratorType << " " << BeginFn << " const {"
  659          << " return " << ArgName << "; }\n";
  659          << " return " << ArgName << "; }\n";
  660       OS << "  " << IteratorType << " " << EndFn << " const {"
  660       OS << "  " << IteratorType << " " << EndFn << " const {"
  660       OS << "  " << IteratorType << " " << EndFn << " const {"
  661          << " return " << ArgName << " + " << ArgSizeName << "; }\n";
  661          << " return " << ArgName << " + " << ArgSizeName << "; }\n";
  661          << " return " << ArgName << " + " << ArgSizeName << "; }\n";
  662       OS << "  unsigned " << getLowerName() << "_size() const {"
  662       OS << "  unsigned " << getLowerName() << "_size() const {"
  663          << " return " << 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
  666          << "); }\n";
  670       OS << ArgName << ", " << ArgSizeName;
  675       OS << "A->" << getLowerName() << "_begin(), "
  675       OS << "A->" << getLowerName() << "_begin(), "
  676          << "A->" << getLowerName() << "_size()";
  676          << "A->" << getLowerName() << "_size()";
  684       OS << "    std::copy(" << getUpperName() << ", " << getUpperName()
  684       OS << "    std::copy(" << getUpperName() << ", " << getUpperName()
  685          << " + " << ArgSizeName << ", " << ArgName << ");\n";
  685          << " + " << ArgSizeName << ", " << ArgName << ");\n";
  685          << " + " << ArgSizeName << ", " << ArgName << ");\n";
  689       OS << ArgSizeName << "(" << getUpperName() << "Size), "
  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 "
  699       OS << getType() << " *" << getUpperName() << ", unsigned "
  700          << getUpperName() << "Size";
  704       OS << getUpperName() << ", " << getUpperName() << "Size";
  704       OS << getUpperName() << ", " << getUpperName() << "Size";
  708       OS << "  unsigned " << ArgSizeName << ";\n";
  708       OS << "  unsigned " << ArgSizeName << ";\n";
  709       OS << "  " << getType() << " *" << ArgName << ";";
  709       OS << "  " << getType() << " *" << ArgName << ";";
  709       OS << "  " << getType() << " *" << ArgName << ";";
  713       OS << "    unsigned " << getLowerName() << "Size = Record.readInt();\n";
  713       OS << "    unsigned " << getLowerName() << "Size = Record.readInt();\n";
  714       OS << "    SmallVector<" << getType() << ", 4> "
  714       OS << "    SmallVector<" << getType() << ", 4> "
  715          << getLowerName() << ";\n";
  716       OS << "    " << getLowerName() << ".reserve(" << getLowerName()
  716       OS << "    " << getLowerName() << ".reserve(" << getLowerName()
  717          << "Size);\n";
  726         OS << "    SmallVector<" << StorageType << ", 4> "
  726         OS << "    SmallVector<" << StorageType << ", 4> "
  727            << StorageName << ";\n";
  728         OS << "    " << StorageName << ".reserve(" << getLowerName()
  728         OS << "    " << StorageName << ".reserve(" << getLowerName()
  729            << "Size);\n";
  732       OS << "    for (unsigned i = 0; i != " << getLowerName() << "Size; ++i)\n";
  732       OS << "    for (unsigned i = 0; i != " << getLowerName() << "Size; ++i)\n";
  734       OS << "      " << StorageName << ".push_back(" << read << ");\n";
  734       OS << "      " << StorageName << ".push_back(" << read << ");\n";
  734       OS << "      " << StorageName << ".push_back(" << read << ");\n";
  737         OS << "    for (unsigned i = 0; i != " << getLowerName() << "Size; ++i)\n";
  737         OS << "    for (unsigned i = 0; i != " << getLowerName() << "Size; ++i)\n";
  738         OS << "      " << getLowerName() << ".push_back("
  738         OS << "      " << getLowerName() << ".push_back("
  739            << StorageName << "[i]);\n";
  744       OS << getLowerName() << ".data(), " << getLowerName() << "Size";
  744       OS << getLowerName() << ".data(), " << getLowerName() << "Size";
  748       OS << "    Record.push_back(SA->" << getLowerName() << "_size());\n";
  748       OS << "    Record.push_back(SA->" << getLowerName() << "_size());\n";
  749       OS << "    for (auto &Val : SA->" << RangeName << "())\n";
  749       OS << "    for (auto &Val : SA->" << RangeName << "())\n";
  750       OS << "      " << WritePCHRecord(Type, "Val");
  754       OS << "\";\n";
  755       OS << "  bool isFirst = true;\n"
  756          << "  for (const auto &Val : " << RangeName << "()) {\n"
  756          << "  for (const auto &Val : " << RangeName << "()) {\n"
  757          << "    if (isFirst) isFirst = false;\n"
  758          << "    else OS << \", \";\n";
  760       OS << "  }\n";
  761       OS << "  OS << \"";
  765       OS << "    for (const auto &Val : SA->" << RangeName << "())\n";
  765       OS << "    for (const auto &Val : SA->" << RangeName << "())\n";
  777       OS << "    OS << Val.getSourceIndex();\n";
  781       OS << "      OS << \" \" << Val.getSourceIndex();\n";
  820       OS << "  " << type << " get" << getUpperName() << "() const {\n";
  820       OS << "  " << type << " get" << getUpperName() << "() const {\n";
  820       OS << "  " << type << " get" << getUpperName() << "() const {\n";
  821       OS << "    return " << getLowerName() << ";\n";
  821       OS << "    return " << getLowerName() << ";\n";
  822       OS << "  }";
  830       OS << "A->get" << getUpperName() << "()";
  830       OS << "A->get" << getUpperName() << "()";
  833       OS << getLowerName() << "(" << getUpperName() << ")";
  833       OS << getLowerName() << "(" << getUpperName() << ")";
  836       OS << getLowerName() << "(" << type << "(0))";
  836       OS << getLowerName() << "(" << type << "(0))";
  839       OS << type << " " << getUpperName();
  846       OS << "public:\n";
  847       OS << "  enum " << type << " {\n";
  847       OS << "  enum " << type << " {\n";
  849         OS << "    " << *i << ",\n";
  849         OS << "    " << *i << ",\n";
  850       OS << "    " << *e << "\n";
  850       OS << "    " << *e << "\n";
  851       OS << "  };\n";
  852       OS << "private:\n";
  853       OS << "  " << type << " " << getLowerName() << ";";
  853       OS << "  " << type << " " << getLowerName() << ";";
  853       OS << "  " << type << " " << getLowerName() << ";";
  857       OS << "    " << getAttrName() << "Attr::" << type << " " << getLowerName()
  857       OS << "    " << getAttrName() << "Attr::" << type << " " << getLowerName()
  857       OS << "    " << getAttrName() << "Attr::" << type << " " << getLowerName()
  858          << "(static_cast<" << getAttrName() << "Attr::" << type
  858          << "(static_cast<" << getAttrName() << "Attr::" << type
  859          << ">(Record.readInt()));\n";
  867       OS << "Record.push_back(SA->get" << getUpperName() << "());\n";
  867       OS << "Record.push_back(SA->get" << getUpperName() << "());\n";
  874       OS << "\\\"\" << " << getAttrName() << "Attr::Convert" << type << "ToStr(get"
  874       OS << "\\\"\" << " << getAttrName() << "Attr::Convert" << type << "ToStr(get"
  874       OS << "\\\"\" << " << getAttrName() << "Attr::Convert" << type << "ToStr(get"
  875          << getUpperName() << "()) << \"\\\"";
  879       OS << "    switch(SA->get" << getUpperName() << "()) {\n";
  879       OS << "    switch(SA->get" << getUpperName() << "()) {\n";
  881         OS << "    case " << getAttrName() << "Attr::" << I << ":\n";
  881         OS << "    case " << getAttrName() << "Attr::" << I << ":\n";
  881         OS << "    case " << getAttrName() << "Attr::" << I << ":\n";
  882         OS << "      OS << \" " << I << "\";\n";
  882         OS << "      OS << \" " << I << "\";\n";
  883         OS << "      break;\n";
  885       OS << "    }\n";
  889       OS << "  static bool ConvertStrTo" << type << "(StringRef Val, ";
  889       OS << "  static bool ConvertStrTo" << type << "(StringRef Val, ";
  890       OS << type << " &Out) {\n";
  891       OS << "    Optional<" << type << "> R = llvm::StringSwitch<Optional<";
  891       OS << "    Optional<" << type << "> R = llvm::StringSwitch<Optional<";
  892       OS << type << ">>(Val)\n";
  894         OS << "      .Case(\"" << values[I] << "\", ";
  894         OS << "      .Case(\"" << values[I] << "\", ";
  895         OS << getAttrName() << "Attr::" << enums[I] << ")\n";
  895         OS << getAttrName() << "Attr::" << enums[I] << ")\n";
  897       OS << "      .Default(Optional<" << type << ">());\n";
  897       OS << "      .Default(Optional<" << type << ">());\n";
  898       OS << "    if (R) {\n";
  899       OS << "      Out = *R;\n      return true;\n    }\n";
  900       OS << "    return false;\n";
  901       OS << "  }\n\n";
  907       OS << "  static const char *Convert" << type << "ToStr("
  907       OS << "  static const char *Convert" << type << "ToStr("
  908          << type << " Val) {\n"
  909          << "    switch(Val) {\n";
  913           OS << "    case " << getAttrName() << "Attr::" << enums[I]
  913           OS << "    case " << getAttrName() << "Attr::" << enums[I]
  914              << ": return \"" << values[I] << "\";\n";       
  914              << ": return \"" << values[I] << "\";\n";       
  916       OS << "    }\n"
  917          << "    llvm_unreachable(\"No enumerator with that value\");\n"
  918          << "  }\n";
  931       OS << "    OS << \"\\\"\" << " << getAttrName() << "Attr::Convert" << type
  931       OS << "    OS << \"\\\"\" << " << getAttrName() << "Attr::Convert" << type
  932          << "ToStr(Val)" << "<< \"\\\"\";\n";
  932          << "ToStr(Val)" << "<< \"\\\"\";\n";
  956       OS << "public:\n";
  957       OS << "  enum " << type << " {\n";
  957       OS << "  enum " << type << " {\n";
  959         OS << "    " << *i << ",\n";
  959         OS << "    " << *i << ",\n";
  960       OS << "    " << *e << "\n";
  960       OS << "    " << *e << "\n";
  961       OS << "  };\n";
  962       OS << "private:\n";
  968       OS << "    for (" << getAttrName() << "Attr::" << getLowerName()
  968       OS << "    for (" << getAttrName() << "Attr::" << getLowerName()
  969          << "_iterator I = SA->" << getLowerName() << "_begin(), E = SA->"
  969          << "_iterator I = SA->" << getLowerName() << "_begin(), E = SA->"
  970          << getLowerName() << "_end(); I != E; ++I) {\n";
  971       OS << "      switch(*I) {\n";
  973         OS << "    case " << getAttrName() << "Attr::" << UI << ":\n";
  973         OS << "    case " << getAttrName() << "Attr::" << UI << ":\n";
  973         OS << "    case " << getAttrName() << "Attr::" << UI << ":\n";
  974         OS << "      OS << \" " << UI << "\";\n";
  974         OS << "      OS << \" " << UI << "\";\n";
  975         OS << "      break;\n";
  977       OS << "      }\n";
  978       OS << "    }\n";
  982       OS << "    unsigned " << getLowerName() << "Size = Record.readInt();\n";
  982       OS << "    unsigned " << getLowerName() << "Size = Record.readInt();\n";
  983       OS << "    SmallVector<" << QualifiedTypeName << ", 4> " << getLowerName()
  983       OS << "    SmallVector<" << QualifiedTypeName << ", 4> " << getLowerName()
  984          << ";\n";
  985       OS << "    " << getLowerName() << ".reserve(" << getLowerName()
  985       OS << "    " << getLowerName() << ".reserve(" << getLowerName()
  986          << "Size);\n";
  987       OS << "    for (unsigned i = " << getLowerName() << "Size; i; --i)\n";
  987       OS << "    for (unsigned i = " << getLowerName() << "Size; i; --i)\n";
  988       OS << "      " << getLowerName() << ".push_back(" << "static_cast<"
  988       OS << "      " << getLowerName() << ".push_back(" << "static_cast<"
  988       OS << "      " << getLowerName() << ".push_back(" << "static_cast<"
  989          << QualifiedTypeName << ">(Record.readInt()));\n";
  993       OS << "    Record.push_back(SA->" << getLowerName() << "_size());\n";
  993       OS << "    Record.push_back(SA->" << getLowerName() << "_size());\n";
  994       OS << "    for (" << getAttrName() << "Attr::" << getLowerName()
  994       OS << "    for (" << getAttrName() << "Attr::" << getLowerName()
  995          << "_iterator i = SA->" << getLowerName() << "_begin(), e = SA->"
  995          << "_iterator i = SA->" << getLowerName() << "_begin(), e = SA->"
  996          << getLowerName() << "_end(); i != e; ++i)\n";
  997       OS << "      " << WritePCHRecord(QualifiedTypeName, "(*i)");
 1001       OS << "  static bool ConvertStrTo" << type << "(StringRef Val, ";
 1001       OS << "  static bool ConvertStrTo" << type << "(StringRef Val, ";
 1002       OS << type << " &Out) {\n";
 1003       OS << "    Optional<" << type << "> R = llvm::StringSwitch<Optional<";
 1003       OS << "    Optional<" << type << "> R = llvm::StringSwitch<Optional<";
 1004       OS << type << ">>(Val)\n";
 1006         OS << "      .Case(\"" << values[I] << "\", ";
 1006         OS << "      .Case(\"" << values[I] << "\", ";
 1007         OS << getAttrName() << "Attr::" << enums[I] << ")\n";
 1007         OS << getAttrName() << "Attr::" << enums[I] << ")\n";
 1009       OS << "      .Default(Optional<" << type << ">());\n";
 1009       OS << "      .Default(Optional<" << type << ">());\n";
 1010       OS << "    if (R) {\n";
 1011       OS << "      Out = *R;\n      return true;\n    }\n";
 1012       OS << "    return false;\n";
 1013       OS << "  }\n\n";
 1015       OS << "  static const char *Convert" << type << "ToStr("
 1015       OS << "  static const char *Convert" << type << "ToStr("
 1016         << type << " Val) {\n"
 1017         << "    switch(Val) {\n";
 1021           OS << "    case " << getAttrName() << "Attr::" << enums[I]
 1021           OS << "    case " << getAttrName() << "Attr::" << enums[I]
 1022           << ": return \"" << values[I] << "\";\n";
 1022           << ": return \"" << values[I] << "\";\n";
 1024       OS << "    }\n"
 1025         << "    llvm_unreachable(\"No enumerator with that value\");\n"
 1026         << "  }\n";
 1037       OS << "  VersionTuple get" << getUpperName() << "() const {\n";
 1037       OS << "  VersionTuple get" << getUpperName() << "() const {\n";
 1038       OS << "    return " << getLowerName() << ";\n";
 1038       OS << "    return " << getLowerName() << ";\n";
 1039       OS << "  }\n";
 1040       OS << "  void set" << getUpperName() 
 1041          << "(ASTContext &C, VersionTuple V) {\n";
 1042       OS << "    " << getLowerName() << " = V;\n";
 1042       OS << "    " << getLowerName() << " = V;\n";
 1043       OS << "  }";
 1047       OS << "get" << getUpperName() << "()";
 1047       OS << "get" << getUpperName() << "()";
 1051       OS << "A->get" << getUpperName() << "()";
 1051       OS << "A->get" << getUpperName() << "()";
 1055       OS << getLowerName() << "(" << getUpperName() << ")";
 1055       OS << getLowerName() << "(" << getUpperName() << ")";
 1059       OS << getLowerName() << "()";
 1063       OS << "VersionTuple " << getUpperName();
 1067       OS << "VersionTuple " << getLowerName() << ";\n";
 1067       OS << "VersionTuple " << getLowerName() << ";\n";
 1071       OS << "    VersionTuple " << getLowerName()
 1072          << "= Record.readVersionTuple();\n";
 1080       OS << "    Record.AddVersionTuple(SA->get" << getUpperName() << "());\n";
 1080       OS << "    Record.AddVersionTuple(SA->get" << getUpperName() << "());\n";
 1084       OS << getLowerName() << "=\" << get" << getUpperName() << "() << \"";
 1084       OS << getLowerName() << "=\" << get" << getUpperName() << "() << \"";
 1088       OS << "    OS << \" \" << SA->get" << getUpperName() << "();\n";
 1088       OS << "    OS << \" \" << SA->get" << getUpperName() << "();\n";
 1099       OS << "  if (!"
 1100          << "getDerived().TraverseStmt(A->get" << getUpperName() << "()))\n";
 1100          << "getDerived().TraverseStmt(A->get" << getUpperName() << "()))\n";
 1101       OS << "    return false;\n";
 1105       OS << "tempInst" << getUpperName();
 1109       OS << "      " << getType() << " tempInst" << getUpperName() << ";\n";
 1109       OS << "      " << getType() << " tempInst" << getUpperName() << ";\n";
 1109       OS << "      " << getType() << " tempInst" << getUpperName() << ";\n";
 1110       OS << "      {\n";
 1111       OS << "        EnterExpressionEvaluationContext "
 1112          << "Unevaluated(S, Sema::ExpressionEvaluationContext::Unevaluated);\n";
 1113       OS << "        ExprResult " << "Result = S.SubstExpr("
 1113       OS << "        ExprResult " << "Result = S.SubstExpr("
 1114          << "A->get" << getUpperName() << "(), TemplateArgs);\n";
 1114          << "A->get" << getUpperName() << "(), TemplateArgs);\n";
 1115       OS << "        tempInst" << getUpperName() << " = "
 1115       OS << "        tempInst" << getUpperName() << " = "
 1116          << "Result.getAs<Expr>();\n";
 1117       OS << "      }\n";
 1123       OS << "    Visit(SA->get" << getUpperName() << "());\n";
 1123       OS << "    Visit(SA->get" << getUpperName() << "());\n";
 1126     void writeHasChildren(raw_ostream &OS) const override { OS << "true"; }
 1136       OS << "  {\n";
 1137       OS << "    " << getType() << " *I = A->" << getLowerName()
 1137       OS << "    " << getType() << " *I = A->" << getLowerName()
 1138          << "_begin();\n";
 1139       OS << "    " << getType() << " *E = A->" << getLowerName()
 1139       OS << "    " << getType() << " *E = A->" << getLowerName()
 1140          << "_end();\n";
 1141       OS << "    for (; I != E; ++I) {\n";
 1142       OS << "      if (!getDerived().TraverseStmt(*I))\n";
 1143       OS << "        return false;\n";
 1144       OS << "    }\n";
 1145       OS << "  }\n";
 1149       OS << "tempInst" << getUpperName() << ", "
 1149       OS << "tempInst" << getUpperName() << ", "
 1150          << "A->" << getLowerName() << "_size()";
 1150          << "A->" << getLowerName() << "_size()";
 1154       OS << "      auto *tempInst" << getUpperName()
 1155          << " = new (C, 16) " << getType()
 1156          << "[A->" << getLowerName() << "_size()];\n";
 1156          << "[A->" << getLowerName() << "_size()];\n";
 1157       OS << "      {\n";
 1158       OS << "        EnterExpressionEvaluationContext "
 1159          << "Unevaluated(S, Sema::ExpressionEvaluationContext::Unevaluated);\n";
 1160       OS << "        " << getType() << " *TI = tempInst" << getUpperName()
 1160       OS << "        " << getType() << " *TI = tempInst" << getUpperName()
 1161          << ";\n";
 1162       OS << "        " << getType() << " *I = A->" << getLowerName()
 1162       OS << "        " << getType() << " *I = A->" << getLowerName()
 1163          << "_begin();\n";
 1164       OS << "        " << getType() << " *E = A->" << getLowerName()
 1164       OS << "        " << getType() << " *E = A->" << getLowerName()
 1165          << "_end();\n";
 1166       OS << "        for (; I != E; ++I, ++TI) {\n";
 1167       OS << "          ExprResult Result = S.SubstExpr(*I, TemplateArgs);\n";
 1168       OS << "          *TI = Result.getAs<Expr>();\n";
 1169       OS << "        }\n";
 1170       OS << "      }\n";
 1176       OS << "    for (" << getAttrName() << "Attr::" << getLowerName()
 1176       OS << "    for (" << getAttrName() << "Attr::" << getLowerName()
 1177          << "_iterator I = SA->" << getLowerName() << "_begin(), E = SA->"
 1177          << "_iterator I = SA->" << getLowerName() << "_begin(), E = SA->"
 1178          << getLowerName() << "_end(); I != E; ++I)\n";
 1179       OS << "      Visit(*I);\n";
 1183       OS << "SA->" << getLowerName() << "_begin() != "
 1183       OS << "SA->" << getLowerName() << "_begin() != "
 1184          << "SA->" << getLowerName() << "_end()";
 1184          << "SA->" << getLowerName() << "_end()";
 1202       OS << "    for (size_t I = 0, E = " << getArgSizeName() << "; I != E;\n"
 1202       OS << "    for (size_t I = 0, E = " << getArgSizeName() << "; I != E;\n"
 1204             "      StringRef Ref = " << getUpperName() << "[I];\n"
 1208             "        " << getArgName() << "[I] = StringRef(Mem, Ref.size());\n"
 1214       OS << "    OS << \"\\\"\" << Val << \"\\\"\";\n";
 1225       OS << "  QualType get" << getUpperName() << "() const {\n";
 1225       OS << "  QualType get" << getUpperName() << "() const {\n";
 1226       OS << "    return " << getLowerName() << "->getType();\n";
 1226       OS << "    return " << getLowerName() << "->getType();\n";
 1227       OS << "  }";
 1228       OS << "  " << getType() << " get" << getUpperName() << "Loc() const {\n";
 1228       OS << "  " << getType() << " get" << getUpperName() << "Loc() const {\n";
 1228       OS << "  " << getType() << " get" << getUpperName() << "Loc() const {\n";
 1229       OS << "    return " << getLowerName() << ";\n";
 1229       OS << "    return " << getLowerName() << ";\n";
 1230       OS << "  }";
 1234       OS << "  if (auto *TSI = A->get" << getUpperName() << "Loc())\n";
 1234       OS << "  if (auto *TSI = A->get" << getUpperName() << "Loc())\n";
 1235       OS << "    if (!getDerived().TraverseTypeLoc(TSI->getTypeLoc()))\n";
 1236       OS << "      return false;\n";
 1240       OS << "A->get" << getUpperName() << "Loc()";
 1240       OS << "A->get" << getUpperName() << "Loc()";
 1244       OS << "    " << WritePCHRecord(
 1326   OS << "\" << getPlatform()->getName();\n"
 1327      << "  if (getStrict()) OS << \", strict\";\n"
 1328      << "  if (!getIntroduced().empty()) OS << \", introduced=\" << getIntroduced();\n"
 1329      << "  if (!getDeprecated().empty()) OS << \", deprecated=\" << getDeprecated();\n"
 1330      << "  if (!getObsoleted().empty()) OS << \", obsoleted=\" << getObsoleted();\n"
 1331      << "  if (getUnavailable()) OS << \", unavailable\";\n"
 1332      << "  OS << \"";
 1336   OS << "\\\"\" << getMessage() << \"\\\"\";\n";
 1339      OS << "    if (!getReplacement().empty()) OS << \", \\\"\""
 1341   OS << "    OS << \"";
 1347   OS << "const char *" << R.getName() << "Attr::getSpelling() const {\n";
 1347   OS << "const char *" << R.getName() << "Attr::getSpelling() const {\n";
 1349     OS << "  return \"(No spelling)\";\n}\n\n";
 1353   OS << "  switch (getAttributeSpellingListIndex()) {\n"
 1359     OS << "  case " << I << ":\n"
 1359     OS << "  case " << I << ":\n"
 1360           "    return \"" << Spellings[I].name() << "\";\n";
 1362   OS << "  }\n";
 1364   OS << "}\n\n";
 1373   OS << "void " << R.getName() << "Attr::printPretty("
 1373   OS << "void " << R.getName() << "Attr::printPretty("
 1374     << "raw_ostream &OS, const PrintingPolicy &Policy) const {\n";
 1377     OS << "}\n\n";
 1381   OS << "  switch (getAttributeSpellingListIndex()) {\n"
 1429     OS <<
 1430       "  case " << I << " : {\n"
 1434       OS << "\";\n";
 1435       OS << "    printPrettyPragma(OS, Policy);\n";
 1436       OS << "    OS << \"\\n\";";
 1437       OS << "    break;\n";
 1438       OS << "  }\n";
 1443       OS << "(";
 1445       OS << ")";
 1447       OS << "(";
 1449       OS << ")";
 1470           OS << "\";\n"
 1471              << "    unsigned TrailingOmittedArgs = 0;\n";
 1472         OS << "    if (" << arg->getIsOmitted() << ")\n"
 1472         OS << "    if (" << arg->getIsOmitted() << ")\n"
 1473            << "      ++TrailingOmittedArgs;\n";
 1476         OS << "    OS << \"";
 1478         OS << "(";
 1480         OS << "\";\n"
 1481            << "    if (TrailingOmittedArgs < " << NonFakeArgs << ")\n"
 1481            << "    if (TrailingOmittedArgs < " << NonFakeArgs << ")\n"
 1482            << "       OS << \"(\";\n"
 1483            << "    OS << \"";
 1490             OS << "\";\n"
 1491                << "    if (" << ArgIndex << " < " << NonFakeArgs
 1491                << "    if (" << ArgIndex << " < " << NonFakeArgs
 1492                << " - TrailingOmittedArgs)\n"
 1493                << "      OS << \", \";\n"
 1494                << "    OS << \"";
 1496             OS << ", ";
 1500           OS << "\";\n"
 1501              << "    if (!(" << IsOmitted << ")) {\n"
 1501              << "    if (!(" << IsOmitted << ")) {\n"
 1502              << "      OS << \"";
 1505           OS << "\";\n"
 1506              << "    }\n"
 1507              << "    OS << \"";
 1511         OS << ")";
 1513         OS << "\";\n"
 1514            << "    if (TrailingOmittedArgs < " << NonFakeArgs << ")\n"
 1514            << "    if (TrailingOmittedArgs < " << NonFakeArgs << ")\n"
 1515            << "       OS << \")\";\n"
 1516            << "    OS << \"";
 1521     OS <<
 1527   OS << "}\n";
 1529   OS << "}\n\n";
 1565     OS << "  bool " << Name
 1566        << "() const { return getAttributeSpellingListIndex() == ";
 1570         OS << " ||\n    getAttributeSpellingListIndex() == ";
 1572         OS << "; }\n";
 1650   OS << "  switch (" << VarName << ") {\n    default: "
 1650   OS << "  switch (" << VarName << ") {\n    default: "
 1651     << "llvm_unreachable(\"Unknown spelling list index\");\n";
 1653     OS << "    case " << I.first << ": return " << I.second << ";\n";
 1653     OS << "    case " << I.first << ": return " << I.second << ";\n";
 1653     OS << "    case " << I.first << ": return " << I.second << ";\n";
 1654   OS << "  }\n";
 1659   OS << "#if defined(CLANG_ATTR_LATE_PARSED_LIST)\n";
 1672         OS << ".Case(\"" << I.name() << "\", " << LateParsed << ")\n";
 1672         OS << ".Case(\"" << I.name() << "\", " << LateParsed << ")\n";
 1672         OS << ".Case(\"" << I.name() << "\", " << LateParsed << ")\n";
 1676   OS << "#endif // CLANG_ATTR_LATE_PARSED_LIST\n\n";
 1891   OS << "#ifndef ATTR_MATCH_SUB_RULE\n";
 1892   OS << "#define ATTR_MATCH_SUB_RULE(Value, Spelling, IsAbstract, Parent, "
 1894      << "ATTR_MATCH_RULE(Value, Spelling, IsAbstract)\n";
 1895   OS << "#endif\n";
 1897     OS << (Rule.isSubRule() ? "ATTR_MATCH_SUB_RULE" : "ATTR_MATCH_RULE") << '(';
 1898     OS << Rule.getEnumValueName() << ", \"" << Rule.getSpelling() << "\", "
 1898     OS << Rule.getEnumValueName() << ", \"" << Rule.getSpelling() << "\", "
 1901       OS << ", "
 1903          << ", " << Rule.isNegatedSubRule();
 1904     OS << ")\n";
 1906   OS << "#undef ATTR_MATCH_SUB_RULE\n";
 1973   OS << "static void " << FnName << "(llvm::SmallVectorImpl<std::pair<"
 1973   OS << "static void " << FnName << "(llvm::SmallVectorImpl<std::pair<"
 1974      << AttributeSubjectMatchRule::EnumName
 1975      << ", bool>> &MatchRules, const LangOptions &LangOpts) {\n";
 1977     OS << "}\n\n";
 1990       OS << "  MatchRules.push_back(std::make_pair(" << Rule.getEnumValue()
 1991          << ", /*IsSupported=*/" << GenerateTestExpression(LangOpts)
 1992          << "));\n";
 1995   OS << "}\n\n";
 2001   OS << "Optional<attr::SubjectMatchRule> "
 2003   OS << "  return None;\n";
 2004   OS << "}\n\n";
 2015     OS << "Optional<attr::SubjectMatchRule> isAttributeSubjectMatchSubRuleFor_"
 2017        << "(StringRef Name, bool IsUnless) {\n";
 2018     OS << "  if (IsUnless)\n";
 2019     OS << "    return "
 2023         OS << "    Case(\"" << Rule.getName() << "\", " << Rule.getEnumValue()
 2023         OS << "    Case(\"" << Rule.getName() << "\", " << Rule.getEnumValue()
 2024            << ").\n";
 2026     OS << "    Default(None);\n";
 2027     OS << "  return "
 2031         OS << "  Case(\"" << Rule.getName() << "\", " << Rule.getEnumValue()
 2031         OS << "  Case(\"" << Rule.getName() << "\", " << Rule.getEnumValue()
 2032            << ").\n";
 2034     OS << "  Default(None);\n";
 2035     OS << "}\n\n";
 2039   OS << "std::pair<Optional<attr::SubjectMatchRule>, "
 2042   OS << "  return "
 2055     OS << "  Case(\"" << Rule.getName() << "\", std::make_pair("
 2055     OS << "  Case(\"" << Rule.getName() << "\", std::make_pair("
 2056        << Rule.getEnumValue() << ", " << SubRuleFunction << ")).\n";
 2056        << Rule.getEnumValue() << ", " << SubRuleFunction << ")).\n";
 2058   OS << "  Default(std::make_pair(None, "
 2060   OS << "}\n\n";
 2063   OS << "const char *validAttributeSubjectMatchSubRules("
 2064      << AttributeSubjectMatchRule::EnumName << " Rule) {\n";
 2064      << AttributeSubjectMatchRule::EnumName << " Rule) {\n";
 2065   OS << "  switch (Rule) {\n";
 2067     OS << "  case "
 2069        << ":\n";
 2070     OS << "  return \"'";
 2074         OS << ", '";
 2077         OS << "unless(";
 2081       OS << "'";
 2083     OS << "\";\n";
 2085   OS << "  default: return nullptr;\n";
 2086   OS << "  }\n";
 2087   OS << "}\n\n";
 2102   OS << "#if defined(CLANG_ATTR_TYPE_ARG_LIST)\n";
 2116       OS << ".Case(\"" << S.name() << "\", " << "true" << ")\n";
 2116       OS << ".Case(\"" << S.name() << "\", " << "true" << ")\n";
 2116       OS << ".Case(\"" << S.name() << "\", " << "true" << ")\n";
 2116       OS << ".Case(\"" << S.name() << "\", " << "true" << ")\n";
 2119   OS << "#endif // CLANG_ATTR_TYPE_ARG_LIST\n\n";
 2125   OS << "#if defined(CLANG_ATTR_ARG_CONTEXT_LIST)\n";
 2135       OS << ".Case(\"" << S.name() << "\", " << "true" << ")\n";
 2135       OS << ".Case(\"" << S.name() << "\", " << "true" << ")\n";
 2135       OS << ".Case(\"" << S.name() << "\", " << "true" << ")\n";
 2135       OS << ".Case(\"" << S.name() << "\", " << "true" << ")\n";
 2138   OS << "#endif // CLANG_ATTR_ARG_CONTEXT_LIST\n\n";
 2161   OS << "#if defined(CLANG_ATTR_VARIADIC_IDENTIFIER_ARG_LIST)\n";
 2171       OS << ".Case(\"" << S.name() << "\", "
 2171       OS << ".Case(\"" << S.name() << "\", "
 2172          << "true"
 2173          << ")\n";
 2176   OS << "#endif // CLANG_ATTR_VARIADIC_IDENTIFIER_ARG_LIST\n\n";
 2181   OS << "#if defined(CLANG_ATTR_IDENTIFIER_ARG_LIST)\n";
 2192       OS << ".Case(\"" << S.name() << "\", " << "true" << ")\n";
 2192       OS << ".Case(\"" << S.name() << "\", " << "true" << ")\n";
 2192       OS << ".Case(\"" << S.name() << "\", " << "true" << ")\n";
 2192       OS << ".Case(\"" << S.name() << "\", " << "true" << ")\n";
 2195   OS << "#endif // CLANG_ATTR_IDENTIFIER_ARG_LIST\n\n";
 2208   OS << "#if defined(CLANG_ATTR_THIS_ISA_IDENTIFIER_ARG_LIST)\n";
 2218       OS << ".Case(\"" << S.name() << "\", "
 2218       OS << ".Case(\"" << S.name() << "\", "
 2219          << "true"
 2220          << ")\n";
 2223   OS << "#endif // CLANG_ATTR_THIS_ISA_IDENTIFIER_ARG_LIST\n\n";
 2230   OS << "#ifndef LLVM_CLANG_ATTR_CLASSES_INC\n";
 2231   OS << "#define LLVM_CLANG_ATTR_CLASSES_INC\n\n";
 2266     OS << "class " << R.getName() << "Attr : public " << SuperName << " {\n";
 2266     OS << "class " << R.getName() << "Attr : public " << SuperName << " {\n";
 2266     OS << "class " << R.getName() << "Attr : public " << SuperName << " {\n";
 2277       OS << "\n\n";
 2287     OS << "public:\n";
 2310       OS << "  static " << R.getName() << "Attr *Create";
 2310       OS << "  static " << R.getName() << "Attr *Create";
 2312           OS << "Implicit";
 2313       OS << "(";
 2314       OS << "ASTContext &Ctx";
 2317         OS << ", ";
 2320       OS << ", const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {\n";
 2321       OS << "    auto *A = new (Ctx) " << R.getName();
 2322       OS << "Attr(Ctx, CommonInfo";
 2325         OS << ", ";
 2328       OS << ");\n";
 2330         OS << "    A->setImplicit(true);\n";
 2333         OS << "    if (!A->isAttributeSpellingListCalculated() && "
 2335         OS << "      A->setAttributeSpellingListIndex(0);\n";
 2337       OS << "    return A;\n  }\n\n";
 2341       OS <<"  static " << R.getName() << "Attr *Create";
 2341       OS <<"  static " << R.getName() << "Attr *Create";
 2343         OS << "Implicit";
 2344       OS << "(";
 2345       OS << "ASTContext &Ctx";
 2348         OS << ", ";
 2351       OS << ", SourceRange Range, AttributeCommonInfo::Syntax Syntax";
 2353         OS << ", " << R.getName()
 2354            << "Attr::Spelling S = "
 2356       OS << ") {\n";
 2357       OS << "    AttributeCommonInfo I(Range, ";
 2360         OS << "AT_" << ParsedAttrSpellingItr->first;
 2362         OS << "NoSemaHandlerAttribute";
 2364       OS << ", Syntax";
 2366         OS << ", S";
 2367       OS << ");\n";
 2368       OS << "    return Create";
 2370         OS << "Implicit";
 2371       OS << "(Ctx";
 2374         OS << ", ";
 2377       OS << ", I);\n";
 2378       OS << "  }\n";
 2402       OS << "  " << R.getName()
 2403          << "Attr(ASTContext &Ctx, const AttributeCommonInfo &CommonInfo";
 2407         OS << "              , ";
 2409         OS << "\n";
 2412       OS << "             )\n";
 2413       OS << "    : " << SuperName << "(Ctx, CommonInfo, ";
 2413       OS << "    : " << SuperName << "(Ctx, CommonInfo, ";
 2414       OS << "attr::" << R.getName() << ", "
 2414       OS << "attr::" << R.getName() << ", "
 2415          << (R.getValueAsBit("LateParsed") ? "true" : "false");
 2417         OS << ", "
 2418            << (R.getValueAsBit("InheritEvenIfAlreadyPresent") ? "true"
 2421       OS << ")\n";
 2424         OS << "              , ";
 2430         OS << "\n";
 2433       OS << "  {\n";
 2439       OS << "  }\n\n";
 2454     OS << "  " << R.getName() << "Attr *clone(ASTContext &C) const;\n";
 2454     OS << "  " << R.getName() << "Attr *clone(ASTContext &C) const;\n";
 2455     OS << "  void printPretty(raw_ostream &OS,\n"
 2456        << "                   const PrintingPolicy &Policy) const;\n";
 2457     OS << "  const char *getSpelling() const;\n";
 2461       OS << "  Spelling getSemanticSpelling() const {\n";
 2464       OS << "  }\n";
 2471       OS << "\n\n";
 2484     OS << "\n\n";
 2486     OS << "  static bool classof(const Attr *A) { return A->getKind() == "
 2487        << "attr::" << R.getName() << "; }\n";
 2487        << "attr::" << R.getName() << "; }\n";
 2489     OS << "};\n\n";
 2492   OS << "#endif // LLVM_CLANG_ATTR_CLASSES_INC\n";
 2515     OS << R.getName() << "Attr *" << R.getName()
 2516        << "Attr::clone(ASTContext &C) const {\n";
 2517     OS << "  auto *A = new (C) " << R.getName() << "Attr(C, *this";
 2517     OS << "  auto *A = new (C) " << R.getName() << "Attr(C, *this";
 2519       OS << ", ";
 2522     OS << ");\n";
 2523     OS << "  A->Inherited = Inherited;\n";
 2524     OS << "  A->IsPackExpansion = IsPackExpansion;\n";
 2525     OS << "  A->setImplicit(Implicit);\n";
 2526     OS << "  return A;\n}\n\n";
 2535     OS << "  switch (getKind()) {\n";
 2541       OS << "  case attr::" << R.getName() << ":\n";
 2541       OS << "  case attr::" << R.getName() << ":\n";
 2542       OS << "    return cast<" << R.getName() << "Attr>(this)->" << Method
 2542       OS << "    return cast<" << R.getName() << "Attr>(this)->" << Method
 2542       OS << "    return cast<" << R.getName() << "Attr>(this)->" << Method
 2543          << ";\n";
 2545     OS << "  }\n";
 2546     OS << "  llvm_unreachable(\"Unexpected attribute kind!\");\n";
 2547     OS << "}\n\n";
 2550   OS << "const char *Attr::getSpelling() const {\n";
 2553   OS << "Attr *Attr::clone(ASTContext &C) const {\n";
 2556   OS << "void Attr::printPretty(raw_ostream &OS, "
 2564     OS << Class << "(" << Cur->getName() << ")\n";
 2564     OS << Class << "(" << Cur->getName() << ")\n";
 2597   OS << "#ifndef " << name << "\n";
 2597   OS << "#ifndef " << name << "\n";
 2598   OS << "#define " << name << "(NAME) ";
 2598   OS << "#define " << name << "(NAME) ";
 2599   if (superName) OS << superName << "(NAME)";
 2599   if (superName) OS << superName << "(NAME)";
 2600   OS << "\n#endif\n\n";
 2625       OS << "#undef " << Descriptor.MacroName << "\n";
 2625       OS << "#undef " << Descriptor.MacroName << "\n";
 2625       OS << "#undef " << Descriptor.MacroName << "\n";
 2642       OS << "ATTR_RANGE(" << Descriptor.TableGenName
 2642       OS << "ATTR_RANGE(" << Descriptor.TableGenName
 2643          << ", " << getFirstAttr()->getName()
 2644          << ", " << getLastAttr()->getName() << ")\n";
 2644          << ", " << getLastAttr()->getName() << ")\n";
 2789   OS << "#ifdef ATTR_RANGE\n";
 2791   OS << "#undef ATTR_RANGE\n";
 2792   OS << "#endif\n";
 2795   OS << "#undef PRAGMA_SPELLING_ATTR\n";
 2806   OS << "#undef ATTR_MATCH_RULE\n";
 2818   OS << "  switch (Kind) {\n";
 2824     OS << "  case attr::" << R.getName() << ": {\n";
 2824     OS << "  case attr::" << R.getName() << ": {\n";
 2826       OS << "    bool isInherited = Record.readInt();\n";
 2827     OS << "    bool isImplicit = Record.readInt();\n";
 2834     OS << "    New = new (Context) " << R.getName() << "Attr(Context, Info";
 2834     OS << "    New = new (Context) " << R.getName() << "Attr(Context, Info";
 2836       OS << ", ";
 2839     OS << ");\n";
 2841       OS << "    cast<InheritableAttr>(New)->setInherited(isInherited);\n";
 2842     OS << "    New->setImplicit(isImplicit);\n";
 2843     OS << "    break;\n";
 2844     OS << "  }\n";
 2846   OS << "  }\n";
 2856   OS << "  switch (A->getKind()) {\n";
 2861     OS << "  case attr::" << R.getName() << ": {\n";
 2861     OS << "  case attr::" << R.getName() << ": {\n";
 2864       OS << "    const auto *SA = cast<" << R.getName()
 2865          << "Attr>(A);\n";
 2867       OS << "    Record.push_back(SA->isInherited());\n";
 2868     OS << "    Record.push_back(A->isImplicit());\n";
 2872     OS << "    break;\n";
 2873     OS << "  }\n";
 2875   OS << "  }\n";
 3009         OS << "    .Case(\"" << S.name() << "\", " << TestStr << ")\n";
 3009         OS << "    .Case(\"" << S.name() << "\", " << TestStr << ")\n";
 3009         OS << "    .Case(\"" << S.name() << "\", " << TestStr << ")\n";
 3011   OS << "    .Default(0);\n";
 3045   OS << "const llvm::Triple &T = Target.getTriple();\n";
 3046   OS << "switch (Syntax) {\n";
 3047   OS << "case AttrSyntax::GNU:\n";
 3048   OS << "  return llvm::StringSwitch<int>(Name)\n";
 3050   OS << "case AttrSyntax::Declspec:\n";
 3051   OS << "  return llvm::StringSwitch<int>(Name)\n";
 3053   OS << "case AttrSyntax::Microsoft:\n";
 3054   OS << "  return llvm::StringSwitch<int>(Name)\n";
 3056   OS << "case AttrSyntax::Pragma:\n";
 3057   OS << "  return llvm::StringSwitch<int>(Name)\n";
 3061     OS << "case AttrSyntax::" << Variety << ": {\n";
 3061     OS << "case AttrSyntax::" << Variety << ": {\n";
 3061     OS << "case AttrSyntax::" << Variety << ": {\n";
 3065         OS << " else ";
 3067         OS << "if (ScopeName == \"\") {\n";
 3069         OS << "if (ScopeName == \"" << I->first << "\") {\n";
 3069         OS << "if (ScopeName == \"" << I->first << "\") {\n";
 3070       OS << "  return llvm::StringSwitch<int>(Name)\n";
 3072       OS << "}";
 3074     OS << "\n} break;\n";
 3078   OS << "}\n";
 3085   OS << "  switch (getParsedKind()) {\n";
 3086   OS << "    case IgnoredAttribute:\n";
 3087   OS << "    case UnknownAttribute:\n";
 3088   OS << "    case NoSemaHandlerAttribute:\n";
 3089   OS << "      llvm_unreachable(\"Ignored/unknown shouldn't get here\");\n";
 3095     OS << "  case AT_" << I.first << ": {\n";
 3095     OS << "  case AT_" << I.first << ": {\n";
 3097       OS << "    if (Name == \"" << Spellings[I].name() << "\" && "
 3097       OS << "    if (Name == \"" << Spellings[I].name() << "\" && "
 3098          << "getSyntax() == AttributeCommonInfo::AS_" << Spellings[I].variety()
 3099          << " && Scope == \"" << Spellings[I].nameSpace() << "\")\n"
 3099          << " && Scope == \"" << Spellings[I].nameSpace() << "\")\n"
 3100          << "        return " << I << ";\n";
 3100          << "        return " << I << ";\n";
 3103     OS << "    break;\n";
 3104     OS << "  }\n";
 3107   OS << "  }\n";
 3108   OS << "  return 0;\n";
 3120   OS << "#ifdef ATTR_VISITOR_DECLS_ONLY\n\n";
 3125     OS << "  bool Traverse"
 3126        << R.getName() << "Attr(" << R.getName() << "Attr *A);\n";
 3126        << R.getName() << "Attr(" << R.getName() << "Attr *A);\n";
 3127     OS << "  bool Visit"
 3128        << R.getName() << "Attr(" << R.getName() << "Attr *A) {\n"
 3128        << R.getName() << "Attr(" << R.getName() << "Attr *A) {\n"
 3129        << "    return true; \n"
 3130        << "  }\n";
 3132   OS << "\n#else // ATTR_VISITOR_DECLS_ONLY\n\n";
 3140     OS << "template <typename Derived>\n"
 3141        << "bool VISITORCLASS<Derived>::Traverse"
 3142        << R.getName() << "Attr(" << R.getName() << "Attr *A) {\n"
 3142        << R.getName() << "Attr(" << R.getName() << "Attr *A) {\n"
 3143        << "  if (!getDerived().VisitAttr(A))\n"
 3144        << "    return false;\n"
 3145        << "  if (!getDerived().Visit" << R.getName() << "Attr(A))\n"
 3145        << "  if (!getDerived().Visit" << R.getName() << "Attr(A))\n"
 3146        << "    return false;\n";
 3152     OS << "  return true;\n";
 3153     OS << "}\n\n";
 3157   OS << "template <typename Derived>\n"
 3158      << "bool VISITORCLASS<Derived>::TraverseAttr(Attr *A) {\n"
 3159      << "  if (!A)\n"
 3160      << "    return true;\n"
 3161      << "\n"
 3162      << "  switch (A->getKind()) {\n";
 3169     OS << "    case attr::" << R.getName() << ":\n"
 3169     OS << "    case attr::" << R.getName() << ":\n"
 3170        << "      return getDerived().Traverse" << R.getName() << "Attr("
 3170        << "      return getDerived().Traverse" << R.getName() << "Attr("
 3171        << "cast<" << R.getName() << "Attr>(A));\n";
 3171        << "cast<" << R.getName() << "Attr>(A));\n";
 3173   OS << "  }\n";  // end switch
 3174   OS << "  llvm_unreachable(\"bad attribute kind\");\n";
 3175   OS << "}\n";  // end function
 3176   OS << "#endif  // ATTR_VISITOR_DECLS_ONLY\n";
 3183   OS << "  switch (At->getKind()) {\n";
 3188     OS << "    case attr::" << R.getName() << ": {\n";
 3188     OS << "    case attr::" << R.getName() << ": {\n";
 3194       OS << "      return nullptr;\n";
 3195       OS << "    }\n";
 3199     OS << "      const auto *A = cast<"
 3200        << R.getName() << "Attr>(At);\n";
 3204       OS << "      return A->clone(C);\n";
 3205       OS << "    }\n";
 3219     OS << "        return new (C) " << R.getName() << "Attr(C, *A";
 3219     OS << "        return new (C) " << R.getName() << "Attr(C, *A";
 3221       OS << ", ";
 3224     OS << ");\n    }\n";
 3226   OS << "  } // end switch\n"
 3227      << "  llvm_unreachable(\"Unknown attribute!\");\n"
 3228      << "  return nullptr;\n";
 3237   OS << "namespace clang {\n"
 3238      << "namespace sema {\n\n"
 3239      << "Attr *instantiateTemplateAttribute(const Attr *At, ASTContext &C, "
 3240      << "Sema &S,\n"
 3241      << "        const MultiLevelTemplateArgumentList &TemplateArgs) {\n";
 3243   OS << "}\n\n"
 3244      << "Attr *instantiateTemplateAttributeForDecl(const Attr *At,\n"
 3245      << " ASTContext &C, Sema &S,\n"
 3246      << "        const MultiLevelTemplateArgumentList &TemplateArgs) {\n";
 3248   OS << "}\n\n"
 3249      << "} // end namespace sema\n"
 3250      << "} // end namespace clang\n";
 3257   OS << "#ifndef PARSED_ATTR\n";
 3258   OS << "#define PARSED_ATTR(NAME) NAME\n";
 3259   OS << "#endif\n\n";
 3263     OS << "PARSED_ATTR(" << I.first << ")\n";
 3263     OS << "PARSED_ATTR(" << I.first << ")\n";
 3290   OS << ArgCount << ", " << (HasVariadic ? 15 : OptCount);
 3294   OS << "static bool defaultAppertainsTo(Sema &, const ParsedAttr &,";
 3295   OS << "const Decl *) {\n";
 3296   OS << "  return true;\n";
 3297   OS << "}\n\n";
 3399   OS << "static bool " << FnName << "(const Decl *D) {\n";
 3399   OS << "static bool " << FnName << "(const Decl *D) {\n";
 3400   OS << "  if (const auto *S = dyn_cast<";
 3402   OS << ">(D))\n";
 3403   OS << "    return " << Subject.getValueAsString("CheckCode") << ";\n";
 3403   OS << "    return " << Subject.getValueAsString("CheckCode") << ";\n";
 3404   OS << "  return false;\n";
 3405   OS << "}\n\n";
 3474   OS << "static bool checkAttributeMatchRuleAppliesTo(const Decl *D, "
 3475      << AttributeSubjectMatchRule::EnumName << " rule) {\n";
 3475      << AttributeSubjectMatchRule::EnumName << " rule) {\n";
 3476   OS << "  switch (rule) {\n";
 3479       OS << "  case " << Rule.getEnumValue() << ":\n";
 3479       OS << "  case " << Rule.getEnumValue() << ":\n";
 3480       OS << "    assert(false && \"Abstract matcher rule isn't allowed\");\n";
 3481       OS << "    return false;\n";
 3486     OS << "  case " << Rule.getEnumValue() << ":\n";
 3486     OS << "  case " << Rule.getEnumValue() << ":\n";
 3487     OS << "    return ";
 3493         OS << functionNameForCustomAppertainsTo(**I) << "(D)";
 3495         OS << "isa<" << GetSubjectWithSuffix(*I) << ">(D)";
 3495         OS << "isa<" << GetSubjectWithSuffix(*I) << ">(D)";
 3498         OS << " || ";
 3500     OS << ";\n";
 3502   OS << "  }\n";
 3503   OS << "  llvm_unreachable(\"Invalid match rule\");\nreturn false;\n";
 3504   OS << "}\n\n";
 3508   OS << "static bool defaultDiagnoseLangOpts(Sema &, ";
 3509   OS << "const ParsedAttr &) {\n";
 3510   OS << "  return true;\n";
 3511   OS << "}\n\n";
 3537   OS << "static bool " << FnName << "(Sema &S, const ParsedAttr &Attr) {\n";
 3537   OS << "static bool " << FnName << "(Sema &S, const ParsedAttr &Attr) {\n";
 3538   OS << "  auto &LangOpts = S.LangOpts;\n";
 3539   OS << "  if (" << GenerateTestExpression(LangOpts) << ")\n";
 3539   OS << "  if (" << GenerateTestExpression(LangOpts) << ")\n";
 3540   OS << "    return true;\n\n";
 3541   OS << "  S.Diag(Attr.getLoc(), diag::warn_attribute_ignored) ";
 3542   OS << "<< Attr;\n";
 3543   OS << "  return false;\n";
 3544   OS << "}\n\n";
 3551   OS << "static bool defaultTargetRequirements(const TargetInfo &) {\n";
 3552   OS << "  return true;\n";
 3553   OS << "}\n\n";
 3597   OS << "static bool " << FnName << "(const TargetInfo &Target) {\n";
 3597   OS << "static bool " << FnName << "(const TargetInfo &Target) {\n";
 3599     OS << "  const llvm::Triple &T = Target.getTriple(); (void)T;\n";
 3600   OS << "  return " << Test << ";\n";
 3600   OS << "  return " << Test << ";\n";
 3601   OS << "}\n\n";
 3608   OS << "static unsigned defaultSpellingIndexToSemanticSpelling("
 3609      << "const ParsedAttr &Attr) {\n";
 3610   OS << "  return UINT_MAX;\n";
 3611   OS << "}\n\n";
 3632   OS << "static unsigned " << Name << "(const ParsedAttr &Attr) {\n";
 3632   OS << "static unsigned " << Name << "(const ParsedAttr &Attr) {\n";
 3634   OS << "  unsigned Idx = Attr.getAttributeSpellingListIndex();\n";
 3636   OS << "}\n\n";
 3683     SS << "  { ";
 3685     SS << ", " << I->second->getValueAsBit("HasCustomParsing");
 3686     SS << ", " << I->second->isSubClassOf("TargetSpecificAttr");
 3687     SS << ", "
 3690     SS << ", " << I->second->isSubClassOf("StmtAttr");
 3691     SS << ", " << IsKnownToGCC(*I->second);
 3692     SS << ", " << PragmaAttributeSupport.isAttributedSupported(*I->second);
 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);
 3697     SS << ", "
 3699     SS << " }";
 3702       SS << ",";
 3704     SS << "  // AT_" << I->first << "\n";
 3704     SS << "  // AT_" << I->first << "\n";
 3707   OS << "static const ParsedAttrInfo AttrInfoMap[ParsedAttr::UnknownAttribute "
 3710   OS << "};\n\n";
 3792   OS << "static AttributeCommonInfo::Kind getAttrKind(StringRef Name, ";
 3793   OS << "AttributeCommonInfo::Syntax Syntax) {\n";
 3794   OS << "  if (AttributeCommonInfo::AS_GNU == Syntax) {\n";
 3796   OS << "  } else if (AttributeCommonInfo::AS_Declspec == Syntax) {\n";
 3798   OS << "  } else if (AttributeCommonInfo::AS_Microsoft == Syntax) {\n";
 3800   OS << "  } else if (AttributeCommonInfo::AS_CXX11 == Syntax) {\n";
 3802   OS << "  } else if (AttributeCommonInfo::AS_C2x == Syntax) {\n";
 3804   OS << "  } else if (AttributeCommonInfo::AS_Keyword == Syntax || ";
 3805   OS << "AttributeCommonInfo::AS_ContextSensitiveKeyword == Syntax) {\n";
 3807   OS << "  } else if (AttributeCommonInfo::AS_Pragma == Syntax) {\n";
 3809   OS << "  }\n";
 3810   OS << "  return AttributeCommonInfo::UnknownAttribute;\n"
 3811      << "}\n";
 3833       SS << "    OS << \" \" << A->getSpelling();\n";
 3840       OS << "  void Visit" << R.getName() << "Attr(const " << R.getName()
 3840       OS << "  void Visit" << R.getName() << "Attr(const " << R.getName()
 3841          << "Attr *A) {\n";
 3843         OS << "    const auto *SA = cast<" << R.getName()
 3844            << "Attr>(A); (void)SA;\n";
 3846       OS << "  }\n";
 3867       OS << "  void Visit" << R.getName() << "Attr(const " << R.getName()
 3867       OS << "  void Visit" << R.getName() << "Attr(const " << R.getName()
 3868          << "Attr *A) {\n";
 3870         OS << "    const auto *SA = cast<" << R.getName()
 3871            << "Attr>(A); (void)SA;\n";
 3873       OS << "  }\n";
 3959   OS << Name << "\n" << std::string(Name.size(), '=') << "\n";
 3959   OS << Name << "\n" << std::string(Name.size(), '=') << "\n";
 3966   OS << "\n\n";
 4016   OS << Doc.Heading << "\n" << std::string(Doc.Heading.length(), '-') << "\n";
 4016   OS << Doc.Heading << "\n" << std::string(Doc.Heading.length(), '-') << "\n";
 4019   OS << ".. csv-table:: Supported Syntaxes\n";
 4020   OS << "   :header: \"GNU\", \"C++11\", \"C2x\", \"``__declspec``\",";
 4021   OS << " \"Keyword\", \"``#pragma``\", \"``#pragma clang attribute``\"\n\n";
 4022   OS << "   \"";
 4033         OS << " |br| ";
 4034       OS << "``" << Spelling << "``";
 4034       OS << "``" << Spelling << "``";
 4038     OS << "\",\"";
 4043     OS << "Yes";
 4044   OS << "\"\n\n";
 4049     OS << "This attribute has been deprecated, and may be removed in a future "
 4050        << "version of Clang.";
 4054       OS << "  This attribute has been superseded by ``" << Replacement
 4055          << "``.";
 4056     OS << "\n\n";
 4063   OS << "\n\n\n";
 4075   OS << Documentation->getValueAsString("Intro") << "\n";
 4124   OS << "#pragma clang attribute supports the following attributes:\n";
 4130       OS << " ()\n";
 4136     OS << " (";
 4139         OS << ", ";
 4146       OS << "(";
 4149           OS << ", ";
 4152       OS << ")";
 4154     OS << ")\n";
 4156   OS << "End of supported attributes.\n";
tools/clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp
   27   OS << "namespace {\n"
   32     OS << "  { "
   33        << "\"" << Tag.getValueAsString("Name") << "\", "
   33        << "\"" << Tag.getValueAsString("Name") << "\", "
   34        << "\"" << Tag.getValueAsString("EndCommandName") << "\", "
   34        << "\"" << Tag.getValueAsString("EndCommandName") << "\", "
   35        << i << ", "
   36        << Tag.getValueAsInt("NumArgs") << ", "
   37        << Tag.getValueAsBit("IsInlineCommand") << ", "
   38        << Tag.getValueAsBit("IsBlockCommand") << ", "
   39        << Tag.getValueAsBit("IsBriefCommand") << ", "
   40        << Tag.getValueAsBit("IsReturnsCommand") << ", "
   41        << Tag.getValueAsBit("IsParamCommand") << ", "
   42        << Tag.getValueAsBit("IsTParamCommand") << ", "
   43        << Tag.getValueAsBit("IsThrowsCommand") << ", "
   44        << Tag.getValueAsBit("IsDeprecatedCommand") << ", "
   45        << Tag.getValueAsBit("IsHeaderfileCommand") << ", "
   46        << Tag.getValueAsBit("IsEmptyParagraphAllowed") << ", "
   47        << Tag.getValueAsBit("IsVerbatimBlockCommand") << ", "
   48        << Tag.getValueAsBit("IsVerbatimBlockEndCommand") << ", "
   49        << Tag.getValueAsBit("IsVerbatimLineCommand") << ", "
   50        << Tag.getValueAsBit("IsDeclarationCommand") << ", "
   51        << Tag.getValueAsBit("IsFunctionDeclarationCommand") << ", "
   52        << Tag.getValueAsBit("IsRecordLikeDetailCommand") << ", "
   53        << Tag.getValueAsBit("IsRecordLikeDeclarationCommand") << ", "
   54        << /* IsUnknownCommand = */ "0"
   55        << " }";
   57       OS << ",";
   58     OS << "\n";
   60   OS << "};\n"
   68     raw_string_ostream(Return) << "return &Commands[" << i << "];";
   68     raw_string_ostream(Return) << "return &Commands[" << i << "];";
   72   OS << "const CommandInfo *CommandTraits::getBuiltinCommandInfo(\n"
   73      << "                                         StringRef Name) {\n";
   75   OS << "  return nullptr;\n"
   76      << "}\n\n";
  113   OS << "#ifndef COMMENT_COMMAND\n"
  114      << "#  define COMMENT_COMMAND(NAME)\n"
  115      << "#endif\n";
  122     OS << "COMMENT_COMMAND(" << MangledName << ")\n";
  122     OS << "COMMENT_COMMAND(" << MangledName << ")\n";
tools/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp
   39   OS << "\"";
   41     OS << "\\x";
   44   OS << "\"";
   76   OS << "StringRef translateHTMLNamedCharacterReferenceToUTF8(\n"
   79   OS << "  return StringRef();\n"
   80      << "}\n\n";
tools/clang/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp
   31   OS << "bool isHTMLTagName(StringRef Name) {\n";
   33   OS << "  return false;\n"
   34      << "}\n\n";
   53   OS << "bool isHTMLEndTagOptional(StringRef Name) {\n";
   55   OS << "  return false;\n"
   56      << "}\n\n";
   58   OS << "bool isHTMLEndTagForbidden(StringRef Name) {\n";
   60   OS << "  return false;\n"
   61      << "}\n\n";
tools/clang/utils/TableGen/ClangDataCollectorsEmitter.cpp
   11     OS << "DEF_ADD_DATA(" << R.getName() << ", {\n";
   11     OS << "DEF_ADD_DATA(" << R.getName() << ", {\n";
   13     OS << Code->getAsUnquotedString() << "}\n)";
   14     OS << "\n";
   16   OS << "#undef DEF_ADD_DATA\n";
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
 1196     OS << "#ifdef " << ComponentName << "START\n";
 1196     OS << "#ifdef " << ComponentName << "START\n";
 1197     OS << "__" << ComponentName << "START = DIAG_START_" << ComponentName
 1197     OS << "__" << ComponentName << "START = DIAG_START_" << ComponentName
 1198        << ",\n";
 1199     OS << "#undef " << ComponentName << "START\n";
 1199     OS << "#undef " << ComponentName << "START\n";
 1200     OS << "#endif\n\n";
 1247     OS << "DIAG(" << R.getName() << ", ";
 1247     OS << "DIAG(" << R.getName() << ", ";
 1249     OS << ", (unsigned)diag::Severity::"
 1253     OS << ", \"";
 1262       OS << ", " << I->second.IDNo;
 1267       OS << ", " << I->second.IDNo;
 1269       OS << ", 0";
 1273     OS << ", " << R.getValueAsDef("SFINAE")->getName();
 1277       OS << ", true";
 1279       OS << ", false";
 1282       OS << ", true";
 1284       OS << ", false";
 1287     OS << ", " << CategoryIDs.getID(getDiagnosticCategory(&R, DGParentMap));
 1288     OS << ")\n";
 1321   OS << "static const int16_t DiagSubGroups[] = {\n"
 1322      << "  /* Empty */ -1,\n";
 1328       OS << "  /* DiagSubGroup" << I.second.IDNo << " */ ";
 1328       OS << "  /* DiagSubGroup" << I.second.IDNo << " */ ";
 1333         OS << RI->second.IDNo << ", ";
 1342           OS << RI->second.IDNo << ", ";
 1346       OS << "-1,\n";
 1349   OS << "};\n\n";
 1372   OS << "static const int16_t DiagArrays[] = {\n"
 1373      << "  /* Empty */ -1,\n";
 1379       OS << "  /* DiagArray" << I.second.IDNo << " */ ";
 1379       OS << "  /* DiagArray" << I.second.IDNo << " */ ";
 1381         OS << "diag::" << Record->getName() << ", ";
 1381         OS << "diag::" << Record->getName() << ", ";
 1385           OS << "diag::" << Diag->getName() << ", ";
 1385           OS << "diag::" << Diag->getName() << ", ";
 1387       OS << "-1,\n";
 1390   OS << "};\n\n";
 1405   OS << "static const char DiagGroupNames[] = {\n";
 1407   OS << "};\n\n";
 1427   OS << "\n#ifdef GET_DIAG_ARRAYS\n";
 1431   OS << "#endif // GET_DIAG_ARRAYS\n\n";
 1458   OS << "\n#ifdef GET_DIAG_TABLE\n";
 1462     OS << "  { /* ";
 1469     OS << I.first << " */ " << std::string(MaxLen - I.first.size(), ' ');
 1472     OS << GroupNames.GetOrAddStringOffset(Name, false) << ", ";
 1482       OS << "/* DiagArray" << I.second.IDNo << " */ " << DiagArrayIndex
 1482       OS << "/* DiagArray" << I.second.IDNo << " */ " << DiagArrayIndex
 1483          << ", ";
 1488       OS << "/* Empty */     0, ";
 1496       OS << "/* DiagSubGroup" << I.second.IDNo << " */ " << SubGroupIndex;
 1496       OS << "/* DiagSubGroup" << I.second.IDNo << " */ " << SubGroupIndex;
 1501       OS << "/* Empty */         0";
 1504     OS << " },\n";
 1506   OS << "#endif // GET_DIAG_TABLE\n\n";
 1524   OS << "\n#ifdef GET_CATEGORY_TABLE\n";
 1526     OS << "CATEGORY(\"" << C << "\", " << getDiagCategoryEnum(C) << ")\n";
 1526     OS << "CATEGORY(\"" << C << "\", " << getDiagCategoryEnum(C) << ")\n";
 1526     OS << "CATEGORY(\"" << C << "\", " << getDiagCategoryEnum(C) << ")\n";
 1527   OS << "#endif // GET_CATEGORY_TABLE\n\n";
 1601     OS << "DIAG_NAME_INDEX(" << R.Name << ")\n";
 1601     OS << "DIAG_NAME_INDEX(" << R.Name << ")\n";
 1653   OS << Str << "\n" << std::string(Str.size(), Kind) << "\n";
 1653   OS << Str << "\n" << std::string(Str.size(), Kind) << "\n";
 1660     OS << "The text of this diagnostic is not controlled by Clang.\n\n";
 1664       OS << Line << "\n";
 1665     OS << "\n";
 1683   OS << Documentation->getValueAsString("Intro") << "\n";
 1741           OS << "This diagnostic is an error by default, but the flag ``-Wno-"
 1742              << G->getValueAsString("GroupName") << "`` can be used to disable "
 1743              << "the error.\n\n";
 1745           OS << "This diagnostic is enabled by default.\n\n";
 1747         OS << "Some of the diagnostics controlled by this flag are enabled "
 1748            << "by default.\n\n";
 1754         OS << "Synonym for ";
 1756         OS << "Controls ";
 1758         OS << "Also controls ";
 1763         if (!First) OS << ", ";
 1764         OS << "`" << (IsRemarkGroup ? "-R" : "-W") << Name << "`_";
 1764         OS << "`" << (IsRemarkGroup ? "-R" : "-W") << Name << "`_";
 1764         OS << "`" << (IsRemarkGroup ? "-R" : "-W") << Name << "`_";
 1767       OS << ".\n\n";
 1771       OS << "**Diagnostic text:**\n\n";
 1786       OS << "This diagnostic flag exists for GCC compatibility, and has no "
 1788     OS << "\n";
tools/clang/utils/TableGen/ClangOpcodesEmitter.cpp
  106   OS << "#ifdef GET_OPCODE_NAMES\n";
  108     OS << "OP_" << ID << ",\n";
  108     OS << "OP_" << ID << ",\n";
  110   OS << "#endif\n";
  114   OS << "#ifdef GET_INTERP\n";
  121     OS << "case OP_" << ID << ": {\n";
  121     OS << "case OP_" << ID << ": {\n";
  125       OS << "\tauto V" << I;
  126       OS << " = ";
  127       OS << "PC.read<" << Args[I]->getValueAsString("Name") << ">();\n";
  127       OS << "PC.read<" << Args[I]->getValueAsString("Name") << ">();\n";
  131     OS << "\tif (!" << N;
  133     OS << "(S";
  135       OS << ", PC";
  137       OS << ", OpPC";
  139       OS << ", Result";
  141       OS << ", V" << I;
  142     OS << "))\n";
  143     OS << "\t\treturn false;\n";
  147       OS << "\tif (!S.Current || S.Current->isRoot())\n";
  148       OS << "\t\treturn true;\n";
  151     OS << "\tcontinue;\n";
  152     OS << "}\n";
  154   OS << "#endif\n";
  158   OS << "#ifdef GET_DISASM\n";
  160     OS << "case OP_" << ID << ":\n";
  160     OS << "case OP_" << ID << ":\n";
  161     OS << "\tPrintName(\"" << ID << "\");\n";
  161     OS << "\tPrintName(\"" << ID << "\");\n";
  162     OS << "\tOS << \"\\t\"";
  165       OS << " << PC.read<" << Arg->getValueAsString("Name") << ">() << \" \"";
  165       OS << " << PC.read<" << Arg->getValueAsString("Name") << ">() << \" \"";
  167     OS << "<< \"\\n\";\n";
  168     OS << "\tcontinue;\n";
  170   OS << "#endif\n";
  177   OS << "#ifdef GET_LINK_IMPL\n";
  182     OS << "bool ByteCodeEmitter::emit" << ID << "(";
  182     OS << "bool ByteCodeEmitter::emit" << ID << "(";
  184       OS << Args[I]->getValueAsString("Name") << " A" << I << ",";
  184       OS << Args[I]->getValueAsString("Name") << " A" << I << ",";
  185     OS << "const SourceInfo &L) {\n";
  188     OS << "\treturn emitOp<";
  191         OS << ", ";
  194     OS << ">(OP_" << ID;
  196       OS << ", A" << I;
  197     OS << ", L);\n";
  198     OS << "}\n";
  200   OS << "#endif\n";
  204   OS << "#if defined(GET_EVAL_PROTO) || defined(GET_LINK_PROTO)\n";
  207     OS << "bool emit" << ID << "(";
  207     OS << "bool emit" << ID << "(";
  209       OS << Arg->getValueAsString("Name") << ", ";
  210     OS << "const SourceInfo &);\n";
  216     OS << "#if defined(GET_EVAL_PROTO)\n";
  217     OS << "template<";
  220         OS << ", ";
  221       OS << "PrimType";
  223     OS << ">\n";
  224     OS << "bool emit" << N << "(";
  224     OS << "bool emit" << N << "(";
  226       OS << Arg->getValueAsString("Name") << ", ";
  227     OS << "const SourceInfo &);\n";
  228     OS << "#endif\n";
  231   OS << "#endif\n";
  242   OS << "#if defined(GET_EVAL_PROTO) || defined(GET_LINK_PROTO)\n";
  243   OS << "bool emit" << N << "(";
  243   OS << "bool emit" << N << "(";
  245     OS << "PrimType, ";
  247     OS << Arg->getValueAsString("Name") << ", ";
  248   OS << "const SourceInfo &I);\n";
  249   OS << "#endif\n";
  252   OS << "#if defined(GET_EVAL_IMPL) || defined(GET_LINK_IMPL)\n";
  253   OS << "bool \n";
  254   OS << "#if defined(GET_EVAL_IMPL)\n";
  255   OS << "EvalEmitter\n";
  256   OS << "#else\n";
  257   OS << "ByteCodeEmitter\n";
  258   OS << "#endif\n";
  259   OS << "::emit" << N << "(";
  259   OS << "::emit" << N << "(";
  261     OS << "PrimType T" << I << ", ";
  261     OS << "PrimType T" << I << ", ";
  263     OS << Args[I]->getValueAsString("Name") << " A" << I << ", ";
  263     OS << Args[I]->getValueAsString("Name") << " A" << I << ", ";
  264   OS << "const SourceInfo &I) {\n";
  273         OS << "#ifdef GET_LINK_IMPL\n";
  274         OS << "return emit" << ID << "\n";
  274         OS << "return emit" << ID << "\n";
  275         OS << "#else\n";
  276         OS << "return emit" << N;
  278         OS << "\n#endif\n";
  280         OS << "return emit" << ID;
  283       OS << "(";
  285         OS << "A" << I << ", ";
  285         OS << "A" << I << ", ";
  287       OS << "I);\n";
  293       OS << "switch (T" << I << "){\n";
  293       OS << "switch (T" << I << "){\n";
  296         OS << "case PT_" << Case->getName() << ":\n";
  296         OS << "case PT_" << Case->getName() << ":\n";
  303         OS << "default: llvm_unreachable(\"invalid type\");\n";
  304       OS << "}\n";
  305       OS << "llvm_unreachable(\"invalid enum value\");\n";
  312   OS << "}\n";
  313   OS << "#endif\n";
  320   OS << "#ifdef GET_EVAL_IMPL\n";
  324     OS << "bool EvalEmitter::emit" << ID << "(";
  324     OS << "bool EvalEmitter::emit" << ID << "(";
  326       OS << Args[I]->getValueAsString("Name") << " A" << I << ",";
  326       OS << Args[I]->getValueAsString("Name") << " A" << I << ",";
  327     OS << "const SourceInfo &L) {\n";
  328     OS << "if (!isActive()) return true;\n";
  329     OS << "CurrentSource = L;\n";
  331     OS << "return " << N;
  333     OS << "(S, OpPC";
  335       OS << ", A" << I;
  336     OS << ");\n";
  337     OS << "}\n";
  340   OS << "#endif\n";
  346   OS << "<";
  349       OS << ", ";
  350     OS << "PT_" << Types[I]->getName();
  352   OS << ">";
tools/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
  179   OS << "#include \"llvm/ADT/StringRef.h\"\n";
  180   OS << "using namespace clang;\n\n";
  205       SS << "  OCLT_" + T->getValueAsString("Name") << ",\n";
  218   OS << "enum OpenCLTypeID {\n";
  236   OS << "};\n";
  239   OS << R"(
  365   OS << "static const OpenCLTypeStruct TypeTable[] = {\n";
  374     OS << "  // " << T.second << "\n"
  374     OS << "  // " << T.second << "\n"
  375        << "  {OCLT_" << T.first->getValueAsString("Name") << ", "
  375        << "  {OCLT_" << T.first->getValueAsString("Name") << ", "
  376        << T.first->getValueAsInt("VecWidth") << ", "
  377        << T.first->getValueAsBit("IsPointer") << ", "
  378        << T.first->getValueAsBit("IsConst") << ", "
  379        << T.first->getValueAsBit("IsVolatile") << ", "
  380        << AccessQual << ", "
  380        << AccessQual << ", "
  381        << T.first->getValueAsString("AddrSpace") << "},\n";
  383   OS << "};\n\n";
  390   OS << "static const unsigned SignatureTable[] = {\n";
  392     OS << "  // " << P.second << "\n  ";
  392     OS << "  // " << P.second << "\n  ";
  394       OS << TypeMap.find(R)->second << ", ";
  396     OS << "\n";
  398   OS << "};\n\n";
  404   OS << "static const OpenCLBuiltinStruct BuiltinTable[] = {\n";
  407     OS << "  // " << (Index + 1) << ": " << FOM.first << "\n";
  407     OS << "  // " << (Index + 1) << ": " << FOM.first << "\n";
  407     OS << "  // " << (Index + 1) << ": " << FOM.first << "\n";
  410       OS << "  { " << Overload.second << ", "
  410       OS << "  { " << Overload.second << ", "
  411          << Overload.first->getValueAsListOfDefs("Signature").size() << ", "
  413          << ", "
  415          << " },\n";
  419   OS << "};\n\n";
  429     SS << "return std::make_pair(" << CumulativeIndex << ", " << Ov.size()
  429     SS << "return std::make_pair(" << CumulativeIndex << ", " << Ov.size()
  430        << ");";
  437   OS << R"(
  448   OS << "  return std::make_pair(0, 0);\n";
  449   OS << "} // isOpenCLBuiltin\n";
  453   OS << R"(
  473     OS << "  constexpr unsigned List"
  474        << VectList->getValueAsString("Name") << "[] = {";
  476       OS << V << ", ";
  478     OS << "};\n";
  483   OS << "\n  switch (Ty.ID) {\n";
  508     OS << "    case OCLT_" << ITE.first.str() << ":\n"
  508     OS << "    case OCLT_" << ITE.first.str() << ":\n"
  509        << "      switch (Ty.AccessQualifier) {\n"
  510        << "        case OCLAQ_None:\n"
  511        << "          llvm_unreachable(\"Image without access qualifier\");\n";
  513       OS << StringSwitch<const char *>(
  518          << "          QT.push_back(Context."
  519          << Image->getValueAsDef("QTName")->getValueAsString("Name") << ");\n"
  520          << "          break;\n";
  522     OS << "      }\n"
  523        << "      break;\n";
  528     OS << "    case OCLT_" << GenType->getValueAsString("Name") << ":\n";
  528     OS << "    case OCLT_" << GenType->getValueAsString("Name") << ":\n";
  529     OS << "      QT.append({";
  540         OS << "Context."
  541            << T->getValueAsDef("QTName")->getValueAsString("Name") << ", ";
  544     OS << "});\n";
  547     OS << "      GenTypeNumTypes = "
  550        << ";\n";
  553     OS << "      GenVectorSizes = List"
  555        << ";\n";
  556     OS << "      break;\n";
  579     OS << "    case OCLT_" << T->getValueAsString("Name") << ":\n";
  579     OS << "    case OCLT_" << T->getValueAsString("Name") << ":\n";
  580     OS << "      QT.push_back(Context." << QT->getValueAsString("Name")
  581        << ");\n";
  582     OS << "      break;\n";
  586   OS << "    default:\n"
  587      << "      llvm_unreachable(\"OpenCL builtin type not handled yet\");\n"
  588      << "  } // end of switch (Ty.ID)\n\n";
  594   OS << "  // Construct the different vector types for each generic type.\n";
  595   OS << "  if (Ty.ID >= " << TypeList.size() << ") {";
  595   OS << "  if (Ty.ID >= " << TypeList.size() << ") {";
  596   OS << R"(
  608   OS << R"(
  640   OS << "\n} // OCL2Qual\n";
tools/clang/utils/TableGen/ClangOptionDocEmitter.cpp
  208      << std::string(Heading.size(), "=~-_'+<>"[Depth]) << "\n";
  275     OS << " (equivalent to ";
  279     OS << ")";
  286       OS << ", ";
  332     OS << ".. program:: " << DocInfo->getValueAsString("Program")
  333        << SphinxWorkaroundSuffix << "\n";
  336   OS << ".. option:: ";
  342     OS << "\n.. program:: " << DocInfo->getValueAsString("Program");
  343   OS << "\n\n";
  349     OS << Description << "\n\n";
  367     OS << Description << "\n\n";
  390   OS << DocInfo->getValueAsString("Intro") << "\n";
  391   OS << ".. program:: " << DocInfo->getValueAsString("Program") << "\n";
  391   OS << ".. program:: " << DocInfo->getValueAsString("Program") << "\n";
tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp
  142   OS << "CHECKER(" << "\"";
  142   OS << "CHECKER(" << "\"";
  143   OS.write_escaped(getCheckerFullName(&R)) << "\", ";
  144   OS << R.getName() << ", ";
  145   OS << "\"";
  146   OS.write_escaped(getStringValue(R, "HelpText")) << "\", ";
  147   OS << "\"";
  149   OS << "\", ";
  152     OS << "false";
  154     OS << "true";
  156   OS << ")\n";
  161   OS << "\"";
  162   OS.write_escaped(getCheckerOptionType(R)) << "\", \"";
  163   OS.write_escaped(FullName) << "\", ";
  164   OS << '\"' << getStringValue(R, "CmdFlag") << "\", ";
  166   OS.write_escaped(getStringValue(R, "Desc")) << "\", ";
  168   OS.write_escaped(getStringValue(R, "DefaultVal")) << "\", ";
  170   OS << getDevelopmentStage(R) << "\", ";
  173     OS << "false";
  175     OS << "true";
  184   OS << "// This file is automatically generated. Do not edit this file by "
  191   OS << "\n"
  202       OS << "PACKAGE(" << "\"";
  202       OS << "PACKAGE(" << "\"";
  204       OS << ")\n";
  207   OS << "#endif // GET_PACKAGES\n"
  225   OS << "\n"
  235       OS << "PACKAGE_OPTION(";
  237       OS << ")\n";
  240   OS << "#endif // GET_PACKAGE_OPTIONS\n"
  251   OS << "\n"
  257   OS << "\n"
  266   OS << "\n"
  274       OS << "CHECKER_DEPENDENCY(";
  276       OS.write_escaped(getCheckerFullName(Checker)) << "\", ";
  279       OS << ")\n";
  282   OS << "\n"
  300   OS << "\n"
  310       OS << "CHECKER_OPTION(";
  312       OS << ")\n";
  315   OS << "#endif // GET_CHECKER_OPTIONS\n"
tools/clang/utils/TableGen/ClangTypeNodesEmitter.cpp
  137   Out << "#ifndef " << macroName << "\n";
  137   Out << "#ifndef " << macroName << "\n";
  138   Out << "#  define " << macroName << args
  139   	  << " " << fallbackMacroName << args << "\n";
  139   	  << " " << fallbackMacroName << args << "\n";
  140   Out << "#endif\n";
  180 		Out << macroName << "(" << id << ", " << baseName << ")\n";
  180 		Out << macroName << "(" << id << ", " << baseName << ")\n";
  180 		Out << macroName << "(" << id << ", " << baseName << ")\n";
  186 	Out << "#ifdef " LastTypeMacroName "\n"
  187 	       LastTypeMacroName "(" << getIdForType(Types.back()) << ")\n"
  193 	Out << "#ifdef " LeafTypeMacroName "\n";
  197 		Out << LeafTypeMacroName "(" << getIdForType(type) << ")\n";
  197 		Out << LeafTypeMacroName "(" << getIdForType(type) << ")\n";
  200 	Out << "#undef " LeafTypeMacroName "\n"
  210 		Out << "#undef " << macroName << "\n";
  210 		Out << "#undef " << macroName << "\n";
tools/clang/utils/TableGen/MveEmitter.cpp
  536     OS << (AddressType ? "EmitPointerWithAlignment" : "EmitScalarExpr")
  537        << "(E->getArg(" << ArgNum << "))";
  537        << "(E->getArg(" << ArgNum << "))";
  556     OS << "llvm::ConstantInt::get("
  558        << ", ";
  560        << ")";
  577     OS << "Builder.CreateIntCast(" << V->varname() << ", "
  577     OS << "Builder.CreateIntCast(" << V->varname() << ", "
  578        << ParamAlloc.allocParam("llvm::Type *", IntegerType->llvmName()) << ", "
  583        << ")";
  607     OS << "Builder." << BuilderMethod << "(";
  607     OS << "Builder." << BuilderMethod << "(";
  613         OS << Sep
  617         OS << Sep << Arg->varname();
  621     OS << ")";
  647     OS << "Builder.CreateCall(CGM.getIntrinsic(" << IntNo;
  649       OS << ", llvm::SmallVector<llvm::Type *, " << ParamTypes.size() << "> {";
  649       OS << ", llvm::SmallVector<llvm::Type *, " << ParamTypes.size() << "> {";
  652         OS << Sep << ParamAlloc.allocParam("llvm::Type *", T->llvmName());
  655       OS << "}";
  657     OS << "), llvm::SmallVector<Value *, " << Args.size() << "> {";
  657     OS << "), llvm::SmallVector<Value *, " << Args.size() << "> {";
  660       OS << Sep << Arg->varname();
  663     OS << "})";
  736         OS << "  " << kv.first << " = " << kv.second << ";\n";
  736         OS << "  " << kv.first << " = " << kv.second << ";\n";
  736         OS << "  " << kv.first << " = " << kv.second << ";\n";
  737       OS << "  break; // custom code gen\n";
  749       OS << "  ";
  752         OS << "return "; // FIXME: what if the top-level thing is void?
  757           OS << " ";
  758         OS << V->varname() << " = ";
  761       OS << ";\n";
 1262   parts[0] << "typedef uint16_t mve_pred16_t;\n";
 1263   parts[Float] << "typedef __fp16 float16_t;\n"
 1270     OS << "typedef __attribute__((neon_vector_type(" << VT->lanes() << "))) "
 1270     OS << "typedef __attribute__((neon_vector_type(" << VT->lanes() << "))) "
 1271        << ST->cName() << " " << VT->cName() << ";\n";
 1271        << ST->cName() << " " << VT->cName() << ";\n";
 1277       OS << "typedef struct { " << VT->cName() << " val[" << n << "]; } "
 1277       OS << "typedef struct { " << VT->cName() << " val[" << n << "]; } "
 1277       OS << "typedef struct { " << VT->cName() << " val[" << n << "]; } "
 1278          << MT->cName() << ";\n";
 1281   parts[0] << "\n";
 1282   parts[Float] << "\n";
 1376         OS << "static __inline__ __attribute__(("
 1377            << (Polymorphic ? "overloadable, " : "")
 1378            << "__clang_arm_mve_alias(__builtin_arm_mve_" << Int.fullName()
 1379            << ")))\n"
 1380            << RetTypeName << FunctionName << "(" << ArgTypesString << ");\n";
 1380            << RetTypeName << FunctionName << "(" << ArgTypesString << ");\n";
 1385     part << "\n";
 1390   OS << "/*===---- arm_mve.h - ARM MVE intrinsics "
 1424       OS << "#if " << condition << "\n\n";
 1424       OS << "#if " << condition << "\n\n";
 1427       OS << "#endif /* " << condition << " */\n\n";
 1427       OS << "#endif /* " << condition << " */\n\n";
 1430   OS << "#endif /* __ARM_MVE_H */\n";
 1436     OS << "TARGET_HEADER_BUILTIN(__builtin_arm_mve_" << Int.fullName()
 1437        << ", \"\", \"n\", \"arm_mve.h\", ALL_LANGUAGES, \"\")\n";
 1447         OS << "BUILTIN(__builtin_arm_mve_" << Name << ", \"vi.\", \"nt\")\n";
 1447         OS << "BUILTIN(__builtin_arm_mve_" << Name << ", \"vi.\", \"nt\")\n";
 1466       OS << "case ARM::BI__builtin_arm_mve_" << Name << ":\n";
 1466       OS << "case ARM::BI__builtin_arm_mve_" << Name << ":\n";
 1621       OS << prefix << "case ARM::BI__builtin_arm_mve_" << OI.Name << ":";
 1621       OS << prefix << "case ARM::BI__builtin_arm_mve_" << OI.Name << ":";
 1621       OS << prefix << "case ARM::BI__builtin_arm_mve_" << OI.Name << ":";
 1624     OS << " {\n";
 1630         OS << "  " << Type;
 1632           OS << " ";
 1633         OS << " Param" << utostr(i) << ";\n";
 1633         OS << " Param" << utostr(i) << ";\n";
 1638       OS << "  switch (BuiltinID) {\n";
 1640         OS << "  case ARM::BI__builtin_arm_mve_" << OI.Name << ":\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";
 1642           OS << "    Param" << utostr(i) << " = " << OI.ParamValues[i] << ";\n";
 1643         OS << "    break;\n";
 1645       OS << "  }\n";
 1651     OS << MG.Code << "}\n";
 1658     OS << "case ARM::BI__builtin_arm_mve_" << Int.fullName() << ":\n"
 1658     OS << "case ARM::BI__builtin_arm_mve_" << Int.fullName() << ":\n"
 1659        << "  return AliasName == \"" << Int.fullName() << "\"";
 1659        << "  return AliasName == \"" << Int.fullName() << "\"";
 1661       OS << " || AliasName == \"" << Int.shortName() << "\"";
 1661       OS << " || AliasName == \"" << Int.shortName() << "\"";
 1662     OS << ";\n";
tools/clang/utils/TableGen/NeonEmitter.cpp
 2101   OS << "#ifdef GET_NEON_BUILTINS\n";
 2124     OS << S << "\n";
 2125   OS << "#endif\n\n";
 2132   OS << "#ifdef GET_NEON_OVERLOAD_CHECK\n";
 2214     OS << "case NEON::BI__builtin_neon_" << I.first << ": ";
 2214     OS << "case NEON::BI__builtin_neon_" << I.first << ": ";
 2215     OS << "mask = 0x" << Twine::utohexstr(OI.Mask) << "ULL";
 2215     OS << "mask = 0x" << Twine::utohexstr(OI.Mask) << "ULL";
 2217       OS << "; PtrArgNum = " << OI.PtrArgNum;
 2219       OS << "; HasConstPtr = true";
 2220     OS << "; break;\n";
 2222   OS << "#endif\n\n";
 2227   OS << "#ifdef GET_NEON_IMMEDIATE_CHECK\n";
 2295     OS << "case NEON::BI__builtin_neon_" << Def->getMangledName() << ": "
 2295     OS << "case NEON::BI__builtin_neon_" << Def->getMangledName() << ": "
 2296        << "i = " << Idx << ";";
 2296        << "i = " << Idx << ";";
 2298       OS << " l = " << LowerBound << ";";
 2298       OS << " l = " << LowerBound << ";";
 2300       OS << " u = " << UpperBound << ";";
 2300       OS << " u = " << UpperBound << ";";
 2301     OS << " break;\n";
 2306   OS << "#endif\n\n";
 2333   OS << "/*===---- arm_neon.h - ARM Neon intrinsics "
 2375   OS << "#ifndef __ARM_NEON_H\n";
 2376   OS << "#define __ARM_NEON_H\n\n";
 2378   OS << "#if !defined(__ARM_NEON)\n";
 2379   OS << "#error \"NEON support not enabled\"\n";
 2380   OS << "#endif\n\n";
 2382   OS << "#include <stdint.h>\n\n";
 2385   OS << "typedef float float32_t;\n";
 2386   OS << "typedef __fp16 float16_t;\n";
 2388   OS << "#ifdef __aarch64__\n";
 2389   OS << "typedef double float64_t;\n";
 2390   OS << "#endif\n\n";
 2393   OS << "#ifdef __aarch64__\n";
 2394   OS << "typedef uint8_t poly8_t;\n";
 2395   OS << "typedef uint16_t poly16_t;\n";
 2396   OS << "typedef uint64_t poly64_t;\n";
 2397   OS << "typedef __uint128_t poly128_t;\n";
 2398   OS << "#else\n";
 2399   OS << "typedef int8_t poly8_t;\n";
 2400   OS << "typedef int16_t poly16_t;\n";
 2401   OS << "#endif\n";
 2417       OS << "#endif\n";
 2421       OS << "#ifdef __aarch64__\n";
 2426       OS << "typedef __attribute__((neon_polyvector_type(";
 2428       OS << "typedef __attribute__((neon_vector_type(";
 2432     OS << T.getNumElements() << "))) ";
 2434     OS << " " << T.str() << ";\n";
 2434     OS << " " << T.str() << ";\n";
 2437     OS << "#endif\n";
 2438   OS << "\n";
 2450         OS << "#endif\n";
 2454         OS << "#ifdef __aarch64__\n";
 2460       OS << "typedef struct " << VT.str() << " {\n";
 2460       OS << "typedef struct " << VT.str() << " {\n";
 2461       OS << "  " << T.str() << " val";
 2461       OS << "  " << T.str() << " val";
 2462       OS << "[" << NumMembers << "]";
 2462       OS << "[" << NumMembers << "]";
 2463       OS << ";\n} ";
 2464       OS << VT.str() << ";\n";
 2465       OS << "\n";
 2469     OS << "#endif\n";
 2470   OS << "\n";
 2472   OS << "#define __ai static __inline__ __attribute__((__always_inline__, "
 2508           OS << "#endif\n";
 2511           OS << "#if " << InGuard << "\n";
 2511           OS << "#if " << InGuard << "\n";
 2523     OS << "#endif\n";
 2525   OS << "\n";
 2526   OS << "#undef __ai\n\n";
 2527   OS << "#endif /* __ARM_NEON_H */\n";
 2533   OS << "/*===---- arm_fp16.h - ARM FP16 intrinsics "
 2572   OS << "#ifndef __ARM_FP16_H\n";
 2573   OS << "#define __ARM_FP16_H\n\n";
 2575   OS << "#include <stdint.h>\n\n";
 2577   OS << "typedef __fp16 float16_t;\n";
 2579   OS << "#define __ai static __inline__ __attribute__((__always_inline__, "
 2615           OS << "#endif\n";
 2618           OS << "#if " << InGuard << "\n";
 2618           OS << "#if " << InGuard << "\n";
 2630     OS << "#endif\n";
 2632   OS << "\n";
 2633   OS << "#undef __ai\n\n";
 2634   OS << "#endif /* __ARM_FP16_H */\n";
tools/dsymutil/BinaryHolder.cpp
   56     WithColor::note() << "loaded archive '" << ArchiveFilename << "'\n";
   56     WithColor::note() << "loaded archive '" << ArchiveFilename << "'\n";
   95     WithColor::note() << "loaded object.\n";
  179               WithColor::warning() << "member has timestamp mismatch.\n";
  184             WithColor::note() << "found member in archive.\n";
  214     WithColor::note() << "trying to open '" << Filename << "'\n";
  214     WithColor::note() << "trying to open '" << Filename << "'\n";
tools/dsymutil/DebugMap.cpp
   57   OS << getObjectFilename() << ":\n";
   72       OS << "\t????????????????";
  246     WithColor::warning() << "Unable to open " << Path << " "
  246     WithColor::warning() << "Unable to open " << Path << " "
  252       WithColor::warning() << "Unable to open " << Path << " "
  252       WithColor::warning() << "Unable to open " << Path << " "
tools/dsymutil/DwarfLinker.cpp
  233   WithColor::note() << "    in DIE:\n";
  586     outs() << "Found valid debug map entry: " << ValidReloc.Mapping->getKey()
  587            << "\t"
  656     outs() << "Keeping variable DIE:";
  693     outs() << "Keeping subprogram DIE:";
 2181     outs() << "Found clang module reference " << PCMfile;
 2195       outs() << " [cached].\n";
 2199     outs() << " ...\n";
 2265           WithColor::note() << "The clang module cache may have expired since "
 2277               << "Linking a static library that was built with "
 2347     outs() << "cloning .debug_info from " << Filename << "\n";
 2347     outs() << "cloning .debug_info from " << Filename << "\n";
 2529       outs() << "copy parseable Swift interface " << InterfaceFile << " -> "
 2529       outs() << "copy parseable Swift interface " << InterfaceFile << " -> "
 2591       outs() << "DEBUG MAP OBJECT: " << LinkContext.DMO.getObjectFilename()
 2592              << "\n";
 2617               << "Timestamp mismatch for " << File << ": "
 2617               << "Timestamp mismatch for " << File << ": "
 2618               << Stat.getLastModificationTime() << " and "
 2619               << sys::TimePoint<>(LinkContext.DMO.getTimestamp()) << "\n";
 2642         outs() << "No valid relocations found. Skipping.\n";
 2664         outs() << "Input compilation unit:";
tools/dsymutil/MachODebugMapParser.cpp
  106     WithColor::warning() << "("
  109                          << ") " << File << " " << Msg << "\n";
  109                          << ") " << File << " " << Msg << "\n";
  109                          << ") " << File << " " << Msg << "\n";
  242   OS << "-----------------------------------"
  244   OS << "Symbol table for: '" << BinaryPath << "' (" << Arch.data() << ")\n";
  244   OS << "Symbol table for: '" << BinaryPath << "' (" << Arch.data() << ")\n";
  244   OS << "Symbol table for: '" << BinaryPath << "' (" << Arch.data() << ")\n";
  244   OS << "Symbol table for: '" << BinaryPath << "' (" << Arch.data() << ")\n";
  245   OS << "-----------------------------------"
  247   OS << "Index    n_strx   n_type             n_sect n_desc n_value\n";
  248   OS << "======== -------- ------------------ ------ ------ ----------------\n";
  257      << "] "
  262      << format_hex_no_prefix(Type, 2) << " (";
  268       OS << "PEXT ";
  270       OS << "     ";
  273       OS << "UNDF";
  276       OS << "ABS ";
  279       OS << "SECT";
  282       OS << "PBUD";
  285       OS << "INDR";
  288       OS << format_hex_no_prefix(Type, 2) << "    ";
  292       OS << " EXT";
  294       OS << "    ";
  297   OS << ") "
  300      << "     "
  303      << "   "
  309     OS << " '" << Name << "'";
  309     OS << " '" << Name << "'";
  309     OS << " '" << Name << "'";
  311   OS << "\n";
  331   OS << "\n\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))
  363                        << "\n";
tools/dsymutil/MachOUtils.cpp
   62     WithColor::error() << "lipo: " << Path.getError().message() << "\n";
   62     WithColor::error() << "lipo: " << Path.getError().message() << "\n";
   69     WithColor::error() << "lipo: " << ErrMsg << "\n";
   69     WithColor::error() << "lipo: " << ErrMsg << "\n";
   82       WithColor::error() << "while keeping " << ArchFiles.front().path()
   83                          << " as " << OutputFileName << ": "
   83                          << " as " << OutputFileName << ": "
   84                          << toString(std::move(E)) << "\n";
  109     outs() << "Running lipo\n";
  112     outs() << "\n";
tools/dsymutil/SymbolMap.cpp
   39     WithColor::warning() << "reference to a unexisting unobfuscated string "
   40                          << Input << ": symbol map mismatch?\n"
  120     WithColor::warning() << SymbolMapPath << ": " << EC.message()
  121                          << ": not unobfuscating.\n";
  137                          << " is missing version string: assuming 1.0.\n";
  147                          << " has unsupported symbol map version" << VersionNum
  148                          << ": not unobfuscating.\n";
tools/dsymutil/dsymutil.cpp
  296   PL << "<?xml version=\"1.0\" encoding=\"UTF-8\"\?>\n"
  297      << "<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" "
  298      << "\"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n"
  299      << "<plist version=\"1.0\">\n"
  300      << "\t<dict>\n"
  301      << "\t\t<key>CFBundleDevelopmentRegion</key>\n"
  302      << "\t\t<string>English</string>\n"
  303      << "\t\t<key>CFBundleIdentifier</key>\n"
  304      << "\t\t<string>com.apple.xcode.dsym." << BI.IDStr << "</string>\n"
  304      << "\t\t<string>com.apple.xcode.dsym." << BI.IDStr << "</string>\n"
  305      << "\t\t<key>CFBundleInfoDictionaryVersion</key>\n"
  306      << "\t\t<string>6.0</string>\n"
  307      << "\t\t<key>CFBundlePackageType</key>\n"
  308      << "\t\t<string>dSYM</string>\n"
  309      << "\t\t<key>CFBundleSignature</key>\n"
  310      << "\t\t<string>\?\?\?\?</string>\n";
  313     PL << "\t\t<key>CFBundleShortVersionString</key>\n";
  314     PL << "\t\t<string>";
  316     PL << "</string>\n";
  319   PL << "\t\t<key>CFBundleVersion</key>\n";
  320   PL << "\t\t<string>";
  322   PL << "</string>\n";
  325     PL << "\t\t<key>Toolchain</key>\n";
  326     PL << "\t\t<string>";
  328     PL << "</string>\n";
  331   PL << "\t</dict>\n"
  332      << "</plist>\n";
  351     WithColor::warning() << "verification skipped for " << Arch
  352                          << "because writing to stdout.\n";
  358     WithColor::error() << OutputFile << ": " << toString(BinOrErr.takeError());
  365     os << "Verifying DWARF for architecture: " << Arch << "\n";
  365     os << "Verifying DWARF for architecture: " << Arch << "\n";
  370       WithColor::error() << "verification failed for " << Arch << '\n';
  449     WithColor::warning() << "ignoring unknown option: " << Arg->getSpelling()
  485       WithColor::error() << "unsupported cpu architecture: '" << Arch << "'\n";
  485       WithColor::error() << "unsupported cpu architecture: '" << Arch << "'\n";
  505       WithColor::error() << "cannot parse the debug map for '" << InputFile
  506                          << "': " << EC.message() << '\n';
  520       WithColor::error() << "no architecture to link\n";
  552             << "no debug symbols in executable (-arch "
  553             << MachOUtils::getArchName(Map->getTriple().getArchName()) << ")\n";
  586           WithColor::error() << OutputFile << ": " << EC.message();
tools/llc/llc.cpp
  266     errs() << LLVMContext::getDiagnosticMessagePrefix(DI.getSeverity()) << ": ";
  266     errs() << LLVMContext::getDiagnosticMessagePrefix(DI.getSeverity()) << ": ";
  268     errs() << "\n";
  283     WithColor::note() << "!srcloc = " << LocCookie << "\n";
  283     WithColor::note() << "!srcloc = " << LocCookie << "\n";
  348         << "input language must be '', 'IR' or 'MIR'\n";
  372         << "run-pass " << PassName << " is not registered.\n";
  372         << "run-pass " << PassName << " is not registered.\n";
  381         << "cannot create pass: " << PI->getPassName() << "\n";
  381         << "cannot create pass: " << PI->getPassName() << "\n";
  440     WithColor::error(errs(), argv[0]) << "invalid optimization level.\n";
  513     WithColor::error(errs(), Prefix) << "input module is broken!\n";
  524         << ": warning: ignoring -mc-relax-all because filetype != obj";
  550             << "run-pass is for .mir file only.\n";
  556             << "run-pass cannot be used with "
  557             << TPC.getLimitedCodeGenPipelineReason(" and ") << ".\n";
  576           << "target does not support generation of this"
  577           << " file type!\n";
  615             << "Running the pass manager twice changed the output.\n"
tools/lld/COFF/Driver.cpp
  617       os << arg->getSpelling() << sys::path::filename(arg->getValue()) << "\n";
  620       os << toString(*arg) << "\n";
  626     os << "/libpath:" << quote(relPath) << "\n";
  626     os << "/libpath:" << quote(relPath) << "\n";
  630     os << quote(relativeToRoot(path)) << "\n";
 1145     outs() << getLLDVersion() << "\n";
tools/lld/COFF/DriverUtils.cpp
  365   os << "<?xml version=\"1.0\" standalone=\"yes\"?>\n"
  366      << "<assembly xmlns=\"urn:schemas-microsoft-com:asm.v1\"\n"
  367      << "          manifestVersion=\"1.0\">\n";
  369     os << "  <trustInfo>\n"
  370        << "    <security>\n"
  371        << "      <requestedPrivileges>\n"
  372        << "         <requestedExecutionLevel level=" << config->manifestLevel
  373        << " uiAccess=" << config->manifestUIAccess << "/>\n"
  373        << " uiAccess=" << config->manifestUIAccess << "/>\n"
  374        << "      </requestedPrivileges>\n"
  375        << "    </security>\n"
  376        << "  </trustInfo>\n";
  379     os << "  <dependency>\n"
  380        << "    <dependentAssembly>\n"
  381        << "      <assemblyIdentity " << config->manifestDependency << " />\n"
  381        << "      <assemblyIdentity " << config->manifestDependency << " />\n"
  382        << "    </dependentAssembly>\n"
  383        << "  </dependency>\n";
  385   os << "</assembly>\n";
tools/lld/COFF/MapFile.cpp
   81     os << indent16 << toString(*syms[i]);
  105   os << "Address  Size     Align Out     In      Symbol\n";
  118       os << indent8 << sc->file->getName() << ":(" << sc->getSectionName()
  118       os << indent8 << sc->file->getName() << ":(" << sc->getSectionName()
  119          << ")\n";
tools/lld/COFF/MinGW.cpp
  156   os << "EXPORTS\n";
  158     os << "    " << e.exportName << " "
  158     os << "    " << e.exportName << " "
  159        << "@" << e.ordinal;
  163         os << " DATA";
  165     os << "\n";
tools/lld/COFF/PDB.cpp
 1321     stream << format_decimal(v, 15) << " " << s << '\n';
tools/lld/COFF/SymbolTable.cpp
  169     os << "\n>>> referenced by ";
  171       os << loc.fileLine.first << ":" << loc.fileLine.second
  172          << "\n>>>               ";
  175       os << ":(" << toString(*loc.sym) << ')';
  204   os << "undefined symbol: " << toString(*undefDiag.sym);
  220     os << "\n>>> referenced " << numRefs - i << " more times";
  220     os << "\n>>> referenced " << numRefs - i << " more times";
  540   os << "\n>>> defined at ";
  542     os << fileLine->first << ":" << fileLine->second << "\n>>>            ";
  542     os << fileLine->first << ":" << fileLine->second << "\n>>>            ";
  568   os << "duplicate symbol: " << toString(*existing);
tools/lld/COFF/Writer.cpp
 1837   errs() << "warning: don't know how to handle .pdata.\n";
tools/lld/Common/ErrorHandler.cpp
  152   *errorOS << logName << ": " << msg << "\n";
  152   *errorOS << logName << ": " << msg << "\n";
  157   outs() << msg << "\n";
  168   *errorOS << sep << getLocation(msg) << ": " << Colors::MAGENTA
  169            << "warning: " << Colors::RESET << msg << "\n";
  169            << "warning: " << Colors::RESET << msg << "\n";
  193     *errorOS << sep << getLocation(msg) << ": " << Colors::RED
  194              << "error: " << Colors::RESET << msg << "\n";
  194              << "error: " << Colors::RESET << msg << "\n";
  196     *errorOS << sep << getLocation(msg) << ": " << Colors::RED
  197              << "error: " << Colors::RESET << errorLimitExceededMsg << "\n";
  197              << "error: " << Colors::RESET << errorLimitExceededMsg << "\n";
tools/lld/ELF/CallGraphSort.cpp
  253                 os << sym->getName() << "\n";
tools/lld/ELF/DriverUtils.cpp
  150   outs() << "\n";
  157   outs() << config->progName << ": supported targets: elf\n";
  171   os << "--chroot .\n";
  179       os << quote(rewritePath(arg->getValue())) << "\n";
  186       os << "-o " << quote(sys::path::filename(arg->getValue())) << "\n";
  186       os << "-o " << quote(sys::path::filename(arg->getValue())) << "\n";
  195       os << arg->getSpelling() << " " << quote(rewritePath(arg->getValue()))
  196          << "\n";
  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"
  136     os << indent8 << toString(p.sec->file) << ":(" << p.sec->name << "+0x"
  136     os << indent8 << toString(p.sec->file) << ":(" << p.sec->name << "+0x"
  161      << "     Size Align Out     In      Symbol\n";
  189           os << indent8 << toString(isec) << '\n';
  199         os << indent8 << cmd->commandString << '\n';
  208         os << indent8 << cmd->commandString << '\n';
  216   outs() << left_justify(a, 49) << " " << b << "\n";
  216   outs() << left_justify(a, 49) << " " << b << "\n";
  247   outs() << "Cross Reference Table\n\n";
tools/lld/ELF/Thunks.cpp
  751     os << ".plt_call32.";
  753     os << ".got2.plt_pic32.";
  755     os << ".plt_pic32.";
tools/lld/MinGW/Driver.cpp
   88   outs() << "\n";
  375     outs() << llvm::join(linkArgs, " ") << "\n";
tools/lld/lib/Core/Resolver.cpp
  107                     << "       UndefinedAtom: "
  109                     << ", name=" << atom.get()->name() << "\n");
  109                     << ", name=" << atom.get()->name() << "\n");
  126                     << "         DefinedAtom: "
  128                     << ", file=#"
  130                     << ", atom=#"
  132                     << ", name="
  134                     << ", type="
  136                     << "\n");
  151                     << "   SharedLibraryAtom: "
  153                     << ", name="
  155                     << "\n");
  166                     << "       AbsoluteAtom: "
  168                     << ", name="
  170                     << "\n");
  214                   llvm::dbgs() << "******** Resolving undefines:\n");
  221                     llvm::dbgs() << "Loading file #" << index << "\n");
  221                     llvm::dbgs() << "Loading file #" << index << "\n");
  227                    << ": " << ec.message() << "\n";
  227                    << ": " << ec.message() << "\n";
  231                     llvm::dbgs() << "Loaded file: " << file->path() << "\n");
  231                     llvm::dbgs() << "Loaded file: " << file->path() << "\n");
  255         llvm::errs() << "Error in " + file->path() << ": ";
  269         llvm::errs() << "Error in " + file->path() << ": ";
  282         llvm::errs() << "Error in " + file->path() << ": ";
  296                   llvm::dbgs() << "******** Updating references:\n");
  345                   llvm::dbgs() << "******** Dead stripping unused atoms:\n");
  393                   llvm::dbgs() << "******** Checking for undefines:\n");
  427       llvm::errs() << "Undefined symbol: " << undef->file().path()
  428                    << ": " << _ctx.demangle(undef->name())
  429                    << "\n";
  435     llvm::errs() << "symbol(s) not found\n";
  442                   llvm::dbgs() << "******** Removing coalesced away atoms:\n");
  454                   llvm::dbgs() << "******** Resolving atom references:\n");
  460     DEBUG_WITH_TYPE("resolver", llvm::dbgs() << "Found undefines... ");
  462       DEBUG_WITH_TYPE("resolver", llvm::dbgs() << "which we don't allow\n");
  465     DEBUG_WITH_TYPE("resolver", llvm::dbgs() << "which we are ok with\n");
  469   DEBUG_WITH_TYPE("resolver", llvm::dbgs() << "******** Finished resolver\n");
  476   DEBUG_WITH_TYPE("resolver", llvm::dbgs() << "Resolver final atom list:\n");
  483                       << ", file=#"
  485                       << ", atom=#"
  487                       << ", name="
  489                       << ", type="
  491                       << "\n");
  495                       << ", name="
  497                       << "\n");
tools/lld/lib/Core/SymbolTable.cpp
  160       llvm::errs() << "Size mismatch: "
  161                    << existing->name() << " (" << existingSize << ") "
  161                    << existing->name() << " (" << existingSize << ") "
  162                    << newAtom.name() << " (" << newSize << ")\n";
  162                    << newAtom.name() << " (" << newSize << ")\n";
  166       llvm::errs() << "Duplicate symbols: "
  168                    << ":"
  170                    << " and "
  172                    << ":"
  174                    << "\n";
  196     llvm::errs() << "SymbolTable: error while merging " << name << "\n";
  196     llvm::errs() << "SymbolTable: error while merging " << name << "\n";
tools/lld/lib/Driver/DarwinLdDriver.cpp
  537       OS << "alignment for '-sectalign " << segName << " " << sectName
  537       OS << "alignment for '-sectalign " << segName << " " << sectName
  537       OS << "alignment for '-sectalign " << segName << " " << sectName
  537       OS << "alignment for '-sectalign " << segName << " " << sectName
  539          << "' is not a power of two, using " << llvm::format("0x%08X", align);
 1199     *errorHandler().errorOS << "Failed to run passes on file '"
 1200                             << ctx.outputPath() << "': ";
 1213     *errorHandler().errorOS << "Failed to write file '" << ctx.outputPath()
 1214                             << "': ";
tools/lld/lib/ReaderWriter/FileArchive.cpp
  148       llvm::errs() << memberPath << "\n";
  170                                        << "Table of contents for archive '"
  171                                        << _archive->getFileName() << "':\n");
  182                           << "'" << name << "'\n");
  182                           << "'" << name << "'\n");
tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp
  549                     << "Applying fixups to atom:\n"
  550                     << "   address="
  552                     << ", file=#"
  554                     << ", atom=#"
  556                     << ", name="
  558                     << ", type="
  560                     << "\n");
tools/lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp
  284     LLVM_DEBUG(llvm::dbgs() << "MachO Compact Unwind pass\n");
  321     LLVM_DEBUG(llvm::dbgs() << "  Splitting entries into pages\n");
  339                  << "    Page from "
  340                  << pages.back().entries[0].rangeStart->name() << " to "
  341                  << pages.back().entries.back().rangeStart->name() << " + "
  344                  << " has " << entriesInPage << " entries\n");
  344                  << " has " << entriesInPage << " entries\n");
  364     LLVM_DEBUG(llvm::dbgs() << "  Collecting __compact_unwind entries\n");
  373       LLVM_DEBUG(llvm::dbgs() << "    Entry for "
  374                               << unwindEntry.rangeStart->name() << ", encoding="
  378                    << ", personality="
  380                    << ", lsdaLoc=" << unwindEntry.lsdaLocation->name());
  456     LLVM_DEBUG(llvm::dbgs() << "  Creating __unwind_info entries\n");
  468                  << "    Entry for " << atom->name() << ", final encoding="
  468                  << "    Entry for " << atom->name() << ", final encoding="
tools/lld/lib/ReaderWriter/MachO/DebugInfo.h
   79   os << "Stab -- atom: " << llvm::format("%p", s.atom) << ", type: " << (uint32_t)s.type
   79   os << "Stab -- atom: " << llvm::format("%p", s.atom) << ", type: " << (uint32_t)s.type
   80      << ", other: " << (uint32_t)s.other << ", desc: " << s.desc << ", value: " << s.value
   80      << ", other: " << (uint32_t)s.other << ", desc: " << s.desc << ", value: " << s.value
   80      << ", other: " << (uint32_t)s.other << ", desc: " << s.desc << ", value: " << s.value
   81      << ", str: '" << s.str << "'";
   81      << ", str: '" << s.str << "'";
tools/lld/lib/ReaderWriter/MachO/LayoutPass.cpp
   60     s << "<anonymous " << definedAtom << ">";
   60     s << "<anonymous " << definedAtom << ">";
   63   s << " in ";
   65     s << "<anonymous>";
   76   llvm::dbgs() << "There's a cycle in a follow-on chain!\n";
   78     llvm::dbgs() << "  " << atomToDebugString(atom) << "\n";
   78     llvm::dbgs() << "  " << atomToDebugString(atom) << "\n";
   85       llvm::dbgs() << "    " << kindValStr
   86                    << ": " << atomToDebugString(ref->target()) << "\n";
   86                    << ": " << atomToDebugString(ref->target()) << "\n";
  138     llvm::dbgs() << "  file=" << atom->file().path()
  139                  << ", name=" << atom->name()
  140                  << ", size=" << atom->size()
  141                  << ", type=" << atom->contentType()
  142                  << ", ordinal=" << atom->ordinal()
  143                  << "\n";
  244   llvm::errs() << "Unordered: <" << left->name() << "> <"
  244   llvm::errs() << "Unordered: <" << left->name() << "> <"
  245                << right->name() << ">\n";
  256     llvm::dbgs() << "Layout: '" << lc._atom.get()->name()
  257                  << "' " << comp << " '"
  257                  << "' " << comp << " '"
  258                  << rc._atom.get()->name() << "' (" << reason << ")\n";
  258                  << rc._atom.get()->name() << "' (" << reason << ")\n";
  444   LLVM_DEBUG(llvm::dbgs() << "******** Laying out atoms:\n");
  459     llvm::dbgs() << "unsorted atoms:\n";
  472     llvm::dbgs() << "sorted atoms:\n";
  476   LLVM_DEBUG(llvm::dbgs() << "******** Finished laying out atoms\n");
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  828     llvm::errs() << "warning: ignoring " << sym << " in export list\n";
  828     llvm::errs() << "warning: ignoring " << sym << " in export list\n";
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  318                   llvm::dbgs() << "MachOFileLayout()\n"
  319       << "  startOfLoadCommands=" << _startOfLoadCommands << "\n"
  319       << "  startOfLoadCommands=" << _startOfLoadCommands << "\n"
  320       << "  countOfLoadCommands=" << _countOfLoadCommands << "\n"
  320       << "  countOfLoadCommands=" << _countOfLoadCommands << "\n"
  321       << "  endOfLoadCommands=" << _endOfLoadCommands << "\n"
  321       << "  endOfLoadCommands=" << _endOfLoadCommands << "\n"
  322       << "  startOfRelocations=" << _startOfRelocations << "\n"
  322       << "  startOfRelocations=" << _startOfRelocations << "\n"
  323       << "  startOfSymbols=" << _startOfSymbols << "\n"
  323       << "  startOfSymbols=" << _startOfSymbols << "\n"
  324       << "  startOfSymbolStrings=" << _startOfSymbolStrings << "\n"
  324       << "  startOfSymbolStrings=" << _startOfSymbolStrings << "\n"
  325       << "  endOfSymbolStrings=" << _endOfSymbolStrings << "\n"
  325       << "  endOfSymbolStrings=" << _endOfSymbolStrings << "\n"
  326       << "  startOfSectionsContent=" << _startOfSectionsContent << "\n"
  326       << "  startOfSectionsContent=" << _startOfSectionsContent << "\n"
  327       << "  endOfSectionsContent=" << _endOfSectionsContent << "\n");
  327       << "  endOfSectionsContent=" << _endOfSectionsContent << "\n");
  359                   llvm::dbgs() << "MachOFileLayout()\n"
  360       << "  startOfLoadCommands=" << _startOfLoadCommands << "\n"
  360       << "  startOfLoadCommands=" << _startOfLoadCommands << "\n"
  361       << "  countOfLoadCommands=" << _countOfLoadCommands << "\n"
  361       << "  countOfLoadCommands=" << _countOfLoadCommands << "\n"
  362       << "  endOfLoadCommands=" << _endOfLoadCommands << "\n"
  362       << "  endOfLoadCommands=" << _endOfLoadCommands << "\n"
  363       << "  startOfLinkEdit=" << _startOfLinkEdit << "\n"
  363       << "  startOfLinkEdit=" << _startOfLinkEdit << "\n"
  364       << "  startOfRebaseInfo=" << _startOfRebaseInfo << "\n"
  364       << "  startOfRebaseInfo=" << _startOfRebaseInfo << "\n"
  365       << "  endOfRebaseInfo=" << _endOfRebaseInfo << "\n"
  365       << "  endOfRebaseInfo=" << _endOfRebaseInfo << "\n"
  366       << "  startOfBindingInfo=" << _startOfBindingInfo << "\n"
  366       << "  startOfBindingInfo=" << _startOfBindingInfo << "\n"
  367       << "  endOfBindingInfo=" << _endOfBindingInfo << "\n"
  367       << "  endOfBindingInfo=" << _endOfBindingInfo << "\n"
  368       << "  startOfLazyBindingInfo=" << _startOfLazyBindingInfo << "\n"
  368       << "  startOfLazyBindingInfo=" << _startOfLazyBindingInfo << "\n"
  369       << "  endOfLazyBindingInfo=" << _endOfLazyBindingInfo << "\n"
  369       << "  endOfLazyBindingInfo=" << _endOfLazyBindingInfo << "\n"
  370       << "  startOfExportTrie=" << _startOfExportTrie << "\n"
  370       << "  startOfExportTrie=" << _startOfExportTrie << "\n"
  371       << "  endOfExportTrie=" << _endOfExportTrie << "\n"
  371       << "  endOfExportTrie=" << _endOfExportTrie << "\n"
  372       << "  startOfFunctionStarts=" << _startOfFunctionStarts << "\n"
  372       << "  startOfFunctionStarts=" << _startOfFunctionStarts << "\n"
  373       << "  startOfDataInCode=" << _startOfDataInCode << "\n"
  373       << "  startOfDataInCode=" << _startOfDataInCode << "\n"
  374       << "  startOfSymbols=" << _startOfSymbols << "\n"
  374       << "  startOfSymbols=" << _startOfSymbols << "\n"
  375       << "  startOfSymbolStrings=" << _startOfSymbolStrings << "\n"
  375       << "  startOfSymbolStrings=" << _startOfSymbolStrings << "\n"
  376       << "  endOfSymbolStrings=" << _endOfSymbolStrings << "\n"
  376       << "  endOfSymbolStrings=" << _endOfSymbolStrings << "\n"
  377       << "  addressOfLinkEdit=" << _addressOfLinkEdit << "\n");
  377       << "  addressOfLinkEdit=" << _addressOfLinkEdit << "\n");
  539                   llvm::dbgs() << "buildFileOffsets()\n");
  545                   llvm::dbgs() << "  segment=" << sg.name
  546                   << ", fileOffset=" << _segInfo[&sg].fileOffset << "\n");
  546                   << ", fileOffset=" << _segInfo[&sg].fileOffset << "\n");
  560                   llvm::dbgs() << "    section=" << s->sectionName
  561                   << ", fileOffset=" << fileOffset << "\n");
  561                   << ", fileOffset=" << fileOffset << "\n");
 1282                         << "splice in TrieNode('" << bNodeStr
 1283                         << "') between edge '"
 1284                         << abEdgeStr << "' and edge='"
 1285                         << bcEdgeStr<< "'\n");
 1307                    << "new TrieNode('" << entry.name << "') with edge '"
 1307                    << "new TrieNode('" << entry.name << "') with edge '"
 1308                    << partialStr << "' from node='"
 1309                    << _cummulativeString << "'\n");
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
  609     llvm::dbgs() << "assignAddressesToSections()\n";
  611       llvm::dbgs()  << "   address=" << llvm::format("0x%08llX", sgi->address)
  612                     << ", size="  << llvm::format("0x%08llX", sgi->size)
  613                     << ", segment-name='" << sgi->name
  614                     << "'\n";
  616         llvm::dbgs()<< "      addr="  << llvm::format("0x%08llX", si->address)
  617                     << ", size="  << llvm::format("0x%08llX", si->size)
  618                     << ", section-name='" << si->sectionName
  619                     << "\n";
  740                    << "assign atom addresses:\n");
  751                       << "   address="
  754                       << ", file=#"
  756                       << ", atom=#"
  758                       << ", name="
  760                       << ", type="
  762                       << "\n");
  766                   << "assign header alias atom addresses:\n");
  772                       << "   address="
  775                       << ", file=#"
  777                       << ", atom=#"
  779                       << ", name="
  781                       << ", type="
  783                       << "\n");
  786                       << "   address="
  788                       << " atom=" << atom
  789                       << " name=" << atom->name() << "\n");
  789                       << " name=" << atom->name() << "\n");
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  811     llvm::dbgs() << "Adding to stabsList: " << stab << "\n";
  811     llvm::dbgs() << "Adding to stabsList: " << stab << "\n";
 1433   LLVM_DEBUG(llvm::dbgs() << "******** Normalizing file to atoms: "
 1434                           << file->path() << "\n");
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
  777       stream << "\n";
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
   94                           llvm::dbgs() << "unnamed atom: creating ref-name: '"
   95                                        << newName << "' ("
   96                                        << (const void *)newName.data() << ", "
   97                                        << newName.size() << ")\n");
  124                       llvm::dbgs() << "name collsion: creating ref-name: '"
  125                                    << newName << "' ("
  127                                    << ", " << newName.size() << ")\n");
  127                                    << ", " << newName.size() << ")\n");
  138                         llvm::dbgs() << "name collsion: creating ref-name: '"
  139                                      << newName2 << "' ("
  140                                      << (const void *)newName2.data() << ", "
  141                                      << newName2.size() << ")\n");
  147                                         << "atom name seen for first time: '"
  148                                         << atom.name() << "' ("
  150                                         << ", " << atom.name().size() << ")\n");
  150                                         << ", " << atom.name().size() << ")\n");
  269       out << (int)(kind.ns) << "-" << (int)(kind.arch) << "-" << kind.value;
  269       out << (int)(kind.ns) << "-" << (int)(kind.arch) << "-" << kind.value;
  764                                         << "created Reference to name: '"
  765                                         << _targetName << "' ("
  767                                         << ", " << _targetName.size() << ")\n");
  767                                         << ", " << _targetName.size() << ")\n");
  849                       llvm::dbgs() << "created DefinedAtom named: '" << _name
  850                                    << "' (" << (const void *)_name.data()
  851                                    << ", " << _name.size() << ")\n");
  851                                    << ", " << _name.size() << ")\n");
 1017                       llvm::dbgs() << "created UndefinedAtom named: '" << _name
 1018                       << "' (" << (const void *)_name.data() << ", "
 1018                       << "' (" << (const void *)_name.data() << ", "
 1019                       << _name.size() << ")\n");
 1085                       llvm::dbgs() << "created SharedLibraryAtom named: '"
 1086                                    << _name << "' ("
 1088                                    << ", " << _name.size() << ")\n");
 1088                                    << ", " << _name.size() << ")\n");
 1159                       llvm::dbgs() << "created AbsoluteAtom named: '" << _name
 1160                                    << "' (" << (const void *)_name.data()
 1161                                    << ", " << _name.size() << ")\n");
 1161                                    << ", " << _name.size() << ")\n");
tools/lld/tools/lld/lld.cpp
   54   errs() << s << "\n";
tools/lld/wasm/Driver.cpp
  550       os << quote(relativeToRoot(arg->getValue())) << "\n";
  557       os << "-o " << quote(sys::path::filename(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)
  104                     << " count=" << relocations.size() << "\n");
  104                     << " count=" << relocations.size() << "\n");
  110     LLVM_DEBUG(dbgs() << "apply reloc: type=" << relocTypeToString(rel.Type));
  112       LLVM_DEBUG(dbgs() << " sym=" << file->getSymbols()[rel.Index]->getName());
  113     LLVM_DEBUG(dbgs() << " addend=" << rel.Addend << " index=" << rel.Index
  113     LLVM_DEBUG(dbgs() << " addend=" << rel.Addend << " index=" << rel.Index
  114                       << " value=" << value << " offset=" << rel.Offset
  114                       << " value=" << value << " offset=" << rel.Offset
  115                       << "\n");
  151   LLVM_DEBUG(dbgs() << "writeRelocations: " << file->getName()
  152                     << " offset=" << Twine(off) << "\n");
  152                     << " offset=" << Twine(off) << "\n");
  165   LLVM_DEBUG(dbgs() << "InputFunction::setFunctionIndex: " << getName()
  166                     << " -> " << index << "\n");
  166                     << " -> " << index << "\n");
  172   LLVM_DEBUG(dbgs() << "InputFunction::setTableIndex: " << getName() << " -> "
  172   LLVM_DEBUG(dbgs() << "InputFunction::setTableIndex: " << getName() << " -> "
  173                     << index << "\n");
  231   LLVM_DEBUG(dbgs() << "calculateSize: " << getName() << "\n");
  231   LLVM_DEBUG(dbgs() << "calculateSize: " << getName() << "\n");
  243     LLVM_DEBUG(dbgs() << "  region: " << (rel.Offset - lastRelocEnd) << "\n");
  243     LLVM_DEBUG(dbgs() << "  region: " << (rel.Offset - lastRelocEnd) << "\n");
  248   LLVM_DEBUG(dbgs() << "  final region: " << (end - lastRelocEnd) << "\n");
  248   LLVM_DEBUG(dbgs() << "  final region: " << (end - lastRelocEnd) << "\n");
  256   LLVM_DEBUG(dbgs() << "  calculateSize orig: " << function->Size << "\n");
  256   LLVM_DEBUG(dbgs() << "  calculateSize orig: " << function->Size << "\n");
  257   LLVM_DEBUG(dbgs() << "  calculateSize  new: " << compressedSize << "\n");
  257   LLVM_DEBUG(dbgs() << "  calculateSize  new: " << compressedSize << "\n");
  277   LLVM_DEBUG(dbgs() << "write func: " << getName() << "\n");
  277   LLVM_DEBUG(dbgs() << "write func: " << getName() << "\n");
  282     LLVM_DEBUG(dbgs() << "  write chunk: " << chunkSize << "\n");
  282     LLVM_DEBUG(dbgs() << "  write chunk: " << chunkSize << "\n");
  290   LLVM_DEBUG(dbgs() << "  write final chunk: " << chunkSize << "\n");
  290   LLVM_DEBUG(dbgs() << "  write final chunk: " << chunkSize << "\n");
  292   LLVM_DEBUG(dbgs() << "  total: " << (buf + chunkSize - orig) << "\n");
  292   LLVM_DEBUG(dbgs() << "  total: " << (buf + chunkSize - orig) << "\n");
  299   LLVM_DEBUG(dbgs() << "generating runtime relocations: " << getName()
  300                     << " count=" << relocations.size() << "\n");
  300                     << " count=" << relocations.size() << "\n");
  309     LLVM_DEBUG(dbgs() << "gen reloc: type=" << relocTypeToString(rel.Type)
  310                       << " addend=" << rel.Addend << " index=" << rel.Index
  310                       << " addend=" << rel.Addend << " index=" << rel.Index
  311                       << " output offset=" << outputOffset << "\n");
  311                       << " output offset=" << outputOffset << "\n");
tools/lld/wasm/InputFiles.cpp
  250   LLVM_DEBUG(dbgs() << "Parsing object: " << toString(this) << "\n");
  250   LLVM_DEBUG(dbgs() << "Parsing object: " << toString(this) << "\n");
  471   LLVM_DEBUG(dbgs() << "Parsing library: " << toString(this) << "\n");
  471   LLVM_DEBUG(dbgs() << "Parsing library: " << toString(this) << "\n");
  480   LLVM_DEBUG(dbgs() << "Read " << count << " symbols\n");
  480   LLVM_DEBUG(dbgs() << "Read " << count << " symbols\n");
  493   LLVM_DEBUG(dbgs() << "loading lazy: " << sym->getName() << "\n");
  493   LLVM_DEBUG(dbgs() << "loading lazy: " << sym->getName() << "\n");
  494   LLVM_DEBUG(dbgs() << "from archive: " << toString(this) << "\n");
  494   LLVM_DEBUG(dbgs() << "from archive: " << toString(this) << "\n");
tools/lld/wasm/MarkLive.cpp
   57   LLVM_DEBUG(dbgs() << "markLive: " << sym->getName() << "\n");
   57   LLVM_DEBUG(dbgs() << "markLive: " << sym->getName() << "\n");
  140   LLVM_DEBUG(dbgs() << "markLive\n");
tools/lld/wasm/SymbolTable.cpp
  198   LLVM_DEBUG(dbgs() << "addSyntheticFunction: " << name << "\n");
  198   LLVM_DEBUG(dbgs() << "addSyntheticFunction: " << name << "\n");
  215   LLVM_DEBUG(dbgs() << "addOptionalDataSymbol: " << name << "\n");
  215   LLVM_DEBUG(dbgs() << "addOptionalDataSymbol: " << name << "\n");
  224   LLVM_DEBUG(dbgs() << "addSyntheticDataSymbol: " << name << "\n");
  224   LLVM_DEBUG(dbgs() << "addSyntheticDataSymbol: " << name << "\n");
  231   LLVM_DEBUG(dbgs() << "addSyntheticGlobal: " << name << " -> " << global
  231   LLVM_DEBUG(dbgs() << "addSyntheticGlobal: " << name << " -> " << global
  232                     << "\n");
  243     LLVM_DEBUG(dbgs() << "resolving existing undefined symbol: "
  244                       << existing->getName() << "\n");
  250     LLVM_DEBUG(dbgs() << "existing symbol takes precedence\n");
  256     LLVM_DEBUG(dbgs() << "replacing existing weak symbol\n");
  270   LLVM_DEBUG(dbgs() << "addDefinedFunction: " << name << " ["
  270   LLVM_DEBUG(dbgs() << "addDefinedFunction: " << name << " ["
  272                     << "]\n");
  326   LLVM_DEBUG(dbgs() << "addDefinedData:" << name << " addr:" << address
  326   LLVM_DEBUG(dbgs() << "addDefinedData:" << name << " addr:" << address
  327                     << "\n");
  350   LLVM_DEBUG(dbgs() << "addDefinedGlobal:" << name << "\n");
  350   LLVM_DEBUG(dbgs() << "addDefinedGlobal:" << name << "\n");
  374   LLVM_DEBUG(dbgs() << "addDefinedEvent:" << name << "\n");
  374   LLVM_DEBUG(dbgs() << "addDefinedEvent:" << name << "\n");
  431   LLVM_DEBUG(dbgs() << "addUndefinedFunction: " << name << " ["
  431   LLVM_DEBUG(dbgs() << "addUndefinedFunction: " << name << " ["
  433                     << "] IsCalledDirectly:" << isCalledDirectly << "\n");
  433                     << "] IsCalledDirectly:" << isCalledDirectly << "\n");
  478   LLVM_DEBUG(dbgs() << "addUndefinedData: " << name << "\n");
  478   LLVM_DEBUG(dbgs() << "addUndefinedData: " << name << "\n");
  500   LLVM_DEBUG(dbgs() << "addUndefinedGlobal: " << name << "\n");
  500   LLVM_DEBUG(dbgs() << "addUndefinedGlobal: " << name << "\n");
  520   LLVM_DEBUG(dbgs() << "addLazy: " << sym->getName() << "\n");
  520   LLVM_DEBUG(dbgs() << "addLazy: " << sym->getName() << "\n");
  544     LLVM_DEBUG(dbgs() << "replacing existing weak undefined symbol\n");
  551   LLVM_DEBUG(dbgs() << "replacing existing undefined\n");
  564   LLVM_DEBUG(dbgs() << "getFunctionVariant: " << sym->getName() << " -> "
  564   LLVM_DEBUG(dbgs() << "getFunctionVariant: " << sym->getName() << " -> "
  565                     << " " << toString(*sig) << "\n");
  565                     << " " << toString(*sig) << "\n");
  584     LLVM_DEBUG(dbgs() << "added new variant\n");
  588     LLVM_DEBUG(dbgs() << "variant already exists: " << toString(*variant) << "\n");
  588     LLVM_DEBUG(dbgs() << "variant already exists: " << toString(*variant) << "\n");
  607   LLVM_DEBUG(dbgs() << "wrap: " << sym->getName() << "\n");
  607   LLVM_DEBUG(dbgs() << "wrap: " << sym->getName() << "\n");
  689     LLVM_DEBUG(dbgs() << "symbol with (" << variants.size()
  690                       << ") variants: " << symName << "\n");
  690                       << ") variants: " << symName << "\n");
  693       LLVM_DEBUG(dbgs() << " variant: " + f->getName() << " "
  694                         << toString(*f->signature) << "\n");
tools/lld/wasm/Symbols.cpp
  144   LLVM_DEBUG(dbgs() << "setOutputSymbolIndex " << name << " -> " << index
  144   LLVM_DEBUG(dbgs() << "setOutputSymbolIndex " << name << " -> " << index
  145                     << "\n");
  151   LLVM_DEBUG(dbgs() << "setGOTIndex " << name << " -> " << index << "\n");
  151   LLVM_DEBUG(dbgs() << "setGOTIndex " << name << " -> " << index << "\n");
  151   LLVM_DEBUG(dbgs() << "setGOTIndex " << name << " -> " << index << "\n");
  174   LLVM_DEBUG(dbgs() << "setHidden: " << name << " -> " << isHidden << "\n");
  174   LLVM_DEBUG(dbgs() << "setHidden: " << name << " -> " << isHidden << "\n");
  174   LLVM_DEBUG(dbgs() << "setHidden: " << name << " -> " << isHidden << "\n");
  207   LLVM_DEBUG(dbgs() << "setFunctionIndex " << name << " -> " << index << "\n");
  207   LLVM_DEBUG(dbgs() << "setFunctionIndex " << name << " -> " << index << "\n");
  207   LLVM_DEBUG(dbgs() << "setFunctionIndex " << name << " -> " << index << "\n");
  239   LLVM_DEBUG(dbgs() << "setTableIndex " << name << " -> " << index << "\n");
  239   LLVM_DEBUG(dbgs() << "setTableIndex " << name << " -> " << index << "\n");
  239   LLVM_DEBUG(dbgs() << "setTableIndex " << name << " -> " << index << "\n");
  251   LLVM_DEBUG(dbgs() << "getVirtualAddress: " << getName() << "\n");
  251   LLVM_DEBUG(dbgs() << "getVirtualAddress: " << getName() << "\n");
  264   LLVM_DEBUG(dbgs() << "setVirtualAddress " << name << " -> " << value << "\n");
  264   LLVM_DEBUG(dbgs() << "setVirtualAddress " << name << " -> " << value << "\n");
  264   LLVM_DEBUG(dbgs() << "setVirtualAddress " << name << " -> " << value << "\n");
  270   LLVM_DEBUG(dbgs() << "getOutputSegmentOffset: " << getName() << "\n");
  270   LLVM_DEBUG(dbgs() << "getOutputSegmentOffset: " << getName() << "\n");
  275   LLVM_DEBUG(dbgs() << "getOutputSegmentIndex: " << getName() << "\n");
  275   LLVM_DEBUG(dbgs() << "getOutputSegmentIndex: " << getName() << "\n");
  287   LLVM_DEBUG(dbgs() << "setGlobalIndex " << name << " -> " << index << "\n");
  287   LLVM_DEBUG(dbgs() << "setGlobalIndex " << name << " -> " << index << "\n");
  287   LLVM_DEBUG(dbgs() << "setGlobalIndex " << name << " -> " << index << "\n");
  312   LLVM_DEBUG(dbgs() << "setEventIndex " << name << " -> " << index << "\n");
  312   LLVM_DEBUG(dbgs() << "setEventIndex " << name << " -> " << index << "\n");
  312   LLVM_DEBUG(dbgs() << "setEventIndex " << name << " -> " << index << "\n");
tools/lld/wasm/SyntheticSections.cpp
   73     LLVM_DEBUG(llvm::dbgs() << "type " << toString(sig) << "\n");
   73     LLVM_DEBUG(llvm::dbgs() << "type " << toString(sig) << "\n");
  108   LLVM_DEBUG(dbgs() << "addGOTEntry: " << toString(*sym) << "\n");
  108   LLVM_DEBUG(dbgs() << "addGOTEntry: " << toString(*sym) << "\n");
  256   LLVM_DEBUG(dbgs() << "addStaticGOTEntry: " << sym->getName() << " "
  256   LLVM_DEBUG(dbgs() << "addStaticGOTEntry: " << sym->getName() << " "
  257                     << toString(sym->kind()) << "\n");
  315   LLVM_DEBUG(dbgs() << "addEvent: " << eventIndex << "\n");
  315   LLVM_DEBUG(dbgs() << "addEvent: " << eventIndex << "\n");
tools/lld/wasm/Writer.cpp
  129     LLVM_DEBUG(dbgs() << "createCustomSection: " << name << "\n");
  129     LLVM_DEBUG(dbgs() << "createCustomSection: " << name << "\n");
  148     LLVM_DEBUG(dbgs() << "check section " << i << "\n");
  148     LLVM_DEBUG(dbgs() << "check section " << i << "\n");
  327   LLVM_DEBUG(dbgs() << "addStartStopSymbols: " << name << "\n");
  327   LLVM_DEBUG(dbgs() << "addStartStopSymbols: " << name << "\n");
  495     LLVM_DEBUG(dbgs() << "import: " << sym->getName() << "\n");
  495     LLVM_DEBUG(dbgs() << "import: " << sym->getName() << "\n");
  543     LLVM_DEBUG(dbgs() << "Export: " << name << "\n");
  543     LLVM_DEBUG(dbgs() << "Export: " << name << "\n");
  557     LLVM_DEBUG(dbgs() << "Local symtab entries: " << file->getName() << "\n");
  557     LLVM_DEBUG(dbgs() << "Local symtab entries: " << file->getName() << "\n");
  595     LLVM_DEBUG(dbgs() << "scanRelocations: " << file->getName() << "\n");
  595     LLVM_DEBUG(dbgs() << "scanRelocations: " << file->getName() << "\n");
  614     LLVM_DEBUG(dbgs() << "Functions: " << file->getName() << "\n");
  614     LLVM_DEBUG(dbgs() << "Functions: " << file->getName() << "\n");
  623     LLVM_DEBUG(dbgs() << "Globals: " << file->getName() << "\n");
  623     LLVM_DEBUG(dbgs() << "Globals: " << file->getName() << "\n");
  629     LLVM_DEBUG(dbgs() << "Events: " << file->getName() << "\n");
  629     LLVM_DEBUG(dbgs() << "Events: " << file->getName() << "\n");
  668         LLVM_DEBUG(dbgs() << "new segment: " << name << "\n");
  668         LLVM_DEBUG(dbgs() << "new segment: " << name << "\n");
  682       LLVM_DEBUG(dbgs() << "added data: " << name << ": " << s->size << "\n");
  682       LLVM_DEBUG(dbgs() << "added data: " << name << ": " << s->size << "\n");
  682       LLVM_DEBUG(dbgs() << "added data: " << name << ": " << s->size << "\n");
  716   LLVM_DEBUG(dbgs() << "createInitMemoryFunction\n");
  843   LLVM_DEBUG(dbgs() << "createApplyRelocationsFunction\n");
  946       LLVM_DEBUG(dbgs() << "initFunctions: " << toString(*sym) << "\n");
  946       LLVM_DEBUG(dbgs() << "initFunctions: " << toString(*sym) << "\n");
tools/lld/wasm/WriterUtils.cpp
   67   LLVM_DEBUG(dbgs() << format("  | %08lld: ", offset) << msg << "\n");
tools/lldb/include/lldb/Target/MemoryRegionInfo.h
  141       OS << "no";
  144       OS << "yes";
  147       OS << "don't know";
tools/lldb/include/lldb/Utility/Environment.h
   90       Stream << "env[" << KV.first() << "] = " << KV.second << "\n";
   90       Stream << "env[" << KV.first() << "] = " << KV.second << "\n";
   90       Stream << "env[" << KV.first() << "] = " << KV.second << "\n";
tools/lldb/include/lldb/Utility/ReproducerInstrumentation.h
   43   ss << '\"' << t << '\"';
   55   ss << ", ";
  590     m_stream << t;
tools/lldb/include/lldb/Utility/State.h
   71     Stream << lldb_private::StateAsCString(state);
tools/lldb/include/lldb/Utility/Timeout.h
   63       OS << "<infinite>";
tools/lldb/include/lldb/lldb-private-enumerations.h
  256       Stream << "no";
  259       Stream << "no opinion";
  262       Stream << "yes";
  265     Stream << "invalid";
tools/lldb/source/Core/Debugger.cpp
 1183         error_stream << "Unable to open log file: " << ec.message();
tools/lldb/source/Host/common/Host.cpp
  668   OS << desc << " " << int(WS.status);
  668   OS << desc << " " << int(WS.status);
tools/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp
   53   os << operation << " failed: " << llvm::sys::StrError(err);
   53   os << operation << " failed: " << llvm::sys::StrError(err);
tools/lldb/source/Interpreter/Options.cpp
  951   sstr << ":";
  961         sstr << ":";
  964         sstr << "::";
tools/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
  189   return OS << "MODULE " << llvm::Triple::getOSTypeName(R.OS) << " "
  189   return OS << "MODULE " << llvm::Triple::getOSTypeName(R.OS) << " "
  190             << llvm::Triple::getArchTypeName(R.Arch) << " "
  216   return OS << "INFO CODE_ID " << R.ID.GetAsString();
  239   return OS << "FILE " << R.Number << " " << R.Name;
  239   return OS << "FILE " << R.Number << " " << R.Name;
  399   OS << "STACK CFI ";
  401     OS << "INIT ";
  405   return OS << " " << R.UnwindRules;
tools/lldb/source/Plugins/Process/POSIX/CrashReason.cpp
   28     stream << ": lower bound violation ";
   30     stream << ": upper bound violation ";
   31   stream << "(fault address: 0x";
   33   stream << ", lower bound: 0x";
   35   stream << ", upper bound: 0x";
   37   stream << ")";
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
 1266       << "connect://127.0.0.1:" << listen_socket.GetLocalPortNumber();
 1355     Stream << "Success";
 1358     Stream << "ErrorSendFailed";
 1361     Stream << "ErrorSendAck";
 1364     Stream << "ErrorReplyFailed";
 1367     Stream << "ErrorReplyTimeout";
 1370     Stream << "ErrorReplyInvalid";
 1373     Stream << "ErrorReplyAck";
 1376     Stream << "ErrorDisconnected";
 1379     Stream << "ErrorNoSequenceLock";
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
 5028           output_stream << name << ":";
 5030           output_stream << index_id << ";";
 5032           output_stream << usec_name << ":" << usec_value << ";";
 5032           output_stream << usec_name << ":" << usec_value << ";";
 5044         output_stream << name << ":" << value << ";";
 5044         output_stream << name << ":" << value << ";";
 5047       output_stream << name << ":" << value << ";";
 5047       output_stream << name << ":" << value << ";";
 5050   output_stream << end_delimiter;
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
  288     desc_stream << "Exception "
  291                 << " encountered at address "
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
 1033 void PythonException::log(llvm::raw_ostream &OS) const { OS << toCString(); }
tools/lldb/source/Plugins/SymbolFile/DWARF/DIERef.cpp
   15     OS << format_hex_no_prefix(*ref.dwo_num(), 8) << "/";
   16   OS << (ref.section() == DIERef::DebugInfo ? "INFO" : "TYPE");
   17   OS << "/" << format_hex_no_prefix(ref.die_offset(), 8);
tools/lldb/source/Symbol/ClangASTContext.cpp
 4986           llvm::outs() << "warning: trying to determine the size of type ";
 4987           llvm::outs() << s.GetString() << "\n";
 4988           llvm::outs() << "without a valid ExecutionContext. this is not "
 4990           llvm::outs() << "backtrace:\n";
 4992           llvm::outs() << "\n";
tools/lldb/source/Symbol/CompilerType.cpp
  772     llvm::errs() << "<invalid>\n";
tools/lldb/source/Symbol/ObjectFile.cpp
  691     OS << "invalid";
  694     OS << "core file";
  697     OS << "executable";
  700     OS << "debug info";
  703     OS << "dynamic linker";
  706     OS << "object file";
  709     OS << "shared library";
  712     OS << "stub library";
  715     OS << "jit";
  718     OS << "unknown";
  727     OS << "invalid";
  730     OS << "unknown";
  733     OS << "user";
  736     OS << "kernel";
  739     OS << "raw image";
  742     OS << "jit";
tools/lldb/source/Utility/FileSpec.cpp
  533     Stream << "(empty)";
  556       Stream << "(empty)";
tools/lldb/source/Utility/LLDBAssert.cpp
   32   errs() << "backtrace leading to the failure:\n";
   34   errs() << "please file a bug report against lldb reporting this failure "
tools/lldb/source/Utility/Log.cpp
  139   Stream << Content << "\n";
  267     stream << "No logging channels are currently registered.\n";
  285     OS << ++g_sequence_id << " ";
  306     format_os << "{0,-" << llvm::alignTo<16>(thread_name.size()) << "} ";
  306     format_os << "{0,-" << llvm::alignTo<16>(thread_name.size()) << "} ";
  345   message << payload << "\n";
tools/lldb/source/Utility/Reproducer.cpp
  283   os << m_version << "\n";
  292   os << m_cwd << "\n";
tools/lldb/tools/driver/Driver.cpp
  378     WithColor::warning() << "program arguments are ignored when attaching.\n";
  382     llvm::outs() << lldb::SBDebugger::GetVersionString() << '\n';
  393         llvm::outs() << python_path << '\n';
  395         llvm::outs() << "<PATH TOO LONG>\n";
  397       llvm::outs() << "<COULD NOT FIND PATH>\n";
  421         << "can't create pipe file descriptors for LLDB commands\n";
  573     WithColor::warning() << "commands specified to run after file load (via -o "
  671           WithColor::error() << error_cstr << '\n';
  781       WithColor::error() << "reproducer replay failed: " << error << '\n';
  781       WithColor::error() << "reproducer replay failed: " << error << '\n';
  793         WithColor::warning() << "-capture-path specified without -capture\n";
  795         WithColor::error() << "reproducer capture failed: " << error << '\n';
  795         WithColor::error() << "reproducer capture failed: " << error << '\n';
  801         WithColor::error() << "reproducer capture failed: " << error << '\n';
  801         WithColor::error() << "reproducer capture failed: " << error << '\n';
  832     WithColor::warning() << "ignoring unknown option: " << arg->getSpelling()
  842     WithColor::error() << "initialization failed: " << error.GetCString()
  842     WithColor::error() << "initialization failed: " << error.GetCString()
  886         WithColor::error() << error_cstr << '\n';
tools/lldb/tools/lldb-instr/Instrument.cpp
   38   OS << "LLDB_RECORD";
   40     OS << "_STATIC";
   41   OS << "_METHOD";
   43     OS << "_CONST";
   45     OS << "_NO_ARGS";
   60   OS << "LLDB_REGISTER";
   62     OS << "_STATIC";
   63   OS << "_METHOD";
   65     OS << "_CONST";
   78   OS << "(" << Result << ", " << Class << ", " << Method;
   78   OS << "(" << Result << ", " << Class << ", " << Method;
   78   OS << "(" << Result << ", " << Class << ", " << Method;
   81     OS << ", (" << Signature << "), " << Values << ");\n\n";
   81     OS << ", (" << Signature << "), " << Values << ");\n\n";
   81     OS << ", (" << Signature << "), " << Values << ");\n\n";
   83     OS << ");\n\n";
   95     OS << "LLDB_RECORD_CONSTRUCTOR(" << Class << ", (" << Signature << "), "
   95     OS << "LLDB_RECORD_CONSTRUCTOR(" << Class << ", (" << Signature << "), "
   95     OS << "LLDB_RECORD_CONSTRUCTOR(" << Class << ", (" << Signature << "), "
   96        << Values << ");\n\n";
   98     OS << "LLDB_RECORD_CONSTRUCTOR_NO_ARGS(" << Class << ");\n\n";
   98     OS << "LLDB_RECORD_CONSTRUCTOR_NO_ARGS(" << Class << ");\n\n";
  110   OS << "LLDB_RECORD_DUMMY(" << Result << ", " << Class << ", " << Method;
  110   OS << "LLDB_RECORD_DUMMY(" << Result << ", " << Class << ", " << Method;
  110   OS << "LLDB_RECORD_DUMMY(" << Result << ", " << Class << ", " << Method;
  111   OS << ", (" << Signature << "), " << Values << ");\n\n";
  111   OS << ", (" << Signature << "), " << Values << ");\n\n";
  111   OS << ", (" << Signature << "), " << Values << ");\n\n";
  120   OS << "LLDB_REGISTER_CONSTRUCTOR(" << Class << ", (" << Signature << "));\n";
  120   OS << "LLDB_REGISTER_CONSTRUCTOR(" << Class << ", (" << Signature << "));\n";
  120   OS << "LLDB_REGISTER_CONSTRUCTOR(" << Class << ", (" << Signature << "));\n";
  130   OS << "(" << Result << ", " << Class << ", " << Method << ", (" << Signature
  130   OS << "(" << Result << ", " << Class << ", " << Method << ", (" << Signature
  130   OS << "(" << Result << ", " << Class << ", " << Method << ", (" << Signature
  130   OS << "(" << Result << ", " << Class << ", " << Method << ", (" << Signature
  131      << "));\n";
  326     llvm::outs() << "{\n";
  331     llvm::outs() << "}\n";
tools/lldb/tools/lldb-server/lldb-gdbserver.cpp
  183     llvm::errs() << "Error getting current directory: " << ec.message() << "\n";
  183     llvm::errs() << "Error getting current directory: " << ec.message() << "\n";
tools/lldb/tools/lldb-server/lldb-platform.cpp
  204         llvm::errs() << "error: invalid port offset string " << optarg << "\n";
  204         llvm::errs() << "error: invalid port offset string " << optarg << "\n";
  204         llvm::errs() << "error: invalid port offset string " << optarg << "\n";
  221         llvm::errs() << "error: invalid port number string " << optarg << "\n";
  221         llvm::errs() << "error: invalid port number string " << optarg << "\n";
  221         llvm::errs() << "error: invalid port number string " << optarg << "\n";
tools/lldb/tools/lldb-test/FormatUtil.cpp
   37   OS << "\n";
   43     line() << Label << " ()";
   46   line() << Label << " (";
   56     line() << Label << " ()";
   59   line() << Label << " (";
tools/lldb/tools/lldb-test/lldb-test.cpp
  265       WithColor::error() << "compiler context entry has no \"name\"\n";
  270   outs() << "Search context: {\n";
  273   outs() << "}\n";
  455   outs() << Stream.GetData() << "\n";
  455   outs() << Stream.GetData() << "\n";
  492   outs() << Stream.GetData() << "\n";
  492   outs() << Stream.GetData() << "\n";
  507     outs() << "Found namespace: "
  508            << Result.GetScopeQualifiedName().GetStringRef() << "\n";
  510     outs() << "Namespace not found.\n";
  537   outs() << Stream.GetData() << "\n";
  537   outs() << Stream.GetData() << "\n";
  576   outs() << Stream.GetData() << "\n";
  576   outs() << Stream.GetData() << "\n";
  584   outs() << Stream.GetData() << "\n";
  584   outs() << Stream.GetData() << "\n";
  637   outs() << Stream.GetData() << "\n";
  637   outs() << Stream.GetData() << "\n";
  649   outs() << "Found " << comp_units_count << " compile units.\n";
  649   outs() << "Found " << comp_units_count << " compile units.\n";
  656     outs() << "Processing '" << comp_unit->GetFilename().AsCString()
  656     outs() << "Processing '" << comp_unit->GetFilename().AsCString()
  657            << "' compile unit.\n";
  665     outs() << "The line table contains " << count << " entries.\n";
  665     outs() << "The line table contains " << count << " entries.\n";
  687   outs() << "The symbol information is verified.\n";
  803   outs() << "Module: " << InputFile << "\n";
  803   outs() << "Module: " << InputFile << "\n";
  811     WithColor::error() << "Module has no symbol vendor.\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";
  879       llvm::errs() << "Could not load sections for module " << File << "\n";
  932     outs() << "Malloc error: alignment is not a power of 2\n";
  956     outs() << "Malloc error: zero or unaligned allocation detected\n";
  965     outs() << "Malloc error: overlapping allocation detected"
  991     outs() << "Free error: Invalid allocation label\n";
 1033     outs() << "Cannot use process to test IRMemoryMap\n";
 1057     errs() << "Could not parse line: " << Line << "\n";
 1057     errs() << "Could not parse line: " << Line << "\n";
 1074     WithColor::error() << "initialization failed: " << toString(std::move(e))
 1101   WithColor::error() << "No command specified.\n";
tools/lldb/tools/lldb-vscode/JSONUtils.cpp
  149       strm << " @ " << llvm::format_hex(address, 0);
  547         line_strm << " # " << c;
  547         line_strm << " # " << c;
  549       src_strm << line_strm.str() << "\n";
tools/lldb/tools/lldb-vscode/LLDBUtils.cpp
   21     strm << prefix << "\n";
   24     strm << "(lldb) " << command << "\n";
   24     strm << "(lldb) " << command << "\n";
   29       strm << output;
   34       strm << error;
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp
  423   strm << "settings set target.source-map ";
  439       strm << "\"" << mapFrom << "\" \"" << mapTo << "\" ";
  439       strm << "\"" << mapFrom << "\" \"" << mapTo << "\" ";
  439       strm << "\"" << mapFrom << "\" \"" << mapTo << "\" ";
  449     strm << "\".\" \"" << sourcePath << "\"";
  449     strm << "\".\" \"" << sourcePath << "\"";
tools/lldb/unittests/Core/StreamCallbackTest.cpp
   25   stream << "Foobar";
tools/lldb/unittests/Core/UniqueCStringMapTest.cpp
   27     return OS << "NoDefault{" << x.x << "}";
   27     return OS << "NoDefault{" << x.x << "}";
tools/lldb/utils/TableGen/LLDBOptionDefEmitter.cpp
   81   OS << "  {";
   86     OS << "LLDB_OPT_SET_ALL";
   90   OS << ", ";
   93   OS << (O.Required ? "true" : "false");
   96   OS << ", \"" << O.FullName << "\", ";
   96   OS << ", \"" << O.FullName << "\", ";
   97   OS << '\'' << O.ShortName << "'";
  101   OS << ", OptionParser::";
  104       OS << "eOptionalArgument";
  106       OS << "eRequiredArgument";
  108     OS << "eNoArgument";
  109   OS << ", ";
  114     OS << "nullptr";
  115   OS << ", ";
  120     OS << "{}";
  121   OS << ", ";
  132     OS << "CommandCompletions::eNoCompletion";
  135   OS << ", eArgType";
  139     OS << "None";
  140   OS << ", ";
  144     OS << "\"";
  146     OS << "\"";
  148     OS << "\"\"";
  149   OS << "},\n";
  167   OS << "// Options for " << Command << "\n";
  167   OS << "// Options for " << Command << "\n";
  168   OS << "#ifdef " << NeededMacro << "\n";
  168   OS << "#ifdef " << NeededMacro << "\n";
  173   OS << "};\n";
  174   OS << "#undef " << NeededMacro << "\n";
  174   OS << "#undef " << NeededMacro << "\n";
  175   OS << "#endif // " << Command << " command\n\n";
  175   OS << "#endif // " << Command << " command\n\n";
tools/lldb/utils/TableGen/LLDBPropertyDefEmitter.cpp
   25   OS << "eProperty";
   27   OS << ",\n";
   31   OS << "  {";
   34   OS << "\"" << Property->getValueAsString("Name") << "\"";
   34   OS << "\"" << Property->getValueAsString("Name") << "\"";
   35   OS << ", ";
   38   OS << "OptionValue::eType";
   40   OS << ", ";
   43   OS << (Property->getValue("Global") ? "true" : "false");
   44   OS << ", ";
   81     OS << "0";
   83   OS << ", ";
   88       OS << "\"";
   90       OS << "\"";
   92       OS << "\"\"";
   95     OS << "nullptr";
   97   OS << ", ";
  103     OS << "{}";
  104   OS << ", ";
  108     OS << "\"";
  110     OS << "\"";
  112     OS << "\"\"";
  115   OS << "},\n";
  129   OS << "// Property definitions for " << PropertyName << "\n";
  129   OS << "// Property definitions for " << PropertyName << "\n";
  130   OS << "#ifdef " << NeededMacro << "\n";
  130   OS << "#ifdef " << NeededMacro << "\n";
  131   OS << "static constexpr PropertyDefinition g_" << PropertyName
  132      << "_properties[] = {\n";
  135   OS << "};\n";
  137   OS << "#undef " << NeededMacro << "\n";
  137   OS << "#undef " << NeededMacro << "\n";
  138   OS << "#endif // " << PropertyName << " Property\n\n";
  138   OS << "#endif // " << PropertyName << " Property\n\n";
  152   OS << "// Property enum cases for " << PropertyName << "\n";
  152   OS << "// Property enum cases for " << PropertyName << "\n";
  153   OS << "#ifdef " << NeededMacro << "\n";
  153   OS << "#ifdef " << NeededMacro << "\n";
  157   OS << "#undef " << NeededMacro << "\n";
  157   OS << "#undef " << NeededMacro << "\n";
  158   OS << "#endif // " << PropertyName << " Property\n\n";
  158   OS << "#endif // " << PropertyName << " Property\n\n";
tools/lldb/utils/lit-cpuid/lit-cpuid.cpp
   29     outs() << "sse\n";
   31     outs() << "avx\n";
   33     outs() << "avx512f\n";
tools/lli/ChildTarget/ChildTarget.cpp
   25     errs() << "Usage: " << argv[0] << " <input fd> <output fd>\n";
   25     errs() << "Usage: " << argv[0] << " <input fd> <output fd>\n";
   25     errs() << "Usage: " << argv[0] << " <input fd> <output fd>\n";
   40     errs() << "Error loading program symbols.\n";
tools/lli/lli.cpp
  336     WithColor::error(errs(), "lli") << "invalid optimization level.\n";
  440         << "remote process execution does not work with the interpreter.\n";
  456           << "error creating EE: " << ErrorMsg << "\n";
  456           << "error creating EE: " << ErrorMsg << "\n";
  458       WithColor::error(errs(), argv[0]) << "unknown error creating EE!\n";
  535         << "remote mcjit does not support lazy compilation\n";
  562         << '\'' << EntryFunc << "\' function not found in module.\n";
  582           << "-remote-mcjit requires -mcjit-remote-process.\n";
  586           << "unable to find usable child executable: '" << ChildExecPath
  587           << "'\n";
  630             << "exit(" << Result << ") returned!\n";
  630             << "exit(" << Result << ") returned!\n";
  634     WithColor::error(errs(), argv[0]) << "exit defined with wrong prototype!\n";
  646       WithColor::error(errs(), argv[0]) << "failed to launch remote JIT.\n";
  679     LLVM_DEBUG(dbgs() << "Executing '" << EntryFn->getName() << "' at 0x"
  679     LLVM_DEBUG(dbgs() << "Executing '" << EntryFn->getName() << "' at 0x"
  680                       << format("%llx", Entry) << "\n");
  723       outs() << "----- Module Start -----\n" << M << "----- Module End -----\n";
  723       outs() << "----- Module Start -----\n" << M << "----- Module End -----\n";
  731         errs() << "Couldn't open " << M.getModuleIdentifier()
  732                << " for dumping.\nError:" << EC.message() << "\n";
  732                << " for dumping.\nError:" << EC.message() << "\n";
  788         dbgs() << "Bad module: " << &M << "\n";
  788         dbgs() << "Bad module: " << &M << "\n";
  900     errs() << "-compile-threads requires -jit-kind=orc-lazy\n";
  905     errs() << "-thread-entry requires -jit-kind=orc-lazy\n";
  910     errs() << "-per-module-lazy requires -jit-kind=orc-lazy\n";
tools/llvm-ar/llvm-ar.cpp
  122     outs() << RanlibHelp;
  124     outs() << ArHelp;
  134         << "script line " << MRILineNumber << ": " << Error << "\n";
  134         << "script line " << MRILineNumber << ": " << Error << "\n";
  134         << "script line " << MRILineNumber << ": " << Error << "\n";
  136     WithColor::error(errs(), ToolName) << Error << "\n";
  441     outs() << "Printing " << Name << "\n";
  441     outs() << "Printing " << Name << "\n";
  452   outs() << ((mode & 004) ? "r" : "-");
  453   outs() << ((mode & 002) ? "w" : "-");
  454   outs() << ((mode & 001) ? "x" : "-");
  498       outs() << " 0x" << utohexstr(C.getDataOffset(), true);
  627     WithColor::error(errs(), ToolName) << "'" << Name << "' was not found\n";
  627     WithColor::error(errs(), ToolName) << "'" << Name << "' was not found\n";
  987           << "creating " << ArchiveName << "\n";
  987           << "creating " << ArchiveName << "\n";
tools/llvm-as/llvm-as.cpp
  135       errs() << argv[0]
  136              << ": assembly parsed, but does not verify as correct!\n";
  144     errs() << "Here's the assembly:\n" << *M.get();
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
  109     outs() << "\n\n";
tools/llvm-cat/llvm-cat.cpp
   90     errs() << argv[0] << ": cannot open " << OutputFilename << " for writing: "
   90     errs() << argv[0] << ": cannot open " << OutputFilename << " for writing: "
   90     errs() << argv[0] << ": cannot open " << OutputFilename << " for writing: "
tools/llvm-cfi-verify/lib/FileAnalysis.cpp
  245       errs() << "Failed to find source instruction at address "
  247              << " for the cross-reference to instruction at address "
  248              << format_hex(InstrMeta.VMAddress, 2) << ".\n";
  522           errs() << "Symbolizer failed to get line: " << E.message() << "\n";
  522           errs() << "Symbolizer failed to get line: " << E.message() << "\n";
  539     errs() << "Failed to add instruction at address "
  541            << ": Instruction at this address already exists.\n";
  584   OS << "Could not initialise disassembler: " << Text;
tools/llvm-cfi-verify/lib/GraphBuilder.cpp
   73   OS << "  \"" << format_hex(From, 2) << ": ";
   73   OS << "  \"" << format_hex(From, 2) << ": ";
   75   OS << "\" -> \"" << format_hex(To, 2) << ": ";
   75   OS << "\" -> \"" << format_hex(To, 2) << ": ";
   77   OS << "\"\n";
   84   OS << "digraph graph_" << format_hex(BaseAddress, 2) << " {\n";
   84   OS << "digraph graph_" << format_hex(BaseAddress, 2) << " {\n";
   92   OS << "}\n";
  129       errs() << "Failed to get next instruction from "
  130              << format_hex(BranchNode.Address, 2) << ".\n";
  143       errs() << "Failed to get branch target for conditional branch at address "
  144              << format_hex(BranchInstrMeta.VMAddress, 2) << ".\n";
  151       errs() << "Failed to find instruction at address "
  152              << format_hex(Target, 2) << ".\n";
  160     errs() << "ControlBranchNode supplied to buildFlowsToUndefined should "
  218     errs() << "Failed to build flow graph for instruction at address "
  219            << format_hex(Address, 2) << ".\n";
  260       errs() << "Failed to evaluate branch target for instruction at address "
  261              << format_hex(ParentMeta.VMAddress, 2) << ".\n";
  271         errs() << "Control flow to " << format_hex(Address, 2)
  272                << ", but target resolution of "
  274                << " is not this address?\n";
  289       errs() << "Unknown control flow encountered when building graph at "
  290              << format_hex(Address, 2) << "\n.";
tools/llvm-cfi-verify/llvm-cfi-verify.cpp
   65     errs() << "Could not open file: " << LineInfo.FileName << "\n";
   65     errs() << "Could not open file: " << LineInfo.FileName << "\n";
   78       outs() << ">";
   80       outs() << " ";
   82     outs() << i << ": " << Lines[i - 1] << "\n";
   82     outs() << i << ": " << Lines[i - 1] << "\n";
   90   outs() << "Instruction: " << format_hex(InstrMeta.VMAddress, 2) << " ("
   90   outs() << "Instruction: " << format_hex(InstrMeta.VMAddress, 2) << " ("
   91          << stringCFIProtectionStatus(ProtectionStatus) << "): ";
   93   outs() << " \n";
  102     outs() << "Blacklist Match: " << BlacklistFilename << ":" << BlameLine
  102     outs() << "Blacklist Match: " << BlacklistFilename << ":" << BlameLine
  103            << "\n";
  105       outs() << "====> Unexpected Protected\n";
  107       outs() << "====> Expected Unprotected\n";
  113       outs() << "====> Expected Protected\n";
  117       outs() << "====> Unexpected Unprotected (BAD)\n";
  142       outs() << "-----------------------------------------------------\n";
  156       errs() << "Failed to symbolise " << format_hex(Address.Address, 2)
  157              << " with line tables from " << InputFilename << "\n";
  157              << " with line tables from " << InputFilename << "\n";
  167         outs() << "  " << format_hex(Address.Address, 2) << " = "
  167         outs() << "  " << format_hex(Address.Address, 2) << " = "
  168                << Line.FileName << ":" << Line.Line << ":" << Line.Column
  168                << Line.FileName << ":" << Line.Line << ":" << Line.Column
  169                << " (" << Line.FunctionName << ")\n";
  169                << " (" << Line.FunctionName << ")\n";
  217     outs() << "No indirect CF instructions found.\n";
  238   outs() << "\nBlacklist Results:\n";
  240     outs() << "  " << BlacklistFilename << ":" << KV.first << " affects "
  240     outs() << "  " << BlacklistFilename << ":" << KV.first << " affects "
  240     outs() << "  " << BlacklistFilename << ":" << KV.first << " affects "
  241            << KV.second << " indirect CF instructions.\n";
  266       errs() << "Failed to get blacklist: " << Error << "\n";
  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: ";
   87     errs() << "Can't find component: '" << Name << "' in the map. Available components are: ";
   89       errs() << "'" << Component.first() << "' ";
   89       errs() << "'" << Component.first() << "' ";
   91     errs() << "\n";
  162       llvm::errs() << "llvm-config: unknown component name: " << Components[i]
  163                    << "\n";
  182   errs() << "\
  480         OS << PACKAGE_VERSION << '\n';
  492         OS << ActiveIncludeOption << ' ' << LLVM_CPPFLAGS << '\n';
  494         OS << ActiveIncludeOption << ' ' << LLVM_CFLAGS << '\n';
  496         OS << ActiveIncludeOption << ' ' << LLVM_CXXFLAGS << '\n';
  498         OS << ((HostTriple.isWindowsMSVCEnvironment()) ? "-LIBPATH:" : "-L")
  499            << ActiveLibDir << ' ' << LLVM_LDFLAGS << '\n';
  543         OS << LLVM_TARGETS_BUILT << '\n';
  547         OS << build_mode << '\n';
  552         OS << "ON\n";
  555         OS << LLVM_BUILD_SYSTEM << '\n';
  557         OS << (LLVM_HAS_RTTI ? "YES" : "NO") << '\n';
  559         OS << (LLVM_HAS_GLOBAL_ISEL ? "ON" : "OFF") << '\n';
  565         OS << LLVM_SRC_ROOT << '\n';
  585     WithColor::error(errs(), "llvm-config") << DyLibName << " is missing\n";
  593       OS << "shared\n";
  618           WithColor::error(errs(), "llvm-config") << "missing: " << Lib << "\n";
  618           WithColor::error(errs(), "llvm-config") << "missing: " << Lib << "\n";
  626             << "component libraries and shared library\n\n";
  630           WithColor::error(errs(), "llvm-config") << "missing: " << Lib << "\n";
  630           WithColor::error(errs(), "llvm-config") << "missing: " << Lib << "\n";
  649           OS << "static\n";
  656         OS << "shared\n";
  659         OS << "static\n";
  681               OS << "-l" << LibName;
  684               OS << "-l" << Lib;
  710       OS << (LinkMode == LinkModeStatic ? LLVM_SYSTEM_LIBS : "") << '\n';
  714         << "components given, but unused\n\n";
tools/llvm-cov/CodeCoverage.cpp
  368         errs() << "hash-mismatch: "
  369                << "No profile record found for '" << HashMismatch.first << "'"
  369                << "No profile record found for '" << HashMismatch.first << "'"
  370                << " with hash = 0x" << Twine::utohexstr(HashMismatch.second)
  663       errs() << "No filenames specified!\n";
  676         errs() << "Color output cannot be disabled when generating html.\n";
  681         errs() << "Color output cannot be enabled when generating lcov.\n";
tools/llvm-cov/CoverageExporterLcov.cpp
   47   OS << "FNF:" << Summary.FunctionCoverage.getNumFunctions() << '\n'
   48      << "FNH:" << Summary.FunctionCoverage.getExecuted() << '\n';
   56     OS << "FN:" << StartLine << ',' << F.Name << '\n';
   59     OS << "FNDA:" << F.ExecutionCount << ',' << F.Name << '\n';
   69       OS << "DA:" << LCS.getLine() << ',' << LCS.getExecutionCount() << '\n';
   75   OS << "LF:" << Summary.LineCoverage.getNumLines() << '\n'
   76      << "LH:" << Summary.LineCoverage.getCovered() << '\n';
   82   OS << "SF:" << Filename << '\n';
   96   OS << "end_of_record\n";
tools/llvm-cov/CoverageReport.cpp
   70       OS << Str.substr(0, Width - 3) << "...";
  242   OS << "\n";
  276   OS << "\n";
  289       OS << "\n";
  296     OS << "File '" << Filename << "':\n";
  296     OS << "File '" << Filename << "':\n";
  304     OS << "\n";
  306     OS << "\n";
  317       OS << "\n";
  343       outs() << "InstantiationGroup: " << GroupSummary.Name << " with "
  343       outs() << "InstantiationGroup: " << GroupSummary.Name << " with "
  344              << "size = " << Group.size() << "\n";
  344              << "size = " << Group.size() << "\n";
  423      << column("Cover", FileReportColumns[12], Column::RightAlignment) << "\n";
  425   OS << "\n";
  436     OS << "\n"
  437        << "Files which contain no functions:\n";
  445   OS << "\n";
tools/llvm-cov/CoverageSummaryInfo.cpp
   57     OS << "Definition at line " << Group.getLine() << ", column "
   57     OS << "Definition at line " << Group.getLine() << ", column "
tools/llvm-cov/RenderingSupport.h
   44   return OS.OS << std::forward<T>(Value);
tools/llvm-cov/SourceCoverageViewHTML.cpp
  262   OS << "<!doctype html>"
  264      << BeginHeader;
  268     OS << "<style>" << CSSForCoverage << "</style>";
  268     OS << "<style>" << CSSForCoverage << "</style>";
  268     OS << "<style>" << CSSForCoverage << "</style>";
  270     OS << "<link rel='stylesheet' type='text/css' href='"
  271        << escape(PathToStyle, Opts) << "'>";
  273   OS << EndHeader << "<body>";
  273   OS << EndHeader << "<body>";
  277   OS << "</body>"
  278      << "</html>";
  346         RSO << format("%*.2f", 7, Pctg) << "% ";
  348         RSO << "- ";
  398   CSS->operator<<(CSSForCoverage);
  426   OSRef << BeginCenteredDiv << BeginTable;
  426   OSRef << BeginCenteredDiv << BeginTable;
  439   OSRef << EndTable << EndCenteredDiv;
  439   OSRef << EndTable << EndCenteredDiv;
  448     OSRef << BeginCenteredDiv << BeginTable;
  448     OSRef << BeginCenteredDiv << BeginTable;
  454     OSRef << EndTable << EndCenteredDiv;
  454     OSRef << EndTable << EndCenteredDiv;
  464   OS << BeginCenteredDiv << BeginTable;
  464   OS << BeginCenteredDiv << BeginTable;
  468   OS << EndTable << EndCenteredDiv;
  468   OS << EndTable << EndCenteredDiv;
  472   OS << BeginSourceNameDiv << tag("pre", escape(getSourceName(), getOptions()))
  473      << EndSourceNameDiv;
  477   OS << "<tr>";
  484     OS << EndCodeTD;
  485   OS << "</tr>";
  569       errs() << "Highlighted line " << LineNo << ", " << Range.first << " -> ";
  569       errs() << "Highlighted line " << LineNo << ", " << Range.first << " -> ";
  569       errs() << "Highlighted line " << LineNo << ", " << Range.first << " -> ";
  571         errs() << "?";
  574       errs() << "\n";
  596         errs() << "Marker at " << CurSeg->Line << ":" << CurSeg->Col << " = "
  596         errs() << "Marker at " << CurSeg->Line << ":" << CurSeg->Col << " = "
  596         errs() << "Marker at " << CurSeg->Line << ":" << CurSeg->Col << " = "
  597                << formatCount(CurSeg->Count) << "\n";
  601   OS << BeginCodeTD;
  602   OS << BeginPre;
  605   OS << EndPre;
  610     OS << EndCodeTD;
  648   OS << BeginExpansionDiv;
  651   OS << EndExpansionDiv;
  657   OS << BeginExpansionDiv;
  659     OS << BeginSourceNameDiv
  663        << EndSourceNameDiv;
  667   OS << EndExpansionDiv;
tools/llvm-cov/SourceCoverageViewText.cpp
   73                                                       << ":\n";
   79     OS << "  |";
  140       errs() << "Highlighted line " << LineNumber << ", " << Range.first
  140       errs() << "Highlighted line " << LineNumber << ", " << Range.first
  141              << " -> " << Range.second << '\n';
  143       errs() << "Highlighted line " << LineNumber << ", " << Col << " -> ?\n";
  143       errs() << "Highlighted line " << LineNumber << ", " << Col << " -> ?\n";
  143       errs() << "Highlighted line " << LineNumber << ", " << Col << " -> ?\n";
  199       errs() << "Marker at " << S->Line << ":" << S->Col << " = "
  199       errs() << "Marker at " << S->Line << ":" << S->Col << " = "
  199       errs() << "Marker at " << S->Line << ":" << S->Col << " = "
  200             << formatCount(S->Count) << "\n";
  219     errs() << "Expansion at line " << ESV.getLine() << ", " << ESV.getStartCol()
  219     errs() << "Expansion at line " << ESV.getLine() << ", " << ESV.getStartCol()
  220            << " -> " << ESV.getEndCol() << '\n';
  232         << "Unexecuted instantiation: " << ISV.FunctionName << "\n";
  241         << getOptions().ProjectTitle << "\n";
  243   getOptions().colored_ostream(OS, raw_ostream::CYAN) << Title << "\n";
  247         << getOptions().CreatedTimeStr << "\n";
tools/llvm-cov/TestingSupport.cpp
   38     errs() << "error: " << Buf;
   44     errs() << "error: 64 bit binary expected\n";
   93     errs() << "error: " << Err.message() << "\n";
   93     errs() << "error: " << Err.message() << "\n";
   98   OS << "llvmcovmtestdata";
tools/llvm-cov/gcov.cpp
   49     errs() << GCNO << ": " << EC.message() << "\n";
   49     errs() << GCNO << ": " << EC.message() << "\n";
   54     errs() << "Invalid .gcno File!\n";
   62       errs() << GCDA << ": " << EC.message() << "\n";
   62       errs() << GCDA << ": " << EC.message() << "\n";
   70       errs() << "Invalid .gcda File!\n";
tools/llvm-cov/llvm-cov.cpp
   42   errs() << "Usage: llvm-cov {export|gcov|report|show} [OPTION]...\n\n"
   43          << "Shows code coverage information.\n\n"
   44          << "Subcommands:\n"
   45          << "  export: Export instrprof file to structured format.\n"
   46          << "  gcov:   Work with the gcov format.\n"
   47          << "  report: Summarize instrprof style coverage information.\n"
   48          << "  show:   Annotate source files using instrprof style coverage.\n";
   89     errs() << "Unrecognized command: " << argv[1] << ".\n\n";
   89     errs() << "Unrecognized command: " << argv[1] << ".\n\n";
   89     errs() << "Unrecognized command: " << argv[1] << ".\n\n";
tools/llvm-cvtres/llvm-cvtres.cpp
  130       outs() << "Machine architecture not specified; assumed X64.\n";
  160     outs() << "Machine: " << machineToStr(MachineType) << '\n';
  183       outs() << "Number of resources: " << EntryNumber << "\n";
  183       outs() << "Number of resources: " << EntryNumber << "\n";
tools/llvm-cxxdump/llvm-cxxdump.cpp
   46   WithColor::error(outs(), "") << "reading file: " << EC.message() << ".\n";
   46   WithColor::error(outs(), "") << "reading file: " << EC.message() << ".\n";
   70   WithColor::error(errs(), Input) << Message << "\n";
  347     outs() << VFTableName << '[' << Offset << "]: " << SymName << '\n';
  353       outs() << VBTableName << '[' << Idx << "]: " << Offset << '\n';
  360     outs() << COLName << "[IsImageRelative]: " << COL.Data[0] << '\n';
  361     outs() << COLName << "[OffsetToTop]: " << COL.Data[1] << '\n';
  362     outs() << COLName << "[VFPtrOffset]: " << COL.Data[2] << '\n';
  363     outs() << COLName << "[TypeDescriptor]: " << COL.Symbols[0] << '\n';
  364     outs() << COLName << "[ClassHierarchyDescriptor]: " << COL.Symbols[1]
  370     outs() << CHDName << "[AlwaysZero]: " << CHD.Data[0] << '\n';
  371     outs() << CHDName << "[Flags]: " << CHD.Data[1] << '\n';
  372     outs() << CHDName << "[NumClasses]: " << CHD.Data[2] << '\n';
  373     outs() << CHDName << "[BaseClassArray]: " << CHD.Symbols[0] << '\n';
  379     outs() << BCAName << '[' << Offset << "]: " << SymName << '\n';
  384     outs() << BCDName << "[TypeDescriptor]: " << BCD.Symbols[0] << '\n';
  385     outs() << BCDName << "[NumBases]: " << BCD.Data[0] << '\n';
  386     outs() << BCDName << "[OffsetInVBase]: " << BCD.Data[1] << '\n';
  387     outs() << BCDName << "[VBPtrOffset]: " << BCD.Data[2] << '\n';
  388     outs() << BCDName << "[OffsetInVBTable]: " << BCD.Data[3] << '\n';
  389     outs() << BCDName << "[Flags]: " << BCD.Data[4] << '\n';
  390     outs() << BCDName << "[ClassHierarchyDescriptor]: " << BCD.Symbols[1]
  396     outs() << TDName << "[VFPtr]: " << TD.Symbols[0] << '\n';
  397     outs() << TDName << "[AlwaysZero]: " << TD.AlwaysZero << '\n';
  398     outs() << TDName << "[MangledName]: ";
  407       outs() << TIName << "[Flags." << Name
  407       outs() << TIName << "[Flags." << Name
  408              << "]: " << (TI.Flags & Flag ? "true" : "false") << '\n';
  408              << "]: " << (TI.Flags & Flag ? "true" : "false") << '\n';
  411       outs() << TIName << '[' << Name << "]: ";
  411       outs() << TIName << '[' << Name << "]: ";
  415     outs() << TIName << "[Flags]: " << TI.Flags << '\n';
  426     outs() << CTAName << "[NumEntries]: " << CTA.NumEntries << '\n';
  432       outs() << CTAName << '[' << Idx++ << "]: " << I->second << '\n';
  438       outs() << CTName << "[Flags." << Name
  438       outs() << CTName << "[Flags." << Name
  439              << "]: " << (CT.Flags & Flag ? "true" : "false") << '\n';
  439              << "]: " << (CT.Flags & Flag ? "true" : "false") << '\n';
  441     outs() << CTName << "[Flags]: " << CT.Flags << '\n';
  444     outs() << CTName << "[TypeDescriptor]: " << CT.Symbols[0] << '\n';
  445     outs() << CTName << "[NonVirtualBaseAdjustmentOffset]: "
  448            << "[VirtualBasePointerOffset]: " << CT.VirtualBasePointerOffset
  450     outs() << CTName << "[VirtualBaseAdjustmentOffset]: "
  452     outs() << CTName << "[Size]: " << CT.Size << '\n';
  454            << "[CopyCtor]: " << (CT.Symbols[1].empty() ? "null" : CT.Symbols[1])
  461     outs() << VTTName << '[' << VTTOffset << "]: " << VTTEntry << '\n';
  465     outs() << TIName << ": " << TIPair.second << '\n';
  480       outs() << VTableName << '[' << Offset << "]: ";
  490       outs() << VTableName << '[' << Offset << "]: ";
tools/llvm-cxxfilt/llvm-cxxfilt.cpp
   76     OS << "import thunk for ";
tools/llvm-cxxmap/llvm-cxxmap.cpp
   50     errs() << WhenceStr << ": ";
   51   errs() << Message << "\n";
   53     WithColor::note() << Hint << "\n";
   61     errs() << WhenceStr << ": ";
   62   errs() << Message << "\n";
   64     WithColor::note() << Hint << "\n";
  126     Out << Symbol << " " << NewSymbol << "\n";
  126     Out << Symbol << " " << NewSymbol << "\n";
tools/llvm-diff/DiffConsumer.cpp
   54       out << "store to ";
   57       out << "call to ";
   60       out << "invoke to ";
   90   out << "<anonymous>";
  100       if (Differences) out << "\n";
  105         out << "in function " << L->getName()
  106             << " / " << R->getName() << ":\n";
  106             << " / " << R->getName() << ":\n";
  108         out << "in function " << L->getName() << ":\n";
  108         out << "in function " << L->getName() << ":\n";
  113         out << "  in block %" << L->getName() << ":\n";
  113         out << "  in block %" << L->getName() << ":\n";
  115         out << "  in block ";
  117         out << " / ";
  119         out << ":\n";
  122       out << "    in instruction ";
  124       out << " / ";
  126       out << ":\n";
  196       out << "  ";
  201       out << "< ";
  206       out << "> ";
tools/llvm-diff/llvm-diff.cpp
   51     errs() << "No function named @" << Name << " in either module\n";
   51     errs() << "No function named @" << Name << " in either module\n";
   53     errs() << "No function named @" << Name << " in left module\n";
   53     errs() << "No function named @" << Name << " in left module\n";
   55     errs() << "No function named @" << Name << " in right module\n";
   55     errs() << "No function named @" << Name << " in right module\n";
tools/llvm-dis/llvm-dis.cpp
   73   OS << DL.getLine() << ":" << DL.getCol();
   75     OS << "@";
   83     OS << "; [#uses=" << F->getNumUses() << ']';  // Output # uses
   92       OS << "; [#uses=" << V.getNumUses() << " type=" << *V.getType() << "]";
   92       OS << "; [#uses=" << V.getNumUses() << " type=" << *V.getType() << "]";
   92       OS << "; [#uses=" << V.getNumUses() << " type=" << *V.getType() << "]";
   99           OS << ";";
  101         OS << " [debug line = ";
  103         OS << "]";
  108           OS << ";";
  110         OS << " [debug variable = " << DDI->getVariable()->getName() << "]";
  110         OS << " [debug variable = " << DDI->getVariable()->getName() << "]";
  115           OS << ";";
  117         OS << " [debug variable = " << DVI->getVariable()->getName() << "]";
  117         OS << " [debug variable = " << DVI->getVariable()->getName() << "]";
  128     OS << Prefix << ": ";
  128     OS << Prefix << ": ";
  132       case DS_Remark: OS << "remark: "; break;
tools/llvm-dwarfdump/Statistics.cpp
  454   OS << ",\"" << Key << "\":" << Value;
  454   OS << ",\"" << Key << "\":" << Value;
  454   OS << ",\"" << Key << "\":" << Value;
  455   LLVM_DEBUG(llvm::dbgs() << Key << ": " << Value << '\n');
  455   LLVM_DEBUG(llvm::dbgs() << Key << ": " << Value << '\n');
  460   OS << ",\"" << Key << " with 0% of its scope covered\":"
  460   OS << ",\"" << Key << " with 0% of its scope covered\":"
  460   OS << ",\"" << Key << " with 0% of its scope covered\":"
  462   LLVM_DEBUG(llvm::dbgs() << Key << " with 0% of its scope covered: "
  462   LLVM_DEBUG(llvm::dbgs() << Key << " with 0% of its scope covered: "
  464   OS << ",\"" << Key << " with 1-9% of its scope covered\":"
  464   OS << ",\"" << Key << " with 1-9% of its scope covered\":"
  464   OS << ",\"" << Key << " with 1-9% of its scope covered\":"
  466   LLVM_DEBUG(llvm::dbgs() << Key << " with 1-9% of its scope covered: "
  466   LLVM_DEBUG(llvm::dbgs() << Key << " with 1-9% of its scope covered: "
  469     OS << ",\"" << Key << " with " << (i - 1) * 10 << "-" << i * 10 - 1
  469     OS << ",\"" << Key << " with " << (i - 1) * 10 << "-" << i * 10 - 1
  469     OS << ",\"" << Key << " with " << (i - 1) * 10 << "-" << i * 10 - 1
  469     OS << ",\"" << Key << " with " << (i - 1) * 10 << "-" << i * 10 - 1
  470        << "% of its scope covered\":" << LocationStats[i];
  472                << Key << " with " << (i - 1) * 10 << "-" << i * 10 - 1
  472                << Key << " with " << (i - 1) * 10 << "-" << i * 10 - 1
  472                << Key << " with " << (i - 1) * 10 << "-" << i * 10 - 1
  473                << "% of its scope covered: " << LocationStats[i]);
  475   OS << ",\"" << Key << " with 100% of its scope covered\":"
  475   OS << ",\"" << Key << " with 100% of its scope covered\":"
  475   OS << ",\"" << Key << " with 100% of its scope covered\":"
  477   LLVM_DEBUG(llvm::dbgs() << Key << " with 100% of its scope covered: "
  477   LLVM_DEBUG(llvm::dbgs() << Key << " with 100% of its scope covered: "
  532                << Entry.getKey() << ": " << V.getKey() << "\n");
  532                << Entry.getKey() << ": " << V.getKey() << "\n");
  549   OS << "{\"version\":" << Version;
  550   LLVM_DEBUG(llvm::dbgs() << "Variable location quality metrics\n";
  551              llvm::dbgs() << "---------------------------------\n");
  604   OS << "}\n";
  606       llvm::dbgs() << "Total Availability: "
  608                    << "%\n";
  609       llvm::dbgs() << "PC Ranges covered: "
  612                    << "%\n");
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
   71     outs() << "  -" << O.ArgStr;
   78     outs() << "[=offset]";
  232   WithColor::error() << Prefix << ": " << EC.message() << "\n";
  232   WithColor::error() << Prefix << ": " << EC.message() << "\n";
  295         errs() << "error in regular expression: " << Error << "\n";
  295         errs() << "error in regular expression: " << Error << "\n";
  422     OS << Filename << ":\tfile format " << Obj.getFileFormatName() << '\n';
  455   stream << "Verifying " << Filename.str() << ":\tfile format "
  455   stream << "Verifying " << Filename.str() << ":\tfile format "
  456   << Obj.getFileFormatName() << "\n";
  459     stream << "No errors.\n";
  461     stream << "Errors detected.\n";
  581     WithColor::error() << "incompatible arguments: specifying both -diff and "
tools/llvm-elfabi/ELFObjHandler.cpp
   69   Stream << " " << After;
tools/llvm-elfabi/ErrorCollector.cpp
   43   OS << "Encountered multiple errors:\n";
   45     WithColor::error(OS) << "(" << Tags[i] << ") " << Errors[i];
   45     WithColor::error(OS) << "(" << Tags[i] << ") " << Errors[i];
   47       OS << "\n";
   65   errs() << "Program aborted due to unhandled Error(s):\n";
   67   errs() << "\n";
tools/llvm-elfabi/llvm-elfabi.cpp
  124     WithColor::error() << ReadError << "\n";
  138       WithColor::error() << TBEWriteError << "\n";
tools/llvm-exegesis/lib/AArch64/Target.cpp
   51     errs() << "setRegTo is not implemented, results will be unreliable\n";
tools/llvm-exegesis/lib/Analysis.cpp
   38         OS << "\"\"";
   49       OS << "&lt;";
   51       OS << "&gt;";
   53       OS << "&amp;";
   63       OS << "\\\"";
  151   OS << "\n";
  189   OS << "cluster_id" << kCsvSep << "opcode_name" << kCsvSep << "config"
  189   OS << "cluster_id" << kCsvSep << "opcode_name" << kCsvSep << "config"
  189   OS << "cluster_id" << kCsvSep << "opcode_name" << kCsvSep << "config"
  190      << kCsvSep << "sched_class";
  195   OS << "\n";
  203     OS << "\n\n";
  256     OS << " (x" << Instructions.size() << ")";
  256     OS << " (x" << Instructions.size() << ")";
  269       OS << " &rarr; ";
  276   OS << "<li><span class=\"mono\" title=\"";
  278   OS << "\">";
  290   OS << "</span> <span class=\"mono\">";
  292   OS << "</span></li>";
  299   OS << "<table class=\"sched-class-clusters\">";
  300   OS << "<tr><th>ClusterId</th><th>Opcode/Config</th>";
  304     OS << "<th>";
  306     OS << "</th>";
  308   OS << "</tr>";
  310     OS << "<tr class=\""
  311        << (Cluster.measurementsMatch(*SubtargetInfo_, RSC, Clustering_,
  315        << "\"><td>";
  317     OS << "</td><td><ul>";
  321     OS << "</ul></td>";
  323       OS << "<td class=\"measurement\">";
  325       OS << "<br><span class=\"minmax\">[";
  327       OS << ";";
  329       OS << "]</span></td>";
  331     OS << "</tr>";
  333   OS << "</table>";
  374   OS << "<table class=\"sched-class-desc\">";
  375   OS << "<tr><th>Valid</th><th>Variant</th><th>NumMicroOps</th><th>Latency</"
  381     OS << "<tr><td>&#10004;</td>";
  382     OS << "<td>" << (RSC.WasVariant ? "&#10004;" : "&#10005;") << "</td>";
  382     OS << "<td>" << (RSC.WasVariant ? "&#10004;" : "&#10005;") << "</td>";
  382     OS << "<td>" << (RSC.WasVariant ? "&#10004;" : "&#10005;") << "</td>";
  383     OS << "<td>" << RSC.SCDesc->NumMicroOps << "</td>";
  383     OS << "<td>" << RSC.SCDesc->NumMicroOps << "</td>";
  385     OS << "<td><ul>";
  389       OS << "<li>" << Entry->Cycles;
  392         OS << " (WriteResourceID " << Entry->WriteResourceID << ")";
  392         OS << " (WriteResourceID " << Entry->WriteResourceID << ")";
  394       OS << "</li>";
  396     OS << "</ul></td>";
  398     OS << "<td>";
  402     OS << "</td>";
  404     OS << "<td><ul>";
  406       OS << "<li><span class=\"mono\">";
  409       OS << "</span>: " << WPR.Cycles << "</li>";
  409       OS << "</span>: " << WPR.Cycles << "</li>";
  411     OS << "</ul></td>";
  413     OS << "<td><ul>";
  415       OS << "<li><span class=\"mono\">";
  419       OS << "</span>: ";
  421       OS << "</li>";
  423     OS << "</ul></td>";
  424     OS << "</tr>";
  426     OS << "<tr><td>&#10005;</td><td></td><td></td></tr>";
  428   OS << "</table>";
  439   OS << "<div class=\"inconsistency\"><p>" << display_name << " Cluster ("
  439   OS << "<div class=\"inconsistency\"><p>" << display_name << " Cluster ("
  440      << Cluster.PointIndices.size() << " points)</p>";
  441   OS << "<table class=\"sched-class-clusters\">";
  443   OS << "<tr><th>ClusterId</th><th>Opcode/Config</th>";
  445     OS << "<th>";
  447     OS << "</th>";
  449   OS << "</tr>";
  453     OS << "<tr class=\"bad-cluster\"><td>" << display_name << "</td><td><ul>";
  453     OS << "<tr class=\"bad-cluster\"><td>" << display_name << "</td><td><ul>";
  455     OS << "</ul></td>";
  457       OS << "<td class=\"measurement\">";
  460     OS << "</tr>";
  462   OS << "</table>";
  464   OS << "</div>";
  539   OS << "<!DOCTYPE html><html>" << kHtmlHead << "<body>";
  539   OS << "<!DOCTYPE html><html>" << kHtmlHead << "<body>";
  539   OS << "<!DOCTYPE html><html>" << kHtmlHead << "<body>";
  540   OS << "<h1><span class=\"mono\">llvm-exegesis</span> Analysis Results</h1>";
  541   OS << "<h3>Triple: <span class=\"mono\">";
  543   OS << "</span></h3><h3>Cpu: <span class=\"mono\">";
  545   OS << "</span></h3>";
  580     OS << "<div class=\"inconsistency\"><p>Sched Class <span "
  587     OS << "</span> contains instructions whose performance characteristics do"
  590     OS << "<p>llvm SchedModel data:</p>";
  592     OS << "</div>";
  598   OS << "</body></html>";
tools/llvm-exegesis/lib/Assembler.cpp
   57     errs() << " run-pass " << PassName << " is not registered.\n";
   57     errs() << " run-pass " << PassName << " is not registered.\n";
   62     errs() << " cannot create pass: " << PI->getPassName() << "\n";
   62     errs() << " cannot create pass: " << PI->getPassName() << "\n";
tools/llvm-exegesis/lib/BenchmarkResult.cpp
   73       ErrorStream << "Unknown Instruction: '" << String << "'\n";
   73       ErrorStream << "Unknown Instruction: '" << String << "'\n";
   96       ErrorStream << "No register with enum value '" << RegNo << "'\n";
   96       ErrorStream << "No register with enum value '" << RegNo << "'\n";
  104     ErrorStream << "No register with name '" << RegName << "'\n";
  104     ErrorStream << "No register with name '" << RegName << "'\n";
  110     OS << kIntegerPrefix;
  121     OS << kDoublePrefix << format("%la", Value);
  140       OS << kInvalidOperand;
  155       ErrorStream << "Unknown Operand: '" << String << "'\n";
  155       ErrorStream << "Unknown Operand: '" << String << "'\n";
  162       ErrorStream << "No opcode with enum value '" << InstrNo << "'\n";
  162       ErrorStream << "No opcode with enum value '" << InstrNo << "'\n";
  170     ErrorStream << "No opcode with name '" << InstrName << "'\n";
  170     ErrorStream << "No opcode with name '" << InstrName << "'\n";
  257     Out << Context.getRegName(RV.Register) << "=0x"
  274           << "Unknown initial register value: '" << String << "'";
  274           << "Unknown initial register value: '" << String << "'";
tools/llvm-exegesis/lib/BenchmarkRunner.cpp
  126     outs() << "Check generated assembly with: /usr/bin/objdump -d "
  127            << *ObjectFilePath << "\n";
tools/llvm-exegesis/lib/Clustering.cpp
  368           << "invalid number of measurements in latency mode: expected 1, got "
  369           << NumMeasurements << "\n";
  378       errs() << "invalid number of measurements in inverse throughput "
  380              << NumMeasurements << "\n";
tools/llvm-exegesis/lib/LlvmState.cpp
   35     errs() << "no exegesis target for " << Triple << ", using default\n";
   35     errs() << "no exegesis target for " << Triple << ", using default\n";
tools/llvm-exegesis/lib/MCInstrDescView.cpp
  229   Stream << "- " << Name << "\n";
  229   Stream << "- " << Name << "\n";
  231     Stream << "- Op" << Op.getIndex();
  233       Stream << " Explicit";
  235       Stream << " Implicit";
  237       Stream << " Use";
  239       Stream << " Def";
  241       Stream << " Immediate";
  243       Stream << " Memory";
  246         Stream << " Reg(" << RegInfo.getName(Op.getImplicitReg()) << ")";
  246         Stream << " Reg(" << RegInfo.getName(Op.getImplicitReg()) << ")";
  246         Stream << " Reg(" << RegInfo.getName(Op.getImplicitReg()) << ")";
  248         Stream << " RegClass("
  249                << RegInfo.getRegClassName(
  251                << ")";
  254       Stream << " TiedToOp" << Op.getTiedToIndex();
  255     Stream << "\n";
  258     Stream << "- Var" << Var.getIndex();
  259     Stream << " [";
  263         Stream << ",";
  264       Stream << "Op" << OperandIndex;
  267     Stream << "]";
  268     Stream << "\n";
  271     Stream << "- hasMemoryOperands\n";
  273     Stream << "- hasAliasingImplicitRegisters (execution is always serial)\n";
  275     Stream << "- hasTiedRegisters (execution is always serial)\n";
  277     Stream << "- hasAliasingRegisters\n";
  348     OS << "Invalid";
  350     OS << MCRegisterInfo.getName(Op.getReg());
  356     OS << "Expr";
  358     OS << "SubInst";
tools/llvm-exegesis/lib/Mips/Target.cpp
   53   errs() << "setRegTo is not implemented, results will be unreliable\n";
tools/llvm-exegesis/lib/PowerPC/Target.cpp
   60   errs() << "setRegTo is not implemented, results will be unreliable\n";
tools/llvm-exegesis/lib/SchedClassResolution.cpp
  298         errs() << "expected `key` to be either a ProcResIdx or a ProcRes "
  300                << Key << "\n";
tools/llvm-exegesis/lib/SnippetFile.cpp
   54         errs() << "invalid comment 'LLVM-EXEGESIS-DEFREG " << CommentText
   55                << "', expected two parameters <REG> <HEX_VALUE>\n";
   60         errs() << "unknown register '" << Parts[0]
   61                << "' in 'LLVM-EXEGESIS-DEFREG " << CommentText << "'\n";
   61                << "' in 'LLVM-EXEGESIS-DEFREG " << CommentText << "'\n";
   77         errs() << "unknown register '" << RegName
   78                << "' in 'LLVM-EXEGESIS-LIVEIN " << CommentText << "'\n";
   78                << "' in 'LLVM-EXEGESIS-LIVEIN " << CommentText << "'\n";
  106     errs() << "'" << RegName
  107            << "' is not a valid register name for the target\n";
tools/llvm-exegesis/llvm-exegesis.cpp
  257                << ": ignoring instruction without sched class\n";
  304     errs() << "Printing " << Name << " results to file '" << OutputFilename
  304     errs() << "Printing " << Name << " results to file '" << OutputFilename
  305            << "'\n";
  334   outs() << "Parsed " << Points.size() << " benchmark points\n";
  334   outs() << "Parsed " << Points.size() << " benchmark points\n";
  336     errs() << "no benchmarks to analyze\n";
  346     errs() << "unknown target '" << Points[0].LLVMTriple << "'\n";
  346     errs() << "unknown target '" << Points[0].LLVMTriple << "'\n";
tools/llvm-extract/llvm-extract.cpp
  157       errs() << argv[0] << ": program doesn't contain alias named '"
  157       errs() << argv[0] << ": program doesn't contain alias named '"
  158              << ExtractAliases[i] << "'!\n";
  169       errs() << argv[0] << ": '" << ExtractRegExpAliases[i] << "' "
  169       errs() << argv[0] << ": '" << ExtractRegExpAliases[i] << "' "
  169       errs() << argv[0] << ": '" << ExtractRegExpAliases[i] << "' "
  181       errs() << argv[0] << ": program doesn't contain global named '"
  181       errs() << argv[0] << ": program doesn't contain global named '"
  182              << ExtractRegExpAliases[i] << "'!\n";
  191       errs() << argv[0] << ": program doesn't contain global named '"
  191       errs() << argv[0] << ": program doesn't contain global named '"
  192              << ExtractGlobals[i] << "'!\n";
  203       errs() << argv[0] << ": '" << ExtractRegExpGlobals[i] << "' "
  203       errs() << argv[0] << ": '" << ExtractRegExpGlobals[i] << "' "
  203       errs() << argv[0] << ": '" << ExtractRegExpGlobals[i] << "' "
  214       errs() << argv[0] << ": program doesn't contain global named '"
  214       errs() << argv[0] << ": program doesn't contain global named '"
  215              << ExtractRegExpGlobals[i] << "'!\n";
  224       errs() << argv[0] << ": program doesn't contain function named '"
  224       errs() << argv[0] << ": program doesn't contain function named '"
  225              << ExtractFuncs[i] << "'!\n";
  236       errs() << argv[0] << ": '" << ExtractRegExpFuncs[i] << "' "
  236       errs() << argv[0] << ": '" << ExtractRegExpFuncs[i] << "' "
  236       errs() << argv[0] << ": '" << ExtractRegExpFuncs[i] << "' "
  248       errs() << argv[0] << ": program doesn't contain global named '"
  248       errs() << argv[0] << ": program doesn't contain global named '"
  249              << ExtractRegExpFuncs[i] << "'!\n";
  261       errs() << argv[0] << ": program doesn't contain a function named '"
  261       errs() << argv[0] << ": program doesn't contain a function named '"
  262              << BBInfo.first << "'!\n";
  277         errs() << argv[0] << ": function " << F->getName()
  277         errs() << argv[0] << ": function " << F->getName()
  278                << " doesn't contain a basic block named '" << BBInfo.second
  279                << "'!\n";
tools/llvm-ifs/llvm-ifs.cpp
  289   OS << "--- !ELF\n";
  290   OS << "FileHeader:\n";
  291   OS << "  Class:           ELFCLASS";
  292   OS << (T.isArch64Bit() ? "64" : "32");
  293   OS << "\n";
  294   OS << "  Data:            ELFDATA2";
  295   OS << (T.isLittleEndian() ? "LSB" : "MSB");
  296   OS << "\n";
  297   OS << "  Type:            ET_DYN\n";
  298   OS << "  Machine:         "
  320      << "\nSections:"
  321      << "\n  - Name:            .text"
  322      << "\n    Type:            SHT_PROGBITS"
  323      << "\n  - Name:            .data"
  324      << "\n    Type:            SHT_PROGBITS"
  325      << "\n  - Name:            .rodata"
  326      << "\n    Type:            SHT_PROGBITS"
  327      << "\nSymbols:\n";
  329     OS << "  - Name:            " << Symbol.Name << "\n"
  329     OS << "  - Name:            " << Symbol.Name << "\n"
  330        << "    Type:            STT_";
  334       OS << "NOTYPE";
  337       OS << "OBJECT";
  340       OS << "FUNC";
  343     OS << "\n    Section:         .text"
  344        << "\n    Binding:         STB_" << (Symbol.Weak ? "WEAK" : "GLOBAL")
  344        << "\n    Binding:         STB_" << (Symbol.Weak ? "WEAK" : "GLOBAL")
  345        << "\n";
  347   OS << "...\n";
  361     WithColor::error(errs(), "llvm-ifs") << Msg << "\n";
  384       << "Invalid ObjectFileFormat: Only ELF and TBD are supported.\n";
  412       WithColor::error() << StubOrErr.takeError() << "\n";
  428               << "Interface Stub: IfsVersion Mismatch."
  429               << "\nFilenames: " << PreviousInputFilePath << " "
  429               << "\nFilenames: " << PreviousInputFilePath << " "
  430               << InputFilePath << "\nIfsVersion Values: " << Stub.IfsVersion
  431               << " " << TargetStub->IfsVersion << "\n";
  431               << " " << TargetStub->IfsVersion << "\n";
  438         WithColor::error() << "Interface Stub: ObjectFileFormat Mismatch."
  439                            << "\nFilenames: " << PreviousInputFilePath << " "
  439                            << "\nFilenames: " << PreviousInputFilePath << " "
  440                            << InputFilePath << "\nObjectFileFormat Values: "
  441                            << Stub.ObjectFileFormat << " "
  442                            << TargetStub->ObjectFileFormat << "\n";
  446         WithColor::error() << "Interface Stub: Triple Mismatch."
  447                            << "\nFilenames: " << PreviousInputFilePath << " "
  447                            << "\nFilenames: " << PreviousInputFilePath << " "
  449                            << "\nTriple Values: " << Stub.Triple << " "
  449                            << "\nTriple Values: " << Stub.Triple << " "
  450                            << TargetStub->Triple << "\n";
  454         WithColor::error() << "Interface Stub: SOName Mismatch."
  455                            << "\nFilenames: " << PreviousInputFilePath << " "
  455                            << "\nFilenames: " << PreviousInputFilePath << " "
  457                            << "\nSOName Values: " << Stub.SOName << " "
  457                            << "\nSOName Values: " << Stub.SOName << " "
  458                            << TargetStub->SOName << "\n";
  462         WithColor::error() << "Interface Stub: NeededLibs Mismatch."
  463                            << "\nFilenames: " << PreviousInputFilePath << " "
  463                            << "\nFilenames: " << PreviousInputFilePath << " "
  464                            << InputFilePath << "\n";
  481         WithColor::error() << "Interface Stub: Type Mismatch for "
  482                            << Symbol.Name << ".\nFilename: " << InputFilePath
  483                            << "\nType Values: " << getTypeName(SI->second.Type)
  484                            << " " << getTypeName(Symbol.Type) << "\n";
  484                            << " " << getTypeName(Symbol.Type) << "\n";
  489         WithColor::error() << "Interface Stub: Size Mismatch for "
  490                            << Symbol.Name << ".\nFilename: " << InputFilePath
  491                            << "\nSize Values: " << SI->second.Size << " "
  491                            << "\nSize Values: " << SI->second.Size << " "
  492                            << Symbol.Size << "\n";
  498         WithColor::error() << "Interface Stub: Weak Mismatch for "
  499                            << Symbol.Name << ".\nFilename: " << InputFilePath
  500                            << "\nWeak Values: " << SI->second.Weak << " "
  500                            << "\nWeak Values: " << SI->second.Weak << " "
  501                            << Symbol.Weak << "\n";
  513       WithColor::error() << "Interface Stub: Bad IfsVersion: "
  514                          << Stub.IfsVersion << ", llvm-ifs supported version: "
  515                          << IFSVersionCurrent << ".\n";
  527     WithColor::error() << "Couldn't open " << OutputFilename
  528                        << " for writing.\n";
tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
   88     errs() << "error: input module is broken!\n";
  109   dbgs() << "LLVM ERROR: " << Message << "\n"
  109   dbgs() << "LLVM ERROR: " << Message << "\n"
  110          << "Aborting to trigger fuzzer exit handling.\n";
  127     errs() << *argv[0] << ": -mtriple must be specified\n";
  127     errs() << *argv[0] << ": -mtriple must be specified\n";
  138     errs() << argv[0] << ": " << Error;
  148     errs() << argv[0] << ": invalid optimization level.\n";
tools/llvm-jitlink/llvm-jitlink-macho.cpp
   88     dbgs() << "Registering MachO file info for \"" << FileName << "\"\n";
   88     dbgs() << "Registering MachO file info for \"" << FileName << "\"\n";
   92       dbgs() << "  Section \"" << Sec.getName() << "\": "
   92       dbgs() << "  Section \"" << Sec.getName() << "\": "
   93              << (Sec.symbols_empty() ? "empty. skipping." : "processing...")
   94              << "\n";
tools/llvm-jitlink/llvm-jitlink.cpp
  122   return OS << "target addr = "
  124             << ", content: " << (const void *)MRI.getContent().data() << " -- "
  124             << ", content: " << (const void *)MRI.getContent().data() << " -- "
  126             << " (" << MRI.getContent().size() << " bytes)";
  126             << " (" << MRI.getContent().size() << " bytes)";
  131   OS << "Symbols:\n";
  133     OS << "  \"" << SKV.first() << "\" " << SKV.second << "\n";
  133     OS << "  \"" << SKV.first() << "\" " << SKV.second << "\n";
  133     OS << "  \"" << SKV.first() << "\" " << SKV.second << "\n";
  140     OS << "  Section \"" << SIKV.first() << "\": " << SIKV.second << "\n";
  140     OS << "  Section \"" << SIKV.first() << "\": " << SIKV.second << "\n";
  140     OS << "  Section \"" << SIKV.first() << "\": " << SIKV.second << "\n";
  142     OS << "  GOT \"" << GOTKV.first() << "\": " << GOTKV.second << "\n";
  142     OS << "  GOT \"" << GOTKV.first() << "\": " << GOTKV.second << "\n";
  142     OS << "  GOT \"" << GOTKV.first() << "\": " << GOTKV.second << "\n";
  144     OS << "  Stub \"" << StubKV.first() << "\": " << StubKV.second << "\n";
  144     OS << "  Stub \"" << StubKV.first() << "\": " << StubKV.second << "\n";
  144     OS << "  Stub \"" << StubKV.first() << "\": " << StubKV.second << "\n";
  151     OS << "File \"" << FIKV.first() << "\":\n" << FIKV.second;
  151     OS << "File \"" << FIKV.first() << "\":\n" << FIKV.second;
  185     OS << S->getName() << " content:";
  187       OS << "\n  section empty\n";
  210         OS << "   ";
  219           OS << " 00";
  225     OS << "\n";
  420   OS << "Registered addresses:\n" << SymbolInfos << FileInfos;
  436       outs() << "Link graph post-fixup:\n";
  454       outs() << "Relocated section contents for " << G.getName() << ":\n";
  454       outs() << "Relocated section contents for " << G.getName() << ":\n";
  544     outs() << "Warning: --args passed to -noexec run will be ignored.\n";
  585   LLVM_DEBUG(dbgs() << "Creating JITDylibs...\n");
  591     LLVM_DEBUG(dbgs() << "  0: " << MainJD.getName() << "\n");
  591     LLVM_DEBUG(dbgs() << "  0: " << MainJD.getName() << "\n");
  602       LLVM_DEBUG(dbgs() << "  " << JDIdx << ": " << JD.getName() << "\n");
  602       LLVM_DEBUG(dbgs() << "  " << JDIdx << ": " << JD.getName() << "\n");
  602       LLVM_DEBUG(dbgs() << "  " << JDIdx << ": " << JD.getName() << "\n");
  618   LLVM_DEBUG(dbgs() << "Adding objects...\n");
  625     LLVM_DEBUG(dbgs() << "  " << InputFileArgIdx << ": \"" << InputFile
  625     LLVM_DEBUG(dbgs() << "  " << InputFileArgIdx << ": \"" << InputFile
  626                       << "\" to " << JD.getName() << "\n";);
  626                       << "\" to " << JD.getName() << "\n";);
  633   LLVM_DEBUG(dbgs() << "Defining absolute symbols...\n");
  664     dbgs() << "Dylib search order is [ ";
  666       dbgs() << JD->getName() << " ";
  667     dbgs() << "]\n";
  757     outs() << "Total size of all blocks before pruning: " << S.SizeBeforePruning
  758            << "\nTotal size of all blocks after fixups: " << S.SizeAfterFixups
  759            << "\n";
tools/llvm-link/llvm-link.cpp
  122     errs() << "Loading '" << FN << "'\n";
  122     errs() << "Loading '" << FN << "'\n";
  230       errs() << "Import parameter bad format: " << Import << "\n";
  230       errs() << "Import parameter bad format: " << Import << "\n";
  240       errs() << argv0 << ": " << FileName;
  240       errs() << argv0 << ": " << FileName;
  241       WithColor::error() << "input module is broken!\n";
  247       errs() << "Ignoring import request for non-existent function "
  248              << FunctionName << " from " << FileName << "\n";
  248              << FunctionName << " from " << FileName << "\n";
  255       errs() << "Ignoring import request for weak-any function " << FunctionName
  256              << " from " << FileName << "\n";
  256              << " from " << FileName << "\n";
  261       errs() << "Importing " << FunctionName << " from " << FileName << "\n";
  261       errs() << "Importing " << FunctionName << " from " << FileName << "\n";
  261       errs() << "Importing " << FunctionName << " from " << FileName << "\n";
  285       errs() << argv0 << ": ";
  285       errs() << argv0 << ": ";
  286       WithColor::error() << " loading file '" << File << "'\n";
  286       WithColor::error() << " loading file '" << File << "'\n";
  294       errs() << argv0 << ": " << File << ": ";
  294       errs() << argv0 << ": " << File << ": ";
  294       errs() << argv0 << ": " << File << ": ";
  295       WithColor::error() << "input module is broken!\n";
  321       errs() << "Linking in '" << File << "'\n";
  321       errs() << "Linking in '" << File << "'\n";
  381     errs() << "Here's the assembly:\n" << *Composite;
  391     errs() << argv[0] << ": ";
  391     errs() << argv[0] << ": ";
  392     WithColor::error() << "linked module is broken!\n";
  397     errs() << "Writing bitcode...\n";
tools/llvm-lipo/llvm-lipo.cpp
   34   WithColor::error(errs(), ToolName) << Message << "\n";
   45   WithColor::error(errs(), ToolName) << "'" << File << "': " << Buf;
   45   WithColor::error(errs(), ToolName) << "'" << File << "': " << Buf;
  263     OS << "Invalid architecture: " << ArchitectureName
  264        << "\nValid architecture names are:";
  266       OS << " " << arch;
  363     OS << "only one of the following actions can be specified:";
  365       OS << " " << Arg->getSpelling();
  498         OS << Slice(MachOObjOrError->get()).getArchString() << " ";
  504         OS << Slice(ArchiveOrError->get()).getArchString() << " ";
  510     OS << "\n";
  513   OS << Slice(cast<MachOObjectFile>(Binary)).getArchString() << " \n";
  529       outs() << "Architectures in the fat file: " << Binary->getFileName()
  530              << " are: ";
  538       outs() << "Non-fat file: " << Binary->getFileName()
  539              << " is architecture: ";
tools/llvm-lto/llvm-lto.cpp
  236   errs() << "llvm-lto: ";
  239     errs() << "note: ";
  242     errs() << "remark: ";
  245     errs() << "error: ";
  248     errs() << "warning: ";
  251   errs() << Msg << "\n";
  251   errs() << Msg << "\n";
  260       OS << "llvm-lto: ";
  263         OS << "error";
  266         OS << "warning";
  269         OS << "remark";
  272         OS << "note";
  277       OS << ": ";
  291   errs() << "llvm-lto: " << Msg << '\n';
  352     outs() << "Index " << Filename << " contains "
  352     outs() << "Index " << Filename << " contains "
  353            << (Alias + Globals + Functions) << " nodes (" << Functions
  354            << " functions, " << Alias << " alias, " << Globals
  354            << " functions, " << Alias << " alias, " << Globals
  355            << " globals) and " << (Calls + Refs) << " edges (" << Refs
  355            << " globals) and " << (Calls + Refs) << " edges (" << Refs
  356            << " refs and " << Calls << " calls)\n";
  356            << " refs and " << Calls << " calls)\n";
  373     outs() << Filename << ":\n";
  375       outs() << Module->getSymbolName(I) << "\n";
  396     outs() << Filename << ":\n";
  402       outs() << StringRef(S, L) << "\n";
  725       errs() << "Warning: -internalize will not perform without "
  757       errs() << "Warning: -thinlto-index ignored for optimize stage";
  782       errs() << "Warning: -thinlto-index ignored for codegen stage";
  819       errs() << "Warning: -thinlto-index ignored for full ThinLTO process";
  901         outs() << "Bitcode " << Filename << " contains ObjC\n";
  901         outs() << "Bitcode " << Filename << " contains ObjC\n";
  903         outs() << "Bitcode " << Filename << " does not contain ObjC\n";
  903         outs() << "Bitcode " << Filename << " does not contain ObjC\n";
 1048     outs() << "Wrote native object file '" << OutputName << "'\n";
 1048     outs() << "Wrote native object file '" << OutputName << "'\n";
 1048     outs() << "Wrote native object file '" << OutputName << "'\n";
tools/llvm-lto2/llvm-lto2.cpp
  144     errs() << "llvm-lto2: " << Msg << ": " << EIB.message().c_str() << '\n';
  144     errs() << "llvm-lto2: " << Msg << ": " << EIB.message().c_str() << '\n';
  144     errs() << "llvm-lto2: " << Msg << ": " << EIB.message().c_str() << '\n';
  168   errs() << "Available subcommands: dump-symtab run\n";
  186       llvm::errs() << "invalid resolution: " << R << '\n';
  201         llvm::errs() << "invalid character " << C << " in resolution: " << R
  201         llvm::errs() << "invalid character " << C << " in resolution: " << R
  263     llvm::errs() << "invalid cg optimization level: " << CGOptLevel << '\n';
  303         llvm::errs() << argv[0] << ": missing symbol resolution for " << F
  303         llvm::errs() << argv[0] << ": missing symbol resolution for " << F
  324       llvm::errs() << argv[0] << ": unused symbol resolution for "
  324       llvm::errs() << argv[0] << ": unused symbol resolution for "
  361       outs() << "version: " << Hdr->Version << '\n';
  363         outs() << "producer: " << Hdr->Producer.get(BFC.StrtabForSymtab)
  370     outs() << "target triple: " << Input->getTargetTriple() << '\n';
  373     outs() << "source filename: " << Input->getSourceFileName() << '\n';
  376       outs() << "linker opts: " << Input->getCOFFLinkerOpts() << '\n';
  379       outs() << "dependent libraries:";
  381         outs() << " \"" << L << "\"";
  381         outs() << " \"" << L << "\"";
  410         outs() << "         size " << Sym.getCommonSize() << " align "
  410         outs() << "         size " << Sym.getCommonSize() << " align "
  415         outs() << "         comdat " << ComdatTable[Comdat] << '\n';
  418         outs() << "         fallback " << Sym.getCOFFWeakExternalFallback() << '\n';
  421         outs() << "         section " << Sym.getSectionName() << "\n";
  421         outs() << "         section " << Sym.getSectionName() << "\n";
tools/llvm-mc/Disassembler.cpp
  141     errs() << "error: no register info for target " << Triple << "\n";
  141     errs() << "error: no register info for target " << Triple << "\n";
  148     errs() << "error: no assembly info for target " << Triple << "\n";
  148     errs() << "error: no assembly info for target " << Triple << "\n";
  155     errs() << "error: no disassembler for target " << Triple << "\n";
  155     errs() << "error: no disassembler for target " << Triple << "\n";
tools/llvm-mc/llvm-mc.cpp
  251     OS << "\n";
  266       WithColor::error() << "defsym must be of the form: sym=value: " << I
  267                          << "\n";
  272       WithColor::error() << "value is not an integer: " << Val << "\n";
  272       WithColor::error() << "value is not an integer: " << Val << "\n";
  291         << "this target does not support assembly parsing.\n";
  337         << InputFilename << ": " << EC.message() << '\n';
  363           << "build tools with zlib to enable -compress-debug-sections";
  383     errs() << ProgName << ": Dwarf version " << DwarfVersion
  383     errs() << ProgName << ": Dwarf version " << DwarfVersion
  384            << " is not supported." << '\n';
  427       WithColor::error() << "dwo output only supported with object files\n";
  450           << "unable to create instruction printer for target triple '"
  451           << TheTriple.normalize() << "' with assembly variant "
  452           << OutputAsmVariant << ".\n";
tools/llvm-mca/Views/BottleneckAnalysis.cpp
  157   OS << " FROM: " << FromIID << " TO: " << ToIID << "             ";
  157   OS << " FROM: " << FromIID << " TO: " << ToIID << "             ";
  157   OS << " FROM: " << FromIID << " TO: " << ToIID << "             ";
  159     OS << " - REGISTER: ";
  162     OS << " - MEMORY";
  166     OS << " - RESOURCE MASK: " << DE.ResourceOrRegID;
  168   OS << " - COST: " << DE.Cost << '\n';
  316   OS << "\nCritical sequence based on the simulation:\n\n";
  325   FOS << "Instruction";
  327   FOS << "Dependency Information";
  333     FOS << "\n +----< " << FromIID << ".";
  333     FOS << "\n +----< " << FromIID << ".";
  335     FOS << "\n |\n |    < loop carried > \n |";
  338       FOS << "\n        " << CurrentIID << ".";
  338       FOS << "\n        " << CurrentIID << ".";
  343     FOS << "\n +----< " << CurrentIID << ".";
  343     FOS << "\n +----< " << CurrentIID << ".";
  353       FOS << "\n |      " << CurrentIID << ".";
  353       FOS << "\n |      " << CurrentIID << ".";
  359       FOS << "\n +----> " << ToIID << ".";
  359       FOS << "\n +----> " << ToIID << ".";
  362       FOS << "\n |\n |    < loop carried > \n |"
  363           << "\n +----> " << ToIID << ".";
  363           << "\n +----> " << ToIID << ".";
  373       FOS << "## REGISTER dependency:  ";
  378       FOS << "## MEMORY dependency.";
  382       FOS << "## RESOURCE interference:  ";
  385       FOS << Tracker.resolveResourceName(Dep.ResourceOrRegID);
  390       FOS << " [ probability: " << ((DE->Frequency * 100) / Iterations)
  391           << "% ]";
  399     FOS << "\n        " << CurrentIID << ".";
  399     FOS << "\n        " << CurrentIID << ".";
  410   OS << "\nREG DEPS\n";
  416   OS << "\nMEM DEPS\n";
  422   OS << "\nRESOURCE DEPS\n";
  596     OS << "\n\nNo resource or data dependency bottlenecks discovered.\n";
  610   OS << "\n\nCycles with backend pressure increase [ "
  611      << format("%.2f", floor((PressurePerCycle * 100) + 0.5) / 100) << "% ]";
  613   OS << "\nThroughput Bottlenecks: "
  614      << "\n  Resource Pressure       [ "
  616      << "% ]";
  626         OS << "\n  - " << PRDesc.Name << "  [ "
  626         OS << "\n  - " << PRDesc.Name << "  [ "
  626         OS << "\n  - " << PRDesc.Name << "  [ "
  627            << format("%.2f", floor((Frequency * 100) + 0.5) / 100) << "% ]";
  632   OS << "\n  Data Dependencies:      [ "
  633      << format("%.2f", floor((DDPerCycle * 100) + 0.5) / 100) << "% ]";
  634   OS << "\n  - Register Dependencies [ "
  636      << "% ]";
  637   OS << "\n  - Memory Dependencies   [ "
  639      << "% ]\n";
tools/llvm-mca/Views/DispatchStatistics.cpp
   37   TempStream << "\n\nDispatch Logic - "
   38              << "number of cycles where we saw N micro opcodes dispatched:\n";
   39   TempStream << "[# dispatched], [# cycles]\n";
   42     TempStream << " " << Entry.first << ",              " << Entry.second
   42     TempStream << " " << Entry.first << ",              " << Entry.second
   43                << "  (" << format("%.1f", floor((Percentage * 10) + 0.5) / 10)
   44                << "%)\n";
   59   OS << NumStalls << "  ("
   60      << format("%.1f", floor((Percentage * 10) + 0.5) / 10) << "%)";
   66   SS << "\n\nDynamic Dispatch Stall Cycles:\n";
   67   SS << "RAT     - Register unavailable:                      ";
   69   SS << "\nRCU     - Retire tokens unavailable:                 ";
   71   SS << "\nSCHEDQ  - Scheduler full:                            ";
   73   SS << "\nLQ      - Load queue full:                           ";
   75   SS << "\nSQ      - Store queue full:                          ";
   77   SS << "\nGROUP   - Static restrictions on the dispatch group: ";
tools/llvm-mca/Views/InstructionInfoView.cpp
   28   TempStream << "\n\nInstruction Info:\n";
   29   TempStream << "[1]: #uOps\n[2]: Latency\n[3]: RThroughput\n"
   30              << "[4]: MayLoad\n[5]: MayStore\n[6]: HasSideEffects (U)\n";
   32     TempStream << "[7]: Encoding Size\n";
   33     TempStream << "\n[1]    [2]    [3]    [4]    [5]    [6]    [7]    "
   34                << "Encodings:                    Instructions:\n";
   36     TempStream << "\n[1]    [2]    [3]    [4]    [5]    [6]    Instructions:\n";
   60     TempStream << ' ' << NumMicroOpcodes << "    ";
   62       TempStream << "  ";
   65     TempStream << Latency << "   ";
   67       TempStream << "  ";
   75         TempStream << "  ";
   79       TempStream << " -     ";
   81     TempStream << (MCDesc.mayLoad() ? " *     " : "       ");
   82     TempStream << (MCDesc.mayStore() ? " *     " : "       ");
   83     TempStream << (MCDesc.hasUnmodeledSideEffects() ? " U     " : "       ");
   88       TempStream << " " << EncodingSize
   89                  << (EncodingSize < 10 ? "     " : "    ");
tools/llvm-mca/Views/RegisterFileStatistics.cpp
  108   TempStream << "\n\nRegister File statistics:";
  110   TempStream << "\nTotal number of mappings created:    "
  112   TempStream << "\nMax number of mappings used:         "
  128     TempStream << "\n*  Register File #" << I;
  129     TempStream << " -- " << StringRef(RFDesc.Name) << ':';
  130     TempStream << "\n   Number of physical registers:     ";
  132       TempStream << "unbounded";
  135     TempStream << "\n   Total number of mappings created: "
  137     TempStream << "\n   Max number of mappings used:      "
  142       TempStream << "   Number of optimizable moves:      "
  149       TempStream << "\n   Number of moves eliminated:       "
  150                  << MEI.TotalMovesEliminated << "  "
  153       TempStream << "\n   Number of zero moves:             "
  154                  << MEI.TotalMovesThatPropagateZero << "  "
  157       TempStream << "\n   Max moves eliminated per cycle:   "
tools/llvm-mca/Views/ResourcePressureView.cpp
   80       OS << "[" << ResourceIndex;
   94     OS << " - ";
  107   FOS << "\n\nResources:\n";
  123       FOS << "- " << ProcResource.Name << '\n';
  123       FOS << "- " << ProcResource.Name << '\n';
  129   FOS << "\n\nResource pressure per iteration:\n";
  150   FOS << "\n\nResource pressure by instruction:\n";
  152   FOS << "Instructions:\n";
tools/llvm-mca/Views/RetireControlUnitStatistics.cpp
   58   TempStream << "\n\nRetire Control Unit - "
   59              << "number of cycles where we saw N instructions retired:\n";
   60   TempStream << "[# retired], [# cycles]\n";
   63     TempStream << " " << Entry.first;
   65       TempStream << ",           ";
   67       TempStream << ",          ";
   68     TempStream << Entry.second << "  ("
   70                << "%)\n";
   79   TempStream << "\nTotal ROB Entries:                " << TotalROBEntries
   80              << "\nMax Used ROB Entries:             " << MaxUsedEntries
   82              << "\nAverage Used ROB Entries per cy:  " << AvgUsage
tools/llvm-mca/Views/SchedulerStatistics.cpp
  103   OS << "\n\nSchedulers - "
  104      << "number of cycles where we saw N micro opcodes issued:\n";
  105   OS << "[# issued], [# cycles]\n";
  116     OS << " " << NumIssued << ",          " << IPC << "  ("
  116     OS << " " << NumIssued << ",          " << IPC << "  ("
  116     OS << " " << NumIssued << ",          " << IPC << "  ("
  117        << format("%.1f", ((double)IPC / NumCycles) * 100) << "%)\n";
  126   OS << "\nScheduler's queue usage:\n";
  128     OS << "No scheduler resources used.\n";
  132   OS << "[1] Resource name.\n"
  133      << "[2] Average number of used buffer entries.\n"
  134      << "[3] Maximum number of used buffer entries.\n"
  135      << "[4] Total number of buffer entries.\n\n"
  136      << " [1]            [2]        [3]        [4]\n";
  151     FOS << ProcResource.Name;
tools/llvm-mca/Views/SummaryView.cpp
   77   TempStream << "Iterations:        " << Iterations;
   78   TempStream << "\nInstructions:      " << TotalInstructions;
   79   TempStream << "\nTotal Cycles:      " << TotalCycles;
   80   TempStream << "\nTotal uOps:        " << TotalUOps << '\n';
   81   TempStream << "\nDispatch Width:    " << DispatchWidth;
   82   TempStream << "\nuOps Per Cycle:    "
   84   TempStream << "\nIPC:               "
   86   TempStream << "\nBlock RThroughput: "
tools/llvm-mca/Views/TimelineView.cpp
  201     FOS << "   " << Str << '\n';
  221     FOS << "   "
  222         << "<total>" << '\n';
  267   OS << "\n\nTimeline view:\n";
  279   OS << "Index";
  316       FOS << "   " << Str << '\n';
tools/llvm-mca/llvm-mca.cpp
  228     errs() << ProgName << ": " << Error;
  228     errs() << ProgName << ": " << Error;
  319     WithColor::error() << InputFilename << ": " << EC.message() << '\n';
  335     WithColor::error() << "please specify an out-of-order cpu. '" << MCPU
  336                        << "' is an in-order cpu.\n";
  342         << "unable to find instruction-level scheduling information for"
  343         << " target triple '" << TheTriple.normalize() << "' and cpu '" << MCPU
  343         << " target triple '" << TheTriple.normalize() << "' and cpu '" << MCPU
  344         << "'.\n";
  348           << "cpu '" << MCPU << "' provides itineraries. However, "
  348           << "cpu '" << MCPU << "' provides itineraries. However, "
  349           << "instruction itineraries are currently unsupported.\n";
  398     WithColor::error() << "no assembly instructions found.\n";
  416         << "unable to create instruction printer for target triple '"
  417         << TheTriple.normalize() << "' with assembly variant "
  418         << AssemblerDialect << ".\n";
  456       TOF->os() << "\n[" << RegionIdx++ << "] Code Region";
  456       TOF->os() << "\n[" << RegionIdx++ << "] Code Region";
  459         TOF->os() << " - " << Desc;
  460       TOF->os() << "\n\n";
  480                       << "instruction: " << InstructionStr << '\n';
tools/llvm-modextract/llvm-modextract.cpp
   49     errs() << "llvm-modextract: error: module index out of range; bitcode file "
   51            << Ms.size() << " module(s)\n";
tools/llvm-mt/llvm-mt.cpp
  100     OS << "invalid option '" << ArgString << "'";
  100     OS << "invalid option '" << ArgString << "'";
  104       OS << ", did you mean '" << Nearest << "'?";
  104       OS << ", did you mean '" << Nearest << "'?";
  111       outs() << "llvm-mt: ignoring unsupported '" << Arg->getOption().getName()
  112              << "' option\n";
tools/llvm-nm/llvm-nm.cpp
  226   WithColor::error(errs(), ToolName) << Path << ": " << Message << ".\n";
  226   WithColor::error(errs(), ToolName) << Path << ": " << Message << ".\n";
  251     errs() << "(" << "???" << ")";
  251     errs() << "(" << "???" << ")";
  251     errs() << "(" << "???" << ")";
  253     errs() << "(" << NameOrErr.get() << ")";
  253     errs() << "(" << NameOrErr.get() << ")";
  256     errs() << " (for architecture " << ArchitectureName << ") ";
  256     errs() << " (for architecture " << ArchitectureName << ") ";
  262   errs() << " " << Buf << "\n";
  262   errs() << " " << Buf << "\n";
  275     errs() << " (for architecture " << ArchitectureName << ") ";
  275     errs() << " (for architecture " << ArchitectureName << ") ";
  281   errs() << " " << Buf << "\n";
  281   errs() << " " << Buf << "\n";
  437       outs() << " (indirect for ";
  442           outs() << "?)";
  444           outs() << IndirectName << ")";
  446         outs() << S.IndirectName << ")";
  448     outs() << "\n";
  457     outs() << SymbolAddrStr << ' ';
  463       outs() << "(common) ";
  465         outs() << "(alignment 2^" << (int)MachO::GET_COMM_ALIGN(NDesc) << ") ";
  465         outs() << "(alignment 2^" << (int)MachO::GET_COMM_ALIGN(NDesc) << ") ";
  468         outs() << "(prebound ";
  470         outs() << "(";
  473         outs() << "undefined [lazy bound]) ";
  476         outs() << "undefined [private lazy bound]) ";
  479         outs() << "undefined [private]) ";
  481         outs() << "undefined) ";
  485     outs() << "(absolute) ";
  488     outs() << "(indirect) ";
  495         outs() << "(LTO,CODE) ";
  497         outs() << "(LTO,DATA) ";
  499         outs() << "(LTO,RODATA) ";
  501         outs() << "(?,?) ";
  510         outs() << "(?,?) ";
  515         outs() << "(?,?) ";
  526     outs() << "(" << SegmentName << "," << SectionName << ") ";
  526     outs() << "(" << SegmentName << "," << SectionName << ") ";
  526     outs() << "(" << SegmentName << "," << SectionName << ") ";
  530     outs() << "(?) ";
  536       outs() << "[referenced dynamically] ";
  539         outs() << "weak private external ";
  541         outs() << "private external ";
  547           outs() << "weak external automatically hidden ";
  549           outs() << "weak external ";
  551         outs() << "external ";
  555       outs() << "non-external (was a private external) ";
  557       outs() << "non-external ";
  562       outs() << "[no dead strip] ";
  565       outs() << "[symbol resolver] ";
  567       outs() << "[alt entry] ";
  569       outs() << "[cold func] ";
  573     outs() << "[Thumb] ";
  576     outs() << S.Name << " (for ";
  581           outs() << "?)";
  583           outs() << IndirectName << ")";
  585         outs() << S.IndirectName << ")";
  587       outs() << "?)";
  597         outs() << " (from executable)";
  599         outs() << " (dynamically looked up)";
  604           outs() << " (from bad library ordinal " << LibraryOrdinal << ")";
  604           outs() << " (from bad library ordinal " << LibraryOrdinal << ")";
  606           outs() << " (from " << LibraryName << ")";
  606           outs() << " (from " << LibraryName << ")";
  611   outs() << "\n";
  733       outs() << '\n' << CurrentFilename << ":\n";
  735       outs() << "\n" << CurrentFilename << ":\n";
  735       outs() << "\n" << CurrentFilename << ":\n";
  737       outs() << "\n\nSymbols from " << CurrentFilename << ":\n\n";
  737       outs() << "\n\nSymbols from " << CurrentFilename << ":\n\n";
  739         outs() << "Name                  Value           Class        Type"
  740                << "         Size             Line  Section\n";
  742         outs() << "Name                  Value   Class        Type"
  743                << "         Size     Line  Section\n";
  778       S << "(for architecture " << ArchitectureName << "):";
  778       S << "(for architecture " << ArchitectureName << "):";
  780       S << ArchiveName << "[" << CurrentFilename << "]: ";
  780       S << ArchiveName << "[" << CurrentFilename << "]: ";
  783         S << ArchiveName << ":";
  784       S << CurrentFilename << ": ";
  791     errs() << "no symbols\n";
  818       outs() << Name << "\n";
  857       outs() << Name << " " << S.TypeChar << " " << SymbolAddrStr << " "
  857       outs() << Name << " " << S.TypeChar << " " << SymbolAddrStr << " "
  857       outs() << Name << " " << S.TypeChar << " " << SymbolAddrStr << " "
  857       outs() << Name << " " << S.TypeChar << " " << SymbolAddrStr << " "
  858              << (MachO ? "0" : SymbolSizeStr) << "\n";
  858              << (MachO ? "0" : SymbolSizeStr) << "\n";
  861         outs() << SymbolAddrStr << ' ';
  863         outs() << SymbolSizeStr << ' ';
  867       outs() << " " << Name;
  869         outs() << " (indirect for ";
  873             outs() << "?)";
  875             outs() << IndirectName << ")";
  877           outs() << S.IndirectName << ")";
  879       outs() << "\n";
  881       outs() << left_justify(Name, 20) << "|" << SymbolAddrStr << "|   "
  881       outs() << left_justify(Name, 20) << "|" << SymbolAddrStr << "|   "
  881       outs() << left_justify(Name, 20) << "|" << SymbolAddrStr << "|   "
  882              << S.TypeChar << "  |" << right_justify(S.TypeName, 18) << "|"
  882              << S.TypeChar << "  |" << right_justify(S.TypeName, 18) << "|"
  883              << SymbolSizeStr << "|     |" << S.SectionName << "\n";
  883              << SymbolSizeStr << "|     |" << S.SectionName << "\n";
  883              << SymbolSizeStr << "|     |" << S.SectionName << "\n";
 1239           OS << "bad string index";
 1715             FOS << "<redacted LC_MAIN>";
 1717             FOS << "<redacted function " << f << ">";
 1717             FOS << "<redacted function " << f << ">";
 1797         outs() << "Archive map\n";
 1810           outs() << SymName << " in " << FileNameOrErr.get() << "\n";
 1810           outs() << SymName << " in " << FileNameOrErr.get() << "\n";
 1812         outs() << "\n";
 1829                 << "sizes with -print-size for Mach-O files are always zero.\n";
 1835             outs() << "\n";
 1837               outs() << Filename << "(" << O->getFileName() << ")";
 1837               outs() << Filename << "(" << O->getFileName() << ")";
 1840             outs() << ":\n";
 1874                   outs() << "\n" << Obj.getFileName() << " (for architecture "
 1874                   outs() << "\n" << Obj.getFileName() << " (for architecture "
 1875                          << I->getArchFlagName() << ")"
 1876                          << ":\n";
 1907                     outs() << "\n" << A->getFileName();
 1908                     outs() << "(" << O->getFileName() << ")";
 1908                     outs() << "(" << O->getFileName() << ")";
 1910                       outs() << " (for architecture " << I->getArchFlagName()
 1911                              << ")";
 1913                     outs() << ":\n";
 1974                   outs() << "\n" << A->getFileName() << "(" << O->getFileName()
 1974                   outs() << "\n" << A->getFileName() << "(" << O->getFileName()
 1975                          << ")"
 1976                          << ":\n";
 2009             outs() << "\n";
 2012             outs() << " (for architecture " << O.getArchFlagName() << ")";
 2012             outs() << " (for architecture " << O.getArchFlagName() << ")";
 2013           outs() << ":\n";
 2041               outs() << "\n" << A->getFileName();
 2043                 outs() << "(" << F->getFileName() << ")";
 2043                 outs() << "(" << F->getFileName() << ")";
 2045                   outs() << " (for architecture " << O.getArchFlagName()
 2046                          << ")";
 2048                 outs() << ":" << F->getFileName();
 2049               outs() << ":\n";
 2069           << "sizes with --print-size for Mach-O files are always zero.\n";
tools/llvm-objcopy/CopyConfig.cpp
  363   OS << "\nPass @FILE as argument to read options from FILE.\n";
  389     outs() << "llvm-objcopy, compatible with GNU objcopy\n";
  777     outs() << "llvm-strip, compatible with GNU strip\n";
tools/llvm-objcopy/llvm-objcopy.cpp
   58   WithColor::error(errs(), ToolName) << Message << "\n";
   83   WithColor::error(errs(), ToolName) << "'" << File << "': " << Buf;
   83   WithColor::error(errs(), ToolName) << "'" << File << "': " << Buf;
tools/llvm-objdump/COFFDump.cpp
   99     outs() << " " << getUnwindRegisterName(UCs[0].getOpInfo());
  103       outs() << " " << UCs[1].FrameOffset;
  105       outs() << " " << UCs[1].FrameOffset
  110     outs() << " " << ((UCs[0].getOpInfo() + 1) * 8);
  113     outs() << " ";
  116     outs() << " " << getUnwindRegisterName(UCs[0].getOpInfo())
  120     outs() << " " << getUnwindRegisterName(UCs[0].getOpInfo())
  125     outs() << " XMM" << static_cast<uint32_t>(UCs[0].getOpInfo())
  129     outs() << " XMM" << UCs[0].getOpInfo()
  134     outs() << " " << (UCs[0].getOpInfo() ? "w/o" : "w")
  134     outs() << " " << (UCs[0].getOpInfo() ? "w/o" : "w")
  135            << " error code";
  138   outs() << "\n";
  145       outs() << "Unwind data corrupted: Encountered unwind op "
  147              << " which requires " << UsedSlots
  148              << " slots, but only " << UCs.size()
  149              << " remaining in buffer";
  242   outs() << "SEH Table:";
  245   outs() << "\n\n";
  251   outs() << "TLS directory:"
  252          << "\n  StartAddressOfRawData: "
  254          << "\n  EndAddressOfRawData: "
  256          << "\n  AddressOfIndex: "
  258          << "\n  AddressOfCallBacks: "
  260          << "\n  SizeOfZeroFill: "
  262          << "\n  Characteristics: "
  264          << "\n  Alignment: "
  266          << "\n\n";
  297   outs() << "\n";
  324   outs() << "Load configuration:"
  325          << "\n  Timestamp: " << LoadConf->TimeDateStamp
  326          << "\n  Major Version: " << LoadConf->MajorVersion
  327          << "\n  Minor Version: " << LoadConf->MinorVersion
  328          << "\n  GlobalFlags Clear: " << LoadConf->GlobalFlagsClear
  329          << "\n  GlobalFlags Set: " << LoadConf->GlobalFlagsSet
  330          << "\n  Critical Section Default Timeout: " << LoadConf->CriticalSectionDefaultTimeout
  331          << "\n  Decommit Free Block Threshold: " << LoadConf->DeCommitFreeBlockThreshold
  332          << "\n  Decommit Total Free Threshold: " << LoadConf->DeCommitTotalFreeThreshold
  333          << "\n  Lock Prefix Table: " << LoadConf->LockPrefixTable
  334          << "\n  Maximum Allocation Size: " << LoadConf->MaximumAllocationSize
  335          << "\n  Virtual Memory Threshold: " << LoadConf->VirtualMemoryThreshold
  336          << "\n  Process Affinity Mask: " << LoadConf->ProcessAffinityMask
  337          << "\n  Process Heap Flags: " << LoadConf->ProcessHeapFlags
  338          << "\n  CSD Version: " << LoadConf->CSDVersion
  339          << "\n  Security Cookie: " << LoadConf->SecurityCookie
  340          << "\n  SEH Table: " << LoadConf->SEHandlerTable
  341          << "\n  SEH Count: " << LoadConf->SEHandlerCount
  342          << "\n\n";
  344   outs() << "\n";
  354   outs() << "The Import Tables:\n";
  367     outs() << "    DLL Name: " << Name << "\n";
  367     outs() << "    DLL Name: " << Name << "\n";
  368     outs() << "    Hint/Ord  Name\n";
  387       outs() << format("      % 6d  ", Hint) << Name << "\n";
  389     outs() << "\n";
  396   outs() << "Export Table:\n";
  407   outs() << " DLL name: " << DllName << "\n";
  407   outs() << " DLL name: " << DllName << "\n";
  408   outs() << " Ordinal base: " << OrdinalBase << "\n";
  408   outs() << " Ordinal base: " << OrdinalBase << "\n";
  409   outs() << " Ordinal      RVA  Name\n";
  434       outs() << "  " << Name;
  439       outs() << " (forwarded to " << S << ")";
  439       outs() << " (forwarded to " << S << ")";
  441     outs() << "\n";
  492   outs() << "    Version: " << static_cast<int>(UI->getVersion()) << "\n";
  492   outs() << "    Version: " << static_cast<int>(UI->getVersion()) << "\n";
  493   outs() << "    Flags: " << static_cast<int>(UI->getFlags());
  496       outs() << " UNW_ExceptionHandler";
  498       outs() << " UNW_TerminateHandler";
  500       outs() << " UNW_ChainInfo";
  502   outs() << "\n";
  503   outs() << "    Size of prolog: " << static_cast<int>(UI->PrologSize) << "\n";
  503   outs() << "    Size of prolog: " << static_cast<int>(UI->PrologSize) << "\n";
  504   outs() << "    Number of Codes: " << static_cast<int>(UI->NumCodes) << "\n";
  504   outs() << "    Number of Codes: " << static_cast<int>(UI->NumCodes) << "\n";
  507     outs() << "    Frame register: "
  508            << getUnwindRegisterName(UI->getFrameRegister()) << "\n";
  509     outs() << "    Frame offset: " << 16 * UI->getFrameOffset() << "\n";
  509     outs() << "    Frame offset: " << 16 * UI->getFrameOffset() << "\n";
  511     outs() << "    No frame pointer used\n";
  520     outs() << "    Unwind Codes:\n";
  524   outs() << "\n";
  534   outs() << "Function Table:\n"
  557   outs() << "Function Table:\n";
  558   outs() << "  Start Address: ";
  563   outs() << "\n";
  565   outs() << "  End Address: ";
  570   outs() << "\n";
  572   outs() << "  Unwind Info Address: ";
  577   outs() << "\n";
  602         << "unsupported image machine type "
  647     outs() << "[" << format("%2d", Index) << "]"
  647     outs() << "[" << format("%2d", Index) << "]"
  648            << "(sec " << format("%2d", 0) << ")"
  648            << "(sec " << format("%2d", 0) << ")"
  649            << "(fl 0x00)" // Flag bits, which COFF doesn't have.
  650            << "(ty " << format("%3x", (IsCode && Index) ? 32 : 0) << ")"
  650            << "(ty " << format("%3x", (IsCode && Index) ? 32 : 0) << ")"
  651            << "(scl " << format("%3x", 0) << ") "
  651            << "(scl " << format("%3x", 0) << ") "
  652            << "(nx " << 0 << ") "
  652            << "(nx " << 0 << ") "
  653            << "0x" << format("%08x", 0) << " " << Name << '\n';
  653            << "0x" << format("%08x", 0) << " " << Name << '\n';
  669     outs() << "[" << format("%2d", SI) << "]"
  669     outs() << "[" << format("%2d", SI) << "]"
  670            << "(sec " << format("%2d", int(Symbol->getSectionNumber())) << ")"
  670            << "(sec " << format("%2d", int(Symbol->getSectionNumber())) << ")"
  671            << "(fl 0x00)" // Flag bits, which COFF doesn't have.
  672            << "(ty " << format("%3x", unsigned(Symbol->getType())) << ")"
  672            << "(ty " << format("%3x", unsigned(Symbol->getType())) << ")"
  673            << "(scl " << format("%3x", unsigned(Symbol->getStorageClass()))
  674            << ") "
  675            << "(nx " << unsigned(Symbol->getNumberOfAuxSymbols()) << ") "
  675            << "(nx " << unsigned(Symbol->getNumberOfAuxSymbols()) << ") "
  676            << "0x" << format("%08x", unsigned(Symbol->getValue())) << " "
  676            << "0x" << format("%08x", unsigned(Symbol->getValue())) << " "
  686         outs() << " (" << StringRef(DemangledSymbol) << ")";
  686         outs() << " (" << StringRef(DemangledSymbol) << ")";
  689         outs() << " (invalid mangled name)";
  692     outs() << "\n";
  703         outs() << "AUX "
  719         outs() << "AUX " << Name.rtrim(StringRef("\0", 1))  << '\n';
  729         outs() << "AUX " << format("indx %d srch %d\n",
  733         outs() << "AUX Unknown\n";
tools/llvm-objdump/ELFDump.cpp
  106     Fmt << "*ABS*";
  110     Fmt << (Addend < 0 ? "" : "+") << Addend;
  162   outs() << "Dynamic Section:\n";
  178         outs() << (Data + Dyn.d_un.d_val) << "\n";
  178         outs() << (Data + Dyn.d_un.d_val) << "\n";
  189   outs() << "Program Header:\n";
  196       outs() << " DYNAMIC ";
  199       outs() << "EH_FRAME ";
  202       outs() << "   RELRO ";
  205       outs() << "   STACK ";
  208       outs() << "  INTERP ";
  211       outs() << "    LOAD ";
  214       outs() << "    NOTE ";
  217       outs() << "    OPENBSD_BOOTDATA ";
  220       outs() << "    OPENBSD_RANDOMIZE ";
  223       outs() << "    OPENBSD_WXNEEDED ";
  226       outs() << "    PHDR ";
  229       outs() << "    TLS ";
  232       outs() << " UNKNOWN ";
  237     outs() << "off    " << format(Fmt, (uint64_t)Phdr.p_offset) << "vaddr "
  237     outs() << "off    " << format(Fmt, (uint64_t)Phdr.p_offset) << "vaddr "
  238            << format(Fmt, (uint64_t)Phdr.p_vaddr) << "paddr "
  242            << "         filesz " << format(Fmt, (uint64_t)Phdr.p_filesz)
  243            << "memsz " << format(Fmt, (uint64_t)Phdr.p_memsz) << "flags "
  243            << "memsz " << format(Fmt, (uint64_t)Phdr.p_memsz) << "flags "
  244            << ((Phdr.p_flags & ELF::PF_R) ? "r" : "-")
  245            << ((Phdr.p_flags & ELF::PF_W) ? "w" : "-")
  246            << ((Phdr.p_flags & ELF::PF_X) ? "x" : "-") << "\n";
  246            << ((Phdr.p_flags & ELF::PF_X) ? "x" : "-") << "\n";
  248   outs() << "\n";
  254   outs() << "Version References:\n";
  259     outs() << "  required from "
  260            << StringRef(StrTab.drop_front(Verneed->vn_file).data()) << ":\n";
  265       outs() << "    "
  280   outs() << "Version definitions:\n";
  290     outs() << format_decimal(VerdefIndex++, VerdefIndexWidth) << " "
tools/llvm-objdump/MachODump.cpp
  227   WithColor::error(errs(), "llvm-objdump") << "unable to get target for '";
  232   errs() << "', see --version and --triple.\n";
  312       outs() << "\t.long " << Value;
  318       outs() << "\t.short " << Value;
  324       outs() << "\t.byte " << Value;
  328       outs() << "\t@ KIND_DATA\n";
  330       outs() << "\t@ data in code kind = " << Kind << "\n";
  330       outs() << "\t@ data in code kind = " << Kind << "\n";
  336     outs() << "\t.byte " << format("%3u", Value) << "\t@ KIND_JUMP_TABLE8\n";
  336     outs() << "\t.byte " << format("%3u", Value) << "\t@ KIND_JUMP_TABLE8\n";
  343     outs() << "\t.short " << format("%5u", Value & 0xffff)
  344            << "\t@ KIND_JUMP_TABLE16\n";
  352     outs() << "\t.long " << Value;
  354       outs() << "\t@ KIND_JUMP_TABLE32\n";
  356       outs() << "\t@ KIND_ABS_JUMP_TABLE32\n";
  479       Fmt << "0 (?,?)";
  488       Fmt << Val << " (?,?)";
  522       Fmt << "@GOT";
  524         Fmt << "PCREL";
  543       Fmt << "-";
  549       Fmt << "@TLV";
  551         Fmt << "P";
  555       Fmt << "-1";
  559       Fmt << "-2";
  563       Fmt << "-4";
  590       Fmt << "-";
  611         Fmt << "-";
  617         Fmt << "@TLV";
  619           Fmt << "P";
  634           Fmt << ":upper16:(";
  636           Fmt << ":lower16:(";
  658           Fmt << "-";
  662         Fmt << ")";
  684     outs() << " (entries start past the end of the indirect symbol "
  687     outs() << " (entries extends past the end of the indirect symbol "
  689   outs() << "\n";
  692     outs() << "address            index";
  694     outs() << "address    index";
  696     outs() << " name\n";
  698     outs() << "\n";
  701       outs() << format("0x%016" PRIx64, addr + j * stride) << " ";
  703       outs() << format("0x%08" PRIx32, (uint32_t)addr + j * stride) << " ";
  707       outs() << "LOCAL\n";
  712       outs() << "LOCAL ABSOLUTE\n";
  716       outs() << "ABSOLUTE\n";
  727         outs() << "?";
  730     outs() << "\n";
  752             outs() << "Can't print indirect symbols for (" << Sec.segname << ","
  752             outs() << "Can't print indirect symbols for (" << Sec.segname << ","
  752             outs() << "Can't print indirect symbols for (" << Sec.segname << ","
  753                    << Sec.sectname << ") "
  753                    << Sec.sectname << ") "
  754                    << "(size of stubs in reserved2 field is zero)\n";
  758           outs() << "Indirect symbols for (" << Sec.segname << ","
  758           outs() << "Indirect symbols for (" << Sec.segname << ","
  758           outs() << "Indirect symbols for (" << Sec.segname << ","
  759                  << Sec.sectname << ") " << count << " entries";
  759                  << Sec.sectname << ") " << count << " entries";
  759                  << Sec.sectname << ") " << count << " entries";
  780             outs() << "Can't print indirect symbols for (" << Sec.segname << ","
  780             outs() << "Can't print indirect symbols for (" << Sec.segname << ","
  780             outs() << "Can't print indirect symbols for (" << Sec.segname << ","
  781                    << Sec.sectname << ") "
  781                    << Sec.sectname << ") "
  782                    << "(size of stubs in reserved2 field is zero)\n";
  786           outs() << "Indirect symbols for (" << Sec.segname << ","
  786           outs() << "Indirect symbols for (" << Sec.segname << ","
  786           outs() << "Indirect symbols for (" << Sec.segname << ","
  787                  << Sec.sectname << ") " << count << " entries";
  787                  << Sec.sectname << ") " << count << " entries";
  787                  << Sec.sectname << ") " << count << " entries";
  819     outs() << format("%-7u", r_type) << " ";
  824       outs() << generic_r_types[r_type];
  827       outs() << x86_64_r_types[r_type];
  830       outs() << arm_r_types[r_type];
  834       outs() << arm64_r_types[r_type];
  847       outs() << "lo/";
  849       outs() << "hi/";
  851       outs() << "arm ";
  853       outs() << "thm ";
  857         outs() << "byte   ";
  860         outs() << "word   ";
  863         outs() << "long   ";
  867           outs() << "quad   ";
  908           outs() << "         ";
  914           outs() << "True  ";
  916           outs() << "False ";
  922         outs() << "n/a    ";
  953         outs() << "\n";
  966           outs() << "         ";
  972           outs() << "True  ";
  974           outs() << "False ";
  981           outs() << "True   ";
  983           outs() << "False     ";
  997               outs() << name << "\n";
  997               outs() << name << "\n";
 1002           outs() << "False  ";
 1004           outs() << "False     ";
 1016               outs() << "R_ABS\n";
 1025                   outs() << "(" << SegName << "," << *NameOrErr << ")\n";
 1025                   outs() << "(" << SegName << "," << *NameOrErr << ")\n";
 1025                   outs() << "(" << SegName << "," << *NameOrErr << ")\n";
 1027                   outs() << "(?,?)\n";
 1030                 outs() << "(?,?)\n";
 1056     outs() << "External relocation information " << Dysymtab.nextrel
 1057            << " entries";
 1058     outs() << "\naddress  pcrel length extern type    scattered "
 1066     outs() << "\naddress  pcrel length extern type    scattered "
 1081             outs() << "Relocation information (" << SegName << "," << *NameOrErr
 1081             outs() << "Relocation information (" << SegName << "," << *NameOrErr
 1084             outs() << "Relocation information (" << SegName << ",?) "
 1084             outs() << "Relocation information (" << SegName << ",?) "
 1086           outs() << "\naddress  pcrel length extern type    scattered "
 1101             outs() << "Relocation information (" << SegName << "," << *NameOrErr
 1101             outs() << "Relocation information (" << SegName << "," << *NameOrErr
 1104             outs() << "Relocation information (" << SegName << ",?) "
 1104             outs() << "Relocation information (" << SegName << ",?) "
 1106           outs() << "\naddress  pcrel length extern type    scattered "
 1119   outs() << "Data in code table (" << nentries << " entries)\n";
 1119   outs() << "Data in code table (" << nentries << " entries)\n";
 1120   outs() << "offset     length kind\n";
 1125     outs() << format("0x%08" PRIx32, Offset) << " ";
 1128     outs() << format("%6u", Length) << " ";
 1134         outs() << "DATA";
 1137         outs() << "JUMP_TABLE8";
 1140         outs() << "JUMP_TABLE16";
 1143         outs() << "JUMP_TABLE32";
 1146         outs() << "ABS_JUMP_TABLE32";
 1154     outs() << "\n";
 1162   outs() << "Linker optimiztion hints (" << nloh << " total bytes)\n";
 1162   outs() << "Linker optimiztion hints (" << nloh << " total bytes)\n";
 1167     outs() << "    identifier " << identifier << " ";
 1167     outs() << "    identifier " << identifier << " ";
 1172       outs() << "AdrpAdrp\n";
 1175       outs() << "AdrpLdr\n";
 1178       outs() << "AdrpAddLdr\n";
 1181       outs() << "AdrpLdrGotLdr\n";
 1184       outs() << "AdrpAddStr\n";
 1187       outs() << "AdrpLdrGotStr\n";
 1190       outs() << "AdrpAdd\n";
 1193       outs() << "AdrpLdrGot\n";
 1196       outs() << "Unknown identifier value\n";
 1201     outs() << "    narguments " << narguments << "\n";
 1201     outs() << "    narguments " << narguments << "\n";
 1208       outs() << "\tvalue " << format("0x%" PRIx64, value) << "\n";
 1208       outs() << "\tvalue " << format("0x%" PRIx64, value) << "\n";
 1229           outs() << p << "\n";
 1229           outs() << p << "\n";
 1231           outs() << "\t" << p;
 1231           outs() << "\t" << p;
 1232           outs() << " (compatibility version "
 1233                  << ((dl.dylib.compatibility_version >> 16) & 0xffff) << "."
 1234                  << ((dl.dylib.compatibility_version >> 8) & 0xff) << "."
 1235                  << (dl.dylib.compatibility_version & 0xff) << ",";
 1236           outs() << " current version "
 1237                  << ((dl.dylib.current_version >> 16) & 0xffff) << "."
 1238                  << ((dl.dylib.current_version >> 8) & 0xff) << "."
 1241             outs() << ", weak";
 1243             outs() << ", reexport";
 1245             outs() << ", upward";
 1247             outs() << ", lazy";
 1248           outs() << ")\n";
 1251         outs() << "\tBad offset (" << dl.dylib.name << ") for name of ";
 1251         outs() << "\tBad offset (" << dl.dylib.name << ") for name of ";
 1253           outs() << "LC_ID_DYLIB ";
 1255           outs() << "LC_LOAD_DYLIB ";
 1257           outs() << "LC_LOAD_WEAK_DYLIB ";
 1259           outs() << "LC_LAZY_LOAD_DYLIB ";
 1261           outs() << "LC_REEXPORT_DYLIB ";
 1263           outs() << "LC_LOAD_UPWARD_DYLIB ";
 1265           outs() << "LC_??? ";
 1266         outs() << "command " << Index++ << "\n";
 1266         outs() << "command " << Index++ << "\n";
 1317         outs() << format("%016" PRIx64, sect_addr + i) << "  ";
 1319         outs() << format("%08" PRIx64, sect_addr + i) << "  ";
 1324       outs() << "\n";
 1334       outs() << " (+Infinity)\n";
 1336       outs() << " (-Infinity)\n";
 1338       outs() << " (non-signaling Not-a-Number)\n";
 1340       outs() << " (signaling Not-a-Number)\n";
 1350         outs() << format("%016" PRIx64, sect_addr + i) << "  ";
 1352         outs() << format("%08" PRIx64, sect_addr + i) << "  ";
 1368   outs() << format("0x%08" PRIx32, l0) << " " << format("0x%08" PRIx32, l1);
 1378       outs() << " (+Infinity)\n";
 1380       outs() << " (-Infinity)\n";
 1382       outs() << " (non-signaling Not-a-Number)\n";
 1384       outs() << " (signaling Not-a-Number)\n";
 1394         outs() << format("%016" PRIx64, sect_addr + i) << "  ";
 1396         outs() << format("%08" PRIx64, sect_addr + i) << "  ";
 1414   outs() << format("0x%08" PRIx32, l0) << " ";
 1415   outs() << format("0x%08" PRIx32, l1) << " ";
 1416   outs() << format("0x%08" PRIx32, l2) << " ";
 1417   outs() << format("0x%08" PRIx32, l3) << "\n";
 1426         outs() << format("%016" PRIx64, sect_addr + i) << "  ";
 1428         outs() << format("%08" PRIx64, sect_addr + i) << "  ";
 1493         outs() << format("%016" PRIx64, sect_addr + i) << "  ";
 1495         outs() << format("%08" PRIx64, sect_addr + i) << "  ";
 1517       outs() << "external relocation entry for symbol:" << SymName << "\n";
 1517       outs() << "external relocation entry for symbol:" << SymName << "\n";
 1526       outs() << format("0x%" PRIx64, lp) << " (not in a literal section)\n";
 1542     outs() << SegmentName << ":" << SectName << ":";
 1542     outs() << SegmentName << ":" << SectName << ":";
 1563       outs() << "\n";
 1643       outs() << format("0x%016" PRIx64, sect_addr + i * stride) << " ";
 1651       outs() << format("0x%08" PRIx64, sect_addr + i * stride) << " ";
 1666         outs() << " " << unwrapOrError(RelocSym->getName(), O->getFileName());
 1670           outs() << " " << SymbolName;
 1670           outs() << " " << SymbolName;
 1673     outs() << "\n";
 1684         outs() << format("%016" PRIx64, addr) << "\t";
 1686         outs() << format("%08" PRIx64, addr) << "\t";
 1689         outs() << format("%02" PRIx32, (uint32_t)byte_word) << " ";
 1691       outs() << "\n";
 1697         outs() << format("%016" PRIx64, addr) << "\t";
 1699         outs() << format("%08" PRIx64, addr) << "\t";
 1707           outs() << format("%08" PRIx32, long_word) << " ";
 1711             outs() << format("%02" PRIx32, (uint32_t)byte_word) << " ";
 1715       outs() << "\n";
 1779         outs() << "Contents of (" << SegName << "," << SectName
 1779         outs() << "Contents of (" << SegName << "," << SectName
 1780                << ") section\n";
 1789             outs() << sect;
 1808             outs() << "zerofill section and has no contents in the file\n";
 1832             outs() << "Unknown section type ("
 1833                    << format("0x%08" PRIx32, section_type) << ")\n";
 1839             outs() << "zerofill section and has no contents in the file\n";
 1862         outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 1862         outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 1862         outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 1866       outs() << format("%.*s", BytesStr.size(), sect) << "\n";
 1901         << Filename << ": no architecture specified.\n";
 1928         outs() << " (architecture " << ArchitectureName << ")";
 1928         outs() << " (architecture " << ArchitectureName << ")";
 1929       outs() << ":\n";
 2027   outs() << "    cputype (" << cputype << ")\n";
 2027   outs() << "    cputype (" << cputype << ")\n";
 2028   outs() << "    cpusubtype (" << cpusubtype << ")\n";
 2028   outs() << "    cpusubtype (" << cpusubtype << ")\n";
 2038       outs() << "    cputype CPU_TYPE_I386\n";
 2039       outs() << "    cpusubtype CPU_SUBTYPE_I386_ALL\n";
 2049       outs() << "    cputype CPU_TYPE_X86_64\n";
 2050       outs() << "    cpusubtype CPU_SUBTYPE_X86_64_ALL\n";
 2053       outs() << "    cputype CPU_TYPE_X86_64\n";
 2054       outs() << "    cpusubtype CPU_SUBTYPE_X86_64_H\n";
 2064       outs() << "    cputype CPU_TYPE_ARM\n";
 2065       outs() << "    cpusubtype CPU_SUBTYPE_ARM_ALL\n";
 2068       outs() << "    cputype CPU_TYPE_ARM\n";
 2069       outs() << "    cpusubtype CPU_SUBTYPE_ARM_V4T\n";
 2072       outs() << "    cputype CPU_TYPE_ARM\n";
 2073       outs() << "    cpusubtype CPU_SUBTYPE_ARM_V5TEJ\n";
 2076       outs() << "    cputype CPU_TYPE_ARM\n";
 2077       outs() << "    cpusubtype CPU_SUBTYPE_ARM_XSCALE\n";
 2080       outs() << "    cputype CPU_TYPE_ARM\n";
 2081       outs() << "    cpusubtype CPU_SUBTYPE_ARM_V6\n";
 2084       outs() << "    cputype CPU_TYPE_ARM\n";
 2085       outs() << "    cpusubtype CPU_SUBTYPE_ARM_V6M\n";
 2088       outs() << "    cputype CPU_TYPE_ARM\n";
 2089       outs() << "    cpusubtype CPU_SUBTYPE_ARM_V7\n";
 2092       outs() << "    cputype CPU_TYPE_ARM\n";
 2093       outs() << "    cpusubtype CPU_SUBTYPE_ARM_V7EM\n";
 2096       outs() << "    cputype CPU_TYPE_ARM\n";
 2097       outs() << "    cpusubtype CPU_SUBTYPE_ARM_V7K\n";
 2100       outs() << "    cputype CPU_TYPE_ARM\n";
 2101       outs() << "    cpusubtype CPU_SUBTYPE_ARM_V7M\n";
 2104       outs() << "    cputype CPU_TYPE_ARM\n";
 2105       outs() << "    cpusubtype CPU_SUBTYPE_ARM_V7S\n";
 2115       outs() << "    cputype CPU_TYPE_ARM64\n";
 2116       outs() << "    cpusubtype CPU_SUBTYPE_ARM64_ALL\n";
 2119       outs() << "    cputype CPU_TYPE_ARM64\n";
 2120       outs() << "    cpusubtype CPU_SUBTYPE_ARM64E\n";
 2130       outs() << "    cputype CPU_TYPE_ARM64_32\n";
 2131       outs() << "    cpusubtype CPU_SUBTYPE_ARM64_32_V8\n";
 2146   outs() << "Fat headers\n";
 2149       outs() << "fat_magic FAT_MAGIC\n";
 2151       outs() << "fat_magic FAT_MAGIC_64\n";
 2153     outs() << "fat_magic " << format("0x%" PRIx32, MachO::FAT_MAGIC) << "\n";
 2153     outs() << "fat_magic " << format("0x%" PRIx32, MachO::FAT_MAGIC) << "\n";
 2160   outs() << "nfat_arch " << UB->getNumberOfObjects();
 2162     outs() << " (malformed, contains zero architecture types)\n";
 2164     outs() << " (malformed, architectures past end of file)\n";
 2166     outs() << "\n";
 2172     outs() << "architecture ";
 2180         outs() << "(illegal duplicate architecture) ";
 2185       outs() << OFA.getArchFlagName() << "\n";
 2188       outs() << i << "\n";
 2189       outs() << "    cputype " << cputype << "\n";
 2189       outs() << "    cputype " << cputype << "\n";
 2190       outs() << "    cpusubtype " << (cpusubtype & ~MachO::CPU_SUBTYPE_MASK)
 2191              << "\n";
 2195       outs() << "    capabilities CPU_SUBTYPE_LIB64\n";
 2197       outs() << "    capabilities "
 2199                        (cpusubtype & MachO::CPU_SUBTYPE_MASK) >> 24) << "\n";
 2200     outs() << "    offset " << OFA.getOffset();
 2202       outs() << " (past end of file)";
 2204       outs() << " (not aligned on it's alignment (2^" << OFA.getAlign() << ")";
 2204       outs() << " (not aligned on it's alignment (2^" << OFA.getAlign() << ")";
 2205     outs() << "\n";
 2206     outs() << "    size " << OFA.getSize();
 2209       outs() << " (past end of file)";
 2210     outs() << "\n";
 2211     outs() << "    align 2^" << OFA.getAlign() << " (" << (1 << OFA.getAlign())
 2211     outs() << "    align 2^" << OFA.getAlign() << " (" << (1 << OFA.getAlign())
 2212            << ")\n";
 2221     outs() << C.getChildOffset() << "\t";
 2228     outs() << "-";
 2229     outs() << ((Mode & sys::fs::owner_read) ? "r" : "-");
 2230     outs() << ((Mode & sys::fs::owner_write) ? "w" : "-");
 2231     outs() << ((Mode & sys::fs::owner_exe) ? "x" : "-");
 2232     outs() << ((Mode & sys::fs::group_read) ? "r" : "-");
 2233     outs() << ((Mode & sys::fs::group_write) ? "w" : "-");
 2234     outs() << ((Mode & sys::fs::group_exe) ? "x" : "-");
 2235     outs() << ((Mode & sys::fs::others_read) ? "r" : "-");
 2236     outs() << ((Mode & sys::fs::others_write) ? "w" : "-");
 2237     outs() << ((Mode & sys::fs::others_exe) ? "x" : "-");
 2255       outs() << "(date: \"" << RawLastModified
 2256              << "\" contains non-decimal chars) ";
 2265     outs() << RawLastModified << " ";
 2275              << "\n";
 2278       outs() << Name << "\n";
 2283            << "\n";
 2331       outs() << Filename << ": is not an object file\n";
 2337     outs() << "Archive : " << Filename << "\n";
 2337     outs() << "Archive : " << Filename << "\n";
 2372           << Filename << "': "
 2373           << "object is not a Mach-O file type.\n";
 2415             outs() << "Archive : " << Filename;
 2417               outs() << " (architecture " << ArchitectureName << ")";
 2417               outs() << " (architecture " << ArchitectureName << ")";
 2418             outs() << "\n";
 2479           outs() << "Archive : " << Filename << "\n";
 2479           outs() << "Archive : " << Filename << "\n";
 2529       outs() << "Archive : " << Filename;
 2531         outs() << " (architecture " << ArchitectureName << ")";
 2531         outs() << " (architecture " << ArchitectureName << ")";
 2532       outs() << "\n";
 4119   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 4119   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 4119   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 4130       outs() << listname << " list pointer extends past end of (" << SegName
 4130       outs() << listname << " list pointer extends past end of (" << SegName
 4131              << "," << SectName << ") section\n";
 4131              << "," << SectName << ") section\n";
 4132     outs() << format("%016" PRIx64, S.getAddress() + i) << " ";
 4145         outs() << " + " << format("0x%" PRIx64, p);
 4149       outs() << " " << name;
 4149       outs() << " " << name;
 4150     outs() << "\n";
 4168   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 4168   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 4168   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 4179       outs() << listname << " list pointer extends past end of (" << SegName
 4179       outs() << listname << " list pointer extends past end of (" << SegName
 4180              << "," << SectName << ") section\n";
 4180              << "," << SectName << ") section\n";
 4182     outs() << format("%08" PRIx32, Address) << " ";
 4190       outs() << " " << name;
 4190       outs() << " " << name;
 4191     outs() << "\n";
 4201   outs() << "                layout map: ";
 4203     outs() << format("0x%02" PRIx32, (*layout_map) & 0xff) << " ";
 4207   outs() << "\n";
 4248     outs() << "   (method_list_t entends past the end of the section)\n";
 4253   outs() << indent << "\t\t   entsize " << ml.entsize << "\n";
 4253   outs() << indent << "\t\t   entsize " << ml.entsize << "\n";
 4253   outs() << indent << "\t\t   entsize " << ml.entsize << "\n";
 4254   outs() << indent << "\t\t     count " << ml.count << "\n";
 4254   outs() << indent << "\t\t     count " << ml.count << "\n";
 4254   outs() << indent << "\t\t     count " << ml.count << "\n";
 4265       outs() << indent << "   (method_t extends past the end of the section)\n";
 4265       outs() << indent << "   (method_t extends past the end of the section)\n";
 4271     outs() << indent << "\t\t      name ";
 4271     outs() << indent << "\t\t      name ";
 4276         outs() << sym_name;
 4280         outs() << " + " << format("0x%" PRIx64, m.name);
 4286     outs() << "\n";
 4288     outs() << indent << "\t\t     types ";
 4288     outs() << indent << "\t\t     types ";
 4293         outs() << sym_name;
 4297         outs() << " + " << format("0x%" PRIx64, m.types);
 4303     outs() << "\n";
 4305     outs() << indent << "\t\t       imp ";
 4305     outs() << indent << "\t\t       imp ";
 4310         outs() << format("0x%" PRIx64, n_value) << " ";
 4312           outs() << "+ " << format("0x%" PRIx64, m.imp) << " ";
 4312           outs() << "+ " << format("0x%" PRIx64, m.imp) << " ";
 4314         outs() << format("0x%" PRIx64, m.imp) << " ";
 4317       outs() << name;
 4318     outs() << "\n";
 4339     outs() << "   (method_list_t entends past the end of the section)\n";
 4344   outs() << indent << "\t\t   entsize " << ml.entsize << "\n";
 4344   outs() << indent << "\t\t   entsize " << ml.entsize << "\n";
 4344   outs() << indent << "\t\t   entsize " << ml.entsize << "\n";
 4345   outs() << indent << "\t\t     count " << ml.count << "\n";
 4345   outs() << indent << "\t\t     count " << ml.count << "\n";
 4345   outs() << indent << "\t\t     count " << ml.count << "\n";
 4356       outs() << indent << "   (method_t entends past the end of the section)\n";
 4356       outs() << indent << "   (method_t entends past the end of the section)\n";
 4362     outs() << indent << "\t\t      name " << format("0x%" PRIx32, m.name);
 4362     outs() << indent << "\t\t      name " << format("0x%" PRIx32, m.name);
 4366     outs() << "\n";
 4368     outs() << indent << "\t\t     types " << format("0x%" PRIx32, m.types);
 4368     outs() << indent << "\t\t     types " << format("0x%" PRIx32, m.types);
 4372     outs() << "\n";
 4374     outs() << indent << "\t\t       imp " << format("0x%" PRIx32, m.imp);
 4374     outs() << indent << "\t\t       imp " << format("0x%" PRIx32, m.imp);
 4378       outs() << " " << name;
 4378       outs() << " " << name;
 4379     outs() << "\n";
 4398   outs() << "\n";
 4402     outs() << "\t\t objc_method_list extends past end of the section\n";
 4409   outs() << "\t\t         obsolete "
 4410          << format("0x%08" PRIx32, method_list.obsolete) << "\n";
 4411   outs() << "\t\t     method_count " << method_list.method_count << "\n";
 4411   outs() << "\t\t     method_count " << method_list.method_count << "\n";
 4416       outs() << "\t\t remaining method's extend past the of the section\n";
 4424     outs() << "\t\t      method_name "
 4431         outs() << " (not in an __OBJC section)";
 4433     outs() << "\n";
 4435     outs() << "\t\t     method_types "
 4442         outs() << " (not in an __OBJC section)";
 4444     outs() << "\n";
 4446     outs() << "\t\t       method_imp "
 4447            << format("0x%08" PRIx32, method.method_imp) << " ";
 4451         outs() << SymbolName;
 4453     outs() << "\n";
 4473     outs() << "   (protocol_list_t entends past the end of the section)\n";
 4478   outs() << "                      count " << pl.count << "\n";
 4478   outs() << "                      count " << pl.count << "\n";
 4489       outs() << "   (protocol_t * entends past the end of the section)\n";
 4495     outs() << "\t\t      list[" << i << "] ";
 4495     outs() << "\t\t      list[" << i << "] ";
 4499         outs() << sym_name;
 4503         outs() << " + " << format("0x%" PRIx64, q);
 4506     outs() << " (struct protocol_t *)\n";
 4514       outs() << "   (protocol_t entends past the end of the section)\n";
 4520     outs() << "\t\t\t      isa " << format("0x%" PRIx64, pc.isa) << "\n";
 4520     outs() << "\t\t\t      isa " << format("0x%" PRIx64, pc.isa) << "\n";
 4522     outs() << "\t\t\t     name ";
 4527         outs() << sym_name;
 4531         outs() << " + " << format("0x%" PRIx64, pc.name);
 4537     outs() << "\n";
 4539     outs() << "\t\t\tprotocols " << format("0x%" PRIx64, pc.protocols) << "\n";
 4539     outs() << "\t\t\tprotocols " << format("0x%" PRIx64, pc.protocols) << "\n";
 4541     outs() << "\t\t  instanceMethods ";
 4547         outs() << sym_name;
 4551         outs() << " + " << format("0x%" PRIx64, pc.instanceMethods);
 4554     outs() << " (struct method_list_t *)\n";
 4558     outs() << "\t\t     classMethods ";
 4564         outs() << sym_name;
 4568         outs() << " + " << format("0x%" PRIx64, pc.classMethods);
 4571     outs() << " (struct method_list_t *)\n";
 4575     outs() << "\t  optionalInstanceMethods "
 4576            << format("0x%" PRIx64, pc.optionalInstanceMethods) << "\n";
 4577     outs() << "\t     optionalClassMethods "
 4578            << format("0x%" PRIx64, pc.optionalClassMethods) << "\n";
 4579     outs() << "\t       instanceProperties "
 4580            << format("0x%" PRIx64, pc.instanceProperties) << "\n";
 4602     outs() << "   (protocol_list_t entends past the end of the section)\n";
 4607   outs() << "                      count " << pl.count << "\n";
 4607   outs() << "                      count " << pl.count << "\n";
 4618       outs() << "   (protocol_t * entends past the end of the section)\n";
 4623     outs() << "\t\t      list[" << i << "] " << format("0x%" PRIx32, q)
 4623     outs() << "\t\t      list[" << i << "] " << format("0x%" PRIx32, q)
 4624            << " (struct protocol_t *)\n";
 4631       outs() << "   (protocol_t entends past the end of the section)\n";
 4636     outs() << "\t\t\t      isa " << format("0x%" PRIx32, pc.isa) << "\n";
 4636     outs() << "\t\t\t      isa " << format("0x%" PRIx32, pc.isa) << "\n";
 4637     outs() << "\t\t\t     name " << format("0x%" PRIx32, pc.name);
 4641     outs() << "\n";
 4642     outs() << "\t\t\tprotocols " << format("0x%" PRIx32, pc.protocols) << "\n";
 4642     outs() << "\t\t\tprotocols " << format("0x%" PRIx32, pc.protocols) << "\n";
 4643     outs() << "\t\t  instanceMethods "
 4645            << " (struct method_list_t *)\n";
 4648     outs() << "\t\t     classMethods " << format("0x%" PRIx32, pc.classMethods)
 4649            << " (struct method_list_t *)\n";
 4652     outs() << "\t  optionalInstanceMethods "
 4653            << format("0x%" PRIx32, pc.optionalInstanceMethods) << "\n";
 4654     outs() << "\t     optionalClassMethods "
 4655            << format("0x%" PRIx32, pc.optionalClassMethods) << "\n";
 4656     outs() << "\t       instanceProperties "
 4657            << format("0x%" PRIx32, pc.instanceProperties) << "\n";
 4666       outs() << "\t";
 4670         outs() << " ";
 4689   outs() << "\n";
 4694     outs() << " objc_method_description_list extends past end of the section\n";
 4702   outs() << "        count " << mdl.count << "\n";
 4702   outs() << "        count " << mdl.count << "\n";
 4708       outs() << " remaining list entries extend past the of the section\n";
 4712     outs() << "        list[" << i << "]\n";
 4712     outs() << "        list[" << i << "]\n";
 4719     outs() << "             name " << format("0x%08" PRIx32, md.name);
 4725         outs() << " (not in an __OBJC section)";
 4727     outs() << "\n";
 4730     outs() << "            types " << format("0x%08" PRIx32, md.types);
 4736         outs() << " (not in an __OBJC section)";
 4738     outs() << "\n";
 4757   outs() << "\n";
 4762     outs() << "            Protocol extends past end of the section\n";
 4770   outs() << "              isa " << format("0x%08" PRIx32, protocol.isa)
 4771          << "\n";
 4774   outs() << "    protocol_name "
 4781       outs() << " (not in an __OBJC section)";
 4783   outs() << "\n";
 4786   outs() << "    protocol_list "
 4789     outs() << " (not in an __OBJC section)\n";
 4792   outs() << " instance_methods "
 4795     outs() << " (not in an __OBJC section)\n";
 4798   outs() << "    class_methods "
 4801     outs() << " (not in an __OBJC section)\n";
 4818   outs() << "\n";
 4822     outs() << "\t\t objc_protocol_list_t extends past end of the section\n";
 4830   outs() << "         next " << format("0x%08" PRIx32, protocol_list.next)
 4831          << "\n";
 4833   outs() << "        count " << protocol_list.count << "\n";
 4833   outs() << "        count " << protocol_list.count << "\n";
 4838       outs() << "\t\t remaining list entries extend past the of the section\n";
 4846     outs() << "      list[" << i << "] " << format("0x%08" PRIx32, l);
 4846     outs() << "      list[" << i << "] " << format("0x%08" PRIx32, l);
 4848       outs() << "(not in an __OBJC section)\n";
 4868     outs() << "   (ivar_list_t entends past the end of the section)\n";
 4873   outs() << "                    entsize " << il.entsize << "\n";
 4873   outs() << "                    entsize " << il.entsize << "\n";
 4874   outs() << "                      count " << il.count << "\n";
 4874   outs() << "                      count " << il.count << "\n";
 4885       outs() << "   (ivar_t entends past the end of the section)\n";
 4891     outs() << "\t\t\t   offset ";
 4896         outs() << sym_name;
 4900         outs() << " + " << format("0x%" PRIx64, i.offset);
 4908       outs() << " " << ivar_offset << "\n";
 4908       outs() << " " << ivar_offset << "\n";
 4910       outs() << "\n";
 4912     outs() << "\t\t\t     name ";
 4917         outs() << sym_name;
 4921         outs() << " + " << format("0x%" PRIx64, i.name);
 4927     outs() << "\n";
 4929     outs() << "\t\t\t     type ";
 4935         outs() << sym_name;
 4939         outs() << " + " << format("0x%" PRIx64, i.type);
 4944     outs() << "\n";
 4946     outs() << "\t\t\talignment " << i.alignment << "\n";
 4946     outs() << "\t\t\talignment " << i.alignment << "\n";
 4947     outs() << "\t\t\t     size " << i.size << "\n";
 4947     outs() << "\t\t\t     size " << i.size << "\n";
 4969     outs() << "   (ivar_list_t entends past the end of the section)\n";
 4974   outs() << "                    entsize " << il.entsize << "\n";
 4974   outs() << "                    entsize " << il.entsize << "\n";
 4975   outs() << "                      count " << il.count << "\n";
 4975   outs() << "                      count " << il.count << "\n";
 4986       outs() << "   (ivar_t entends past the end of the section)\n";
 4992     outs() << "\t\t\t   offset " << format("0x%" PRIx32, i.offset);
 4998       outs() << " " << ivar_offset << "\n";
 4998       outs() << " " << ivar_offset << "\n";
 5000       outs() << "\n";
 5002     outs() << "\t\t\t     name " << format("0x%" PRIx32, i.name);
 5006     outs() << "\n";
 5008     outs() << "\t\t\t     type " << format("0x%" PRIx32, i.type);
 5012     outs() << "\n";
 5014     outs() << "\t\t\talignment " << i.alignment << "\n";
 5014     outs() << "\t\t\talignment " << i.alignment << "\n";
 5015     outs() << "\t\t\t     size " << i.size << "\n";
 5015     outs() << "\t\t\t     size " << i.size << "\n";
 5038     outs() << "   (objc_property_list entends past the end of the section)\n";
 5043   outs() << "                    entsize " << opl.entsize << "\n";
 5043   outs() << "                    entsize " << opl.entsize << "\n";
 5044   outs() << "                      count " << opl.count << "\n";
 5044   outs() << "                      count " << opl.count << "\n";
 5055       outs() << "   (objc_property entends past the end of the section)\n";
 5061     outs() << "\t\t\t     name ";
 5066         outs() << sym_name;
 5070         outs() << " + " << format("0x%" PRIx64, op.name);
 5076     outs() << "\n";
 5078     outs() << "\t\t\tattributes ";
 5084         outs() << sym_name;
 5088         outs() << " + " << format("0x%" PRIx64, op.attributes);
 5094     outs() << "\n";
 5116     outs() << "   (objc_property_list entends past the end of the section)\n";
 5121   outs() << "                    entsize " << opl.entsize << "\n";
 5121   outs() << "                    entsize " << opl.entsize << "\n";
 5122   outs() << "                      count " << opl.count << "\n";
 5122   outs() << "                      count " << opl.count << "\n";
 5133       outs() << "   (objc_property entends past the end of the section)\n";
 5139     outs() << "\t\t\t     name " << format("0x%" PRIx32, op.name);
 5143     outs() << "\n";
 5145     outs() << "\t\t\tattributes " << format("0x%" PRIx32, op.attributes);
 5149     outs() << "\n";
 5171   outs() << "                    flags " << format("0x%" PRIx32, cro.flags);
 5173     outs() << " RO_META";
 5175     outs() << " RO_ROOT";
 5177     outs() << " RO_HAS_CXX_STRUCTORS";
 5178   outs() << "\n";
 5179   outs() << "            instanceStart " << cro.instanceStart << "\n";
 5179   outs() << "            instanceStart " << cro.instanceStart << "\n";
 5180   outs() << "             instanceSize " << cro.instanceSize << "\n";
 5180   outs() << "             instanceSize " << cro.instanceSize << "\n";
 5181   outs() << "                 reserved " << format("0x%" PRIx32, cro.reserved)
 5182          << "\n";
 5183   outs() << "               ivarLayout " << format("0x%" PRIx64, cro.ivarLayout)
 5184          << "\n";
 5187   outs() << "                     name ";
 5192       outs() << sym_name;
 5196       outs() << " + " << format("0x%" PRIx64, cro.name);
 5202   outs() << "\n";
 5204   outs() << "              baseMethods ";
 5209       outs() << sym_name;
 5213       outs() << " + " << format("0x%" PRIx64, cro.baseMethods);
 5216   outs() << " (struct method_list_t *)\n";
 5220   outs() << "            baseProtocols ";
 5226       outs() << sym_name;
 5230       outs() << " + " << format("0x%" PRIx64, cro.baseProtocols);
 5233   outs() << "\n";
 5237   outs() << "                    ivars ";
 5242       outs() << sym_name;
 5246       outs() << " + " << format("0x%" PRIx64, cro.ivars);
 5249   outs() << "\n";
 5253   outs() << "           weakIvarLayout ";
 5259       outs() << sym_name;
 5263       outs() << " + " << format("0x%" PRIx64, cro.weakIvarLayout);
 5266   outs() << "\n";
 5269   outs() << "           baseProperties ";
 5275       outs() << sym_name;
 5279       outs() << " + " << format("0x%" PRIx64, cro.baseProperties);
 5282   outs() << "\n";
 5304     outs() << "   (class_ro_t entends past the end of the section)\n";
 5309   outs() << "                    flags " << format("0x%" PRIx32, cro.flags);
 5311     outs() << " RO_META";
 5313     outs() << " RO_ROOT";
 5315     outs() << " RO_HAS_CXX_STRUCTORS";
 5316   outs() << "\n";
 5317   outs() << "            instanceStart " << cro.instanceStart << "\n";
 5317   outs() << "            instanceStart " << cro.instanceStart << "\n";
 5318   outs() << "             instanceSize " << cro.instanceSize << "\n";
 5318   outs() << "             instanceSize " << cro.instanceSize << "\n";
 5319   outs() << "               ivarLayout " << format("0x%" PRIx32, cro.ivarLayout)
 5320          << "\n";
 5323   outs() << "                     name " << format("0x%" PRIx32, cro.name);
 5327   outs() << "\n";
 5329   outs() << "              baseMethods "
 5331          << " (struct method_list_t *)\n";
 5335   outs() << "            baseProtocols "
 5336          << format("0x%" PRIx32, cro.baseProtocols) << "\n";
 5339   outs() << "                    ivars " << format("0x%" PRIx32, cro.ivars)
 5340          << "\n";
 5343   outs() << "           weakIvarLayout "
 5344          << format("0x%" PRIx32, cro.weakIvarLayout) << "\n";
 5346   outs() << "           baseProperties "
 5347          << format("0x%" PRIx32, cro.baseProperties) << "\n";
 5369   outs() << "           isa " << format("0x%" PRIx64, c.isa);
 5373     outs() << " " << name;
 5373     outs() << " " << name;
 5374   outs() << "\n";
 5376   outs() << "    superclass " << format("0x%" PRIx64, c.superclass);
 5380     outs() << " " << name;
 5380     outs() << " " << name;
 5385       outs() << " " << name;
 5385       outs() << " " << name;
 5387   outs() << "\n";
 5389   outs() << "         cache " << format("0x%" PRIx64, c.cache);
 5393     outs() << " " << name;
 5393     outs() << " " << name;
 5394   outs() << "\n";
 5396   outs() << "        vtable " << format("0x%" PRIx64, c.vtable);
 5400     outs() << " " << name;
 5400     outs() << " " << name;
 5401   outs() << "\n";
 5405   outs() << "          data ";
 5408       outs() << name;
 5412       outs() << " + " << format("0x%" PRIx64, c.data);
 5415   outs() << " (struct class_ro_t *)";
 5419     outs() << " Swift class";
 5420   outs() << "\n";
 5430       outs() << "Meta Class\n";
 5448     outs() << "   (class_t entends past the end of the section)\n";
 5454   outs() << "           isa " << format("0x%" PRIx32, c.isa);
 5458     outs() << " " << name;
 5458     outs() << " " << name;
 5459   outs() << "\n";
 5461   outs() << "    superclass " << format("0x%" PRIx32, c.superclass);
 5465     outs() << " " << name;
 5465     outs() << " " << name;
 5466   outs() << "\n";
 5468   outs() << "         cache " << format("0x%" PRIx32, c.cache);
 5472     outs() << " " << name;
 5472     outs() << " " << name;
 5473   outs() << "\n";
 5475   outs() << "        vtable " << format("0x%" PRIx32, c.vtable);
 5479     outs() << " " << name;
 5479     outs() << " " << name;
 5480   outs() << "\n";
 5484   outs() << "          data " << format("0x%" PRIx32, c.data)
 5485          << " (struct class_ro_t *)";
 5489     outs() << " Swift class";
 5490   outs() << "\n";
 5496     outs() << "Meta Class\n";
 5510   outs() << "\t\t      isa " << format("0x%08" PRIx32, objc_class->isa);
 5516       outs() << " (not in an __OBJC section)";
 5518   outs() << "\n";
 5520   outs() << "\t      super_class "
 5527       outs() << " (not in an __OBJC section)";
 5529   outs() << "\n";
 5531   outs() << "\t\t     name " << format("0x%08" PRIx32, objc_class->name);
 5537       outs() << " (not in an __OBJC section)";
 5539   outs() << "\n";
 5541   outs() << "\t\t  version " << format("0x%08" PRIx32, objc_class->version)
 5542          << "\n";
 5544   outs() << "\t\t     info " << format("0x%08" PRIx32, objc_class->info);
 5547       outs() << " CLS_CLASS";
 5549       outs() << " CLS_META";
 5551   outs() << "\n";
 5553   outs() << "\t    instance_size "
 5554          << format("0x%08" PRIx32, objc_class->instance_size) << "\n";
 5557   outs() << "\t\t    ivars " << format("0x%08" PRIx32, objc_class->ivars);
 5560       outs() << "\n";
 5563       outs() << " (entends past the end of the section)\n";
 5569     outs() << "\t\t       ivar_count " << objc_ivar_list.ivar_count << "\n";
 5569     outs() << "\t\t       ivar_count " << objc_ivar_list.ivar_count << "\n";
 5573         outs() << "\t\t remaining ivar's extend past the of the section\n";
 5581       outs() << "\t\t\tivar_name " << format("0x%08" PRIx32, ivar.ivar_name);
 5587           outs() << " (not in an __OBJC section)";
 5589       outs() << "\n";
 5591       outs() << "\t\t\tivar_type " << format("0x%08" PRIx32, ivar.ivar_type);
 5597           outs() << " (not in an __OBJC section)";
 5599       outs() << "\n";
 5601       outs() << "\t\t      ivar_offset "
 5602              << format("0x%08" PRIx32, ivar.ivar_offset) << "\n";
 5605     outs() << " (not in an __OBJC section)\n";
 5608   outs() << "\t\t  methods " << format("0x%08" PRIx32, objc_class->methodLists);
 5610     outs() << " (not in an __OBJC section)\n";
 5612   outs() << "\t\t    cache " << format("0x%08" PRIx32, objc_class->cache)
 5613          << "\n";
 5615   outs() << "\t\tprotocols " << format("0x%08" PRIx32, objc_class->protocols);
 5617     outs() << " (not in an __OBJC section)\n";
 5626   outs() << "\t       category name "
 5634       outs() << " (not in an __OBJC section)";
 5636   outs() << "\n";
 5638   outs() << "\t\t  class name "
 5646       outs() << " (not in an __OBJC section)";
 5648   outs() << "\n";
 5650   outs() << "\t    instance methods "
 5653     outs() << " (not in an __OBJC section)\n";
 5655   outs() << "\t       class methods "
 5658     outs() << " (not in an __OBJC section)\n";
 5675     outs() << "   (category_t entends past the end of the section)\n";
 5681   outs() << "              name ";
 5686       outs() << sym_name;
 5690       outs() << " + " << format("0x%" PRIx64, c.name);
 5696   outs() << "\n";
 5698   outs() << "               cls ";
 5703       outs() << sym_name;
 5707       outs() << " + " << format("0x%" PRIx64, c.cls);
 5710   outs() << "\n";
 5714   outs() << "   instanceMethods ";
 5720       outs() << sym_name;
 5724       outs() << " + " << format("0x%" PRIx64, c.instanceMethods);
 5727   outs() << "\n";
 5731   outs() << "      classMethods ";
 5736       outs() << sym_name;
 5740       outs() << " + " << format("0x%" PRIx64, c.classMethods);
 5743   outs() << "\n";
 5747   outs() << "         protocols ";
 5752       outs() << sym_name;
 5756       outs() << " + " << format("0x%" PRIx64, c.protocols);
 5759   outs() << "\n";
 5763   outs() << "instanceProperties ";
 5769       outs() << sym_name;
 5773       outs() << " + " << format("0x%" PRIx64, c.instanceProperties);
 5776   outs() << "\n";
 5794     outs() << "   (category_t entends past the end of the section)\n";
 5800   outs() << "              name " << format("0x%" PRIx32, c.name);
 5804     outs() << " " << name;
 5804     outs() << " " << name;
 5805   outs() << "\n";
 5807   outs() << "               cls " << format("0x%" PRIx32, c.cls) << "\n";
 5807   outs() << "               cls " << format("0x%" PRIx32, c.cls) << "\n";
 5810   outs() << "   instanceMethods " << format("0x%" PRIx32, c.instanceMethods)
 5811          << "\n";
 5814   outs() << "      classMethods " << format("0x%" PRIx32, c.classMethods)
 5815          << "\n";
 5818   outs() << "         protocols " << format("0x%" PRIx32, c.protocols) << "\n";
 5818   outs() << "         protocols " << format("0x%" PRIx32, c.protocols) << "\n";
 5821   outs() << "instanceProperties " << format("0x%" PRIx32, c.instanceProperties)
 5822          << "\n";
 5847   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 5847   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 5847   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 5857       outs() << "   (message_ref entends past the end of the section)\n";
 5863     outs() << "  imp ";
 5867       outs() << format("0x%" PRIx64, n_value) << " ";
 5869         outs() << "+ " << format("0x%" PRIx64, mr.imp) << " ";
 5869         outs() << "+ " << format("0x%" PRIx64, mr.imp) << " ";
 5871       outs() << format("0x%" PRIx64, mr.imp) << " ";
 5873       outs() << " " << name;
 5873       outs() << " " << name;
 5874     outs() << "\n";
 5876     outs() << "  sel ";
 5881         outs() << sym_name;
 5885         outs() << " + " << format("0x%" PRIx64, mr.sel);
 5891     outs() << "\n";
 5915   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 5915   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 5915   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 5925       outs() << "   (message_ref entends past the end of the section)\n";
 5931     outs() << "  imp " << format("0x%" PRIx32, mr.imp);
 5935       outs() << " " << name;
 5935       outs() << " " << name;
 5936     outs() << "\n";
 5938     outs() << "  sel " << format("0x%" PRIx32, mr.sel);
 5941       outs() << " " << name;
 5941       outs() << " " << name;
 5942     outs() << "\n";
 5966   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 5966   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 5966   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 5974     outs() << "   (objc_image_info entends past the end of the section)\n";
 5979   outs() << "  version " << o.version << "\n";
 5979   outs() << "  version " << o.version << "\n";
 5980   outs() << "    flags " << format("0x%" PRIx32, o.flags);
 5982     outs() << " OBJC_IMAGE_IS_REPLACEMENT";
 5984     outs() << " OBJC_IMAGE_SUPPORTS_GC";
 5986     outs() << " OBJC_IMAGE_IS_SIMULATED";
 5988     outs() << " OBJC_IMAGE_HAS_CATEGORY_CLASS_PROPERTIES";
 5992       outs() << " Swift 1.0";
 5994       outs() << " Swift 1.1";
 5996       outs() << " Swift 2.0";
 5998       outs() << " Swift 3.0";
 6000       outs() << " Swift 4.0";
 6002       outs() << " Swift 4.1/Swift 4.2";
 6004       outs() << " Swift 5 or later";
 6006       outs() << " unknown future Swift version (" << swift_version << ")";
 6006       outs() << " unknown future Swift version (" << swift_version << ")";
 6008   outs() << "\n";
 6028   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 6028   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 6028   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 6036     outs() << "   (objc_image_info entends past the end of the section)\n";
 6041   outs() << "  version " << o.version << "\n";
 6041   outs() << "  version " << o.version << "\n";
 6042   outs() << "    flags " << format("0x%" PRIx32, o.flags);
 6044     outs() << " OBJC_IMAGE_IS_REPLACEMENT";
 6046     outs() << " OBJC_IMAGE_SUPPORTS_GC";
 6050       outs() << " Swift 1.0";
 6052       outs() << " Swift 1.1";
 6054       outs() << " Swift 2.0";
 6056       outs() << " Swift 3.0";
 6058       outs() << " Swift 4.0";
 6060       outs() << " Swift 4.1/Swift 4.2";
 6062       outs() << " Swift 5 or later";
 6064       outs() << " unknown future Swift version (" << swift_version << ")";
 6064       outs() << " unknown future Swift version (" << swift_version << ")";
 6066   outs() << "\n";
 6083   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 6083   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 6083   outs() << "Contents of (" << SegName << "," << SectName << ") section\n";
 6091     outs() << " (imageInfo entends past the end of the section)\n";
 6096   outs() << "  version " << o.version << "\n";
 6096   outs() << "  version " << o.version << "\n";
 6097   outs() << "    flags " << format("0x%" PRIx32, o.flags);
 6099     outs() << "  F&C";
 6101     outs() << " GC";
 6103     outs() << " GC-only";
 6105     outs() << " RR";
 6106   outs() << "\n";
 6282   outs() << "Objective-C segment\n";
 6305       outs() << "   (module extends past end of __module_info section)\n";
 6311     outs() << "Module " << format("0x%" PRIx32, p) << "\n";
 6311     outs() << "Module " << format("0x%" PRIx32, p) << "\n";
 6312     outs() << "    version " << module.version << "\n";
 6312     outs() << "    version " << module.version << "\n";
 6313     outs() << "       size " << module.size << "\n";
 6313     outs() << "       size " << module.size << "\n";
 6314     outs() << "       name ";
 6320              << "(not in an __OBJC section)";
 6321     outs() << "\n";
 6325       outs() << "     symtab " << format("0x%08" PRIx32, module.symtab)
 6326              << " (not in an __OBJC section)\n";
 6329     outs() << "     symtab " << format("0x%08" PRIx32, module.symtab) << "\n";
 6329     outs() << "     symtab " << format("0x%08" PRIx32, module.symtab) << "\n";
 6335       outs() << "\tsymtab extends past end of an __OBJC section)\n";
 6346     outs() << "\tsel_ref_cnt " << symtab.sel_ref_cnt << "\n";
 6346     outs() << "\tsel_ref_cnt " << symtab.sel_ref_cnt << "\n";
 6348     outs() << "\trefs " << format("0x%08" PRIx32, symtab.refs);
 6350       outs() << " (not in an __OBJC section)";
 6351     outs() << "\n";
 6352     outs() << "\tcls_def_cnt " << symtab.cls_def_cnt << "\n";
 6352     outs() << "\tcls_def_cnt " << symtab.cls_def_cnt << "\n";
 6353     outs() << "\tcat_def_cnt " << symtab.cat_def_cnt << "\n";
 6353     outs() << "\tcat_def_cnt " << symtab.cat_def_cnt << "\n";
 6355       outs() << "\tClass Definitions\n";
 6358         outs() << "\t(remaining class defs entries entends past the end of the "
 6359                << "section)\n";
 6367       outs() << "\tdefs[" << j << "] " << format("0x%08" PRIx32, def);
 6367       outs() << "\tdefs[" << j << "] " << format("0x%08" PRIx32, def);
 6370           outs() << "\n";
 6373           outs() << " (entends past the end of the section)\n";
 6381         outs() << "(not in an __OBJC section)\n";
 6385         outs() << "\tMeta Class";
 6389             outs() << "\n";
 6392             outs() << " (entends past the end of the section)\n";
 6400           outs() << "(not in an __OBJC section)\n";
 6405       outs() << "\tCategory Definitions\n";
 6408         outs() << "\t(remaining category defs entries entends past the end of "
 6409                << "the section)\n";
 6418       outs() << "\tdefs[" << j + symtab.cls_def_cnt << "] "
 6418       outs() << "\tdefs[" << j + symtab.cls_def_cnt << "] "
 6422           outs() << "\n";
 6425           outs() << " (entends past the end of the section)\n";
 6433         outs() << "(not in an __OBJC section)\n";
 6462       outs() << "Protocol extends past end of __protocol section\n";
 6469     outs() << "Protocol " << format("0x%" PRIx32, paddr);
 6471       outs() << "(not in an __OBJC section)\n";
 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";
 7427     outs() << "(" << DisSegName << "," << DisSectName << ") section\n";
 7427     outs() << "(" << DisSegName << "," << DisSectName << ") section\n";
 7427     outs() << "(" << DisSegName << "," << DisSectName << ") section\n";
 7469       outs() << "Can't find -dis-symname: " << DisSymName << "\n";
 7469       outs() << "Can't find -dis-symname: " << DisSymName << "\n";
 7510           outs() << "-dis-symname: " << DisSymName << " not in the section\n";
 7510           outs() << "-dis-symname: " << DisSymName << " not in the section\n";
 7521         outs() << "-dis-symname: __mh_execute_header not in any section\n";
 7544         outs() << "section data ends, " << SymName
 7545                << " lies outside valid range\n";
 7590         outs() << SymName << ":\n";
 7600           outs() << SymName << ":\n";
 7614           outs() << "\t";
 7646               outs() << "\t## " << dli.FileName << ':' << dli.Line << ':'
 7650           outs() << "\n";
 7673                 << "invalid instruction encoding\n";
 7711             outs() << "\t";
 7716           outs() << "\n";
 7725                 << "invalid instruction encoding\n";
 7756     outs() << "warning: attempt to read past end of buffer\n";
 7877     outs() << " + " << format("0x%" PRIx64, Addend);
 7886     outs() << "Skipping big-endian __compact_unwind section\n";
 7920       outs() << "Invalid relocation in __compact_unwind section\n";
 7926   outs() << "Contents of __compact_unwind section:\n";
 7928     outs() << "  Entry at offset "
 7929            << format("0x%" PRIx32, Entry.OffsetInSection) << ":\n";
 7932     outs() << "    start:                " << format("0x%" PRIx64,
 7938     outs() << "    length:               " << format("0x%" PRIx32, Entry.Length)
 7941     outs() << "    compact encoding:     "
 7946       outs() << "    personality function: "
 7955       outs() << "    LSDA:                 " << format("0x%" PRIx64,
 7981     outs() << "      [" << i << "]: "
 7981     outs() << "      [" << i << "]: "
 7982            << "function offset=" << format("0x%08" PRIx32, FunctionOffset)
 7983            << ", "
 7984            << "encoding=" << format("0x%08" PRIx32, Encoding) << '\n';
 8017     outs() << "      [" << i << "]: "
 8017     outs() << "      [" << i << "]: "
 8018            << "function offset=" << format("0x%08" PRIx32, FunctionOffset)
 8019            << ", "
 8020            << "encoding[" << EncodingIdx
 8021            << "]=" << format("0x%08" PRIx32, Encoding) << '\n';
 8030     outs() << "Skipping big-endian __unwind_info section\n";
 8034   outs() << "Contents of __unwind_info section:\n";
 8045   outs() << "  Version:                                   "
 8048     outs() << "    Skipping section with unknown version\n";
 8053   outs() << "  Common encodings array section offset:     "
 8056   outs() << "  Number of common encodings in array:       "
 8060   outs() << "  Personality function array section offset: "
 8063   outs() << "  Number of personality functions in array:  "
 8067   outs() << "  Index array section offset:                "
 8070   outs() << "  Number of indices in array:                "
 8083   outs() << "  Common encodings: (count = " << NumCommonEncodings << ")\n";
 8083   outs() << "  Common encodings: (count = " << NumCommonEncodings << ")\n";
 8089     outs() << "    encoding[" << i << "]: " << format("0x%08" PRIx32, Encoding)
 8089     outs() << "    encoding[" << i << "]: " << format("0x%08" PRIx32, Encoding)
 8100   outs() << "  Personality functions: (count = " << NumPersonalities << ")\n";
 8100   outs() << "  Personality functions: (count = " << NumPersonalities << ")\n";
 8104     outs() << "    personality[" << i + 1
 8105            << "]: " << format("0x%08" PRIx32, PersonalityFn) << '\n';
 8123   outs() << "  Top level indices: (count = " << NumIndices << ")\n";
 8123   outs() << "  Top level indices: (count = " << NumIndices << ")\n";
 8133     outs() << "    [" << i << "]: "
 8133     outs() << "    [" << i << "]: "
 8134            << "function offset=" << format("0x%08" PRIx32, Entry.FunctionOffset)
 8135            << ", "
 8136            << "2nd level page offset="
 8137            << format("0x%08" PRIx32, Entry.SecondLevelPageStart) << ", "
 8138            << "LSDA offset=" << format("0x%08" PRIx32, Entry.LSDAStart) << '\n';
 8148   outs() << "  LSDA descriptors:\n";
 8157     outs() << "    [" << i << "]: "
 8157     outs() << "    [" << i << "]: "
 8158            << "function offset=" << format("0x%08" PRIx32, FunctionOffset)
 8159            << ", "
 8160            << "LSDA offset=" << format("0x%08" PRIx32, LSDAOffset) << '\n';
 8171   outs() << "  Second level indices:\n";
 8177     outs() << "    Second level index[" << i << "]: "
 8177     outs() << "    Second level index[" << i << "]: "
 8178            << "offset in section="
 8180            << ", "
 8181            << "base function offset="
 8186       outs() << "warning: invalid offset for second level page: " << Pos << '\n';
 8199       outs() << "    Skipping 2nd level page with unknown kind " << Kind
 8241   outs() << "Mach header\n";
 8242   outs() << "      magic cputype cpusubtype  caps    filetype ncmds "
 8246       outs() << "   MH_MAGIC";
 8248       outs() << "MH_MAGIC_64";
 8253       outs() << "    I386";
 8256         outs() << "        ALL";
 8264       outs() << "  X86_64";
 8267         outs() << "        ALL";
 8270         outs() << "    Haswell";
 8278       outs() << "     ARM";
 8281         outs() << "        ALL";
 8284         outs() << "        V4T";
 8287         outs() << "      V5TEJ";
 8290         outs() << "     XSCALE";
 8293         outs() << "         V6";
 8296         outs() << "        V6M";
 8299         outs() << "         V7";
 8302         outs() << "       V7EM";
 8305         outs() << "        V7K";
 8308         outs() << "        V7M";
 8311         outs() << "        V7S";
 8319       outs() << "   ARM64";
 8322         outs() << "        ALL";
 8325         outs() << "          E";
 8333       outs() << " ARM64_32";
 8336         outs() << "        V8";
 8344       outs() << "     PPC";
 8347         outs() << "        ALL";
 8355       outs() << "   PPC64";
 8358         outs() << "        ALL";
 8371       outs() << " LIB64";
 8378       outs() << "      OBJECT";
 8381       outs() << "     EXECUTE";
 8384       outs() << "      FVMLIB";
 8387       outs() << "        CORE";
 8390       outs() << "     PRELOAD";
 8393       outs() << "       DYLIB";
 8396       outs() << "  DYLIB_STUB";
 8399       outs() << "    DYLINKER";
 8402       outs() << "      BUNDLE";
 8405       outs() << "        DSYM";
 8408       outs() << "  KEXTBUNDLE";
 8418       outs() << "   NOUNDEFS";
 8422       outs() << " INCRLINK";
 8426       outs() << " DYLDLINK";
 8430       outs() << " BINDATLOAD";
 8434       outs() << " PREBOUND";
 8438       outs() << " SPLIT_SEGS";
 8442       outs() << " LAZY_INIT";
 8446       outs() << " TWOLEVEL";
 8450       outs() << " FORCE_FLAT";
 8454       outs() << " NOMULTIDEFS";
 8458       outs() << " NOFIXPREBINDING";
 8462       outs() << " PREBINDABLE";
 8466       outs() << " ALLMODSBOUND";
 8470       outs() << " SUBSECTIONS_VIA_SYMBOLS";
 8474       outs() << " CANONICAL";
 8478       outs() << " WEAK_DEFINES";
 8482       outs() << " BINDS_TO_WEAK";
 8486       outs() << " ALLOW_STACK_EXECUTION";
 8490       outs() << " DEAD_STRIPPABLE_DYLIB";
 8494       outs() << " PIE";
 8498       outs() << " NO_REEXPORTED_DYLIBS";
 8502       outs() << " MH_HAS_TLV_DESCRIPTORS";
 8506       outs() << " MH_NO_HEAP_EXECUTION";
 8510       outs() << " APP_EXTENSION_SAFE";
 8514       outs() << " NLIST_OUTOFSYNC_WITH_DYLDINFO";
 8530   outs() << "\n";
 8542     outs() << "      cmd LC_SEGMENT\n";
 8547     outs() << "      cmd LC_SEGMENT_64\n";
 8552   outs() << "  cmdsize " << cmdsize;
 8554     outs() << " Inconsistent size\n";
 8556     outs() << "\n";
 8557   outs() << "  segname " << SegName << "\n";
 8557   outs() << "  segname " << SegName << "\n";
 8559     outs() << "   vmaddr " << format("0x%016" PRIx64, vmaddr) << "\n";
 8559     outs() << "   vmaddr " << format("0x%016" PRIx64, vmaddr) << "\n";
 8560     outs() << "   vmsize " << format("0x%016" PRIx64, vmsize) << "\n";
 8560     outs() << "   vmsize " << format("0x%016" PRIx64, vmsize) << "\n";
 8562     outs() << "   vmaddr " << format("0x%08" PRIx64, vmaddr) << "\n";
 8562     outs() << "   vmaddr " << format("0x%08" PRIx64, vmaddr) << "\n";
 8563     outs() << "   vmsize " << format("0x%08" PRIx64, vmsize) << "\n";
 8563     outs() << "   vmsize " << format("0x%08" PRIx64, vmsize) << "\n";
 8565   outs() << "  fileoff " << fileoff;
 8567     outs() << " (past end of file)\n";
 8569     outs() << "\n";
 8570   outs() << " filesize " << filesize;
 8572     outs() << " (past end of file)\n";
 8574     outs() << "\n";
 8579       outs() << "  maxprot ?" << format("0x%08" PRIx32, maxprot) << "\n";
 8579       outs() << "  maxprot ?" << format("0x%08" PRIx32, maxprot) << "\n";
 8581       outs() << "  maxprot ";
 8582       outs() << ((maxprot & MachO::VM_PROT_READ) ? "r" : "-");
 8583       outs() << ((maxprot & MachO::VM_PROT_WRITE) ? "w" : "-");
 8584       outs() << ((maxprot & MachO::VM_PROT_EXECUTE) ? "x\n" : "-\n");
 8589       outs() << " initprot ?" << format("0x%08" PRIx32, initprot) << "\n";
 8589       outs() << " initprot ?" << format("0x%08" PRIx32, initprot) << "\n";
 8591       outs() << " initprot ";
 8592       outs() << ((initprot & MachO::VM_PROT_READ) ? "r" : "-");
 8593       outs() << ((initprot & MachO::VM_PROT_WRITE) ? "w" : "-");
 8594       outs() << ((initprot & MachO::VM_PROT_EXECUTE) ? "x\n" : "-\n");
 8597     outs() << "  maxprot " << format("0x%08" PRIx32, maxprot) << "\n";
 8597     outs() << "  maxprot " << format("0x%08" PRIx32, maxprot) << "\n";
 8598     outs() << " initprot " << format("0x%08" PRIx32, initprot) << "\n";
 8598     outs() << " initprot " << format("0x%08" PRIx32, initprot) << "\n";
 8600   outs() << "   nsects " << nsects << "\n";
 8600   outs() << "   nsects " << nsects << "\n";
 8602     outs() << "    flags";
 8604       outs() << " (none)\n";
 8607         outs() << " HIGHVM";
 8611         outs() << " FVMLIB";
 8615         outs() << " NORELOC";
 8619         outs() << " PROTECTED_VERSION_1";
 8623         outs() << format(" 0x%08" PRIx32, flags) << " (unknown flags)\n";
 8625         outs() << "\n";
 8628     outs() << "    flags " << format("0x%" PRIx32, flags) << "\n";
 8628     outs() << "    flags " << format("0x%" PRIx32, flags) << "\n";
 8639   outs() << "Section\n";
 8640   outs() << "  sectname " << format("%.16s\n", sectname);
 8641   outs() << "   segname " << format("%.16s", segname);
 8643     outs() << " (does not match segment)\n";
 8645     outs() << "\n";
 8647     outs() << "      addr " << format("0x%016" PRIx64, addr) << "\n";
 8647     outs() << "      addr " << format("0x%016" PRIx64, addr) << "\n";
 8648     outs() << "      size " << format("0x%016" PRIx64, size);
 8650     outs() << "      addr " << format("0x%08" PRIx64, addr) << "\n";
 8650     outs() << "      addr " << format("0x%08" PRIx64, addr) << "\n";
 8651     outs() << "      size " << format("0x%08" PRIx64, size);
 8654     outs() << " (past end of file)\n";
 8656     outs() << "\n";
 8657   outs() << "    offset " << offset;
 8659     outs() << " (past end of file)\n";
 8661     outs() << "\n";
 8663   outs() << "     align 2^" << align << " (" << align_shifted << ")\n";
 8663   outs() << "     align 2^" << align << " (" << align_shifted << ")\n";
 8663   outs() << "     align 2^" << align << " (" << align_shifted << ")\n";
 8664   outs() << "    reloff " << reloff;
 8666     outs() << " (past end of file)\n";
 8668     outs() << "\n";
 8669   outs() << "    nreloc " << nreloc;
 8671     outs() << " (past end of file)\n";
 8673     outs() << "\n";
 8676     outs() << "      type";
 8678       outs() << " S_REGULAR\n";
 8680       outs() << " S_ZEROFILL\n";
 8682       outs() << " S_CSTRING_LITERALS\n";
 8684       outs() << " S_4BYTE_LITERALS\n";
 8686       outs() << " S_8BYTE_LITERALS\n";
 8688       outs() << " S_16BYTE_LITERALS\n";
 8690       outs() << " S_LITERAL_POINTERS\n";
 8692       outs() << " S_NON_LAZY_SYMBOL_POINTERS\n";
 8694       outs() << " S_LAZY_SYMBOL_POINTERS\n";
 8696       outs() << " S_SYMBOL_STUBS\n";
 8698       outs() << " S_MOD_INIT_FUNC_POINTERS\n";
 8700       outs() << " S_MOD_TERM_FUNC_POINTERS\n";
 8702       outs() << " S_COALESCED\n";
 8704       outs() << " S_INTERPOSING\n";
 8706       outs() << " S_DTRACE_DOF\n";
 8708       outs() << " S_LAZY_DYLIB_SYMBOL_POINTERS\n";
 8710       outs() << " S_THREAD_LOCAL_REGULAR\n";
 8712       outs() << " S_THREAD_LOCAL_ZEROFILL\n";
 8714       outs() << " S_THREAD_LOCAL_VARIABLES\n";
 8716       outs() << " S_THREAD_LOCAL_VARIABLE_POINTERS\n";
 8718       outs() << " S_THREAD_LOCAL_INIT_FUNCTION_POINTERS\n";
 8720       outs() << format("0x%08" PRIx32, section_type) << "\n";
 8721     outs() << "attributes";
 8724       outs() << " PURE_INSTRUCTIONS";
 8726       outs() << " NO_TOC";
 8728       outs() << " STRIP_STATIC_SYMS";
 8730       outs() << " NO_DEAD_STRIP";
 8732       outs() << " LIVE_SUPPORT";
 8734       outs() << " SELF_MODIFYING_CODE";
 8736       outs() << " DEBUG";
 8738       outs() << " SOME_INSTRUCTIONS";
 8740       outs() << " EXT_RELOC";
 8742       outs() << " LOC_RELOC";
 8744       outs() << " (none)";
 8745     outs() << "\n";
 8747     outs() << "     flags " << format("0x%08" PRIx32, flags) << "\n";
 8747     outs() << "     flags " << format("0x%08" PRIx32, flags) << "\n";
 8748   outs() << " reserved1 " << reserved1;
 8754     outs() << " (index into indirect symbol table)\n";
 8756     outs() << "\n";
 8757   outs() << " reserved2 " << reserved2;
 8759     outs() << " (size of stubs)\n";
 8761     outs() << "\n";
 8766   outs() << "     cmd LC_SYMTAB\n";
 8767   outs() << " cmdsize " << st.cmdsize;
 8769     outs() << " Incorrect size\n";
 8771     outs() << "\n";
 8772   outs() << "  symoff " << st.symoff;
 8774     outs() << " (past end of file)\n";
 8776     outs() << "\n";
 8777   outs() << "   nsyms " << st.nsyms;
 8784       outs() << " (past end of file)\n";
 8786       outs() << "\n";
 8792       outs() << " (past end of file)\n";
 8794       outs() << "\n";
 8796   outs() << "  stroff " << st.stroff;
 8798     outs() << " (past end of file)\n";
 8800     outs() << "\n";
 8801   outs() << " strsize " << st.strsize;
 8805     outs() << " (past end of file)\n";
 8807     outs() << "\n";
 8813   outs() << "            cmd LC_DYSYMTAB\n";
 8814   outs() << "        cmdsize " << dyst.cmdsize;
 8816     outs() << " Incorrect size\n";
 8818     outs() << "\n";
 8819   outs() << "      ilocalsym " << dyst.ilocalsym;
 8821     outs() << " (greater than the number of symbols)\n";
 8823     outs() << "\n";
 8824   outs() << "      nlocalsym " << dyst.nlocalsym;
 8829     outs() << " (past the end of the symbol table)\n";
 8831     outs() << "\n";
 8832   outs() << "     iextdefsym " << dyst.iextdefsym;
 8834     outs() << " (greater than the number of symbols)\n";
 8836     outs() << "\n";
 8837   outs() << "     nextdefsym " << dyst.nextdefsym;
 8841     outs() << " (past the end of the symbol table)\n";
 8843     outs() << "\n";
 8844   outs() << "      iundefsym " << dyst.iundefsym;
 8846     outs() << " (greater than the number of symbols)\n";
 8848     outs() << "\n";
 8849   outs() << "      nundefsym " << dyst.nundefsym;
 8853     outs() << " (past the end of the symbol table)\n";
 8855     outs() << "\n";
 8856   outs() << "         tocoff " << dyst.tocoff;
 8858     outs() << " (past end of file)\n";
 8860     outs() << "\n";
 8861   outs() << "           ntoc " << dyst.ntoc;
 8866     outs() << " (past end of file)\n";
 8868     outs() << "\n";
 8869   outs() << "      modtaboff " << dyst.modtaboff;
 8871     outs() << " (past end of file)\n";
 8873     outs() << "\n";
 8874   outs() << "        nmodtab " << dyst.nmodtab;
 8886     outs() << " (past end of file)\n";
 8888     outs() << "\n";
 8889   outs() << "   extrefsymoff " << dyst.extrefsymoff;
 8891     outs() << " (past end of file)\n";
 8893     outs() << "\n";
 8894   outs() << "    nextrefsyms " << dyst.nextrefsyms;
 8899     outs() << " (past end of file)\n";
 8901     outs() << "\n";
 8902   outs() << " indirectsymoff " << dyst.indirectsymoff;
 8904     outs() << " (past end of file)\n";
 8906     outs() << "\n";
 8907   outs() << "  nindirectsyms " << dyst.nindirectsyms;
 8912     outs() << " (past end of file)\n";
 8914     outs() << "\n";
 8915   outs() << "      extreloff " << dyst.extreloff;
 8917     outs() << " (past end of file)\n";
 8919     outs() << "\n";
 8920   outs() << "        nextrel " << dyst.nextrel;
 8925     outs() << " (past end of file)\n";
 8927     outs() << "\n";
 8928   outs() << "      locreloff " << dyst.locreloff;
 8930     outs() << " (past end of file)\n";
 8932     outs() << "\n";
 8933   outs() << "        nlocrel " << dyst.nlocrel;
 8938     outs() << " (past end of file)\n";
 8940     outs() << "\n";
 8946     outs() << "            cmd LC_DYLD_INFO\n";
 8948     outs() << "            cmd LC_DYLD_INFO_ONLY\n";
 8949   outs() << "        cmdsize " << dc.cmdsize;
 8951     outs() << " Incorrect size\n";
 8953     outs() << "\n";
 8954   outs() << "     rebase_off " << dc.rebase_off;
 8956     outs() << " (past end of file)\n";
 8958     outs() << "\n";
 8959   outs() << "    rebase_size " << dc.rebase_size;
 8964     outs() << " (past end of file)\n";
 8966     outs() << "\n";
 8967   outs() << "       bind_off " << dc.bind_off;
 8969     outs() << " (past end of file)\n";
 8971     outs() << "\n";
 8972   outs() << "      bind_size " << dc.bind_size;
 8976     outs() << " (past end of file)\n";
 8978     outs() << "\n";
 8979   outs() << "  weak_bind_off " << dc.weak_bind_off;
 8981     outs() << " (past end of file)\n";
 8983     outs() << "\n";
 8984   outs() << " weak_bind_size " << dc.weak_bind_size;
 8988     outs() << " (past end of file)\n";
 8990     outs() << "\n";
 8991   outs() << "  lazy_bind_off " << dc.lazy_bind_off;
 8993     outs() << " (past end of file)\n";
 8995     outs() << "\n";
 8996   outs() << " lazy_bind_size " << dc.lazy_bind_size;
 9000     outs() << " (past end of file)\n";
 9002     outs() << "\n";
 9003   outs() << "     export_off " << dc.export_off;
 9005     outs() << " (past end of file)\n";
 9007     outs() << "\n";
 9008   outs() << "    export_size " << dc.export_size;
 9012     outs() << " (past end of file)\n";
 9014     outs() << "\n";
 9020     outs() << "          cmd LC_ID_DYLINKER\n";
 9022     outs() << "          cmd LC_LOAD_DYLINKER\n";
 9024     outs() << "          cmd LC_DYLD_ENVIRONMENT\n";
 9026     outs() << "          cmd ?(" << dyld.cmd << ")\n";
 9026     outs() << "          cmd ?(" << dyld.cmd << ")\n";
 9027   outs() << "      cmdsize " << dyld.cmdsize;
 9029     outs() << " Incorrect size\n";
 9031     outs() << "\n";
 9033     outs() << "         name ?(bad offset " << dyld.name << ")\n";
 9033     outs() << "         name ?(bad offset " << dyld.name << ")\n";
 9036     outs() << "         name " << P << " (offset " << dyld.name << ")\n";
 9036     outs() << "         name " << P << " (offset " << dyld.name << ")\n";
 9036     outs() << "         name " << P << " (offset " << dyld.name << ")\n";
 9036     outs() << "         name " << P << " (offset " << dyld.name << ")\n";
 9041   outs() << "     cmd LC_UUID\n";
 9042   outs() << " cmdsize " << uuid.cmdsize;
 9044     outs() << " Incorrect size\n";
 9046     outs() << "\n";
 9047   outs() << "    uuid ";
 9051       outs() << "-";
 9053   outs() << "\n";
 9057   outs() << "          cmd LC_RPATH\n";
 9058   outs() << "      cmdsize " << rpath.cmdsize;
 9060     outs() << " Incorrect size\n";
 9062     outs() << "\n";
 9064     outs() << "         path ?(bad offset " << rpath.path << ")\n";
 9064     outs() << "         path ?(bad offset " << rpath.path << ")\n";
 9067     outs() << "         path " << P << " (offset " << rpath.path << ")\n";
 9067     outs() << "         path " << P << " (offset " << rpath.path << ")\n";
 9067     outs() << "         path " << P << " (offset " << rpath.path << ")\n";
 9067     outs() << "         path " << P << " (offset " << rpath.path << ")\n";
 9090   outs() << "      cmd " << LoadCmdName << '\n';
 9091   outs() << "  cmdsize " << vd.cmdsize;
 9093     outs() << " Incorrect size\n";
 9095     outs() << "\n";
 9096   outs() << "  version "
 9097          << MachOObjectFile::getVersionMinMajor(vd, false) << "."
 9101     outs() << "." << Update;
 9102   outs() << "\n";
 9104     outs() << "      sdk n/a";
 9106     outs() << "      sdk "
 9107            << MachOObjectFile::getVersionMinMajor(vd, true) << "."
 9112     outs() << "." << Update;
 9113   outs() << "\n";
 9117   outs() << "       cmd LC_NOTE\n";
 9118   outs() << "   cmdsize " << Nt.cmdsize;
 9120     outs() << " Incorrect size\n";
 9122     outs() << "\n";
 9124   outs() << "data_owner " << format("%.16s\n", d);
 9125   outs() << "    offset " << Nt.offset << "\n";
 9125   outs() << "    offset " << Nt.offset << "\n";
 9126   outs() << "      size " << Nt.size << "\n";
 9126   outs() << "      size " << Nt.size << "\n";
 9130   outs() << "      tool " << MachOObjectFile::getBuildTool(bv.tool) << "\n";
 9130   outs() << "      tool " << MachOObjectFile::getBuildTool(bv.tool) << "\n";
 9131   outs() << "   version " << MachOObjectFile::getVersionString(bv.version)
 9132          << "\n";
 9137   outs() << "       cmd LC_BUILD_VERSION\n";
 9138   outs() << "   cmdsize " << bd.cmdsize;
 9142     outs() << " Incorrect size\n";
 9144     outs() << "\n";
 9145   outs() << "  platform " << MachOObjectFile::getBuildPlatform(bd.platform)
 9146          << "\n";
 9148     outs() << "       sdk " << MachOObjectFile::getVersionString(bd.sdk)
 9149            << "\n";
 9151     outs() << "       sdk n/a\n";
 9152   outs() << "     minos " << MachOObjectFile::getVersionString(bd.minos)
 9153          << "\n";
 9154   outs() << "    ntools " << bd.ntools << "\n";
 9154   outs() << "    ntools " << bd.ntools << "\n";
 9162   outs() << "      cmd LC_SOURCE_VERSION\n";
 9163   outs() << "  cmdsize " << sd.cmdsize;
 9165     outs() << " Incorrect size\n";
 9167     outs() << "\n";
 9173   outs() << "  version " << a << "." << b;
 9173   outs() << "  version " << a << "." << b;
 9175     outs() << "." << c << "." << d << "." << e;
 9175     outs() << "." << c << "." << d << "." << e;
 9175     outs() << "." << c << "." << d << "." << e;
 9177     outs() << "." << c << "." << d;
 9177     outs() << "." << c << "." << d;
 9179     outs() << "." << c;
 9180   outs() << "\n";
 9184   outs() << "       cmd LC_MAIN\n";
 9185   outs() << "   cmdsize " << ep.cmdsize;
 9187     outs() << " Incorrect size\n";
 9189     outs() << "\n";
 9190   outs() << "  entryoff " << ep.entryoff << "\n";
 9190   outs() << "  entryoff " << ep.entryoff << "\n";
 9191   outs() << " stacksize " << ep.stacksize << "\n";
 9191   outs() << " stacksize " << ep.stacksize << "\n";
 9196   outs() << "          cmd LC_ENCRYPTION_INFO\n";
 9197   outs() << "      cmdsize " << ec.cmdsize;
 9199     outs() << " Incorrect size\n";
 9201     outs() << "\n";
 9202   outs() << "     cryptoff " << ec.cryptoff;
 9204     outs() << " (past end of file)\n";
 9206     outs() << "\n";
 9207   outs() << "    cryptsize " << ec.cryptsize;
 9209     outs() << " (past end of file)\n";
 9211     outs() << "\n";
 9212   outs() << "      cryptid " << ec.cryptid << "\n";
 9212   outs() << "      cryptid " << ec.cryptid << "\n";
 9217   outs() << "          cmd LC_ENCRYPTION_INFO_64\n";
 9218   outs() << "      cmdsize " << ec.cmdsize;
 9220     outs() << " Incorrect size\n";
 9222     outs() << "\n";
 9223   outs() << "     cryptoff " << ec.cryptoff;
 9225     outs() << " (past end of file)\n";
 9227     outs() << "\n";
 9228   outs() << "    cryptsize " << ec.cryptsize;
 9230     outs() << " (past end of file)\n";
 9232     outs() << "\n";
 9233   outs() << "      cryptid " << ec.cryptid << "\n";
 9233   outs() << "      cryptid " << ec.cryptid << "\n";
 9234   outs() << "          pad " << ec.pad << "\n";
 9234   outs() << "          pad " << ec.pad << "\n";
 9239   outs() << "     cmd LC_LINKER_OPTION\n";
 9240   outs() << " cmdsize " << lo.cmdsize;
 9242     outs() << " Incorrect size\n";
 9244     outs() << "\n";
 9245   outs() << "   count " << lo.count << "\n";
 9245   outs() << "   count " << lo.count << "\n";
 9256       outs() << "  string #" << i << " " << format("%.*s\n", left, string);
 9256       outs() << "  string #" << i << " " << format("%.*s\n", left, string);
 9264     outs() << "   count " << lo.count << " does not match number of strings "
 9264     outs() << "   count " << lo.count << " does not match number of strings "
 9265            << i << "\n";
 9270   outs() << "          cmd LC_SUB_FRAMEWORK\n";
 9271   outs() << "      cmdsize " << sub.cmdsize;
 9273     outs() << " Incorrect size\n";
 9275     outs() << "\n";
 9278     outs() << "     umbrella " << P << " (offset " << sub.umbrella << ")\n";
 9278     outs() << "     umbrella " << P << " (offset " << sub.umbrella << ")\n";
 9278     outs() << "     umbrella " << P << " (offset " << sub.umbrella << ")\n";
 9278     outs() << "     umbrella " << P << " (offset " << sub.umbrella << ")\n";
 9280     outs() << "     umbrella ?(bad offset " << sub.umbrella << ")\n";
 9280     outs() << "     umbrella ?(bad offset " << sub.umbrella << ")\n";
 9286   outs() << "          cmd LC_SUB_UMBRELLA\n";
 9287   outs() << "      cmdsize " << sub.cmdsize;
 9289     outs() << " Incorrect size\n";
 9291     outs() << "\n";
 9294     outs() << " sub_umbrella " << P << " (offset " << sub.sub_umbrella << ")\n";
 9294     outs() << " sub_umbrella " << P << " (offset " << sub.sub_umbrella << ")\n";
 9294     outs() << " sub_umbrella " << P << " (offset " << sub.sub_umbrella << ")\n";
 9294     outs() << " sub_umbrella " << P << " (offset " << sub.sub_umbrella << ")\n";
 9296     outs() << " sub_umbrella ?(bad offset " << sub.sub_umbrella << ")\n";
 9296     outs() << " sub_umbrella ?(bad offset " << sub.sub_umbrella << ")\n";
 9302   outs() << "          cmd LC_SUB_LIBRARY\n";
 9303   outs() << "      cmdsize " << sub.cmdsize;
 9305     outs() << " Incorrect size\n";
 9307     outs() << "\n";
 9310     outs() << "  sub_library " << P << " (offset " << sub.sub_library << ")\n";
 9310     outs() << "  sub_library " << P << " (offset " << sub.sub_library << ")\n";
 9310     outs() << "  sub_library " << P << " (offset " << sub.sub_library << ")\n";
 9310     outs() << "  sub_library " << P << " (offset " << sub.sub_library << ")\n";
 9312     outs() << "  sub_library ?(bad offset " << sub.sub_library << ")\n";
 9312     outs() << "  sub_library ?(bad offset " << sub.sub_library << ")\n";
 9318   outs() << "          cmd LC_SUB_CLIENT\n";
 9319   outs() << "      cmdsize " << sub.cmdsize;
 9321     outs() << " Incorrect size\n";
 9323     outs() << "\n";
 9326     outs() << "       client " << P << " (offset " << sub.client << ")\n";
 9326     outs() << "       client " << P << " (offset " << sub.client << ")\n";
 9326     outs() << "       client " << P << " (offset " << sub.client << ")\n";
 9326     outs() << "       client " << P << " (offset " << sub.client << ")\n";
 9328     outs() << "       client ?(bad offset " << sub.client << ")\n";
 9328     outs() << "       client ?(bad offset " << sub.client << ")\n";
 9333   outs() << "          cmd LC_ROUTINES\n";
 9334   outs() << "      cmdsize " << r.cmdsize;
 9336     outs() << " Incorrect size\n";
 9338     outs() << "\n";
 9339   outs() << " init_address " << format("0x%08" PRIx32, r.init_address) << "\n";
 9339   outs() << " init_address " << format("0x%08" PRIx32, r.init_address) << "\n";
 9340   outs() << "  init_module " << r.init_module << "\n";
 9340   outs() << "  init_module " << r.init_module << "\n";
 9341   outs() << "    reserved1 " << r.reserved1 << "\n";
 9341   outs() << "    reserved1 " << r.reserved1 << "\n";
 9342   outs() << "    reserved2 " << r.reserved2 << "\n";
 9342   outs() << "    reserved2 " << r.reserved2 << "\n";
 9343   outs() << "    reserved3 " << r.reserved3 << "\n";
 9343   outs() << "    reserved3 " << r.reserved3 << "\n";
 9344   outs() << "    reserved4 " << r.reserved4 << "\n";
 9344   outs() << "    reserved4 " << r.reserved4 << "\n";
 9345   outs() << "    reserved5 " << r.reserved5 << "\n";
 9345   outs() << "    reserved5 " << r.reserved5 << "\n";
 9346   outs() << "    reserved6 " << r.reserved6 << "\n";
 9346   outs() << "    reserved6 " << r.reserved6 << "\n";
 9350   outs() << "          cmd LC_ROUTINES_64\n";
 9351   outs() << "      cmdsize " << r.cmdsize;
 9353     outs() << " Incorrect size\n";
 9355     outs() << "\n";
 9356   outs() << " init_address " << format("0x%016" PRIx64, r.init_address) << "\n";
 9356   outs() << " init_address " << format("0x%016" PRIx64, r.init_address) << "\n";
 9357   outs() << "  init_module " << r.init_module << "\n";
 9357   outs() << "  init_module " << r.init_module << "\n";
 9358   outs() << "    reserved1 " << r.reserved1 << "\n";
 9358   outs() << "    reserved1 " << r.reserved1 << "\n";
 9359   outs() << "    reserved2 " << r.reserved2 << "\n";
 9359   outs() << "    reserved2 " << r.reserved2 << "\n";
 9360   outs() << "    reserved3 " << r.reserved3 << "\n";
 9360   outs() << "    reserved3 " << r.reserved3 << "\n";
 9361   outs() << "    reserved4 " << r.reserved4 << "\n";
 9361   outs() << "    reserved4 " << r.reserved4 << "\n";
 9362   outs() << "    reserved5 " << r.reserved5 << "\n";
 9362   outs() << "    reserved5 " << r.reserved5 << "\n";
 9363   outs() << "    reserved6 " << r.reserved6 << "\n";
 9363   outs() << "    reserved6 " << r.reserved6 << "\n";
 9367   outs() << "\t    eax " << format("0x%08" PRIx32, cpu32.eax);
 9368   outs() << " ebx    " << format("0x%08" PRIx32, cpu32.ebx);
 9369   outs() << " ecx " << format("0x%08" PRIx32, cpu32.ecx);
 9370   outs() << " edx " << format("0x%08" PRIx32, cpu32.edx) << "\n";
 9370   outs() << " edx " << format("0x%08" PRIx32, cpu32.edx) << "\n";
 9371   outs() << "\t    edi " << format("0x%08" PRIx32, cpu32.edi);
 9372   outs() << " esi    " << format("0x%08" PRIx32, cpu32.esi);
 9373   outs() << " ebp " << format("0x%08" PRIx32, cpu32.ebp);
 9374   outs() << " esp " << format("0x%08" PRIx32, cpu32.esp) << "\n";
 9374   outs() << " esp " << format("0x%08" PRIx32, cpu32.esp) << "\n";
 9375   outs() << "\t    ss  " << format("0x%08" PRIx32, cpu32.ss);
 9376   outs() << " eflags " << format("0x%08" PRIx32, cpu32.eflags);
 9377   outs() << " eip " << format("0x%08" PRIx32, cpu32.eip);
 9378   outs() << " cs  " << format("0x%08" PRIx32, cpu32.cs) << "\n";
 9378   outs() << " cs  " << format("0x%08" PRIx32, cpu32.cs) << "\n";
 9379   outs() << "\t    ds  " << format("0x%08" PRIx32, cpu32.ds);
 9380   outs() << " es     " << format("0x%08" PRIx32, cpu32.es);
 9381   outs() << " fs  " << format("0x%08" PRIx32, cpu32.fs);
 9382   outs() << " gs  " << format("0x%08" PRIx32, cpu32.gs) << "\n";
 9382   outs() << " gs  " << format("0x%08" PRIx32, cpu32.gs) << "\n";
 9386   outs() << "   rax  " << format("0x%016" PRIx64, cpu64.rax);
 9387   outs() << " rbx " << format("0x%016" PRIx64, cpu64.rbx);
 9388   outs() << " rcx  " << format("0x%016" PRIx64, cpu64.rcx) << "\n";
 9388   outs() << " rcx  " << format("0x%016" PRIx64, cpu64.rcx) << "\n";
 9389   outs() << "   rdx  " << format("0x%016" PRIx64, cpu64.rdx);
 9390   outs() << " rdi " << format("0x%016" PRIx64, cpu64.rdi);
 9391   outs() << " rsi  " << format("0x%016" PRIx64, cpu64.rsi) << "\n";
 9391   outs() << " rsi  " << format("0x%016" PRIx64, cpu64.rsi) << "\n";
 9392   outs() << "   rbp  " << format("0x%016" PRIx64, cpu64.rbp);
 9393   outs() << " rsp " << format("0x%016" PRIx64, cpu64.rsp);
 9394   outs() << " r8   " << format("0x%016" PRIx64, cpu64.r8) << "\n";
 9394   outs() << " r8   " << format("0x%016" PRIx64, cpu64.r8) << "\n";
 9395   outs() << "    r9  " << format("0x%016" PRIx64, cpu64.r9);
 9396   outs() << " r10 " << format("0x%016" PRIx64, cpu64.r10);
 9397   outs() << " r11  " << format("0x%016" PRIx64, cpu64.r11) << "\n";
 9397   outs() << " r11  " << format("0x%016" PRIx64, cpu64.r11) << "\n";
 9398   outs() << "   r12  " << format("0x%016" PRIx64, cpu64.r12);
 9399   outs() << " r13 " << format("0x%016" PRIx64, cpu64.r13);
 9400   outs() << " r14  " << format("0x%016" PRIx64, cpu64.r14) << "\n";
 9400   outs() << " r14  " << format("0x%016" PRIx64, cpu64.r14) << "\n";
 9401   outs() << "   r15  " << format("0x%016" PRIx64, cpu64.r15);
 9402   outs() << " rip " << format("0x%016" PRIx64, cpu64.rip) << "\n";
 9402   outs() << " rip " << format("0x%016" PRIx64, cpu64.rip) << "\n";
 9403   outs() << "rflags  " << format("0x%016" PRIx64, cpu64.rflags);
 9404   outs() << " cs  " << format("0x%016" PRIx64, cpu64.cs);
 9405   outs() << " fs   " << format("0x%016" PRIx64, cpu64.fs) << "\n";
 9405   outs() << " fs   " << format("0x%016" PRIx64, cpu64.fs) << "\n";
 9406   outs() << "    gs  " << format("0x%016" PRIx64, cpu64.gs) << "\n";
 9406   outs() << "    gs  " << format("0x%016" PRIx64, cpu64.gs) << "\n";
 9411   outs() << "\t      mmst_reg  ";
 9413     outs() << format("%02" PRIx32, (r.mmst_reg[f] & 0xff)) << " ";
 9414   outs() << "\n";
 9415   outs() << "\t      mmst_rsrv ";
 9417     outs() << format("%02" PRIx32, (r.mmst_rsrv[f] & 0xff)) << " ";
 9418   outs() << "\n";
 9423   outs() << "\t      xmm_reg ";
 9425     outs() << format("%02" PRIx32, (r.xmm_reg[f] & 0xff)) << " ";
 9426   outs() << "\n";
 9430   outs() << "\t    fpu_reserved[0] " << fpu.fpu_reserved[0];
 9431   outs() << " fpu_reserved[1] " << fpu.fpu_reserved[1] << "\n";
 9431   outs() << " fpu_reserved[1] " << fpu.fpu_reserved[1] << "\n";
 9432   outs() << "\t    control: invalid " << fpu.fpu_fcw.invalid;
 9433   outs() << " denorm " << fpu.fpu_fcw.denorm;
 9434   outs() << " zdiv " << fpu.fpu_fcw.zdiv;
 9435   outs() << " ovrfl " << fpu.fpu_fcw.ovrfl;
 9436   outs() << " undfl " << fpu.fpu_fcw.undfl;
 9437   outs() << " precis " << fpu.fpu_fcw.precis << "\n";
 9437   outs() << " precis " << fpu.fpu_fcw.precis << "\n";
 9438   outs() << "\t\t     pc ";
 9440     outs() << "FP_PREC_24B ";
 9442     outs() << "FP_PREC_53B ";
 9444     outs() << "FP_PREC_64B ";
 9446     outs() << fpu.fpu_fcw.pc << " ";
 9447   outs() << "rc ";
 9449     outs() << "FP_RND_NEAR ";
 9451     outs() << "FP_RND_DOWN ";
 9453     outs() << "FP_RND_UP ";
 9455     outs() << "FP_CHOP ";
 9456   outs() << "\n";
 9457   outs() << "\t    status: invalid " << fpu.fpu_fsw.invalid;
 9458   outs() << " denorm " << fpu.fpu_fsw.denorm;
 9459   outs() << " zdiv " << fpu.fpu_fsw.zdiv;
 9460   outs() << " ovrfl " << fpu.fpu_fsw.ovrfl;
 9461   outs() << " undfl " << fpu.fpu_fsw.undfl;
 9462   outs() << " precis " << fpu.fpu_fsw.precis;
 9463   outs() << " stkflt " << fpu.fpu_fsw.stkflt << "\n";
 9463   outs() << " stkflt " << fpu.fpu_fsw.stkflt << "\n";
 9464   outs() << "\t            errsumm " << fpu.fpu_fsw.errsumm;
 9465   outs() << " c0 " << fpu.fpu_fsw.c0;
 9466   outs() << " c1 " << fpu.fpu_fsw.c1;
 9467   outs() << " c2 " << fpu.fpu_fsw.c2;
 9468   outs() << " tos " << fpu.fpu_fsw.tos;
 9469   outs() << " c3 " << fpu.fpu_fsw.c3;
 9470   outs() << " busy " << fpu.fpu_fsw.busy << "\n";
 9470   outs() << " busy " << fpu.fpu_fsw.busy << "\n";
 9471   outs() << "\t    fpu_ftw " << format("0x%02" PRIx32, fpu.fpu_ftw);
 9472   outs() << " fpu_rsrv1 " << format("0x%02" PRIx32, fpu.fpu_rsrv1);
 9473   outs() << " fpu_fop " << format("0x%04" PRIx32, fpu.fpu_fop);
 9474   outs() << " fpu_ip " << format("0x%08" PRIx32, fpu.fpu_ip) << "\n";
 9474   outs() << " fpu_ip " << format("0x%08" PRIx32, fpu.fpu_ip) << "\n";
 9475   outs() << "\t    fpu_cs " << format("0x%04" PRIx32, fpu.fpu_cs);
 9476   outs() << " fpu_rsrv2 " << format("0x%04" PRIx32, fpu.fpu_rsrv2);
 9477   outs() << " fpu_dp " << format("0x%08" PRIx32, fpu.fpu_dp);
 9478   outs() << " fpu_ds " << format("0x%04" PRIx32, fpu.fpu_ds) << "\n";
 9478   outs() << " fpu_ds " << format("0x%04" PRIx32, fpu.fpu_ds) << "\n";
 9479   outs() << "\t    fpu_rsrv3 " << format("0x%04" PRIx32, fpu.fpu_rsrv3);
 9480   outs() << " fpu_mxcsr " << format("0x%08" PRIx32, fpu.fpu_mxcsr);
 9481   outs() << " fpu_mxcsrmask " << format("0x%08" PRIx32, fpu.fpu_mxcsrmask);
 9482   outs() << "\n";
 9483   outs() << "\t    fpu_stmm0:\n";
 9485   outs() << "\t    fpu_stmm1:\n";
 9487   outs() << "\t    fpu_stmm2:\n";
 9489   outs() << "\t    fpu_stmm3:\n";
 9491   outs() << "\t    fpu_stmm4:\n";
 9493   outs() << "\t    fpu_stmm5:\n";
 9495   outs() << "\t    fpu_stmm6:\n";
 9497   outs() << "\t    fpu_stmm7:\n";
 9499   outs() << "\t    fpu_xmm0:\n";
 9501   outs() << "\t    fpu_xmm1:\n";
 9503   outs() << "\t    fpu_xmm2:\n";
 9505   outs() << "\t    fpu_xmm3:\n";
 9507   outs() << "\t    fpu_xmm4:\n";
 9509   outs() << "\t    fpu_xmm5:\n";
 9511   outs() << "\t    fpu_xmm6:\n";
 9513   outs() << "\t    fpu_xmm7:\n";
 9515   outs() << "\t    fpu_xmm8:\n";
 9517   outs() << "\t    fpu_xmm9:\n";
 9519   outs() << "\t    fpu_xmm10:\n";
 9521   outs() << "\t    fpu_xmm11:\n";
 9523   outs() << "\t    fpu_xmm12:\n";
 9525   outs() << "\t    fpu_xmm13:\n";
 9527   outs() << "\t    fpu_xmm14:\n";
 9529   outs() << "\t    fpu_xmm15:\n";
 9531   outs() << "\t    fpu_rsrv4:\n";
 9533     outs() << "\t            ";
 9535       outs() << format("%02" PRIx32, fpu.fpu_rsrv4[f * g]) << " ";
 9536     outs() << "\n";
 9538   outs() << "\t    fpu_reserved1 " << format("0x%08" PRIx32, fpu.fpu_reserved1);
 9539   outs() << "\n";
 9543   outs() << "\t    trapno " << format("0x%08" PRIx32, exc64.trapno);
 9544   outs() << " err " << format("0x%08" PRIx32, exc64.err);
 9545   outs() << " faultvaddr " << format("0x%016" PRIx64, exc64.faultvaddr) << "\n";
 9545   outs() << " faultvaddr " << format("0x%016" PRIx64, exc64.faultvaddr) << "\n";
 9549   outs() << "\t    r0  " << format("0x%08" PRIx32, cpu32.r[0]);
 9550   outs() << " r1     "   << format("0x%08" PRIx32, cpu32.r[1]);
 9551   outs() << " r2  "      << format("0x%08" PRIx32, cpu32.r[2]);
 9552   outs() << " r3  "      << format("0x%08" PRIx32, cpu32.r[3]) << "\n";
 9552   outs() << " r3  "      << format("0x%08" PRIx32, cpu32.r[3]) << "\n";
 9553   outs() << "\t    r4  " << format("0x%08" PRIx32, cpu32.r[4]);
 9554   outs() << " r5     "   << format("0x%08" PRIx32, cpu32.r[5]);
 9555   outs() << " r6  "      << format("0x%08" PRIx32, cpu32.r[6]);
 9556   outs() << " r7  "      << format("0x%08" PRIx32, cpu32.r[7]) << "\n";
 9556   outs() << " r7  "      << format("0x%08" PRIx32, cpu32.r[7]) << "\n";
 9557   outs() << "\t    r8  " << format("0x%08" PRIx32, cpu32.r[8]);
 9558   outs() << " r9     "   << format("0x%08" PRIx32, cpu32.r[9]);
 9559   outs() << " r10 "      << format("0x%08" PRIx32, cpu32.r[10]);
 9560   outs() << " r11 "      << format("0x%08" PRIx32, cpu32.r[11]) << "\n";
 9560   outs() << " r11 "      << format("0x%08" PRIx32, cpu32.r[11]) << "\n";
 9561   outs() << "\t    r12 " << format("0x%08" PRIx32, cpu32.r[12]);
 9562   outs() << " sp     "   << format("0x%08" PRIx32, cpu32.sp);
 9563   outs() << " lr  "      << format("0x%08" PRIx32, cpu32.lr);
 9564   outs() << " pc  "      << format("0x%08" PRIx32, cpu32.pc) << "\n";
 9564   outs() << " pc  "      << format("0x%08" PRIx32, cpu32.pc) << "\n";
 9565   outs() << "\t   cpsr " << format("0x%08" PRIx32, cpu32.cpsr) << "\n";
 9565   outs() << "\t   cpsr " << format("0x%08" PRIx32, cpu32.cpsr) << "\n";
 9569   outs() << "\t    x0  " << format("0x%016" PRIx64, cpu64.x[0]);
 9570   outs() << " x1  "      << format("0x%016" PRIx64, cpu64.x[1]);
 9571   outs() << " x2  "      << format("0x%016" PRIx64, cpu64.x[2]) << "\n";
 9571   outs() << " x2  "      << format("0x%016" PRIx64, cpu64.x[2]) << "\n";
 9572   outs() << "\t    x3  " << format("0x%016" PRIx64, cpu64.x[3]);
 9573   outs() << " x4  "      << format("0x%016" PRIx64, cpu64.x[4]);
 9574   outs() << " x5  "      << format("0x%016" PRIx64, cpu64.x[5]) << "\n";
 9574   outs() << " x5  "      << format("0x%016" PRIx64, cpu64.x[5]) << "\n";
 9575   outs() << "\t    x6  " << format("0x%016" PRIx64, cpu64.x[6]);
 9576   outs() << " x7  "      << format("0x%016" PRIx64, cpu64.x[7]);
 9577   outs() << " x8  "      << format("0x%016" PRIx64, cpu64.x[8]) << "\n";
 9577   outs() << " x8  "      << format("0x%016" PRIx64, cpu64.x[8]) << "\n";
 9578   outs() << "\t    x9  " << format("0x%016" PRIx64, cpu64.x[9]);
 9579   outs() << " x10 "      << format("0x%016" PRIx64, cpu64.x[10]);
 9580   outs() << " x11 "      << format("0x%016" PRIx64, cpu64.x[11]) << "\n";
 9580   outs() << " x11 "      << format("0x%016" PRIx64, cpu64.x[11]) << "\n";
 9581   outs() << "\t    x12 " << format("0x%016" PRIx64, cpu64.x[12]);
 9582   outs() << " x13 "      << format("0x%016" PRIx64, cpu64.x[13]);
 9583   outs() << " x14 "      << format("0x%016" PRIx64, cpu64.x[14]) << "\n";
 9583   outs() << " x14 "      << format("0x%016" PRIx64, cpu64.x[14]) << "\n";
 9584   outs() << "\t    x15 " << format("0x%016" PRIx64, cpu64.x[15]);
 9585   outs() << " x16 "      << format("0x%016" PRIx64, cpu64.x[16]);
 9586   outs() << " x17 "      << format("0x%016" PRIx64, cpu64.x[17]) << "\n";
 9586   outs() << " x17 "      << format("0x%016" PRIx64, cpu64.x[17]) << "\n";
 9587   outs() << "\t    x18 " << format("0x%016" PRIx64, cpu64.x[18]);
 9588   outs() << " x19 "      << format("0x%016" PRIx64, cpu64.x[19]);
 9589   outs() << " x20 "      << format("0x%016" PRIx64, cpu64.x[20]) << "\n";
 9589   outs() << " x20 "      << format("0x%016" PRIx64, cpu64.x[20]) << "\n";
 9590   outs() << "\t    x21 " << format("0x%016" PRIx64, cpu64.x[21]);
 9591   outs() << " x22 "      << format("0x%016" PRIx64, cpu64.x[22]);
 9592   outs() << " x23 "      << format("0x%016" PRIx64, cpu64.x[23]) << "\n";
 9592   outs() << " x23 "      << format("0x%016" PRIx64, cpu64.x[23]) << "\n";
 9593   outs() << "\t    x24 " << format("0x%016" PRIx64, cpu64.x[24]);
 9594   outs() << " x25 "      << format("0x%016" PRIx64, cpu64.x[25]);
 9595   outs() << " x26 "      << format("0x%016" PRIx64, cpu64.x[26]) << "\n";
 9595   outs() << " x26 "      << format("0x%016" PRIx64, cpu64.x[26]) << "\n";
 9596   outs() << "\t    x27 " << format("0x%016" PRIx64, cpu64.x[27]);
 9597   outs() << " x28 "      << format("0x%016" PRIx64, cpu64.x[28]);
 9598   outs() << "  fp "      << format("0x%016" PRIx64, cpu64.fp) << "\n";
 9598   outs() << "  fp "      << format("0x%016" PRIx64, cpu64.fp) << "\n";
 9599   outs() << "\t     lr " << format("0x%016" PRIx64, cpu64.lr);
 9600   outs() << " sp  "      << format("0x%016" PRIx64, cpu64.sp);
 9601   outs() << "  pc "      << format("0x%016" PRIx64, cpu64.pc) << "\n";
 9601   outs() << "  pc "      << format("0x%016" PRIx64, cpu64.pc) << "\n";
 9602   outs() << "\t   cpsr " << format("0x%08"  PRIx32, cpu64.cpsr) << "\n";
 9602   outs() << "\t   cpsr " << format("0x%08"  PRIx32, cpu64.cpsr) << "\n";
 9608     outs() << "        cmd LC_THREAD\n";
 9610     outs() << "        cmd LC_UNIXTHREAD\n";
 9612     outs() << "        cmd " << t.cmd << " (unknown)\n";
 9612     outs() << "        cmd " << t.cmd << " (unknown)\n";
 9613   outs() << "    cmdsize " << t.cmdsize;
 9615     outs() << " Incorrect size\n";
 9617     outs() << "\n";
 9643         outs() << "     flavor i386_THREAD_STATE\n";
 9645           outs() << "      count i386_THREAD_STATE_COUNT\n";
 9647           outs() << "      count " << count
 9648                  << " (not x86_THREAD_STATE32_COUNT)\n";
 9663         outs() << "     flavor x86_THREAD_STATE\n";
 9665           outs() << "      count x86_THREAD_STATE_COUNT\n";
 9667           outs() << "      count " << count
 9668                  << " (not x86_THREAD_STATE_COUNT)\n";
 9682           outs() << "\t    tsh.flavor x86_THREAD_STATE32 ";
 9684             outs() << "tsh.count x86_THREAD_STATE32_COUNT\n";
 9686             outs() << "tsh.count " << ts.tsh.count
 9687                    << " (not x86_THREAD_STATE32_COUNT\n";
 9690           outs() << "\t    tsh.flavor " << ts.tsh.flavor << "  tsh.count "
 9690           outs() << "\t    tsh.flavor " << ts.tsh.flavor << "  tsh.count "
 9691                  << ts.tsh.count << "\n";
 9694         outs() << "     flavor " << flavor << " (unknown)\n";
 9694         outs() << "     flavor " << flavor << " (unknown)\n";
 9695         outs() << "      count " << count << "\n";
 9695         outs() << "      count " << count << "\n";
 9696         outs() << "      state (unknown)\n";
 9721         outs() << "     flavor x86_THREAD_STATE64\n";
 9723           outs() << "      count x86_THREAD_STATE64_COUNT\n";
 9725           outs() << "      count " << count
 9726                  << " (not x86_THREAD_STATE64_COUNT)\n";
 9741         outs() << "     flavor x86_THREAD_STATE\n";
 9743           outs() << "      count x86_THREAD_STATE_COUNT\n";
 9745           outs() << "      count " << count
 9746                  << " (not x86_THREAD_STATE_COUNT)\n";
 9760           outs() << "\t    tsh.flavor x86_THREAD_STATE64 ";
 9762             outs() << "tsh.count x86_THREAD_STATE64_COUNT\n";
 9764             outs() << "tsh.count " << ts.tsh.count
 9765                    << " (not x86_THREAD_STATE64_COUNT\n";
 9768           outs() << "\t    tsh.flavor " << ts.tsh.flavor << "  tsh.count "
 9768           outs() << "\t    tsh.flavor " << ts.tsh.flavor << "  tsh.count "
 9769                  << ts.tsh.count << "\n";
 9772         outs() << "     flavor x86_FLOAT_STATE\n";
 9774           outs() << "      count x86_FLOAT_STATE_COUNT\n";
 9776           outs() << "      count " << count << " (not x86_FLOAT_STATE_COUNT)\n";
 9776           outs() << "      count " << count << " (not x86_FLOAT_STATE_COUNT)\n";
 9790           outs() << "\t    fsh.flavor x86_FLOAT_STATE64 ";
 9792             outs() << "fsh.count x86_FLOAT_STATE64_COUNT\n";
 9794             outs() << "fsh.count " << fs.fsh.count
 9795                    << " (not x86_FLOAT_STATE64_COUNT\n";
 9798           outs() << "\t    fsh.flavor " << fs.fsh.flavor << "  fsh.count "
 9798           outs() << "\t    fsh.flavor " << fs.fsh.flavor << "  fsh.count "
 9799                  << fs.fsh.count << "\n";
 9802         outs() << "     flavor x86_EXCEPTION_STATE\n";
 9804           outs() << "      count x86_EXCEPTION_STATE_COUNT\n";
 9806           outs() << "      count " << count
 9807                  << " (not x86_EXCEPTION_STATE_COUNT)\n";
 9821           outs() << "\t    esh.flavor x86_EXCEPTION_STATE64\n";
 9823             outs() << "\t    esh.count x86_EXCEPTION_STATE64_COUNT\n";
 9825             outs() << "\t    esh.count " << es.esh.count
 9826                    << " (not x86_EXCEPTION_STATE64_COUNT\n";
 9829           outs() << "\t    esh.flavor " << es.esh.flavor << "  esh.count "
 9829           outs() << "\t    esh.flavor " << es.esh.flavor << "  esh.count "
 9830                  << es.esh.count << "\n";
 9833         outs() << "     flavor x86_EXCEPTION_STATE64\n";
 9835           outs() << "      count x86_EXCEPTION_STATE64_COUNT\n";
 9837           outs() << "      count " << count
 9838                  << " (not x86_EXCEPTION_STATE64_COUNT)\n";
 9853         outs() << "     flavor " << flavor << " (unknown)\n";
 9853         outs() << "     flavor " << flavor << " (unknown)\n";
 9854         outs() << "      count " << count << "\n";
 9854         outs() << "      count " << count << "\n";
 9855         outs() << "      state (unknown)\n";
 9880         outs() << "     flavor ARM_THREAD_STATE\n";
 9882           outs() << "      count ARM_THREAD_STATE_COUNT\n";
 9884           outs() << "      count " << count
 9885                  << " (not ARM_THREAD_STATE_COUNT)\n";
 9900         outs() << "     flavor " << flavor << " (unknown)\n";
 9900         outs() << "     flavor " << flavor << " (unknown)\n";
 9901         outs() << "      count " << count << "\n";
 9901         outs() << "      count " << count << "\n";
 9902         outs() << "      state (unknown)\n";
 9928         outs() << "     flavor ARM_THREAD_STATE64\n";
 9930           outs() << "      count ARM_THREAD_STATE64_COUNT\n";
 9932           outs() << "      count " << count
 9933                  << " (not ARM_THREAD_STATE64_COUNT)\n";
 9948         outs() << "     flavor " << flavor << " (unknown)\n";
 9948         outs() << "     flavor " << flavor << " (unknown)\n";
 9949         outs() << "      count " << count << "\n";
 9949         outs() << "      count " << count << "\n";
 9950         outs() << "      state (unknown)\n";
 9974       outs() << "     flavor " << flavor << "\n";
 9974       outs() << "     flavor " << flavor << "\n";
 9975       outs() << "      count " << count << "\n";
 9975       outs() << "      count " << count << "\n";
 9976       outs() << "      state (Unknown cputype/cpusubtype)\n";
 9984     outs() << "          cmd LC_ID_DYLIB\n";
 9986     outs() << "          cmd LC_LOAD_DYLIB\n";
 9988     outs() << "          cmd LC_LOAD_WEAK_DYLIB\n";
 9990     outs() << "          cmd LC_REEXPORT_DYLIB\n";
 9992     outs() << "          cmd LC_LAZY_LOAD_DYLIB\n";
 9994     outs() << "          cmd LC_LOAD_UPWARD_DYLIB\n";
 9996     outs() << "          cmd " << dl.cmd << " (unknown)\n";
 9996     outs() << "          cmd " << dl.cmd << " (unknown)\n";
 9997   outs() << "      cmdsize " << dl.cmdsize;
 9999     outs() << " Incorrect size\n";
10001     outs() << "\n";
10004     outs() << "         name " << P << " (offset " << dl.dylib.name << ")\n";
10004     outs() << "         name " << P << " (offset " << dl.dylib.name << ")\n";
10004     outs() << "         name " << P << " (offset " << dl.dylib.name << ")\n";
10004     outs() << "         name " << P << " (offset " << dl.dylib.name << ")\n";
10006     outs() << "         name ?(bad offset " << dl.dylib.name << ")\n";
10006     outs() << "         name ?(bad offset " << dl.dylib.name << ")\n";
10008   outs() << "   time stamp " << dl.dylib.timestamp << " ";
10008   outs() << "   time stamp " << dl.dylib.timestamp << " ";
10010   outs() << ctime(&t);
10011   outs() << "      current version ";
10013     outs() << "n/a\n";
10015     outs() << ((dl.dylib.current_version >> 16) & 0xffff) << "."
10016            << ((dl.dylib.current_version >> 8) & 0xff) << "."
10017            << (dl.dylib.current_version & 0xff) << "\n";
10018   outs() << "compatibility version ";
10020     outs() << "n/a\n";
10022     outs() << ((dl.dylib.compatibility_version >> 16) & 0xffff) << "."
10023            << ((dl.dylib.compatibility_version >> 8) & 0xff) << "."
10024            << (dl.dylib.compatibility_version & 0xff) << "\n";
10030     outs() << "      cmd LC_CODE_SIGNATURE\n";
10032     outs() << "      cmd LC_SEGMENT_SPLIT_INFO\n";
10034     outs() << "      cmd LC_FUNCTION_STARTS\n";
10036     outs() << "      cmd LC_DATA_IN_CODE\n";
10038     outs() << "      cmd LC_DYLIB_CODE_SIGN_DRS\n";
10040     outs() << "      cmd LC_LINKER_OPTIMIZATION_HINT\n";
10042     outs() << "      cmd " << ld.cmd << " (?)\n";
10042     outs() << "      cmd " << ld.cmd << " (?)\n";
10043   outs() << "  cmdsize " << ld.cmdsize;
10045     outs() << " Incorrect size\n";
10047     outs() << "\n";
10048   outs() << "  dataoff " << ld.dataoff;
10050     outs() << " (past end of file)\n";
10052     outs() << "\n";
10053   outs() << " datasize " << ld.datasize;
10057     outs() << " (past end of file)\n";
10059     outs() << "\n";
10067     outs() << "Load command " << Index++ << "\n";
10067     outs() << "Load command " << Index++ << "\n";
10189       outs() << "      cmd ?(" << format("0x%08" PRIx32, Command.C.cmd)
10190              << ")\n";
10191       outs() << "  cmdsize " << Command.C.cmdsize << "\n";
10191       outs() << "  cmdsize " << Command.C.cmdsize << "\n";
10267       outs() << "[re-export] ";
10274       outs() << " [";
10276         outs() << "weak_def";
10281           outs() << ", ";
10282         outs() << "per-thread";
10287           outs() << ", ";
10288         outs() << "absolute";
10293           outs() << ", ";
10297       outs() << "]";
10304         outs() << " (from " << DylibName << ")";
10304         outs() << " (from " << DylibName << ")";
10306         outs() << " (" << Entry.otherName() << " from " << DylibName << ")";
10306         outs() << " (" << Entry.otherName() << " from " << DylibName << ")";
10306         outs() << " (" << Entry.otherName() << " from " << DylibName << ")";
10308     outs() << "\n";
10319   outs() << "segment  section            address     type\n";
10362   outs() << "segment  section            address    type       "
10375     outs() << left_justify(SegmentName, 8) << " "
10376            << left_justify(SectionName, 18) << " "
10377            << format_hex(Address, 10, true) << " "
10378            << left_justify(Entry.typeName(), 8) << " "
10379            << format_decimal(Entry.addend(), 8) << " "
10380            << left_justify(ordinalName(Obj, Entry.ordinal()), 16) << " "
10381            << Entry.symbolName() << Attr << "\n";
10392   outs() << "segment  section            address     "
10402     outs() << left_justify(SegmentName, 8) << " "
10403            << left_justify(SectionName, 18) << " "
10404            << format_hex(Address, 10, true) << " "
10405            << left_justify(ordinalName(Obj, Entry.ordinal()), 16) << " "
10406            << Entry.symbolName() << "\n";
10417   outs() << "segment  section            address     "
10423       outs() << "                                        strong              "
10424              << Entry.symbolName() << "\n";
10433     outs() << left_justify(SegmentName, 8) << " "
10434            << left_justify(SectionName, 18) << " "
10435            << format_hex(Address, 10, true) << " "
10436            << left_justify(Entry.typeName(), 8) << " "
10437            << format_decimal(Entry.addend(), 8) << "   " << Entry.symbolName()
10438            << "\n";
10467   outs() << "Lazy bind table:\n";
10472         << "This operation is only currently supported "
10477   outs() << "Weak bind table:\n";
10482         << "This operation is only currently supported "
10487   outs() << "Exports trie:\n";
10492         << "This operation is only currently supported "
10497   outs() << "Rebase table:\n";
10502         << "This operation is only currently supported "
10507   outs() << "Bind table:\n";
10512         << "This operation is only currently supported "
tools/llvm-objdump/WasmDump.cpp
   23   outs() << "Program Header:\n";
   24   outs() << "Version: 0x";
   26   outs() << "\n";
   47   Fmt << (Rel.Addend < 0 ? "" : "+") << Rel.Addend;
tools/llvm-objdump/llvm-objdump.cpp
  412       << "'" << File << "': " << Message << "\n";
  412       << "'" << File << "': " << Message << "\n";
  412       << "'" << File << "': " << Message << "\n";
  417   WithColor::error(errs(), ToolName) << "'" << File << "': " << Message << "\n";
  417   WithColor::error(errs(), ToolName) << "'" << File << "': " << Message << "\n";
  417   WithColor::error(errs(), ToolName) << "'" << File << "': " << Message << "\n";
  427     errs() << ArchiveName << "(" << FileName << ")";
  427     errs() << ArchiveName << "(" << FileName << ")";
  429     errs() << "'" << FileName << "'";
  429     errs() << "'" << FileName << "'";
  431     errs() << " (for architecture " << ArchitectureName << ")";
  431     errs() << " (for architecture " << ArchitectureName << ")";
  436   errs() << ": " << Buf;
  441   WithColor::warning(errs(), ToolName) << Message << "\n";
  445   WithColor::error(errs(), ToolName) << Message << "\n";
  637     OS << Delimiter << LineInfo.FileName << ":" << LineInfo.Line << "\n";
  637     OS << Delimiter << LineInfo.FileName << ":" << LineInfo.Line << "\n";
  681   outs() << format(Fmt.data(), Address) << Name << "\t" << Val << "\n";
  681   outs() << format(Fmt.data(), Address) << Name << "\t" << Val << "\n";
  713       OS << "\t<unknown>";
  727       OS << "\t";
  741       OS << " <unknown>";
  772       OS << Separator;
  777       OS << Preamble;
  783         OS << "; ";
  791         OS << " } " << PacketBundle.second;
  847       OS << " // " << Annot;
  864       OS << "\t";
  870       OS << "\t<unknown>";
 1054     outs() << "\t";
 1057       outs() << "\t.word\t"
 1063       outs() << "\t\t.short\t"
 1069       outs() << "\t\t.byte\t" << format_hex(Bytes[0], 4);
 1072     outs() << "\n";
 1105       outs() << std::string(IndentOffset, ' ') << "         ";
 1106       outs() << reinterpret_cast<char *>(AsciiData);
 1306         outs() << "\nDisassembly of section ";
 1308           outs() << SegmentName << ",";
 1309         outs() << SectionName << ":\n";
 1334       outs() << SymbolName << ":\n";
 1339         outs() << "...\n";
 1396             outs() << "\t\t..." << '\n';
 1476               outs() << " <" << TargetName;
 1479                 outs() << "+0x" << Twine::utohexstr(Disp);
 1484         outs() << "\n";
 1635     outs() << "RELOCATION RECORDS FOR [" << SecName << "]:\n";
 1635     outs() << "RELOCATION RECORDS FOR [" << SecName << "]:\n";
 1648         outs() << format(Fmt.data(), Address) << " " << RelocName << " "
 1648         outs() << format(Fmt.data(), Address) << " " << RelocName << " "
 1649                << ValueStr << "\n";
 1652     outs() << "\n";
 1671   outs() << "DYNAMIC RELOCATION RECORDS\n";
 1681       outs() << format(Fmt.data(), Address) << " " << RelocName << " "
 1681       outs() << format(Fmt.data(), Address) << " " << RelocName << " "
 1682              << ValueStr << "\n";
 1713     outs() << "Sections:\n"
 1715            << left_justify("Name", NameWidth) << " Size     "
 1716            << left_justify("VMA", AddressWidth) << " "
 1717            << left_justify("LMA", AddressWidth) << " Type\n";
 1719     outs() << "Sections:\n"
 1721            << left_justify("Name", NameWidth) << " Size     "
 1722            << left_justify("VMA", AddressWidth) << " Type\n";
 1742              << format_hex_no_prefix(VMA, AddressWidth) << " "
 1744              << " " << Type << "\n";
 1744              << " " << Type << "\n";
 1748              << format_hex_no_prefix(VMA, AddressWidth) << " " << Type << "\n";
 1748              << format_hex_no_prefix(VMA, AddressWidth) << " " << Type << "\n";
 1750   outs() << "\n";
 1761     outs() << "Contents of section " << Name << ":\n";
 1761     outs() << "Contents of section " << Name << ":\n";
 1782           outs() << "  ";
 1785       outs() << "  ";
 1790           outs() << ".";
 1792       outs() << "\n";
 1799   outs() << "SYMBOL TABLE:\n";
 1852     outs() << format(Fmt, Address) << " "
 1862       outs() << "*ABS*";
 1864       outs() << "*COM*";
 1866       outs() << "*UND*";
 1872         outs() << SegmentName << ",";
 1891         outs() << " .internal";
 1894         outs() << " .hidden";
 1897         outs() << " .protected";
 1904       outs() << " .hidden";
 1915   outs() << "Unwind info:\n\n";
 1924         << "This operation is only currently supported "
 1933         << "The -raw-clang-ast option will dump the raw binary contents of "
 1975         << "This operation is only currently supported "
 1995   outs() << "FaultMap table:\n";
 1998     outs() << "<not found>\n";
 2035   outs() << "architecture: " << Triple::getArchTypeName(AT) << "\n";
 2035   outs() << "architecture: " << Triple::getArchTypeName(AT) << "\n";
 2039   outs() << "start address: "
 2040          << "0x" << format(Fmt.data(), Address) << "\n\n";
 2040          << "0x" << format(Fmt.data(), Address) << "\n\n";
 2046     WithColor::error(errs(), ToolName) << "ill-formed archive entry.\n";
 2051   outs() << ((Mode & sys::fs::owner_read) ? "r" : "-");
 2052   outs() << ((Mode & sys::fs::owner_write) ? "w" : "-");
 2053   outs() << ((Mode & sys::fs::owner_exe) ? "x" : "-");
 2054   outs() << ((Mode & sys::fs::group_read) ? "r" : "-");
 2055   outs() << ((Mode & sys::fs::group_write) ? "w" : "-");
 2056   outs() << ((Mode & sys::fs::group_exe) ? "x" : "-");
 2057   outs() << ((Mode & sys::fs::others_read) ? "r" : "-");
 2058   outs() << ((Mode & sys::fs::others_write) ? "w" : "-");
 2059   outs() << ((Mode & sys::fs::others_exe) ? "x" : "-");
 2061   outs() << " ";
 2070     outs() << "(date: \"" << RawLastModified
 2071            << "\" contains non-decimal chars) ";
 2088   outs() << Name << "\n";
 2134       outs() << A->getFileName() << "(" << O->getFileName() << ")";
 2134       outs() << A->getFileName() << "(" << O->getFileName() << ")";
 2137     outs() << ":\tfile format " << O->getFileFormatName() << "\n\n";
 2137     outs() << ":\tfile format " << O->getFileFormatName() << "\n\n";
 2199            << ArchiveName << "(" << I->getFileName() << ")"
 2199            << ArchiveName << "(" << I->getFileName() << ")"
 2200            << ":\tfile format COFF-import-file"
 2201            << "\n\n";
tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
   61     errs() << "error: mutator input module is broken!\n";
   68     errs() << "mutation result doesn't pass verification\n";
   93     errs() << "mutator failed to re-read the module\n";
  117     errs() << "error: input module is broken!\n";
  158     errs() << "Transformation resulted in an invalid module\n";
  167   dbgs() << "LLVM ERROR: " << Message << "\n"
  167   dbgs() << "LLVM ERROR: " << Message << "\n"
  168          << "Aborting to trigger fuzzer exit handling.\n";
  209     errs() << *argv[0] << ": -mtriple must be specified\n";
  209     errs() << *argv[0] << ": -mtriple must be specified\n";
  218     errs() << *argv[0] << ": " << Error;
  218     errs() << *argv[0] << ": " << Error;
  232     errs() << *argv[0] << ": at least one pass should be specified\n";
  232     errs() << *argv[0] << ": at least one pass should be specified\n";
  239     errs() << *argv[0] << ": " << toString(std::move(Err)) << "\n";
  239     errs() << *argv[0] << ": " << toString(std::move(Err)) << "\n";
  239     errs() << *argv[0] << ": " << toString(std::move(Err)) << "\n";
tools/llvm-opt-report/OptReport.cpp
  152     WithColor::error() << "Can't open file " << InputFileName << ": "
  152     WithColor::error() << "Can't open file " << InputFileName << ": "
  153                        << EC.message() << "\n";
  249     WithColor::error() << "Can't open file " << OutputFileName << ": "
  249     WithColor::error() << "Can't open file " << OutputFileName << ": "
  250                        << EC.message() << "\n";
  265       WithColor::error() << "Can't open file " << FileName << ": "
  265       WithColor::error() << "Can't open file " << FileName << ": "
  266                          << EC.message() << "\n";
  273       OS << "\n";
  275     OS << "< " << FileName << "\n";
  275     OS << "< " << FileName << "\n";
  325           OS << "  > ";
  332               OS << ", ";
  340                 OS << Demangled;
  352           OS << ":\n";
  384             RS << LLI.VectorizationFactor << "," << LLI.InterleaveCount;
  391         OS << llvm::format_decimal(L, LNDigits) << " ";
  392         OS << (LLI.Inlined.Transformed && InlinedCols < 2 ? "I" :
  399         OS << " | " << *LI << "\n";
  399         OS << " | " << *LI << "\n";
  406             OS << (J.second.Inlined.Transformed &&
  415             OS << " | " << std::string(J.first - 1, ' ') << "^\n";
  415             OS << " | " << std::string(J.first - 1, ' ') << "^\n";
  443         OS << " [[\n";
  446         OS << " ]]\n";
tools/llvm-pdbutil/LinePrinter.cpp
   83   OS << "\n";
  105   OS << Label << " (";
  107     OS << "\n";
  112   OS << ")";
  118   OS << Label << " (";
  120     OS << "\n";
  126   OS << ")";
  220   OS << Label << " (";
  222     OS << "\n";
  243   OS << ")";
  263     OS << ")";
tools/llvm-pdbutil/LinePrinter.h
  135   return Printer.getStream() << Item;
tools/llvm-pdbutil/PrettyBuiltinDumper.cpp
   22     WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
   24     WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
tools/llvm-pdbutil/PrettyClassDefinitionDumper.cpp
   54     WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
   56     WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
   58     WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned ";
   60   WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " ";
   62   WithColor(Printer, PDB_ColorItem::Comment).get() << " [sizeof = " << Size
   63                                                    << "]";
   74       Printer << NextSeparator << " ";
   77         WithColor(Printer, PDB_ColorItem::Keyword).get() << " virtual";
   79       WithColor(Printer, PDB_ColorItem::Type).get() << " " << Base.getName();
  102         << "Total padding " << Layout.deepPaddingSize() << " bytes (" << PctStr
  102         << "Total padding " << Layout.deepPaddingSize() << " bytes (" << PctStr
  103         << "% of class size)";
  110         << "Immediate padding " << Layout.immediatePadding() << " bytes ("
  110         << "Immediate padding " << Layout.immediatePadding() << " bytes ("
  111         << PctStr << "% of class size)";
tools/llvm-pdbutil/PrettyClassLayoutGraphicalDumper.cpp
   89           << "<padding> (" << TailPadding << " bytes)";
   89           << "<padding> (" << TailPadding << " bytes)";
  102   WithColor(Printer, PDB_ColorItem::Padding).get() << "<padding> (" << Amount
  103                                                    << " bytes)";
  120   Printer << Label << " ";
  125       << "+" << format_hex(CurrentAbsoluteOffset, 4) << " [sizeof=" << Size
  125       << "+" << format_hex(CurrentAbsoluteOffset, 4) << " [sizeof=" << Size
  126       << "] ";
tools/llvm-pdbutil/PrettyCompilandDumper.cpp
   67               << " (" << ChecksumType << ": " << ChecksumHexString << ")";
   67               << " (" << ChecksumType << ": " << ChecksumHexString << ")";
   67               << " (" << ChecksumType << ": " << ChecksumHexString << ")";
   86             WithColor(Printer, StatementColor).get() << " - " << LineEnd;
   94               WithColor(Printer, StatementColor).get() << " - " << ColumnEnd;
  102               << "[" << format_hex(AddrStart, 10) << " - "
  102               << "[" << format_hex(AddrStart, 10) << " - "
  103               << format_hex(AddrEnd, 10) << "]";
  104             Printer << " (" << Line->getLength() << " bytes)";
  108               << "[" << format_hex(AddrStart, 10) << "] ";
  108               << "[" << format_hex(AddrStart, 10) << "] ";
  140         << "[" << format_hex(Symbol.getVirtualAddress(), 10) << "]";
  140         << "[" << format_hex(Symbol.getVirtualAddress(), 10) << "]";
  143         << " [sizeof = " << getTypeLength(Symbol) << "]";
  143         << " [sizeof = " << getTypeLength(Symbol) << "]";
  149         << "[" << Symbol.getValue() << "]";
  149         << "[" << Symbol.getValue() << "]";
  151         << " [sizeof = " << getTypeLength(Symbol) << "]";
  151         << " [sizeof = " << getTypeLength(Symbol) << "]";
  154     Printer << "data(unexpected type=" << LocType << ")";
  181       << "[" << format_hex(Symbol.getVirtualAddress(), 10) << "] ";
  181       << "[" << format_hex(Symbol.getVirtualAddress(), 10) << "] ";
  202         << "[" << format_hex(VA, 10) << " - "
  202         << "[" << format_hex(VA, 10) << " - "
  203         << format_hex(VA + Symbol.getLength(), 10) << "]";
  217   Printer << "unknown (" << Symbol.getSymTag() << ")";
tools/llvm-pdbutil/PrettyEnumDumper.cpp
   27       WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
   29       WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
   31       WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned ";
   32     WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum ";
   37   WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum ";
tools/llvm-pdbutil/PrettyFunctionDumper.cpp
   74       WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " ";
   84       WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " ";
   95       WithColor(Printer, PDB_ColorItem::Identifier).get() << Name;
  111     WithColor(Printer, PDB_ColorItem::Keyword).get() << " const";
  113     WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile";
  144     WithColor(Printer, PDB_ColorItem::Register).get() << "FPO";
  149     WithColor(Printer, PDB_ColorItem::Keyword).get() << "virtual ";
  173         << Signature->getCallingConvention() << " ";
  190       WithColor(Printer, PDB_ColorItem::Identifier).get() << " "
  200     WithColor(Printer, PDB_ColorItem::Keyword).get() << " const";
  202     WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile";
  254       WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
  256       WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
  261       WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict";
tools/llvm-pdbutil/PrettyTypeDumper.cpp
  166     Printer << ": (" << Children->getChildCount() << " items)";
  183       WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
  185       WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
  187       WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned ";
  189   WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " ";
  219       WithColor(Printer, PDB_ColorItem::Identifier).get() << "Classes";
  238       Printer << ": (Showing " << Shown << " items";
  240         Printer << ", " << (All - Shown) << " filtered";
  333       Printer << " " << UDT->getName() << "::";
  353         << Class.getClass().getUdtKind() << " ";
tools/llvm-pdbutil/PrettyTypedefDumper.cpp
   30   WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef ";
   34   WithColor(Printer, PDB_ColorItem::Identifier).get() << " "
   49   WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum ";
   50   WithColor(Printer, PDB_ColorItem::Type).get() << " " << Symbol.getName();
   55     WithColor(Printer, PDB_ColorItem::Keyword).get() << "const ";
   57     WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile ";
   71     WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict";
   80   WithColor(Printer, PDB_ColorItem::Keyword).get() << "class ";
tools/llvm-pdbutil/PrettyVariableDumper.cpp
   53     Printer << ", sizeof=" << Length << "] ";
   54     WithColor(Printer, PDB_ColorItem::Keyword).get() << "static ";
   61     Printer << "data [sizeof=" << Length << "] ";
   70         << "+" << format_hex(Offset + Var.getOffset(), 4)
   71         << " [sizeof=" << Length << "] ";
   71         << " [sizeof=" << Length << "] ";
   78         << "+" << format_hex(Offset + Var.getOffset(), 4)
   79         << " [sizeof=" << Length << "] ";
   79         << " [sizeof=" << Length << "] ";
   86     Printer << "data [sizeof=" << Length << "] ";
   87     Printer << "unknown(" << LocType << ") ";
   98       << "+" << format_hex(Offset, 4) << " [sizeof=" << Size << "] ";
   98       << "+" << format_hex(Offset, 4) << " [sizeof=" << Size << "] ";
   98       << "+" << format_hex(Offset, 4) << " [sizeof=" << Size << "] ";
  108       << "+" << format_hex(Offset + Var.getOffset(), 4)
  109       << " [sizeof=" << PointerSize << "] ";
  109       << " [sizeof=" << PointerSize << "] ";
  168     WithColor(Printer, PDB_ColorItem::Keyword).get() << " const";
  170     WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile";
  173     WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict";
  185     WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " ";
  191     WithColor(Printer, PDB_ColorItem::Keyword).get() << " const ";
  193     WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile ";
  196     WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict ";
  212   WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef ";
  223   WithColor(Printer, PDB_ColorItem::Identifier).get() << " " << Name;
tools/llvm-pdbutil/llvm-pdbutil.cpp
  954     WithColor(Printer, PDB_ColorItem::Keyword).get() << "obj";
  958     WithColor(Printer, PDB_ColorItem::Keyword).get() << "vname";
  962     WithColor(Printer, PDB_ColorItem::Keyword).get() << "crc";
  966     WithColor(Printer, PDB_ColorItem::Keyword).get() << "compression";
 1000     outs() << "  {";
 1002     outs() << "\n  }\n";
 1045       outs() << "{";
 1049       outs() << "\n}\n";
 1075   WithColor(Printer, PDB_ColorItem::None).get() << "Summary for ";
 1081   WithColor(Printer, PDB_ColorItem::Identifier).get() << "Size";
 1083     Printer << ": " << FileSize << " bytes";
 1089   WithColor(Printer, PDB_ColorItem::Identifier).get() << "Guid";
 1093   WithColor(Printer, PDB_ColorItem::Identifier).get() << "Age";
 1097   WithColor(Printer, PDB_ColorItem::Identifier).get() << "Attributes";
 1100     outs() << "HasCTypes ";
 1102     outs() << "HasPrivateSymbols ";
 1108         << "---SYMBOLS & TYPES BY NAME---";
 1184         << "---COMPILANDS---";
 1203     WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---TYPES---";
 1212     WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---SYMBOLS---";
 1224     WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---GLOBALS---";
 1273     WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---EXTERNALS---";
 1284         << "---INJECTED SOURCES---";
 1370         errs() << "Error: " << Index << " is not a valid stream index.\n";
 1370         errs() << "Error: " << Index << " is not a valid stream index.\n";
 1374       outs() << "Dumping contents of stream index " << Index << " to file "
 1374       outs() << "Dumping contents of stream index " << Index << " to file "
 1375              << OutFileName << ".\n";
 1382     outs() << "Dumping contents of stream '" << opts::exportstream::Stream
 1383            << "' (index " << Index << ") to file " << OutFileName << ".\n";
 1383            << "' (index " << Index << ") to file " << OutFileName << ".\n";
 1383            << "' (index " << Index << ") to file " << OutFileName << ".\n";
 1435       errs() << "Argument '" << opts::bytes::DumpBlockRangeOpt
 1436              << "' invalid format.\n";
 1442       errs() << "Argument '" << opts::bytes::DumpByteRangeOpt
 1443              << "' invalid format.\n";
 1559       errs() << "merge subcommand requires at least 2 input files.\n";
tools/llvm-profdata/llvm-profdata.cpp
   50     errs() << Whence << ": ";
   51   errs() << Message << "\n";
   53     WithColor::note() << Hint << "\n";
   60     errs() << Whence << ": ";
   61   errs() << Message << "\n";
   63     WithColor::note() << Hint << "\n";
  104     errs() << WhenceFile << ": ";
  106     errs() << WhenceFunction << ": ";
  114   errs() << toString(std::move(E)) << "\n";
  132       errs() << Hint << "\n";
  676       outs() << WF.Weight << "," << WF.Filename << "\n";
  676       outs() << WF.Weight << "," << WF.Filename << "\n";
  709     OS << "Sum of edge counts for profile " << BaseFilename << " is 0.\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";
  713     OS << "Sum of edge counts for profile " << TestFilename << " is 0.\n";
  787       OS << "\t[ " << format("%2u", I) << ", ";
  787       OS << "\t[ " << format("%2u", I) << ", ";
  792       OS << ", " << format("%10" PRId64, VD[V].Count) << " ] ("
  792       OS << ", " << format("%10" PRId64, VD[V].Count) << " ] ("
  793          << format("%.2f%%", (VD[V].Count * 100.0 / SiteSum)) << ")\n";
  800   OS << "  Total number of sites: " << Stats.TotalNumValueSites << "\n";
  800   OS << "  Total number of sites: " << Stats.TotalNumValueSites << "\n";
  801   OS << "  Total number of sites with values: "
  802      << Stats.TotalNumValueSitesWithValueProfile << "\n";
  803   OS << "  Total number of profiled values: " << Stats.TotalNumValues << "\n";
  803   OS << "  Total number of profiled values: " << Stats.TotalNumValues << "\n";
  805   OS << "  Value sites histogram:\n\tNumTargets, SiteCount\n";
  808       OS << "\t" << I + 1 << ", " << Stats.ValueSitesHistogram[I] << "\n";
  808       OS << "\t" << I + 1 << ", " << Stats.ValueSitesHistogram[I] << "\n";
  808       OS << "\t" << I + 1 << ", " << Stats.ValueSitesHistogram[I] << "\n";
  847     OS << "The list of functions with the maximum counter less than "
  848        << ValueCutoff << ":\n";
  853     OS << ":ir\n";
  887         OS << "  " << Func.Name << ": (Max = " << FuncMax
  887         OS << "  " << Func.Name << ": (Max = " << FuncMax
  888            << " Sum = " << FuncSum << ")\n";
  888            << " Sum = " << FuncSum << ")\n";
  906         OS << "Counters:\n";
  910       OS << "  " << Func.Name << ":\n"
  910       OS << "  " << Func.Name << ":\n"
  911          << "    Hash: " << format("0x%016" PRIx64, Func.Hash) << "\n"
  911          << "    Hash: " << format("0x%016" PRIx64, Func.Hash) << "\n"
  912          << "    Counters: " << Func.Counts.size() << "\n";
  912          << "    Counters: " << Func.Counts.size() << "\n";
  914         OS << "    Function count: " << Func.Counts[0] << "\n";
  914         OS << "    Function count: " << Func.Counts[0] << "\n";
  917         OS << "    Indirect Call Site Count: "
  918            << Func.getNumValueSites(IPVK_IndirectCallTarget) << "\n";
  922         OS << "    Number of Memory Intrinsics Calls: " << NumMemOPCalls
  923            << "\n";
  926         OS << "    Block counts: [";
  929           OS << (I == Start ? "" : ", ") << Func.Counts[I];
  931         OS << "]\n";
  935         OS << "    Indirect Target Results:\n";
  942         OS << "    Memory Intrinsic Size Results:\n";
  954   OS << "Instrumentation level: "
  955      << (Reader->isIRLevelProfile() ? "IR" : "Front-end") << "\n";
  955      << (Reader->isIRLevelProfile() ? "IR" : "Front-end") << "\n";
  957     OS << "Functions shown: " << ShownFunctions << "\n";
  957     OS << "Functions shown: " << ShownFunctions << "\n";
  958   OS << "Total functions: " << PS->getNumFunctions() << "\n";
  958   OS << "Total functions: " << PS->getNumFunctions() << "\n";
  960     OS << "Number of functions with maximum count (< " << ValueCutoff
  961        << "): " << BelowCutoffFunctions << "\n";
  961        << "): " << BelowCutoffFunctions << "\n";
  962     OS << "Number of functions with maximum count (>= " << ValueCutoff
  963        << "): " << PS->getNumFunctions() - BelowCutoffFunctions << "\n";
  963        << "): " << PS->getNumFunctions() - BelowCutoffFunctions << "\n";
  965   OS << "Maximum function count: " << PS->getMaxFunctionCount() << "\n";
  965   OS << "Maximum function count: " << PS->getMaxFunctionCount() << "\n";
  966   OS << "Maximum internal block count: " << PS->getMaxInternalCount() << "\n";
  966   OS << "Maximum internal block count: " << PS->getMaxInternalCount() << "\n";
  974     OS << "Top " << TopN
  975        << " functions with the largest internal block counts: \n";
  977       OS << "  " << hotfunc.first << ", max count = " << hotfunc.second << "\n";
  977       OS << "  " << hotfunc.first << ", max count = " << hotfunc.second << "\n";
  977       OS << "  " << hotfunc.first << ", max count = " << hotfunc.second << "\n";
  981     OS << "Statistics for indirect call sites profile:\n";
  987     OS << "Statistics for memory intrinsic calls sizes profile:\n";
  992     OS << "Detailed summary:\n";
  993     OS << "Total number of blocks: " << PS->getNumCounts() << "\n";
  993     OS << "Total number of blocks: " << PS->getNumCounts() << "\n";
  994     OS << "Total count: " << PS->getTotalCount() << "\n";
  994     OS << "Total count: " << PS->getTotalCount() << "\n";
  996       OS << Entry.NumCounts << " blocks with count >= " << Entry.MinCount
  997          << " account for "
  999          << " percentage of the total counts.\n";
 1008     WithColor::warning() << "-show-sec-info-only is only supported for "
 1009                          << "sample profile in extbinary format and is "
 1010                          << "ignored for other formats.\n";
 1115            << ": Input file name cannot be the same as the output file name!\n";
 1125     WithColor::warning() << "-function argument ignored: showing all functions\n";
 1162       errs() << "OVERVIEW: LLVM profile data tools\n\n"
 1163              << "USAGE: " << ProgName << " <command> [args...]\n"
 1163              << "USAGE: " << ProgName << " <command> [args...]\n"
 1164              << "USAGE: " << ProgName << " <command> -help\n\n"
 1164              << "USAGE: " << ProgName << " <command> -help\n\n"
 1165              << "See each individual command --help for more details.\n"
 1166              << "Available commands: merge, show, overlap\n";
 1172     errs() << ProgName << ": No command specified!\n";
 1174     errs() << ProgName << ": Unknown command!\n";
 1176   errs() << "USAGE: " << ProgName << " <merge|show|overlap> [args...]\n";
 1176   errs() << "USAGE: " << ProgName << " <merge|show|overlap> [args...]\n";
tools/llvm-rc/ResourceScriptStmt.cpp
   28     OS << "  Option: ";
   35   return OS << "Language: " << Lang << ", Sublanguage: " << SubLang << "\n";
   35   return OS << "Language: " << Lang << ", Sublanguage: " << SubLang << "\n";
   35   return OS << "Language: " << Lang << ", Sublanguage: " << SubLang << "\n";
   47   OS << "Accelerators (" << ResName << "): \n";
   47   OS << "Accelerators (" << ResName << "): \n";
   50     OS << "  Accelerator: " << Acc.Event << " " << Acc.Id;
   50     OS << "  Accelerator: " << Acc.Event << " " << Acc.Id;
   53         OS << " " << Accelerator::OptionsStr[i];
   54     OS << "\n";
   60   return OS << "Bitmap (" << ResName << "): " << BitmapLoc << "\n";
   60   return OS << "Bitmap (" << ResName << "): " << BitmapLoc << "\n";
   60   return OS << "Bitmap (" << ResName << "): " << BitmapLoc << "\n";
   64   return OS << "Cursor (" << ResName << "): " << CursorLoc << "\n";
   64   return OS << "Cursor (" << ResName << "): " << CursorLoc << "\n";
   64   return OS << "Cursor (" << ResName << "): " << CursorLoc << "\n";
   68   return OS << "Icon (" << ResName << "): " << IconLoc << "\n";
   68   return OS << "Icon (" << ResName << "): " << IconLoc << "\n";
   68   return OS << "Icon (" << ResName << "): " << IconLoc << "\n";
   72   return OS << "HTML (" << ResName << "): " << HTMLLoc << "\n";
   72   return OS << "HTML (" << ResName << "): " << HTMLLoc << "\n";
   72   return OS << "HTML (" << ResName << "): " << HTMLLoc << "\n";
   84       OS << " " << OptionsStr[i];
   89   OS << "  Menu list starts\n";
   92   return OS << "  Menu list ends\n";
   96   OS << "  MenuItem (" << Name << "), ID = " << Id;
   96   OS << "  MenuItem (" << Name << "), ID = " << Id;
   98   return OS << "\n";
  102   return OS << "  Menu separator\n";
  106   OS << "  Popup (" << Name << ")";
  106   OS << "  Popup (" << Name << ")";
  108   OS << ":\n";
  113   OS << "Menu (" << ResName << "):\n";
  113   OS << "Menu (" << ResName << "):\n";
  119   OS << "StringTable:\n";
  122     OS << "  " << String.first << " => " << String.second << "\n";
  122     OS << "  " << String.first << " => " << String.second << "\n";
  122     OS << "  " << String.first << " => " << String.second << "\n";
  149   OS << "  Control (" << ID << "): " << Type << ", title: " << Title
  149   OS << "  Control (" << ID << "): " << Type << ", title: " << Title
  149   OS << "  Control (" << ID << "): " << Type << ", title: " << Title
  150      << ", loc: (" << X << ", " << Y << "), size: [" << Width << ", " << Height
  150      << ", loc: (" << X << ", " << Y << "), size: [" << Width << ", " << Height
  150      << ", loc: (" << X << ", " << Y << "), size: [" << Width << ", " << Height
  150      << ", loc: (" << X << ", " << Y << "), size: [" << Width << ", " << Height
  151      << "]";
  153     OS << ", style: " << (*Style).getValue();
  155     OS << ", ext. style: " << *ExtStyle;
  157     OS << ", help ID: " << *HelpID;
  158   return OS << "\n";
  162   OS << "Dialog" << (IsExtended ? "Ex" : "") << " (" << ResName << "): loc: ("
  162   OS << "Dialog" << (IsExtended ? "Ex" : "") << " (" << ResName << "): loc: ("
  162   OS << "Dialog" << (IsExtended ? "Ex" : "") << " (" << ResName << "): loc: ("
  162   OS << "Dialog" << (IsExtended ? "Ex" : "") << " (" << ResName << "): loc: ("
  163      << X << ", " << Y << "), size: [" << Width << ", " << Height
  163      << X << ", " << Y << "), size: [" << Width << ", " << Height
  163      << X << ", " << Y << "), size: [" << Width << ", " << Height
  164      << "], help ID: " << HelpID << "\n";
  164      << "], help ID: " << HelpID << "\n";
  172   OS << "  Start of block (name: " << Name << ")\n";
  172   OS << "  Start of block (name: " << Name << ")\n";
  175   return OS << "  End of block\n";
  179   OS << "  " << Key << " =>";
  179   OS << "  " << Key << " =>";
  183       OS << ",";
  184     OS << " " << Values[Id];
  186   return OS << "\n";
  233     OS << "  Fixed: " << FixedFieldsNames[Type] << ":";
  233     OS << "  Fixed: " << FixedFieldsNames[Type] << ":";
  235       OS << " " << Val;
  236     OS << "\n";
  242   OS << "VersionInfo (" << ResName << "):\n";
  242   OS << "VersionInfo (" << ResName << "):\n";
  248   OS << "User-defined (type: " << Type << ", name: " << ResName << "): ";
  248   OS << "User-defined (type: " << Type << ", name: " << ResName << "): ";
  248   OS << "User-defined (type: " << Type << ", name: " << ResName << "): ";
  250     return OS << FileLoc << "\n";
  251   OS << "data = ";
  253     OS << Item << " ";
  254   return OS << "\n";
  258   return OS << "Characteristics: " << Value << "\n";
  258   return OS << "Characteristics: " << Value << "\n";
  262   return OS << "Version: " << Value << "\n";
  262   return OS << "Version: " << Value << "\n";
  266   return OS << "Caption: " << Value << "\n";
  266   return OS << "Caption: " << Value << "\n";
  270   return OS << "Class: " << Value << "\n";
  270   return OS << "Class: " << Value << "\n";
  274   OS << "Font: size = " << Size << ", face = " << Name
  274   OS << "Font: size = " << Size << ", face = " << Name
  275      << ", weight = " << Weight;
  277     OS << ", italic";
  278   return OS << ", charset = " << Charset << "\n";
  278   return OS << ", charset = " << Charset << "\n";
  282   return OS << "Style: " << Value << "\n";
  282   return OS << "Style: " << Value << "\n";
  286   return OS << "ExStyle: " << Value << "\n";
  286   return OS << "ExStyle: " << Value << "\n";
tools/llvm-rc/ResourceScriptStmt.h
   65     return OS << Int.Val << (Int.Long ? "L" : "");
  218     return OS << "Base statement\n";
  254     return OS << "Null resource\n";
  484     return OS << "Base menu definition\n";
  735   virtual raw_ostream &log(raw_ostream &OS) const { return OS << "VI stmt\n"; }
tools/llvm-rc/llvm-rc.cpp
   76   errs() << Message << "\n";
  131       outs() << TokenNames[static_cast<int>(Token.kind())] << ": "
  134         outs() << "; int value = " << Token.intValue();
  136       outs() << "\n";
tools/llvm-readobj/ARMEHABIPrinter.h
  285         OS << ", ";
  286       OS << GPRRegisterNames[RI];
  299         OS << ", ";
  531       errs() << "corrupt unwind data in section " << SectionIndex << "\n";
  531       errs() << "corrupt unwind data in section " << SectionIndex << "\n";
tools/llvm-readobj/ARMWinEHPrinter.cpp
   79     OS << "pop {pc}";
   82     OS << "b target";
   85     OS << "b.w target";
   88     OS << "(no epilogue)";
  101     OS << Name << " ";
  187         OS << ", ";
  188       OS << GPRRegisterNames[RI];
  195         OS << ", ";
  196       OS << "d" << unsigned(RI);
  203         OS << ", ";
  204       OS << GPRRegisterNames[RI];
 1052   SW.startLine() << "ReturnType: " << RF.Ret() << '\n';
 1054   SW.startLine() << "SavedRegisters: ";
 1074     SW.startLine() << "Packed unwind data not yet supported for ARM64\n";
 1087     errs() << ".pdata content is not " << PDataEntrySize << "-byte aligned\n";
 1087     errs() << ".pdata content is not " << PDataEntrySize << "-byte aligned\n";
tools/llvm-readobj/COFFDumper.cpp
  787           OS << " flags " << utohexstr(Flags);
 1376         W.startLine() << "Section (" << SectionNumber << ") " << Name << " {\n";
 1376         W.startLine() << "Section (" << SectionNumber << ") " << Name << " {\n";
 1376         W.startLine() << "Section (" << SectionNumber << ") " << Name << " {\n";
 1386       W.startLine() << "}\n";
 1418        << " " << RelocName
 1419        << " " << (SymbolName.empty() ? "-" : SymbolName)
 1420        << " (" << SymbolIndex << ")"
 1420        << " (" << SymbolIndex << ")"
 1421        << "\n";
 1454     W.startLine() << "Invalid section number: " << EC.message() << "\n";
 1454     W.startLine() << "Invalid section number: " << EC.message() << "\n";
 1566       W.startLine() << "<unhandled auxiliary record>\n";
 1616     W.startLine() << L << "\n";
 1778       W.startLine() << "\n";
 1839       OS << ": ";
 1843         OS << ": ";
 1846         OS << ": (ID " << Entry.Identifier.ID << ")";
 1846         OS << ": (ID " << Entry.Identifier.ID << ")";
tools/llvm-readobj/COFFImportDumper.cpp
   52     OS << "Symbol: ";
   54     OS << "\n";
tools/llvm-readobj/DwarfCFIEHPrinter.h
  212       W.getOStream() << "\n";
  213       W.startLine() << "Program:\n";
  219       W.getOStream() << "\n";
  236       W.getOStream() << "\n";
  237       W.startLine() << "Program:\n";
  243       W.getOStream() << "\n";
tools/llvm-readobj/ELFDumper.cpp
 1965     OS << Flag.Name << " ";
 2064       OS << "REL";
 2067       OS << "RELA";
 2109     OS << Value << " (bytes)";
 2127     OS << TagNames.at(Type) << ": [" << getDynamicString(Value) << "]";
 2127     OS << TagNames.at(Type) << ": [" << getDynamicString(Value) << "]";
 2127     OS << TagNames.at(Type) << ": [" << getDynamicString(Value) << "]";
 2187     W.startLine() << L << "\n";
 2246   W.startLine() << "Attributes not implemented.\n";
 2254     W.startLine() << "Attributes not implemented.\n";
 2267       errs() << "unrecognised FormatVersion: 0x"
 2640     W.startLine() << "There is no .reginfo section in the file.\n";
 2646     W.startLine() << "The .reginfo section has a wrong size.\n";
 2660     W.startLine() << "There is no .MIPS.options section in the file.\n";
 2670       W.startLine() << "The .MIPS.options section has a wrong size.\n";
 2680       W.startLine() << "Unsupported MIPS options tag.\n";
 2722   OS << Str2 << "\n";
 2755   OS << "ELF Header:\n";
 2756   OS << "  Magic:  ";
 2760   OS << "\n";
 2766   OS << "Version:";
 2770     OS << " (current)";
 2771   OS << "\n";
 2890     OS << "\n"
 2891        << getGroupType(G.Type) << " group section ["
 2891        << getGroupType(G.Type) << " group section ["
 2892        << format_decimal(G.Index, 5) << "] `" << G.Name << "' [" << G.Signature
 2892        << format_decimal(G.Index, 5) << "] `" << G.Name << "' [" << G.Signature
 2893        << "] contains " << G.Members.size() << " sections:\n"
 2893        << "] contains " << G.Members.size() << " sections:\n"
 2894        << "   [Index]    Name\n";
 2899         errs() << "Error: section [" << format_decimal(GM.Index, 5)
 2900                << "] in group section [" << format_decimal(G.Index, 5)
 2901                << "] already in group section ["
 2902                << format_decimal(MainGroup->Index, 5) << "]";
 2906       OS << "   [" << format_decimal(GM.Index, 5) << "]   " << GM.Name << "\n";
 2906       OS << "   [" << format_decimal(GM.Index, 5) << "]   " << GM.Name << "\n";
 2906       OS << "   [" << format_decimal(GM.Index, 5) << "]   " << GM.Name << "\n";
 2911     OS << "There are no section groups in this file.\n";
 2970   OS << Addend << "\n";
 2977     OS << "    ";
 2979     OS << " ";
 2981     OS << "Data  ";
 2983     OS << "Offset";
 2985     OS << "             Info             Type"
 2986        << "               Symbol's Value  Symbol's Name";
 2988     OS << "     Info    Type                Sym. Value  Symbol's Name";
 2990     OS << " + Addend";
 2991   OS << "\n";
 3023     OS << "\nRelocation section '" << Name << "' at offset 0x"
 3023     OS << "\nRelocation section '" << Name << "' at offset 0x"
 3024        << to_hexString(Offset, false) << " contains " << Entries
 3025        << " entries:\n";
 3048              << "\n";
 3061     OS << "\nThere are no relocations in this file.\n";
 3195   OS << "There are " << to_string(Sections.size())
 3196      << " section headers, starting at offset "
 3197      << "0x" << to_hexString(Obj->getHeader()->e_shoff, false) << ":\n\n";
 3197      << "0x" << to_hexString(Obj->getHeader()->e_shoff, false) << ":\n\n";
 3198   OS << "Section Headers:\n";
 3206   OS << "\n";
 3227     OS << "[" << right_justify(Fields[0].Str, 2) << "]";
 3227     OS << "[" << right_justify(Fields[0].Str, 2) << "]";
 3238     OS << "\n";
 3241   OS << "Key to Flags:\n"
 3242      << "  W (write), A (alloc), X (execute), M (merge), S (strings), l "
 3244      << "  I (info), L (link order), G (group), T (TLS), E (exclude),\
 3246      << "  O (extra OS processing required) o (OS specific),\
 3255     OS << "\nSymbol table '" << Name << "' contains " << Entries
 3255     OS << "\nSymbol table '" << Name << "' contains " << Entries
 3256        << " entries:\n";
 3258     OS << "\n Symbol table for image:\n";
 3261     OS << "   Num:    Value          Size Type    Bind   Vis";
 3263     OS << "   Num:    Value  Size Type    Bind   Vis";
 3266     OS << "             ";
 3267   OS << "       Ndx Name\n";
 3353   OS << "\n";
 3387   OS << "\n";
 3409     OS << "\n Symbol table of .hash for image:\n";
 3411       OS << "  Num Buc:    Value          Size   Type   Bind Vis      Ndx Name";
 3413       OS << "  Num Buc:    Value  Size   Type   Bind Vis      Ndx Name";
 3414     OS << "\n";
 3442     OS << "\n Symbol table of .gnu.hash for image:\n";
 3444       OS << "  Num Buc:    Value          Size   Type   Bind Vis      Ndx Name";
 3446       OS << "  Num Buc:    Value  Size   Type   Bind Vis      Ndx Name";
 3447     OS << "\n";
 3551   OS << "\nElf file type is "
 3552      << printEnum(Header->e_type, makeArrayRef(ElfObjectFileType)) << "\n"
 3553      << "Entry point " << format_hex(Header->e_entry, 3) << "\n"
 3553      << "Entry point " << format_hex(Header->e_entry, 3) << "\n"
 3554      << "There are " << Header->e_phnum << " program headers,"
 3554      << "There are " << Header->e_phnum << " program headers,"
 3555      << " starting at offset " << Header->e_phoff << "\n\n"
 3555      << " starting at offset " << Header->e_phoff << "\n\n"
 3556      << "Program Headers:\n";
 3558     OS << "  Type           Offset   VirtAddr           PhysAddr         "
 3559        << "  FileSiz  MemSiz   Flg Align\n";
 3561     OS << "  Type           Offset   VirtAddr   PhysAddr   FileSiz "
 3562        << "MemSiz  Flg Align\n";
 3579       OS << "\n      [Requesting program interpreter: ";
 3580       OS << reinterpret_cast<const char *>(Obj->base()) + Phdr.p_offset << "]";
 3580       OS << reinterpret_cast<const char *>(Obj->base()) + Phdr.p_offset << "]";
 3582     OS << "\n";
 3588   OS << "\n Section to Segment mapping:\n  Segment Sections...\n";
 3612     OS << Sections << "\n";
 3624     OS << "   None  " << Sections << '\n';
 3673   OS << "Dynamic section at offset "
 3677      << " contains " << Table.size() << " entries:\n";
 3677      << " contains " << Table.size() << " entries:\n";
 3681     OS << "  Tag                Type                 Name/Value\n";
 3683     OS << "  Tag        Type                 Name/Value\n";
 3689     OS << "  " << format_hex(Tag, Is64 ? 18 : 10)
 3692     OS << "\n";
 3703     OS << "\n'RELA' relocation section at offset "
 3707        << " contains " << DynRelaRegion.Size << " bytes:\n";
 3707        << " contains " << DynRelaRegion.Size << " bytes:\n";
 3713     OS << "\n'REL' relocation section at offset "
 3717        << " contains " << DynRelRegion.Size << " bytes:\n";
 3717        << " contains " << DynRelRegion.Size << " bytes:\n";
 3728     OS << "\n'RELR' relocation section at offset "
 3732        << " contains " << DynRelrRegion.Size << " bytes:\n";
 3732        << " contains " << DynRelrRegion.Size << " bytes:\n";
 3742     OS << "\n'PLT' relocation section at offset "
 3746        << " contains " << DynPLTRelRegion.Size << " bytes:\n";
 3746        << " contains " << DynPLTRelRegion.Size << " bytes:\n";
 3771   OS << Name << " section '" << SecName << "' "
 3771   OS << Name << " section '" << SecName << "' "
 3772      << "contains " << EntriesNum << " entries:\n";
 3772      << "contains " << EntriesNum << " entries:\n";
 3777   OS << " Addr: " << format_hex_no_prefix(Sec->sh_addr, 16)
 3778      << "  Offset: " << format_hex(Sec->sh_offset, 8)
 3779      << "  Link: " << Sec->sh_link << " (" << SymTabName << ")\n";
 3779      << "  Link: " << Sec->sh_link << " (" << SymTabName << ")\n";
 3779      << "  Link: " << Sec->sh_link << " (" << SymTabName << ")\n";
 3799     OS << "  " << format_hex_no_prefix(VersymRow, 3) << ":";
 3799     OS << "  " << format_hex_no_prefix(VersymRow, 3) << ":";
 3808         OS << "   0 (*local*)    ";
 3811         OS << "   1 (*global*)   ";
 3998     OS << "Histogram for bucket list length (total of " << NBucket
 3999        << " buckets)\n"
 4000        << " Length  Number     % of total  Coverage\n";
 4048     OS << "Histogram for `.gnu.hash' bucket list length (total of " << NBucket
 4049        << " buckets)\n"
 4050        << " Length  Number     % of total  Coverage\n";
 4062   OS << "GNUStyle::printCGProfile not implemented\n";
 4259         OS << ", ";
 4268     OS << "stack size: ";
 4277     OS << "no copy on protected";
 4283     OS << ((Type == GNU_PROPERTY_AARCH64_FEATURE_1_AND) ? "aarch64 feature: "
 4291       OS << "<None>";
 4306     OS << "x86 ISA "
 4307        << (Type == GNU_PROPERTY_X86_ISA_1_NEEDED ? "needed: " : "used: ");
 4314       OS << "<None>";
 4347     OS << "x86 feature "
 4348        << (Type == GNU_PROPERTY_X86_FEATURE_2_NEEDED ? "needed: " : "used: ");
 4355       OS << "<None>";
 4428   ABI << Major << "." << Minor << "." << Patch;
 4428   ABI << Major << "." << Minor << "." << Patch;
 4453       OS << "    <corrupt GNU_ABI_TAG>";
 4455       OS << "    OS: " << AbiTag.OSName << ", ABI: " << AbiTag.ABI;
 4455       OS << "    OS: " << AbiTag.OSName << ", ABI: " << AbiTag.ABI;
 4459     OS << "    Build ID: " << getGNUBuildId(Desc);
 4463     OS << "    Version: " << getGNUGoldVersion(Desc);
 4466     OS << "    Properties:";
 4468       OS << "    " << Property << "\n";
 4468       OS << "    " << Property << "\n";
 4585   OS << "    Page size: " << format_decimal(Note.PageSize, 0) << '\n';
 4586   OS << "    " << right_justify("Start", FieldWidth) << "  "
 4586   OS << "    " << right_justify("Start", FieldWidth) << "  "
 4587      << right_justify("End", FieldWidth) << "  "
 4590     OS << "    " << format_hex(Mapping.Start, FieldWidth) << "  "
 4590     OS << "    " << format_hex(Mapping.Start, FieldWidth) << "  "
 4591        << format_hex(Mapping.End, FieldWidth) << "  "
 4592        << format_hex(Mapping.Offset, FieldWidth) << "\n        "
 4601     OS << "Displaying notes found at file offset " << format_hex(Offset, 10)
 4602        << " with length " << format_hex(Size, 10) << ":\n"
 4602        << " with length " << format_hex(Size, 10) << ":\n"
 4603        << "  Owner                Data size \tDescription\n";
 4612     OS << "  " << left_justify(Name, 20) << ' '
 4629         OS << "Unknown note type: (" << format_hex(Type, 10) << ")\n";
 4629         OS << "Unknown note type: (" << format_hex(Type, 10) << ")\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';
 4656       OS << "   description data:";
 4658         OS << " " << format("%02x", B);
 4692   OS << "printELFLinkerOptions not implemented!\n";
 4767   OS << FuncName << "\n";
 4967     OS << "\nStack Sizes:\n";
 4969     OS << "Size";
 4971     OS << "Function\n";
 4990     OS << format_decimal(Parser.getGotOffset(E), 6) << "(gp)";
 4994     OS << Purpose << "\n";
 4997   OS << (Parser.IsStatic ? "Static GOT:\n" : "Primary GOT:\n");
 4998   OS << " Canonical gp value: "
 4999      << format_hex_no_prefix(Parser.getGp(), 8 + Bias) << "\n\n";
 5001   OS << " Reserved entries:\n";
 5003     OS << "           Address     Access          Initial Purpose\n";
 5005     OS << "   Address     Access  Initial Purpose\n";
 5011     OS << "\n";
 5012     OS << " Local entries:\n";
 5014       OS << "           Address     Access          Initial\n";
 5016       OS << "   Address     Access  Initial\n";
 5025     OS << "\n";
 5026     OS << " Global entries:\n";
 5028       OS << "           Address     Access          Initial         Sym.Val."
 5029          << " Type    Ndx Name\n";
 5031       OS << "   Address     Access  Initial Sym.Val. Type    Ndx Name\n";
 5051       OS << SymName << "\n";
 5056     OS << "\n Number of TLS and multi-GOT entries "
 5057        << Parser.getOtherEntries().size() << "\n";
 5069     OS << Purpose << "\n";
 5072   OS << "PLT GOT:\n\n";
 5074   OS << " Reserved entries:\n";
 5075   OS << "   Address  Initial Purpose\n";
 5081     OS << "\n";
 5082     OS << " Entries:\n";
 5083     OS << "   Address  Initial Sym.Val. Type    Ndx Name\n";
 5101       OS << SymName << "\n";
 5122   OS << "MIPS ABI Flags Version: " << Flags->version << "\n\n";
 5122   OS << "MIPS ABI Flags Version: " << Flags->version << "\n\n";
 5123   OS << "ISA: MIPS" << int(Flags->isa_level);
 5125     OS << "r" << int(Flags->isa_rev);
 5126   OS << "\n";
 5127   OS << "GPR size: " << getMipsRegisterSize(Flags->gpr_size) << "\n";
 5127   OS << "GPR size: " << getMipsRegisterSize(Flags->gpr_size) << "\n";
 5128   OS << "CPR1 size: " << getMipsRegisterSize(Flags->cpr1_size) << "\n";
 5128   OS << "CPR1 size: " << getMipsRegisterSize(Flags->cpr1_size) << "\n";
 5129   OS << "CPR2 size: " << getMipsRegisterSize(Flags->cpr2_size) << "\n";
 5129   OS << "CPR2 size: " << getMipsRegisterSize(Flags->cpr2_size) << "\n";
 5130   OS << "FP ABI: " << printEnum(Flags->fp_abi, makeArrayRef(ElfMipsFpABIType))
 5131      << "\n";
 5132   OS << "ISA Extension: "
 5133      << printEnum(Flags->isa_ext, makeArrayRef(ElfMipsISAExtType)) << "\n";
 5135     OS << "ASEs: None\n";
 5138     OS << "ASEs: " << printFlags(Flags->ases, makeArrayRef(ElfMipsASEFlags))
 5139        << "\n";
 5140   OS << "FLAGS 1: " << format_hex_no_prefix(Flags->flags1, 8, false) << "\n";
 5140   OS << "FLAGS 1: " << format_hex_no_prefix(Flags->flags1, 8, false) << "\n";
 5141   OS << "FLAGS 2: " << format_hex_no_prefix(Flags->flags2, 8, false) << "\n";
 5141   OS << "FLAGS 2: " << format_hex_no_prefix(Flags->flags2, 8, false) << "\n";
 5142   OS << "\n";
 5217     W.startLine() << "Signature: " << G.Signature << "\n";
 5217     W.startLine() << "Signature: " << G.Signature << "\n";
 5224         errs() << "Error: " << GM.Name << " (" << GM.Index
 5224         errs() << "Error: " << GM.Name << " (" << GM.Index
 5227                << MainGroup->Index << ")\n";
 5231       W.startLine() << GM.Name << " (" << GM.Index << ")\n";
 5231       W.startLine() << GM.Name << " (" << GM.Index << ")\n";
 5236     W.startLine() << "There are no group sections in the file.\n";
 5254     W.startLine() << "Section (" << SectionNumber << ") " << Name << " {\n";
 5254     W.startLine() << "Section (" << SectionNumber << ") " << Name << " {\n";
 5254     W.startLine() << "Section (" << SectionNumber << ") " << Name << " {\n";
 5260     W.startLine() << "}\n";
 5288         W.startLine() << W.hex(R) << "\n";
 5335     OS << W.hex(Rel.r_offset) << " " << RelocName << " "
 5335     OS << W.hex(Rel.r_offset) << " " << RelocName << " "
 5336        << (!TargetName.empty() ? TargetName : "-") << " " << W.hex(Rel.r_addend)
 5337        << "\n";
 5502   W.startLine() << "DynamicSection [ (" << Table.size() << " entries)\n";
 5502   W.startLine() << "DynamicSection [ (" << Table.size() << " entries)\n";
 5506     W.startLine() << "  Tag                Type                 Name/Value\n";
 5508     W.startLine() << "  Tag        Type                 Name/Value\n";
 5511     W.startLine() << "  " << format_hex(Tag, Is64 ? 18 : 10, true) << " "
 5511     W.startLine() << "  " << format_hex(Tag, Is64 ? 18 : 10, true) << " "
 5515     OS << "\n";
 5518   W.startLine() << "]\n";
 5529   W.startLine() << "Dynamic Relocations {\n";
 5561   W.startLine() << "}\n";
 5579     OS << W.hex(Rel.r_offset) << " " << RelocName << " "
 5579     OS << W.hex(Rel.r_offset) << " " << RelocName << " "
 5580        << (!SymbolName.empty() ? SymbolName : "-") << " " << W.hex(Rel.r_addend)
 5581        << "\n";
 5731   W.startLine() << "Hash Histogram not implemented!\n";
 6090     W.startLine() << "There is no .MIPS.abiflags section in the file.\n";
 6096     W.startLine() << "The .MIPS.abiflags section has a wrong size.\n";
 6106   W.startLine() << "ISA: ";
 6111   OS << "\n";
tools/llvm-readobj/MachODumper.cpp
  523         W.startLine() << "Section " << Name << " {\n";
  523         W.startLine() << "Section " << Name << " {\n";
  533       W.startLine() << "}\n";
  594        << " " << Obj->getAnyRelocationPCRel(RE)
  595        << " " << Obj->getAnyRelocationLength(RE);
  597       OS << " n/a";
  599       OS << " " << Obj->getPlainRelocationExternal(RE);
  600     OS << " " << RelocName
  601        << " " << IsScattered
  602        << " " << SymbolNameOrOffset
  603        << "\n";
  646       W.startLine() << "PrivateExtern\n";
  648       W.startLine() << "Extern\n";
  661   W.startLine() << "UnwindInfo not implemented.\n";
  719     W.startLine() << L << "\n";
tools/llvm-readobj/ObjDumper.cpp
   94     W.startLine() << "String dump of section '" << SectionName << "':\n";
   94     W.startLine() << "String dump of section '" << SectionName << "':\n";
  129     W.startLine() << "Hex dump of section '" << SectionName << "':\n";
  129     W.startLine() << "Hex dump of section '" << SectionName << "':\n";
tools/llvm-readobj/StackMapPrinter.h
   26     W.startLine() << "  Function address: " << F.getFunctionAddress()
   27        << ", stack size: " << F.getStackSize()
   28        << ", callsite record count: " << F.getRecordCount() << "\n";
   28        << ", callsite record count: " << F.getRecordCount() << "\n";
   34     W.startLine() << "  #" << ++ConstantIndex << ": " << C.getValue() << "\n";
   34     W.startLine() << "  #" << ++ConstantIndex << ": " << C.getValue() << "\n";
   34     W.startLine() << "  #" << ++ConstantIndex << ": " << C.getValue() << "\n";
   39     W.startLine() << "  Record ID: " << R.getID()
   40                   << ", instruction offset: " << R.getInstructionOffset()
   41                   << "\n";
   42     W.startLine() << "    " << R.getNumLocations() << " locations:\n";
   42     W.startLine() << "    " << R.getNumLocations() << " locations:\n";
   47       OS << "      #" << ++LocationIndex << ": ";
   47       OS << "      #" << ++LocationIndex << ": ";
   50         OS << "Register R#" << Loc.getDwarfRegNum();
   53         OS << "Direct R#" << Loc.getDwarfRegNum() << " + " << Loc.getOffset();
   53         OS << "Direct R#" << Loc.getDwarfRegNum() << " + " << Loc.getOffset();
   56         OS << "Indirect [R#" << Loc.getDwarfRegNum() << " + " << Loc.getOffset()
   56         OS << "Indirect [R#" << Loc.getDwarfRegNum() << " + " << Loc.getOffset()
   57            << "]";
   60         OS << "Constant " << Loc.getSmallConstant();
   63         OS << "ConstantIndex #" << Loc.getConstantIndex() << " ("
   63         OS << "ConstantIndex #" << Loc.getConstantIndex() << " ("
   64            << SMP.getConstant(Loc.getConstantIndex()).getValue() << ")";
   67       OS << ", size: " << Loc.getSizeInBytes() << "\n";
   67       OS << ", size: " << Loc.getSizeInBytes() << "\n";
   71     OS << "    " << R.getNumLiveOuts() << " live-outs: [ ";
   71     OS << "    " << R.getNumLiveOuts() << " live-outs: [ ";
   73       OS << "R#" << LO.getDwarfRegNum() << " ("
   73       OS << "R#" << LO.getDwarfRegNum() << " ("
   74          << LO.getSizeInBytes() << "-bytes) ";
   75     OS << "]\n";
tools/llvm-readobj/WasmDumper.cpp
  120     OS << W.hex(Reloc.getOffset()) << " " << RelocTypeName << " ";
  120     OS << W.hex(Reloc.getOffset()) << " " << RelocTypeName << " ";
  126       OS << " " << WasmReloc.Addend;
  127     OS << "\n";
  143         W.startLine() << "Section (" << SectionNumber << ") " << Name << " {\n";
  143         W.startLine() << "Section (" << SectionNumber << ") " << Name << " {\n";
  143         W.startLine() << "Section (" << SectionNumber << ") " << Name << " {\n";
  153       W.startLine() << "}\n";
  181             W.startLine() << F.Symbol << " (priority=" << F.Priority << ")\n";
  181             W.startLine() << F.Symbol << " (priority=" << F.Priority << ")\n";
tools/llvm-readobj/Win64EHDumper.cpp
  187     OS << " reg=" << getUnwindRegisterName(UC[0].getOpInfo());
  191     OS << " size="
  197     OS << " size=" << (UC[0].getOpInfo() + 1) * 8;
  202       OS << " reg=<invalid>";
  204       OS << " reg=" << getUnwindRegisterName(UI.getFrameRegister())
  209     OS << " reg=" << getUnwindRegisterName(UC[0].getOpInfo())
  214     OS << " reg=" << getUnwindRegisterName(UC[0].getOpInfo())
  219     OS << " reg=XMM" << static_cast<uint32_t>(UC[0].getOpInfo())
  224     OS << " reg=XMM" << static_cast<uint32_t>(UC[0].getOpInfo())
  229     OS << " errcode=" << (UC[0].getOpInfo() == 0 ? "no" : "yes");
  229     OS << " errcode=" << (UC[0].getOpInfo() == 0 ? "no" : "yes");
  233   OS << "\n";
  258         errs() << "corrupt unwind data";
tools/llvm-readobj/WindowsResourceDumper.cpp
   80   SW.startLine() << "\n";
tools/llvm-readobj/XCOFFDumper.cpp
  153     W.startLine() << "Section (index: " << Index << ") " << Sec.getName()
  153     W.startLine() << "Section (index: " << Index << ") " << Sec.getName()
  154                   << " {\n";
  169     W.startLine() << "}\n";
  385       W.startLine() << "!Unexpected raw auxiliary entry data:\n";
  415       W.startLine() << "!Unexpected raw auxiliary entry data:\n";
tools/llvm-readobj/llvm-readobj.cpp
  369   errs() << "\n";
  370   WithColor::error(errs(), ToolName) << Msg << "\n";
  393         errs() << "\n";
  394         WithColor::warning(errs(), ToolName) << EI.message() << "\n";
  449     Writer.startLine() << "\n";
tools/llvm-reduce/deltas/Delta.cpp
   30     errs() << "Error making unique filename: " << EC.message() << "!\n";
   30     errs() << "Error making unique filename: " << EC.message() << "!\n";
   38     errs() << "Error emitting bitcode to file '" << CurrentFilepath << "'!\n";
   38     errs() << "Error emitting bitcode to file '" << CurrentFilepath << "'!\n";
   61   errs() << "Increasing granularity...";
   77     errs() << "Success! New Chunks:\n";
   96     errs() << "\nNothing to reduce\n";
  103       errs() << "\nInput isn't interesting! Verify interesting-ness test\n";
  113     errs() << "\nAlready at minimum size. Cannot reduce anymore.\n";
  134       errs() << "Ignoring: ";
  143         errs() << "\n";
  149       errs() << " **** SUCCESS | lines: " << getLines(CurrentFilepath) << "\n";
  149       errs() << " **** SUCCESS | lines: " << getLines(CurrentFilepath) << "\n";
  161   errs() << "Couldn't increase anymore.\n";
tools/llvm-reduce/deltas/Delta.h
   33     errs() << "[" << begin;
   35       errs() << "," << end;
   36     errs() << "]";
tools/llvm-reduce/deltas/ReduceArguments.cpp
  106   outs() << "----------------------------\n";
  107   outs() << "Param Index Reference:\n";
  111       outs() << "  " << F.getName() << "\n";
  111       outs() << "  " << F.getName() << "\n";
  113         outs() << "\t" << ++ArgsCount << ": " << A.getName() << "\n";
  113         outs() << "\t" << ++ArgsCount << ": " << A.getName() << "\n";
  113         outs() << "\t" << ++ArgsCount << ": " << A.getName() << "\n";
  115       outs() << "----------------------------\n";
  122   outs() << "*** Reducing Arguments...\n";
tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp
  129   outs() << "----------------------------\n";
  134         outs() << "\t" << ++BBCount << ": " << BB.getName() << "\n";
  134         outs() << "\t" << ++BBCount << ": " << BB.getName() << "\n";
  134         outs() << "\t" << ++BBCount << ": " << BB.getName() << "\n";
  136         outs() << "\t" << ++BBCount << ": Unnamed\n";
  136         outs() << "\t" << ++BBCount << ": Unnamed\n";
  143   outs() << "*** Reducing Basic Blocks...\n";
tools/llvm-reduce/deltas/ReduceFunctions.cpp
   62   errs() << "----------------------------\n";
   63   errs() << "Function Index Reference:\n";
   66     errs() << "\t" << ++FunctionCount << ": " << F.getName() << "\n";
   66     errs() << "\t" << ++FunctionCount << ": " << F.getName() << "\n";
   66     errs() << "\t" << ++FunctionCount << ": " << F.getName() << "\n";
   68   errs() << "----------------------------\n";
   73   errs() << "*** Reducing Functions...\n";
   76   errs() << "----------------------------\n";
tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
   60   outs() << "----------------------------\n";
   61   outs() << "GlobalVariable Index Reference:\n";
   65       outs() << "\t" << ++GVCount << ": " << GV.getName() << "\n";
   65       outs() << "\t" << ++GVCount << ": " << GV.getName() << "\n";
   65       outs() << "\t" << ++GVCount << ": " << GV.getName() << "\n";
   66   outs() << "----------------------------\n";
   71   outs() << "*** Reducing GVs...\n";
tools/llvm-reduce/deltas/ReduceInstructions.cpp
   51   outs() << "----------------------------\n";
   56   outs() << "Number of instructions: " << InstCount << "\n";
   56   outs() << "Number of instructions: " << InstCount << "\n";
   62   outs() << "*** Reducing Insructions...\n";
tools/llvm-reduce/deltas/ReduceMetadata.cpp
  134   outs() << "*** Reducing Metadata...\n";
  137   outs() << "----------------------------\n";
tools/llvm-reduce/llvm-reduce.cpp
   67     errs() << "Error: " << Filename << " - input module is broken!\n";
   67     errs() << "Error: " << Filename << " - input module is broken!\n";
   91     errs() << "\nCouldnt reduce input :/\n";
  105         errs() << "Error opening output file: " << EC.message() << "!\n";
  105         errs() << "Error opening output file: " << EC.message() << "!\n";
  109       errs() << "\nDone reducing! Reduced testcase: " << OutputFilename << "\n";
  109       errs() << "\nDone reducing! Reduced testcase: " << OutputFilename << "\n";
tools/llvm-rtdyld/llvm-rtdyld.cpp
  165     llvm::dbgs() << "In " << KV.first() << "\n";
  165     llvm::dbgs() << "In " << KV.first() << "\n";
  167       llvm::dbgs() << "  \"" << KV2.first() << "\" -> " << KV2.second << "\n";
  167       llvm::dbgs() << "  \"" << KV2.first() << "\" -> " << KV2.second << "\n";
  167       llvm::dbgs() << "  \"" << KV2.first() << "\" -> " << KV2.second << "\n";
  290     outs() << "allocateCodeSection(Size = " << Size << ", Alignment = "
  290     outs() << "allocateCodeSection(Size = " << Size << ", Alignment = "
  291            << Alignment << ", SectionName = " << SectionName << ")\n";
  291            << Alignment << ", SectionName = " << SectionName << ")\n";
  318     outs() << "allocateDataSection(Size = " << Size << ", Alignment = "
  318     outs() << "allocateDataSection(Size = " << Size << ", Alignment = "
  319            << Alignment << ", SectionName = " << SectionName << ")\n";
  319            << Alignment << ", SectionName = " << SectionName << ")\n";
  343   errs() << ProgramName << ": error: " << Msg << "\n";
  343   errs() << ProgramName << ": error: " << Msg << "\n";
  343   errs() << ProgramName << ": error: " << Msg << "\n";
  467         outs() << "Function: " << *Name << ", Size = " << Size
  467         outs() << "Function: " << *Name << ", Size = " << Size
  468                << ", Addr = " << Addr << "\n";
  468                << ", Addr = " << Addr << "\n";
  474           outs() << "  Line info @ " << D.first - Addr << ": "
  474           outs() << "  Line info @ " << D.first - Addr << ": "
  475                  << D.second.FileName << ", line:" << D.second.Line << "\n";
  475                  << D.second.FileName << ", line:" << D.second.Line << "\n";
  563   errs() << "loaded '" << EntryPoint << "' at: " << (void*)MainAddress << "\n";
  563   errs() << "loaded '" << EntryPoint << "' at: " << (void*)MainAddress << "\n";
  563   errs() << "loaded '" << EntryPoint << "' at: " << (void*)MainAddress << "\n";
tools/llvm-size/llvm-size.cpp
  112   WithColor::error(errs(), ToolName) << "'" << File << "': " << Message << "\n";
  112   WithColor::error(errs(), ToolName) << "'" << File << "': " << Message << "\n";
  112   WithColor::error(errs(), ToolName) << "'" << File << "': " << Message << "\n";
  121   WithColor::error(errs(), ToolName) << "'" << FileName << "'";
  121   WithColor::error(errs(), ToolName) << "'" << FileName << "'";
  129     errs() << "(" << "???" << ")";
  129     errs() << "(" << "???" << ")";
  129     errs() << "(" << "???" << ")";
  131     errs() << "(" << NameOrErr.get() << ")";
  131     errs() << "(" << NameOrErr.get() << ")";
  134     errs() << " (for architecture " << ArchitectureName << ") ";
  134     errs() << " (for architecture " << ArchitectureName << ") ";
  140   errs() << ": " << Buf << "\n";
  140   errs() << ": " << Buf << "\n";
  149   WithColor::error(errs(), ToolName) << "'" << FileName << "'";
  149   WithColor::error(errs(), ToolName) << "'" << FileName << "'";
  152     errs() << " (for architecture " << ArchitectureName << ") ";
  152     errs() << " (for architecture " << ArchitectureName << ") ";
  158   errs() << ": " << Buf << "\n";
  158   errs() << ": " << Buf << "\n";
  216     fmt << "0x";
  217   fmt << "%" << radix_fmt;
  217   fmt << "%" << radix_fmt;
  225       outs() << "Segment " << Seg.segname << ": "
  225       outs() << "Segment " << Seg.segname << ": "
  225       outs() << "Segment " << Seg.segname << ": "
  228         outs() << " (vmaddr 0x" << format("%" PRIx64, Seg.vmaddr) << " fileoff "
  228         outs() << " (vmaddr 0x" << format("%" PRIx64, Seg.vmaddr) << " fileoff "
  229                << Seg.fileoff << ")";
  230       outs() << "\n";
  236           outs() << "\tSection (" << format("%.16s", &Sec.segname) << ", "
  236           outs() << "\tSection (" << format("%.16s", &Sec.segname) << ", "
  237                  << format("%.16s", &Sec.sectname) << "): ";
  239           outs() << "\tSection " << format("%.16s", &Sec.sectname) << ": ";
  239           outs() << "\tSection " << format("%.16s", &Sec.sectname) << ": ";
  242           outs() << " (addr 0x" << format("%" PRIx64, Sec.addr) << " offset "
  242           outs() << " (addr 0x" << format("%" PRIx64, Sec.addr) << " offset "
  243                  << Sec.offset << ")";
  244         outs() << "\n";
  248         outs() << "\ttotal " << format(fmt.str().c_str(), sec_total) << "\n";
  248         outs() << "\ttotal " << format(fmt.str().c_str(), sec_total) << "\n";
  252       outs() << "Segment " << Seg.segname << ": "
  252       outs() << "Segment " << Seg.segname << ": "
  252       outs() << "Segment " << Seg.segname << ": "
  255         outs() << " (vmaddr 0x" << format("%" PRIx32, Seg.vmaddr) << " fileoff "
  255         outs() << " (vmaddr 0x" << format("%" PRIx32, Seg.vmaddr) << " fileoff "
  256                << Seg.fileoff << ")";
  257       outs() << "\n";
  263           outs() << "\tSection (" << format("%.16s", &Sec.segname) << ", "
  263           outs() << "\tSection (" << format("%.16s", &Sec.segname) << ", "
  264                  << format("%.16s", &Sec.sectname) << "): ";
  266           outs() << "\tSection " << format("%.16s", &Sec.sectname) << ": ";
  266           outs() << "\tSection " << format("%.16s", &Sec.sectname) << ": ";
  270           outs() << " (addr 0x" << format("%" PRIx32, Sec.addr) << " offset "
  270           outs() << " (addr 0x" << format("%" PRIx32, Sec.addr) << " offset "
  271                  << Sec.offset << ")";
  272         outs() << "\n";
  276         outs() << "\ttotal " << format(fmt.str().c_str(), sec_total) << "\n";
  276         outs() << "\ttotal " << format(fmt.str().c_str(), sec_total) << "\n";
  279   outs() << "total " << format(fmt.str().c_str(), total) << "\n";
  279   outs() << "total " << format(fmt.str().c_str(), total) << "\n";
  349     outs() << "__TEXT\t__DATA\t__OBJC\tothers\tdec\thex\n";
  352   outs() << total_text << "\t" << total_data << "\t" << total_objc << "\t"
  352   outs() << total_text << "\t" << total_data << "\t" << total_objc << "\t"
  352   outs() << total_text << "\t" << total_data << "\t" << total_objc << "\t"
  353          << total_others << "\t" << total << "\t" << format("%" PRIx64, total)
  353          << total_others << "\t" << total << "\t" << format("%" PRIx64, total)
  354          << "\t";
  406     fmt << "%-" << max_name_len << "s "
  406     fmt << "%-" << max_name_len << "s "
  407         << "%" << max_size_len << "s "
  407         << "%" << max_size_len << "s "
  408         << "%" << max_addr_len << "s\n";
  408         << "%" << max_addr_len << "s\n";
  417     fmt << "%-" << max_name_len << "s "
  417     fmt << "%-" << max_name_len << "s "
  418         << "%#" << max_size_len << radix_fmt << " "
  418         << "%#" << max_size_len << radix_fmt << " "
  418         << "%#" << max_size_len << radix_fmt << " "
  419         << "%#" << max_addr_len << radix_fmt << "\n";
  419         << "%#" << max_addr_len << radix_fmt << "\n";
  419         << "%#" << max_addr_len << radix_fmt << "\n";
  446     fmt << "%-" << max_name_len << "s "
  446     fmt << "%-" << max_name_len << "s "
  447         << "%#" << max_size_len << radix_fmt << "\n";
  447         << "%#" << max_size_len << radix_fmt << "\n";
  447         << "%#" << max_size_len << radix_fmt << "\n";
  484       outs() << "   text\t"
  488              << (Radix == octal ? "oct" : "dec")
  489              << "\t"
  496     fmt << "%#7" << radix_fmt << "\t"
  496     fmt << "%#7" << radix_fmt << "\t"
  496     fmt << "%#7" << radix_fmt << "\t"
  497         << "%#7" << radix_fmt << "\t"
  497         << "%#7" << radix_fmt << "\t"
  497         << "%#7" << radix_fmt << "\t"
  498         << "%#7" << radix_fmt << "\t";
  498         << "%#7" << radix_fmt << "\t";
  498         << "%#7" << radix_fmt << "\t";
  501     fmt << "%7" << (Radix == octal ? PRIo64 : PRIu64) << "\t"
  501     fmt << "%7" << (Radix == octal ? PRIo64 : PRIu64) << "\t"
  501     fmt << "%7" << (Radix == octal ? PRIo64 : PRIu64) << "\t"
  502         << "%7" PRIx64 "\t";
  564           outs() << o->getFileName() << "   (ex " << a->getFileName() << "):\n";
  564           outs() << o->getFileName() << "   (ex " << a->getFileName() << "):\n";
  566           outs() << a->getFileName() << "(" << o->getFileName() << "):\n";
  566           outs() << a->getFileName() << "(" << o->getFileName() << "):\n";
  570             outs() << a->getFileName() << "(" << o->getFileName() << ")\n";
  570             outs() << a->getFileName() << "(" << o->getFileName() << ")\n";
  572             outs() << o->getFileName() << " (ex " << a->getFileName() << ")\n";
  572             outs() << o->getFileName() << " (ex " << a->getFileName() << ")\n";
  596                   outs() << o->getFileName() << "  :\n";
  599                     outs() << o->getFileName() << " (for architecture "
  600                            << I->getArchFlagName() << "): \n";
  605                     outs() << o->getFileName() << " (for architecture "
  606                            << I->getArchFlagName() << ")";
  607                   outs() << "\n";
  634                     outs() << o->getFileName() << "   (ex " << UA->getFileName()
  635                            << "):\n";
  637                     outs() << UA->getFileName() << "(" << o->getFileName()
  638                            << ")"
  639                            << " (for architecture " << I->getArchFlagName()
  640                            << "):\n";
  644                       outs() << UA->getFileName() << "(" << o->getFileName()
  645                              << ")";
  647                         outs() << " (for architecture " << I->getArchFlagName()
  648                                << ")";
  649                       outs() << "\n";
  651                       outs() << o->getFileName() << " (ex " << UA->getFileName()
  652                              << ")\n";
  687                 outs() << o->getFileName() << "  :\n";
  690                   outs() << o->getFileName() << " (for architecture "
  691                          << I->getArchFlagName() << "):\n";
  696                   outs() << o->getFileName() << " (for architecture "
  697                          << I->getArchFlagName() << ")";
  698                 outs() << "\n";
  721                   outs() << o->getFileName() << "   (ex " << UA->getFileName()
  722                          << "):\n";
  724                   outs() << UA->getFileName() << "(" << o->getFileName() << ")"
  724                   outs() << UA->getFileName() << "(" << o->getFileName() << ")"
  725                          << " (for architecture " << I->getArchFlagName()
  726                          << "):\n";
  730                     outs() << UA->getFileName() << "(" << o->getFileName()
  731                            << ")\n";
  733                     outs() << o->getFileName() << " (ex " << UA->getFileName()
  734                            << ")\n";
  762             outs() << o->getFileName() << "  :\n";
  765               outs() << o->getFileName() << " (for architecture "
  766                      << I->getArchFlagName() << "):";
  767             outs() << "\n";
  772               outs() << o->getFileName() << " (for architecture "
  773                      << I->getArchFlagName() << ")";
  774             outs() << "\n";
  798               outs() << o->getFileName() << "   (ex " << UA->getFileName()
  799                      << "):\n";
  801               outs() << UA->getFileName() << "(" << o->getFileName() << ")"
  801               outs() << UA->getFileName() << "(" << o->getFileName() << ")"
  802                      << " (for architecture " << I->getArchFlagName() << "):\n";
  802                      << " (for architecture " << I->getArchFlagName() << "):\n";
  806                 outs() << UA->getFileName() << "(" << o->getFileName() << ")"
  806                 outs() << UA->getFileName() << "(" << o->getFileName() << ")"
  807                        << " (for architecture " << I->getArchFlagName()
  808                        << ")\n";
  810                 outs() << o->getFileName() << " (ex " << UA->getFileName()
  811                        << ")\n";
  830       outs() << o->getFileName() << "  :\n";
  832       outs() << o->getFileName() << ":\n";
  837       outs() << "\n";
  844     outs() << "\n";
  851   fmt << "%#7" << radix_fmt << "\t"
  851   fmt << "%#7" << radix_fmt << "\t"
  851   fmt << "%#7" << radix_fmt << "\t"
  852       << "%#7" << radix_fmt << "\t"
  852       << "%#7" << radix_fmt << "\t"
  852       << "%#7" << radix_fmt << "\t"
  853       << "%#7" << radix_fmt << "\t";
  853       << "%#7" << radix_fmt << "\t";
  853       << "%#7" << radix_fmt << "\t";
  857   fmt << "%7" << (Radix == octal ? PRIo64 : PRIu64) << "\t"
  857   fmt << "%7" << (Radix == octal ? PRIo64 : PRIu64) << "\t"
  857   fmt << "%7" << (Radix == octal ? PRIo64 : PRIu64) << "\t"
  858       << "%7" PRIx64 "\t";
  860          << "(TOTALS)\n";
  879         outs() << ToolName << ": for the -arch option: Unknown architecture "
  880                << "named '" << Arch << "'";
  880                << "named '" << Arch << "'";
tools/llvm-strings/llvm-strings.cpp
   65       OS << FileName << ": ";
  102     errs() << "invalid minimum string length 0\n";
  113       errs() << File << ": " << EC.message() << '\n';
tools/llvm-symbolizer/llvm-symbolizer.cpp
  230     outs() << "0x";
  247         outs() << "??\n";
  269     outs() << "\n";
  307       errs() << "Warning: invalid dSYM hint: \"" << hint <<
  307       errs() << "Warning: invalid dSYM hint: \"" << hint <<
tools/llvm-undname/llvm-undname.cpp
   68     outs() << ResultBuf << "\n";
   68     outs() << ResultBuf << "\n";
   71     WithColor::error() << "Invalid mangled name\n";
   86       WithColor::error() << "Could not open input file \'" << RawFile
   87                          << "\': " << EC.message() << '\n';
  111         outs() << Line << "\n";
  116       outs() << "\n";
  120       outs() << S << "\n";
  124       outs() << "\n";
tools/llvm-xray/xray-account.cpp
  336   OS << "Functions with latencies: " << FunctionLatencies.size() << "\n";
  336   OS << "Functions with latencies: " << FunctionLatencies.size() << "\n";
  366        << "  " << Row.DebugInfo << ": " << Row.Function << "\n";
  366        << "  " << Row.DebugInfo << ": " << Row.Function << "\n";
  366        << "  " << Row.DebugInfo << ": " << Row.Function << "\n";
  372   OS << "funcid,count,min,median,90%ile,99%ile,max,sum,debug,function\n";
  375        << Row.Pct90 << ',' << Row.Pct99 << ',' << Row.Max << "," << Row.Sum
  376        << ",\"" << Row.DebugInfo << "\",\"" << Row.Function << "\"\n";
  376        << ",\"" << Row.DebugInfo << "\",\"" << Row.Function << "\"\n";
  376        << ",\"" << Row.DebugInfo << "\",\"" << Row.Function << "\"\n";
  388       Stream << "enter";
  391       Stream << "enter-arg";
  394       Stream << "exit";
  397       Stream << "tail-exit";
  400       Stream << "custom-event";
  403       Stream << "typed-event";
  447         << "Error processing record: "
  454       errs() << "Thread ID: " << ThreadStack.first << "\n";
  454       errs() << "Thread ID: " << ThreadStack.first << "\n";
  456         errs() << "  (empty stack)\n";
  461         errs() << "  #" << Level-- << "\t"
  461         errs() << "  #" << Level-- << "\t"
tools/llvm-xray/xray-converter.cpp
  249   OS << "    ";
  278   OS << "{\n  \"traceEvents\": [";
  286       OS << "\n";
  288       OS << ",\n";
  327           OS << ",\n";
  338   OS << "\n  ],\n"; // Close the Trace Events array.
  339   OS << "  "
  340      << "\"displayTimeUnit\": \"ns\",\n";
  344   OS << R"(  "stackFrames": {)";
  348       OS << "\n";
  350       OS << ",\n";
  351     OS << "    ";
  359     OS << " }";
  361   OS << "\n  }\n"; // Close the stack frames map.
  362   OS << "}\n";     // Close the JSON entry.
tools/llvm-xray/xray-graph-diff.cpp
  386   OS << "digraph xrayDiff {\n";
  389     OS << "node [shape=record]\n";
  417   OS << "}\n";
tools/llvm-xray/xray-graph.cpp
  386   OS << "digraph xray {\n";
  389     OS << "node [shape=record];\n";
  393     OS << "F" << E.first.first << " -> "
  393     OS << "F" << E.first.first << " -> "
  394        << "F" << E.first.second << " [label=\"" << S.getString(ET) << "\"";
  394        << "F" << E.first.second << " [label=\"" << S.getString(ET) << "\"";
  394        << "F" << E.first.second << " [label=\"" << S.getString(ET) << "\"";
  396       OS << " color=\""
  399          << "\"";
  400     OS << "];\n";
  407     OS << "F" << V.first << " [label=\"" << (VT != StatType::NONE ? "{" : "")
  407     OS << "F" << V.first << " [label=\"" << (VT != StatType::NONE ? "{" : "")
  407     OS << "F" << V.first << " [label=\"" << (VT != StatType::NONE ? "{" : "")
  411       OS << "|" << VA.S.getString(VT) << "}\"";
  411       OS << "|" << VA.S.getString(VT) << "}\"";
  413       OS << "\"";
  415       OS << " color=\""
  418          << "\"";
  419     OS << "];\n";
  421   OS << "}\n";
  452       errs() << "Thread ID: " << ThreadStack.first << "\n";
  452       errs() << "Thread ID: " << ThreadStack.first << "\n";
  455         errs() << "#" << Level-- << "\t"
  455         errs() << "#" << Level-- << "\t"
tools/llvm-xray/xray-stacks.cpp
  478     OS << "\n";
  484       OS << "Thread " << iter.first << ":\n";
  484       OS << "Thread " << iter.first << ":\n";
  486       OS << "\n";
  590       OS << "thread_" << ThreadId << ";";
  590       OS << "thread_" << ThreadId << ";";
  596       OS << Converter.SymbolOrNumber(lineage.back()->FuncId) << ";";
  599     OS << " " << GetValueForStack<AggType>(Node) << "\n";
  599     OS << " " << GetValueForStack<AggType>(Node) << "\n";
  658     OS << "\n";
  659     OS << "Unique Stacks: " << UniqueStacks << "\n";
  659     OS << "Unique Stacks: " << UniqueStacks << "\n";
  660     OS << "Top 10 Stacks by leaf sum:\n\n";
  662       OS << "Sum: " << P.second << "\n";
  662       OS << "Sum: " << P.second << "\n";
  665     OS << "\n";
  666     OS << "Top 10 Stacks by leaf count:\n\n";
  668       OS << "Count: " << P.second << "\n";
  668       OS << "Count: " << P.second << "\n";
  671     OS << "\n";
tools/obj2yaml/obj2yaml.cpp
   62   errs() << "Error reading file: " << Input << ": " << ErrMsg;
   62   errs() << "Error reading file: " << Input << ": " << ErrMsg;
tools/opt/AnalysisWrappers.cpp
   51               errs() << "Function '" << I->getName() << "':\n";
   51               errs() << "Function '" << I->getName() << "':\n";
tools/opt/BreakpointPrinter.cpp
   55           Out << Name << "\n";
tools/opt/Debugify.cpp
   67     dbg() << Banner << "Skipping module with debug info\n";
  201     dbg() << "ERROR: dbg.value operand has size " << ValueOperandSize
  202           << ", but its variable has size " << *DbgVarSize << ": ";
  202           << ", but its variable has size " << *DbgVarSize << ": ";
  204     dbg() << "\n";
  216     dbg() << Banner << "Skipping module without debugify metadata\n";
  253         dbg() << "ERROR: Instruction with empty DebugLoc in function ";
  254         dbg() << F.getName() << " --";
  256         dbg() << "\n";
  279     dbg() << "WARNING: Missing line " << Idx + 1 << "\n";
  279     dbg() << "WARNING: Missing line " << Idx + 1 << "\n";
  282     dbg() << "WARNING: Missing variable " << Idx + 1 << "\n";
  282     dbg() << "WARNING: Missing variable " << Idx + 1 << "\n";
  294     dbg() << " [" << NameOfWrappedPass << "]";
  294     dbg() << " [" << NameOfWrappedPass << "]";
  295   dbg() << ": " << (HasErrors ? "FAIL" : "PASS") << '\n';
  295   dbg() << ": " << (HasErrors ? "FAIL" : "PASS") << '\n';
  402     errs() << "Could not open file: " << EC.message() << ", " << Path << '\n';
  402     errs() << "Could not open file: " << EC.message() << ", " << Path << '\n';
  406   OS << "Pass Name" << ',' << "# of missing debug values" << ','
  406   OS << "Pass Name" << ',' << "# of missing debug values" << ','
  407      << "# of missing locations" << ',' << "Missing/Expected value ratio" << ','
  407      << "# of missing locations" << ',' << "Missing/Expected value ratio" << ','
  408      << "Missing/Expected location ratio" << '\n';
tools/opt/NewPMDriver.cpp
  126     errs() << "Could not parse -" << PipelineOpt.ArgStr
  127            << " pipeline: " << toString(std::move(Err))
  128            << "... I'm going to ignore it.\n";
  244         errs() << "CSPGOKind cannot be used with IRInstr or SampleUse";
  247           errs() << "CSInstrGen needs to specify CSProfileGenFile";
  256           errs() << "CSInstrUse needs to be together with InstrUse";
  271       errs() << "Failed to load passes from '" << PluginFN
  272              << "'. Request ignored.\n";
  301     errs() << Arg0 << ": " << toString(std::move(Err)) << "\n";
  301     errs() << Arg0 << ": " << toString(std::move(Err)) << "\n";
  328     errs() << Arg0 << ": " << toString(std::move(Err)) << "\n";
  328     errs() << Arg0 << ": " << toString(std::move(Err)) << "\n";
tools/opt/PassPrinters.cpp
   46       Out << "Printing analysis '" << PassToPrint->getPassName()
   47           << "' for function '" << F.getName() << "':\n";
   47           << "' for function '" << F.getName() << "':\n";
   79       Out << "Printing analysis '" << PassToPrint->getPassName() << "':\n";
   79       Out << "Printing analysis '" << PassToPrint->getPassName() << "':\n";
  116       Out << "Printing analysis '" << PassToPrint->getPassName() << "':\n";
  116       Out << "Printing analysis '" << PassToPrint->getPassName() << "':\n";
  148       Out << "Printing analysis '" << PassToPrint->getPassName() << "':\n";
  148       Out << "Printing analysis '" << PassToPrint->getPassName() << "':\n";
  181       Out << "Printing analysis '" << PassToPrint->getPassName() << "' for "
  181       Out << "Printing analysis '" << PassToPrint->getPassName() << "' for "
  182           << "region: '" << R->getNameStr() << "' in function '"
  182           << "region: '" << R->getNameStr() << "' in function '"
  183           << R->getEntry()->getParent()->getName() << "':\n";
  216       Out << "Printing Analysis info for BasicBlock '" << BB.getName()
  217           << "': Pass " << PassToPrint->getPassName() << ":\n";
  217           << "': Pass " << PassToPrint->getPassName() << ":\n";
tools/opt/PrintSCC.cpp
   75   errs() << "SCCs for Function " << F.getName() << " in PostOrder:";
   75   errs() << "SCCs for Function " << F.getName() << " in PostOrder:";
   78     errs() << "\nSCC #" << ++sccNum << " : ";
   78     errs() << "\nSCC #" << ++sccNum << " : ";
   81       errs() << (*I)->getName() << ", ";
   83       errs() << " (Has self-loop).";
   85   errs() << "\n";
   95   errs() << "SCCs for the program in PostOrder:";
   99     errs() << "\nSCC #" << ++sccNum << " : ";
   99     errs() << "\nSCC #" << ++sccNum << " : ";
  103                                      : "external node") << ", ";
  105       errs() << " (Has self-loop).";
  107   errs() << "\n";
tools/opt/opt.cpp
  547     errs() << argv[0] << ": analyze mode conflicts with no-output mode.\n";
  547     errs() << argv[0] << ": analyze mode conflicts with no-output mode.\n";
  596     errs() << argv[0] << ": " << InputFilename
  596     errs() << argv[0] << ": " << InputFilename
  597            << ": error: input module is broken!\n";
  606       errs() << "WARNING: The -o (output filename) option is ignored when\n"
  643     errs() << argv[0] << ": unrecognized architecture '"
  643     errs() << argv[0] << ": unrecognized architecture '"
  644            << ModuleTriple.getArchName() << "' provided.\n";
  785       errs() << argv[0] << ": cannot create pass: "
  785       errs() << argv[0] << ": cannot create pass: "
  786              << PassInf->getPassName() << "\n";
  911           << "Running the pass manager twice changed the output.\n"
tools/polly/lib/Analysis/DependenceInfo.cpp
  305                  << "last error: "
  316   LLVM_DEBUG(dbgs() << "Scop: \n" << S << "\n");
  316   LLVM_DEBUG(dbgs() << "Scop: \n" << S << "\n");
  323   LLVM_DEBUG(dbgs() << "Read: " << Read << '\n';
  324              dbgs() << "MustWrite: " << MustWrite << '\n';
  325              dbgs() << "MayWrite: " << MayWrite << '\n';
  326              dbgs() << "ReductionTagMap: " << ReductionTagMap << '\n';
  327              dbgs() << "TaggedStmtDomain: " << TaggedStmtDomain << '\n';);
  364   LLVM_DEBUG(dbgs() << "Read: " << Read << "\n";
  364   LLVM_DEBUG(dbgs() << "Read: " << Read << "\n";
  365              dbgs() << "MustWrite: " << MustWrite << "\n";
  365              dbgs() << "MustWrite: " << MustWrite << "\n";
  366              dbgs() << "MayWrite: " << MayWrite << "\n";
  366              dbgs() << "MayWrite: " << MayWrite << "\n";
  367              dbgs() << "Schedule: " << Schedule << "\n");
  367              dbgs() << "Schedule: " << Schedule << "\n");
  509     dbgs() << "Wrapped Dependences:\n";
  511     dbgs() << "\n";
  558     dbgs() << "Final Wrapped Dependences:\n";
  560     dbgs() << "\n";
  608     dbgs() << "Zipped Dependences:\n";
  610     dbgs() << "\n";
  620     dbgs() << "Unwrapped Dependences:\n";
  622     dbgs() << "\n";
  743     OS << DM << "\n";
  745     OS << "n/a\n";
  749   OS << "\tRAW dependences:\n\t\t";
  751   OS << "\tWAR dependences:\n\t\t";
  753   OS << "\tWAW dependences:\n\t\t";
  755   OS << "\tReduction dependences:\n\t\t";
  757   OS << "\tTransitive closure of reduction dependences:\n\t\t";
tools/polly/lib/Analysis/PolyhedralInfo.cpp
   63       OS.indent(2) << L->getHeader()->getName() << ":\t";
   65         OS << "Loop is parallel.\n";
   67         OS << "Loop is not parallel.\n";
   81   LLVM_DEBUG(dbgs() << "Loop :\t" << L->getHeader()->getName() << ":\n");
   81   LLVM_DEBUG(dbgs() << "Loop :\t" << L->getHeader()->getName() << ":\n");
   88   LLVM_DEBUG(dbgs() << "Dependences :\t" << stringFromIslObj(Deps) << "\n");
   88   LLVM_DEBUG(dbgs() << "Dependences :\t" << stringFromIslObj(Deps) << "\n");
   91   LLVM_DEBUG(dbgs() << "Schedule: \t" << stringFromIslObj(Schedule) << "\n");
   91   LLVM_DEBUG(dbgs() << "Schedule: \t" << stringFromIslObj(Schedule) << "\n");
  127   LLVM_DEBUG(dbgs() << "Relative loop depth:\t" << CurrDim << "\n");
  127   LLVM_DEBUG(dbgs() << "Relative loop depth:\t" << CurrDim << "\n");
  134       LLVM_DEBUG(dbgs() << "Maximum depth of Stmt:\t" << MaxDim << "\n");
  134       LLVM_DEBUG(dbgs() << "Maximum depth of Stmt:\t" << MaxDim << "\n");
tools/polly/lib/Analysis/PruneUnprofitable.cpp
   75           dbgs() << "NOTE: -polly-process-unprofitable active, won't prune "
   84           dbgs() << "SCoP pruned because it probably cannot be optimized in "
tools/polly/lib/Analysis/ScopBuilder.cpp
 2823     errs() << "Error: the context provided in -polly-context has not the same "
 2824            << "number of dimensions than the computed context. Due to this "
 2825            << "mismatch, the -polly-context option is ignored. Please provide "
 2826            << "the context in the parameter space: " << SpaceStr << ".\n";
 2826            << "the context in the parameter space: " << SpaceStr << ".\n";
 2837       errs() << "Error: the name of dimension " << i
 2838              << " provided in -polly-context "
 2839              << "is '" << NameUserContext << "', but the name in the computed "
 2839              << "is '" << NameUserContext << "', but the name in the computed "
 2840              << "context is '" << NameContext
 2841              << "'. Due to this name mismatch, "
 2842              << "the -polly-context option is ignored. Please provide "
 2843              << "the context in the parameter space: " << SpaceStr << ".\n";
 2843              << "the context in the parameter space: " << SpaceStr << ".\n";
 3341       dbgs() << "\n\nNOTE: Run time checks for " << scop->getNameStr()
 3342              << " could not be created as the number of parameters involved "
 3666         dbgs() << "Bailing-out because buildDomains encountered problems\n");
 3685     LLVM_DEBUG(dbgs() << "Bailing-out because SCoP is empty\n");
 3702     LLVM_DEBUG(dbgs() << "Bailing-out because of unfeasible context (early)\n");
 3711         dbgs() << "Bailing-out because SCoP is not considered profitable\n");
 3729     LLVM_DEBUG(dbgs() << "Bailing-out because could not build alias checks\n");
 3741     LLVM_DEBUG(dbgs() << "Bailing-out because of unfeasible context (late)\n");
 3770     LLVM_DEBUG(dbgs() << "SCoP detected but dismissed\n");
tools/polly/lib/Analysis/ScopDetection.cpp
  394     LLVM_DEBUG(dbgs() << "\n");
  687     LLVM_DEBUG(dbgs() << "Allow call to debug function: "
 1393   LLVM_DEBUG(dbgs() << "\tExpanding " << R.getNameStr() << "\n");
 1393   LLVM_DEBUG(dbgs() << "\tExpanding " << R.getNameStr() << "\n");
 1400     LLVM_DEBUG(dbgs() << "\t\tTrying " << ExpandedRegion->getNameStr() << "\n");
 1400     LLVM_DEBUG(dbgs() << "\t\tTrying " << ExpandedRegion->getNameStr() << "\n");
 1436       dbgs() << "\tto " << LastValidRegion->getNameStr() << "\n";
 1436       dbgs() << "\tto " << LastValidRegion->getNameStr() << "\n";
 1438       dbgs() << "\tExpanding " << R.getNameStr() << " failed\n";
 1438       dbgs() << "\tExpanding " << R.getNameStr() << " failed\n";
 1640   LLVM_DEBUG(dbgs() << "Checking region: " << CurRegion.getNameStr() << "\n\t");
 1640   LLVM_DEBUG(dbgs() << "Checking region: " << CurRegion.getNameStr() << "\n\t");
 1643     LLVM_DEBUG(dbgs() << "Top level region is invalid\n");
 1650     LLVM_DEBUG(dbgs() << "Unreachable in exit\n");
 1657       dbgs() << "Region entry does not match -polly-region-only";
 1658       dbgs() << "\n";
 1677   LLVM_DEBUG(dbgs() << "OK\n");
 1875     OS << "Valid Region for Scop: " << R->getNameStr() << '\n';
 1877   OS << "\n";
 1910   OS << "Detected Scops in Function " << F.getName() << "\n";
 1910   OS << "Detected Scops in Function " << F.getName() << "\n";
 1913     OS << "Valid Region for Scop: " << R->getNameStr() << '\n';
 1915   OS << "\n";
tools/polly/lib/Analysis/ScopDetectionDiagnostic.cpp
   90   fmt << RHS;
  184     OS.indent(level) << "[" << j++ << "] " << Reason->getMessage() << "\n";
  184     OS.indent(level) << "[" << j++ << "] " << Reason->getMessage() << "\n";
  184     OS.indent(level) << "[" << j++ << "] " << Reason->getMessage() << "\n";
  627       OS << "\" <unknown> \"";
  629       OS << "\"" << V->getName() << "\"";
  629       OS << "\"" << V->getName() << "\"";
  634       OS << ", ";
tools/polly/lib/Analysis/ScopGraphPrinter.cpp
  141     O.indent(2 * depth) << "subgraph cluster_" << static_cast<const void *>(R)
  142                         << " {\n";
  157         << "label = \"" << Location << ErrorMessage << "\";\n";
  157         << "label = \"" << Location << ErrorMessage << "\";\n";
  160       O.indent(2 * (depth + 1)) << "style = filled;\n";
  163       O.indent(2 * (depth + 1)) << "color = 3";
  165       O.indent(2 * (depth + 1)) << "style = solid;\n";
  173       O.indent(2 * (depth + 1)) << "color = " << color << "\n";
  173       O.indent(2 * (depth + 1)) << "color = " << color << "\n";
  184             << "Node"
  186             << ";\n";
  188     O.indent(2 * depth) << "}\n";
  194     O << "\tcolorscheme = \"paired12\"\n";
tools/polly/lib/Analysis/ScopInfo.cpp
  367   OS.indent(8) << *getElementType() << " " << getName();
  375     OS << "[*]";
  379     OS << "[";
  383       OS << " " << Size << " ";
  383       OS << " " << Size << " ";
  388     OS << "]";
  391   OS << ";";
  394     OS << " [BasePtrOrigin: " << BasePtrOriginSAI->getName() << "]";
  394     OS << " [BasePtrOrigin: " << BasePtrOriginSAI->getName() << "]";
  396   OS << " // Element size " << getElemSizeInBytes() << "\n";
  396   OS << " // Element size " << getElemSizeInBytes() << "\n";
  939     OS << "NONE";
  950     OS.indent(12) << "ReadAccess :=\t";
  953     OS.indent(12) << "MustWriteAccess :=\t";
  956     OS.indent(12) << "MayWriteAccess :=\t";
  960   OS << "[Reduction Type: " << getReductionType() << "] ";
  960   OS << "[Reduction Type: " << getReductionType() << "] ";
  963     OS << "[Fortran array descriptor: " << FAD->getName();
  964     OS << "] ";
  967   OS << "[Scalar: " << isScalarKind() << "]\n";
  967   OS << "[Scalar: " << isScalarKind() << "]\n";
  968   OS.indent(16) << getOriginalAccessRelationStr() << ";\n";
  970     OS.indent(11) << "new: " << getNewAccessRelationStr() << ";\n";
  970     OS.indent(11) << "new: " << getNewAccessRelationStr() << ";\n";
 1259   OS << "Instructions {\n";
 1262     OS.indent(16) << *Inst << "\n";
 1264   OS.indent(12) << "}\n";
 1268   OS << "\t" << getBaseName() << "\n";
 1268   OS << "\t" << getBaseName() << "\n";
 1268   OS << "\t" << getBaseName() << "\n";
 1269   OS.indent(12) << "Domain :=\n";
 1272     OS.indent(16) << getDomainStr() << ";\n";
 1274     OS.indent(16) << "n/a\n";
 1276   OS.indent(12) << "Schedule :=\n";
 1279     OS.indent(16) << getScheduleStr() << ";\n";
 1281     OS.indent(16) << "n/a\n";
 1485     OS << "_" << Op->getValue();
 2127   LLVM_DEBUG(dbgs() << "Invalidate SCoP because of reason " << Kind << "\n");
 2127   LLVM_DEBUG(dbgs() << "Invalidate SCoP because of reason " << Kind << "\n");
 2134   OS << "Context:\n";
 2135   OS.indent(4) << Context << "\n";
 2137   OS.indent(4) << "Assumed Context:\n";
 2138   OS.indent(4) << AssumedContext << "\n";
 2140   OS.indent(4) << "Invalid Context:\n";
 2141   OS.indent(4) << InvalidContext << "\n";
 2145     OS.indent(4) << "p" << Dim++ << ": " << *Parameter << "\n";
 2145     OS.indent(4) << "p" << Dim++ << ": " << *Parameter << "\n";
 2145     OS.indent(4) << "p" << Dim++ << ": " << *Parameter << "\n";
 2157   OS.indent(4) << "Alias Groups (" << noOfGroups << "):\n";
 2157   OS.indent(4) << "Alias Groups (" << noOfGroups << "):\n";
 2159     OS.indent(8) << "n/a\n";
 2167       OS.indent(8) << "[[";
 2169         OS << " <" << MMANonReadOnly.first << ", " << MMANonReadOnly.second
 2169         OS << " <" << MMANonReadOnly.first << ", " << MMANonReadOnly.second
 2170            << ">";
 2172       OS << " ]]\n";
 2176       OS.indent(8) << "[[";
 2177       OS << " <" << MMAReadOnly.first << ", " << MMAReadOnly.second << ">";
 2177       OS << " <" << MMAReadOnly.first << ", " << MMAReadOnly.second << ">";
 2177       OS << " <" << MMAReadOnly.first << ", " << MMAReadOnly.second << ">";
 2179         OS << " <" << MMANonReadOnly.first << ", " << MMANonReadOnly.second
 2179         OS << " <" << MMANonReadOnly.first << ", " << MMANonReadOnly.second
 2180            << ">";
 2182       OS << " ]]\n";
 2188   OS << "Statements {\n";
 2195   OS.indent(4) << "}\n";
 2199   OS << "Arrays {\n";
 2204   OS.indent(4) << "}\n";
 2206   OS.indent(4) << "Arrays (Bounds as pw_affs) {\n";
 2211   OS.indent(4) << "}\n";
 2215   OS.indent(4) << "Function: " << getFunction().getName() << "\n";
 2215   OS.indent(4) << "Function: " << getFunction().getName() << "\n";
 2216   OS.indent(4) << "Region: " << getNameStr() << "\n";
 2216   OS.indent(4) << "Region: " << getNameStr() << "\n";
 2217   OS.indent(4) << "Max Loop Depth:  " << getMaxLoopDepth() << "\n";
 2217   OS.indent(4) << "Max Loop Depth:  " << getMaxLoopDepth() << "\n";
 2218   OS.indent(4) << "Invariant Accesses: {\n";
 2222       OS.indent(12) << "Class Pointer: " << *IAClass.IdentifyingPointer << "\n";
 2222       OS.indent(12) << "Class Pointer: " << *IAClass.IdentifyingPointer << "\n";
 2225       OS.indent(12) << "Execution Context: " << IAClass.ExecutionContext
 2226                     << "\n";
 2229   OS.indent(4) << "}\n";
 2697     OS << "Invalid Scop!\n";
 2788       Stream << "Invalid Scop!\n";
 2824       OS << "Invalid Scop!\n";
tools/polly/lib/CodeGen/CodeGeneration.cpp
   90     errs() << "== ISL Codegen created an invalid function ==\n\n== The "
   93     errs() << "\n== The isl AST ==\n";
   95     errs() << "\n== The invalid function ==\n";
  185     LLVM_DEBUG(dbgs() << "Got an IstAst for a different Scop/isl_ctx\n");
tools/polly/lib/CodeGen/CodegenCleanup.cpp
  121                  << ": Skipping cleanup because Polly did not optimize it.");
  125     LLVM_DEBUG(dbgs() << F.getName() << ": Running codegen cleanup...");
tools/polly/lib/CodeGen/IslAst.cpp
  725   OS << ":: isl ast :: " << F.getName() << " :: " << S.getNameStr() << "\n";
  725   OS << ":: isl ast :: " << F.getName() << " :: " << S.getNameStr() << "\n";
  725   OS << ":: isl ast :: " << F.getName() << " :: " << S.getNameStr() << "\n";
  728     OS << ":: isl ast generation and code generation was skipped!\n\n";
  729     OS << ":: This is either because no useful optimizations could be applied "
  759     dbgs() << S.getContextStr() << "\n";
  762   OS << "\nif (" << RtCStr << ")\n\n";
  762   OS << "\nif (" << RtCStr << ")\n\n";
  762   OS << "\nif (" << RtCStr << ")\n\n";
  763   OS << AstStr << "\n";
  763   OS << AstStr << "\n";
  764   OS << "else\n";
  765   OS << "    {  /* original code */ }\n\n";
  799         dbgs() << "Got dependence analysis for different SCoP/isl_ctx\n");
tools/polly/lib/CodeGen/LoopGeneratorsGOMP.cpp
   96     errs() << "warning: Polly's GNU OpenMP backend solely "
  102     errs() << "warning: Polly's GNU OpenMP backend solely "
tools/polly/lib/Exchange/JSONExporter.cpp
  184   errs() << "Writing JScop '" << S.getNameStr() << "' in function '"
  184   errs() << "Writing JScop '" << S.getNameStr() << "' in function '"
  185          << FunctionName << "' to '" << FileName << "'.\n";
  185          << FunctionName << "' to '" << FileName << "'.\n";
  191       errs() << "\n";
  197   errs() << "  error opening file for writing!\n";
  214     errs() << "JScop file has no key named 'context'.\n";
  223     errs() << "The context was not parsed successfully by ISL.\n";
  229     errs() << "The isl_set is not a parameter set.\n";
  238     errs() << "Imported context has the wrong number of parameters : "
  239            << "Found " << NewContextDim << " Expected " << OldContextDim
  239            << "Found " << NewContextDim << " Expected " << OldContextDim
  240            << "\n";
  269     errs() << "JScop file has no key name 'statements'.\n";
  277     errs() << "The number of indices and the number of statements differ.\n";
  285       errs() << "Statement " << Index << " has no 'schedule' key.\n";
  285       errs() << "Statement " << Index << " has no 'schedule' key.\n";
  297       errs() << "The schedule was not parsed successfully (index = " << Index
  298              << ").\n";
  319     errs() << "JScop file contains a schedule that changes the "
  320            << "dependences. Use -disable-polly-legality to continue anyways\n";
  352     errs() << "JScop file has no key name 'statements'.\n";
  359     errs() << "The number of indices and the number of statements differ.\n";
  371           << "Statement from JScop file has no key name 'accesses' for index "
  372           << StatementIdx << ".\n";
  380       errs() << "The number of memory accesses in the JSop file and the number "
  382              << StatementIdx << ".\n";
  392         errs() << "Memory access number " << MemoryAccessIdx
  393                << " has no key name 'relation' for statement number "
  394                << StatementIdx << ".\n";
  403         errs() << "The access was not parsed successfully by ISL.\n";
  411         errs() << "JScop file changes the number of parameter dimensions.\n";
  429           errs() << "JScop file contains access function with undeclared "
  471             errs() << "JScop file changes the accessed memory\n";
  497         errs() << "JScop file contains access function with incompatible "
  498                << "dimensions\n";
  516         errs() << "Mapping not defined for all iteration domain elements\n";
  552     errs() << "Array has no key 'type'.\n";
  558     errs() << "Array has no key 'sizes'.\n";
  564     errs() << "Array has no key 'name'.\n";
  585     errs() << "Array has not a valid type.\n";
  619   errs() << "Textual representation can not be parsed: "
  620          << TypeTextRepresentation << "\n";
  642       errs() << "Not enough array entries in JScop file.\n";
  646       errs() << "No match for array '" << SAI->getName() << "' in JScop.\n";
  646       errs() << "No match for array '" << SAI->getName() << "' in JScop.\n";
  657       errs() << "Error while parsing element type for new array.\n";
  667         errs() << "The size at index " << i << " is =< 0.\n";
  667         errs() << "The size at index " << i << " is =< 0.\n";
  699   errs() << "Reading JScop '" << S.getNameStr() << "' in function '"
  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";
  706     errs() << "File could not be read: " << ec.message() << "\n";
  714     errs() << "JSCoP file could not be parsed\n";
  715     errs() << E << "\n";
  772     OS << "New access function '" << *I << "' detected in JSCOP file\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');
tools/polly/lib/Support/ISLTools.cpp
  707     OS << "<null>\n";
  724     OS << "{\n}\n";
  745       OS << llvm::StringRef(Str).substr(0, OpenPos + 1) << "\n ";
  747       OS << ";\n ";
  753   OS << "\n}\n";
tools/polly/lib/Support/SCEVValidator.cpp
  100       OS << "SCEVType::INT";
  103       OS << "SCEVType::PARAM";
  106       OS << "SCEVType::IV";
  109       OS << "SCEVType::INVALID";
  209             dbgs() << "INVALID: More than one non-int operand in MulExpr\n"
  210                    << "\tExpr: " << *Expr << "\n"
  210                    << "\tExpr: " << *Expr << "\n"
  211                    << "\tPrevious expression type: " << Return << "\n"
  211                    << "\tPrevious expression type: " << Return << "\n"
  212                    << "\tNext operand (" << Op << "): " << *Expr->getOperand(i)
  212                    << "\tNext operand (" << Op << "): " << *Expr->getOperand(i)
  213                    << "\n");
  229       LLVM_DEBUG(dbgs() << "INVALID: AddRec is not affine");
  245           dbgs() << "INVALID: Loop of AddRec expression boxed in an a "
  258       LLVM_DEBUG(dbgs() << "INVALID: AddRec within scop has non-int"
  319         LLVM_DEBUG(dbgs() << "INVALID: UMaxExpr has a non-constant operand");
  334         LLVM_DEBUG(dbgs() << "INVALID: UMinExpr has a non-constant operand");
  344       LLVM_DEBUG(dbgs() << "INVALID: UnknownExpr references an instruction "
  394         dbgs() << "INVALID: unsigned division of non-constant expressions");
  434       LLVM_DEBUG(dbgs() << "INVALID: UnknownExpr is not an integer or pointer");
  439       LLVM_DEBUG(dbgs() << "INVALID: UnknownExpr references an undef value");
  642     dbgs() << "\n";
  643     dbgs() << "Expr: " << *Expr << "\n";
  643     dbgs() << "Expr: " << *Expr << "\n";
  644     dbgs() << "Region: " << R->getNameStr() << "\n";
  644     dbgs() << "Region: " << R->getNameStr() << "\n";
  645     dbgs() << " -> ";
  652       dbgs() << "VALID\n";
  653     dbgs() << "\n";
tools/polly/lib/Support/VirtualInstruction.cpp
  106   OS << "User: [" << User->getBaseName() << "] ";
  106   OS << "User: [" << User->getBaseName() << "] ";
  106   OS << "User: [" << User->getBaseName() << "] ";
  109     OS << "Constant Op:";
  112     OS << "BasicBlock Op:";
  115     OS << "Synthesizable Op:";
  118     OS << "Hoisted load Op:";
  121     OS << "Read-Only Op:";
  124     OS << "Intra Op:";
  127     OS << "Inter Op:";
  155     OS << "[null VirtualInstruction]";
  159   OS << "[" << Stmt->getBaseName() << "]";
  159   OS << "[" << Stmt->getBaseName() << "]";
  159   OS << "[" << Stmt->getBaseName() << "]";
tools/polly/lib/Transform/DeLICM.cpp
  280         OS.indent(Indent) << "Occupied: " << Occupied << "\n";
  280         OS.indent(Indent) << "Occupied: " << Occupied << "\n";
  282         OS.indent(Indent) << "Occupied: <Everything else not in Unused>\n";
  284         OS.indent(Indent) << "Unused:   " << Unused << "\n";
  284         OS.indent(Indent) << "Unused:   " << Unused << "\n";
  286         OS.indent(Indent) << "Unused:   <Everything else not in Occupied>\n";
  287       OS.indent(Indent) << "Known:    " << Known << "\n";
  287       OS.indent(Indent) << "Known:    " << Known << "\n";
  288       OS.indent(Indent) << "Written : " << Written << '\n';
  290       OS.indent(Indent) << "Invalid knowledge\n";
  390         OS->indent(Indent) << "Proposed lifetime conflicting with Existing's\n";
  391         OS->indent(Indent) << "Conflicting occupied: " << Conflicting << "\n";
  391         OS->indent(Indent) << "Conflicting occupied: " << Conflicting << "\n";
  394               << "Existing Known:       " << ExistingConflictingKnown << "\n";
  394               << "Existing Known:       " << ExistingConflictingKnown << "\n";
  397               << "Proposed Known:       " << ProposedConflictingKnown << "\n";
  397               << "Proposed Known:       " << ProposedConflictingKnown << "\n";
  442             << "Proposed a lifetime where there is an Existing write into it\n";
  443         OS->indent(Indent) << "Existing conflicting writes: "
  444                            << ExistingConflictingWritten << "\n";
  447               << "Proposed conflicting known:  " << ProposedConflictingKnown
  448               << "\n";
  471         OS->indent(Indent) << "Proposed writes into range used by Existing\n";
  472         OS->indent(Indent) << "Proposed conflicting writes: "
  473                            << ProposedConflictingWritten << "\n";
  476               << "Existing conflicting known: " << ExistingConflictingKnown
  477               << "\n";
  500         OS->indent(Indent) << "Proposed writes at the same time as an already "
  502         OS->indent(Indent) << "Conflicting writes: " << Conflicting << "\n";
  502         OS->indent(Indent) << "Conflicting writes: " << Conflicting << "\n";
  505               << "Exiting write:      " << ExistingConflictingWritten << "\n";
  505               << "Exiting write:      " << ExistingConflictingWritten << "\n";
  508               << "Proposed write:     " << ProposedConflictingWritten << "\n";
  508               << "Proposed write:     " << ProposedConflictingWritten << "\n";
  559             << "    Reject because value is read-only within the scop\n");
  574           LLVM_DEBUG(dbgs() << "    Reject because value is escaping\n");
  592                      << "    Reject because at least one incoming block is "
  601     LLVM_DEBUG(dbgs() << "    Reject ExitPHI or other non-value\n");
  684     LLVM_DEBUG(dbgs() << "    Def Mapping: " << DefTarget << '\n');
  691           << "    Reject because mapping does not encompass all instances\n");
  702     LLVM_DEBUG(dbgs() << "    Lifetime: " << Lifetime << '\n');
  857     LLVM_DEBUG(dbgs() << "    Mapping: " << PHITarget << '\n');
  864           << "    Reject because mapping does not encompass all instances\n");
  889           dbgs() << "    Reject because did not find PHI write mapping for "
  892         LLVM_DEBUG(dbgs() << "      Relevant Mapping:    "
  894       LLVM_DEBUG(dbgs() << "      Deduced Mapping:     " << WritesTarget
  896       LLVM_DEBUG(dbgs() << "      Missing instances:    "
  910     LLVM_DEBUG(dbgs() << "    Lifetime: " << Lifetime << "\n");
  910     LLVM_DEBUG(dbgs() << "    Lifetime: " << Lifetime << "\n");
 1023     LLVM_DEBUG(dbgs() << "    Target mapping is " << EltTarget << '\n');
 1061       LLVM_DEBUG(dbgs() << "\n    Trying to map " << MA << " (SAI: " << SAI
 1061       LLVM_DEBUG(dbgs() << "\n    Trying to map " << MA << " (SAI: " << SAI
 1062                         << ")\n");
 1071             dbgs() << "    Reject because storage size is insufficient\n");
 1165     OS.indent(Indent) << "Statistics {\n";
 1166     OS.indent(Indent + 4) << "Compatible overwrites: "
 1167                           << NumberOfCompatibleTargets << "\n";
 1168     OS.indent(Indent + 4) << "Overwrites mapped to:  " << NumberOfTargetsMapped
 1170     OS.indent(Indent + 4) << "Value scalars mapped:  "
 1172     OS.indent(Indent + 4) << "PHI scalars mapped:    "
 1174     OS.indent(Indent) << "}\n";
 1209       LLVM_DEBUG(dbgs() << "DeLICM analysis exceeded max_operations\n");
 1220     LLVM_DEBUG(dbgs() << "Computed Zone:\n"; OriginalZone.print(dbgs(), 4));
 1242           LLVM_DEBUG(dbgs() << "Access " << MA
 1243                             << " pruned because it is a MAY_WRITE\n");
 1253           LLVM_DEBUG(dbgs() << "Access " << MA
 1254                             << " pruned because it is not in a loop\n");
 1264                      << "Access " << MA
 1265                      << " pruned because it writes only a single element\n");
 1275           LLVM_DEBUG(dbgs() << "Access " << MA
 1276                             << " pruned because it is not a StoreInst\n");
 1298           LLVM_DEBUG(dbgs() << "Access " << MA
 1299                             << " is incompatible because it writes multiple "
 1313               << "Access " << MA
 1314               << " is incompatible because it touches incompatible elements\n");
 1325         LLVM_DEBUG(dbgs() << "Analyzing target access " << MA << "\n");
 1325         LLVM_DEBUG(dbgs() << "Analyzing target access " << MA << "\n");
 1338       OS.indent(Indent) << "Zone not computed\n";
 1344       OS.indent(Indent) << "No modification has been made\n";
 1364       LLVM_DEBUG(dbgs() << "Abort because cannot reliably compute lifetimes\n");
 1368     LLVM_DEBUG(dbgs() << "Collapsing scalars to unused array elements...\n");
 1371     LLVM_DEBUG(dbgs() << "\nFinal Scop:\n");
 1407     OS << "DeLICM result:\n";
tools/polly/lib/Transform/FlattenAlgo.cpp
  183     LLVM_DEBUG(dbgs() << "Abort; dimension is not of fixed size\n");
  194     LLVM_DEBUG(dbgs() << "Next counter:\n  " << Counter << "\n");
  194     LLVM_DEBUG(dbgs() << "Next counter:\n  " << Counter << "\n");
  195     LLVM_DEBUG(dbgs() << "Remaining scatter set:\n  " << ScatterSet << "\n");
  195     LLVM_DEBUG(dbgs() << "Remaining scatter set:\n  " << ScatterSet << "\n");
  210     LLVM_DEBUG(dbgs() << "Next step in sequence is:\n  " << FirstSubScatter
  211                       << "\n");
  214       LLVM_DEBUG(dbgs() << "Abort; sequence step is not bounded\n");
  245   LLVM_DEBUG(dbgs() << "Sequence-flatten result is:\n  " << NewSchedule
  246                     << "\n");
  273     LLVM_DEBUG(dbgs() << "Abort; dimension not bounded by constant\n");
  278   LLVM_DEBUG(dbgs() << "Min bound:\n  " << Min << "\n");
  278   LLVM_DEBUG(dbgs() << "Min bound:\n  " << Min << "\n");
  281   LLVM_DEBUG(dbgs() << "Max bound:\n  " << Max << "\n");
  281   LLVM_DEBUG(dbgs() << "Max bound:\n  " << Max << "\n");
  285     LLVM_DEBUG(dbgs() << "Abort; dimension bounds could not be determined\n");
  303   LLVM_DEBUG(dbgs() << "Loop-flatten result is:\n  " << Result << "\n");
  303   LLVM_DEBUG(dbgs() << "Loop-flatten result is:\n  " << Result << "\n");
  310   LLVM_DEBUG(dbgs() << "Recursive schedule to process:\n  " << Schedule
  311                     << "\n");
  325     LLVM_DEBUG(dbgs() << "Fixed dimension; try sequence flattening\n");
  332   LLVM_DEBUG(dbgs() << "Try loop flattening\n");
  338   LLVM_DEBUG(dbgs() << "Try sequence flattening again\n");
tools/polly/lib/Transform/FlattenSchedule.cpp
   34     OS.indent(indent) << Map << "\n";
   60     LLVM_DEBUG(dbgs() << "Going to flatten old schedule:\n");
   66     LLVM_DEBUG(dbgs() << "Old schedule with domains:\n");
   71     LLVM_DEBUG(dbgs() << "Flattened new schedule:\n");
   75     LLVM_DEBUG(dbgs() << "Gisted, flattened new schedule:\n");
   83     OS << "Schedule before flattening {\n";
   85     OS << "}\n\n";
   87     OS << "Schedule after flattening {\n";
   89     OS << "}\n";
tools/polly/lib/Transform/ForwardOpTree.cpp
  299       LLVM_DEBUG(dbgs() << "Known analysis exceeded max_operations\n");
  304     LLVM_DEBUG(dbgs() << "All known: " << Known << "\n");
  304     LLVM_DEBUG(dbgs() << "All known: " << Known << "\n");
  310     OS.indent(Indent) << "Statistics {\n";
  311     OS.indent(Indent + 4) << "Instructions copied: " << NumInstructionsCopied
  313     OS.indent(Indent + 4) << "Known loads forwarded: " << NumKnownLoadsForwarded
  315     OS.indent(Indent + 4) << "Reloads: " << NumReloads << '\n';
  316     OS.indent(Indent + 4) << "Read-only accesses copied: " << NumReadOnlyCopied
  318     OS.indent(Indent + 4) << "Operand trees forwarded: " << NumForwardedTrees
  320     OS.indent(Indent + 4) << "Statements with forwarded operand trees: "
  322     OS.indent(Indent) << "}\n";
  326     OS.indent(Indent) << "After statements {\n";
  328       OS.indent(Indent + 4) << Stmt.getBaseName() << "\n";
  328       OS.indent(Indent + 4) << Stmt.getBaseName() << "\n";
  335     OS.indent(Indent) << "}\n";
  467           dbgs() << "    forwarded known load with preexisting MemoryAccess"
  468                  << Access << "\n");
  471       LLVM_DEBUG(dbgs() << "    forwarded known load with new MemoryAccess"
  472                         << Access << "\n");
  510         LLVM_DEBUG(dbgs() << "      local translator is " << LocalTranslator
  511                           << "\n");
  514     LLVM_DEBUG(dbgs() << "      expected values where " << TargetExpectedVal
  515                       << "\n");
  516     LLVM_DEBUG(dbgs() << "      candidate elements where " << Candidates
  517                       << "\n");
  730           dbgs() << "    Synthesizable would not be synthesizable anymore: "
  731                  << *UseVal << "\n");
  788       LLVM_DEBUG(dbgs() << "    Cannot forward instruction: " << *Inst << "\n");
  788       LLVM_DEBUG(dbgs() << "    Cannot forward instruction: " << *Inst << "\n");
  798     LLVM_DEBUG(dbgs() << "Trying to forward operand tree " << RA << "...\n");
  798     LLVM_DEBUG(dbgs() << "Trying to forward operand tree " << RA << "...\n");
  875       OS << "ForwardOpTree executed, but did not modify anything\n";
  920         LLVM_DEBUG(dbgs() << "Prepare forwarders...\n");
  924       LLVM_DEBUG(dbgs() << "Forwarding operand trees...\n");
  928         LLVM_DEBUG(dbgs() << "Not all operations completed because of "
  934     LLVM_DEBUG(dbgs() << "\nFinal Scop:\n");
tools/polly/lib/Transform/ScheduleOptimizer.cpp
 1340     LLVM_DEBUG(dbgs() << "The matrix multiplication pattern was detected\n");
 1484     LLVM_DEBUG(dbgs() << "DependenceInfo for another SCoP/isl_ctx\n");
 1505     errs() << "Do not know how to optimize for '" << OptimizeDeps << "'"
 1505     errs() << "Do not know how to optimize for '" << OptimizeDeps << "'"
 1506            << " Falling back to optimizing all dependences.\n";
 1535     errs() << "warning: Option -polly-opt-simplify-deps should either be 'yes' "
 1539   LLVM_DEBUG(dbgs() << "\n\nCompute schedule from: ");
 1540   LLVM_DEBUG(dbgs() << "Domain := " << Domain << ";\n");
 1540   LLVM_DEBUG(dbgs() << "Domain := " << Domain << ";\n");
 1541   LLVM_DEBUG(dbgs() << "Proximity := " << Proximity << ";\n");
 1541   LLVM_DEBUG(dbgs() << "Proximity := " << Proximity << ";\n");
 1542   LLVM_DEBUG(dbgs() << "Validity := " << Validity << ";\n");
 1542   LLVM_DEBUG(dbgs() << "Validity := " << Validity << ";\n");
 1551     errs() << "warning: Unknown fusion strategy. Falling back to maximal "
 1563     errs() << "warning: Option -polly-opt-maximize-bands should either be 'yes'"
 1575     errs() << "warning: Option -polly-opt-outer-coincidence should either be "
 1613     dbgs() << "NewScheduleTree: \n" << str << "\n";
 1613     dbgs() << "NewScheduleTree: \n" << str << "\n";
 1613     dbgs() << "NewScheduleTree: \n" << str << "\n";
 1646   OS << "Calculated schedule:\n";
 1649     OS << "n/a\n";
 1658   OS << ScheduleStr << "\n";
 1658   OS << ScheduleStr << "\n";
tools/polly/lib/Transform/ScopInliner.cpp
   62       LLVM_DEBUG(dbgs() << "Skipping " << F->getName()
   63                         << "because it is a declaration.\n");
   79       LLVM_DEBUG(dbgs() << "Skipping " << F->getName()
   80                         << " has scop as top level region");
   93                         << " does NOT have scop as top level region\n");
tools/polly/lib/Transform/Simplify.cpp
  194           LLVM_DEBUG(dbgs() << "Removing " << MA
  195                             << " which will be overwritten anyway\n");
  450               LLVM_DEBUG(dbgs() << "Cleanup of " << MA << ":\n");
  450               LLVM_DEBUG(dbgs() << "Cleanup of " << MA << ":\n");
  451               LLVM_DEBUG(dbgs() << "      Scalar: " << *StoredVal << "\n");
  451               LLVM_DEBUG(dbgs() << "      Scalar: " << *StoredVal << "\n");
  452               LLVM_DEBUG(dbgs() << "      AccRel: " << AccRel << "\n");
  452               LLVM_DEBUG(dbgs() << "      AccRel: " << AccRel << "\n");
  494     LLVM_DEBUG(dbgs() << "Removed " << StmtsRemoved << " (of " << NumStmtsBefore
  494     LLVM_DEBUG(dbgs() << "Removed " << StmtsRemoved << " (of " << NumStmtsBefore
  495                       << ") statements\n");
  514             dbgs() << "Removing " << MA
  515                    << " because it's a partial access that never occurs\n");
  546       LLVM_DEBUG(dbgs() << "Removing " << MA
  547                         << " because its value is not used\n");
  568           LLVM_DEBUG(dbgs() << "Removing "; Inst->print(dbgs());
  569                      dbgs() << " because it is not used\n");
  588     OS.indent(Indent) << "Statistics {\n";
  589     OS.indent(Indent + 4) << "Overwrites removed: " << OverwritesRemoved
  591     OS.indent(Indent + 4) << "Partial writes coalesced: " << WritesCoalesced
  592                           << "\n";
  593     OS.indent(Indent + 4) << "Redundant writes removed: "
  594                           << RedundantWritesRemoved << "\n";
  595     OS.indent(Indent + 4) << "Accesses with empty domains removed: "
  596                           << EmptyPartialAccessesRemoved << "\n";
  597     OS.indent(Indent + 4) << "Dead accesses removed: " << DeadAccessesRemoved
  599     OS.indent(Indent + 4) << "Dead instructions removed: "
  601     OS.indent(Indent + 4) << "Stmts removed: " << StmtsRemoved << "\n";
  601     OS.indent(Indent + 4) << "Stmts removed: " << StmtsRemoved << "\n";
  602     OS.indent(Indent) << "}\n";
  607     OS.indent(Indent) << "After accesses {\n";
  609       OS.indent(Indent + 4) << Stmt.getBaseName() << "\n";
  609       OS.indent(Indent + 4) << Stmt.getBaseName() << "\n";
  613     OS.indent(Indent) << "}\n";
  635     LLVM_DEBUG(dbgs() << "Removing partial writes that never happen...\n");
  638     LLVM_DEBUG(dbgs() << "Removing overwrites...\n");
  641     LLVM_DEBUG(dbgs() << "Coalesce partial writes...\n");
  644     LLVM_DEBUG(dbgs() << "Removing redundant writes...\n");
  647     LLVM_DEBUG(dbgs() << "Cleanup unused accesses...\n");
  651     LLVM_DEBUG(dbgs() << "Removing statements without side effects...\n");
  656     LLVM_DEBUG(dbgs() << "\nFinal Scop:\n");
  676       OS << "SCoP could not be simplified\n";
tools/polly/lib/Transform/ZoneAlgo.cpp
  345             dbgs() << "Load after store of same element in same statement\n");
  364       LLVM_DEBUG(dbgs() << "WRITE in non-affine subregion not supported\n");
  375       LLVM_DEBUG(dbgs() << "WRITE after WRITE to same element\n");
 1083   OS.indent(Indent) << "After accesses {\n";
 1085     OS.indent(Indent + 4) << Stmt.getBaseName() << "\n";
 1085     OS.indent(Indent + 4) << Stmt.getBaseName() << "\n";
 1089   OS.indent(Indent) << "}\n";
tools/sancov/sancov.cpp
  175   errs() << "ERROR: " << E << "\n";
  175   errs() << "ERROR: " << E << "\n";
  187   errs() << "ERROR: " << Error.message() << "(" << Error.value() << ")\n";
  187   errs() << "ERROR: " << Error.message() << "(" << Error.value() << ")\n";
  187   errs() << "ERROR: " << Error.message() << "(" << Error.value() << ")\n";
  237     errs() << "File too small (<8): " << Buf->getBufferSize() << '\n';
  244     errs() << "Wrong magic: " << Header->Magic << '\n';
  260     errs() << "Unsupported bitness: " << Header->Bitness << '\n';
  274     OS << "0x";
  276     OS << "\n";
  282   OS << "all-edges: " << Stats.AllPoints << "\n";
  282   OS << "all-edges: " << Stats.AllPoints << "\n";
  283   OS << "cov-edges: " << Stats.CovPoints << "\n";
  283   OS << "cov-edges: " << Stats.CovPoints << "\n";
  284   OS << "all-functions: " << Stats.AllFns << "\n";
  284   OS << "all-functions: " << Stats.AllFns << "\n";
  285   OS << "cov-functions: " << Stats.CovFns << "\n";
  285   OS << "cov-functions: " << Stats.CovFns << "\n";
  440       errs() << "Ignoring unknown key: " << Key << "\n";
  440       errs() << "Ignoring unknown key: " << Key << "\n";
  638       errs() << "ERROR: 32 bit MachO binaries not supported\n";
  831     OS << "0x";
  833     OS << "\n";
  845     errs() << "Warning: " << BufOrErr.getError().message() << "("
  845     errs() << "Warning: " << BufOrErr.getError().message() << "("
  847            << "), filename: " << llvm::sys::path::filename(FileName) << "\n";
  847            << "), filename: " << llvm::sys::path::filename(FileName) << "\n";
  976     OS << stripPathPrefix(P.first.FileName) << ":" << P.second.first << " "
  976     OS << stripPathPrefix(P.first.FileName) << ":" << P.second.first << " "
  977        << P.first.FunctionName << "\n";
 1105         errs() << "WARNING: No coverage file for " << FileName << "\n";
 1105         errs() << "WARNING: No coverage file for " << FileName << "\n";
 1112             << "WARNING: Ignoring " << Pair.first
 1113             << " and its coverage because  __sanitizer_cov* functions were not "
 1188     errs() << "-html-report option is removed: "
tools/sanstats/sanstats.cpp
  100       llvm::outs() << "cfi-vcall";
  103       llvm::outs() << "cfi-nvcall";
  106       llvm::outs() << "cfi-derived-cast";
  109       llvm::outs() << "cfi-unrelated-cast";
  112       llvm::outs() << "cfi-icall";
  115       llvm::outs() << "<unknown>";
  119     llvm::outs() << " " << CountFromData(Data, SizeofPtr) << '\n';
  130     errs() << argv[0] << ": " << ClInputFile << ": "
  130     errs() << argv[0] << ": " << ClInputFile << ": "
  130     errs() << argv[0] << ": " << ClInputFile << ": "
  137     errs() << argv[0] << ": " << ClInputFile << ": short read\n";
  137     errs() << argv[0] << ": " << ClInputFile << ": short read\n";
  137     errs() << argv[0] << ": " << ClInputFile << ": short read\n";
  144       errs() << argv[0] << ": " << ClInputFile << ": short read\n";
  144       errs() << argv[0] << ": " << ClInputFile << ": short read\n";
  144       errs() << argv[0] << ": " << ClInputFile << ": short read\n";
tools/verify-uselistorder/verify-uselistorder.cpp
  109   LLVM_DEBUG(dbgs() << " - create-temp-file\n");
  111     errs() << "verify-uselistorder: error: " << EC.message() << "\n";
  111     errs() << "verify-uselistorder: error: " << EC.message() << "\n";
  119     outs() << " - filename = " << Filename << "\n";
  119     outs() << " - filename = " << Filename << "\n";
  124   LLVM_DEBUG(dbgs() << " - write bitcode\n");
  128     errs() << "verify-uselistorder: error: " << EC.message() << "\n";
  128     errs() << "verify-uselistorder: error: " << EC.message() << "\n";
  137   LLVM_DEBUG(dbgs() << " - write assembly\n");
  141     errs() << "verify-uselistorder: error: " << EC.message() << "\n";
  141     errs() << "verify-uselistorder: error: " << EC.message() << "\n";
  150   LLVM_DEBUG(dbgs() << " - read bitcode\n");
  154     errs() << "verify-uselistorder: error: " << BufferOr.getError().message()
  155            << "\n";
  171   LLVM_DEBUG(dbgs() << " - read assembly\n");
  249   dbgs() << "value-mapping (size = " << VM.Values.size() << "):\n";
  249   dbgs() << "value-mapping (size = " << VM.Values.size() << "):\n";
  251     dbgs() << " - id = " << I << ", value = ";
  251     dbgs() << " - id = " << I << ", value = ";
  258   dbgs() << " - " << Desc << " value = ";
  258   dbgs() << " - " << Desc << " value = ";
  261     dbgs() << "   => use: op = " << U.getOperandNo()
  262            << ", user-id = " << M.IDs.lookup(U.getUser()) << ", user = ";
  262            << ", user-id = " << M.IDs.lookup(U.getUser()) << ", user = ";
  269   dbgs() << " - fail: user mismatch: ID = " << I << "\n";
  269   dbgs() << " - fail: user mismatch: ID = " << I << "\n";
  273   dbgs() << "\nlhs-";
  275   dbgs() << "\nrhs-";
  280   dbgs() << " - fail: map size: " << L.Values.size()
  281          << " != " << R.Values.size() << "\n";
  281          << " != " << R.Values.size() << "\n";
  282   dbgs() << "\nlhs-";
  284   dbgs() << "\nrhs-";
  290   LLVM_DEBUG(dbgs() << "compare value maps\n");
  377   outs() << "verify bitcode\n";
  379   outs() << "verify assembly\n";
  399   LLVM_DEBUG(dbgs() << "V = "; V->dump());
  408       LLVM_DEBUG(dbgs() << " - order: " << I << ", op = " << U.getOperandNo()
  408       LLVM_DEBUG(dbgs() << " - order: " << I << ", op = " << U.getOperandNo()
  409                         << ", U = ";
  414   LLVM_DEBUG(dbgs() << " => shuffle\n");
  419       dbgs() << " - order: " << Order.lookup(&U)
  420              << ", op = " << U.getOperandNo() << ", U = ";
  420              << ", op = " << U.getOperandNo() << ", U = ";
  440     dbgs() << "V = ";
  443       dbgs() << " - order: op = " << U.getOperandNo() << ", U = ";
  443       dbgs() << " - order: op = " << U.getOperandNo() << ", U = ";
  446     dbgs() << " => reverse\n";
  453       dbgs() << " - order: op = " << U.getOperandNo() << ", U = ";
  453       dbgs() << " - order: op = " << U.getOperandNo() << ", U = ";
  517   LLVM_DEBUG(dbgs() << "\n");
  523   LLVM_DEBUG(dbgs() << "\n");
  547     errs() << argv[0] << ": " << InputFilename
  547     errs() << argv[0] << ": " << InputFilename
  548            << ": error: input module is broken!\n";
  553   outs() << "*** verify-uselistorder ***\n";
  555   outs() << "reverse\n";
  560     outs() << "\n";
  563     outs() << "shuffle (" << I + 1 << " of " << E << ")\n";
  563     outs() << "shuffle (" << I + 1 << " of " << E << ")\n";
  563     outs() << "shuffle (" << I + 1 << " of " << E << ")\n";
  568     outs() << "reverse\n";
tools/yaml2obj/yaml2obj.cpp
   49     WithColor::error(errs(), "yaml2obj") << Msg << "\n";
unittests/ADT/OptionalTest.cpp
  553     return OS << "ComparableAndStreamable";
unittests/Analysis/LazyCallGraphTest.cpp
  609     dbgs() << "Formed RefSCC: " << RC << "\n";
  609     dbgs() << "Formed RefSCC: " << RC << "\n";
  755     dbgs() << "Formed RefSCC: " << RC << "\n";
  755     dbgs() << "Formed RefSCC: " << RC << "\n";
  847     dbgs() << "Formed RefSCC: " << RC << "\n";
  847     dbgs() << "Formed RefSCC: " << RC << "\n";
  954     dbgs() << "Formed RefSCC: " << RC << "\n";
  954     dbgs() << "Formed RefSCC: " << RC << "\n";
 1031     dbgs() << "Formed RefSCC: " << RC << "\n";
 1031     dbgs() << "Formed RefSCC: " << RC << "\n";
 1093     dbgs() << "Formed RefSCC: " << RC << "\n";
 1093     dbgs() << "Formed RefSCC: " << RC << "\n";
unittests/BinaryFormat/TestFileMagic.cpp
   41     errs() << "Test Directory: " << TestDirectory << '\n';
unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
  103       Stream << "Array [" << I << "]";
  103       Stream << "Array [" << I << "]";
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.cpp
  167       ErrMsgStream << "Failed to resolve external symbols: [";
  169         ErrMsgStream << " " << Sym;
  170       ErrMsgStream << " ]\n";
unittests/ExecutionEngine/JITLink/MachO_x86_64_Tests.cpp
   37       dbgs() << "Skipping JITLInk unit test: " << toString(TR.takeError())
   38              << "\n";
unittests/ExecutionEngine/Orc/QueueChannel.h
   35     OS << "Queue closed";
unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
   64     OS << "Dummy error " << Val;
unittests/FuzzMutate/OperationsTest.cpp
   30   ROS << BB << " (" << BB->getName() << ")";
   30   ROS << BB << " (" << BB->getName() << ")";
   35   ROS << V << " (";
   37   ROS << ")";
unittests/IR/CFGBuilder.cpp
   38   LLVM_DEBUG(dbgs() << "Creating BB arc " << From->getName() << " -> "
   38   LLVM_DEBUG(dbgs() << "Creating BB arc " << From->getName() << " -> "
   39                     << To->getName() << "\n";
   59   LLVM_DEBUG(dbgs() << "Deleting BB arc " << From->getName() << " -> "
   59   LLVM_DEBUG(dbgs() << "Deleting BB arc " << From->getName() << " -> "
   60                     << To->getName() << "\n";
  148   OS << "Arcs:\n";
  151     OS << "  " << i++ << ":\t" << A.From << " -> " << A.To << "\n";
  151     OS << "  " << i++ << ":\t" << A.From << " -> " << A.To << "\n";
  151     OS << "  " << i++ << ":\t" << A.From << " -> " << A.To << "\n";
  151     OS << "  " << i++ << ":\t" << A.From << " -> " << A.To << "\n";
  153   OS << "Updates:\n";
  156     OS << (i + 1 == UpdateIdx ? "->" : "  ") << i
  157        << ((U.Action == ActionKind::Insert) ? "\tIns " : "\tDel ")
  158        << U.Edge.From << " -> " << U.Edge.To << "\n";
  158        << U.Edge.From << " -> " << U.Edge.To << "\n";
unittests/IR/DominatorTreeBatchUpdatesTest.cpp
   61   LLVM_DEBUG(dbgs() << "Legalized updates:\t");
   62   LLVM_DEBUG(for (auto &U : Legalized) { U.dump(); dbgs() << ", "; });
   63   LLVM_DEBUG(dbgs() << "\n");
   84   LLVM_DEBUG(dbgs() << "Legalized postdom updates:\t");
   85   LLVM_DEBUG(for (auto &U : Legalized) { U.dump(); dbgs() << ", "; });
   86   LLVM_DEBUG(dbgs() << "\n");
unittests/IR/MetadataTest.cpp
  274     OS << "<" << (void *)N << "> = !{";
  274     OS << "<" << (void *)N << "> = !{";
  276     OS << ", ";
  278     OS << ", null";
  281       OS << ", <" << (void *)Node << ">";
  281       OS << ", <" << (void *)Node << ">";
  282     OS << "}";
  336     OS << "!0 = !{";
  338     OS << ", ";
  340     OS << ", null, !1, !2, !3}";
unittests/ProfileData/CoverageMappingTest.cpp
  681     errs() << "Line: " << Line + 1 << ", count = " << LCS.getExecutionCount() << "\n";
  681     errs() << "Line: " << Line + 1 << ", count = " << LCS.getExecutionCount() << "\n";
  681     errs() << "Line: " << Line + 1 << ", count = " << LCS.getExecutionCount() << "\n";
unittests/ProfileData/InstrProfTest.cpp
  933     OS << "func_" << I;
  936     OS << "f oooooooooooooo_" << I;
  939     OS << "BAR_" << I;
  942     OS << "BlahblahBlahblahBar_" << I;
unittests/ProfileData/SampleProfTest.cpp
   69     *OS << R"(
unittests/Support/ARMAttributeParser.cpp
   20     OS << "aeabi" << '\0';
unittests/Support/Casting.cpp
   52     dbgs() << "Classof: " << &Val << "\n";
   52     dbgs() << "Classof: " << &Val << "\n";
unittests/Support/CommandLineTest.cpp
 1624   outs()<< Errs << "\n";
unittests/Support/DebugTest.cpp
   24   DEBUG_WITH_TYPE("A", os1 << "A");
   25   DEBUG_WITH_TYPE("B", os1 << "B");
   29   DEBUG_WITH_TYPE("A", os2 << "A");
   30   DEBUG_WITH_TYPE("B", os2 << "B");
unittests/Support/ErrorTest.cpp
   36     OS << "CustomError {" << getInfo() << "}";
   36     OS << "CustomError {" << getInfo() << "}";
   72     OS << "CustomSubError { " << getInfo() << ", " << getExtraInfo() << "}";
   72     OS << "CustomSubError { " << getInfo() << ", " << getExtraInfo() << "}";
   72     OS << "CustomSubError { " << getInfo() << ", " << getExtraInfo() << "}";
  387       errs() << "This should never be called";
unittests/Support/FormatVariadicTest.cpp
   20   void format(raw_ostream &OS, StringRef Opt) override { OS << "Format"; }
  523          << "\n";
  527          << "\n";
  529     Stream << llvm::apply_tuple(format_tuple(Line), Item) << "\n";
  661     OS << R.Copied << "C " << R.Moved << "M";
  661     OS << R.Copied << "C " << R.Moved << "M";
  677 raw_ostream &operator<<(raw_ostream &OS, const X &) { return OS << "X"; }
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")
  342             << ", " << S.B << ")";
  342             << ", " << S.B << ")";
unittests/Support/MemoryBufferTest.cpp
  106   OF << "12345678";
  138     OF << "0123456789abcdef";
  236     OF << "0123456789";
  283     OF << "12345678";
  286     OF << "abcdefgh";
  289     OF << "ABCDEFGH";
  331     OF << "0123456789abcdef";
  363   OF << "0123456789abcdef";
unittests/Support/Path.cpp
  441     errs() << "Test Directory: " << TestDirectory << '\n';
unittests/Support/ProgramTest.cpp
  310   errs() << "Test Directory: " << TestDirectory << '\n';
unittests/Support/YAMLIOTest.cpp
 2869       TagOS << "!double";
 2873       TagOS << "!bool";
unittests/Support/raw_ostream_test.cpp
   21   llvm::raw_string_ostream(res) << Value;
   46   OS << Value;
  124   OS << "hello";
unittests/Support/raw_pwrite_stream_test.cpp
   34   OS << "abcd";
   70   OS << "abcd";
   88   OS << "abcd";
unittests/Support/raw_sha1_ostream_test.cpp
   33   Sha1Stream << "Hello World!";
   50   Sha1Stream << "Hello";
   54   Sha1Stream << " World!";
   59   NonSplitSha1Stream << "Hello World!";
   67   Sha1Stream << "Hello";
   73   Sha1Stream << " World!";
unittests/TableGen/CodeExpanderTest.cpp
   51       errs() << "Emitted diagnostic:\n" << OS.str();
unittests/tools/llvm-cfi-verify/FileAnalysis.cpp
   74             << "Note: CFIVerifyTests are disabled due to lack of support "
unittests/tools/llvm-cfi-verify/GraphBuilder.cpp
  134             << "Note: CFIVerifyTests are disabled due to lack of x86 support "
unittests/tools/llvm-exegesis/Common/AssemblerUtils.h
   39       outs() << "Skipping execution, host:" << sys::getProcessTriple()
   40              << ", target:" << TT << "\n";
   40              << ", target:" << TT << "\n";
unittests/tools/llvm-exegesis/PowerPC/AnalysisTest.cpp
   33       errs() << error << "\n";
unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp
   89   errs() << Filename << "-------\n";
unittests/tools/llvm-exegesis/X86/SnippetFileTest.cpp
   45     errs() << Filename << "-------\n";
utils/FileCheck/FileCheck.cpp
  139   errs() << "FileCheck command line: ";
  141     errs() << " " << argv[I];
  141     errs() << " " << argv[I];
  142   errs() << "\n";
  180   OS << "The following description was requested by -dump-input=help to\n"
  181      << "explain the input annotations printed by -dump-input=always and\n"
  182      << "-dump-input=fail:\n\n";
  185   OS << "  - ";
  187   OS << "     labels line number L of the input file\n";
  190   OS << "  - ";
  192   OS << "    labels the only match result for a pattern of type T from "
  193      << "line L of\n"
  194      << "           the check file\n";
  195   OS << "  - ";
  197   OS << "  labels the Nth match result for a pattern of type T from line "
  198      << "L of\n"
  199      << "           the check file\n";
  202   OS << "  - ";
  204   OS << "    marks good match (reported if -v)\n"
  205      << "  - ";
  207   OS << "    marks bad match, such as:\n"
  208      << "           - CHECK-NEXT on same line as previous match (error)\n"
  209      << "           - CHECK-NOT found (error)\n"
  210      << "           - CHECK-DAG overlapping match (discarded, reported if "
  211      << "-vv)\n"
  212      << "  - ";
  214   OS << "    marks search range when no match is found, such as:\n"
  215      << "           - CHECK-NEXT not found (error)\n"
  216      << "           - CHECK-NOT not found (success, reported if -vv)\n"
  217      << "           - CHECK-DAG not found after discarded matches (error)\n"
  218      << "  - ";
  220   OS << "      marks fuzzy match when no match is found\n";
  223   OS << "  - colors ";
  225   OS << ", ";
  227   OS << ", ";
  229   OS << ", ";
  231   OS << ", ";
  233   OS << "\n\n"
  234      << "If you are not seeing color above or in input dumps, try: -color\n";
  306     Label << GetCheckTypeAbbreviation(DiagItr->CheckTy) << ":"
  318       Label << "'" << A.CheckDiagIndex;
  374   OS << "Full input was:\n<<<<<<\n";
  508   OS << ">>>>>>\n";
  524     errs() << "<check-file> not specified\n";
  539       errs() << "Missing equal sign in command-line definition '-D" << G
  540              << "'\n";
  545       errs() << "Missing variable name in command-line definition '-D" << G
  546              << "'\n";
  569     errs() << "Supplied check-prefix is invalid! Prefixes must be unique and "
  578     errs() << "Unable to combine check-prefix strings into a prefix regular "
  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";
  619     errs() << "FileCheck error: '" << InputFilename << "' is empty.\n";
  641     errs() << "\n"
  642            << "Input file: "
  644            << "\n"
  645            << "Check file: " << CheckFilename << "\n"
  645            << "Check file: " << CheckFilename << "\n"
  646            << "\n"
  647            << "-dump-input=help describes the format of the following dump.\n"
  648            << "\n";
utils/TableGen/AsmMatcherEmitter.cpp
  802   errs() << TheDef->getName() << " -- " << "flattened:\"" << AsmString <<"\"\n";
  802   errs() << TheDef->getName() << " -- " << "flattened:\"" << AsmString <<"\"\n";
  802   errs() << TheDef->getName() << " -- " << "flattened:\"" << AsmString <<"\"\n";
  804   errs() << "  variant: " << AsmVariantID << "\n";
  804   errs() << "  variant: " << AsmVariantID << "\n";
  808     errs() << "  op[" << i << "] = " << Op.Class->ClassName << " - ";
  808     errs() << "  op[" << i << "] = " << Op.Class->ClassName << " - ";
  808     errs() << "  op[" << i << "] = " << Op.Class->ClassName << " - ";
  809     errs() << '\"' << Op.Token << "\"\n";
 1090         errs() << "warning: '" << TheDef->getName() << "': "
 1090         errs() << "warning: '" << TheDef->getName() << "': "
 1091                << "ignoring instruction with tied operand '"
 1092                << Tok << "'\n";
 1953     CvtOS << "void " << Target.getName() << ClassName << "::\n"
 1953     CvtOS << "void " << Target.getName() << ClassName << "::\n"
 1954           << "convertToMCInst(unsigned Kind, MCInst &Inst, "
 1955           << "unsigned Opcode,\n"
 1956           << "                const OperandVector &Operands,\n"
 1957           << "                const SmallBitVector &OptionalOperandsMask) {\n";
 1959     CvtOS << "void " << Target.getName() << ClassName << "::\n"
 1959     CvtOS << "void " << Target.getName() << ClassName << "::\n"
 1960           << "convertToMCInst(unsigned Kind, MCInst &Inst, "
 1961           << "unsigned Opcode,\n"
 1962           << "                const OperandVector &Operands) {\n";
 1964   CvtOS << "  assert(Kind < CVT_NUM_SIGNATURES && \"Invalid signature!\");\n";
 1965   CvtOS << "  const uint8_t *Converter = ConversionTable[Kind];\n";
 1971     CvtOS << "  unsigned DefaultsOffset[" << (MaxNumOperands + 1)
 1972           << "] = { 0 };\n";
 1973     CvtOS << "  assert(OptionalOperandsMask.size() == " << (MaxNumOperands)
 1974           << ");\n";
 1975     CvtOS << "  for (unsigned i = 0, NumDefaults = 0; i < " << (MaxNumOperands)
 1976           << "; ++i) {\n";
 1977     CvtOS << "    DefaultsOffset[i + 1] = NumDefaults;\n";
 1978     CvtOS << "    NumDefaults += (OptionalOperandsMask[i] ? 1 : 0);\n";
 1979     CvtOS << "  }\n";
 1981   CvtOS << "  unsigned OpIdx;\n";
 1982   CvtOS << "  Inst.setOpcode(Opcode);\n";
 1983   CvtOS << "  for (const uint8_t *p = Converter; *p; p+= 2) {\n";
 1985     CvtOS << "    OpIdx = *(p + 1) - DefaultsOffset[*(p + 1)];\n";
 1987     CvtOS << "    OpIdx = *(p + 1);\n";
 1989   CvtOS << "    switch (*p) {\n";
 1990   CvtOS << "    default: llvm_unreachable(\"invalid conversion entry!\");\n";
 1991   CvtOS << "    case CVT_Reg:\n";
 1992   CvtOS << "      static_cast<" << TargetOperandClass
 1993         << "&>(*Operands[OpIdx]).addRegOperands(Inst, 1);\n";
 1994   CvtOS << "      break;\n";
 1995   CvtOS << "    case CVT_Tied: {\n";
 1996   CvtOS << "      assert(OpIdx < (size_t)(std::end(TiedAsmOperandTable) -\n";
 1997   CvtOS << "                          std::begin(TiedAsmOperandTable)) &&\n";
 1998   CvtOS << "             \"Tied operand not found\");\n";
 1999   CvtOS << "      unsigned TiedResOpnd = TiedAsmOperandTable[OpIdx][0];\n";
 2000   CvtOS << "      if (TiedResOpnd != (uint8_t) -1)\n";
 2001   CvtOS << "        Inst.addOperand(Inst.getOperand(TiedResOpnd));\n";
 2002   CvtOS << "      break;\n";
 2003   CvtOS << "    }\n";
 2008   OpOS << "void " << Target.getName() << ClassName << "::\n"
 2008   OpOS << "void " << Target.getName() << ClassName << "::\n"
 2009        << "convertToMapAndConstraints(unsigned Kind,\n";
 2011   OpOS << "const OperandVector &Operands) {\n"
 2012        << "  assert(Kind < CVT_NUM_SIGNATURES && \"Invalid signature!\");\n"
 2013        << "  unsigned NumMCOperands = 0;\n"
 2014        << "  const uint8_t *Converter = ConversionTable[Kind];\n"
 2015        << "  for (const uint8_t *p = Converter; *p; p+= 2) {\n"
 2016        << "    switch (*p) {\n"
 2017        << "    default: llvm_unreachable(\"invalid conversion entry!\");\n"
 2018        << "    case CVT_Reg:\n"
 2019        << "      Operands[*(p + 1)]->setMCOperandNum(NumMCOperands);\n"
 2020        << "      Operands[*(p + 1)]->setConstraint(\"r\");\n"
 2021        << "      ++NumMCOperands;\n"
 2022        << "      break;\n"
 2023        << "    case CVT_Tied:\n"
 2024        << "      ++NumMCOperands;\n"
 2025        << "      break;\n";
 2061       CvtOS << "    case CVT_"
 2062             << getEnumNameForToken(AsmMatchConverter) << ":\n"
 2063             << "      " << AsmMatchConverter << "(Inst, Operands);\n"
 2063             << "      " << AsmMatchConverter << "(Inst, Operands);\n"
 2064             << "      break;\n";
 2121         CvtOS << "    case " << Name << ":\n";
 2121         CvtOS << "    case " << Name << ":\n";
 2126           CvtOS << "      if (OptionalOperandsMask[*(p + 1) - 1]) {\n"
 2127                 << "        " << Op.Class->DefaultMethod << "()"
 2127                 << "        " << Op.Class->DefaultMethod << "()"
 2128                 << "->" << Op.Class->RenderMethod << "(Inst, "
 2128                 << "->" << Op.Class->RenderMethod << "(Inst, "
 2129                 << OpInfo.MINumOperands << ");\n"
 2130                 << "      } else {\n"
 2131                 << "        static_cast<" << TargetOperandClass
 2132                 << "&>(*Operands[OpIdx])." << Op.Class->RenderMethod
 2133                 << "(Inst, " << OpInfo.MINumOperands << ");\n"
 2133                 << "(Inst, " << OpInfo.MINumOperands << ");\n"
 2134                 << "      }\n";
 2136           CvtOS << "      static_cast<" << TargetOperandClass
 2137                 << "&>(*Operands[OpIdx])." << Op.Class->RenderMethod
 2138                 << "(Inst, " << OpInfo.MINumOperands << ");\n";
 2138                 << "(Inst, " << OpInfo.MINumOperands << ");\n";
 2140         CvtOS << "      break;\n";
 2143         OpOS << "    case " << Name << ":\n"
 2143         OpOS << "    case " << Name << ":\n"
 2144              << "      Operands[*(p + 1)]->setMCOperandNum(NumMCOperands);\n";
 2147           OpOS << "      Operands[*(p + 1)]->setConstraint(\"r\");\n";
 2149           OpOS << "      Operands[*(p + 1)]->setConstraint(\"m\");\n";
 2150         OpOS << "      NumMCOperands += " << OpInfo.MINumOperands << ";\n"
 2150         OpOS << "      NumMCOperands += " << OpInfo.MINumOperands << ";\n"
 2151              << "      break;\n";
 2195         CvtOS << "    case " << Name << ":\n"
 2195         CvtOS << "    case " << Name << ":\n"
 2196               << "      Inst.addOperand(MCOperand::createImm(" << Val << "));\n"
 2196               << "      Inst.addOperand(MCOperand::createImm(" << Val << "));\n"
 2197               << "      break;\n";
 2199         OpOS << "    case " << Name << ":\n"
 2199         OpOS << "    case " << Name << ":\n"
 2200              << "      Operands[*(p + 1)]->setMCOperandNum(NumMCOperands);\n"
 2201              << "      Operands[*(p + 1)]->setConstraint(\"\");\n"
 2202              << "      ++NumMCOperands;\n"
 2203              << "      break;\n";
 2226         CvtOS << "    case " << Name << ":\n"
 2226         CvtOS << "    case " << Name << ":\n"
 2227               << "      Inst.addOperand(MCOperand::createReg(" << Reg << "));\n"
 2227               << "      Inst.addOperand(MCOperand::createReg(" << Reg << "));\n"
 2228               << "      break;\n";
 2230         OpOS << "    case " << Name << ":\n"
 2230         OpOS << "    case " << Name << ":\n"
 2231              << "      Operands[*(p + 1)]->setMCOperandNum(NumMCOperands);\n"
 2232              << "      Operands[*(p + 1)]->setConstraint(\"m\");\n"
 2233              << "      ++NumMCOperands;\n"
 2234              << "      break;\n";
 2255   CvtOS << "    }\n  }\n}\n\n";
 2258   OpOS << "    }\n  }\n}\n\n";
 2269     OS << "enum {\n";
 2271       OS << "  " << KV.second << ",\n";
 2271       OS << "  " << KV.second << ",\n";
 2273     OS << "};\n\n";
 2275     OS << "static const uint8_t TiedAsmOperandTable[][3] = {\n";
 2277       OS << "  /* " << KV.second << " */ { "
 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";
 2282     OS << "};\n\n";
 2284     OS << "static const uint8_t TiedAsmOperandTable[][3] = "
 2287   OS << "namespace {\n";
 2290   OS << "enum OperatorConversionKind {\n";
 2292     OS << "  " << Converter << ",\n";
 2292     OS << "  " << Converter << ",\n";
 2293   OS << "  CVT_NUM_CONVERTERS\n";
 2294   OS << "};\n\n";
 2297   OS << "enum InstructionConversionKind {\n";
 2299     OS << "  " << Signature << ",\n";
 2299     OS << "  " << Signature << ",\n";
 2300   OS << "  CVT_NUM_SIGNATURES\n";
 2301   OS << "};\n\n";
 2303   OS << "} // end anonymous namespace\n\n";
 2306   OS << "static const uint8_t ConversionTable[CVT_NUM_SIGNATURES]["
 2307      << MaxRowLength << "] = {\n";
 2311     OS << "  // " << InstructionConversionKinds[Row] << "\n";
 2311     OS << "  // " << InstructionConversionKinds[Row] << "\n";
 2312     OS << "  { ";
 2314       OS << OperandConversionKinds[ConversionTable[Row][i]] << ", ";
 2317         OS << (unsigned)(ConversionTable[Row][i + 1]) << ", ";
 2330       OS << TiedOpndEnum->second << ", ";
 2333     OS << "CVT_Done },\n";
 2336   OS << "};\n\n";
 2351   OS << "namespace {\n\n";
 2353   OS << "/// MatchClassKind - The kinds of classes which participate in\n"
 2354      << "/// instruction matching.\n";
 2355   OS << "enum MatchClassKind {\n";
 2356   OS << "  InvalidMatchClass = 0,\n";
 2357   OS << "  OptionalMatchClass = 1,\n";
 2362       OS << "  MCK_LAST_TOKEN = " << LastName << ",\n";
 2362       OS << "  MCK_LAST_TOKEN = " << LastName << ",\n";
 2365       OS << "  MCK_LAST_REGISTER = " << LastName << ",\n";
 2365       OS << "  MCK_LAST_REGISTER = " << LastName << ",\n";
 2370     OS << "  " << CI.Name << ", // ";
 2370     OS << "  " << CI.Name << ", // ";
 2372       OS << "'" << CI.ValueName << "'\n";
 2372       OS << "'" << CI.ValueName << "'\n";
 2375         OS << "register class '" << CI.ValueName << "'\n";
 2375         OS << "register class '" << CI.ValueName << "'\n";
 2377         OS << "derived register class\n";
 2379       OS << "user defined class '" << CI.ValueName << "'\n";
 2379       OS << "user defined class '" << CI.ValueName << "'\n";
 2382   OS << "  NumMatchClassKinds\n";
 2383   OS << "};\n\n";
 2385   OS << "} // end anonymous namespace\n\n";
 2398   OS << "static const char *getMatchKindDiag(" << Info.Target.getName()
 2399      << "AsmParser::" << Info.Target.getName()
 2400      << "MatchResultTy MatchResult) {\n";
 2401   OS << "  switch (MatchResult) {\n";
 2407       OS << "  case " << Info.Target.getName()
 2408          << "AsmParser::Match_" << CI.DiagnosticType << ":\n";
 2408          << "AsmParser::Match_" << CI.DiagnosticType << ":\n";
 2409       OS << "    return \"" << CI.DiagnosticString << "\";\n";
 2409       OS << "    return \"" << CI.DiagnosticString << "\";\n";
 2413   OS << "  default:\n";
 2414   OS << "    return nullptr;\n";
 2416   OS << "  }\n";
 2417   OS << "}\n\n";
 2421   OS << "static unsigned getDiagKindFromRegisterClass(MatchClassKind "
 2426     OS << "  return MCTargetAsmParser::Match_InvalidOperand;\n";
 2428     OS << "  switch (RegisterClass) {\n";
 2431         OS << "  case " << CI.Name << ":\n";
 2431         OS << "  case " << CI.Name << ":\n";
 2432         OS << "    return " << Info.Target.getName() << "AsmParser::Match_"
 2432         OS << "    return " << Info.Target.getName() << "AsmParser::Match_"
 2433            << CI.DiagnosticType << ";\n";
 2437     OS << "  default:\n";
 2438     OS << "    return MCTargetAsmParser::Match_InvalidOperand;\n";
 2440     OS << "  }\n";
 2442   OS << "}\n\n";
 2448   OS << "static unsigned validateOperandClass(MCParsedAsmOperand &GOp, "
 2449      << "MatchClassKind Kind) {\n";
 2450   OS << "  " << Info.Target.getName() << "Operand &Operand = ("
 2450   OS << "  " << Info.Target.getName() << "Operand &Operand = ("
 2451      << Info.Target.getName() << "Operand&)GOp;\n";
 2454   OS << "  if (Kind == InvalidMatchClass)\n";
 2455   OS << "    return MCTargetAsmParser::Match_InvalidOperand;\n\n";
 2459   OS << "  if (Operand.isToken() && Kind <= MCK_LAST_TOKEN)\n";
 2460   OS << "    return isSubclass(matchTokenString(Operand.getToken()), Kind) ?\n"
 2461      << "             MCTargetAsmParser::Match_Success :\n"
 2462      << "             MCTargetAsmParser::Match_InvalidOperand;\n\n";
 2466   OS << "  switch (Kind) {\n"
 2472     OS << "  // '" << CI.ClassName << "' class\n";
 2472     OS << "  // '" << CI.ClassName << "' class\n";
 2473     OS << "  case " << CI.Name << ": {\n";
 2473     OS << "  case " << CI.Name << ": {\n";
 2474     OS << "    DiagnosticPredicate DP(Operand." << CI.PredicateMethod
 2475        << "());\n";
 2476     OS << "    if (DP.isMatch())\n";
 2477     OS << "      return MCTargetAsmParser::Match_Success;\n";
 2479       OS << "    if (DP.isNearMatch())\n";
 2480       OS << "      return " << Info.Target.getName() << "AsmParser::Match_"
 2480       OS << "      return " << Info.Target.getName() << "AsmParser::Match_"
 2481          << CI.DiagnosticType << ";\n";
 2482       OS << "    break;\n";
 2485       OS << "    break;\n";
 2486     OS << "    }\n";
 2488   OS << "  } // end switch (Kind)\n\n";
 2491   OS << "  if (Operand.isReg()) {\n";
 2492   OS << "    MatchClassKind OpKind;\n";
 2493   OS << "    switch (Operand.getReg()) {\n";
 2494   OS << "    default: OpKind = InvalidMatchClass; break;\n";
 2496     OS << "    case " << RC.first->getValueAsString("Namespace") << "::"
 2496     OS << "    case " << RC.first->getValueAsString("Namespace") << "::"
 2497        << RC.first->getName() << ": OpKind = " << RC.second->Name
 2498        << "; break;\n";
 2499   OS << "    }\n";
 2500   OS << "    return isSubclass(OpKind, Kind) ? "
 2501      << "(unsigned)MCTargetAsmParser::Match_Success :\n                     "
 2502      << "                 getDiagKindFromRegisterClass(Kind);\n  }\n\n";
 2505   OS << "  if (Kind > MCK_LAST_TOKEN && Kind <= MCK_LAST_REGISTER)\n";
 2506   OS << "    return getDiagKindFromRegisterClass(Kind);\n\n";
 2510   OS << "  return MCTargetAsmParser::Match_InvalidOperand;\n";
 2511   OS << "}\n\n";
 2518   OS << "/// isSubclass - Compute whether \\p A is a subclass of \\p B.\n";
 2519   OS << "static bool isSubclass(MatchClassKind A, MatchClassKind B) {\n";
 2520   OS << "  if (A == B)\n";
 2521   OS << "    return true;\n\n";
 2538       OS << "  switch (A) {\n";
 2539       OS << "  default:\n";
 2540       OS << "    return false;\n";
 2544     OS << "\n  case " << A.Name << ":\n";
 2544     OS << "\n  case " << A.Name << ":\n";
 2547       OS << "    return B == " << SuperClasses.back() << ";\n";
 2547       OS << "    return B == " << SuperClasses.back() << ";\n";
 2552       OS << "    switch (B) {\n";
 2553       OS << "    default: return false;\n";
 2555         OS << "    case " << SC << ": return true;\n";
 2555         OS << "    case " << SC << ": return true;\n";
 2556       OS << "    }\n";
 2559       OS << "    return false;\n";
 2566     OS << "  }\n";
 2568     OS << "  return false;\n";
 2570   OS << "}\n\n";
 2585   OS << "static MatchClassKind matchTokenString(StringRef Name) {\n";
 2589   OS << "  return InvalidMatchClass;\n";
 2590   OS << "}\n\n";
 2608   OS << "static unsigned MatchRegisterName(StringRef Name) {\n";
 2614   OS << "  return 0;\n";
 2615   OS << "}\n\n";
 2641   OS << "static unsigned MatchRegisterAltName(StringRef Name) {\n";
 2647   OS << "  return 0;\n";
 2648   OS << "}\n\n";
 2668     OS << "  Match_" << Type << ",\n";
 2668     OS << "  Match_" << Type << ",\n";
 2669   OS << "  END_OPERAND_DIAGNOSTIC_TYPES\n";
 2675   OS << "// User-level names for subtarget features that participate in\n"
 2676      << "// instruction matching.\n"
 2677      << "static const char *getSubtargetFeatureName(uint64_t Val) {\n";
 2679     OS << "  switch(Val) {\n";
 2683       OS << "  case " << SFI.getEnumBitName() << ": return \""
 2683       OS << "  case " << SFI.getEnumBitName() << ": return \""
 2684          << SFI.TheDef->getValueAsString("PredicateName") << "\";\n";
 2686     OS << "  default: return \"(unknown)\";\n";
 2687     OS << "  }\n";
 2690     OS << "  return \"(unknown)\";\n";
 2692   OS << "}\n\n";
 2805   OS << "static void applyMnemonicAliases(StringRef &Mnemonic, "
 2807   OS << "  switch (VariantID) {\n";
 2813     OS << "    case " << AsmParserVariantNo << ":\n";
 2813     OS << "    case " << AsmParserVariantNo << ":\n";
 2816     OS << "    break;\n";
 2818   OS << "  }\n";
 2823   OS << "}\n\n";
 2840   OS << "namespace {\n";
 2841   OS << "  struct OperandMatchEntry {\n";
 2842   OS << "    " << getMinimalTypeForRange(MaxMnemonicIndex)
 2842   OS << "    " << getMinimalTypeForRange(MaxMnemonicIndex)
 2843                << " Mnemonic;\n";
 2844   OS << "    " << getMinimalTypeForRange(MaxMask)
 2844   OS << "    " << getMinimalTypeForRange(MaxMask)
 2845                << " OperandMask;\n";
 2846   OS << "    " << getMinimalTypeForRange(std::distance(
 2846   OS << "    " << getMinimalTypeForRange(std::distance(
 2847                       Info.Classes.begin(), Info.Classes.end())) << " Class;\n";
 2848   OS << "    " << getMinimalTypeForRange(MaxFeaturesIndex)
 2848   OS << "    " << getMinimalTypeForRange(MaxFeaturesIndex)
 2849                << " RequiredFeaturesIdx;\n\n";
 2850   OS << "    StringRef getMnemonic() const {\n";
 2851   OS << "      return StringRef(MnemonicTable + Mnemonic + 1,\n";
 2852   OS << "                       MnemonicTable[Mnemonic]);\n";
 2853   OS << "    }\n";
 2854   OS << "  };\n\n";
 2856   OS << "  // Predicate for searching for an opcode.\n";
 2857   OS << "  struct LessOpcodeOperand {\n";
 2858   OS << "    bool operator()(const OperandMatchEntry &LHS, StringRef RHS) {\n";
 2859   OS << "      return LHS.getMnemonic()  < RHS;\n";
 2860   OS << "    }\n";
 2861   OS << "    bool operator()(StringRef LHS, const OperandMatchEntry &RHS) {\n";
 2862   OS << "      return LHS < RHS.getMnemonic();\n";
 2863   OS << "    }\n";
 2864   OS << "    bool operator()(const OperandMatchEntry &LHS,";
 2865   OS << " const OperandMatchEntry &RHS) {\n";
 2866   OS << "      return LHS.getMnemonic() < RHS.getMnemonic();\n";
 2867   OS << "    }\n";
 2868   OS << "  };\n";
 2870   OS << "} // end anonymous namespace\n\n";
 2872   OS << "static const OperandMatchEntry OperandMatchTable["
 2873      << Info.OperandMatchInfo.size() << "] = {\n";
 2875   OS << "  /* Operand List Mnemonic, Mask, Operand Class, Features */\n";
 2879     OS << "  { ";
 2884        << " /* " << II.Mnemonic << " */, ";
 2884        << " /* " << II.Mnemonic << " */, ";
 2887     OS << " /* ";
 2892           OS << ", ";
 2896     OS << " */, ";
 2901     OS << ", AMFBS";
 2903       OS << "_None";
 2908     OS << " },\n";
 2910   OS << "};\n\n";
 2914   OS << "OperandMatchResultTy " << Target.getName() << ClassName << "::\n"
 2914   OS << "OperandMatchResultTy " << Target.getName() << ClassName << "::\n"
 2915      << "tryCustomParseOperand(OperandVector"
 2916      << " &Operands,\n                      unsigned MCK) {\n\n"
 2917      << "  switch(MCK) {\n";
 2922     OS << "  case " << CI.Name << ":\n"
 2922     OS << "  case " << CI.Name << ":\n"
 2923        << "    return " << CI.ParserMethod << "(Operands);\n";
 2923        << "    return " << CI.ParserMethod << "(Operands);\n";
 2926   OS << "  default:\n";
 2927   OS << "    return MatchOperand_NoMatch;\n";
 2928   OS << "  }\n";
 2929   OS << "  return MatchOperand_NoMatch;\n";
 2930   OS << "}\n\n";
 2935   OS << "OperandMatchResultTy " << Target.getName() << ClassName << "::\n"
 2935   OS << "OperandMatchResultTy " << Target.getName() << ClassName << "::\n"
 2936      << "MatchOperandParserImpl(OperandVector"
 2937      << " &Operands,\n                       StringRef Mnemonic,\n"
 2938      << "                       bool ParseForAllFeatures) {\n";
 2941   OS << "  // Get the current feature set.\n";
 2942   OS << "  const FeatureBitset &AvailableFeatures = getAvailableFeatures();\n\n";
 2944   OS << "  // Get the next operand index.\n";
 2945   OS << "  unsigned NextOpNum = Operands.size()"
 2946      << (HasMnemonicFirst ? " - 1" : "") << ";\n";
 2946      << (HasMnemonicFirst ? " - 1" : "") << ";\n";
 2949   OS << "  // Search the table.\n";
 2951     OS << "  auto MnemonicRange =\n";
 2952     OS << "    std::equal_range(std::begin(OperandMatchTable), "
 2954     OS << "                     Mnemonic, LessOpcodeOperand());\n\n";
 2956     OS << "  auto MnemonicRange = std::make_pair(std::begin(OperandMatchTable),"
 2958     OS << "  if (!Mnemonic.empty())\n";
 2959     OS << "    MnemonicRange =\n";
 2960     OS << "      std::equal_range(std::begin(OperandMatchTable), "
 2962     OS << "                       Mnemonic, LessOpcodeOperand());\n\n";
 2965   OS << "  if (MnemonicRange.first == MnemonicRange.second)\n";
 2966   OS << "    return MatchOperand_NoMatch;\n\n";
 2968   OS << "  for (const OperandMatchEntry *it = MnemonicRange.first,\n"
 2969      << "       *ie = MnemonicRange.second; it != ie; ++it) {\n";
 2971   OS << "    // equal_range guarantees that instruction mnemonic matches.\n";
 2972   OS << "    assert(Mnemonic == it->getMnemonic());\n\n";
 2975   OS << "    // check if the available features match\n";
 2976   OS << "    const FeatureBitset &RequiredFeatures = "
 2978   OS << "    if (!ParseForAllFeatures && (AvailableFeatures & "
 2980   OS << "        continue;\n\n";
 2983   OS << "    // check if the operand in question has a custom parser.\n";
 2984   OS << "    if (!(it->OperandMask & (1 << NextOpNum)))\n";
 2985   OS << "      continue;\n\n";
 2988   OS << "    // call custom parse method to handle the operand\n";
 2989   OS << "    OperandMatchResultTy Result = ";
 2990   OS << "tryCustomParseOperand(Operands, it->Class);\n";
 2991   OS << "    if (Result != MatchOperand_NoMatch)\n";
 2992   OS << "      return Result;\n";
 2993   OS << "  }\n\n";
 2995   OS << "  // Okay, we had no match.\n";
 2996   OS << "  return MatchOperand_NoMatch;\n";
 2997   OS << "}\n\n";
 3005   OS << "static bool ";
 3006   OS << "checkAsmTiedOperandConstraints(const " << Target.getName()
 3007      << AsmParserName << "&AsmParser,\n";
 3008   OS << "                               unsigned Kind,\n";
 3009   OS << "                               const OperandVector &Operands,\n";
 3010   OS << "                               uint64_t &ErrorInfo) {\n";
 3011   OS << "  assert(Kind < CVT_NUM_SIGNATURES && \"Invalid signature!\");\n";
 3012   OS << "  const uint8_t *Converter = ConversionTable[Kind];\n";
 3013   OS << "  for (const uint8_t *p = Converter; *p; p+= 2) {\n";
 3014   OS << "    switch (*p) {\n";
 3015   OS << "    case CVT_Tied: {\n";
 3016   OS << "      unsigned OpIdx = *(p+1);\n";
 3017   OS << "      assert(OpIdx < (size_t)(std::end(TiedAsmOperandTable) -\n";
 3018   OS << "                              std::begin(TiedAsmOperandTable)) &&\n";
 3019   OS << "             \"Tied operand not found\");\n";
 3020   OS << "      unsigned OpndNum1 = TiedAsmOperandTable[OpIdx][1];\n";
 3021   OS << "      unsigned OpndNum2 = TiedAsmOperandTable[OpIdx][2];\n";
 3022   OS << "      if (OpndNum1 != OpndNum2) {\n";
 3023   OS << "        auto &SrcOp1 = Operands[OpndNum1];\n";
 3024   OS << "        auto &SrcOp2 = Operands[OpndNum2];\n";
 3025   OS << "        if (SrcOp1->isReg() && SrcOp2->isReg()) {\n";
 3026   OS << "          if (!AsmParser.regsEqual(*SrcOp1, *SrcOp2)) {\n";
 3027   OS << "            ErrorInfo = OpndNum2;\n";
 3028   OS << "            return false;\n";
 3029   OS << "          }\n";
 3030   OS << "        }\n";
 3031   OS << "      }\n";
 3032   OS << "      break;\n";
 3033   OS << "    }\n";
 3034   OS << "    default:\n";
 3035   OS << "      break;\n";
 3036   OS << "    }\n";
 3037   OS << "  }\n";
 3038   OS << "  return true;\n";
 3039   OS << "}\n\n";
 3044   OS << "static std::string " << Target.getName()
 3045      << "MnemonicSpellCheck(StringRef S, const FeatureBitset &FBS,"
 3046      << " unsigned VariantID) {\n";
 3048     OS <<  "  return \"\";";
 3050     OS << "  const unsigned MaxEditDist = 2;\n";
 3051     OS << "  std::vector<StringRef> Candidates;\n";
 3052     OS << "  StringRef Prev = \"\";\n\n";
 3054     OS << "  // Find the appropriate table for this asm variant.\n";
 3055     OS << "  const MatchEntry *Start, *End;\n";
 3056     OS << "  switch (VariantID) {\n";
 3057     OS << "  default: llvm_unreachable(\"invalid variant!\");\n";
 3061       OS << "  case " << AsmVariantNo << ": Start = std::begin(MatchTable" << VC
 3061       OS << "  case " << AsmVariantNo << ": Start = std::begin(MatchTable" << VC
 3062          << "); End = std::end(MatchTable" << VC << "); break;\n";
 3062          << "); End = std::end(MatchTable" << VC << "); break;\n";
 3064     OS << "  }\n\n";
 3065     OS << "  for (auto I = Start; I < End; I++) {\n";
 3066     OS << "    // Ignore unsupported instructions.\n";
 3067     OS << "    const FeatureBitset &RequiredFeatures = "
 3069     OS << "    if ((FBS & RequiredFeatures) != RequiredFeatures)\n";
 3070     OS << "      continue;\n";
 3071     OS << "\n";
 3072     OS << "    StringRef T = I->getMnemonic();\n";
 3073     OS << "    // Avoid recomputing the edit distance for the same string.\n";
 3074     OS << "    if (T.equals(Prev))\n";
 3075     OS << "      continue;\n";
 3076     OS << "\n";
 3077     OS << "    Prev = T;\n";
 3078     OS << "    unsigned Dist = S.edit_distance(T, false, MaxEditDist);\n";
 3079     OS << "    if (Dist <= MaxEditDist)\n";
 3080     OS << "      Candidates.push_back(T);\n";
 3081     OS << "  }\n";
 3082     OS << "\n";
 3083     OS << "  if (Candidates.empty())\n";
 3084     OS << "    return \"\";\n";
 3085     OS << "\n";
 3086     OS << "  std::string Res = \", did you mean: \";\n";
 3087     OS << "  unsigned i = 0;\n";
 3088     OS << "  for( ; i < Candidates.size() - 1; i++)\n";
 3089     OS << "    Res += Candidates[i].str() + \", \";\n";
 3090     OS << "  return Res + Candidates[i].str() + \"?\";\n";
 3092   OS << "}\n";
 3093   OS << "\n";
 3100   OS << "#ifndef NDEBUG\n";
 3101   OS << "const char *getMatchClassName(MatchClassKind Kind) {\n";
 3102   OS << "  switch (Kind) {\n";
 3104   OS << "  case InvalidMatchClass: return \"InvalidMatchClass\";\n";
 3105   OS << "  case OptionalMatchClass: return \"OptionalMatchClass\";\n";
 3107     OS << "  case " << CI.Name << ": return \"" << CI.Name << "\";\n";
 3107     OS << "  case " << CI.Name << ": return \"" << CI.Name << "\";\n";
 3107     OS << "  case " << CI.Name << ": return \"" << CI.Name << "\";\n";
 3109   OS << "  case NumMatchClassKinds: return \"NumMatchClassKinds\";\n";
 3111   OS << "  }\n";
 3112   OS << "  llvm_unreachable(\"unhandled MatchClassKind!\");\n";
 3113   OS << "}\n\n";
 3114   OS << "#endif // NDEBUG\n";
 3167           errs() << "warning: ambiguous matchables:\n";
 3169           errs() << "\nis incomparable with:\n";
 3171           errs() << "\n\n";
 3177       errs() << "warning: " << NumAmbiguous
 3178              << " ambiguous matchables!\n";
 3192   OS << "\n#ifdef GET_ASSEMBLER_HEADER\n";
 3193   OS << "#undef GET_ASSEMBLER_HEADER\n";
 3194   OS << "  // This should be included into the middle of the declaration of\n";
 3195   OS << "  // your subclasses implementation of MCTargetAsmParser.\n";
 3196   OS << "  FeatureBitset ComputeAvailableFeatures(const FeatureBitset& FB) const;\n";
 3198     OS << "  void convertToMCInst(unsigned Kind, MCInst &Inst, "
 3199        << "unsigned Opcode,\n"
 3200        << "                       const OperandVector &Operands,\n"
 3201        << "                       const SmallBitVector &OptionalOperandsMask);\n";
 3203     OS << "  void convertToMCInst(unsigned Kind, MCInst &Inst, "
 3204        << "unsigned Opcode,\n"
 3205        << "                       const OperandVector &Operands);\n";
 3207   OS << "  void convertToMapAndConstraints(unsigned Kind,\n                ";
 3208   OS << "           const OperandVector &Operands) override;\n";
 3209   OS << "  unsigned MatchInstructionImpl(const OperandVector &Operands,\n"
 3210      << "                                MCInst &Inst,\n";
 3212     OS << "                                SmallVectorImpl<NearMissInfo> *NearMisses,\n";
 3214     OS << "                                uint64_t &ErrorInfo,\n"
 3215        << "                                FeatureBitset &MissingFeatures,\n";
 3216   OS << "                                bool matchingInlineAsm,\n"
 3217      << "                                unsigned VariantID = 0);\n";
 3219     OS << "  unsigned MatchInstructionImpl(const OperandVector &Operands,\n"
 3220        << "                                MCInst &Inst,\n"
 3221        << "                                uint64_t &ErrorInfo,\n"
 3222        << "                                bool matchingInlineAsm,\n"
 3223        << "                                unsigned VariantID = 0) {\n"
 3224        << "    FeatureBitset MissingFeatures;\n"
 3225        << "    return MatchInstructionImpl(Operands, Inst, ErrorInfo, MissingFeatures,\n"
 3226        << "                                matchingInlineAsm, VariantID);\n"
 3227        << "  }\n\n";
 3231     OS << "  OperandMatchResultTy MatchOperandParserImpl(\n";
 3232     OS << "    OperandVector &Operands,\n";
 3233     OS << "    StringRef Mnemonic,\n";
 3234     OS << "    bool ParseForAllFeatures = false);\n";
 3236     OS << "  OperandMatchResultTy tryCustomParseOperand(\n";
 3237     OS << "    OperandVector &Operands,\n";
 3238     OS << "    unsigned MCK);\n\n";
 3241   OS << "#endif // GET_ASSEMBLER_HEADER_INFO\n\n";
 3244   OS << "\n#ifdef GET_OPERAND_DIAGNOSTIC_TYPES\n";
 3245   OS << "#undef GET_OPERAND_DIAGNOSTIC_TYPES\n\n";
 3247   OS << "#endif // GET_OPERAND_DIAGNOSTIC_TYPES\n\n";
 3249   OS << "\n#ifdef GET_REGISTER_MATCHER\n";
 3250   OS << "#undef GET_REGISTER_MATCHER\n\n";
 3264   OS << "#endif // GET_REGISTER_MATCHER\n\n";
 3266   OS << "\n#ifdef GET_SUBTARGET_FEATURE_NAME\n";
 3267   OS << "#undef GET_SUBTARGET_FEATURE_NAME\n\n";
 3272   OS << "#endif // GET_SUBTARGET_FEATURE_NAME\n\n";
 3274   OS << "\n#ifdef GET_MATCHER_IMPLEMENTATION\n";
 3275   OS << "#undef GET_MATCHER_IMPLEMENTATION\n\n";
 3331   OS << "static const char *const MnemonicTable =\n";
 3333   OS << ";\n\n";
 3361   OS << "// Feature bitsets.\n"
 3362      << "enum : " << getMinimalTypeForRange(FeatureBitsets.size()) << " {\n"
 3362      << "enum : " << getMinimalTypeForRange(FeatureBitsets.size()) << " {\n"
 3362      << "enum : " << getMinimalTypeForRange(FeatureBitsets.size()) << " {\n"
 3363      << "  AMFBS_None,\n";
 3367     OS << "  " << getNameForFeatureBitset(FeatureBitset) << ",\n";
 3367     OS << "  " << getNameForFeatureBitset(FeatureBitset) << ",\n";
 3369   OS << "};\n\n"
 3370      << "static constexpr FeatureBitset FeatureBitsets[] = {\n"
 3371      << "  {}, // AMFBS_None\n";
 3375     OS << "  {";
 3379       OS << I->second.getEnumBitName() << ", ";
 3381     OS << "},\n";
 3383   OS << "};\n\n";
 3395   OS << "namespace {\n";
 3396   OS << "  struct MatchEntry {\n";
 3397   OS << "    " << getMinimalTypeForRange(MaxMnemonicIndex)
 3397   OS << "    " << getMinimalTypeForRange(MaxMnemonicIndex)
 3398                << " Mnemonic;\n";
 3399   OS << "    uint16_t Opcode;\n";
 3400   OS << "    " << getMinimalTypeForRange(NumConverters)
 3400   OS << "    " << getMinimalTypeForRange(NumConverters)
 3401                << " ConvertFn;\n";
 3402   OS << "    " << getMinimalTypeForRange(FeatureBitsets.size())
 3402   OS << "    " << getMinimalTypeForRange(FeatureBitsets.size())
 3403                << " RequiredFeaturesIdx;\n";
 3404   OS << "    " << getMinimalTypeForRange(
 3404   OS << "    " << getMinimalTypeForRange(
 3406      << " Classes[" << MaxNumOperands << "];\n";
 3406      << " Classes[" << MaxNumOperands << "];\n";
 3407   OS << "    StringRef getMnemonic() const {\n";
 3408   OS << "      return StringRef(MnemonicTable + Mnemonic + 1,\n";
 3409   OS << "                       MnemonicTable[Mnemonic]);\n";
 3410   OS << "    }\n";
 3411   OS << "  };\n\n";
 3413   OS << "  // Predicate for searching for an opcode.\n";
 3414   OS << "  struct LessOpcode {\n";
 3415   OS << "    bool operator()(const MatchEntry &LHS, StringRef RHS) {\n";
 3416   OS << "      return LHS.getMnemonic() < RHS;\n";
 3417   OS << "    }\n";
 3418   OS << "    bool operator()(StringRef LHS, const MatchEntry &RHS) {\n";
 3419   OS << "      return LHS < RHS.getMnemonic();\n";
 3420   OS << "    }\n";
 3421   OS << "    bool operator()(const MatchEntry &LHS, const MatchEntry &RHS) {\n";
 3422   OS << "      return LHS.getMnemonic() < RHS.getMnemonic();\n";
 3423   OS << "    }\n";
 3424   OS << "  };\n";
 3426   OS << "} // end anonymous namespace\n\n";
 3433     OS << "static const MatchEntry MatchTable" << VC << "[] = {\n";
 3433     OS << "static const MatchEntry MatchTable" << VC << "[] = {\n";
 3441       OS << "  { " << StringTable.GetOrAddStringOffset(LenMnemonic, false)
 3442          << " /* " << MI->Mnemonic << " */, "
 3442          << " /* " << MI->Mnemonic << " */, "
 3443          << Target.getInstNamespace() << "::"
 3444          << MI->getResultInst()->TheDef->getName() << ", "
 3445          << MI->ConversionFnKind << ", ";
 3448       OS << "AMFBS";
 3450         OS << "_None";
 3455       OS << ", { ";
 3459         if (i) OS << ", ";
 3462       OS << " }, },\n";
 3465     OS << "};\n\n";
 3468   OS << "#include \"llvm/Support/Debug.h\"\n";
 3469   OS << "#include \"llvm/Support/Format.h\"\n\n";
 3472   OS << "unsigned " << Target.getName() << ClassName << "::\n"
 3472   OS << "unsigned " << Target.getName() << ClassName << "::\n"
 3473      << "MatchInstructionImpl(const OperandVector &Operands,\n";
 3474   OS << "                     MCInst &Inst,\n";
 3476     OS << "                     SmallVectorImpl<NearMissInfo> *NearMisses,\n";
 3478     OS << "                     uint64_t &ErrorInfo,\n"
 3479        << "                     FeatureBitset &MissingFeatures,\n";
 3480   OS << "                     bool matchingInlineAsm, unsigned VariantID) {\n";
 3483     OS << "  // Eliminate obvious mismatches.\n";
 3484     OS << "  if (Operands.size() > "
 3485        << (MaxNumOperands + HasMnemonicFirst) << ") {\n";
 3486     OS << "    ErrorInfo = "
 3487        << (MaxNumOperands + HasMnemonicFirst) << ";\n";
 3488     OS << "    return Match_InvalidOperand;\n";
 3489     OS << "  }\n\n";
 3493   OS << "  // Get the current feature set.\n";
 3494   OS << "  const FeatureBitset &AvailableFeatures = getAvailableFeatures();\n\n";
 3496   OS << "  // Get the instruction mnemonic, which is the first token.\n";
 3498     OS << "  StringRef Mnemonic = ((" << Target.getName()
 3499        << "Operand&)*Operands[0]).getToken();\n\n";
 3501     OS << "  StringRef Mnemonic;\n";
 3502     OS << "  if (Operands[0]->isToken())\n";
 3503     OS << "    Mnemonic = ((" << Target.getName()
 3504        << "Operand&)*Operands[0]).getToken();\n\n";
 3508     OS << "  // Process all MnemonicAliases to remap the mnemonic.\n";
 3509     OS << "  applyMnemonicAliases(Mnemonic, AvailableFeatures, VariantID);\n\n";
 3514     OS << "  // Some state to try to produce better error messages.\n";
 3515     OS << "  bool HadMatchOtherThanFeatures = false;\n";
 3516     OS << "  bool HadMatchOtherThanPredicate = false;\n";
 3517     OS << "  unsigned RetCode = Match_InvalidOperand;\n";
 3518     OS << "  MissingFeatures.set();\n";
 3519     OS << "  // Set ErrorInfo to the operand that mismatches if it is\n";
 3520     OS << "  // wrong for all instances of the instruction.\n";
 3521     OS << "  ErrorInfo = ~0ULL;\n";
 3525     OS << "  SmallBitVector OptionalOperandsMask(" << MaxNumOperands << ");\n";
 3525     OS << "  SmallBitVector OptionalOperandsMask(" << MaxNumOperands << ");\n";
 3529   OS << "  // Find the appropriate table for this asm variant.\n";
 3530   OS << "  const MatchEntry *Start, *End;\n";
 3531   OS << "  switch (VariantID) {\n";
 3532   OS << "  default: llvm_unreachable(\"invalid variant!\");\n";
 3536     OS << "  case " << AsmVariantNo << ": Start = std::begin(MatchTable" << VC
 3536     OS << "  case " << AsmVariantNo << ": Start = std::begin(MatchTable" << VC
 3537        << "); End = std::end(MatchTable" << VC << "); break;\n";
 3537        << "); End = std::end(MatchTable" << VC << "); break;\n";
 3539   OS << "  }\n";
 3541   OS << "  // Search the table.\n";
 3543     OS << "  auto MnemonicRange = "
 3546     OS << "  auto MnemonicRange = std::make_pair(Start, End);\n";
 3547     OS << "  unsigned SIndex = Mnemonic.empty() ? 0 : 1;\n";
 3548     OS << "  if (!Mnemonic.empty())\n";
 3549     OS << "    MnemonicRange = "
 3553   OS << "  DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \"AsmMatcher: found \" <<\n"
 3554      << "  std::distance(MnemonicRange.first, MnemonicRange.second) << \n"
 3555      << "  \" encodings with mnemonic '\" << Mnemonic << \"'\\n\");\n\n";
 3557   OS << "  // Return a more specific error code if no mnemonics match.\n";
 3558   OS << "  if (MnemonicRange.first == MnemonicRange.second)\n";
 3559   OS << "    return Match_MnemonicFail;\n\n";
 3561   OS << "  for (const MatchEntry *it = MnemonicRange.first, "
 3562      << "*ie = MnemonicRange.second;\n";
 3563   OS << "       it != ie; ++it) {\n";
 3564   OS << "    const FeatureBitset &RequiredFeatures = "
 3566   OS << "    bool HasRequiredFeatures =\n";
 3567   OS << "      (AvailableFeatures & RequiredFeatures) == RequiredFeatures;\n";
 3568   OS << "    DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \"Trying to match opcode \"\n";
 3569   OS << "                                          << MII.getName(it->Opcode) << \"\\n\");\n";
 3572     OS << "    // Some state to record ways in which this instruction did not match.\n";
 3573     OS << "    NearMissInfo OperandNearMiss = NearMissInfo::getSuccess();\n";
 3574     OS << "    NearMissInfo FeaturesNearMiss = NearMissInfo::getSuccess();\n";
 3575     OS << "    NearMissInfo EarlyPredicateNearMiss = NearMissInfo::getSuccess();\n";
 3576     OS << "    NearMissInfo LatePredicateNearMiss = NearMissInfo::getSuccess();\n";
 3577     OS << "    bool MultipleInvalidOperands = false;\n";
 3581     OS << "    // equal_range guarantees that instruction mnemonic matches.\n";
 3582     OS << "    assert(Mnemonic == it->getMnemonic());\n";
 3587     OS << "    bool OperandsValid = true;\n";
 3589     OS << "    OptionalOperandsMask.reset(0, " << MaxNumOperands << ");\n";
 3589     OS << "    OptionalOperandsMask.reset(0, " << MaxNumOperands << ");\n";
 3591   OS << "    for (unsigned FormalIdx = " << (HasMnemonicFirst ? "0" : "SIndex")
 3591   OS << "    for (unsigned FormalIdx = " << (HasMnemonicFirst ? "0" : "SIndex")
 3592      << ", ActualIdx = " << (HasMnemonicFirst ? "1" : "SIndex")
 3592      << ", ActualIdx = " << (HasMnemonicFirst ? "1" : "SIndex")
 3593      << "; FormalIdx != " << MaxNumOperands << "; ++FormalIdx) {\n";
 3593      << "; FormalIdx != " << MaxNumOperands << "; ++FormalIdx) {\n";
 3594   OS << "      auto Formal = "
 3595      << "static_cast<MatchClassKind>(it->Classes[FormalIdx]);\n";
 3596   OS << "      DEBUG_WITH_TYPE(\"asm-matcher\",\n";
 3597   OS << "                      dbgs() << \"  Matching formal operand class \" << getMatchClassName(Formal)\n";
 3598   OS << "                             << \" against actual operand at index \" << ActualIdx);\n";
 3599   OS << "      if (ActualIdx < Operands.size())\n";
 3600   OS << "        DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \" (\";\n";
 3601   OS << "                        Operands[ActualIdx]->print(dbgs()); dbgs() << \"): \");\n";
 3602   OS << "      else\n";
 3603   OS << "        DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \": \");\n";
 3604   OS << "      if (ActualIdx >= Operands.size()) {\n";
 3605   OS << "        DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \"actual operand index out of range \");\n";
 3607     OS << "        bool ThisOperandValid = (Formal == " <<"InvalidMatchClass) || "
 3607     OS << "        bool ThisOperandValid = (Formal == " <<"InvalidMatchClass) || "
 3609     OS << "        if (!ThisOperandValid) {\n";
 3610     OS << "          if (!OperandNearMiss) {\n";
 3611     OS << "            // Record info about match failure for later use.\n";
 3612     OS << "            DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \"recording too-few-operands near miss\\n\");\n";
 3613     OS << "            OperandNearMiss =\n";
 3614     OS << "                NearMissInfo::getTooFewOperands(Formal, it->Opcode);\n";
 3615     OS << "          } else if (OperandNearMiss.getKind() != NearMissInfo::NearMissTooFewOperands) {\n";
 3616     OS << "            // If more than one operand is invalid, give up on this match entry.\n";
 3617     OS << "            DEBUG_WITH_TYPE(\n";
 3618     OS << "                \"asm-matcher\",\n";
 3619     OS << "                dbgs() << \"second invalid operand, giving up on this opcode\\n\");\n";
 3620     OS << "            MultipleInvalidOperands = true;\n";
 3621     OS << "            break;\n";
 3622     OS << "          }\n";
 3623     OS << "        } else {\n";
 3624     OS << "          DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \"but formal operand not required\\n\");\n";
 3625     OS << "          break;\n";
 3626     OS << "        }\n";
 3627     OS << "        continue;\n";
 3629     OS << "        OperandsValid = (Formal == InvalidMatchClass) || isSubclass(Formal, OptionalMatchClass);\n";
 3630     OS << "        if (!OperandsValid) ErrorInfo = ActualIdx;\n";
 3632       OS << "        OptionalOperandsMask.set(FormalIdx, " << MaxNumOperands
 3633          << ");\n";
 3635     OS << "        break;\n";
 3637   OS << "      }\n";
 3638   OS << "      MCParsedAsmOperand &Actual = *Operands[ActualIdx];\n";
 3639   OS << "      unsigned Diag = validateOperandClass(Actual, Formal);\n";
 3640   OS << "      if (Diag == Match_Success) {\n";
 3641   OS << "        DEBUG_WITH_TYPE(\"asm-matcher\",\n";
 3642   OS << "                        dbgs() << \"match success using generic matcher\\n\");\n";
 3643   OS << "        ++ActualIdx;\n";
 3644   OS << "        continue;\n";
 3645   OS << "      }\n";
 3646   OS << "      // If the generic handler indicates an invalid operand\n";
 3647   OS << "      // failure, check for a special case.\n";
 3648   OS << "      if (Diag != Match_Success) {\n";
 3649   OS << "        unsigned TargetDiag = validateTargetOperandClass(Actual, Formal);\n";
 3650   OS << "        if (TargetDiag == Match_Success) {\n";
 3651   OS << "          DEBUG_WITH_TYPE(\"asm-matcher\",\n";
 3652   OS << "                          dbgs() << \"match success using target matcher\\n\");\n";
 3653   OS << "          ++ActualIdx;\n";
 3654   OS << "          continue;\n";
 3655   OS << "        }\n";
 3656   OS << "        // If the target matcher returned a specific error code use\n";
 3657   OS << "        // that, else use the one from the generic matcher.\n";
 3658   OS << "        if (TargetDiag != Match_InvalidOperand && "
 3660   OS << "          Diag = TargetDiag;\n";
 3661   OS << "      }\n";
 3662   OS << "      // If current formal operand wasn't matched and it is optional\n"
 3663      << "      // then try to match next formal operand\n";
 3664   OS << "      if (Diag == Match_InvalidOperand "
 3665      << "&& isSubclass(Formal, OptionalMatchClass)) {\n";
 3667     OS << "        OptionalOperandsMask.set(FormalIdx);\n";
 3669     OS << "        DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \"ignoring optional operand\\n\");\n";
 3670   OS << "        continue;\n";
 3671   OS << "      }\n";
 3674     OS << "      if (!OperandNearMiss) {\n";
 3675     OS << "        // If this is the first invalid operand we have seen, record some\n";
 3676     OS << "        // information about it.\n";
 3677     OS << "        DEBUG_WITH_TYPE(\n";
 3678     OS << "            \"asm-matcher\",\n";
 3679     OS << "            dbgs()\n";
 3680     OS << "                << \"operand match failed, recording near-miss with diag code \"\n";
 3681     OS << "                << Diag << \"\\n\");\n";
 3682     OS << "        OperandNearMiss =\n";
 3683     OS << "            NearMissInfo::getMissedOperand(Diag, Formal, it->Opcode, ActualIdx);\n";
 3684     OS << "        ++ActualIdx;\n";
 3685     OS << "      } else {\n";
 3686     OS << "        // If more than one operand is invalid, give up on this match entry.\n";
 3687     OS << "        DEBUG_WITH_TYPE(\n";
 3688     OS << "            \"asm-matcher\",\n";
 3689     OS << "            dbgs() << \"second operand mismatch, skipping this opcode\\n\");\n";
 3690     OS << "        MultipleInvalidOperands = true;\n";
 3691     OS << "        break;\n";
 3692     OS << "      }\n";
 3693     OS << "    }\n\n";
 3695     OS << "      // If this operand is broken for all of the instances of this\n";
 3696     OS << "      // mnemonic, keep track of it so we can report loc info.\n";
 3697     OS << "      // If we already had a match that only failed due to a\n";
 3698     OS << "      // target predicate, that diagnostic is preferred.\n";
 3699     OS << "      if (!HadMatchOtherThanPredicate &&\n";
 3700     OS << "          (it == MnemonicRange.first || ErrorInfo <= ActualIdx)) {\n";
 3701     OS << "        if (HasRequiredFeatures && (ErrorInfo != ActualIdx || Diag "
 3703     OS << "          RetCode = Diag;\n";
 3704     OS << "        ErrorInfo = ActualIdx;\n";
 3705     OS << "      }\n";
 3706     OS << "      // Otherwise, just reject this instance of the mnemonic.\n";
 3707     OS << "      OperandsValid = false;\n";
 3708     OS << "      break;\n";
 3709     OS << "    }\n\n";
 3713     OS << "    if (MultipleInvalidOperands) {\n";
 3715     OS << "    if (!OperandsValid) {\n";
 3716   OS << "      DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \"Opcode result: multiple \"\n";
 3717   OS << "                                               \"operand mismatches, ignoring \"\n";
 3718   OS << "                                               \"this opcode\\n\");\n";
 3719   OS << "      continue;\n";
 3720   OS << "    }\n";
 3723   OS << "    if (!HasRequiredFeatures) {\n";
 3725     OS << "      HadMatchOtherThanFeatures = true;\n";
 3726   OS << "      FeatureBitset NewMissingFeatures = RequiredFeatures & "
 3728   OS << "      DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \"Missing target features:\";\n";
 3729   OS << "                       for (unsigned I = 0, E = NewMissingFeatures.size(); I != E; ++I)\n";
 3730   OS << "                         if (NewMissingFeatures[I])\n";
 3731   OS << "                           dbgs() << ' ' << I;\n";
 3732   OS << "                       dbgs() << \"\\n\");\n";
 3734     OS << "      FeaturesNearMiss = NearMissInfo::getMissedFeature(NewMissingFeatures);\n";
 3736     OS << "      if (NewMissingFeatures.count() <=\n"
 3738     OS << "        MissingFeatures = NewMissingFeatures;\n";
 3739     OS << "      continue;\n";
 3741   OS << "    }\n";
 3742   OS << "\n";
 3743   OS << "    Inst.clear();\n\n";
 3744   OS << "    Inst.setOpcode(it->Opcode);\n";
 3746   OS << "    // We have a potential match but have not rendered the operands.\n"
 3747      << "    // Check the target predicate to handle any context sensitive\n"
 3749      << "    // For example, Ties that are referenced multiple times must be\n"
 3753      << "    unsigned MatchResult;\n"
 3754      << "    if ((MatchResult = checkEarlyTargetMatchPredicate(Inst, "
 3756      << "      Inst.clear();\n";
 3757   OS << "      DEBUG_WITH_TYPE(\n";
 3758   OS << "          \"asm-matcher\",\n";
 3759   OS << "          dbgs() << \"Early target match predicate failed with diag code \"\n";
 3760   OS << "                 << MatchResult << \"\\n\");\n";
 3762     OS << "      EarlyPredicateNearMiss = NearMissInfo::getMissedPredicate(MatchResult);\n";
 3764     OS << "      RetCode = MatchResult;\n"
 3765        << "      HadMatchOtherThanPredicate = true;\n"
 3766        << "      continue;\n";
 3768   OS << "    }\n\n";
 3771     OS << "    // If we did not successfully match the operands, then we can't convert to\n";
 3772     OS << "    // an MCInst, so bail out on this instruction variant now.\n";
 3773     OS << "    if (OperandNearMiss) {\n";
 3774     OS << "      // If the operand mismatch was the only problem, reprrt it as a near-miss.\n";
 3775     OS << "      if (NearMisses && !FeaturesNearMiss && !EarlyPredicateNearMiss) {\n";
 3776     OS << "        DEBUG_WITH_TYPE(\n";
 3777     OS << "            \"asm-matcher\",\n";
 3778     OS << "            dbgs()\n";
 3779     OS << "                << \"Opcode result: one mismatched operand, adding near-miss\\n\");\n";
 3780     OS << "        NearMisses->push_back(OperandNearMiss);\n";
 3781     OS << "      } else {\n";
 3782     OS << "        DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \"Opcode result: multiple \"\n";
 3783     OS << "                                                 \"types of mismatch, so not \"\n";
 3784     OS << "                                                 \"reporting near-miss\\n\");\n";
 3785     OS << "      }\n";
 3786     OS << "      continue;\n";
 3787     OS << "    }\n\n";
 3790   OS << "    if (matchingInlineAsm) {\n";
 3791   OS << "      convertToMapAndConstraints(it->ConvertFn, Operands);\n";
 3793     OS << "      if (!checkAsmTiedOperandConstraints(*this, it->ConvertFn, "
 3795     OS << "        return Match_InvalidTiedOperand;\n";
 3796     OS << "\n";
 3798   OS << "      return Match_Success;\n";
 3799   OS << "    }\n\n";
 3800   OS << "    // We have selected a definite instruction, convert the parsed\n"
 3801      << "    // operands into the appropriate MCInst.\n";
 3803     OS << "    convertToMCInst(it->ConvertFn, Inst, it->Opcode, Operands,\n"
 3804        << "                    OptionalOperandsMask);\n";
 3806     OS << "    convertToMCInst(it->ConvertFn, Inst, it->Opcode, Operands);\n";
 3808   OS << "\n";
 3811   OS << "    // We have a potential match. Check the target predicate to\n"
 3812      << "    // handle any context sensitive constraints.\n"
 3813      << "    if ((MatchResult = checkTargetMatchPredicate(Inst)) !="
 3814      << " Match_Success) {\n"
 3815      << "      DEBUG_WITH_TYPE(\"asm-matcher\",\n"
 3816      << "                      dbgs() << \"Target match predicate failed with diag code \"\n"
 3817      << "                             << MatchResult << \"\\n\");\n"
 3818      << "      Inst.clear();\n";
 3820     OS << "      LatePredicateNearMiss = NearMissInfo::getMissedPredicate(MatchResult);\n";
 3822     OS << "      RetCode = MatchResult;\n"
 3823        << "      HadMatchOtherThanPredicate = true;\n"
 3824        << "      continue;\n";
 3826   OS << "    }\n\n";
 3829     OS << "    int NumNearMisses = ((int)(bool)OperandNearMiss +\n";
 3830     OS << "                         (int)(bool)FeaturesNearMiss +\n";
 3831     OS << "                         (int)(bool)EarlyPredicateNearMiss +\n";
 3832     OS << "                         (int)(bool)LatePredicateNearMiss);\n";
 3833     OS << "    if (NumNearMisses == 1) {\n";
 3834     OS << "      // We had exactly one type of near-miss, so add that to the list.\n";
 3835     OS << "      assert(!OperandNearMiss && \"OperandNearMiss was handled earlier\");\n";
 3836     OS << "      DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \"Opcode result: found one type of \"\n";
 3837     OS << "                                            \"mismatch, so reporting a \"\n";
 3838     OS << "                                            \"near-miss\\n\");\n";
 3839     OS << "      if (NearMisses && FeaturesNearMiss)\n";
 3840     OS << "        NearMisses->push_back(FeaturesNearMiss);\n";
 3841     OS << "      else if (NearMisses && EarlyPredicateNearMiss)\n";
 3842     OS << "        NearMisses->push_back(EarlyPredicateNearMiss);\n";
 3843     OS << "      else if (NearMisses && LatePredicateNearMiss)\n";
 3844     OS << "        NearMisses->push_back(LatePredicateNearMiss);\n";
 3845     OS << "\n";
 3846     OS << "      continue;\n";
 3847     OS << "    } else if (NumNearMisses > 1) {\n";
 3848     OS << "      // This instruction missed in more than one way, so ignore it.\n";
 3849     OS << "      DEBUG_WITH_TYPE(\"asm-matcher\", dbgs() << \"Opcode result: multiple \"\n";
 3850     OS << "                                               \"types of mismatch, so not \"\n";
 3851     OS << "                                               \"reporting near-miss\\n\");\n";
 3852     OS << "      continue;\n";
 3853     OS << "    }\n";
 3859     OS << "    " << InsnCleanupFn << "(Inst);\n";
 3859     OS << "    " << InsnCleanupFn << "(Inst);\n";
 3862     OS << "    std::string Info;\n";
 3863     OS << "    if (!getParser().getTargetParser().\n";
 3864     OS << "        getTargetOptions().MCNoDeprecatedWarn &&\n";
 3865     OS << "        MII.get(Inst.getOpcode()).getDeprecatedInfo(Inst, getSTI(), Info)) {\n";
 3866     OS << "      SMLoc Loc = ((" << Target.getName()
 3867        << "Operand&)*Operands[0]).getStartLoc();\n";
 3868     OS << "      getParser().Warning(Loc, Info, None);\n";
 3869     OS << "    }\n";
 3873     OS << "    if (!checkAsmTiedOperandConstraints(*this, it->ConvertFn, "
 3875     OS << "      return Match_InvalidTiedOperand;\n";
 3876     OS << "\n";
 3879   OS << "    DEBUG_WITH_TYPE(\n";
 3880   OS << "        \"asm-matcher\",\n";
 3881   OS << "        dbgs() << \"Opcode result: complete match, selecting this opcode\\n\");\n";
 3882   OS << "    return Match_Success;\n";
 3883   OS << "  }\n\n";
 3886     OS << "  // No instruction variants matched exactly.\n";
 3887     OS << "  return Match_NearMisses;\n";
 3889     OS << "  // Okay, we had no match.  Try to return a useful error code.\n";
 3890     OS << "  if (HadMatchOtherThanPredicate || !HadMatchOtherThanFeatures)\n";
 3891     OS << "    return RetCode;\n\n";
 3892     OS << "  ErrorInfo = 0;\n";
 3893     OS << "  return Match_MissingFeature;\n";
 3895   OS << "}\n\n";
 3902   OS << "#endif // GET_MATCHER_IMPLEMENTATION\n\n";
 3904   OS << "\n#ifdef GET_MNEMONIC_SPELL_CHECKER\n";
 3905   OS << "#undef GET_MNEMONIC_SPELL_CHECKER\n\n";
 3909   OS << "#endif // GET_MNEMONIC_SPELL_CHECKER\n\n";
utils/TableGen/AsmWriterEmitter.cpp
   83   O << "    case " << OpsToPrint.back().first << ":";
   83   O << "    case " << OpsToPrint.back().first << ":";
   91       O << "\n    case " << OpsToPrint[i-1].first << ":";
   91       O << "\n    case " << OpsToPrint[i-1].first << ":";
   96   O << "\n      " << TheOp.getCode(PassSubtarget);
   97   O << "\n      break;\n";
  124   O << "  case " << FirstInst.CGI->Namespace << "::"
  124   O << "  case " << FirstInst.CGI->Namespace << "::"
  125     << FirstInst.CGI->TheDef->getName() << ":\n";
  127     O << "  case " << AWI.CGI->Namespace << "::"
  127     O << "  case " << AWI.CGI->Namespace << "::"
  128       << AWI.CGI->TheDef->getName() << ":\n";
  132       O << "    " << FirstInst.Operands[i].getCode(PassSubtarget);
  136       O << "    switch (MI->getOpcode()) {\n";
  137       O << "    default: llvm_unreachable(\"Unexpected opcode.\");\n";
  151       O << "    }";
  153     O << "\n";
  155   O << "    break;\n";
  277   O <<
  281             << "::printInstruction(const MCInst *MI, "
  282             << (PassSubtarget ? "const MCSubtargetInfo &STI, " : "")
  283             << "raw_ostream &O) {\n";
  353       LLVM_DEBUG(errs() << "Not enough bits to densely encode " << NumBits
  354                         << " more bits\n");
  381   O << "  static const char AsmStrs[] = {\n";
  383   O << "  };\n\n";
  391   BitsOS << "  uint" << ((BitsLeft < (OpcodeInfoBits - 32)) ? 64 : 32)
  392          << "_t Bits = 0;\n";
  399     O << "  static const uint" << TableSize << "_t OpInfo" << Table
  399     O << "  static const uint" << TableSize << "_t OpInfo" << Table
  400       << "[] = {\n";
  402       O << "    " << ((OpcodeInfo[i] >> Shift) & Mask) << "U,\t// "
  402       O << "    " << ((OpcodeInfo[i] >> Shift) & Mask) << "U,\t// "
  403         << NumberedInstructions[i]->TheDef->getName() << "\n";
  405     O << "  };\n\n";
  407     BitsOS << "  Bits |= ";
  410       BitsOS << "(uint64_t)";
  411     BitsOS << "OpInfo" << Table << "[MI->getOpcode()] << " << Shift << ";\n";
  411     BitsOS << "OpInfo" << Table << "[MI->getOpcode()] << " << Shift << ";\n";
  411     BitsOS << "OpInfo" << Table << "[MI->getOpcode()] << " << Shift << ";\n";
  418   O << "  O << \"\\t\";\n\n";
  420   O << "  // Emit the opcode for the instruction.\n";
  424   O << "  assert(Bits != 0 && \"Cannot print this instruction.\");\n"
  425     << "  O << AsmStrs+(Bits & " << (1 << AsmStrBits)-1 << ")-1;\n\n";
  425     << "  O << AsmStrs+(Bits & " << (1 << AsmStrBits)-1 << ")-1;\n\n";
  438     O << "\n  // Fragment " << i << " encoded into " << NumBits
  438     O << "\n  // Fragment " << i << " encoded into " << NumBits
  439       << " bits for " << Commands.size() << " unique commands.\n";
  439       << " bits for " << Commands.size() << " unique commands.\n";
  443       O << "  if ((Bits >> "
  444         << (OpcodeInfoBits-BitsLeft) << ") & "
  445         << ((1 << NumBits)-1) << ") {\n"
  447         << "  } else {\n"
  449         << "  }\n\n";
  452       O << Commands[0] << "\n\n";
  454       O << "  switch ((Bits >> "
  455         << (OpcodeInfoBits-BitsLeft) << ") & "
  456         << ((1 << NumBits)-1) << ") {\n"
  457         << "  default: llvm_unreachable(\"Invalid command number.\");\n";
  461         O << "  case " << j << ":\n";
  461         O << "  case " << j << ":\n";
  463         O << "    break;\n";
  465       O << "  }\n\n";
  487     O << "  switch (MI->getOpcode()) {\n";
  488     O << "  default: llvm_unreachable(\"Unexpected opcode.\");\n";
  492     O << "  }\n";
  495   O << "}\n";
  538   O << "  static const char AsmStrs" << AltName << "[] = {\n";
  538   O << "  static const char AsmStrs" << AltName << "[] = {\n";
  540   O << "  };\n\n";
  542   O << "  static const " << getMinimalTypeForRange(StringTable.size() - 1, 32)
  542   O << "  static const " << getMinimalTypeForRange(StringTable.size() - 1, 32)
  543     << " RegAsmOffset" << AltName << "[] = {";
  543     << " RegAsmOffset" << AltName << "[] = {";
  546       O << "\n    ";
  547     O << StringTable.get(AsmNames[i]) << ", ";
  549   O << "\n  };\n"
  550     << "\n";
  561   O <<
  565   "const char *" << Target.getName() << ClassName << "::";
  567     O << "\ngetRegisterName(unsigned RegNo, unsigned AltIdx) {\n";
  569     O << "getRegisterName(unsigned RegNo) {\n";
  570   O << "  assert(RegNo && RegNo < " << (Registers.size()+1)
  571     << " && \"Invalid register number!\");\n"
  572     << "\n";
  581     O << "  switch(AltIdx) {\n"
  582       << "  default: llvm_unreachable(\"Invalid register alt name index!\");\n";
  585       O << "  case ";
  587         O << Namespace << "::";
  588       O << AltName << ":\n";
  590         O << "    assert(*(AsmStrs" << AltName << "+RegAsmOffset" << AltName
  590         O << "    assert(*(AsmStrs" << AltName << "+RegAsmOffset" << AltName
  591           << "[RegNo-1]) &&\n"
  592           << "           \"Invalid alt name index for register!\");\n";
  594         O << "    if (!*(AsmStrs" << AltName << "+RegAsmOffset" << AltName
  594         O << "    if (!*(AsmStrs" << AltName << "+RegAsmOffset" << AltName
  595           << "[RegNo-1]))\n"
  596           << "      return getRegisterName(RegNo, ";
  598           O << Namespace << "::";
  599         O << R->getValueAsDef("FallbackRegAltNameIndex")->getName() << ");\n";
  601       O << "    return AsmStrs" << AltName << "+RegAsmOffset" << AltName
  601       O << "    return AsmStrs" << AltName << "+RegAsmOffset" << AltName
  602         << "[RegNo-1];\n";
  604     O << "  }\n";
  606     O << "  assert (*(AsmStrs+RegAsmOffset[RegNo-1]) &&\n"
  607       << "          \"Invalid alt name index for register!\");\n"
  608       << "  return AsmStrs+RegAsmOffset[RegNo-1];\n";
  610   O << "}\n";
  669       O.indent(6) << "return true;\n";
  673     O << "if (";
  678         O << " &&\n";
  685     O << ") {\n";
  686     O.indent(6) << "// " << Result << "\n";
  686     O.indent(6) << "// " << Result << "\n";
  716     O.indent(6) << "AsmString = \"" << OutString << "\";\n";
  716     O.indent(6) << "AsmString = \"" << OutString << "\";\n";
  718     O.indent(6) << "break;\n";
  762   O << "\n#ifdef PRINT_ALIAS_INSTR\n";
  763   O << "#undef PRINT_ALIAS_INSTR\n\n";
  986   HeaderO << "bool " << Target.getName() << ClassName
  987           << "::printAliasInstr(const MCInst"
  988           << " *MI, " << (PassSubtarget ? "const MCSubtargetInfo &STI, " : "")
  988           << " *MI, " << (PassSubtarget ? "const MCSubtargetInfo &STI, " : "")
  989           << "raw_ostream &OS) {\n";
 1013     CasesO.indent(2) << "case " << Entry.first << ":\n";
 1013     CasesO.indent(2) << "case " << Entry.first << ":\n";
 1021     CasesO.indent(4) << "return false;\n";
 1026     O << "  return false;\n";
 1027     O << "}\n\n";
 1028     O << "#endif // PRINT_ALIAS_INSTR\n";
 1033     O << "static bool " << Target.getName() << ClassName
 1034       << "ValidateMCOperand(const MCOperand &MCOp,\n"
 1035       << "                  const MCSubtargetInfo &STI,\n"
 1036       << "                  unsigned PredicateIndex);\n";
 1039   O.indent(2) << "const char *AsmString;\n";
 1040   O.indent(2) << "switch (MI->getOpcode()) {\n";
 1041   O.indent(2) << "default: return false;\n";
 1043   O.indent(2) << "}\n\n";
 1047   O << "  unsigned I = 0;\n";
 1048   O << "  while (AsmString[I] != ' ' && AsmString[I] != '\\t' &&\n";
 1049   O << "         AsmString[I] != '$' && AsmString[I] != '\\0')\n";
 1050   O << "    ++I;\n";
 1051   O << "  OS << '\\t' << StringRef(AsmString, I);\n";
 1053   O << "  if (AsmString[I] != '\\0') {\n";
 1054   O << "    if (AsmString[I] == ' ' || AsmString[I] == '\\t') {\n";
 1055   O << "      OS << '\\t';\n";
 1056   O << "      ++I;\n";
 1057   O << "    }\n";
 1058   O << "    do {\n";
 1059   O << "      if (AsmString[I] == '$') {\n";
 1060   O << "        ++I;\n";
 1061   O << "        if (AsmString[I] == (char)0xff) {\n";
 1062   O << "          ++I;\n";
 1063   O << "          int OpIdx = AsmString[I++] - 1;\n";
 1064   O << "          int PrintMethodIdx = AsmString[I++] - 1;\n";
 1065   O << "          printCustomAliasOperand(MI, OpIdx, PrintMethodIdx, ";
 1066   O << (PassSubtarget ? "STI, " : "");
 1067   O << "OS);\n";
 1068   O << "        } else\n";
 1069   O << "          printOperand(MI, unsigned(AsmString[I++]) - 1, ";
 1070   O << (PassSubtarget ? "STI, " : "");
 1071   O << "OS);\n";
 1072   O << "      } else {\n";
 1073   O << "        OS << AsmString[I++];\n";
 1074   O << "      }\n";
 1075   O << "    } while (AsmString[I] != '\\0');\n";
 1076   O << "  }\n\n";
 1078   O << "  return true;\n";
 1079   O << "}\n\n";
 1085   O << "void " << Target.getName() << ClassName << "::"
 1085   O << "void " << Target.getName() << ClassName << "::"
 1086     << "printCustomAliasOperand(\n"
 1087     << "         const MCInst *MI, unsigned OpIdx,\n"
 1088     << "         unsigned PrintMethodIdx,\n"
 1089     << (PassSubtarget ? "         const MCSubtargetInfo &STI,\n" : "")
 1090     << "         raw_ostream &OS) {\n";
 1092     O << "  llvm_unreachable(\"Unknown PrintMethod kind\");\n";
 1094     O << "  switch (PrintMethodIdx) {\n"
 1095       << "  default:\n"
 1096       << "    llvm_unreachable(\"Unknown PrintMethod kind\");\n"
 1097       << "    break;\n";
 1100       O << "  case " << i << ":\n"
 1100       O << "  case " << i << ":\n"
 1101         << "    " << PrintMethods[i] << "(MI, OpIdx, "
 1101         << "    " << PrintMethods[i] << "(MI, OpIdx, "
 1102         << (PassSubtarget ? "STI, " : "") << "OS);\n"
 1102         << (PassSubtarget ? "STI, " : "") << "OS);\n"
 1103         << "    break;\n";
 1105     O << "  }\n";
 1107   O << "}\n\n";
 1110     O << "static bool " << Target.getName() << ClassName
 1111       << "ValidateMCOperand(const MCOperand &MCOp,\n"
 1112       << "                  const MCSubtargetInfo &STI,\n"
 1113       << "                  unsigned PredicateIndex) {\n"      
 1114       << "  switch (PredicateIndex) {\n"
 1115       << "  default:\n"
 1116       << "    llvm_unreachable(\"Unknown MCOperandPredicate kind\");\n"
 1117       << "    break;\n";
 1122         O << "  case " << i + 1 << ": {\n"
 1122         O << "  case " << i + 1 << ": {\n"
 1123           << SI->getValue() << "\n"
 1124           << "    }\n";
 1128     O << "  }\n"
 1129       << "}\n\n";
 1132   O << "#endif // PRINT_ALIAS_INSTR\n";
utils/TableGen/Attributes.cpp
   41   OS << "#ifdef GET_ATTR_ENUM\n";
   42   OS << "#undef GET_ATTR_ENUM\n";
   48     OS << A->getName() << ",\n";
   50   OS << "#endif\n";
   54   OS << "#ifdef GET_ATTR_KIND_FROM_NAME\n";
   55   OS << "#undef GET_ATTR_KIND_FROM_NAME\n";
   60   OS << "static Attribute::AttrKind getAttrKindFromName(StringRef AttrName) {\n";
   61   OS << "  return StringSwitch<Attribute::AttrKind>(AttrName)\n";
   64     OS << "    .Case(\"" << A->getValueAsString("AttrString");
   65     OS << "\", Attribute::" << A->getName() << ")\n";
   65     OS << "\", Attribute::" << A->getName() << ")\n";
   68   OS << "    .Default(Attribute::None);\n";
   69   OS << "}\n\n";
   71   OS << "#endif\n";
   75   OS << "#ifdef GET_ATTR_COMPAT_FUNC\n";
   76   OS << "#undef GET_ATTR_COMPAT_FUNC\n";
   78   OS << "struct EnumAttr {\n";
   79   OS << "  static bool isSet(const Function &Fn,\n";
   80   OS << "                    Attribute::AttrKind Kind) {\n";
   81   OS << "    return Fn.hasFnAttribute(Kind);\n";
   82   OS << "  }\n\n";
   83   OS << "  static void set(Function &Fn,\n";
   84   OS << "                  Attribute::AttrKind Kind, bool Val) {\n";
   85   OS << "    if (Val)\n";
   86   OS << "      Fn.addFnAttr(Kind);\n";
   87   OS << "    else\n";
   88   OS << "      Fn.removeFnAttr(Kind);\n";
   89   OS << "  }\n";
   90   OS << "};\n\n";
   92   OS << "struct StrBoolAttr {\n";
   93   OS << "  static bool isSet(const Function &Fn,\n";
   94   OS << "                    StringRef Kind) {\n";
   95   OS << "    auto A = Fn.getFnAttribute(Kind);\n";
   96   OS << "    return A.getValueAsString().equals(\"true\");\n";
   97   OS << "  }\n\n";
   98   OS << "  static void set(Function &Fn,\n";
   99   OS << "                  StringRef Kind, bool Val) {\n";
  100   OS << "    Fn.addFnAttr(Kind, Val ? \"true\" : \"false\");\n";
  101   OS << "  }\n";
  102   OS << "};\n\n";
  107   OS << "static inline bool hasCompatibleFnAttrs(const Function &Caller,\n"
  108      << "                                        const Function &Callee) {\n";
  109   OS << "  bool Ret = true;\n\n";
  116     OS << "  Ret &= " << FuncName << "(Caller, Callee);\n";
  116     OS << "  Ret &= " << FuncName << "(Caller, Callee);\n";
  119   OS << "\n";
  120   OS << "  return Ret;\n";
  121   OS << "}\n\n";
  125   OS << "static inline void mergeFnAttrs(Function &Caller,\n"
  126      << "                                const Function &Callee) {\n";
  130     OS << "  " << FuncName << "(Caller, Callee);\n";
  130     OS << "  " << FuncName << "(Caller, Callee);\n";
  133   OS << "}\n\n";
  135   OS << "#endif\n";
  140   OS << "// EnumAttr classes\n";
  142     OS << "struct " << R->getName() << "Attr : EnumAttr {\n";
  142     OS << "struct " << R->getName() << "Attr : EnumAttr {\n";
  143     OS << "  static enum Attribute::AttrKind getKind() {\n";
  144     OS << "    return llvm::Attribute::" << R->getName() << ";\n";
  144     OS << "    return llvm::Attribute::" << R->getName() << ";\n";
  145     OS << "  }\n";
  146     OS << "};\n";
  148   OS << "\n";
  153   OS << "// StrBoolAttr classes\n";
  155     OS << "struct " << R->getName() << "Attr : StrBoolAttr {\n";
  155     OS << "struct " << R->getName() << "Attr : StrBoolAttr {\n";
  156     OS << "  static StringRef getKind() {\n";
  157     OS << "    return \"" << R->getValueAsString("AttrString") << "\";\n";
  157     OS << "    return \"" << R->getValueAsString("AttrString") << "\";\n";
  158     OS << "  }\n";
  159     OS << "};\n";
  161   OS << "\n";
utils/TableGen/CTagsEmitter.cpp
   41     OS << *Id << "\t" << BufferName << "\t" << LineAndColumn.first << "\n";
   41     OS << *Id << "\t" << BufferName << "\t" << LineAndColumn.first << "\n";
   41     OS << *Id << "\t" << BufferName << "\t" << LineAndColumn.first << "\n";
   76   OS << "!_TAG_FILE_FORMAT\t1\t/original ctags format/\n";
   77   OS << "!_TAG_FILE_SORTED\t1\t/0=unsorted, 1=sorted, 2=foldcase/\n";
utils/TableGen/CallingConvEmitter.cpp
   45         O << "bool llvm::";
   48         O << "static bool ";
   51       O << CC->getName() << "(unsigned ValNo, MVT ValVT,\n"
   52         << std::string(Pad, ' ') << "MVT LocVT, CCValAssign::LocInfo LocInfo,\n"
   54         << "ISD::ArgFlagsTy ArgFlags, CCState &State);\n";
   70   O << "\n\n";
   73     O << "bool llvm::";
   76     O << "static bool ";
   79   O << CC->getName() << "(unsigned ValNo, MVT ValVT,\n"
   80     << std::string(Pad, ' ') << "MVT LocVT, CCValAssign::LocInfo LocInfo,\n"
   81     << std::string(Pad, ' ') << "ISD::ArgFlagsTy ArgFlags, CCState &State) {\n";
   84     O << "\n";
   88   O << "\n  return true;  // CC didn't match.\n";
   89   O << "}\n";
   97     O << IndentStr << "if (";
  103         if (i != 0) O << " ||\n    " << IndentStr;
  104         O << "LocVT == " << getEnumName(getValueType(VT));
  114     O << ") {\n";
  116     O << IndentStr << "}\n";
  120       O << IndentStr << "if (!" << CC->getName()
  121         << "(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State))\n"
  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
  130           << "[] = {\n";
  131         O << IndentStr << "  ";
  133           if (i != 0) O << ", ";
  136         O << "\n" << IndentStr << "};\n";
  136         O << "\n" << IndentStr << "};\n";
  137         O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList"
  138           << Counter << ")) {\n";
  140       O << IndentStr << "  State.addLoc(CCValAssign::getReg(ValNo, ValVT, "
  141         << "Reg, LocVT, LocInfo));\n";
  142       O << IndentStr << "  return false;\n";
  143       O << IndentStr << "}\n";
  152         O << IndentStr << "if (unsigned Reg = State.AllocateReg(";
  154         O << ", " << getQualifiedName(ShadowRegList->getElementAsRecord(0));
  155         O << ")) {\n";
  160         O << IndentStr << "static const MCPhysReg RegList" << RegListNumber
  161           << "[] = {\n";
  162         O << IndentStr << "  ";
  164           if (i != 0) O << ", ";
  167         O << "\n" << IndentStr << "};\n";
  167         O << "\n" << IndentStr << "};\n";
  169         O << IndentStr << "static const MCPhysReg RegList"
  170           << ShadowRegListNumber << "[] = {\n";
  171         O << IndentStr << "  ";
  173           if (i != 0) O << ", ";
  176         O << "\n" << IndentStr << "};\n";
  176         O << "\n" << IndentStr << "};\n";
  178         O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList"
  179           << RegListNumber << ", " << "RegList" << ShadowRegListNumber
  179           << RegListNumber << ", " << "RegList" << ShadowRegListNumber
  180           << ")) {\n";
  182       O << IndentStr << "  State.addLoc(CCValAssign::getReg(ValNo, ValVT, "
  183         << "Reg, LocVT, LocInfo));\n";
  184       O << IndentStr << "  return false;\n";
  185       O << IndentStr << "}\n";
  190       O << IndentStr << "unsigned Offset" << ++Counter
  191         << " = State.AllocateStack(";
  193         O << Size << ", ";
  195         O << "\n" << IndentStr
  196           << "  State.getMachineFunction().getDataLayout()."
  202         O << "\n" << IndentStr
  203           << "  State.getMachineFunction().getDataLayout()."
  206       O << ");\n" << IndentStr
  207         << "State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset"
  208         << Counter << ", LocVT, LocInfo));\n";
  209       O << IndentStr << "return false;\n";
  217       O << IndentStr << "static const MCPhysReg ShadowRegList"
  218           << ShadowRegListNumber << "[] = {\n";
  219       O << IndentStr << "  ";
  221         if (i != 0) O << ", ";
  224       O << "\n" << IndentStr << "};\n";
  224       O << "\n" << IndentStr << "};\n";
  226       O << IndentStr << "unsigned Offset" << ++Counter
  227         << " = State.AllocateStack("
  228         << Size << ", " << Align << ", "
  228         << Size << ", " << Align << ", "
  229         << "ShadowRegList" << ShadowRegListNumber << ");\n";
  229         << "ShadowRegList" << ShadowRegListNumber << ");\n";
  230       O << IndentStr << "State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset"
  231         << Counter << ", LocVT, LocInfo));\n";
  232       O << IndentStr << "return false;\n";
  236       O << IndentStr << "LocVT = " << getEnumName(DestVT) <<";\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"
  242           << IndentStr << "else if (ArgFlags.isZExt())\n"
  243           << IndentStr << IndentStr << "LocInfo = CCValAssign::ZExt;\n"
  244           << IndentStr << "else\n"
  245           << IndentStr << IndentStr << "LocInfo = CCValAssign::AExt;\n";
  250       O << IndentStr << "LocVT = " << getEnumName(DestVT) << ";\n";
  250       O << IndentStr << "LocVT = " << getEnumName(DestVT) << ";\n";
  256         O << IndentStr << "if (ArgFlags.isSExt())\n"
  257           << IndentStr << IndentStr << "LocInfo = CCValAssign::SExtUpper;\n"
  258           << IndentStr << "else if (ArgFlags.isZExt())\n"
  259           << IndentStr << IndentStr << "LocInfo = CCValAssign::ZExtUpper;\n"
  260           << IndentStr << "else\n"
  261           << IndentStr << IndentStr << "LocInfo = CCValAssign::AExtUpper;\n";
  265       O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n";
  265       O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n";
  266       O << IndentStr << "LocInfo = CCValAssign::BCvt;\n";
  269       O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n";
  269       O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n";
  270       O << IndentStr << "LocInfo = CCValAssign::Trunc;\n";
  273       O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n";
  273       O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n";
  274       O << IndentStr << "LocInfo = CCValAssign::Indirect;\n";
  279         << "State.HandleByVal(ValNo, ValVT, LocVT, LocInfo, "
  280         << Size << ", " << Align << ", ArgFlags);\n";
  280         << Size << ", " << Align << ", ArgFlags);\n";
  281       O << IndentStr << "return false;\n";
  284         << "if (" << Action->getValueAsString("FuncName") << "(ValNo, ValVT, "
  284         << "if (" << Action->getValueAsString("FuncName") << "(ValNo, ValVT, "
  285         << "LocVT, LocInfo, ArgFlags, State))\n";
  286       O << IndentStr << IndentStr << "return false;\n";
utils/TableGen/CodeEmitterGen.cpp
  123         errs() << "Too few operands in record " << R->getName() <<
  123         errs() << "Too few operands in record " << R->getName() <<
  124                   " (no match for variable " << VarName << "):\n";
  343     OS << ((I > 0) ? ", " : "") << "UINT64_C(" << utostr(Bits.getRawData()[I])
  343     OS << ((I > 0) ? ", " : "") << "UINT64_C(" << utostr(Bits.getRawData()[I])
  344        << ")";
  352     o << "  static const uint64_t InstBits[] = {\n";
  354     o << "  static const uint64_t InstBits_" << HWM.getMode(HwMode).Name
  355       << "[] = {\n";
  362       o << "    "; emitInstBits(o, APInt(BitWidth, 0)); o << ",\n";
  362       o << "    "; emitInstBits(o, APInt(BitWidth, 0)); o << ",\n";
  382     o << "    ";
  384     o << "," << '\t' << "// " << R->getName() << "\n";
  384     o << "," << '\t' << "// " << R->getName() << "\n";
  384     o << "," << '\t' << "// " << R->getName() << "\n";
  386   o << "    UINT64_C(0)\n  };\n";
  427     o << "void " << Target.getName()
  428       << "MCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,\n"
  429       << "    SmallVectorImpl<MCFixup> &Fixups,\n"
  430       << "    APInt &Inst,\n"
  431       << "    APInt &Scratch,\n"
  432       << "    const MCSubtargetInfo &STI) const {\n";
  434     o << "uint64_t " << Target.getName();
  435     o << "MCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,\n"
  436       << "    SmallVectorImpl<MCFixup> &Fixups,\n"
  437       << "    const MCSubtargetInfo &STI) const {\n";
  449     o << "  const uint64_t *InstBits;\n";
  450     o << "  unsigned HwMode = STI.getHwMode();\n";
  451     o << "  switch (HwMode) {\n";
  452     o << "  default: llvm_unreachable(\"Unknown hardware mode!\"); break;\n";
  454       o << "  case " << I << ": InstBits = InstBits_" << HWM.getMode(I).Name
  454       o << "  case " << I << ": InstBits = InstBits_" << HWM.getMode(I).Name
  455         << "; break;\n";
  457     o << "  };\n";
  481     o << "  const unsigned opcode = MI.getOpcode();\n"
  482       << "  if (Inst.getBitWidth() != " << BitWidth << ")\n"
  482       << "  if (Inst.getBitWidth() != " << BitWidth << ")\n"
  483       << "    Inst = Inst.zext(" << BitWidth << ");\n"
  483       << "    Inst = Inst.zext(" << BitWidth << ");\n"
  484       << "  if (Scratch.getBitWidth() != " << BitWidth << ")\n"
  484       << "  if (Scratch.getBitWidth() != " << BitWidth << ")\n"
  485       << "    Scratch = Scratch.zext(" << BitWidth << ");\n"
  485       << "    Scratch = Scratch.zext(" << BitWidth << ");\n"
  486       << "  LoadIntFromMemory(Inst, (uint8_t*)&InstBits[opcode * " << NumWords
  487       << "], " << NumBytes << ");\n"
  487       << "], " << NumBytes << ");\n"
  488       << "  APInt &Value = Inst;\n"
  489       << "  APInt &op = Scratch;\n"
  490       << "  switch (opcode) {\n";
  492     o << "  const unsigned opcode = MI.getOpcode();\n"
  493       << "  uint64_t Value = InstBits[opcode];\n"
  494       << "  uint64_t op = 0;\n"
  495       << "  (void)op;  // suppress warning\n"
  496       << "  switch (opcode) {\n";
  506       if (i) o << "\n";
  507       o << "    case " << InstList[i]  << ":";
  507       o << "    case " << InstList[i]  << ":";
  509     o << " {\n";
  511     o << "      break;\n"
  512       << "    }\n";
  516   o << "  default:\n"
  517     << "    std::string msg;\n"
  518     << "    raw_string_ostream Msg(msg);\n"
  519     << "    Msg << \"Not supported instr: \" << MI;\n"
  520     << "    report_fatal_error(Msg.str());\n"
  521     << "  }\n";
  523     o << "  Inst = Value;\n";
  525     o << "  return Value;\n";
  526   o << "}\n\n";
  532   o << "#ifdef ENABLE_INSTR_PREDICATE_VERIFIER\n"
  533     << "#undef ENABLE_INSTR_PREDICATE_VERIFIER\n"
  534     << "#include <sstream>\n\n";
  541   o << "#ifndef NDEBUG\n";
  543   o << "#endif // NDEBUG\n";
  577   o << "#ifndef NDEBUG\n"
  578     << "// Feature bitsets.\n"
  579     << "enum : " << getMinimalTypeForRange(FeatureBitsets.size()) << " {\n"
  579     << "enum : " << getMinimalTypeForRange(FeatureBitsets.size()) << " {\n"
  579     << "enum : " << getMinimalTypeForRange(FeatureBitsets.size()) << " {\n"
  580     << "  CEFBS_None,\n";
  584     o << "  " << getNameForFeatureBitset(FeatureBitset) << ",\n";
  584     o << "  " << getNameForFeatureBitset(FeatureBitset) << ",\n";
  586   o << "};\n\n"
  587     << "static constexpr FeatureBitset FeatureBitsets[] = {\n"
  588     << "  {}, // CEFBS_None\n";
  592     o << "  {";
  596       o << I->second.getEnumBitName() << ", ";
  598     o << "},\n";
  600   o << "};\n"
  601     << "#endif // NDEBUG\n\n";
  605   o << "void " << Target.getName()
  606     << "MCCodeEmitter::verifyInstructionPredicates(\n"
  607     << "    const MCInst &Inst, const FeatureBitset &AvailableFeatures) const {\n"
  608     << "#ifndef NDEBUG\n"
  609     << "  static " << getMinimalTypeForRange(FeatureBitsets.size())
  609     << "  static " << getMinimalTypeForRange(FeatureBitsets.size())
  610     << " RequiredFeaturesRefs[] = {\n";
  613     o << "    CEFBS";
  623       o << "_None";
  624     o << ", // " << Inst->TheDef->getName() << " = " << InstIdx << "\n";
  624     o << ", // " << Inst->TheDef->getName() << " = " << InstIdx << "\n";
  624     o << ", // " << Inst->TheDef->getName() << " = " << InstIdx << "\n";
  627   o << "  };\n\n";
  628   o << "  assert(Inst.getOpcode() < " << InstIdx << ");\n";
  628   o << "  assert(Inst.getOpcode() < " << InstIdx << ");\n";
  629   o << "  const FeatureBitset &RequiredFeatures = "
  631   o << "  FeatureBitset MissingFeatures =\n"
  632     << "      (AvailableFeatures & RequiredFeatures) ^\n"
  633     << "      RequiredFeatures;\n"
  634     << "  if (MissingFeatures.any()) {\n"
  635     << "    std::ostringstream Msg;\n"
  636     << "    Msg << \"Attempting to emit \" << "
  638     << "        << \" instruction but the \";\n"
  639     << "    for (unsigned i = 0, e = MissingFeatures.size(); i != e; ++i)\n"
  640     << "      if (MissingFeatures.test(i))\n"
  641     << "        Msg << SubtargetFeatureNames[i] << \" \";\n"
  642     << "    Msg << \"predicate(s) are not met\";\n"
  643     << "    report_fatal_error(Msg.str());\n"
  644     << "  }\n"
  645     << "#else\n"
  646     << "// Silence unused variable warning on targets that don't use MCII for "
  648     << "(void)MCII;\n"
  649     << "#endif // NDEBUG\n";
  650   o << "}\n";
  651   o << "#endif\n";
utils/TableGen/CodeGenDAGPatterns.cpp
  189     OS << "{}";
  199   OS << " }";
  822     dbgs() << "Type set is empty for each HW mode:\n"
 1495     OS << "Invalid operand number in type constraint "
 1496            << (OpNo+NumResults) << " ";
 1827       OS << " ";
 1830         OS << ", ";
 1834     OS << ")";
 1838     OS << "<<P:";
 1840       OS << Pred.Scope << ":";
 1841     OS << Pred.Fn.getFnName() << ">>";
 1844     OS << "<<X:" << TransformFn->getName() << ">>";
 1844     OS << "<<X:" << TransformFn->getName() << ">>";
 1846     OS << ":$" << getName();
 1849     OS << ":$pred:" << Name.getScope() << ":" << Name.getIdentifier();
 1849     OS << ":$pred:" << Name.getScope() << ":" << Name.getIdentifier();
 2990     OS << "(" << Args[0];
 2992       OS << ", " << Args[i];
 2993     OS << ")";
 2995   OS << ": ";
 2998     OS << "[\n";
 3000     OS << "\t";
 3002     OS << "\n";
 3006     OS << "]\n";
 3630           OS << ", ";
 4340     LLVM_DEBUG(errs() << "<empty set>");
 4342     LLVM_DEBUG(errs() << "[ ");
 4344       LLVM_DEBUG(errs() << DepVar.getKey() << " ");
 4346     LLVM_DEBUG(errs() << "]");
 4371       errs() << Orig->getOperator()->getName() << ": Idxs = [ ";
 4373         errs() << Idx << " ";
 4375       errs() << "]\n";
 4580   LLVM_DEBUG(errs() << "Generating instruction variants.\n");
 4605     LLVM_DEBUG(errs() << "Dependent/multiply used variables: ");
 4607     LLVM_DEBUG(errs() << "\n");
 4615     LLVM_DEBUG(errs() << "FOUND VARIANTS OF: ";
 4616                PatternsToMatch[i].getSrcPattern()->dump(); errs() << "\n");
 4653       LLVM_DEBUG(errs() << "  VAR#" << v << ": "; Variant->dump();
 4653       LLVM_DEBUG(errs() << "  VAR#" << v << ": "; Variant->dump();
 4654                  errs() << "\n");
 4665           LLVM_DEBUG(errs() << "  *** ALREADY EXISTS, ignoring variant.\n");
 4686     LLVM_DEBUG(errs() << "\n");
utils/TableGen/CodeGenHwModes.cpp
   28   dbgs() << Name << ": " << Features << '\n';
   50     dbgs() << " (" << P.first << ',' << P.second->getName() << ')';
   51   dbgs() << " }\n";
   95   dbgs() << "Modes: {\n";
   97     dbgs() << "  ";
  100   dbgs() << "}\n";
  102   dbgs() << "ModeIds: {\n";
  104     dbgs() << "  " << P.first() << " -> " << P.second << '\n';
  104     dbgs() << "  " << P.first() << " -> " << P.second << '\n';
  105   dbgs() << "}\n";
  107   dbgs() << "ModeSelects: {\n";
  109     dbgs() << "  " << P.first->getName() << " -> ";
  109     dbgs() << "  " << P.first->getName() << " -> ";
  112   dbgs() << "}\n";
utils/TableGen/CodeGenMapTable.cpp
  380   OS << "static const uint16_t "<<InstrMapDesc.getName();
  383   OS << "Table[]["<< NumCol+1 << "] = {\n";
  383   OS << "Table[]["<< NumCol+1 << "] = {\n";
  401         OS << "  { " << Namespace << "::" << CurInstr->getName();
  401         OS << "  { " << Namespace << "::" << CurInstr->getName();
  402         OS << OutStr <<" },\n";
  408     OS << "  { " << Namespace << "::" << "INSTRUCTION_LIST_END, ";
  408     OS << "  { " << Namespace << "::" << "INSTRUCTION_LIST_END, ";
  408     OS << "  { " << Namespace << "::" << "INSTRUCTION_LIST_END, ";
  409     OS << Namespace << "::" << "INSTRUCTION_LIST_END }";
  409     OS << Namespace << "::" << "INSTRUCTION_LIST_END }";
  411   OS << "}; // End of " << InstrMapDesc.getName() << "Table\n\n";
  411   OS << "}; // End of " << InstrMapDesc.getName() << "Table\n\n";
  421   OS << "  unsigned mid;\n";
  422   OS << "  unsigned start = 0;\n";
  423   OS << "  unsigned end = " << TableSize << ";\n";
  423   OS << "  unsigned end = " << TableSize << ";\n";
  424   OS << "  while (start < end) {\n";
  425   OS << "    mid = start + (end - start)/2;\n";
  426   OS << "    if (Opcode == " << InstrMapDesc.getName() << "Table[mid][0]) {\n";
  426   OS << "    if (Opcode == " << InstrMapDesc.getName() << "Table[mid][0]) {\n";
  427   OS << "      break;\n";
  428   OS << "    }\n";
  429   OS << "    if (Opcode < " << InstrMapDesc.getName() << "Table[mid][0])\n";
  429   OS << "    if (Opcode < " << InstrMapDesc.getName() << "Table[mid][0])\n";
  430   OS << "      end = mid;\n";
  431   OS << "    else\n";
  432   OS << "      start = mid + 1;\n";
  433   OS << "  }\n";
  434   OS << "  if (start == end)\n";
  435   OS << "    return -1; // Instruction doesn't exist in this table.\n\n";
  458         OS << "  if (in" << ColName;
  459         OS << " == ";
  460         OS << ColName << "_" << ColumnI->getElement(j)->getAsUnquotedString();
  461         if (j < ColumnI->size() - 1) OS << " && ";
  462         else OS << ")\n";
  464       OS << "    return " << InstrMapDesc.getName();
  465       OS << "Table[mid]["<<i+1<<"];\n";
  465       OS << "Table[mid]["<<i+1<<"];\n";
  467     OS << "  return -1;";
  470     OS << "  return " << InstrMapDesc.getName() << "Table[mid][1];\n";
  470     OS << "  return " << InstrMapDesc.getName() << "Table[mid][1];\n";
  472   OS <<"}\n\n";
  488   OS << "// "<< InstrMapDesc.getName() << "\nLLVM_READONLY\n";
  488   OS << "// "<< InstrMapDesc.getName() << "\nLLVM_READONLY\n";
  489   OS << "int "<< InstrMapDesc.getName() << "(uint16_t Opcode";
  489   OS << "int "<< InstrMapDesc.getName() << "(uint16_t Opcode";
  493       OS << ", enum " << ColName << " in" << ColName << ") {\n";
  493       OS << ", enum " << ColName << " in" << ColName << ") {\n";
  493       OS << ", enum " << ColName << " in" << ColName << ") {\n";
  495   } else { OS << ") {\n"; }
  555     OS << "enum " << Entry.first << " {\n";
  555     OS << "enum " << Entry.first << " {\n";
  557       OS << "\t" << Entry.first << "_" << FieldValues[i]->getAsUnquotedString();
  557       OS << "\t" << Entry.first << "_" << FieldValues[i]->getAsUnquotedString();
  559         OS << ",\n";
  561         OS << "\n};\n\n";
  581   OS << "#ifdef GET_INSTRMAP_INFO\n";
  582   OS << "#undef GET_INSTRMAP_INFO\n";
  583   OS << "namespace llvm {\n\n";
  584   OS << "namespace " << NameSpace << " {\n\n";
  584   OS << "namespace " << NameSpace << " {\n\n";
  607   OS << "} // end namespace " << NameSpace << "\n";
  607   OS << "} // end namespace " << NameSpace << "\n";
  608   OS << "} // end namespace llvm\n";
  609   OS << "#endif // GET_INSTRMAP_INFO\n\n";
utils/TableGen/CodeGenRegisters.cpp
  869     OS << "{ " << K.RSI;
  871       OS << ", " << R->getName();
  872     return OS << " }";
 1672       LLVM_DEBUG(dbgs() << "UberSet " << I - UberSets.begin() << " Weight "
 1672       LLVM_DEBUG(dbgs() << "UberSet " << I - UberSets.begin() << " Weight "
 1676                  << " " << Unit->getName();
 1677                  dbgs() << "\n");
 1845         LLVM_DEBUG(dbgs() << "UnitSet " << SubIdx << " subsumed by " << SuperIdx
 1845         LLVM_DEBUG(dbgs() << "UnitSet " << SubIdx << " subsumed by " << SuperIdx
 1846                           << "\n");
 1899   LLVM_DEBUG(dbgs() << "\nBefore pruning:\n"; for (unsigned USIdx = 0,
 1902     dbgs() << "UnitSet " << USIdx << " " << RegUnitSets[USIdx].Name << ":";
 1902     dbgs() << "UnitSet " << USIdx << " " << RegUnitSets[USIdx].Name << ":";
 1902     dbgs() << "UnitSet " << USIdx << " " << RegUnitSets[USIdx].Name << ":";
 1905     dbgs() << "\n";
 1911   LLVM_DEBUG(dbgs() << "\nBefore union:\n"; for (unsigned USIdx = 0,
 1914     dbgs() << "UnitSet " << USIdx << " " << RegUnitSets[USIdx].Name << ":";
 1914     dbgs() << "UnitSet " << USIdx << " " << RegUnitSets[USIdx].Name << ":";
 1914     dbgs() << "UnitSet " << USIdx << " " << RegUnitSets[USIdx].Name << ":";
 1917     dbgs() << "\n";
 1918   } dbgs() << "\nUnion sets:\n");
 1958         LLVM_DEBUG(dbgs() << "UnitSet " << RegUnitSets.size() - 1 << " "
 1958         LLVM_DEBUG(dbgs() << "UnitSet " << RegUnitSets.size() - 1 << " "
 1959                           << RegUnitSets.back().Name << ":";
 1962                    dbgs() << "\n";);
 1971       dbgs() << "\n"; for (unsigned USIdx = 0, USEnd = RegUnitSets.size();
 1973         dbgs() << "UnitSet " << USIdx << " " << RegUnitSets[USIdx].Name << ":";
 1973         dbgs() << "UnitSet " << USIdx << " " << RegUnitSets[USIdx].Name << ":";
 1973         dbgs() << "UnitSet " << USIdx << " " << RegUnitSets[USIdx].Name << ":";
 1976         dbgs() << "\n";
 1995     LLVM_DEBUG(dbgs() << "RC " << RC.getName() << " Units: \n";
 1995     LLVM_DEBUG(dbgs() << "RC " << RC.getName() << " Units: \n";
 1998                dbgs() << "\n  UnitSetIDs:");
 2004         LLVM_DEBUG(dbgs() << " " << USIdx);
 2008     LLVM_DEBUG(dbgs() << "\n");
 2432     dbgs() << " #" << Unit;
utils/TableGen/CodeGenSchedule.cpp
   38     dbgs() << Idx << ", ";
  218       dbgs() << "\n+++ RESOURCE DEFINITIONS (collectProcResources) +++\n");
  537   LLVM_DEBUG(dbgs() << "+++ PROCESSOR MODELs (addProcModel) +++\n");
  690       dbgs() << "\n+++ SCHED READS and WRITES (collectSchedRW) +++\n";
  692         dbgs() << WIdx << ": ";
  697         dbgs() << RIdx << ": ";
  706             dbgs() << "Unused SchedReadWrite " << Name << '\n';
  888   LLVM_DEBUG(dbgs() << "\n+++ SCHED CLASSES (createInstRWClass) +++\n");
  901       << "\n+++ ITINERARIES and/or MACHINE MODELS (collectSchedClasses) +++\n");
  908           dbgs() << "No machine model for " << Inst->TheDef->getName() << '\n';
  920       dbgs() << "Itinerary for " << InstName << ": "
  920       dbgs() << "Itinerary for " << InstName << ": "
  926         dbgs() << "SchedRW machine model for " << InstName;
  929           dbgs() << " " << SchedWrites[*WI].Name;
  931           dbgs() << " " << SchedReads[*RI].Name;
  940       LLVM_DEBUG(dbgs() << "InstRW on " << ProcModel.ModelName << " for "
  940       LLVM_DEBUG(dbgs() << "InstRW on " << ProcModel.ModelName << " for "
  948           dbgs() << " " << SchedWrites[WIdx].Name;
  950           dbgs() << " " << SchedReads[RIdx].Name;
  959             dbgs() << "No machine model for " << Inst->TheDef->getName()
  960                    << " on processor " << PM.ModelName << '\n';
 1096           LLVM_DEBUG(dbgs() << "InstRW: Reuse SC " << OldSCIdx << ":"
 1096           LLVM_DEBUG(dbgs() << "InstRW: Reuse SC " << OldSCIdx << ":"
 1097                             << SchedClasses[OldSCIdx].Name << " on "
 1098                             << RWModelDef->getName() << "\n");
 1107     LLVM_DEBUG(dbgs() << "InstRW: New SC " << SCIdx << ":" << SC.Name << " on "
 1107     LLVM_DEBUG(dbgs() << "InstRW: New SC " << SCIdx << ":" << SC.Name << " on "
 1107     LLVM_DEBUG(dbgs() << "InstRW: New SC " << SCIdx << ":" << SC.Name << " on "
 1109                       << "\n");
 1153   LLVM_DEBUG(dbgs() << "\n+++ PROBLEM ITINERARIES (collectProcItins) +++\n");
 1180                           << " missing class for itinerary "
 1190                    << " missing itinerary for class " << SchedClasses[i].Name
 1226       dbgs() << "\n+++ INFERRING SCHED CLASSES (inferSchedClasses) +++\n");
 1227   LLVM_DEBUG(dbgs() << NumInstrSchedClasses << " instr sched classes.\n");
 1689   LLVM_DEBUG(dbgs() << "INFER RW proc("; dumpIdxVec(ProcIndices);
 1690              dbgs() << ") ");
 1705     LLVM_DEBUG(dbgs() << "("; dumpIdxVec(Seq); dbgs() << ") ");
 1705     LLVM_DEBUG(dbgs() << "("; dumpIdxVec(Seq); dbgs() << ") ");
 1707   LLVM_DEBUG(dbgs() << " Reads: ");
 1714     LLVM_DEBUG(dbgs() << "("; dumpIdxVec(Seq); dbgs() << ") ");
 1714     LLVM_DEBUG(dbgs() << "("; dumpIdxVec(Seq); dbgs() << ") ");
 1901         dbgs() << "WriteResDefs: "; for (RecIter RI = PM.WriteResDefs.begin(),
 1905             dbgs() << (*RI)->getValueAsDef("WriteType")->getName() << " ";
 1907             dbgs() << (*RI)->getName() << " ";
 1908         } dbgs() << "\nReadAdvanceDefs: ";
 1913             dbgs() << (*RI)->getValueAsDef("ReadType")->getName() << " ";
 1915             dbgs() << (*RI)->getName() << " ";
 1917         << "\nProcResourceDefs: ";
 1920              RI != RE; ++RI) { dbgs() << (*RI)->getName() << " "; } dbgs()
 1974     errs() << "\n\nIncomplete schedule models found.\n"
 1975       << "- Consider setting 'CompleteModel = 0' while developing new models.\n"
 1976       << "- Pseudo instructions can be marked with 'hasNoSchedulingInfo = 1'.\n"
 1977       << "- Instructions should usually have Sched<[...]> as a superclass, "
 1979       << "- Instructions related to unsupported features can be excluded with "
 2164   dbgs() << Index << ": " << ModelName << " "
 2164   dbgs() << Index << ": " << ModelName << " "
 2165          << (ModelDef ? ModelDef->getName() : "inferred") << " "
 2170   dbgs() << Name << (IsVariadic ? " (V) " : " ");
 2172     dbgs() << "(";
 2174     dbgs() << ")";
 2179   dbgs() << "SCHEDCLASS " << Index << ":" << Name << '\n'
 2179   dbgs() << "SCHEDCLASS " << Index << ":" << Name << '\n'
 2180          << "  Writes: ";
 2188   dbgs() << "\n  Reads: ";
 2196   dbgs() << "\n  ProcIdx: "; dumpIdxVec(ProcIndices); dbgs() << '\n';
 2198     dbgs() << "\n Transitions for Proc ";
 2206   dbgs() << "Expanded Variants:\n";
 2209     dbgs() << "{";
 2214         dbgs() << ", ";
 2216              << ":" << PCI->Predicate->getName();
 2218     dbgs() << "},\n  => {";
 2222       dbgs() << "(";
 2226           dbgs() << ", ";
 2229       dbgs() << "),";
 2231     dbgs() << "}\n";
utils/TableGen/DAGISelEmitter.cpp
  127   OS << "// *** NOTE: This file is #included into the middle of the target\n"
  128      << "// *** instruction selector class.  These functions are really "
  129      << "methods.\n\n";
  131   OS << "// If GET_DAGISEL_DECL is #defined with any value, only function\n"
  141   LLVM_DEBUG(errs() << "\n\nALL PATTERNS TO MATCH:\n\n";
  145                errs() << "PATTERN: ";
  147                errs() << "\nRESULT:  ";
  149                errs() << "\n";
utils/TableGen/DAGISelMatcher.cpp
  117   OS.indent(indent) << "Scope\n";
  120       OS.indent(indent+1) << "NULL POINTER\n";
  127   OS.indent(indent) << "Record\n";
  131   OS.indent(indent) << "RecordChild: " << ChildNo << '\n';
  135   OS.indent(indent) << "RecordMemRef\n";
  139   OS.indent(indent) << "CaptureGlueInput\n";
  143   OS.indent(indent) << "MoveChild " << ChildNo << '\n';
  147   OS.indent(indent) << "MoveParent\n";
  151   OS.indent(indent) << "CheckSame " << MatchNumber << '\n';
  155   OS.indent(indent) << "CheckChild" << ChildNo << "Same\n";
  155   OS.indent(indent) << "CheckChild" << ChildNo << "Same\n";
  160   OS.indent(indent) << "CheckPatternPredicate " << Predicate << '\n';
  164   OS.indent(indent) << "CheckPredicate " << getPredicate().getFnName() << '\n';
  168   OS.indent(indent) << "CheckOpcode " << Opcode.getEnumName() << '\n';
  172   OS.indent(indent) << "SwitchOpcode: {\n";
  174     OS.indent(indent) << "case " << C.first->getEnumName() << ":\n";
  174     OS.indent(indent) << "case " << C.first->getEnumName() << ":\n";
  177   OS.indent(indent) << "}\n";
  182   OS.indent(indent) << "CheckType " << getEnumName(Type) << ", ResNo="
  182   OS.indent(indent) << "CheckType " << getEnumName(Type) << ", ResNo="
  187   OS.indent(indent) << "SwitchType: {\n";
  189     OS.indent(indent) << "case " << getEnumName(C.first) << ":\n";
  189     OS.indent(indent) << "case " << getEnumName(C.first) << ":\n";
  192   OS.indent(indent) << "}\n";
  196   OS.indent(indent) << "CheckChildType " << ChildNo << " "
  196   OS.indent(indent) << "CheckChildType " << ChildNo << " "
  202   OS.indent(indent) << "CheckInteger " << Value << '\n';
  207   OS.indent(indent) << "CheckChildInteger " << ChildNo << " " << Value << '\n';
  207   OS.indent(indent) << "CheckChildInteger " << ChildNo << " " << Value << '\n';
  211   OS.indent(indent) << "CheckCondCode ISD::" << CondCodeName << '\n';
  216   OS.indent(indent) << "CheckChild2CondCode ISD::" << CondCodeName << '\n';
  220   OS.indent(indent) << "CheckValueType MVT::" << TypeName << '\n';
  224   OS.indent(indent) << "CheckComplexPat " << Pattern.getSelectFunc() << '\n';
  228   OS.indent(indent) << "CheckAndImm " << Value << '\n';
  232   OS.indent(indent) << "CheckOrImm " << Value << '\n';
  237   OS.indent(indent) << "CheckFoldableChainNode\n";
  242   OS.indent(indent) << "CheckAllOnesV\n";
  247   OS.indent(indent) << "CheckAllZerosV\n";
  251   OS.indent(indent) << "EmitInteger " << Val << " VT=" << getEnumName(VT)
  251   OS.indent(indent) << "EmitInteger " << Val << " VT=" << getEnumName(VT)
  257   OS.indent(indent) << "EmitStringInteger " << Val << " VT=" << getEnumName(VT)
  257   OS.indent(indent) << "EmitStringInteger " << Val << " VT=" << getEnumName(VT)
  262   OS.indent(indent) << "EmitRegister ";
  266     OS << "zero_reg";
  267   OS << " VT=" << getEnumName(VT) << '\n';
  272   OS.indent(indent) << "EmitConvertToTarget " << Slot << '\n';
  277   OS.indent(indent) << "EmitMergeInputChains <todo: args>\n";
  281   OS.indent(indent) << "EmitCopyToReg <todo: args>\n";
  285   OS.indent(indent) << "EmitNodeXForm " << NodeXForm->getName()
  286      << " Slot=" << Slot << '\n';
  292   OS << (isa<MorphNodeToMatcher>(this) ? "MorphNodeTo: " : "EmitNode: ")
  293      << OpcodeName << ": <todo flags> ";
  300   OS << ")\n";
  304   OS.indent(indent) << "CompleteMatch <todo args>\n";
  305   OS.indent(indent) << "Src = " << *Pattern.getSrcPattern() << "\n";
  305   OS.indent(indent) << "Src = " << *Pattern.getSrcPattern() << "\n";
  306   OS.indent(indent) << "Dst = " << *Pattern.getDstPattern() << "\n";
  306   OS.indent(indent) << "Dst = " << *Pattern.getDstPattern() << "\n";
utils/TableGen/DAGISelMatcherEmitter.cpp
  183     OS << Val << ", ";
  190     OS << (Val&127) << "|128,";
  196     OS << "/*" << InVal << "*/";
  196     OS << "/*" << InVal << "*/";
  197   OS << ", ";
  216   Stream << SrcMgr.getBufferInfo(CurBuf).Buffer->getBufferIdentifier() << ":"
  224   OS << "#ifdef GET_DAGISEL_DECL\n";
  227     OS << " override";
  228   OS << ";\n"
  231   OS << RetType << " DAGISEL_CLASS_COLONCOLON " << Decl << "\n";
  231   OS << RetType << " DAGISEL_CLASS_COLONCOLON " << Decl << "\n";
  233     OS << "#if DAGISEL_INLINE\n"
  240   OS << "#endif // GET_DAGISEL_BODY\n\n";
  252   OS << "{\n";
  253   OS << "static const char * PATTERN_MATCH_TABLE[] = {\n";
  256     OS << "\"" << It.first << "\",\n";
  256     OS << "\"" << It.first << "\",\n";
  259   OS << "\n};";
  260   OS << "\nreturn StringRef(PATTERN_MATCH_TABLE[Index]);";
  261   OS << "\n}\n";
  266   OS << "{\n";
  267   OS << "static const char * INCLUDE_PATH_TABLE[] = {\n";
  270     OS << "\"" << It << "\",\n";
  270     OS << "\"" << It << "\",\n";
  273   OS << "\n};";
  274   OS << "\nreturn StringRef(INCLUDE_PATH_TABLE[Index]);";
  275   OS << "\n}\n";
  296         OS << "OPC_Scope, ";
  300           OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/";
  300           OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/";
  301           OS.indent(Indent*2) << "/*Scope*/ ";
  327         OS << "/*->" << CurrentIdx+ChildSize << "*/";
  327         OS << "/*->" << CurrentIdx+ChildSize << "*/";
  330           OS << " // " << SM->getNumChildren() << " children in Scope";
  330           OS << " // " << SM->getNumChildren() << " children in Scope";
  339       OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/";
  339       OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/";
  340     OS.indent(Indent*2) << "0, ";
  342       OS << "/*End of Scope*/";
  348     OS << "OPC_RecordNode,";
  350       OS << " // #"
  351          << cast<RecordMatcher>(N)->getResultNo() << " = "
  357     OS << "OPC_RecordChild" << cast<RecordChildMatcher>(N)->getChildNo()
  360       OS << " // #"
  361          << cast<RecordChildMatcher>(N)->getResultNo() << " = "
  367     OS << "OPC_RecordMemRef,\n";
  371     OS << "OPC_CaptureGlueInput,\n";
  377     OS << "OPC_MoveChild";
  380       OS << ", ";
  381     OS << MCM->getChildNo() << ",\n";
  386     OS << "OPC_MoveParent,\n";
  390     OS << "OPC_CheckSame, "
  391        << cast<CheckSameMatcher>(N)->getMatchNumber() << ",\n";
  395     OS << "OPC_CheckChild"
  396        << cast<CheckChildSameMatcher>(N)->getChildNo() << "Same, "
  397        << cast<CheckChildSameMatcher>(N)->getMatchNumber() << ",\n";
  402     OS << "OPC_CheckPatternPredicate, " << getPatternPredicate(Pred) << ',';
  404       OS << " // " << Pred;
  414       OS << "OPC_CheckPredicateWithOperands, " << NumOps << "/*#Ops*/, ";
  414       OS << "OPC_CheckPredicateWithOperands, " << NumOps << "/*#Ops*/, ";
  416         OS << cast<CheckPredicateMatcher>(N)->getOperandNo(i) << ", ";
  419       OS << "OPC_CheckPredicate, ";
  424       OS << " // " << Pred.getFnName();
  430     OS << "OPC_CheckOpcode, TARGET_VAL("
  431        << cast<CheckOpcodeMatcher>(N)->getOpcode().getEnumName() << "),\n";
  440       OS << "OPC_SwitchOpcode ";
  443       OS << "OPC_SwitchType ";
  448       OS << "/*" << NumCases << " cases */";
  448       OS << "/*" << NumCases << " cases */";
  449     OS << ", ";
  485           OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/";
  485           OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/";
  488           OS << (isa<SwitchOpcodeMatcher>(N) ?
  496         OS << "TARGET_VAL(" << SOM->getCaseOpcode(i).getEnumName() << "),";
  496         OS << "TARGET_VAL(" << SOM->getCaseOpcode(i).getEnumName() << "),";
  503         OS << "// ->" << CurrentIdx+ChildSize;
  511       OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/";
  511       OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/";
  512     OS.indent(Indent*2) << "0,";
  514       OS << (isa<SwitchOpcodeMatcher>(N) ?
  524       OS << "OPC_CheckType, "
  525          << getEnumName(cast<CheckTypeMatcher>(N)->getType()) << ",\n";
  528     OS << "OPC_CheckTypeRes, " << cast<CheckTypeMatcher>(N)->getResNo()
  529        << ", " << getEnumName(cast<CheckTypeMatcher>(N)->getType()) << ",\n";
  529        << ", " << getEnumName(cast<CheckTypeMatcher>(N)->getType()) << ",\n";
  533     OS << "OPC_CheckChild"
  534        << cast<CheckChildTypeMatcher>(N)->getChildNo() << "Type, "
  535        << getEnumName(cast<CheckChildTypeMatcher>(N)->getType()) << ",\n";
  539     OS << "OPC_CheckInteger, ";
  545     OS << "OPC_CheckChild" << cast<CheckChildIntegerMatcher>(N)->getChildNo()
  546        << "Integer, ";
  553     OS << "OPC_CheckCondCode, ISD::"
  554        << cast<CheckCondCodeMatcher>(N)->getCondCodeName() << ",\n";
  558     OS << "OPC_CheckChild2CondCode, ISD::"
  559        << cast<CheckChild2CondCodeMatcher>(N)->getCondCodeName() << ",\n";
  563     OS << "OPC_CheckValueType, MVT::"
  564        << cast<CheckValueTypeMatcher>(N)->getTypeName() << ",\n";
  570     OS << "OPC_CheckComplexPat, /*CP*/" << getComplexPat(Pattern) << ", /*#*/"
  570     OS << "OPC_CheckComplexPat, /*CP*/" << getComplexPat(Pattern) << ", /*#*/"
  574       OS << " // " << Pattern.getSelectFunc();
  575       OS << ":$" << CCPM->getName();
  577         OS << " #" << CCPM->getFirstResult()+i;
  580         OS << " + chain result";
  587     OS << "OPC_CheckAndImm, ";
  594     OS << "OPC_CheckOrImm, ";
  601     OS << "OPC_CheckFoldableChainNode,\n";
  605     OS << "OPC_CheckImmAllOnesV,\n";
  609     OS << "OPC_CheckImmAllZerosV,\n";
  614     OS << "OPC_EmitInteger, "
  615        << getEnumName(cast<EmitIntegerMatcher>(N)->getVT()) << ", ";
  623     OS << "OPC_EmitInteger, "
  624       << getEnumName(cast<EmitStringIntegerMatcher>(N)->getVT()) << ", "
  625       << Val << ",\n";
  635       OS << "OPC_EmitRegister2, " << getEnumName(Matcher->getVT()) << ", ";
  635       OS << "OPC_EmitRegister2, " << getEnumName(Matcher->getVT()) << ", ";
  636       OS << "TARGET_VAL(" << getQualifiedName(Reg->TheDef) << "),\n";
  636       OS << "TARGET_VAL(" << getQualifiedName(Reg->TheDef) << "),\n";
  639       OS << "OPC_EmitRegister, " << getEnumName(Matcher->getVT()) << ", ";
  639       OS << "OPC_EmitRegister, " << getEnumName(Matcher->getVT()) << ", ";
  641         OS << getQualifiedName(Reg->TheDef) << ",\n";
  643         OS << "0 ";
  645           OS << "/*zero_reg*/";
  646         OS << ",\n";
  653     OS << "OPC_EmitConvertToTarget, "
  654        << cast<EmitConvertToTargetMatcher>(N)->getSlot() << ",\n";
  663       OS << "OPC_EmitMergeInputChains1_" << MN->getNode(0) << ",\n";
  663       OS << "OPC_EmitMergeInputChains1_" << MN->getNode(0) << ",\n";
  667     OS << "OPC_EmitMergeInputChains, " << MN->getNumNodes() << ", ";
  667     OS << "OPC_EmitMergeInputChains, " << MN->getNumNodes() << ", ";
  669       OS << MN->getNode(i) << ", ";
  679       OS << "OPC_EmitCopyToReg2, " << C2RMatcher->getSrcSlot() << ", "
  679       OS << "OPC_EmitCopyToReg2, " << C2RMatcher->getSrcSlot() << ", "
  680          << "TARGET_VAL(" << getQualifiedName(Reg->TheDef) << "),\n";
  680          << "TARGET_VAL(" << getQualifiedName(Reg->TheDef) << "),\n";
  683       OS << "OPC_EmitCopyToReg, " << C2RMatcher->getSrcSlot() << ", "
  683       OS << "OPC_EmitCopyToReg, " << C2RMatcher->getSrcSlot() << ", "
  684          << getQualifiedName(Reg->TheDef) << ",\n";
  691     OS << "OPC_EmitNodeXForm, " << getNodeXFormID(XF->getNodeXForm()) << ", "
  691     OS << "OPC_EmitNodeXForm, " << getNodeXFormID(XF->getNodeXForm()) << ", "
  694       OS << " // "<<XF->getNodeXForm()->getName();
  705         OS << "OPC_Coverage, ";
  714         OS << "TARGET_VAL(" << Offset << "),\n";
  714         OS << "TARGET_VAL(" << Offset << "),\n";
  719     OS << (isa<EmitNodeMatcher>(EN) ? "OPC_EmitNode" : "OPC_MorphNodeTo");
  724     OS << ", TARGET_VAL(" << EN->getOpcodeName() << "), 0";
  724     OS << ", TARGET_VAL(" << EN->getOpcodeName() << "), 0";
  726     if (EN->hasChain())   OS << "|OPFL_Chain";
  727     if (EN->hasInFlag())  OS << "|OPFL_GlueInput";
  728     if (EN->hasOutFlag()) OS << "|OPFL_GlueOutput";
  729     if (EN->hasMemRefs()) OS << "|OPFL_MemRefs";
  731       OS << "|OPFL_Variadic" << EN->getNumFixedArityOperands();
  732     OS << ",\n";
  738         OS << "/*#VTs*/";
  739       OS << ", ";
  742       OS << getEnumName(EN->getVT(i)) << ", ";
  746       OS << "/*#Ops*/";
  747     OS << ", ";
  756           OS << " // Results =";
  759             OS << " #" << First+i;
  765         OS.indent(FullIndexWidth + Indent*2) << "// Src: "
  766           << *SNT->getPattern().getSrcPattern() << " - Complexity = "
  768         OS.indent(FullIndexWidth + Indent*2) << "// Dst: "
  782       OS << "OPC_Coverage, ";
  791       OS << "TARGET_VAL(" << Offset << "),\n";
  791       OS << "TARGET_VAL(" << Offset << "),\n";
  794     OS << "OPC_CompleteMatch, " << CM->getNumResults() << ", ";
  794     OS << "OPC_CompleteMatch, " << CM->getNumResults() << ", ";
  800       OS.indent(FullIndexWidth + Indent*2) << " // Src: "
  801         << *CM->getPattern().getSrcPattern() << " - Complexity = "
  803       OS.indent(FullIndexWidth + Indent*2) << " // Dst: "
  820       OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/";
  820       OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/";
  839   OS << "{\n";
  840   OS << "  switch (PredNo) {\n";
  841   OS << "  default: llvm_unreachable(\"Invalid predicate in table?\");\n";
  847     OS << "  case " << i << ": { \n";
  847     OS << "  case " << i << ": { \n";
  850       OS << "    // " << TreePredicateFn(SimilarPred).getFnName() <<'\n';
  852     OS << PredFn.getCodeToRunOnSDNode() << "\n  }\n";
  854   OS << "  }\n";
  855   OS << "}\n";
  864     OS << "{\n";
  865     OS << "  switch (PredNo) {\n";
  866     OS << "  default: llvm_unreachable(\"Invalid predicate in table?\");\n";
  868       OS << "  case " << i << ": return "  << PatternPredicates[i] << ";\n";
  868       OS << "  case " << i << ": return "  << PatternPredicates[i] << ";\n";
  868       OS << "  case " << i << ": return "  << PatternPredicates[i] << ";\n";
  869     OS << "  }\n";
  870     OS << "}\n";
  892     OS << "{\n";
  893     OS << "  unsigned NextRes = Result.size();\n";
  894     OS << "  switch (PatternNo) {\n";
  895     OS << "  default: llvm_unreachable(\"Invalid pattern # in table?\");\n";
  903       OS << "  case " << i << ":\n";
  903       OS << "  case " << i << ":\n";
  905         OS << "  {\n";
  906       OS << "    Result.resize(NextRes+" << NumOps << ");\n";
  906       OS << "    Result.resize(NextRes+" << NumOps << ");\n";
  908         OS << "    bool Succeeded = " << P.getSelectFunc();
  910         OS << "  return " << P.getSelectFunc();
  912       OS << "(";
  916         OS << "Root, ";
  921         OS << "Parent, ";
  923       OS << "N";
  925         OS << ", Result[NextRes+" << i << "].first";
  925         OS << ", Result[NextRes+" << i << "].first";
  926       OS << ");\n";
  928         OS << "    if (Succeeded)\n";
  929         OS << "       dbgs() << \"\\nCOMPLEX_PATTERN: " << P.getSelectFunc()
  930            << "\\n\" ;\n";
  931         OS << "    return Succeeded;\n";
  932         OS << "    }\n";
  935     OS << "  }\n";
  936     OS << "}\n";
  946     OS << "{\n";
  947     OS << "  switch (XFormNo) {\n";
  948     OS << "  default: llvm_unreachable(\"Invalid xform # in table?\");\n";
  958       OS << "  case " << i << ": {  ";
  958       OS << "  case " << i << ": {  ";
  960         OS << "// " << NodeXForms[i]->getName();
  965         OS << "    SDNode *N = V.getNode();\n";
  967         OS << "    " << ClassName << " *N = cast<" << ClassName
  967         OS << "    " << ClassName << " *N = cast<" << ClassName
  968            << ">(V.getNode());\n";
  969       OS << Code << "\n  }\n";
  971     OS << "  }\n";
  972     OS << "}\n";
 1053   OS << "  // Opcode Histogram:\n";
 1055     OS << "  // #"
 1057        << " = " << OpcodeFreq[i] << '\n';
 1066   OS << "#if defined(GET_DAGISEL_DECL) && defined(GET_DAGISEL_BODY)\n";
 1067   OS << "#error GET_DAGISEL_DECL and GET_DAGISEL_BODY cannot be both defined, ";
 1068   OS << "undef both for inline definitions\n";
 1069   OS << "#endif\n\n";
 1072   OS << "#ifdef GET_DAGISEL_BODY\n";
 1073   OS << "#define LOCAL_DAGISEL_STRINGIZE(X) LOCAL_DAGISEL_STRINGIZE_(X)\n";
 1074   OS << "#define LOCAL_DAGISEL_STRINGIZE_(X) #X\n";
 1075   OS << "static_assert(sizeof(LOCAL_DAGISEL_STRINGIZE(GET_DAGISEL_BODY)) > 1,"
 1077   OS << "   \"GET_DAGISEL_BODY is empty: it should be defined with the class "
 1079   OS << "#undef LOCAL_DAGISEL_STRINGIZE_\n";
 1080   OS << "#undef LOCAL_DAGISEL_STRINGIZE\n";
 1081   OS << "#endif\n\n";
 1083   OS << "#if !defined(GET_DAGISEL_DECL) && !defined(GET_DAGISEL_BODY)\n";
 1084   OS << "#define DAGISEL_INLINE 1\n";
 1085   OS << "#else\n";
 1086   OS << "#define DAGISEL_INLINE 0\n";
 1087   OS << "#endif\n\n";
 1089   OS << "#if !DAGISEL_INLINE\n";
 1090   OS << "#define DAGISEL_CLASS_COLONCOLON GET_DAGISEL_BODY ::\n";
 1091   OS << "#else\n";
 1092   OS << "#define DAGISEL_CLASS_COLONCOLON\n";
 1093   OS << "#endif\n\n";
 1098   OS << "{\n";
 1099   OS << "  // Some target values are emitted as 2 bytes, TARGET_VAL handles\n";
 1100   OS << "  // this.\n";
 1101   OS << "  #define TARGET_VAL(X) X & 255, unsigned(X) >> 8\n";
 1102   OS << "  static const unsigned char MatcherTable[] = {\n";
 1104   OS << "    0\n  }; // Total Array size is " << (TotalSize+1) << " bytes\n\n";
 1104   OS << "    0\n  }; // Total Array size is " << (TotalSize+1) << " bytes\n\n";
 1108   OS << "  #undef TARGET_VAL\n";
 1109   OS << "  SelectCodeCommon(N, MatcherTable,sizeof(MatcherTable));\n";
 1110   OS << "}\n";
 1120   OS << "\n";
 1121   OS << "#ifdef DAGISEL_INLINE\n";
 1122   OS << "#undef DAGISEL_INLINE\n";
 1123   OS << "#endif\n";
 1124   OS << "#ifdef DAGISEL_CLASS_COLONCOLON\n";
 1125   OS << "#undef DAGISEL_CLASS_COLONCOLON\n";
 1126   OS << "#endif\n";
 1127   OS << "#ifdef GET_DAGISEL_DECL\n";
 1128   OS << "#undef GET_DAGISEL_DECL\n";
 1129   OS << "#endif\n";
 1130   OS << "#ifdef GET_DAGISEL_BODY\n";
 1131   OS << "#undef GET_DAGISEL_BODY\n";
 1132   OS << "#endif\n";
utils/TableGen/DAGISelMatcherGen.cpp
  226     errs() << "Unknown leaf kind: " << *N << "\n";
  226     errs() << "Unknown leaf kind: " << *N << "\n";
  269       OS << "We expect complex pattern uses to have names: " << *N;
  301   errs() << "Unknown leaf kind: " << *N << "\n";
  301   errs() << "Unknown leaf kind: " << *N << "\n";
  725   errs() << "unhandled leaf node: \n";
 1007   errs() << "Unknown result node to emit code for: " << *N << '\n';
utils/TableGen/DAGISelMatcherOpt.cpp
  299       LLVM_DEBUG(errs() << "Couldn't merge this:\n"; Optn->print(errs(), 4);
  300                  errs() << "into this:\n";
  304                  errs() << "\n");
utils/TableGen/DFAEmitter.cpp
  100   OS << "// Input NFA has " << NfaStates.size() << " states with "
  100   OS << "// Input NFA has " << NfaStates.size() << " states with "
  101      << NumNfaTransitions << " transitions.\n";
  102   OS << "// Generated DFA has " << DfaStates.size() << " states with "
  102   OS << "// Generated DFA has " << DfaStates.size() << " states with "
  103      << DfaTransitions.size() << " transitions.\n\n";
  113   OS << "// A zero-terminated sequence of NFA state transitions. Every DFA\n";
  114   OS << "// transition implies a set of NFA transitions. These are referred\n";
  115   OS << "// to by index in " << Name << "Transitions[].\n";
  115   OS << "// to by index in " << Name << "Transitions[].\n";
  122   OS << "std::array<NfaStatePair, " << Table.size() << "> " << Name
  122   OS << "std::array<NfaStatePair, " << Table.size() << "> " << Name
  123      << "TransitionInfo = {{\n";
  127         OS << "{" << P.first << ", " << P.second << "}";
  127         OS << "{" << P.first << ", " << P.second << "}";
  127         OS << "{" << P.first << ", " << P.second << "}";
  131   OS << "}};\n\n";
  133   OS << "// A transition in the generated " << Name << " DFA.\n";
  133   OS << "// A transition in the generated " << Name << " DFA.\n";
  134   OS << "struct " << Name << "Transition {\n";
  134   OS << "struct " << Name << "Transition {\n";
  135   OS << "  unsigned FromDfaState; // The transitioned-from DFA state.\n";
  136   OS << "  ";
  138   OS << " Action;       // The input symbol that causes this transition.\n";
  139   OS << "  unsigned ToDfaState;   // The transitioned-to DFA state.\n";
  140   OS << "  unsigned InfoIdx;      // Start index into " << Name
  141      << "TransitionInfo.\n";
  142   OS << "};\n\n";
  144   OS << "// A table of DFA transitions, ordered by {FromDfaState, Action}.\n";
  145   OS << "// The initial state is 1, not zero.\n";
  146   OS << "std::array<" << Name << "Transition, " << DfaTransitions.size() << "> "
  146   OS << "std::array<" << Name << "Transition, " << DfaTransitions.size() << "> "
  146   OS << "std::array<" << Name << "Transition, " << DfaTransitions.size() << "> "
  147      << Name << "Transitions = {{\n";
  153     OS << "  {" << From << ", ";
  153     OS << "  {" << From << ", ";
  155     OS << ", " << To << ", " << InfoIdx << "},\n";
  155     OS << ", " << To << ", " << InfoIdx << "},\n";
  155     OS << ", " << To << ", " << InfoIdx << "},\n";
  157   OS << "\n}};\n\n";
  160 void DfaEmitter::printActionType(raw_ostream &OS) { OS << "uint64_t"; }
  256     OS << "#ifdef GET_" << R->getName() << "_DECL\n";
  256     OS << "#ifdef GET_" << R->getName() << "_DECL\n";
  258     OS << "#endif  // GET_" << R->getName() << "_DECL\n";
  258     OS << "#endif  // GET_" << R->getName() << "_DECL\n";
  264   LLVM_DEBUG(dbgs() << "Emitting automaton for " << R->getName() << "\n");
  264   LLVM_DEBUG(dbgs() << "Emitting automaton for " << R->getName() << "\n");
  276   LLVM_DEBUG(dbgs() << "  Action alphabet cardinality: " << Actions.size()
  277                     << "\n");
  278   LLVM_DEBUG(dbgs() << "  Each state has " << Transitions.size()
  279                     << " potential transitions.\n");
  303   LLVM_DEBUG(dbgs() << "  NFA automaton has " << SeenStates.size()
  304                     << " states with " << NumTransitions << " transitions.\n");
  304                     << " states with " << NumTransitions << " transitions.\n");
  307   OS << "// The type of an action in the " << Name << " automaton.\n";
  307   OS << "// The type of an action in the " << Name << " automaton.\n";
  309     OS << "using " << Name << "Action = " << ActionTypes[0] << ";\n";
  309     OS << "using " << Name << "Action = " << ActionTypes[0] << ";\n";
  309     OS << "using " << Name << "Action = " << ActionTypes[0] << ";\n";
  311     OS << "using " << Name << "Action = std::tuple<" << join(ActionTypes, ", ")
  311     OS << "using " << Name << "Action = std::tuple<" << join(ActionTypes, ", ")
  312        << ">;\n";
  314   OS << "\n";
  376     OS << "std::make_tuple(";
  380       OS << ", ";
  385     OS << ")";
utils/TableGen/DFAPacketizerEmitter.cpp
  174   LLVM_DEBUG(dbgs() << "InsnClass: ");
  177       LLVM_DEBUG(dbgs() << ", ");
  179     LLVM_DEBUG(dbgs() << "0x" << Twine::utohexstr(InsnClass[i]));
  182   LLVM_DEBUG(dbgs() << " (input: 0x" << Twine::utohexstr(InsnInput) << ")");
  182   LLVM_DEBUG(dbgs() << " (input: 0x" << Twine::utohexstr(InsnInput) << ")");
  190     LLVM_DEBUG(dbgs() << " ");
  206   LLVM_DEBUG(dbgs() << "-------------------------------------------------------"
  208   LLVM_DEBUG(dbgs() << "collectAllFuncUnits");
  209   LLVM_DEBUG(dbgs() << " (" << ProcItinList.size() << " itineraries)\n");
  209   LLVM_DEBUG(dbgs() << " (" << ProcItinList.size() << " itineraries)\n");
  217     LLVM_DEBUG(dbgs() << "    FU:" << i << " (" << FUs.size() << " FUs) "
  217     LLVM_DEBUG(dbgs() << "    FU:" << i << " (" << FUs.size() << " FUs) "
  217     LLVM_DEBUG(dbgs() << "    FU:" << i << " (" << FUs.size() << " FUs) "
  227       LLVM_DEBUG(dbgs() << " " << FUs[j]->getName() << ":0x"
  227       LLVM_DEBUG(dbgs() << " " << FUs[j]->getName() << ":0x"
  234     LLVM_DEBUG(dbgs() << "\n");
  248   LLVM_DEBUG(dbgs() << "-------------------------------------------------------"
  250   LLVM_DEBUG(dbgs() << "collectAllComboFuncs");
  251   LLVM_DEBUG(dbgs() << " (" << ComboFuncList.size() << " sets)\n");
  251   LLVM_DEBUG(dbgs() << " (" << ComboFuncList.size() << " sets)\n");
  258     LLVM_DEBUG(dbgs() << "    CFD:" << i << " (" << FUs.size() << " combo FUs) "
  258     LLVM_DEBUG(dbgs() << "    CFD:" << i << " (" << FUs.size() << " combo FUs) "
  258     LLVM_DEBUG(dbgs() << "    CFD:" << i << " (" << FUs.size() << " combo FUs) "
  259                       << Func->getName() << "\n");
  272       LLVM_DEBUG(dbgs() << "      combo: " << ComboFuncName << ":0x"
  272       LLVM_DEBUG(dbgs() << "      combo: " << ComboFuncName << ":0x"
  273                         << Twine::utohexstr(ComboResources) << "\n");
  277         LLVM_DEBUG(dbgs() << "        " << FuncName << ":0x"
  277         LLVM_DEBUG(dbgs() << "        " << FuncName << ":0x"
  278                           << Twine::utohexstr(FuncResources) << "\n");
  283       LLVM_DEBUG(dbgs() << "          => combo bits: " << ComboFuncName << ":0x"
  283       LLVM_DEBUG(dbgs() << "          => combo bits: " << ComboFuncName << ":0x"
  284                         << Twine::utohexstr(ComboBit) << " = 0x"
  285                         << Twine::utohexstr(ComboResources) << "\n");
  305   LLVM_DEBUG(dbgs() << "    " << ItinData->getValueAsDef("TheClass")->getName()
  306                     << "\n");
  318     LLVM_DEBUG(dbgs() << "        stage:" << i << " [" << UnitList.size()
  318     LLVM_DEBUG(dbgs() << "        stage:" << i << " [" << UnitList.size()
  319                       << " units]:");
  327       LLVM_DEBUG(dbgs() << " " << j << ":" << UnitName);
  327       LLVM_DEBUG(dbgs() << " " << j << ":" << UnitName);
  338         LLVM_DEBUG(dbgs() << "\t");
  340     LLVM_DEBUG(dbgs() << " (bits: 0x" << Twine::utohexstr(UnitBitValue)
  341                       << ")\n");
  348     dbgs() << "        ";
  350     dbgs() << "\n";
  370   LLVM_DEBUG(dbgs() << "-------------------------------------------------------"
  372                     << "collectAllInsnClasses " << ProcName << " (" << M
  372                     << "collectAllInsnClasses " << ProcName << " (" << M
  373                     << " classes)\n");
  392   OS << "\n"
  393      << "#include \"llvm/CodeGen/DFAPacketizer.h\"\n";
  394   OS << "namespace llvm {\n";
  396   OS << "\n// Input format:\n";
  397   OS << "#define DFA_MAX_RESTERMS        " << DFA_MAX_RESTERMS
  398      << "\t// maximum AND'ed resource terms\n";
  399   OS << "#define DFA_MAX_RESOURCES       " << DFA_MAX_RESOURCES
  400      << "\t// maximum resource bits in one term\n";
  412   OS << "} // end namespace llvm\n";
  530   OS << "} // end namespace llvm\n\n";
  531   OS << "namespace {\n";
  534   OS << "} // end anonymous namespace\n\n";
  537   OS << "namespace llvm {\n";
  538   OS << "DFAPacketizer *" << SubTargetClassName << "::"
  538   OS << "DFAPacketizer *" << SubTargetClassName << "::"
  539      << "create" << DFAName
  540      << "DFAPacketizer(const InstrItineraryData *IID) const {\n"
  541      << "  static Automaton<uint64_t> A(ArrayRef<" << TargetAndDFAName
  542      << "Transition>(" << TargetAndDFAName << "Transitions), "
  542      << "Transition>(" << TargetAndDFAName << "Transitions), "
  543      << TargetAndDFAName << "TransitionInfo);\n"
  544      << "  return new DFAPacketizer(IID, A);\n"
  545      << "\n}\n\n";
utils/TableGen/ExegesisEmitter.cpp
  117   OS << "\nstatic const PfmCountersInfo " << Target << Def.getName()
  118      << " = {\n";
  122     OS << "  nullptr,  // No cycle counter.\n";
  124     OS << "  " << Target << "PfmCounterNames[" << getPfmCounterId(CycleCounter)
  124     OS << "  " << Target << "PfmCounterNames[" << getPfmCounterId(CycleCounter)
  125        << "],  // Cycle counter\n";
  129     OS << "  nullptr,  // No uops counter.\n";
  131     OS << "  " << Target << "PfmCounterNames[" << getPfmCounterId(UopsCounter)
  131     OS << "  " << Target << "PfmCounterNames[" << getPfmCounterId(UopsCounter)
  132        << "],  // Uops counter\n";
  136     OS << "  nullptr,  // No issue counters.\n  0\n";
  138     OS << "  " << Target << "PfmIssueCounters + " << IssueCountersTableOffset
  138     OS << "  " << Target << "PfmIssueCounters + " << IssueCountersTableOffset
  139        << ", " << NumIssueCounters << " // Issue counters.\n";
  139        << ", " << NumIssueCounters << " // Issue counters.\n";
  141   OS << "};\n";
  147   OS << "\nstatic const char* " << Target << "PfmCounterNames[] = {\n";
  147   OS << "\nstatic const char* " << Target << "PfmCounterNames[] = {\n";
  149     OS << "  \"" << NameAndIndex.first << "\", // " << NameAndIndex.second
  149     OS << "  \"" << NameAndIndex.first << "\", // " << NameAndIndex.second
  150        << "\n";
  151   OS << "};\n\n";
  162     OS << "static const PfmCountersInfo::IssueCounter " << Target
  163        << "PfmIssueCounters[] = {\n";
  166         OS << "  { " << Target << "PfmCounterNames["
  166         OS << "  { " << Target << "PfmCounterNames["
  167            << getPfmCounterId(ICDef->getValueAsString("Counter")) << "], \""
  168            << ICDef->getValueAsString("ResourceName") << "\"},\n";
  170     OS << "};\n";
  178   OS << "\n";
  189   OS << "// Sorted (by CpuName) array of pfm counters.\n"
  190      << "static const CpuAndPfmCounters " << Target << "CpuPfmCounters[] = {\n";
  190      << "static const CpuAndPfmCounters " << Target << "CpuPfmCounters[] = {\n";
  193     OS << "  { \""                                                        //
  194        << Binding->getValueAsString("CpuName") << "\","                   //
  195        << " &" << Target << Binding->getValueAsDef("Counters")->getName() //
  196        << " },\n";
  198   OS << "};\n\n";
utils/TableGen/FastISelEmitter.cpp
  122             OS << "_" << ImmPredicates.getPredicate(Code-1).getFnName();
  167         OS << " &&\n        ";
  176       OS << "VT == " << getEnumName(VVT.getSimple().SimpleTy) << " && ";
  176       OS << "VT == " << getEnumName(VVT.getSimple().SimpleTy) << " && ";
  178       OS << PredFn.getFnName() << "(imm" << i <<')';
  295         OS << "unsigned Op" << i << ", bool Op" << i << "IsKill";
  295         OS << "unsigned Op" << i << ", bool Op" << i << "IsKill";
  295         OS << "unsigned Op" << i << ", bool Op" << i << "IsKill";
  297         OS << "uint64_t imm" << i;
  299         OS << "const ConstantFP *f" << i;
  304         OS << ", ";
  318         OS << ", ";
  320         OS << "Op" << i << ", Op" << i << "IsKill";
  320         OS << "Op" << i << ", Op" << i << "IsKill";
  320         OS << "Op" << i << ", Op" << i << "IsKill";
  323         OS << "imm" << i;
  326         OS << "f" << i;
  337         OS << "Op" << i << ", Op" << i << "IsKill";
  337         OS << "Op" << i << ", Op" << i << "IsKill";
  337         OS << "Op" << i << ", Op" << i << "IsKill";
  339         OS << "imm" << i;
  341         OS << "f" << i;
  346         OS << ", ";
  622   OS << "\n// FastEmit Immediate Predicate functions.\n";
  625     OS << "static bool " << I->getFnName() << "(int64_t Imm) {\n";
  625     OS << "static bool " << I->getFnName() << "(int64_t Imm) {\n";
  626     OS << I->getImmediatePredicateCode() << "\n}\n";
  629   OS << "\n\n";
  658       OS << "  ";
  663         OS << "  BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, "
  664            << "TII.get(TargetOpcode::COPY), " << Memo.PhysRegs[i]
  665            << ").addReg(Op" << i << ");\n";
  665            << ").addReg(Op" << i << ");\n";
  668     OS << "  return fastEmitInst_";
  672       OS << "(" << InstNS << "::" << Memo.Name << ", ";
  672       OS << "(" << InstNS << "::" << Memo.Name << ", ";
  672       OS << "(" << InstNS << "::" << Memo.Name << ", ";
  673       OS << "&" << InstNS << "::" << Memo.RC->getName() << "RegClass";
  673       OS << "&" << InstNS << "::" << Memo.RC->getName() << "RegClass";
  673       OS << "&" << InstNS << "::" << Memo.RC->getName() << "RegClass";
  675         OS << ", ";
  677       OS << ");\n";
  679       OS << "extractsubreg(" << RetVTName
  680          << ", Op0, Op0IsKill, " << Memo.SubRegNo << ");\n";
  680          << ", Op0, Op0IsKill, " << Memo.SubRegNo << ");\n";
  684       OS << "  }\n";
  690     OS << "  return 0;\n";
  691   OS << "}\n";
  692   OS << "\n";
  708       OS << "// FastEmit functions for " << Opcode << ".\n";
  708       OS << "// FastEmit functions for " << Opcode << ".\n";
  709       OS << "\n";
  722             OS << "unsigned fastEmit_"
  724                << "_" << getLegalCName(getName(VT))
  725                << "_" << getLegalCName(getName(RetVT)) << "_";
  725                << "_" << getLegalCName(getName(RetVT)) << "_";
  727             OS << "(";
  729             OS << ") {\n";
  735           OS << "unsigned fastEmit_"
  736              << getLegalCName(Opcode) << "_"
  737              << getLegalCName(getName(VT)) << "_";
  739           OS << "(MVT RetVT";
  741             OS << ", ";
  743           OS << ") {\nswitch (RetVT.SimpleTy) {\n";
  747             OS << "  case " << getName(RetVT) << ": return fastEmit_"
  747             OS << "  case " << getName(RetVT) << ": return fastEmit_"
  748                << getLegalCName(Opcode) << "_" << getLegalCName(getName(VT))
  749                << "_" << getLegalCName(getName(RetVT)) << "_";
  749                << "_" << getLegalCName(getName(RetVT)) << "_";
  751             OS << "(";
  753             OS << ");\n";
  755           OS << "  default: return 0;\n}\n}\n\n";
  759           OS << "unsigned fastEmit_"
  760              << getLegalCName(Opcode) << "_"
  761              << getLegalCName(getName(VT)) << "_";
  763           OS << "(MVT RetVT";
  765             OS << ", ";
  767           OS << ") {\n";
  769           OS << "  if (RetVT.SimpleTy != " << getName(RM.begin()->first)
  770              << ")\n    return 0;\n";
  779       OS << "unsigned fastEmit_"
  780          << getLegalCName(Opcode) << "_";
  782       OS << "(MVT VT, MVT RetVT";
  784         OS << ", ";
  786       OS << ") {\n";
  787       OS << "  switch (VT.SimpleTy) {\n";
  792         OS << "  case " << TypeName << ": return fastEmit_"
  792         OS << "  case " << TypeName << ": return fastEmit_"
  793            << getLegalCName(Opcode) << "_" << getLegalCName(TypeName) << "_";
  793            << getLegalCName(Opcode) << "_" << getLegalCName(TypeName) << "_";
  795         OS << "(RetVT";
  797           OS << ", ";
  799         OS << ");\n";
  801       OS << "  default: return 0;\n";
  802       OS << "  }\n";
  803       OS << "}\n";
  804       OS << "\n";
  807     OS << "// Top-level FastEmit function.\n";
  808     OS << "\n";
  812     OS << "unsigned fastEmit_";
  814     OS << "(MVT VT, MVT RetVT, unsigned Opcode";
  816       OS << ", ";
  818     OS << ") ";
  820       OS << "override ";
  821     OS << "{\n";
  839         OS << "  if (";
  841         OS << ")\n    if (unsigned Reg = fastEmit_";
  843         OS << "(VT, RetVT, Opcode";
  845           OS << ", ";
  847         OS << "))\n      return Reg;\n\n";
  854     OS << "  switch (Opcode) {\n";
  859       OS << "  case " << Opcode << ": return fastEmit_"
  859       OS << "  case " << Opcode << ": return fastEmit_"
  860          << getLegalCName(Opcode) << "_";
  862       OS << "(VT, RetVT";
  864         OS << ", ";
  866       OS << ");\n";
  868     OS << "  default: return 0;\n";
  869     OS << "  }\n";
  870     OS << "}\n";
  871     OS << "\n";
utils/TableGen/FixedLenDecoderEmitter.cpp
  119     OS << Value.EncodingDef->getName() << ":";
  205       o << "1";
  208       o << "0";
  211       o << "_";
  444       OS << EncodingDef->getName() << ":";
  754   OS.indent(Indentation) << "static const uint8_t DecoderTable" << Namespace
  755     << BitWidth << "[] = {\n";
  767     OS << "/* " << Pos << " */";
  767     OS << "/* " << Pos << " */";
  777       OS.indent(Indentation) << "MCD::OPC_ExtractField, " << Start << ", "
  777       OS.indent(Indentation) << "MCD::OPC_ExtractField, " << Start << ", "
  778         << Len << ",  // Inst{";
  780         OS << (Start + Len - 1) << "-";
  781       OS << Start << "} ...\n";
  786       OS.indent(Indentation) << "MCD::OPC_FilterValue, ";
  789         OS << (unsigned)*I++ << ", ";
  790       OS << (unsigned)*I++ << ", ";
  795       OS << (unsigned)Byte << ", ";
  797       OS << (unsigned)Byte << ", ";
  800       OS << utostr(Byte) << ", ";
  802       OS << "// Skip to: " << ((I - Table.begin()) + NumToSkip) << "\n";
  802       OS << "// Skip to: " << ((I - Table.begin()) + NumToSkip) << "\n";
  809       OS.indent(Indentation) << "MCD::OPC_CheckField, " << Start << ", "
  809       OS.indent(Indentation) << "MCD::OPC_CheckField, " << Start << ", "
  810         << Len << ", ";// << Val << ", " << NumToSkip << ",\n";
  813         OS << (unsigned)*I << ", ";
  814       OS << (unsigned)*I++ << ", ";
  818       OS << (unsigned)Byte << ", ";
  820       OS << (unsigned)Byte << ", ";
  823       OS << utostr(Byte) << ", ";
  825       OS << "// Skip to: " << ((I - Table.begin()) + NumToSkip) << "\n";
  825       OS << "// Skip to: " << ((I - Table.begin()) + NumToSkip) << "\n";
  830       OS.indent(Indentation) << "MCD::OPC_CheckPredicate, ";
  832         OS << (unsigned)*I << ", ";
  833       OS << (unsigned)*I++ << ", ";
  838       OS << (unsigned)Byte << ", ";
  840       OS << (unsigned)Byte << ", ";
  843       OS << utostr(Byte) << ", ";
  845       OS << "// Skip to: " << ((I - Table.begin()) + NumToSkip) << "\n";
  845       OS << "// Skip to: " << ((I - Table.begin()) + NumToSkip) << "\n";
  859       OS.indent(Indentation) << "MCD::OPC_" << (IsTry ? "Try" : "")
  859       OS.indent(Indentation) << "MCD::OPC_" << (IsTry ? "Try" : "")
  860         << "Decode, ";
  862         OS << (unsigned)*p << ", ";
  863       OS << (unsigned)*p << ", ";
  867         OS << (unsigned)*I << ", ";
  868       OS << (unsigned)*I++ << ", ";
  871         OS << "// Opcode: " << NumberedEncodings[Opc] << "\n";
  871         OS << "// Opcode: " << NumberedEncodings[Opc] << "\n";
  880       OS << (unsigned)Byte << ", ";
  882       OS << (unsigned)Byte << ", ";
  885       OS << utostr(Byte) << ", ";
  888       OS << "// Opcode: " << NumberedEncodings[Opc]
  889          << ", skip to: " << ((I - Table.begin()) + NumToSkip) << "\n";
  889          << ", skip to: " << ((I - Table.begin()) + NumToSkip) << "\n";
  894       OS.indent(Indentation) << "MCD::OPC_SoftFail";
  899         OS << ", " << (unsigned)*I;
  904         OS << " /* 0x";
  906         OS << " */";
  912         OS << ", " << (unsigned)*I;
  917         OS << " /* 0x";
  919         OS << " */";
  921       OS << ",\n";
  926       OS.indent(Indentation) << "MCD::OPC_Fail,\n";
  931   OS.indent(Indentation) << "0\n";
  935   OS.indent(Indentation) << "};\n\n";
  943   OS.indent(Indentation) << "static bool checkDecoderPredicate(unsigned Idx, "
  944     << "const FeatureBitset& Bits) {\n";
  947     OS.indent(Indentation) << "switch (Idx) {\n";
  948     OS.indent(Indentation) << "default: llvm_unreachable(\"Invalid index!\");\n";
  951       OS.indent(Indentation) << "case " << Index++ << ":\n";
  951       OS.indent(Indentation) << "case " << Index++ << ":\n";
  952       OS.indent(Indentation+2) << "return (" << Predicate << ");\n";
  952       OS.indent(Indentation+2) << "return (" << Predicate << ");\n";
  954     OS.indent(Indentation) << "}\n";
  957     OS.indent(Indentation) << "llvm_unreachable(\"Invalid index!\");\n";
  960   OS.indent(Indentation) << "}\n\n";
  968   OS.indent(Indentation) << "template<typename InsnType>\n";
  969   OS.indent(Indentation) << "static DecodeStatus decodeToMCInst(DecodeStatus S,"
  970     << " unsigned Idx, InsnType insn, MCInst &MI,\n";
  971   OS.indent(Indentation) << "                                   uint64_t "
  972     << "Address, const void *Decoder, bool &DecodeComplete) {\n";
  974   OS.indent(Indentation) << "DecodeComplete = true;\n";
  975   OS.indent(Indentation) << "InsnType tmp;\n";
  976   OS.indent(Indentation) << "switch (Idx) {\n";
  977   OS.indent(Indentation) << "default: llvm_unreachable(\"Invalid index!\");\n";
  980     OS.indent(Indentation) << "case " << Index++ << ":\n";
  980     OS.indent(Indentation) << "case " << Index++ << ":\n";
  982     OS.indent(Indentation+2) << "return S;\n";
  984   OS.indent(Indentation) << "}\n";
  986   OS.indent(Indentation) << "}\n\n";
 1016       o << ".";
 1019       o << "_";
 1022       o << "1";
 1025       o << "0";
 1037     o << prefix;
 1111     o.indent(Indentation) << "tmp = 0x";
 1113     o << ";\n";
 1117     o.indent(Indentation) << "tmp ";
 1119     o << "= fieldFromInstruction"
 1120       << "(insn, " << EF.Base << ", " << EF.Width << ')';
 1120       << "(insn, " << EF.Base << ", " << EF.Width << ')';
 1122       o << " << " << EF.Offset;
 1123     o << ";\n";
 1129       << "(MI, tmp, Address, Decoder)"
 1131       << " { " << (OpHasCompleteDecoder ? "" : "DecodeComplete = false; ")
 1131       << " { " << (OpHasCompleteDecoder ? "" : "DecodeComplete = false; ")
 1132       << "return MCDisassembler::Fail; }\n";
 1135     o.indent(Indentation) << "MI.addOperand(MCOperand::createImm(tmp));\n";
 1148         << "(MI, insn, Address, Decoder)"
 1150         << " { " << (HasCompleteDecoder ? "" : "DecodeComplete = false; ")
 1150         << " { " << (HasCompleteDecoder ? "" : "DecodeComplete = false; ")
 1151         << "return MCDisassembler::Fail; }\n";
 1189     o << "!Bits[" << PredicateNamespace << "::"
 1189     o << "!Bits[" << PredicateNamespace << "::"
 1190       << str.slice(1,str.size()) << "]";
 1192     o << "Bits[" << PredicateNamespace << "::" << str << "]";
 1192     o << "Bits[" << PredicateNamespace << "::" << str << "]";
 1192     o << "Bits[" << PredicateNamespace << "::" << str << "]";
 1211       o << " && ";
 1216       o << " && ";
 1316       errs() << "SoftFail Conflict: bit SoftFail{" << i << "} in "
 1316       errs() << "SoftFail Conflict: bit SoftFail{" << i << "} in "
 1317              << AllInstructions[Opc] << " is set but Inst{" << i
 1318              << "} is unset!\n"
 1319              << "  - You can only mark a bit as SoftFail if it is fully defined"
 1320              << " (1/0 - not '?') in Inst\n";
 1752   errs() << "Decoding Conflict:\n";
 1759     errs() << " ";
 1929       LLVM_DEBUG(dbgs() << "Numbered operand mapping for " << Def.getName()
 1930                         << ": " << Name << "(" << SO.first << ", " << SO.second
 1930                         << ": " << Name << "(" << SO.first << ", " << SO.second
 1930                         << ": " << Name << "(" << SO.first << ", " << SO.second
 1931                         << ") => " << Vals[i].getName() << "\n");
 1931                         << ") => " << Vals[i].getName() << "\n");
 2129   OS << "// Helper functions for extracting fields from encoded instructions.\n"
 2130      << "// InsnType must either be integral or an APInt-like object that "
 2132      << "// * Have a static const max_size_in_bits equal to the number of bits "
 2134      << "//   encoding.\n"
 2135      << "// * be default-constructible and copy-constructible\n"
 2136      << "// * be constructible from a uint64_t\n"
 2137      << "// * be constructible from an APInt (this can be private)\n"
 2138      << "// * Support getBitsSet(loBit, hiBit)\n"
 2139      << "// * be convertible to uint64_t\n"
 2140      << "// * Support the ~, &, ==, !=, and |= operators with other objects of "
 2142      << "// * Support shift (<<, >>) with signed and unsigned integers on the "
 2144      << "// * Support put (<<) to raw_ostream&\n"
 2145      << "template<typename InsnType>\n"
 2146      << "#if defined(_MSC_VER) && !defined(__clang__)\n"
 2147      << "__declspec(noinline)\n"
 2148      << "#endif\n"
 2149      << "static InsnType fieldFromInstruction(InsnType insn, unsigned "
 2151      << "                                     unsigned numBits, "
 2153      << "  assert(startBit + numBits <= 64 && \"Cannot support >64-bit "
 2155      << "  assert(startBit + numBits <= (sizeof(InsnType) * 8) &&\n"
 2156      << "         \"Instruction field out of bounds!\");\n"
 2157      << "  InsnType fieldMask;\n"
 2158      << "  if (numBits == sizeof(InsnType) * 8)\n"
 2159      << "    fieldMask = (InsnType)(-1LL);\n"
 2160      << "  else\n"
 2161      << "    fieldMask = (((InsnType)1 << numBits) - 1) << startBit;\n"
 2162      << "  return (insn & fieldMask) >> startBit;\n"
 2163      << "}\n"
 2164      << "\n"
 2165      << "template<typename InsnType>\n"
 2166      << "static InsnType fieldFromInstruction(InsnType insn, unsigned "
 2168      << "                                     unsigned numBits, "
 2170      << "  assert(startBit + numBits <= InsnType::max_size_in_bits && "
 2172      << "  InsnType fieldMask = InsnType::getBitsSet(0, numBits);\n"
 2173      << "  return (insn >> startBit) & fieldMask;\n"
 2174      << "}\n"
 2175      << "\n"
 2176      << "template<typename InsnType>\n"
 2177      << "static InsnType fieldFromInstruction(InsnType insn, unsigned "
 2179      << "                                     unsigned numBits) {\n"
 2180      << "  return fieldFromInstruction(insn, startBit, numBits, "
 2182      << "}\n\n";
 2188   OS << "template<typename InsnType>\n"
 2189      << "static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], "
 2191      << "                                      InsnType insn, uint64_t "
 2193      << "                                      const void *DisAsm,\n"
 2194      << "                                      const MCSubtargetInfo &STI) {\n"
 2195      << "  const FeatureBitset& Bits = STI.getFeatureBits();\n"
 2196      << "\n"
 2197      << "  const uint8_t *Ptr = DecodeTable;\n"
 2198      << "  InsnType CurFieldValue = 0;\n"
 2199      << "  DecodeStatus S = MCDisassembler::Success;\n"
 2200      << "  while (true) {\n"
 2201      << "    ptrdiff_t Loc = Ptr - DecodeTable;\n"
 2202      << "    switch (*Ptr) {\n"
 2203      << "    default:\n"
 2204      << "      errs() << Loc << \": Unexpected decode table opcode!\\n\";\n"
 2205      << "      return MCDisassembler::Fail;\n"
 2206      << "    case MCD::OPC_ExtractField: {\n"
 2207      << "      unsigned Start = *++Ptr;\n"
 2208      << "      unsigned Len = *++Ptr;\n"
 2209      << "      ++Ptr;\n"
 2210      << "      CurFieldValue = fieldFromInstruction(insn, Start, Len);\n"
 2211      << "      LLVM_DEBUG(dbgs() << Loc << \": OPC_ExtractField(\" << Start << "
 2213      << "                   << Len << \"): \" << CurFieldValue << \"\\n\");\n"
 2214      << "      break;\n"
 2215      << "    }\n"
 2216      << "    case MCD::OPC_FilterValue: {\n"
 2217      << "      // Decode the field value.\n"
 2218      << "      unsigned Len;\n"
 2219      << "      InsnType Val = decodeULEB128(++Ptr, &Len);\n"
 2220      << "      Ptr += Len;\n"
 2221      << "      // NumToSkip is a plain 24-bit integer.\n"
 2222      << "      unsigned NumToSkip = *Ptr++;\n"
 2223      << "      NumToSkip |= (*Ptr++) << 8;\n"
 2224      << "      NumToSkip |= (*Ptr++) << 16;\n"
 2225      << "\n"
 2226      << "      // Perform the filter operation.\n"
 2227      << "      if (Val != CurFieldValue)\n"
 2228      << "        Ptr += NumToSkip;\n"
 2229      << "      LLVM_DEBUG(dbgs() << Loc << \": OPC_FilterValue(\" << Val << "
 2231      << "                   << \"): \" << ((Val != CurFieldValue) ? \"FAIL:\" "
 2233      << "                   << \" continuing at \" << (Ptr - DecodeTable) << "
 2235      << "\n"
 2236      << "      break;\n"
 2237      << "    }\n"
 2238      << "    case MCD::OPC_CheckField: {\n"
 2239      << "      unsigned Start = *++Ptr;\n"
 2240      << "      unsigned Len = *++Ptr;\n"
 2241      << "      InsnType FieldValue = fieldFromInstruction(insn, Start, Len);\n"
 2242      << "      // Decode the field value.\n"
 2243      << "      InsnType ExpectedValue = decodeULEB128(++Ptr, &Len);\n"
 2244      << "      Ptr += Len;\n"
 2245      << "      // NumToSkip is a plain 24-bit integer.\n"
 2246      << "      unsigned NumToSkip = *Ptr++;\n"
 2247      << "      NumToSkip |= (*Ptr++) << 8;\n"
 2248      << "      NumToSkip |= (*Ptr++) << 16;\n"
 2249      << "\n"
 2250      << "      // If the actual and expected values don't match, skip.\n"
 2251      << "      if (ExpectedValue != FieldValue)\n"
 2252      << "        Ptr += NumToSkip;\n"
 2253      << "      LLVM_DEBUG(dbgs() << Loc << \": OPC_CheckField(\" << Start << "
 2255      << "                   << Len << \", \" << ExpectedValue << \", \" << "
 2257      << "                   << \"): FieldValue = \" << FieldValue << \", "
 2259      << "                   << ExpectedValue << \": \"\n"
 2260      << "                   << ((ExpectedValue == FieldValue) ? \"PASS\\n\" : "
 2262      << "      break;\n"
 2263      << "    }\n"
 2264      << "    case MCD::OPC_CheckPredicate: {\n"
 2265      << "      unsigned Len;\n"
 2266      << "      // Decode the Predicate Index value.\n"
 2267      << "      unsigned PIdx = decodeULEB128(++Ptr, &Len);\n"
 2268      << "      Ptr += Len;\n"
 2269      << "      // NumToSkip is a plain 24-bit integer.\n"
 2270      << "      unsigned NumToSkip = *Ptr++;\n"
 2271      << "      NumToSkip |= (*Ptr++) << 8;\n"
 2272      << "      NumToSkip |= (*Ptr++) << 16;\n"
 2273      << "      // Check the predicate.\n"
 2274      << "      bool Pred;\n"
 2275      << "      if (!(Pred = checkDecoderPredicate(PIdx, Bits)))\n"
 2276      << "        Ptr += NumToSkip;\n"
 2277      << "      (void)Pred;\n"
 2278      << "      LLVM_DEBUG(dbgs() << Loc << \": OPC_CheckPredicate(\" << PIdx "
 2280      << "            << (Pred ? \"PASS\\n\" : \"FAIL\\n\"));\n"
 2281      << "\n"
 2282      << "      break;\n"
 2283      << "    }\n"
 2284      << "    case MCD::OPC_Decode: {\n"
 2285      << "      unsigned Len;\n"
 2286      << "      // Decode the Opcode value.\n"
 2287      << "      unsigned Opc = decodeULEB128(++Ptr, &Len);\n"
 2288      << "      Ptr += Len;\n"
 2289      << "      unsigned DecodeIdx = decodeULEB128(Ptr, &Len);\n"
 2290      << "      Ptr += Len;\n"
 2291      << "\n"
 2292      << "      MI.clear();\n"
 2293      << "      MI.setOpcode(Opc);\n"
 2294      << "      bool DecodeComplete;\n"
 2295      << "      S = decodeToMCInst(S, DecodeIdx, insn, MI, Address, DisAsm, "
 2297      << "      assert(DecodeComplete);\n"
 2298      << "\n"
 2299      << "      LLVM_DEBUG(dbgs() << Loc << \": OPC_Decode: opcode \" << Opc\n"
 2300      << "                   << \", using decoder \" << DecodeIdx << \": \"\n"
 2301      << "                   << (S != MCDisassembler::Fail ? \"PASS\" : "
 2303      << "      return S;\n"
 2304      << "    }\n"
 2305      << "    case MCD::OPC_TryDecode: {\n"
 2306      << "      unsigned Len;\n"
 2307      << "      // Decode the Opcode value.\n"
 2308      << "      unsigned Opc = decodeULEB128(++Ptr, &Len);\n"
 2309      << "      Ptr += Len;\n"
 2310      << "      unsigned DecodeIdx = decodeULEB128(Ptr, &Len);\n"
 2311      << "      Ptr += Len;\n"
 2312      << "      // NumToSkip is a plain 24-bit integer.\n"
 2313      << "      unsigned NumToSkip = *Ptr++;\n"
 2314      << "      NumToSkip |= (*Ptr++) << 8;\n"
 2315      << "      NumToSkip |= (*Ptr++) << 16;\n"
 2316      << "\n"
 2317      << "      // Perform the decode operation.\n"
 2318      << "      MCInst TmpMI;\n"
 2319      << "      TmpMI.setOpcode(Opc);\n"
 2320      << "      bool DecodeComplete;\n"
 2321      << "      S = decodeToMCInst(S, DecodeIdx, insn, TmpMI, Address, DisAsm, "
 2323      << "      LLVM_DEBUG(dbgs() << Loc << \": OPC_TryDecode: opcode \" << "
 2325      << "                   << \", using decoder \" << DecodeIdx << \": \");\n"
 2326      << "\n"
 2327      << "      if (DecodeComplete) {\n"
 2328      << "        // Decoding complete.\n"
 2329      << "        LLVM_DEBUG(dbgs() << (S != MCDisassembler::Fail ? \"PASS\" : "
 2331      << "        MI = TmpMI;\n"
 2332      << "        return S;\n"
 2333      << "      } else {\n"
 2334      << "        assert(S == MCDisassembler::Fail);\n"
 2335      << "        // If the decoding was incomplete, skip.\n"
 2336      << "        Ptr += NumToSkip;\n"
 2337      << "        LLVM_DEBUG(dbgs() << \"FAIL: continuing at \" << (Ptr - "
 2339      << "        // Reset decode status. This also drops a SoftFail status "
 2341      << "        // set before the decode attempt.\n"
 2342      << "        S = MCDisassembler::Success;\n"
 2343      << "      }\n"
 2344      << "      break;\n"
 2345      << "    }\n"
 2346      << "    case MCD::OPC_SoftFail: {\n"
 2347      << "      // Decode the mask values.\n"
 2348      << "      unsigned Len;\n"
 2349      << "      InsnType PositiveMask = decodeULEB128(++Ptr, &Len);\n"
 2350      << "      Ptr += Len;\n"
 2351      << "      InsnType NegativeMask = decodeULEB128(Ptr, &Len);\n"
 2352      << "      Ptr += Len;\n"
 2353      << "      bool Fail = (insn & PositiveMask) || (~insn & NegativeMask);\n"
 2354      << "      if (Fail)\n"
 2355      << "        S = MCDisassembler::SoftFail;\n"
 2356      << "      LLVM_DEBUG(dbgs() << Loc << \": OPC_SoftFail: \" << (Fail ? "
 2358      << "      break;\n"
 2359      << "    }\n"
 2360      << "    case MCD::OPC_Fail: {\n"
 2361      << "      LLVM_DEBUG(dbgs() << Loc << \": OPC_Fail\\n\");\n"
 2362      << "      return MCDisassembler::Fail;\n"
 2363      << "    }\n"
 2364      << "    }\n"
 2365      << "  }\n"
 2366      << "  llvm_unreachable(\"bogosity detected in disassembler state "
 2368      << "}\n\n";
 2374   OS << "#include \"llvm/MC/MCInst.h\"\n";
 2375   OS << "#include \"llvm/Support/Debug.h\"\n";
 2376   OS << "#include \"llvm/Support/DataTypes.h\"\n";
 2377   OS << "#include \"llvm/Support/LEB128.h\"\n";
 2378   OS << "#include \"llvm/Support/raw_ostream.h\"\n";
 2379   OS << "#include <assert.h>\n";
 2381   OS << "namespace llvm {\n\n";
 2515   OS << "\n} // end namespace llvm\n";
utils/TableGen/GICombinerEmitter.cpp
  227     SS << "return " << EnumeratedRule.getID() << ";\n";
  227     SS << "return " << EnumeratedRule.getID() << ";\n";
  231   OS << "static Optional<uint64_t> getRuleIdxForIdentifier(StringRef "
  233      << "  uint64_t I;\n"
  234      << "  // getAtInteger(...) returns false on success\n"
  235      << "  bool Parsed = !RuleIdentifier.getAsInteger(0, I);\n"
  236      << "  if (Parsed)\n"
  237      << "    return I;\n\n"
  238      << "#ifndef NDEBUG\n";
  241   OS << "#endif // ifndef NDEBUG\n\n"
  242      << "  return None;\n"
  243      << "}\n";
  288     OS << Indent << "// Rule: " << RuleDef.getName() << "\n"
  288     OS << Indent << "// Rule: " << RuleDef.getName() << "\n"
  289        << Indent << "if (!isRuleDisabled(" << Rule->getID() << ")) {\n";
  289        << Indent << "if (!isRuleDisabled(" << Rule->getID() << ")) {\n";
  302     OS << Indent << "  if (1\n";
  313       OS << Indent << "      && [&]() {\n"
  314          << Indent << "      "
  317          << "\n"
  318          << Indent << "      return true;\n"
  319          << Indent << "  }()";
  321     OS << ") {\n" << Indent << "   ";
  321     OS << ") {\n" << Indent << "   ";
  326          << "\n"
  327          << Indent << "    return true;\n"
  328          << Indent << "  }\n";
  334     OS << Indent << "}\n";
  346   OS << "#ifdef " << Name.upper() << "_GENCOMBINERHELPER_DEPS\n"
  346   OS << "#ifdef " << Name.upper() << "_GENCOMBINERHELPER_DEPS\n"
  347      << "#include \"llvm/ADT/SparseBitVector.h\"\n"
  348      << "namespace llvm {\n"
  349      << "extern cl::OptionCategory GICombinerOptionCategory;\n"
  350      << "} // end namespace llvm\n"
  351      << "#endif // ifdef " << Name.upper() << "_GENCOMBINERHELPER_DEPS\n\n";
  351      << "#endif // ifdef " << Name.upper() << "_GENCOMBINERHELPER_DEPS\n\n";
  353   OS << "#ifdef " << Name.upper() << "_GENCOMBINERHELPER_H\n"
  353   OS << "#ifdef " << Name.upper() << "_GENCOMBINERHELPER_H\n"
  354      << "class " << getClassName() << " {\n"
  354      << "class " << getClassName() << " {\n"
  355      << "  SparseBitVector<> DisabledRules;\n"
  356      << "\n"
  357      << "public:\n"
  358      << "  bool parseCommandLineOption();\n"
  359      << "  bool isRuleDisabled(unsigned ID) const;\n"
  360      << "  bool setRuleDisabled(StringRef RuleIdentifier);\n"
  361      << "\n"
  362      << "  bool tryCombineAll(\n"
  363      << "    GISelChangeObserver &Observer,\n"
  364      << "    MachineInstr &MI,\n"
  365      << "    MachineIRBuilder &B) const;\n"
  366      << "};\n\n";
  370   OS << "bool " << getClassName()
  371      << "::setRuleDisabled(StringRef RuleIdentifier) {\n"
  372      << "  std::pair<StringRef, StringRef> RangePair = "
  374      << "  if (!RangePair.second.empty()) {\n"
  375      << "    const auto First = getRuleIdxForIdentifier(RangePair.first);\n"
  376      << "    const auto Last = getRuleIdxForIdentifier(RangePair.second);\n"
  377      << "    if (!First.hasValue() || !Last.hasValue())\n"
  378      << "      return false;\n"
  379      << "    if (First >= Last)\n"
  380      << "      report_fatal_error(\"Beginning of range should be before end of "
  382      << "    for (auto I = First.getValue(); I < Last.getValue(); ++I)\n"
  383      << "      DisabledRules.set(I);\n"
  384      << "    return true;\n"
  385      << "  } else {\n"
  386      << "    const auto I = getRuleIdxForIdentifier(RangePair.first);\n"
  387      << "    if (!I.hasValue())\n"
  388      << "      return false;\n"
  389      << "    DisabledRules.set(I.getValue());\n"
  390      << "    return true;\n"
  391      << "  }\n"
  392      << "  return false;\n"
  393      << "}\n";
  395   OS << "bool " << getClassName()
  396      << "::isRuleDisabled(unsigned RuleID) const {\n"
  397      << "  return DisabledRules.test(RuleID);\n"
  398      << "}\n";
  399   OS << "#endif // ifdef " << Name.upper() << "_GENCOMBINERHELPER_H\n\n";
  399   OS << "#endif // ifdef " << Name.upper() << "_GENCOMBINERHELPER_H\n\n";
  401   OS << "#ifdef " << Name.upper() << "_GENCOMBINERHELPER_CPP\n"
  401   OS << "#ifdef " << Name.upper() << "_GENCOMBINERHELPER_CPP\n"
  402      << "\n"
  403      << "cl::list<std::string> " << Name << "Option(\n"
  403      << "cl::list<std::string> " << Name << "Option(\n"
  404      << "    \"" << Name.lower() << "-disable-rule\",\n"
  404      << "    \"" << Name.lower() << "-disable-rule\",\n"
  405      << "    cl::desc(\"Disable one or more combiner rules temporarily in "
  406      << "the " << Name << " pass\"),\n"
  406      << "the " << Name << " pass\"),\n"
  407      << "    cl::CommaSeparated,\n"
  408      << "    cl::Hidden,\n"
  409      << "    cl::cat(GICombinerOptionCategory));\n"
  410      << "\n"
  411      << "bool " << getClassName() << "::parseCommandLineOption() {\n"
  411      << "bool " << getClassName() << "::parseCommandLineOption() {\n"
  412      << "  for (const auto &Identifier : " << Name << "Option)\n"
  412      << "  for (const auto &Identifier : " << Name << "Option)\n"
  413      << "    if (!setRuleDisabled(Identifier))\n"
  414      << "      return false;\n"
  415      << "  return true;\n"
  416      << "}\n\n";
  418   OS << "bool " << getClassName() << "::tryCombineAll(\n"
  418   OS << "bool " << getClassName() << "::tryCombineAll(\n"
  419      << "    GISelChangeObserver &Observer,\n"
  420      << "    MachineInstr &MI,\n"
  421      << "    MachineIRBuilder &B) const {\n"
  422      << "  CombinerHelper Helper(Observer, B);\n"
  423      << "  MachineBasicBlock *MBB = MI.getParent();\n"
  424      << "  MachineFunction *MF = MBB->getParent();\n"
  425      << "  MachineRegisterInfo &MRI = MF->getRegInfo();\n"
  426      << "  (void)MBB; (void)MF; (void)MRI;\n\n";
  430   OS << "\n  return false;\n"
  431      << "}\n"
  432      << "#endif // ifdef " << Name.upper() << "_GENCOMBINERHELPER_CPP\n";
  432      << "#endif // ifdef " << Name.upper() << "_GENCOMBINERHELPER_CPP\n";
utils/TableGen/GlobalISel/CodeExpander.cpp
   36       OS << "\n" << Indent;
   78         OS << "/*$" << Var << "{*/";
   78         OS << "/*$" << Var << "{*/";
   81         OS << "/*}*/";
   90     OS << "$";
utils/TableGen/GlobalISelEmitter.cpp
  117       OS << "GILLT_s" << Ty.getSizeInBits();
  121       OS << "GILLT_v" << Ty.getNumElements() << "s" << Ty.getScalarSizeInBits();
  121       OS << "GILLT_v" << Ty.getNumElements() << "s" << Ty.getScalarSizeInBits();
  125       OS << "GILLT_p" << Ty.getAddressSpace();
  127         OS << "s" << Ty.getSizeInBits();
  135       OS << "LLT::scalar(" << Ty.getSizeInBits() << ")";
  135       OS << "LLT::scalar(" << Ty.getSizeInBits() << ")";
  139       OS << "LLT::vector(" << Ty.getNumElements() << ", "
  139       OS << "LLT::vector(" << Ty.getNumElements() << ", "
  140          << Ty.getScalarSizeInBits() << ")";
  144       OS << "LLT::pointer(" << Ty.getAddressSpace() << ", "
  144       OS << "LLT::pointer(" << Ty.getAddressSpace() << ", "
  145          << Ty.getSizeInBits() << ")";
  237       OS << " AddressSpaces=[";
  572   void emitUse(raw_ostream &OS) const { OS << "MatchTable" << ID; }
  576     OS << "  constexpr static int64_t MatchTable" << ID << "[] = {";
  576     OS << "  constexpr static int64_t MatchTable" << ID << "[] = {";
  601     OS << "};\n";
  617     OS << (UseLineComment ? "// " : "/*");
  621     OS << ": @" << Table.getLabelIndex(LabelID);
  624     OS << "*/";
  628       OS << " ";
  633     OS << ",";
  635       OS << " ";
  639     OS << "\n";
 1533       CommentOS << "MIs[" << getInsnVarID() << "] ";
 1533       CommentOS << "MIs[" << getInsnVarID() << "] ";
 1535         CommentOS << "Operand " << OpIdx;
 4823     OS << "// PatFrag predicates.\n"
 4824        << "enum {\n";
 4828       OS << "  GIPFP_" << TypeIdentifier << "_Predicate_" << Record->getName()
 4828       OS << "  GIPFP_" << TypeIdentifier << "_Predicate_" << Record->getName()
 4832     OS << "};\n";
 4835   OS << "bool " << Target.getName() << "InstructionSelector::test" << ArgName
 4835   OS << "bool " << Target.getName() << "InstructionSelector::test" << ArgName
 4836      << "Predicate_" << TypeIdentifier << "(unsigned PredicateID, " << ArgType << " "
 4836      << "Predicate_" << TypeIdentifier << "(unsigned PredicateID, " << ArgType << " "
 4836      << "Predicate_" << TypeIdentifier << "(unsigned PredicateID, " << ArgType << " "
 4837      << ArgName << ") const {\n"
 4840     OS << "\n";
 4842     OS << "  switch (PredicateID) {\n";
 4844     OS << "  case GIPFP_" << TypeIdentifier << "_Predicate_"
 4844     OS << "  case GIPFP_" << TypeIdentifier << "_Predicate_"
 4845        << Record->getName() << ": {\n"
 4846        << "    " << Record->getValueAsString(CodeFieldName) << "\n"
 4846        << "    " << Record->getValueAsString(CodeFieldName) << "\n"
 4847        << "    llvm_unreachable(\"" << CodeFieldName
 4848        << " should have returned\");\n"
 4849        << "    return false;\n"
 4850        << "  }\n";
 4853     OS << "  }\n";
 4854   OS << "  llvm_unreachable(\"Unknown predicate\");\n"
 4855      << "  return false;\n"
 4856      << "}\n";
 4920   LLVM_DEBUG(dbgs() << "NumGroups: " << NumGroups << "\n");
 4920   LLVM_DEBUG(dbgs() << "NumGroups: " << NumGroups << "\n");
 5069   OS << "#ifdef GET_GLOBALISEL_PREDICATE_BITSET\n"
 5070      << "const unsigned MAX_SUBTARGET_PREDICATES = " << SubtargetFeatures.size()
 5071      << ";\n"
 5072      << "using PredicateBitset = "
 5074      << "#endif // ifdef GET_GLOBALISEL_PREDICATE_BITSET\n\n";
 5076   OS << "#ifdef GET_GLOBALISEL_TEMPORARIES_DECL\n"
 5077      << "  mutable MatcherState State;\n"
 5078      << "  typedef "
 5081      << "InstructionSelector::*ComplexMatcherMemFn)(MachineOperand &) const;\n"
 5083      << "  typedef void(" << Target.getName()
 5084      << "InstructionSelector::*CustomRendererFn)(MachineInstrBuilder &, const "
 5087      << "  const ISelInfoTy<PredicateBitset, ComplexMatcherMemFn, "
 5090   OS << "  static " << Target.getName()
 5091      << "InstructionSelector::ComplexMatcherMemFn ComplexPredicateFns[];\n"
 5092      << "  static " << Target.getName()
 5093      << "InstructionSelector::CustomRendererFn CustomRenderers[];\n"
 5094      << "  bool testImmPredicate_I64(unsigned PredicateID, int64_t Imm) const "
 5096      << "  bool testImmPredicate_APInt(unsigned PredicateID, const APInt &Imm) "
 5098      << "  bool testImmPredicate_APFloat(unsigned PredicateID, const APFloat "
 5100      << "  const int64_t *getMatchTable() const override;\n"
 5101      << "  bool testMIPredicate_MI(unsigned PredicateID, const MachineInstr &MI) "
 5103      << "#endif // ifdef GET_GLOBALISEL_TEMPORARIES_DECL\n\n";
 5105   OS << "#ifdef GET_GLOBALISEL_TEMPORARIES_INIT\n"
 5106      << ", State(" << MaxTemporaries << "),\n"
 5106      << ", State(" << MaxTemporaries << "),\n"
 5107      << "ISelInfo(TypeObjects, NumTypeObjects, FeatureBitsets"
 5108      << ", ComplexPredicateFns, CustomRenderers)\n"
 5109      << "#endif // ifdef GET_GLOBALISEL_TEMPORARIES_INIT\n\n";
 5111   OS << "#ifdef GET_GLOBALISEL_IMPL\n";
 5143   OS << "// LLT Objects.\n"
 5144      << "enum {\n";
 5146     OS << "  ";
 5148     OS << ",\n";
 5150   OS << "};\n";
 5151   OS << "const static size_t NumTypeObjects = " << TypeObjects.size() << ";\n"
 5151   OS << "const static size_t NumTypeObjects = " << TypeObjects.size() << ";\n"
 5152      << "const static LLT TypeObjects[] = {\n";
 5154     OS << "  ";
 5156     OS << ",\n";
 5158   OS << "};\n\n";
 5182   OS << "// Feature bitsets.\n"
 5183      << "enum {\n"
 5184      << "  GIFBS_Invalid,\n";
 5188     OS << "  " << getNameForFeatureBitset(FeatureBitset) << ",\n";
 5188     OS << "  " << getNameForFeatureBitset(FeatureBitset) << ",\n";
 5190   OS << "};\n"
 5191      << "const static PredicateBitset FeatureBitsets[] {\n"
 5192      << "  {}, // GIFBS_Invalid\n";
 5196     OS << "  {";
 5200       OS << I->second.getEnumBitName() << ", ";
 5202     OS << "},\n";
 5204   OS << "};\n\n";
 5207   OS << "// ComplexPattern predicates.\n"
 5208      << "enum {\n"
 5209      << "  GICP_Invalid,\n";
 5211     OS << "  GICP_" << Record->getName() << ",\n";
 5211     OS << "  GICP_" << Record->getName() << ",\n";
 5212   OS << "};\n"
 5213      << "// See constructor for table contents\n\n";
 5228   OS << "\n";
 5230   OS << Target.getName() << "InstructionSelector::ComplexMatcherMemFn\n"
 5231      << Target.getName() << "InstructionSelector::ComplexPredicateFns[] = {\n"
 5232      << "  nullptr, // GICP_Invalid\n";
 5234     OS << "  &" << Target.getName()
 5235        << "InstructionSelector::" << Record->getValueAsString("MatcherFn")
 5236        << ", // " << Record->getName() << "\n";
 5236        << ", // " << Record->getName() << "\n";
 5237   OS << "};\n\n";
 5239   OS << "// Custom renderers.\n"
 5240      << "enum {\n"
 5241      << "  GICR_Invalid,\n";
 5243     OS << "  GICR_" << Record->getValueAsString("RendererFn") << ", \n";
 5243     OS << "  GICR_" << Record->getValueAsString("RendererFn") << ", \n";
 5244   OS << "};\n";
 5246   OS << Target.getName() << "InstructionSelector::CustomRendererFn\n"
 5247      << Target.getName() << "InstructionSelector::CustomRenderers[] = {\n"
 5248      << "  nullptr, // GICP_Invalid\n";
 5250     OS << "  &" << Target.getName()
 5251        << "InstructionSelector::" << Record->getValueAsString("RendererFn")
 5252        << ", // " << Record->getName() << "\n";
 5252        << ", // " << Record->getName() << "\n";
 5253   OS << "};\n\n";
 5271   OS << "bool " << Target.getName()
 5272      << "InstructionSelector::selectImpl(MachineInstr &I, CodeGenCoverage "
 5274      << "  MachineFunction &MF = *I.getParent()->getParent();\n"
 5275      << "  MachineRegisterInfo &MRI = MF.getRegInfo();\n"
 5276      << "  // FIXME: This should be computed on a per-function basis rather "
 5278      << "  AvailableFunctionFeatures = computeAvailableFunctionFeatures(&STI, "
 5280      << "  const PredicateBitset AvailableFeatures = getAvailableFeatures();\n"
 5281      << "  NewMIVector OutMIs;\n"
 5282      << "  State.MIs.clear();\n"
 5283      << "  State.MIs.push_back(&I);\n\n"
 5284      << "  if (executeMatchTable(*this, OutMIs, State, ISelInfo"
 5285      << ", getMatchTable(), TII, MRI, TRI, RBI, AvailableFeatures"
 5286      << ", CoverageInfo)) {\n"
 5287      << "    return true;\n"
 5288      << "  }\n\n"
 5289      << "  return false;\n"
 5290      << "}\n\n";
 5294   OS << "const int64_t *" << Target.getName()
 5295      << "InstructionSelector::getMatchTable() const {\n";
 5297   OS << "  return ";
 5299   OS << ";\n}\n";
 5300   OS << "#endif // ifdef GET_GLOBALISEL_IMPL\n";
 5302   OS << "#ifdef GET_GLOBALISEL_PREDICATES_DECL\n"
 5303      << "PredicateBitset AvailableModuleFeatures;\n"
 5304      << "mutable PredicateBitset AvailableFunctionFeatures;\n"
 5305      << "PredicateBitset getAvailableFeatures() const {\n"
 5306      << "  return AvailableModuleFeatures | AvailableFunctionFeatures;\n"
 5307      << "}\n"
 5308      << "PredicateBitset\n"
 5309      << "computeAvailableModuleFeatures(const " << Target.getName()
 5310      << "Subtarget *Subtarget) const;\n"
 5311      << "PredicateBitset\n"
 5312      << "computeAvailableFunctionFeatures(const " << Target.getName()
 5313      << "Subtarget *Subtarget,\n"
 5314      << "                                 const MachineFunction *MF) const;\n"
 5315      << "#endif // ifdef GET_GLOBALISEL_PREDICATES_DECL\n";
 5317   OS << "#ifdef GET_GLOBALISEL_PREDICATES_INIT\n"
 5318      << "AvailableModuleFeatures(computeAvailableModuleFeatures(&STI)),\n"
 5319      << "AvailableFunctionFeatures()\n"
 5320      << "#endif // ifdef GET_GLOBALISEL_PREDICATES_INIT\n";
utils/TableGen/InfoByHwMode.cpp
  140   OS << "[R=" << RegSize << ",S=" << SpillSize
  140   OS << "[R=" << RegSize << ",S=" << SpillSize
  141      << ",A=" << SpillAlignment << ']';
utils/TableGen/InstrDocsEmitter.cpp
   34   OS << std::string(Str.size(), Kind) << "\n" << Str << "\n"
   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";
   39   OS << Str << "\n" << std::string(Str.size(), Kind) << "\n";
   67   OS << "\n";
   78     OS << "\n";
   84         OS << "Assembly string";
   86           OS << " (" << AsmVariant->getValueAsString("Name") << ")";
   86           OS << " (" << AsmVariant->getValueAsString("Name") << ")";
   91         OS << ": ``" << escapeForRST(StringRef(AsmString).trim(" "))
   92            << "``\n\n";
  142       OS << "Flags: ";
  146           OS << ", ";
  147         OS << "``" << FlagString << "``";
  147         OS << "``" << FlagString << "``";
  147         OS << "``" << FlagString << "``";
  150       OS << "\n\n";
  169           OS << "* " << (IsDef ? "DEF" : "USE") << " ``" << Op.Rec->getName()
  169           OS << "* " << (IsDef ? "DEF" : "USE") << " ``" << Op.Rec->getName()
  169           OS << "* " << (IsDef ? "DEF" : "USE") << " ``" << Op.Rec->getName()
  170              << "/" << SubOpTypeName << ":$" << Op.Name << ".";
  170              << "/" << SubOpTypeName << ":$" << Op.Name << ".";
  170              << "/" << SubOpTypeName << ":$" << Op.Name << ".";
  173             OS << "anon" << SubOpIdx;
  176           OS << "``\n\n";
  180         OS << "* " << (IsDef ? "DEF" : "USE") << " ``" << Op.Rec->getName()
  180         OS << "* " << (IsDef ? "DEF" : "USE") << " ``" << Op.Rec->getName()
  180         OS << "* " << (IsDef ? "DEF" : "USE") << " ``" << Op.Rec->getName()
  181            << ":$" << Op.Name << "``\n\n";
  181            << ":$" << Op.Name << "``\n\n";
  188       OS << "Constraints: ``" << Constraints << "``\n\n";
  188       OS << "Constraints: ``" << Constraints << "``\n\n";
  193       OS << "Implicit defs: ";
  197           OS << ", ";
  198         OS << "``" << Def->getName() << "``";
  198         OS << "``" << Def->getName() << "``";
  201       OS << "\n\n";
  206       OS << "Implicit uses: ";
  210           OS << ", ";
  211         OS << "``" << Use->getName() << "``";
  211         OS << "``" << Use->getName() << "``";
  214       OS << "\n\n";
  221       OS << "Predicates: ";
  225           OS << ", ";
  226         OS << "``" << P->getName() << "``";
  226         OS << "``" << P->getName() << "``";
  229       OS << "\n\n";
utils/TableGen/InstrInfoEmitter.cpp
   99   OS << "static const MCPhysReg ImplicitList" << Num << "[] = { ";
   99   OS << "static const MCPhysReg ImplicitList" << Num << "[] = { ";
  101     OS << getQualifiedName(U) << ", ";
  102   OS << "0 };\n";
  200   OS << "\n";
  208     OS << "static const MCOperandInfo OperandInfo" << N << "[] = { ";
  208     OS << "static const MCOperandInfo OperandInfo" << N << "[] = { ";
  210       OS << "{ " << Info << " }, ";
  210       OS << "{ " << Info << " }, ";
  211     OS << "};\n";
  269   OS << "#ifdef GET_INSTRINFO_OPERAND_ENUM\n";
  270   OS << "#undef GET_INSTRINFO_OPERAND_ENUM\n";
  271   OS << "namespace llvm {\n";
  272   OS << "namespace " << Namespace << " {\n";
  272   OS << "namespace " << Namespace << " {\n";
  273   OS << "namespace " << OpNameNS << " {\n";
  273   OS << "namespace " << OpNameNS << " {\n";
  274   OS << "enum {\n";
  276     OS << "  " << Op.first << " = " << Op.second << ",\n";
  276     OS << "  " << Op.first << " = " << Op.second << ",\n";
  276     OS << "  " << Op.first << " = " << Op.second << ",\n";
  278   OS << "OPERAND_LAST";
  279   OS << "\n};\n";
  280   OS << "} // end namespace OpName\n";
  281   OS << "} // end namespace " << Namespace << "\n";
  281   OS << "} // end namespace " << Namespace << "\n";
  282   OS << "} // end namespace llvm\n";
  283   OS << "#endif //GET_INSTRINFO_OPERAND_ENUM\n\n";
  285   OS << "#ifdef GET_INSTRINFO_NAMED_OPS\n";
  286   OS << "#undef GET_INSTRINFO_NAMED_OPS\n";
  287   OS << "namespace llvm {\n";
  288   OS << "namespace " << Namespace << " {\n";
  288   OS << "namespace " << Namespace << " {\n";
  289   OS << "LLVM_READONLY\n";
  290   OS << "int16_t getNamedOperandIdx(uint16_t Opcode, uint16_t NamedIdx) {\n";
  292     OS << "  static const int16_t OperandMap [][" << Operands.size()
  293        << "] = {\n";
  296       OS << "{";
  300         OS << (OpList.count(i) == 0 ? -1 : (int)OpList.find(i)->second) << ", ";
  302       OS << "},\n";
  304     OS << "};\n";
  306     OS << "  switch(Opcode) {\n";
  310         OS << "  case " << Name << ":\n";
  310         OS << "  case " << Name << ":\n";
  312       OS << "    return OperandMap[" << TableIndex++ << "][NamedIdx];\n";
  312       OS << "    return OperandMap[" << TableIndex++ << "][NamedIdx];\n";
  314     OS << "    default: return -1;\n";
  315     OS << "  }\n";
  318     OS << "  return -1;\n";
  320   OS << "}\n";
  321   OS << "} // end namespace " << Namespace << "\n";
  321   OS << "} // end namespace " << Namespace << "\n";
  322   OS << "} // end namespace llvm\n";
  323   OS << "#endif //GET_INSTRINFO_NAMED_OPS\n\n";
  340   OS << "#ifdef GET_INSTRINFO_OPERAND_TYPES_ENUM\n";
  341   OS << "#undef GET_INSTRINFO_OPERAND_TYPES_ENUM\n";
  342   OS << "namespace llvm {\n";
  343   OS << "namespace " << Namespace << " {\n";
  343   OS << "namespace " << Namespace << " {\n";
  344   OS << "namespace OpTypes {\n";
  345   OS << "enum OperandType {\n";
  352         OS << "  " << Op->getName() << " = " << EnumVal << ",\n";
  352         OS << "  " << Op->getName() << " = " << EnumVal << ",\n";
  352         OS << "  " << Op->getName() << " = " << EnumVal << ",\n";
  357   OS << "  OPERAND_TYPE_LIST_END" << "\n};\n";
  357   OS << "  OPERAND_TYPE_LIST_END" << "\n};\n";
  358   OS << "} // end namespace OpTypes\n";
  359   OS << "} // end namespace " << Namespace << "\n";
  359   OS << "} // end namespace " << Namespace << "\n";
  360   OS << "} // end namespace llvm\n";
  361   OS << "#endif // GET_INSTRINFO_OPERAND_TYPES_ENUM\n\n";
  363   OS << "#ifdef GET_INSTRINFO_OPERAND_TYPE\n";
  364   OS << "#undef GET_INSTRINFO_OPERAND_TYPE\n";
  365   OS << "namespace llvm {\n";
  366   OS << "namespace " << Namespace << " {\n";
  366   OS << "namespace " << Namespace << " {\n";
  367   OS << "LLVM_READONLY\n";
  368   OS << "static int getOperandType(uint16_t Opcode, uint16_t OpIdx) {\n";
  392     OS << "  const int Offsets[] = {\n";
  394       OS << "    " << OperandOffsets[I] << ",\n";
  394       OS << "    " << OperandOffsets[I] << ",\n";
  395     OS << "  };\n";
  400     OS << "  const int OpcodeOperandTypes[] = {\n    ";
  404         OS << "\n    ";
  407           OS << "/**/\n    ";
  414         OS << "OpTypes::" << OpR->getName();
  417       OS << ", ";
  419     OS << "\n  };\n";
  421     OS << "  return OpcodeOperandTypes[Offsets[Opcode] + OpIdx];\n";
  423     OS << "  llvm_unreachable(\"No instructions defined\");\n";
  425   OS << "}\n";
  426   OS << "} // end namespace " << Namespace << "\n";
  426   OS << "} // end namespace " << Namespace << "\n";
  427   OS << "} // end namespace llvm\n";
  428   OS << "#endif // GET_INSTRINFO_OPERAND_TYPE\n\n";
  437   OS << "#ifdef GET_INSTRINFO_MC_HELPER_DECLS\n";
  438   OS << "#undef GET_INSTRINFO_MC_HELPER_DECLS\n\n";
  440   OS << "namespace llvm {\n";
  441   OS << "class MCInst;\n\n";
  443   OS << "namespace " << TargetName << "_MC {\n\n";
  443   OS << "namespace " << TargetName << "_MC {\n\n";
  446     OS << "bool " << Rec->getValueAsString("FunctionName")
  447         << "(const MCInst &MI);\n";
  450   OS << "\n} // end namespace " << TargetName << "_MC\n";
  450   OS << "\n} // end namespace " << TargetName << "_MC\n";
  451   OS << "} // end namespace llvm\n\n";
  453   OS << "#endif // GET_INSTRINFO_MC_HELPER_DECLS\n\n";
  455   OS << "#ifdef GET_INSTRINFO_MC_HELPERS\n";
  456   OS << "#undef GET_INSTRINFO_MC_HELPERS\n\n";
  458   OS << "namespace llvm {\n";
  459   OS << "namespace " << TargetName << "_MC {\n\n";
  459   OS << "namespace " << TargetName << "_MC {\n\n";
  465     OS << "bool " << Rec->getValueAsString("FunctionName");
  466     OS << "(const MCInst &MI) {\n";
  470     OS << "\n}\n\n";
  473   OS << "} // end namespace " << TargetName << "_MC\n";
  473   OS << "} // end namespace " << TargetName << "_MC\n";
  474   OS << "} // end namespace llvm\n\n";
  476   OS << "#endif // GET_GENISTRINFO_MC_HELPERS\n";
  490     OS << (ExpandDefinition ? "" : "static ") << "bool ";
  490     OS << (ExpandDefinition ? "" : "static ") << "bool ";
  492       OS << TargetName << "InstrInfo::";
  494     OS << "(const MachineInstr &MI)";
  496       OS << ";\n";
  500     OS << " {\n";
  503     OS << "\n}\n\n";
  516   OS << "#ifdef GET_INSTRINFO_MC_DESC\n";
  517   OS << "#undef GET_INSTRINFO_MC_DESC\n";
  519   OS << "namespace llvm {\n\n";
  551   OS << "\nextern const MCInstrDesc " << TargetName << "Insts[] = {\n";
  551   OS << "\nextern const MCInstrDesc " << TargetName << "Insts[] = {\n";
  563   OS << "};\n\n";
  567   OS << "extern const char " << TargetName << "InstrNameData[] = {\n";
  567   OS << "extern const char " << TargetName << "InstrNameData[] = {\n";
  569   OS << "};\n\n";
  571   OS << "extern const unsigned " << TargetName <<"InstrNameIndices[] = {";
  571   OS << "extern const unsigned " << TargetName <<"InstrNameIndices[] = {";
  576       OS << "\n    ";
  577     OS << InstrNames.get(Inst->TheDef->getName()) << "U, ";
  581   OS << "\n};\n\n";
  584   OS << "static inline void Init" << TargetName
  585      << "MCInstrInfo(MCInstrInfo *II) {\n";
  586   OS << "  II->InitMCInstrInfo(" << TargetName << "Insts, "
  586   OS << "  II->InitMCInstrInfo(" << TargetName << "Insts, "
  587      << TargetName << "InstrNameIndices, " << TargetName << "InstrNameData, "
  587      << TargetName << "InstrNameIndices, " << TargetName << "InstrNameData, "
  588      << NumberedInstructions.size() << ");\n}\n\n";
  590   OS << "} // end namespace llvm\n";
  592   OS << "#endif // GET_INSTRINFO_MC_DESC\n\n";
  595   OS << "#ifdef GET_INSTRINFO_HEADER\n";
  596   OS << "#undef GET_INSTRINFO_HEADER\n";
  599   OS << "namespace llvm {\n";
  600   OS << "struct " << ClassName << " : public TargetInstrInfo {\n"
  600   OS << "struct " << ClassName << " : public TargetInstrInfo {\n"
  601      << "  explicit " << ClassName
  602      << "(int CFSetupOpcode = -1, int CFDestroyOpcode = -1, int CatchRetOpcode = -1, int ReturnOpcode = -1);\n"
  603      << "  ~" << ClassName << "() override = default;\n";
  603      << "  ~" << ClassName << "() override = default;\n";
  606   OS << "\n};\n} // end namespace llvm\n";
  608   OS << "#endif // GET_INSTRINFO_HEADER\n\n";
  610   OS << "#ifdef GET_INSTRINFO_HELPER_DECLS\n";
  611   OS << "#undef GET_INSTRINFO_HELPER_DECLS\n\n";
  613   OS << "\n";
  614   OS << "#endif // GET_INSTRINFO_HELPER_DECLS\n\n";
  616   OS << "#ifdef GET_INSTRINFO_HELPERS\n";
  617   OS << "#undef GET_INSTRINFO_HELPERS\n\n";
  619   OS << "#endif // GET_INSTRINFO_HELPERS\n\n";
  621   OS << "#ifdef GET_INSTRINFO_CTOR_DTOR\n";
  622   OS << "#undef GET_INSTRINFO_CTOR_DTOR\n";
  624   OS << "namespace llvm {\n";
  625   OS << "extern const MCInstrDesc " << TargetName << "Insts[];\n";
  625   OS << "extern const MCInstrDesc " << TargetName << "Insts[];\n";
  626   OS << "extern const unsigned " << TargetName << "InstrNameIndices[];\n";
  626   OS << "extern const unsigned " << TargetName << "InstrNameIndices[];\n";
  627   OS << "extern const char " << TargetName << "InstrNameData[];\n";
  627   OS << "extern const char " << TargetName << "InstrNameData[];\n";
  628   OS << ClassName << "::" << ClassName
  629      << "(int CFSetupOpcode, int CFDestroyOpcode, int CatchRetOpcode, int ReturnOpcode)\n"
  630      << "  : TargetInstrInfo(CFSetupOpcode, CFDestroyOpcode, CatchRetOpcode, ReturnOpcode) {\n"
  631      << "  InitMCInstrInfo(" << TargetName << "Insts, " << TargetName
  631      << "  InitMCInstrInfo(" << TargetName << "Insts, " << TargetName
  632      << "InstrNameIndices, " << TargetName << "InstrNameData, "
  632      << "InstrNameIndices, " << TargetName << "InstrNameData, "
  633      << NumberedInstructions.size() << ");\n}\n";
  634   OS << "} // end namespace llvm\n";
  636   OS << "#endif // GET_INSTRINFO_CTOR_DTOR\n\n";
  656   OS << "  { ";
  657   OS << Num << ",\t" << MinOperands << ",\t"
  657   OS << Num << ",\t" << MinOperands << ",\t"
  658      << Inst.Operands.NumDefs << ",\t"
  659      << Inst.TheDef->getValueAsInt("Size") << ",\t"
  660      << SchedModels.getSchedClassIdx(Inst) << ",\t0";
  665   if (Inst.isPreISelOpcode)    OS << "|(1ULL<<MCID::PreISelOpcode)";
  666   if (Inst.isPseudo)           OS << "|(1ULL<<MCID::Pseudo)";
  667   if (Inst.isReturn)           OS << "|(1ULL<<MCID::Return)";
  668   if (Inst.isEHScopeReturn)    OS << "|(1ULL<<MCID::EHScopeReturn)";
  669   if (Inst.isBranch)           OS << "|(1ULL<<MCID::Branch)";
  670   if (Inst.isIndirectBranch)   OS << "|(1ULL<<MCID::IndirectBranch)";
  671   if (Inst.isCompare)          OS << "|(1ULL<<MCID::Compare)";
  672   if (Inst.isMoveImm)          OS << "|(1ULL<<MCID::MoveImm)";
  673   if (Inst.isMoveReg)          OS << "|(1ULL<<MCID::MoveReg)";
  674   if (Inst.isBitcast)          OS << "|(1ULL<<MCID::Bitcast)";
  675   if (Inst.isAdd)              OS << "|(1ULL<<MCID::Add)";
  676   if (Inst.isTrap)             OS << "|(1ULL<<MCID::Trap)";
  677   if (Inst.isSelect)           OS << "|(1ULL<<MCID::Select)";
  678   if (Inst.isBarrier)          OS << "|(1ULL<<MCID::Barrier)";
  679   if (Inst.hasDelaySlot)       OS << "|(1ULL<<MCID::DelaySlot)";
  680   if (Inst.isCall)             OS << "|(1ULL<<MCID::Call)";
  681   if (Inst.canFoldAsLoad)      OS << "|(1ULL<<MCID::FoldableAsLoad)";
  682   if (Inst.mayLoad)            OS << "|(1ULL<<MCID::MayLoad)";
  683   if (Inst.mayStore)           OS << "|(1ULL<<MCID::MayStore)";
  684   if (Inst.mayRaiseFPException) OS << "|(1ULL<<MCID::MayRaiseFPException)";
  685   if (Inst.isPredicable)       OS << "|(1ULL<<MCID::Predicable)";
  686   if (Inst.isConvertibleToThreeAddress) OS << "|(1ULL<<MCID::ConvertibleTo3Addr)";
  687   if (Inst.isCommutable)       OS << "|(1ULL<<MCID::Commutable)";
  688   if (Inst.isTerminator)       OS << "|(1ULL<<MCID::Terminator)";
  689   if (Inst.isReMaterializable) OS << "|(1ULL<<MCID::Rematerializable)";
  690   if (Inst.isNotDuplicable)    OS << "|(1ULL<<MCID::NotDuplicable)";
  691   if (Inst.Operands.hasOptionalDef) OS << "|(1ULL<<MCID::HasOptionalDef)";
  692   if (Inst.usesCustomInserter) OS << "|(1ULL<<MCID::UsesCustomInserter)";
  693   if (Inst.hasPostISelHook)    OS << "|(1ULL<<MCID::HasPostISelHook)";
  694   if (Inst.Operands.isVariadic)OS << "|(1ULL<<MCID::Variadic)";
  695   if (Inst.hasSideEffects)     OS << "|(1ULL<<MCID::UnmodeledSideEffects)";
  696   if (Inst.isAsCheapAsAMove)   OS << "|(1ULL<<MCID::CheapAsAMove)";
  698     OS << "|(1ULL<<MCID::ExtraSrcRegAllocReq)";
  700     OS << "|(1ULL<<MCID::ExtraDefRegAllocReq)";
  701   if (Inst.isRegSequence) OS << "|(1ULL<<MCID::RegSequence)";
  702   if (Inst.isExtractSubreg) OS << "|(1ULL<<MCID::ExtractSubreg)";
  703   if (Inst.isInsertSubreg) OS << "|(1ULL<<MCID::InsertSubreg)";
  704   if (Inst.isConvergent) OS << "|(1ULL<<MCID::Convergent)";
  705   if (Inst.variadicOpsAreDefs) OS << "|(1ULL<<MCID::VariadicOpsAreDefs)";
  719   OS << ", 0x";
  721   OS << "ULL, ";
  726     OS << "nullptr, ";
  728     OS << "ImplicitList" << EmittedLists[UseList] << ", ";
  728     OS << "ImplicitList" << EmittedLists[UseList] << ", ";
  732     OS << "nullptr, ";
  734     OS << "ImplicitList" << EmittedLists[DefList] << ", ";
  734     OS << "ImplicitList" << EmittedLists[DefList] << ", ";
  739     OS << "nullptr";
  741     OS << "OperandInfo" << OpInfo.find(OperandInfo)->second;
  745     OS << ", -1 "
  746        << ",&get" << Inst.DeprecatedReason << "DeprecationInfo";
  746        << ",&get" << Inst.DeprecatedReason << "DeprecationInfo";
  749     OS << ", " << Target.getInstNamespace() << "::" << Inst.DeprecatedReason
  749     OS << ", " << Target.getInstNamespace() << "::" << Inst.DeprecatedReason
  750        << " ,nullptr";
  753     OS << ", -1 ,nullptr";
  755   OS << " },  // Inst #" << Num << " = " << Inst.TheDef->getName() << "\n";
  755   OS << " },  // Inst #" << Num << " = " << Inst.TheDef->getName() << "\n";
  755   OS << " },  // Inst #" << Num << " = " << Inst.TheDef->getName() << "\n";
  760   OS << "#ifdef GET_INSTRINFO_ENUM\n";
  761   OS << "#undef GET_INSTRINFO_ENUM\n";
  763   OS << "namespace llvm {\n\n";
  773   OS << "namespace " << Namespace << " {\n";
  773   OS << "namespace " << Namespace << " {\n";
  774   OS << "  enum {\n";
  777     OS << "    " << Inst->TheDef->getName() << "\t= " << Num++ << ",\n";
  777     OS << "    " << Inst->TheDef->getName() << "\t= " << Num++ << ",\n";
  777     OS << "    " << Inst->TheDef->getName() << "\t= " << Num++ << ",\n";
  778   OS << "    INSTRUCTION_LIST_END = " << Num << "\n";
  778   OS << "    INSTRUCTION_LIST_END = " << Num << "\n";
  779   OS << "  };\n\n";
  780   OS << "} // end namespace " << Namespace << "\n";
  780   OS << "} // end namespace " << Namespace << "\n";
  781   OS << "} // end namespace llvm\n";
  782   OS << "#endif // GET_INSTRINFO_ENUM\n\n";
  784   OS << "#ifdef GET_INSTRINFO_SCHED_ENUM\n";
  785   OS << "#undef GET_INSTRINFO_SCHED_ENUM\n";
  786   OS << "namespace llvm {\n\n";
  787   OS << "namespace " << Namespace << " {\n";
  787   OS << "namespace " << Namespace << " {\n";
  788   OS << "namespace Sched {\n";
  789   OS << "  enum {\n";
  792     OS << "    " << Class.Name << "\t= " << Num++ << ",\n";
  792     OS << "    " << Class.Name << "\t= " << Num++ << ",\n";
  792     OS << "    " << Class.Name << "\t= " << Num++ << ",\n";
  793   OS << "    SCHED_LIST_END = " << Num << "\n";
  793   OS << "    SCHED_LIST_END = " << Num << "\n";
  794   OS << "  };\n";
  795   OS << "} // end namespace Sched\n";
  796   OS << "} // end namespace " << Namespace << "\n";
  796   OS << "} // end namespace " << Namespace << "\n";
  797   OS << "} // end namespace llvm\n";
  799   OS << "#endif // GET_INSTRINFO_SCHED_ENUM\n\n";
utils/TableGen/IntrinsicEmitter.cpp
   98   OS << "// VisualStudio defines setjmp as _setjmp\n"
  108   OS << "#if defined(_MSC_VER) && defined(setjmp_undefined_for_msvc)\n"
  117   OS << "// Enum values for Intrinsics.h\n";
  118   OS << "#ifdef GET_INTRINSIC_ENUM_VALUES\n";
  120     OS << "    " << Ints[i].EnumName;
  121     OS << ((i != e-1) ? ", " : "  ");
  124     OS << " // " << Ints[i].Name << "\n";
  124     OS << " // " << Ints[i].Name << "\n";
  126   OS << "#endif\n\n";
  131   OS << "// Target mapping\n";
  132   OS << "#ifdef GET_INTRINSIC_TARGET_DATA\n";
  133   OS << "struct IntrinsicTargetInfo {\n"
  134      << "  llvm::StringLiteral Name;\n"
  135      << "  size_t Offset;\n"
  136      << "  size_t Count;\n"
  137      << "};\n";
  138   OS << "static constexpr IntrinsicTargetInfo TargetInfos[] = {\n";
  140     OS << "  {llvm::StringLiteral(\"" << Target.Name << "\"), " << Target.Offset
  140     OS << "  {llvm::StringLiteral(\"" << Target.Name << "\"), " << Target.Offset
  141        << ", " << Target.Count << "},\n";
  141        << ", " << Target.Count << "},\n";
  142   OS << "};\n";
  143   OS << "#endif\n\n";
  148   OS << "// Intrinsic ID to name table\n";
  149   OS << "#ifdef GET_INTRINSIC_NAME_TABLE\n";
  150   OS << "  // Note that entry #0 is the invalid intrinsic!\n";
  152     OS << "  \"" << Ints[i].Name << "\",\n";
  152     OS << "  \"" << Ints[i].Name << "\",\n";
  153   OS << "#endif\n\n";
  158   OS << "// Intrinsic ID to overload bitset\n";
  159   OS << "#ifdef GET_INTRINSIC_OVERLOAD_TABLE\n";
  160   OS << "static const uint8_t OTable[] = {\n";
  161   OS << "  0";
  165       OS << ",\n  0";
  167       OS << " | (1<<" << (i+1)%8 << ')';
  169   OS << "\n};\n\n";
  171   OS << "return (OTable[id/8] & (1 << (id%8))) != 0;\n";
  172   OS << "#endif\n\n";
  512   OS << "// Global intrinsic function declaration type table.\n";
  513   OS << "#ifdef GET_INTRINSIC_GENERATOR_GLOBAL\n";
  515   OS << "static const unsigned IIT_Table[] = {\n  ";
  519       OS << "\n  ";
  523       OS << "0x" << Twine::utohexstr(FixedEncodings[i]) << ", ";
  523       OS << "0x" << Twine::utohexstr(FixedEncodings[i]) << ", ";
  533     OS << "(1U<<31) | " << LongEncodingTable.get(TypeSig) << ", ";
  533     OS << "(1U<<31) | " << LongEncodingTable.get(TypeSig) << ", ";
  536   OS << "0\n};\n\n";
  539   OS << "static const unsigned char IIT_LongEncodingTable[] = {\n";
  542   OS << "  255\n};\n\n";
  544   OS << "#endif\n\n";  // End of GET_INTRINSIC_GENERATOR_GLOBAL
  589   OS << "// Add parameter attributes that are not common to all intrinsics.\n";
  590   OS << "#ifdef GET_INTRINSIC_ATTRIBUTES\n";
  592     OS << "static AttributeList getAttributes(LLVMContext &C, " << TargetPrefix
  593        << "Intrinsic::ID id) {\n";
  595     OS << "AttributeList Intrinsic::getAttributes(LLVMContext &C, ID id) {\n";
  615   OS << "  static const uint8_t IntrinsicsToAttributesMap[] = {\n";
  620     OS << "    " << UniqAttributes[&intrinsic] << ", // "
  620     OS << "    " << UniqAttributes[&intrinsic] << ", // "
  621        << intrinsic.Name << "\n";
  623   OS << "  };\n\n";
  625   OS << "  AttributeList AS[" << maxArgAttrs + 1 << "];\n";
  625   OS << "  AttributeList AS[" << maxArgAttrs + 1 << "];\n";
  626   OS << "  unsigned NumAttrs = 0;\n";
  627   OS << "  if (id != 0) {\n";
  628   OS << "    switch(IntrinsicsToAttributesMap[id - ";
  630     OS << "Intrinsic::num_intrinsics";
  632     OS << "1";
  633   OS << "]) {\n";
  634   OS << "    default: llvm_unreachable(\"Invalid attribute number\");\n";
  637     OS << "    case " << I->second << ": {\n";
  637     OS << "    case " << I->second << ": {\n";
  651         OS << "      const Attribute::AttrKind AttrParam" << attrIdx << "[]= {";
  651         OS << "      const Attribute::AttrKind AttrParam" << attrIdx << "[]= {";
  658               OS << ",";
  659             OS << "Attribute::NoCapture";
  664               OS << ",";
  665             OS << "Attribute::NoAlias";
  670               OS << ",";
  671             OS << "Attribute::Returned";
  676               OS << ",";
  677             OS << "Attribute::ReadOnly";
  682               OS << ",";
  683             OS << "Attribute::WriteOnly";
  688               OS << ",";
  689             OS << "Attribute::ReadNone";
  695             OS << "Attribute::ImmArg";
  702         OS << "};\n";
  703         OS << "      AS[" << numAttrs++ << "] = AttributeList::get(C, "
  703         OS << "      AS[" << numAttrs++ << "] = AttributeList::get(C, "
  704            << attrIdx << ", AttrParam" << attrIdx << ");\n";
  704            << attrIdx << ", AttrParam" << attrIdx << ");\n";
  713       OS << "      const Attribute::AttrKind Atts[] = {";
  716         OS << "Attribute::NoUnwind";
  721           OS << ",";
  722         OS << "Attribute::NoReturn";
  727           OS << ",";
  728         OS << "Attribute::WillReturn";
  733           OS << ",";
  734         OS << "Attribute::Cold";
  739           OS << ",";
  740         OS << "Attribute::NoDuplicate";
  745           OS << ",";
  746         OS << "Attribute::Convergent";
  751           OS << ",";
  752         OS << "Attribute::Speculatable";
  761           OS << ",";
  762         OS << "Attribute::ReadNone";
  766           OS << ",";
  767         OS << "Attribute::ReadOnly,";
  768         OS << "Attribute::ArgMemOnly";
  772           OS << ",";
  773         OS << "Attribute::ReadOnly";
  777           OS << ",";
  778         OS << "Attribute::ReadOnly,";
  779         OS << "Attribute::InaccessibleMemOnly";
  783           OS << ",";
  784         OS << "Attribute::ReadOnly,";
  785         OS << "Attribute::InaccessibleMemOrArgMemOnly";
  789           OS << ",";
  790         OS << "Attribute::WriteOnly,";
  791         OS << "Attribute::ArgMemOnly";
  795           OS << ",";
  796         OS << "Attribute::WriteOnly";
  800           OS << ",";
  801         OS << "Attribute::WriteOnly,";
  802         OS << "Attribute::InaccessibleMemOnly";
  806           OS << ",";
  807         OS << "Attribute::WriteOnly,";
  808         OS << "Attribute::InaccessibleMemOrArgMemOnly";
  812           OS << ",";
  813         OS << "Attribute::ArgMemOnly";
  817           OS << ",";
  818         OS << "Attribute::InaccessibleMemOnly";
  822           OS << ",";
  823         OS << "Attribute::InaccessibleMemOrArgMemOnly";
  828       OS << "};\n";
  829       OS << "      AS[" << numAttrs++ << "] = AttributeList::get(C, "
  829       OS << "      AS[" << numAttrs++ << "] = AttributeList::get(C, "
  830          << "AttributeList::FunctionIndex, Atts);\n";
  834       OS << "      NumAttrs = " << numAttrs << ";\n";
  834       OS << "      NumAttrs = " << numAttrs << ";\n";
  835       OS << "      break;\n";
  836       OS << "      }\n";
  838       OS << "      return AttributeList();\n";
  839       OS << "      }\n";
  843   OS << "    }\n";
  844   OS << "  }\n";
  845   OS << "  return AttributeList::get(C, makeArrayRef(AS, NumAttrs));\n";
  846   OS << "}\n";
  847   OS << "#endif // GET_INTRINSIC_ATTRIBUTES\n\n";
  872   OS << "// Get the LLVM intrinsic that corresponds to a builtin.\n";
  873   OS << "// This is used by the C front-end.  The builtin name is passed\n";
  874   OS << "// in as BuiltinName, and a target prefix (e.g. 'ppc') is passed\n";
  875   OS << "// in as TargetPrefix.  The result is assigned to 'IntrinsicID'.\n";
  876   OS << "#ifdef GET_LLVM_INTRINSIC_FOR_" << CompilerName << "_BUILTIN\n";
  876   OS << "#ifdef GET_LLVM_INTRINSIC_FOR_" << CompilerName << "_BUILTIN\n";
  879     OS << "static " << TargetPrefix << "Intrinsic::ID "
  879     OS << "static " << TargetPrefix << "Intrinsic::ID "
  880        << "getIntrinsicFor" << CompilerName << "Builtin(const char "
  880        << "getIntrinsicFor" << CompilerName << "Builtin(const char "
  881        << "*TargetPrefixStr, StringRef BuiltinNameStr) {\n";
  883     OS << "Intrinsic::ID Intrinsic::getIntrinsicFor" << CompilerName
  884        << "Builtin(const char "
  885        << "*TargetPrefixStr, StringRef BuiltinNameStr) {\n";
  889     OS << "  return ";
  891       OS << "(" << TargetPrefix << "Intrinsic::ID)";
  891       OS << "(" << TargetPrefix << "Intrinsic::ID)";
  892     OS << "Intrinsic::not_intrinsic;\n";
  893     OS << "}\n";
  894     OS << "#endif\n\n";
  898   OS << "  static const char BuiltinNames[] = {\n";
  900   OS << "  };\n\n";
  902   OS << "  struct BuiltinEntry {\n";
  903   OS << "    Intrinsic::ID IntrinID;\n";
  904   OS << "    unsigned StrTabOffset;\n";
  905   OS << "    const char *getName() const {\n";
  906   OS << "      return &BuiltinNames[StrTabOffset];\n";
  907   OS << "    }\n";
  908   OS << "    bool operator<(StringRef RHS) const {\n";
  909   OS << "      return strncmp(getName(), RHS.data(), RHS.size()) < 0;\n";
  910   OS << "    }\n";
  911   OS << "  };\n";
  913   OS << "  StringRef TargetPrefix(TargetPrefixStr);\n\n";
  917     OS << "  ";
  919       OS << "if (TargetPrefix == \"" << I->first << "\") ";
  919       OS << "if (TargetPrefix == \"" << I->first << "\") ";
  921       OS << "/* Target Independent Builtins */ ";
  922     OS << "{\n";
  925     OS << "    static const BuiltinEntry " << I->first << "Names[] = {\n";
  925     OS << "    static const BuiltinEntry " << I->first << "Names[] = {\n";
  927       OS << "      {Intrinsic::" << P.second << ", "
  927       OS << "      {Intrinsic::" << P.second << ", "
  928          << Table.GetOrAddStringOffset(P.first) << "}, // " << P.first << "\n";
  928          << Table.GetOrAddStringOffset(P.first) << "}, // " << P.first << "\n";
  930     OS << "    };\n";
  931     OS << "    auto I = std::lower_bound(std::begin(" << I->first << "Names),\n";
  931     OS << "    auto I = std::lower_bound(std::begin(" << I->first << "Names),\n";
  932     OS << "                              std::end(" << I->first << "Names),\n";
  932     OS << "                              std::end(" << I->first << "Names),\n";
  933     OS << "                              BuiltinNameStr);\n";
  934     OS << "    if (I != std::end(" << I->first << "Names) &&\n";
  934     OS << "    if (I != std::end(" << I->first << "Names) &&\n";
  935     OS << "        I->getName() == BuiltinNameStr)\n";
  936     OS << "      return I->IntrinID;\n";
  937     OS << "  }\n";
  939   OS << "  return ";
  941     OS << "(" << TargetPrefix << "Intrinsic::ID)";
  941     OS << "(" << TargetPrefix << "Intrinsic::ID)";
  942   OS << "Intrinsic::not_intrinsic;\n";
  943   OS << "}\n";
  944   OS << "#endif\n\n";
utils/TableGen/OptParserEmitter.cpp
  136   OS << "/////////\n";
  137   OS << "// Prefixes\n\n";
  138   OS << "#ifdef PREFIX\n";
  139   OS << "#define COMMA ,\n";
  142     OS << "PREFIX(";
  148     OS << ", {";
  151       OS << "\"" << *PI << "\" COMMA ";
  151       OS << "\"" << *PI << "\" COMMA ";
  153     OS << "nullptr})\n";
  155   OS << "#undef COMMA\n";
  156   OS << "#endif // PREFIX\n\n";
  158   OS << "/////////\n";
  159   OS << "// Groups\n\n";
  160   OS << "#ifdef OPTION\n";
  165     OS << "OPTION(";
  168     OS << "nullptr";
  171     OS << ", \"" << R.getValueAsString("Name") << '"';
  174     OS  << ", "<< getOptionName(R);
  177     OS << ", Group";
  180     OS << ", ";
  184       OS << "INVALID";
  187     OS << ", INVALID, nullptr, 0, 0";
  191       OS << ",\n";
  192       OS << "       ";
  195       OS << ", nullptr";
  198     OS << ", nullptr";
  201     OS << ", nullptr)\n";
  203   OS << "\n";
  205   OS << "//////////\n";
  206   OS << "// Options\n\n";
  211     OS << "OPTION(";
  215     OS << Prefixes[PrefixKeyT(prf.begin(), prf.end())] << ", ";
  221     OS  << ", "<< getOptionName(R);
  224     OS << ", " << R.getValueAsDef("Kind")->getValueAsString("Name");
  227     OS << ", ";
  233       OS << "INVALID";
  236     OS << ", ";
  240       OS << "INVALID";
  246     OS << ", ";
  249       OS << "nullptr";
  251       OS << "\"";
  253         OS << AliasArgs[i] << "\\0";
  254       OS << "\"";
  258     OS << ", ";
  262       OS << (NumFlags++ ? " | " : "")
  266         OS << (NumFlags++ ? " | " : "")
  273     OS << ", " << R.getValueAsInt("NumArgs");
  277       OS << ",\n";
  278       OS << "       ";
  281       OS << ", nullptr";
  284     OS << ", ";
  288       OS << "nullptr";
  291     OS << ", ";
  295       OS << "nullptr";
  297     OS << ")\n";
  299   OS << "#endif // OPTION\n";
  301   OS << "\n";
  302   OS << "#ifdef OPTTABLE_ARG_INIT\n";
  303   OS << "//////////\n";
  304   OS << "// Option Values\n\n";
  309     OS << "{\n";
  310     OS << "bool ValuesWereAdded;\n";
  312     OS << "\n";
  314       OS << "ValuesWereAdded = Opt.addValues(";
  317       OS << ", Values);\n";
  318       OS << "(void)ValuesWereAdded;\n";
  319       OS << "assert(ValuesWereAdded && \"Couldn't add values to "
  322     OS << "}\n";
  324   OS << "\n";
  325   OS << "#endif // OPTTABLE_ARG_INIT\n";
utils/TableGen/PredicateExpander.cpp
   18 void PredicateExpander::expandTrue(raw_ostream &OS) { OS << "true"; }
   19 void PredicateExpander::expandFalse(raw_ostream &OS) { OS << "false"; }
   25     OS << FunctionMapper << "(";
   26   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   26   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   26   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   27      << ").getImm()";
   29     OS << ")";
   30   OS << (shouldNegate() ? " != " : " == ") << ImmVal;
   40     OS << FunctionMapper << "(";
   41   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   41   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   41   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   42      << ").getImm()";
   44     OS << ")";
   45   OS << (shouldNegate() ? " != " : " == ") << ImmVal;
   52     OS << "!";
   54     OS << FunctionMapper << "(";
   55   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   55   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   55   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   56      << ").getImm()";
   58     OS << ")";
   67     OS << FunctionMapper << "(";
   68   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   68   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   68   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   69      << ").getReg()";
   71     OS << ")";
   72   OS << (shouldNegate() ? " != " : " == ");
   75     OS << Str << "::";
   84     OS << "!";
   86     OS << FunctionMapper << "(";
   87   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   87   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   87   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   88      << ").getReg()";
   90     OS << ")";
   95   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   95   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   95   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex
   96      << ").getReg() " << (shouldNegate() ? "!= " : "== ") << "0";
   96      << ").getReg() " << (shouldNegate() ? "!= " : "== ") << "0";
   96      << ").getReg() " << (shouldNegate() ? "!= " : "== ") << "0";
  101   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << First
  101   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << First
  101   OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << First
  102      << ").getReg() " << (shouldNegate() ? "!=" : "==") << " MI"
  102      << ").getReg() " << (shouldNegate() ? "!=" : "==") << " MI"
  102      << ").getReg() " << (shouldNegate() ? "!=" : "==") << " MI"
  103      << (isByRef() ? "." : "->") << "getOperand(" << Second << ").getReg()";
  103      << (isByRef() ? "." : "->") << "getOperand(" << Second << ").getReg()";
  103      << (isByRef() ? "." : "->") << "getOperand(" << Second << ").getReg()";
  107   OS << "MI" << (isByRef() ? "." : "->") << "getNumOperands() "
  107   OS << "MI" << (isByRef() ? "." : "->") << "getNumOperands() "
  107   OS << "MI" << (isByRef() ? "." : "->") << "getNumOperands() "
  108      << (shouldNegate() ? "!= " : "== ") << NumOps;
  112   OS << "MI" << (isByRef() ? "." : "->") << "getOpcode() "
  112   OS << "MI" << (isByRef() ? "." : "->") << "getOpcode() "
  112   OS << "MI" << (isByRef() ? "." : "->") << "getOpcode() "
  113      << (shouldNegate() ? "!= " : "== ") << Inst->getValueAsString("Namespace")
  114      << "::" << Inst->getName();
  123     OS << "( ";
  125     OS << " )";
  135       OS << (shouldNegate() ? "&& " : "|| ");
  164   OS << (shouldNegate() ? "!(" : "(");
  173       OS << (IsCheckAll ? "&& " : "|| ");
  186   OS << (shouldNegate() ? "!" : "");
  187   OS << TargetName << (shouldExpandForMC() ? "_MC::" : "InstrInfo::");
  188   OS << MethodName << (isByRef() ? "(MI)" : "(*MI)");
  192   OS << (shouldNegate() ? "!" : "") << "MI" << (isByRef() ? "." : "->")
  192   OS << (shouldNegate() ? "!" : "") << "MI" << (isByRef() ? "." : "->")
  192   OS << (shouldNegate() ? "!" : "") << "MI" << (isByRef() ? "." : "->")
  193      << "getOperand(" << OpIndex << ").isReg() ";
  193      << "getOperand(" << OpIndex << ").isReg() ";
  197   OS << (shouldNegate() ? "!" : "") << "MI" << (isByRef() ? "." : "->")
  197   OS << (shouldNegate() ? "!" : "") << "MI" << (isByRef() ? "." : "->")
  197   OS << (shouldNegate() ? "!" : "") << "MI" << (isByRef() ? "." : "->")
  198      << "getOperand(" << OpIndex << ").isImm() ";
  198      << "getOperand(" << OpIndex << ").isImm() ";
  205      << (isByRef() ? "(MI)" : "(*MI)");
  221   SS << "return ";
  223   SS << ";";
  233     OS << "case " << Opcode->getValueAsString("Namespace")
  234        << "::" << Opcode->getName() << ":\n";
  234        << "::" << Opcode->getName() << ":\n";
  249   SS << "switch(MI" << (isByRef() ? "." : "->") << "getOpcode()) {\n";
  249   SS << "switch(MI" << (isByRef() ? "." : "->") << "getOpcode()) {\n";
  249   SS << "switch(MI" << (isByRef() ? "." : "->") << "getOpcode()) {\n";
  257   SS << "default:\n";
  266   SS << "} // end of switch-stmt";
  381   OS << "bool ";
  383     OS << getClassPrefix() << "::";
  384   OS << FunctionName << "(";
  386     OS << "const MCInst " << (isByRef() ? "&" : "*") << "MI";
  386     OS << "const MCInst " << (isByRef() ? "&" : "*") << "MI";
  386     OS << "const MCInst " << (isByRef() ? "&" : "*") << "MI";
  388     OS << "const MachineInstr " << (isByRef() ? "&" : "*") << "MI";
  388     OS << "const MachineInstr " << (isByRef() ? "&" : "*") << "MI";
  388     OS << "const MachineInstr " << (isByRef() ? "&" : "*") << "MI";
  390     OS << ", APInt &Mask";
  391   OS << (shouldExpandForMC() ? ", unsigned ProcessorID) const " : ") const ");
  393     OS << "{\n";
  398     OS << "override";
  399   OS << ";\n";
  412     OS << "if (" << Delegate->getValueAsString("Name") << "(MI";
  412     OS << "if (" << Delegate->getValueAsString("Name") << "(MI";
  414       OS << ", Mask";
  416       OS << ", ProcessorID";
  417     OS << "))\n";
  419     OS << "return true;\n\n";
  426   OS << "unsigned ProcessorID = getSchedModel().getProcessorID();\n";
  441         OS << "if (ProcessorID == " << I;
  443         OS << " || ProcessorID == " << I;
  448     OS << ") {\n";
  454         OS << "Mask.clearAllBits();\n";
  456         OS << "Mask = " << PI.OperandMask << ";\n";
  456         OS << "Mask = " << PI.OperandMask << ";\n";
  459     OS << "return ";
  461     OS << ";\n";
  464     OS << "}\n";
  475   OS << "switch(MI" << (isByRef() ? "." : "->") << "getOpcode()) {\n";
  475   OS << "switch(MI" << (isByRef() ? "." : "->") << "getOpcode()) {\n";
  475   OS << "switch(MI" << (isByRef() ? "." : "->") << "getOpcode()) {\n";
  477   OS << "default:\n";
  479   OS << "  break;";
  485       OS << "case " << getTargetName() << "::" << Opcode->getName() << ":";
  485       OS << "case " << getTargetName() << "::" << Opcode->getName() << ":";
  485       OS << "case " << getTargetName() << "::" << Opcode->getName() << ":";
  493     OS << "break;\n";
  498   OS << "}\n";
  505   OS << "return ";
  507   OS << ";\n";
  512   OS << "} // " << ClassPrefix << "::" << FunctionName << "\n\n";
  512   OS << "} // " << ClassPrefix << "::" << FunctionName << "\n\n";
  512   OS << "} // " << ClassPrefix << "::" << FunctionName << "\n\n";
utils/TableGen/PseudoLoweringEmitter.cpp
  122   LLVM_DEBUG(dbgs() << "Pseudo definition: " << Rec->getName() << "\n");
  122   LLVM_DEBUG(dbgs() << "Pseudo definition: " << Rec->getName() << "\n");
  128   LLVM_DEBUG(dbgs() << "  Result: " << *Dag << "\n");
  128   LLVM_DEBUG(dbgs() << "  Result: " << *Dag << "\n");
  172   LLVM_DEBUG(dbgs() << "  Operand mapping:\n");
  190     LLVM_DEBUG(dbgs() << "    " << SourceOp->getValue() << " ==> " << i
  190     LLVM_DEBUG(dbgs() << "    " << SourceOp->getValue() << " ==> " << i
  191                       << "\n");
  201   o << "bool " << Target.getName() + "AsmPrinter" << "::\n"
  201   o << "bool " << Target.getName() + "AsmPrinter" << "::\n"
  202     << "emitPseudoExpansionLowering(MCStreamer &OutStreamer,\n"
  203     << "                            const MachineInstr *MI) {\n";
  206     o << "  switch (MI->getOpcode()) {\n"
  207       << "    default: return false;\n";
  211       o << "    case " << Source.Namespace << "::"
  211       o << "    case " << Source.Namespace << "::"
  212         << Source.TheDef->getName() << ": {\n"
  213         << "      MCInst TmpInst;\n"
  214         << "      MCOperand MCOp;\n"
  215         << "      TmpInst.setOpcode(" << Dest.Namespace << "::"
  215         << "      TmpInst.setOpcode(" << Dest.Namespace << "::"
  216         << Dest.TheDef->getName() << ");\n";
  224         o << "      // Operand: " << DestOperand.Name << "\n";
  224         o << "      // Operand: " << DestOperand.Name << "\n";
  228             o << "      lowerOperand(MI->getOperand("
  231               << "), MCOp);\n"
  232               << "      TmpInst.addOperand(MCOp);\n";
  235             o << "      TmpInst.addOperand(MCOperand::createImm("
  236               << Expansion.OperandMap[MIOpNo + i].Data.Imm << "));\n";
  240               o << "      TmpInst.addOperand(MCOperand::createReg(";
  243                 o << "0";
  245                 o << Reg->getValueAsString("Namespace") << "::"
  247               o << "));\n";
  256         o << "      // variable_ops\n";
  257         o << "      for (unsigned i = " << MIOpNo
  258           << ", e = MI->getNumOperands(); i != e; ++i)\n"
  259           << "        if (lowerOperand(MI->getOperand(i), MCOp))\n"
  260           << "          TmpInst.addOperand(MCOp);\n";
  262       o << "      EmitToStreamer(OutStreamer, TmpInst);\n"
  263         << "      break;\n"
  264         << "    }\n";
  266     o << "  }\n  return true;";
  268     o << "  return false;";
  270   o << "\n}\n\n";
utils/TableGen/RISCVCompressInstEmitter.cpp
  167   LLVM_DEBUG(dbgs() << (IsSourceInst ? "Input" : "Output")
  168                     << " Dag Operand Type: '" << DagOpType->getName()
  169                     << "' and "
  170                     << "Instruction Operand Type: '" << InstOpType->getName()
  171                     << "' can't be checked at pattern validation time!\n");
  239           dbgs() << "  Found immediate '" << II->getValue() << "' at "
  239           dbgs() << "  Found immediate '" << II->getValue() << "' at "
  240                  << (IsSourceInst ? "input " : "output ")
  241                  << "Dag. No validation time check possible for values of "
  346   LLVM_DEBUG(dbgs() << "  Operand mapping:\n  Source   Dest\n");
  356         LLVM_DEBUG(dbgs() << "    " << DestOperandMap[i].Data.Operand
  357                           << " ====> " << i
  358                           << "  Dest operand tied with operand '"
  359                           << TiedInstOpIdx << "'\n");
  381     LLVM_DEBUG(dbgs() << "    " << SourceOp->getValue() << " ====> " << i
  381     LLVM_DEBUG(dbgs() << "    " << SourceOp->getValue() << " ====> " << i
  382                       << "\n");
  412   LLVM_DEBUG(dbgs() << "Input: " << *SourceDag << "\n");
  412   LLVM_DEBUG(dbgs() << "Input: " << *SourceDag << "\n");
  425   LLVM_DEBUG(dbgs() << "Output: " << *DestDag << "\n");
  425   LLVM_DEBUG(dbgs() << "Output: " << *DestDag << "\n");
  510       << "if ("
  514       << ") {\n";
  516   CombinedStream.indent(4) << "  return true;\n";
  517   CombinedStream.indent(4) << "} // if\n";
  557     o << "\n#ifdef GEN_COMPRESS_INSTR\n"
  558       << "#undef GEN_COMPRESS_INSTR\n\n";
  560     o << "\n#ifdef GEN_UNCOMPRESS_INSTR\n"
  561       << "#undef GEN_UNCOMPRESS_INSTR\n\n";
  564     FuncH << "static bool compressInst(MCInst& OutInst,\n";
  565     FuncH.indent(25) << "const MCInst &MI,\n";
  566     FuncH.indent(25) << "const MCSubtargetInfo &STI,\n";
  567     FuncH.indent(25) << "MCContext &Context) {\n";
  569     FuncH << "static bool uncompressInst(MCInst& OutInst,\n";
  570     FuncH.indent(27) << "const MCInst &MI,\n";
  571     FuncH.indent(27) << "const MCRegisterInfo &MRI,\n";
  572     FuncH.indent(27) << "const MCSubtargetInfo &STI) {\n";
  577     o.indent(2) << "return false;\n}\n";
  579       o << "\n#endif //GEN_COMPRESS_INSTR\n";
  581       o << "\n#endif //GEN_UNCOMPRESS_INSTR\n\n";
  589   CaseStream << "  switch (MI.getOpcode()) {\n";
  590   CaseStream << "    default: return false;\n";
  644               << "(MI.getOperand("
  647               << ").getReg()) &&\n";
  734   Func << CaseStream.str() << "\n";
  737   Func.indent(2) << "} // switch\n";
  738   Func.indent(2) << "return false;\n}\n";
  741     o << "static bool " << Namespace
  742       << "ValidateMCOperand(const MCOperand &MCOp,\n"
  743       << "                  const MCSubtargetInfo &STI,\n"
  744       << "                  unsigned PredicateIndex) {\n"
  745       << "  switch (PredicateIndex) {\n"
  746       << "  default:\n"
  747       << "    llvm_unreachable(\"Unknown MCOperandPredicate kind\");\n"
  748       << "    break;\n";
  753         o << "  case " << i + 1 << ": {\n"
  753         o << "  case " << i + 1 << ": {\n"
  754           << "   // " << MCOpPredicates[i]->getName().str() << SI->getValue()
  755           << "\n"
  756           << "    }\n";
  760     o << "  }\n"
  761       << "}\n\n";
  766     o.indent(2) << "const MCRegisterInfo &MRI = *Context.getRegisterInfo();\n";
  770     o << "\n#endif //GEN_COMPRESS_INSTR\n";
  772     o << "\n#endif //GEN_UNCOMPRESS_INSTR\n\n";
utils/TableGen/RegisterBankEmitter.cpp
  132   OS << "namespace llvm {\n"
  133      << "namespace " << TargetName << " {\n"
  133      << "namespace " << TargetName << " {\n"
  134      << "enum {\n";
  136     OS << "  " << Bank.getEnumeratorName() << ",\n";
  136     OS << "  " << Bank.getEnumeratorName() << ",\n";
  137   OS << "  NumRegisterBanks,\n"
  138      << "};\n"
  139      << "} // end namespace " << TargetName << "\n"
  139      << "} // end namespace " << TargetName << "\n"
  140      << "} // end namespace llvm\n";
  147   OS << "private:\n"
  148      << "  static RegisterBank *RegBanks[];\n\n"
  149      << "protected:\n"
  150      << "  " << TargetName << "GenRegisterBankInfo();\n"
  150      << "  " << TargetName << "GenRegisterBankInfo();\n"
  151      << "\n";
  216   OS << "namespace llvm {\n"
  217      << "namespace " << TargetName << " {\n";
  217      << "namespace " << TargetName << " {\n";
  225     OS << "const uint32_t " << Bank.getCoverageArrayName() << "[] = {\n";
  225     OS << "const uint32_t " << Bank.getCoverageArrayName() << "[] = {\n";
  228       OS << "    // " << LowestIdxInWord << "-" << (LowestIdxInWord + 31) << "\n";
  228       OS << "    // " << LowestIdxInWord << "-" << (LowestIdxInWord + 31) << "\n";
  228       OS << "    // " << LowestIdxInWord << "-" << (LowestIdxInWord + 31) << "\n";
  232         OS << "    (1u << (" << QualifiedRegClassID << " - "
  232         OS << "    (1u << (" << QualifiedRegClassID << " - "
  233            << LowestIdxInWord << ")) |\n";
  235       OS << "    0,\n";
  238     OS << "};\n";
  240   OS << "\n";
  247     OS << "RegisterBank " << Bank.getInstanceVarName() << "(/* ID */ "
  247     OS << "RegisterBank " << Bank.getInstanceVarName() << "(/* ID */ "
  248        << QualifiedBankID << ", /* Name */ \"" << Bank.getName()
  249        << "\", /* Size */ " << Size << ", "
  249        << "\", /* Size */ " << Size << ", "
  250        << "/* CoveredRegClasses */ " << Bank.getCoverageArrayName()
  251        << ", /* NumRegClasses */ "
  252        << RegisterClassHierarchy.getRegClasses().size() << ");\n";
  254   OS << "} // end namespace " << TargetName << "\n"
  254   OS << "} // end namespace " << TargetName << "\n"
  255      << "\n";
  257   OS << "RegisterBank *" << TargetName
  258      << "GenRegisterBankInfo::RegBanks[] = {\n";
  260     OS << "    &" << TargetName << "::" << Bank.getInstanceVarName() << ",\n";
  260     OS << "    &" << TargetName << "::" << Bank.getInstanceVarName() << ",\n";
  260     OS << "    &" << TargetName << "::" << Bank.getInstanceVarName() << ",\n";
  261   OS << "};\n\n";
  263   OS << TargetName << "GenRegisterBankInfo::" << TargetName
  264      << "GenRegisterBankInfo()\n"
  265      << "    : RegisterBankInfo(RegBanks, " << TargetName
  266      << "::NumRegisterBanks) {\n"
  267      << "  // Assert that RegBank indices match their ID's\n"
  268      << "#ifndef NDEBUG\n"
  269      << "  unsigned Index = 0;\n"
  270      << "  for (const auto &RB : RegBanks)\n"
  271      << "    assert(Index++ == RB->getID() && \"Index != ID\");\n"
  272      << "#endif // NDEBUG\n"
  273      << "}\n"
  274      << "} // end namespace llvm\n";
  294                        << "Added " << RC->getName() << "(" << Kind << ")\n");
  294                        << "Added " << RC->getName() << "(" << Kind << ")\n");
  294                        << "Added " << RC->getName() << "(" << Kind << ")\n");
  317   OS << "#ifdef GET_REGBANK_DECLARATIONS\n"
  318      << "#undef GET_REGBANK_DECLARATIONS\n";
  320   OS << "#endif // GET_REGBANK_DECLARATIONS\n\n"
  321      << "#ifdef GET_TARGET_REGBANK_CLASS\n"
  322      << "#undef GET_TARGET_REGBANK_CLASS\n";
  324   OS << "#endif // GET_TARGET_REGBANK_CLASS\n\n"
  325      << "#ifdef GET_TARGET_REGBANK_IMPL\n"
  326      << "#undef GET_TARGET_REGBANK_IMPL\n";
  328   OS << "#endif // GET_TARGET_REGBANK_IMPL\n";
utils/TableGen/RegisterInfoEmitter.cpp
  113   OS << "\n#ifdef GET_REGINFO_ENUM\n";
  114   OS << "#undef GET_REGINFO_ENUM\n\n";
  116   OS << "namespace llvm {\n\n";
  118   OS << "class MCRegisterClass;\n"
  119      << "extern const MCRegisterClass " << Target.getName()
  120      << "MCRegisterClasses[];\n\n";
  123     OS << "namespace " << Namespace << " {\n";
  123     OS << "namespace " << Namespace << " {\n";
  124   OS << "enum {\n  NoRegister,\n";
  127     OS << "  " << Reg.getName() << " = " << Reg.EnumValue << ",\n";
  127     OS << "  " << Reg.getName() << " = " << Reg.EnumValue << ",\n";
  127     OS << "  " << Reg.getName() << " = " << Reg.EnumValue << ",\n";
  130   OS << "  NUM_TARGET_REGS \t// " << Registers.size()+1 << "\n";
  130   OS << "  NUM_TARGET_REGS \t// " << Registers.size()+1 << "\n";
  131   OS << "};\n";
  133     OS << "} // end namespace " << Namespace << "\n";
  133     OS << "} // end namespace " << Namespace << "\n";
  142     OS << "\n// Register classes\n\n";
  144       OS << "namespace " << Namespace << " {\n";
  144       OS << "namespace " << Namespace << " {\n";
  145     OS << "enum {\n";
  147       OS << "  " << RC.getName() << "RegClassID"
  147       OS << "  " << RC.getName() << "RegClassID"
  148          << " = " << RC.EnumValue << ",\n";
  148          << " = " << RC.EnumValue << ",\n";
  149     OS << "\n  };\n";
  151       OS << "} // end namespace " << Namespace << "\n\n";
  151       OS << "} // end namespace " << Namespace << "\n\n";
  158     OS << "\n// Register alternate name indices\n\n";
  160       OS << "namespace " << Namespace << " {\n";
  160       OS << "namespace " << Namespace << " {\n";
  161     OS << "enum {\n";
  163       OS << "  " << RegAltNameIndices[i]->getName() << ",\t// " << i << "\n";
  163       OS << "  " << RegAltNameIndices[i]->getName() << ",\t// " << i << "\n";
  163       OS << "  " << RegAltNameIndices[i]->getName() << ",\t// " << i << "\n";
  164     OS << "  NUM_TARGET_REG_ALT_NAMES = " << RegAltNameIndices.size() << "\n";
  164     OS << "  NUM_TARGET_REG_ALT_NAMES = " << RegAltNameIndices.size() << "\n";
  165     OS << "};\n";
  167       OS << "} // end namespace " << Namespace << "\n\n";
  167       OS << "} // end namespace " << Namespace << "\n\n";
  172     OS << "\n// Subregister indices\n\n";
  175       OS << "namespace " << Namespace << " {\n";
  175       OS << "namespace " << Namespace << " {\n";
  176     OS << "enum {\n  NoSubRegister,\n";
  179       OS << "  " << Idx.getName() << ",\t// " << ++i << "\n";
  179       OS << "  " << Idx.getName() << ",\t// " << ++i << "\n";
  179       OS << "  " << Idx.getName() << ",\t// " << ++i << "\n";
  180     OS << "  NUM_TARGET_SUBREGS\n};\n";
  182       OS << "} // end namespace " << Namespace << "\n\n";
  182       OS << "} // end namespace " << Namespace << "\n\n";
  185   OS << "} // end namespace llvm\n\n";
  186   OS << "#endif // GET_REGINFO_ENUM\n\n";
  199   OS << "/// Get the weight in units of pressure for this register class.\n"
  200      << "const RegClassWeight &" << ClassName << "::\n"
  200      << "const RegClassWeight &" << ClassName << "::\n"
  201      << "getRegClassWeight(const TargetRegisterClass *RC) const {\n"
  202      << "  static const RegClassWeight RCWeightTable[] = {\n";
  206       OS << "    {0, 0";
  210       OS << "    {" << (*Regs.begin())->getWeight(RegBank)
  211          << ", " << RegBank.getRegUnitSetWeight(RegUnits);
  213     OS << "},  \t// " << RC.getName() << "\n";
  213     OS << "},  \t// " << RC.getName() << "\n";
  215   OS << "  };\n"
  216      << "  return RCWeightTable[RC->getID()];\n"
  217      << "}\n\n";
  227   OS << "/// Get the weight in units of pressure for this register unit.\n"
  228      << "unsigned " << ClassName << "::\n"
  228      << "unsigned " << ClassName << "::\n"
  229      << "getRegUnitWeight(unsigned RegUnit) const {\n"
  230      << "  assert(RegUnit < " << RegBank.getNumNativeRegUnits()
  231      << " && \"invalid register unit\");\n";
  233     OS << "  static const uint8_t RUWeightTable[] = {\n    ";
  238       OS << RU.Weight << ", ";
  240     OS << "};\n"
  241        << "  return RUWeightTable[RegUnit];\n";
  244     OS << "  // All register units have unit weight.\n"
  245        << "  return 1;\n";
  247   OS << "}\n\n";
  249   OS << "\n"
  250      << "// Get the number of dimensions of register pressure.\n"
  251      << "unsigned " << ClassName << "::getNumRegPressureSets() const {\n"
  251      << "unsigned " << ClassName << "::getNumRegPressureSets() const {\n"
  252      << "  return " << NumSets << ";\n}\n\n";
  252      << "  return " << NumSets << ";\n}\n\n";
  254   OS << "// Get the name of this register unit pressure set.\n"
  255      << "const char *" << ClassName << "::\n"
  255      << "const char *" << ClassName << "::\n"
  256      << "getRegPressureSetName(unsigned Idx) const {\n"
  257      << "  static const char *const PressureNameTable[] = {\n";
  262     OS << "    \"" << RegUnits.Name << "\",\n";
  262     OS << "    \"" << RegUnits.Name << "\",\n";
  264   OS << "  };\n"
  265      << "  return PressureNameTable[Idx];\n"
  266      << "}\n\n";
  268   OS << "// Get the register unit pressure limit for this dimension.\n"
  269      << "// This limit must be adjusted dynamically for reserved registers.\n"
  270      << "unsigned " << ClassName << "::\n"
  270      << "unsigned " << ClassName << "::\n"
  271      << "getRegPressureSetLimit(const MachineFunction &MF, unsigned Idx) const "
  273      << "  static const " << getMinimalTypeForRange(MaxRegUnitWeight, 32)
  273      << "  static const " << getMinimalTypeForRange(MaxRegUnitWeight, 32)
  274      << " PressureLimitTable[] = {\n";
  277     OS << "    " << RegUnits.Weight << ",  \t// " << i << ": "
  277     OS << "    " << RegUnits.Weight << ",  \t// " << i << ": "
  277     OS << "    " << RegUnits.Weight << ",  \t// " << i << ": "
  278        << RegUnits.Name << "\n";
  280   OS << "  };\n"
  281      << "  return PressureLimitTable[Idx];\n"
  282      << "}\n\n";
  304   OS << "/// Table of pressure sets per register class or unit.\n"
  305      << "static const int RCSetsTable[] = {\n";
  307   OS << "};\n\n";
  309   OS << "/// Get the dimensions of register pressure impacted by this "
  310      << "register class.\n"
  311      << "/// Returns a -1 terminated array of pressure set IDs\n"
  312      << "const int* " << ClassName << "::\n"
  312      << "const int* " << ClassName << "::\n"
  313      << "getRegClassPressureSets(const TargetRegisterClass *RC) const {\n";
  314   OS << "  static const " << getMinimalTypeForRange(PSetsSeqs.size() - 1, 32)
  314   OS << "  static const " << getMinimalTypeForRange(PSetsSeqs.size() - 1, 32)
  315      << " RCSetStartTable[] = {\n    ";
  317     OS << PSetsSeqs.get(PSets[i]) << ",";
  319   OS << "};\n"
  320      << "  return &RCSetsTable[RCSetStartTable[RC->getID()]];\n"
  321      << "}\n\n";
  323   OS << "/// Get the dimensions of register pressure impacted by this "
  324      << "register unit.\n"
  325      << "/// Returns a -1 terminated array of pressure set IDs\n"
  326      << "const int* " << ClassName << "::\n"
  326      << "const int* " << ClassName << "::\n"
  327      << "getRegUnitPressureSets(unsigned RegUnit) const {\n"
  328      << "  assert(RegUnit < " << RegBank.getNumNativeRegUnits()
  329      << " && \"invalid register unit\");\n";
  330   OS << "  static const " << getMinimalTypeForRange(PSetsSeqs.size() - 1, 32)
  330   OS << "  static const " << getMinimalTypeForRange(PSetsSeqs.size() - 1, 32)
  331      << " RUSetStartTable[] = {\n    ";
  335        << ",";
  337   OS << "};\n"
  338      << "  return &RCSetsTable[RUSetStartTable[RegUnit]];\n"
  339      << "}\n\n";
  397   OS << "// " << Namespace << " Dwarf<->LLVM register mappings.\n";
  397   OS << "// " << Namespace << " Dwarf<->LLVM register mappings.\n";
  402       OS << "extern const MCRegisterInfo::DwarfLLVMRegPair " << Namespace;
  403       OS << (j == 0 ? "DwarfFlavour" : "EHFlavour");
  404       OS << i << "Dwarf2L[]";
  407         OS << " = {\n";
  422           OS << "  { " << I->first << "U, " << getQualifiedName(I->second)
  422           OS << "  { " << I->first << "U, " << getQualifiedName(I->second)
  423              << " },\n";
  425         OS << "};\n";
  427         OS << ";\n";
  432       OS << "extern const unsigned " << Namespace
  433          << (j == 0 ? "DwarfFlavour" : "EHFlavour") << i << "Dwarf2LSize";
  433          << (j == 0 ? "DwarfFlavour" : "EHFlavour") << i << "Dwarf2LSize";
  435         OS << " = array_lengthof(" << Namespace
  436            << (j == 0 ? "DwarfFlavour" : "EHFlavour") << i
  437            << "Dwarf2L);\n\n";
  439         OS << ";\n\n";
  471       OS << "extern const MCRegisterInfo::DwarfLLVMRegPair " << Namespace;
  472       OS << (j == 0 ? "DwarfFlavour" : "EHFlavour");
  473       OS << i << "L2Dwarf[]";
  475         OS << " = {\n";
  484           OS << "  { " << getQualifiedName(I->first) << ", " << RegNo
  484           OS << "  { " << getQualifiedName(I->first) << ", " << RegNo
  485              << "U },\n";
  487         OS << "};\n";
  489         OS << ";\n";
  494       OS << "extern const unsigned " << Namespace
  495          << (j == 0 ? "DwarfFlavour" : "EHFlavour") << i << "L2DwarfSize";
  495          << (j == 0 ? "DwarfFlavour" : "EHFlavour") << i << "L2DwarfSize";
  497         OS << " = array_lengthof(" << Namespace
  498            << (j == 0 ? "DwarfFlavour" : "EHFlavour") << i << "L2Dwarf);\n\n";
  498            << (j == 0 ? "DwarfFlavour" : "EHFlavour") << i << "L2Dwarf);\n\n";
  500         OS << ";\n\n";
  523     OS << "  switch (";
  525       OS << "DwarfFlavour";
  527       OS << "EHFlavour";
  528     OS << ") {\n"
  529      << "  default:\n"
  530      << "    llvm_unreachable(\"Unknown DWARF flavour\");\n";
  533       OS << "  case " << i << ":\n";
  533       OS << "  case " << i << ":\n";
  534       OS << "    ";
  536         OS << "RI->";
  539                               << (j == 0 ? "DwarfFlavour" : "EHFlavour") << i
  540                               << "Dwarf2L";
  541       OS << "mapDwarfRegsToLLVMRegs(" << Tmp << ", " << Tmp << "Size, ";
  541       OS << "mapDwarfRegsToLLVMRegs(" << Tmp << ", " << Tmp << "Size, ";
  541       OS << "mapDwarfRegsToLLVMRegs(" << Tmp << ", " << Tmp << "Size, ";
  543           OS << "false";
  545           OS << "true";
  546       OS << ");\n";
  547       OS << "    break;\n";
  549     OS << "  }\n";
  554     OS << "  switch (";
  556       OS << "DwarfFlavour";
  558       OS << "EHFlavour";
  559     OS << ") {\n"
  560        << "  default:\n"
  561        << "    llvm_unreachable(\"Unknown DWARF flavour\");\n";
  564       OS << "  case " << i << ":\n";
  564       OS << "  case " << i << ":\n";
  565       OS << "    ";
  567         OS << "RI->";
  570                               << (j == 0 ? "DwarfFlavour" : "EHFlavour") << i
  571                               << "L2Dwarf";
  572       OS << "mapLLVMRegsToDwarfRegs(" << Tmp << ", " << Tmp << "Size, ";
  572       OS << "mapLLVMRegsToDwarfRegs(" << Tmp << ", " << Tmp << "Size, ";
  572       OS << "mapLLVMRegsToDwarfRegs(" << Tmp << ", " << Tmp << "Size, ";
  574           OS << "false";
  576           OS << "true";
  577       OS << ");\n";
  578       OS << "    break;\n";
  580     OS << "  }\n";
  667   OS << "LaneBitmask(0x" << PrintLaneMask(Val) << ')';
  696   OS << "unsigned " << ClName
  697      << "::composeSubRegIndicesImpl(unsigned IdxA, unsigned IdxB) const {\n";
  731     OS << "  static const " << getMinimalTypeForRange(Rows.size(), 32)
  731     OS << "  static const " << getMinimalTypeForRange(Rows.size(), 32)
  732        << " RowMap[" << SubRegIndicesSize << "] = {\n    ";
  732        << " RowMap[" << SubRegIndicesSize << "] = {\n    ";
  734       OS << RowMap[i] << ", ";
  735     OS << "\n  };\n";
  739   OS << "  static const " << getMinimalTypeForRange(SubRegIndicesSize + 1, 32)
  739   OS << "  static const " << getMinimalTypeForRange(SubRegIndicesSize + 1, 32)
  740      << " Rows[" << Rows.size() << "][" << SubRegIndicesSize << "] = {\n";
  740      << " Rows[" << Rows.size() << "][" << SubRegIndicesSize << "] = {\n";
  740      << " Rows[" << Rows.size() << "][" << SubRegIndicesSize << "] = {\n";
  742     OS << "    { ";
  745         OS << Rows[r][i]->getQualifiedName() << ", ";
  747         OS << "0, ";
  748     OS << "},\n";
  750   OS << "  };\n\n";
  752   OS << "  --IdxA; assert(IdxA < " << SubRegIndicesSize << ");\n"
  752   OS << "  --IdxA; assert(IdxA < " << SubRegIndicesSize << ");\n"
  753      << "  --IdxB; assert(IdxB < " << SubRegIndicesSize << ");\n";
  753      << "  --IdxB; assert(IdxB < " << SubRegIndicesSize << ");\n";
  755     OS << "  return Rows[RowMap[IdxA]][IdxB];\n";
  757     OS << "  return Rows[0][IdxB];\n";
  758   OS << "}\n\n";
  793   OS << "  struct MaskRolOp {\n"
  800     OS << "    ";
  804       printMask(OS << "{ ", P.Mask);
  807     OS << "{ LaneBitmask::getNone(), 0 }";
  809       OS << ", ";
  810     OS << "  // Sequence " << Idx << "\n";
  810     OS << "  // Sequence " << Idx << "\n";
  813   OS << "  };\n"
  816     OS << "    ";
  820       OS << ",";
  821     OS << " // to " << SubRegIndices[i].getName() << "\n";
  821     OS << " // to " << SubRegIndices[i].getName() << "\n";
  823   OS << "  };\n\n";
  825   OS << "LaneBitmask " << ClName
  826      << "::composeSubRegIndexLaneMaskImpl(unsigned IdxA, LaneBitmask LaneMask)"
  829      << " && \"Subregister index out of bounds\");\n"
  841   OS << "LaneBitmask " << ClName
  842      << "::reverseComposeSubRegIndexLaneMaskImpl(unsigned IdxA, "
  846      << " && \"Subregister index out of bounds\");\n"
  867   OS << "\n#ifdef GET_REGINFO_MC_DESC\n";
  868   OS << "#undef GET_REGINFO_MC_DESC\n\n";
  964   OS << "namespace llvm {\n\n";
  969   OS << "extern const MCPhysReg " << TargetName << "RegDiffLists[] = {\n";
  969   OS << "extern const MCPhysReg " << TargetName << "RegDiffLists[] = {\n";
  971   OS << "};\n\n";
  974   OS << "extern const LaneBitmask " << TargetName << "LaneMaskLists[] = {\n";
  974   OS << "extern const LaneBitmask " << TargetName << "LaneMaskLists[] = {\n";
  976   OS << "};\n\n";
  979   OS << "extern const uint16_t " << TargetName << "SubRegIdxLists[] = {\n";
  979   OS << "extern const uint16_t " << TargetName << "SubRegIdxLists[] = {\n";
  981   OS << "};\n\n";
  984   OS << "extern const MCRegisterInfo::SubRegCoveredBits "
  985      << TargetName << "SubRegIdxRanges[] = {\n";
  986   OS << "  { " << (uint16_t)-1 << ", " << (uint16_t)-1 << " },\n";
  986   OS << "  { " << (uint16_t)-1 << ", " << (uint16_t)-1 << " },\n";
  986   OS << "  { " << (uint16_t)-1 << ", " << (uint16_t)-1 << " },\n";
  988     OS << "  { " << Idx.Offset << ", " << Idx.Size << " },\t// "
  988     OS << "  { " << Idx.Offset << ", " << Idx.Size << " },\t// "
  988     OS << "  { " << Idx.Offset << ", " << Idx.Size << " },\t// "
  989        << Idx.getName() << "\n";
  991   OS << "};\n\n";
  995   OS << "extern const char " << TargetName << "RegStrings[] = {\n";
  995   OS << "extern const char " << TargetName << "RegStrings[] = {\n";
  997   OS << "};\n\n";
  999   OS << "extern const MCRegisterDesc " << TargetName
 1000      << "RegDesc[] = { // Descriptors\n";
 1001   OS << "  { " << RegStrings.get("") << ", 0, 0, 0, 0, 0 },\n";
 1001   OS << "  { " << RegStrings.get("") << ", 0, 0, 0, 0, 0 },\n";
 1006     OS << "  { " << RegStrings.get(Reg.getName()) << ", "
 1006     OS << "  { " << RegStrings.get(Reg.getName()) << ", "
 1007        << DiffSeqs.get(SubRegLists[i]) << ", " << DiffSeqs.get(SuperRegLists[i])
 1008        << ", " << SubRegIdxSeqs.get(SubRegIdxLists[i]) << ", "
 1008        << ", " << SubRegIdxSeqs.get(SubRegIdxLists[i]) << ", "
 1009        << (DiffSeqs.get(RegUnitLists[i]) * 16 + RegUnitInitScale[i]) << ", "
 1010        << LaneMaskSeqs.get(RegUnitLaneMasks[i]) << " },\n";
 1013   OS << "};\n\n";      // End of register descriptors...
 1017   OS << "extern const MCPhysReg " << TargetName << "RegUnitRoots[][2] = {\n";
 1017   OS << "extern const MCPhysReg " << TargetName << "RegUnitRoots[][2] = {\n";
 1022     OS << "  { " << getQualifiedName(Roots.front()->TheDef);
 1024       OS << ", " << getQualifiedName(Roots[r]->TheDef);
 1025     OS << " },\n";
 1027   OS << "};\n\n";
 1032   OS << "namespace {     // Register classes...\n";
 1046     OS << "  // " << Name << " Register Class...\n"
 1046     OS << "  // " << Name << " Register Class...\n"
 1047        << "  const MCPhysReg " << Name
 1048        << "[] = {\n    ";
 1050       OS << getQualifiedName(Reg) << ", ";
 1052     OS << "\n  };\n\n";
 1054     OS << "  // " << Name << " Bit set.\n"
 1054     OS << "  // " << Name << " Bit set.\n"
 1055        << "  const uint8_t " << Name
 1056        << "Bits[] = {\n    ";
 1062     OS << "\n  };\n\n";
 1065   OS << "} // end anonymous namespace\n\n";
 1068   OS << "extern const char " << TargetName << "RegClassStrings[] = {\n";
 1068   OS << "extern const char " << TargetName << "RegClassStrings[] = {\n";
 1070   OS << "};\n\n";
 1072   OS << "extern const MCRegisterClass " << TargetName
 1073      << "MCRegisterClasses[] = {\n";
 1077     OS << "  { " << RC.getName() << ", " << RC.getName() << "Bits, "
 1077     OS << "  { " << RC.getName() << ", " << RC.getName() << "Bits, "
 1077     OS << "  { " << RC.getName() << ", " << RC.getName() << "Bits, "
 1078        << RegClassStrings.get(RC.getName()) << ", "
 1079        << RC.getOrder().size() << ", sizeof(" << RC.getName() << "Bits), "
 1079        << RC.getOrder().size() << ", sizeof(" << RC.getName() << "Bits), "
 1080        << RC.getQualifiedName() + "RegClassID" << ", "
 1081        << RC.CopyCost << ", "
 1082        << ( RC.Allocatable ? "true" : "false" ) << " },\n";
 1082        << ( RC.Allocatable ? "true" : "false" ) << " },\n";
 1085   OS << "};\n\n";
 1090   OS << "extern const uint16_t " << TargetName;
 1091   OS << "RegEncodingTable[] = {\n";
 1093   OS << "  0,\n";
 1102     OS << "  " << Value << ",\n";
 1102     OS << "  " << Value << ",\n";
 1104   OS << "};\n";       // End of HW encoding table
 1107   OS << "static inline void Init" << TargetName
 1108      << "MCRegisterInfo(MCRegisterInfo *RI, unsigned RA, "
 1109      << "unsigned DwarfFlavour = 0, unsigned EHFlavour = 0, unsigned PC = 0) "
 1111      << "  RI->InitMCRegisterInfo(" << TargetName << "RegDesc, "
 1111      << "  RI->InitMCRegisterInfo(" << TargetName << "RegDesc, "
 1112      << Regs.size() + 1 << ", RA, PC, " << TargetName << "MCRegisterClasses, "
 1112      << Regs.size() + 1 << ", RA, PC, " << TargetName << "MCRegisterClasses, "
 1113      << RegisterClasses.size() << ", " << TargetName << "RegUnitRoots, "
 1113      << RegisterClasses.size() << ", " << TargetName << "RegUnitRoots, "
 1114      << RegBank.getNumNativeRegUnits() << ", " << TargetName << "RegDiffLists, "
 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, "
 1117      << (std::distance(SubRegIndices.begin(), SubRegIndices.end()) + 1) << ",\n"
 1118      << TargetName << "SubRegIdxRanges, " << TargetName
 1119      << "RegEncodingTable);\n\n";
 1123   OS << "}\n\n";
 1125   OS << "} // end namespace llvm\n\n";
 1126   OS << "#endif // GET_REGINFO_MC_DESC\n\n";
 1134   OS << "\n#ifdef GET_REGINFO_HEADER\n";
 1135   OS << "#undef GET_REGINFO_HEADER\n\n";
 1140   OS << "#include \"llvm/CodeGen/TargetRegisterInfo.h\"\n\n";
 1142   OS << "namespace llvm {\n\n";
 1144   OS << "class " << TargetName << "FrameLowering;\n\n";
 1144   OS << "class " << TargetName << "FrameLowering;\n\n";
 1146   OS << "struct " << ClassName << " : public TargetRegisterInfo {\n"
 1146   OS << "struct " << ClassName << " : public TargetRegisterInfo {\n"
 1147      << "  explicit " << ClassName
 1148      << "(unsigned RA, unsigned D = 0, unsigned E = 0,\n"
 1149      << "      unsigned PC = 0, unsigned HwMode = 0);\n";
 1151     OS << "  unsigned composeSubRegIndicesImpl"
 1152        << "(unsigned, unsigned) const override;\n"
 1153        << "  LaneBitmask composeSubRegIndexLaneMaskImpl"
 1154        << "(unsigned, LaneBitmask) const override;\n"
 1155        << "  LaneBitmask reverseComposeSubRegIndexLaneMaskImpl"
 1156        << "(unsigned, LaneBitmask) const override;\n"
 1157        << "  const TargetRegisterClass *getSubClassWithSubReg"
 1158        << "(const TargetRegisterClass*, unsigned) const override;\n";
 1160   OS << "  const RegClassWeight &getRegClassWeight("
 1161      << "const TargetRegisterClass *RC) const override;\n"
 1162      << "  unsigned getRegUnitWeight(unsigned RegUnit) const override;\n"
 1163      << "  unsigned getNumRegPressureSets() const override;\n"
 1164      << "  const char *getRegPressureSetName(unsigned Idx) const override;\n"
 1165      << "  unsigned getRegPressureSetLimit(const MachineFunction &MF, unsigned "
 1167      << "  const int *getRegClassPressureSets("
 1168      << "const TargetRegisterClass *RC) const override;\n"
 1169      << "  const int *getRegUnitPressureSets("
 1170      << "unsigned RegUnit) const override;\n"
 1171      << "  ArrayRef<const char *> getRegMaskNames() const override;\n"
 1172      << "  ArrayRef<const uint32_t *> getRegMasks() const override;\n"
 1173      << "  /// Devirtualized TargetFrameLowering.\n"
 1174      << "  static const " << TargetName << "FrameLowering *getFrameLowering(\n"
 1174      << "  static const " << TargetName << "FrameLowering *getFrameLowering(\n"
 1175      << "      const MachineFunction &MF);\n"
 1176      << "};\n\n";
 1181     OS << "namespace " << RegisterClasses.front().Namespace
 1182        << " { // Register classes\n";
 1188       OS << "  extern const TargetRegisterClass " << Name << "RegClass;\n";
 1188       OS << "  extern const TargetRegisterClass " << Name << "RegClass;\n";
 1190     OS << "} // end namespace " << RegisterClasses.front().Namespace << "\n\n";
 1190     OS << "} // end namespace " << RegisterClasses.front().Namespace << "\n\n";
 1192   OS << "} // end namespace llvm\n\n";
 1193   OS << "#endif // GET_REGINFO_HEADER\n\n";
 1204   OS << "\n#ifdef GET_REGINFO_TARGET_DESC\n";
 1205   OS << "#undef GET_REGINFO_TARGET_DESC\n\n";
 1207   OS << "namespace llvm {\n\n";
 1210   OS << "extern const MCRegisterClass " << Target.getName()
 1211      << "MCRegisterClasses[];\n";
 1242   OS << "\nstatic const MVT::SimpleValueType VTLists[] = {\n";
 1244   OS << "};\n";
 1247   OS << "\nstatic const char *const SubRegIndexNameTable[] = { \"";
 1251     OS << "\", \"";
 1253   OS << "\" };\n\n";
 1256   OS << "\nstatic const LaneBitmask SubRegIndexLaneMaskTable[] = {\n  "
 1259     printMask(OS << "  ", Idx.LaneMask);
 1260     OS << ", // " << Idx.getName() << '\n';
 1262   OS << " };\n\n";
 1264   OS << "\n";
 1268     OS << "\nstatic const TargetRegisterInfo::RegClassInfo RegClassInfos[]"
 1269        << " = {\n";
 1272       OS << "  // Mode = " << M << " (";
 1272       OS << "  // Mode = " << M << " (";
 1274         OS << "Default";
 1277       OS << ")\n";
 1282         OS << "  { " << RI.RegSize << ", " << RI.SpillSize << ", "
 1282         OS << "  { " << RI.RegSize << ", " << RI.SpillSize << ", "
 1282         OS << "  { " << RI.RegSize << ", " << RI.SpillSize << ", "
 1287         OS << ", VTLists+" << VTSeqs.get(VTs) << " },    // "
 1287         OS << ", VTLists+" << VTSeqs.get(VTs) << " },    // "
 1291     OS << "};\n";
 1294     OS << "\nstatic const TargetRegisterClass *const "
 1295        << "NullRegClasses[] = { nullptr };\n\n";
 1322       OS << "static const uint32_t " << RC.getName()
 1323          << "SubClassMask[] = {\n  ";
 1335         OS << "\n  ";
 1337         OS << "// " << Idx.getName();
 1340       OS << "\n};\n\n";
 1343     OS << "static const uint16_t SuperRegIdxSeqs[] = {\n";
 1346     OS << "};\n\n";
 1356       OS << "static const TargetRegisterClass *const "
 1357          << RC.getName() << "Superclasses[] = {\n";
 1359         OS << "  &" << Super->getQualifiedName() << "RegClass,\n";
 1359         OS << "  &" << Super->getQualifiedName() << "RegClass,\n";
 1360       OS << "  nullptr\n};\n\n";
 1366         OS << "\nstatic inline unsigned " << RC.getName()
 1367            << "AltOrderSelect(const MachineFunction &MF) {"
 1368            << RC.AltOrderSelect << "}\n\n"
 1369            << "static ArrayRef<MCPhysReg> " << RC.getName()
 1370            << "GetRawAllocationOrder(const MachineFunction &MF) {\n";
 1374             OS << "  static const MCPhysReg AltOrder" << oi << "[] = {";
 1374             OS << "  static const MCPhysReg AltOrder" << oi << "[] = {";
 1376               OS << (elem ? ", " : " ") << getQualifiedName(Elems[elem]);
 1377             OS << " };\n";
 1380         OS << "  const MCRegisterClass &MCR = " << Target.getName()
 1381            << "MCRegisterClasses[" << RC.getQualifiedName() + "RegClassID];\n"
 1382            << "  const ArrayRef<MCPhysReg> Order[] = {\n"
 1383            << "    makeArrayRef(MCR.begin(), MCR.getNumRegs()";
 1386             OS << "),\n    ArrayRef<MCPhysReg>(";
 1388             OS << "),\n    makeArrayRef(AltOrder" << oi;
 1389         OS << ")\n  };\n  const unsigned Select = " << RC.getName()
 1390            << "AltOrderSelect(MF);\n  assert(Select < " << RC.getNumOrders()
 1391            << ");\n  return Order[Select];\n}\n";
 1396     OS << "\nnamespace " << RegisterClasses.front().Namespace
 1397        << " {   // Register class instances\n";
 1400       OS << "  extern const TargetRegisterClass " << RC.getName()
 1401          << "RegClass = {\n    " << '&' << Target.getName()
 1402          << "MCRegisterClasses[" << RC.getName() << "RegClassID],\n    "
 1402          << "MCRegisterClasses[" << RC.getName() << "RegClassID],\n    "
 1403          << RC.getName() << "SubClassMask,\n    SuperRegIdxSeqs + "
 1404          << SuperRegIdxSeqs.get(SuperRegIdxLists[RC.EnumValue]) << ",\n    ";
 1406       OS << ",\n    " << (unsigned)RC.AllocationPriority << ",\n    "
 1406       OS << ",\n    " << (unsigned)RC.AllocationPriority << ",\n    "
 1407          << (RC.HasDisjunctSubRegs?"true":"false")
 1408          << ", /* HasDisjunctSubRegs */\n    "
 1409          << (RC.CoveredBySubRegs?"true":"false")
 1410          << ", /* CoveredBySubRegs */\n    ";
 1412         OS << "NullRegClasses,\n    ";
 1414         OS << RC.getName() << "Superclasses,\n    ";
 1416         OS << "nullptr\n";
 1418         OS << RC.getName() << "GetRawAllocationOrder\n";
 1419       OS << "  };\n\n";
 1422     OS << "} // end namespace " << RegisterClasses.front().Namespace << "\n";
 1422     OS << "} // end namespace " << RegisterClasses.front().Namespace << "\n";
 1425   OS << "\nnamespace {\n";
 1426   OS << "  const TargetRegisterClass* const RegisterClasses[] = {\n";
 1428     OS << "    &" << RC.getQualifiedName() << "RegClass,\n";
 1428     OS << "    &" << RC.getQualifiedName() << "RegClass,\n";
 1429   OS << "  };\n";
 1430   OS << "} // end anonymous namespace\n";
 1434   OS << "\nstatic const TargetRegisterInfoDesc "
 1435      << TargetName << "RegInfoDesc[] = { // Extra Descriptors\n";
 1436   OS << "  { 0, false },\n";
 1440     OS << "  { ";
 1441     OS << Reg.CostPerUse << ", "
 1442        << ( AllocatableRegs.count(Reg.TheDef) != 0 ? "true" : "false" )
 1443        << " },\n";
 1445   OS << "};\n";      // End of register descriptors...
 1460     OS << "const TargetRegisterClass *" << ClassName
 1461        << "::getSubClassWithSubReg(const TargetRegisterClass *RC, unsigned Idx)"
 1462        << " const {\n";
 1466       OS << "  static const uint8_t Table[";
 1468       OS << "  static const uint16_t Table[";
 1471     OS << RegisterClasses.size() << "][" << SubRegIndicesSize << "] = {\n";
 1471     OS << RegisterClasses.size() << "][" << SubRegIndicesSize << "] = {\n";
 1473       OS << "    {\t// " << RC.getName() << "\n";
 1473       OS << "    {\t// " << RC.getName() << "\n";
 1476           OS << "      " << SRC->EnumValue + 1 << ",\t// " << Idx.getName()
 1476           OS << "      " << SRC->EnumValue + 1 << ",\t// " << Idx.getName()
 1477              << " -> " << SRC->getName() << "\n";
 1477              << " -> " << SRC->getName() << "\n";
 1479           OS << "      0,\t// " << Idx.getName() << "\n";
 1479           OS << "      0,\t// " << Idx.getName() << "\n";
 1481       OS << "    },\n";
 1483     OS << "  };\n  assert(RC && \"Missing regclass\");\n"
 1484        << "  if (!Idx) return RC;\n  --Idx;\n"
 1485        << "  assert(Idx < " << SubRegIndicesSize << " && \"Bad subreg\");\n"
 1485        << "  assert(Idx < " << SubRegIndicesSize << " && \"Bad subreg\");\n"
 1486        << "  unsigned TV = Table[RC->getID()][Idx];\n"
 1487        << "  return TV ? getRegClass(TV - 1) : nullptr;\n}\n\n";
 1493   OS << "extern const MCRegisterDesc " << TargetName << "RegDesc[];\n";
 1493   OS << "extern const MCRegisterDesc " << TargetName << "RegDesc[];\n";
 1494   OS << "extern const MCPhysReg " << TargetName << "RegDiffLists[];\n";
 1494   OS << "extern const MCPhysReg " << TargetName << "RegDiffLists[];\n";
 1495   OS << "extern const LaneBitmask " << TargetName << "LaneMaskLists[];\n";
 1495   OS << "extern const LaneBitmask " << TargetName << "LaneMaskLists[];\n";
 1496   OS << "extern const char " << TargetName << "RegStrings[];\n";
 1496   OS << "extern const char " << TargetName << "RegStrings[];\n";
 1497   OS << "extern const char " << TargetName << "RegClassStrings[];\n";
 1497   OS << "extern const char " << TargetName << "RegClassStrings[];\n";
 1498   OS << "extern const MCPhysReg " << TargetName << "RegUnitRoots[][2];\n";
 1498   OS << "extern const MCPhysReg " << TargetName << "RegUnitRoots[][2];\n";
 1499   OS << "extern const uint16_t " << TargetName << "SubRegIdxLists[];\n";
 1499   OS << "extern const uint16_t " << TargetName << "SubRegIdxLists[];\n";
 1500   OS << "extern const MCRegisterInfo::SubRegCoveredBits "
 1501      << TargetName << "SubRegIdxRanges[];\n";
 1502   OS << "extern const uint16_t " << TargetName << "RegEncodingTable[];\n";
 1502   OS << "extern const uint16_t " << TargetName << "RegEncodingTable[];\n";
 1506   OS << ClassName << "::\n" << ClassName
 1507      << "(unsigned RA, unsigned DwarfFlavour, unsigned EHFlavour,\n"
 1509      << "  : TargetRegisterInfo(" << TargetName << "RegInfoDesc"
 1509      << "  : TargetRegisterInfo(" << TargetName << "RegInfoDesc"
 1510      << ", RegisterClasses, RegisterClasses+" << RegisterClasses.size() << ",\n"
 1510      << ", RegisterClasses, RegisterClasses+" << RegisterClasses.size() << ",\n"
 1511      << "             SubRegIndexNameTable, SubRegIndexLaneMaskTable,\n"
 1512      << "             ";
 1514   OS << ", RegClassInfos, HwMode) {\n"
 1515      << "  InitMCRegisterInfo(" << TargetName << "RegDesc, " << Regs.size() + 1
 1515      << "  InitMCRegisterInfo(" << TargetName << "RegDesc, " << Regs.size() + 1
 1516      << ", RA, PC,\n                     " << TargetName
 1517      << "MCRegisterClasses, " << RegisterClasses.size() << ",\n"
 1517      << "MCRegisterClasses, " << RegisterClasses.size() << ",\n"
 1518      << "                     " << TargetName << "RegUnitRoots,\n"
 1518      << "                     " << TargetName << "RegUnitRoots,\n"
 1519      << "                     " << RegBank.getNumNativeRegUnits() << ",\n"
 1519      << "                     " << RegBank.getNumNativeRegUnits() << ",\n"
 1520      << "                     " << TargetName << "RegDiffLists,\n"
 1520      << "                     " << TargetName << "RegDiffLists,\n"
 1521      << "                     " << TargetName << "LaneMaskLists,\n"
 1521      << "                     " << TargetName << "LaneMaskLists,\n"
 1522      << "                     " << TargetName << "RegStrings,\n"
 1522      << "                     " << TargetName << "RegStrings,\n"
 1523      << "                     " << TargetName << "RegClassStrings,\n"
 1523      << "                     " << TargetName << "RegClassStrings,\n"
 1524      << "                     " << TargetName << "SubRegIdxLists,\n"
 1524      << "                     " << TargetName << "SubRegIdxLists,\n"
 1525      << "                     " << SubRegIndicesSize + 1 << ",\n"
 1525      << "                     " << SubRegIndicesSize + 1 << ",\n"
 1526      << "                     " << TargetName << "SubRegIdxRanges,\n"
 1526      << "                     " << TargetName << "SubRegIdxRanges,\n"
 1527      << "                     " << TargetName << "RegEncodingTable);\n\n";
 1527      << "                     " << TargetName << "RegEncodingTable);\n\n";
 1531   OS << "}\n\n";
 1542     OS << "static const MCPhysReg " << CSRSet->getName()
 1543        << "_SaveList[] = { ";
 1545       OS << getQualifiedName((*Regs)[r]) << ", ";
 1546     OS << "0 };\n";
 1561     OS << "static const uint32_t " << CSRSet->getName()
 1562        << "_RegMask[] = { ";
 1564     OS << "};\n";
 1566   OS << "\n\n";
 1568   OS << "ArrayRef<const uint32_t *> " << ClassName
 1569      << "::getRegMasks() const {\n";
 1571     OS << "  static const uint32_t *const Masks[] = {\n";
 1573       OS << "    " << CSRSet->getName() << "_RegMask,\n";
 1573       OS << "    " << CSRSet->getName() << "_RegMask,\n";
 1574     OS << "  };\n";
 1575     OS << "  return makeArrayRef(Masks);\n";
 1577     OS << "  return None;\n";
 1579   OS << "}\n\n";
 1581   OS << "ArrayRef<const char *> " << ClassName
 1582      << "::getRegMaskNames() const {\n";
 1584   OS << "  static const char *const Names[] = {\n";
 1586       OS << "    " << '"' << CSRSet->getName() << '"' << ",\n";
 1586       OS << "    " << '"' << CSRSet->getName() << '"' << ",\n";
 1587     OS << "  };\n";
 1588     OS << "  return makeArrayRef(Names);\n";
 1590     OS << "  return None;\n";
 1592   OS << "}\n\n";
 1594   OS << "const " << TargetName << "FrameLowering *\n" << TargetName
 1594   OS << "const " << TargetName << "FrameLowering *\n" << TargetName
 1595      << "GenRegisterInfo::getFrameLowering(const MachineFunction &MF) {\n"
 1596      << "  return static_cast<const " << TargetName << "FrameLowering *>(\n"
 1596      << "  return static_cast<const " << TargetName << "FrameLowering *>(\n"
 1597      << "      MF.getSubtarget().getFrameLowering());\n"
 1598      << "}\n\n";
 1600   OS << "} // end namespace llvm\n\n";
 1601   OS << "#endif // GET_REGINFO_TARGET_DESC\n\n";
 1626     OS << "RegisterClass " << RC.getName() << ":\n";
 1626     OS << "RegisterClass " << RC.getName() << ":\n";
 1627     OS << "\tSpillSize: {";
 1630     OS << " }\n\tSpillAlignment: {";
 1633     OS << " }\n\tNumRegs: " << RC.getMembers().size() << '\n';
 1634     OS << "\tLaneMask: " << PrintLaneMask(RC.LaneMask) << '\n';
 1635     OS << "\tHasDisjunctSubRegs: " << RC.HasDisjunctSubRegs << '\n';
 1636     OS << "\tCoveredBySubRegs: " << RC.CoveredBySubRegs << '\n';
 1637     OS << "\tRegs:";
 1639       OS << " " << R->getName();
 1642     OS << "\tSubClasses:";
 1647       OS << " " << SRC.getName();
 1650     OS << "\tSuperClasses:";
 1652       OS << " " << SRC->getName();
 1658     OS << "SubRegIndex " << SRI.getName() << ":\n";
 1658     OS << "SubRegIndex " << SRI.getName() << ":\n";
 1659     OS << "\tLaneMask: " << PrintLaneMask(SRI.LaneMask) << '\n';
 1660     OS << "\tAllSuperRegsCovered: " << SRI.AllSuperRegsCovered << '\n';
 1664     OS << "Register " << R.getName() << ":\n";
 1664     OS << "Register " << R.getName() << ":\n";
 1665     OS << "\tCostPerUse: " << R.CostPerUse << '\n';
 1666     OS << "\tCoveredBySubregs: " << R.CoveredBySubRegs << '\n';
 1667     OS << "\tHasDisjunctSubRegs: " << R.HasDisjunctSubRegs << '\n';
 1669       OS << "\tSubReg " << P.first->getName()
 1670          << " = " << P.second->getName() << '\n';
utils/TableGen/SearchableTableEmitter.cpp
  276   OS << "#ifdef " << Guard << "\n";
  276   OS << "#ifdef " << Guard << "\n";
  285   OS << "enum " << Enum.Name << " {\n";
  285   OS << "enum " << Enum.Name << " {\n";
  287     OS << "  " << Entry->first << " = " << Entry->second << ",\n";
  287     OS << "  " << Entry->first << " = " << Entry->second << ",\n";
  287     OS << "  " << Entry->first << " = " << Entry->second << ",\n";
  288   OS << "};\n";
  290   OS << "#endif\n\n";
  297   OS << "\n";
  299   OS << " {\n";
  311     OS << "  struct IndexType {\n";
  313       OS << "    " << searchableFieldType(Field, TypeInStaticStruct) << " "
  313       OS << "    " << searchableFieldType(Field, TypeInStaticStruct) << " "
  314          << Field.Name << ";\n";
  316     OS << "    unsigned _index;\n";
  317     OS << "  };\n";
  319     OS << "  static const struct IndexType Index[] = {\n";
  336       OS << "    { ";
  340           OS << ", ";
  349       OS << ", " << Entry.second << " },\n";
  349       OS << ", " << Entry.second << " },\n";
  352     OS << "  };\n\n";
  373     OS << "  auto Table = makeArrayRef(" << IndexName << ");\n";
  373     OS << "  auto Table = makeArrayRef(" << IndexName << ");\n";
  374     OS << "  size_t Idx = " << Index.Fields[0].Name << ";\n";
  374     OS << "  size_t Idx = " << Index.Fields[0].Name << ";\n";
  375     OS << "  return Idx >= Table.size() ? nullptr : ";
  377       OS << "&Table[Idx]";
  379       OS << "&" << Table.Name << "[Table[Idx]._index]";
  379       OS << "&" << Table.Name << "[Table[Idx]._index]";
  380     OS << ";\n";
  381     OS << "}\n";
  391     OS << "  if ((" << Field.Name << " < " << FirstRepr << ") ||\n";
  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";
  392     OS << "      (" << Field.Name << " > " << LastRepr << "))\n";
  393     OS << "    return nullptr;\n\n";
  396   OS << "  struct KeyType {\n";
  398     OS << "    " << searchableFieldType(Field, TypeInTempStruct) << " "
  398     OS << "    " << searchableFieldType(Field, TypeInTempStruct) << " "
  399        << Field.Name << ";\n";
  401   OS << "  };\n";
  402   OS << "  KeyType Key = { ";
  406       OS << ", ";
  411       OS << ".upper()";
  418   OS << " };\n";
  420   OS << "  auto Table = makeArrayRef(" << IndexName << ");\n";
  420   OS << "  auto Table = makeArrayRef(" << IndexName << ");\n";
  421   OS << "  auto Idx = std::lower_bound(Table.begin(), Table.end(), Key,\n";
  422   OS << "    [](const " << IndexTypeName << " &LHS, const KeyType &RHS) {\n";
  422   OS << "    [](const " << IndexTypeName << " &LHS, const KeyType &RHS) {\n";
  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";
  427          << ").compare(RHS." << Field.Name << ");\n";
  428       OS << "      if (Cmp" << Field.Name << " < 0) return true;\n";
  428       OS << "      if (Cmp" << Field.Name << " < 0) return true;\n";
  429       OS << "      if (Cmp" << Field.Name << " > 0) return false;\n";
  429       OS << "      if (Cmp" << Field.Name << " > 0) return false;\n";
  433       OS << "      if ((unsigned)LHS." << Field.Name << " < (unsigned)RHS."
  433       OS << "      if ((unsigned)LHS." << Field.Name << " < (unsigned)RHS."
  434          << Field.Name << ")\n";
  435       OS << "        return true;\n";
  436       OS << "      if ((unsigned)LHS." << Field.Name << " > (unsigned)RHS."
  436       OS << "      if ((unsigned)LHS." << Field.Name << " > (unsigned)RHS."
  437          << Field.Name << ")\n";
  438       OS << "        return false;\n";
  440       OS << "      if (LHS." << Field.Name << " < RHS." << Field.Name << ")\n";
  440       OS << "      if (LHS." << Field.Name << " < RHS." << Field.Name << ")\n";
  440       OS << "      if (LHS." << Field.Name << " < RHS." << Field.Name << ")\n";
  441       OS << "        return true;\n";
  442       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";
  443       OS << "        return false;\n";
  447   OS << "      return false;\n";
  448   OS << "    });\n\n";
  450   OS << "  if (Idx == Table.end()";
  453     OS << " ||\n      Key." << Field.Name << " != Idx->" << Field.Name;
  453     OS << " ||\n      Key." << Field.Name << " != Idx->" << Field.Name;
  454   OS << ")\n    return nullptr;\n";
  457     OS << "  return &*Idx;\n";
  459     OS << "  return &" << Table.Name << "[Idx->_index];\n";
  459     OS << "  return &" << Table.Name << "[Idx->_index];\n";
  461   OS << "}\n";
  467   OS << "const " << Table.CppTypeName << " *" << Index.Name << "(";
  467   OS << "const " << Table.CppTypeName << " *" << Index.Name << "(";
  467   OS << "const " << Table.CppTypeName << " *" << Index.Name << "(";
  472       OS << ", ";
  475     OS << searchableFieldType(Field, TypeInArgument) << " " << Field.Name;
  477   OS << ")";
  487     OS << ";\n";
  491     OS << ";\n";
  494   OS << "#endif\n\n";
  499   OS << "constexpr " << Table.CppTypeName << " " << Table.Name << "[] = {\n";
  499   OS << "constexpr " << Table.CppTypeName << " " << Table.Name << "[] = {\n";
  499   OS << "constexpr " << Table.CppTypeName << " " << Table.Name << "[] = {\n";
  502     OS << "  { ";
  507         OS << ", ";
  513     OS << " }, // " << i << "\n";
  513     OS << " }, // " << i << "\n";
  515   OS << " };\n";
  524   OS << "#endif\n\n";
  786     OS << "#undef " << Guard << "\n";
  786     OS << "#undef " << Guard << "\n";
utils/TableGen/SequenceToOffsetTable.h
  119       OS << "  /* " << I->second << " */ ";
  119       OS << "  /* " << I->second << " */ ";
  123         OS << ", ";
  125       OS << Term << ",\n";
  125       OS << Term << ",\n";
utils/TableGen/SubtargetEmitter.cpp
  155   OS << "namespace " << Target << " {\n";
  155   OS << "namespace " << Target << " {\n";
  158   OS << "enum {\n";
  166     OS << "  " << Def->getName() << " = " << i << ",\n";
  166     OS << "  " << Def->getName() << " = " << i << ",\n";
  166     OS << "  " << Def->getName() << " = " << i << ",\n";
  172   OS << "  "
  173      << "NumSubtargetFeatures = " << N << "\n";
  173      << "NumSubtargetFeatures = " << N << "\n";
  176   OS << "};\n";
  177   OS << "} // end namespace " << Target << "\n";
  177   OS << "} // end namespace " << Target << "\n";
  188   OS << "{ { { ";
  190     OS << "0x";
  192     OS << "ULL, ";
  194   OS << "} } }";
  213   OS << "// Sorted (by key) array of values for CPU features.\n"
  214      << "extern const llvm::SubtargetFeatureKV " << Target
  215      << "FeatureKV[] = {\n";
  230     OS << "  { "
  231        << "\"" << CommandLineName << "\", "
  231        << "\"" << CommandLineName << "\", "
  232        << "\"" << Desc << "\", "
  232        << "\"" << Desc << "\", "
  233        << Target << "::" << Name << ", ";
  233        << Target << "::" << Name << ", ";
  239     OS << " },\n";
  244   OS << "};\n";
  262   OS << "// Sorted (by key) array of values for CPU subtype.\n"
  263      << "extern const llvm::SubtargetSubTypeKV " << Target
  264      << "SubTypeKV[] = {\n";
  272     OS << " { "
  273        << "\"" << Name << "\", ";
  273        << "\"" << Name << "\", ";
  280     OS << ", &" << ProcModelName << " },\n";
  280     OS << ", &" << ProcModelName << " },\n";
  284   OS << "};\n";
  395     OS << "\n// Functional units for \"" << Name << "\"\n"
  395     OS << "\n// Functional units for \"" << Name << "\"\n"
  396        << "namespace " << Name << "FU {\n";
  396        << "namespace " << Name << "FU {\n";
  399       OS << "  const unsigned " << FUs[j]->getName()
  400          << " = 1 << " << j << ";\n";
  400          << " = 1 << " << j << ";\n";
  402     OS << "} // end namespace " << Name << "FU\n";
  402     OS << "} // end namespace " << Name << "FU\n";
  406       OS << "\n// Pipeline forwarding paths for itineraries \"" << Name
  407          << "\"\n" << "namespace " << Name << "Bypass {\n";
  407          << "\"\n" << "namespace " << Name << "Bypass {\n";
  407          << "\"\n" << "namespace " << Name << "Bypass {\n";
  409       OS << "  const unsigned NoBypass = 0;\n";
  411         OS << "  const unsigned " << BPs[j]->getName()
  412            << " = 1 << " << j << ";\n";
  412            << " = 1 << " << j << ";\n";
  414       OS << "} // end namespace " << Name << "Bypass\n";
  414       OS << "} // end namespace " << Name << "Bypass\n";
  578     OS << "\n";
  579     OS << "static const llvm::InstrItinerary ";
  582     OS << ItinsDef->getName() << "[] = {\n";
  590       OS << "  { " <<
  591         Intinerary.NumMicroOps << ", " <<
  592         Intinerary.FirstStage << ", " <<
  593         Intinerary.LastStage << ", " <<
  594         Intinerary.FirstOperandCycle << ", " <<
  595         Intinerary.LastOperandCycle << " }" <<
  595         Intinerary.LastOperandCycle << " }" <<
  596         ", // " << j << " " << SchedModels.getSchedClass(j).Name << "\n";
  596         ", // " << j << " " << SchedModels.getSchedClass(j).Name << "\n";
  599     OS << "  { 0, uint16_t(~0U), uint16_t(~0U), uint16_t(~0U), uint16_t(~0U) }"
  601     OS << "};\n";
  610   OS << "  ";
  613     OS << V << Separator << " // " << Name;
  615     OS << "MCSchedModel::Default" << Name << Separator;
  621   OS << "\nstatic const unsigned " << ProcModel.ModelName
  622      << "ProcResourceSubUnits[] = {\n"
  623      << "  0,  // Invalid\n";
  634         OS << "  " << ProcModel.getProcResourceIdx(RU) << ", ";
  634         OS << "  " << ProcModel.getProcResourceIdx(RU) << ", ";
  637     OS << "  // " << PRDef->getName() << "\n";
  637     OS << "  // " << PRDef->getName() << "\n";
  639   OS << "};\n";
  652   OS << ReorderBufferSize << ", // ReorderBufferSize\n  ";
  653   OS << MaxRetirePerCycle << ", // MaxRetirePerCycle\n  ";
  660     OS << ProcModel.ModelName << "RegisterFiles,\n  " << (1 + NumRegisterFiles);
  662     OS << "nullptr,\n  0";
  664   OS << ", // Number of register files.\n  ";
  666     OS << ProcModel.ModelName << "RegisterCosts,\n  ";
  668     OS << "nullptr,\n  ";
  669   OS << NumCostEntries << ", // Number of register cost entries.\n";
  681   OS << "\n// {RegisterClassID, Register Cost, AllowMoveElimination }\n";
  682   OS << "static const llvm::MCRegisterCostEntry " << ProcModel.ModelName
  683      << "RegisterCosts"
  684      << "[] = {\n";
  692       OS << "  { ";
  695         OS << Rec->getValueAsString("Namespace") << "::";
  696       OS << Rec->getName() << "RegClassID, " << RC.Cost << ", "
  696       OS << Rec->getName() << "RegClassID, " << RC.Cost << ", "
  697          << RC.AllowMoveElimination << "},\n";
  700   OS << "};\n";
  703   OS << "\n // {Name, #PhysRegs, #CostEntries, IndexToCostTbl, "
  704      << "MaxMovesEliminatedPerCycle, AllowZeroMoveEliminationOnly }\n";
  705   OS << "static const llvm::MCRegisterFileDesc " << ProcModel.ModelName
  706      << "RegisterFiles"
  707      << "[] = {\n"
  708      << "  { \"InvalidRegisterFile\", 0, 0, 0, 0, 0 },\n";
  712     OS << "  { ";
  713     OS << '"' << RD.Name << '"' << ", " << RD.NumPhysRegs << ", ";
  713     OS << '"' << RD.Name << '"' << ", " << RD.NumPhysRegs << ", ";
  715     OS << NumCostEntries << ", " << CostTblIndex << ", "
  715     OS << NumCostEntries << ", " << CostTblIndex << ", "
  716        << RD.MaxMovesEliminatedPerCycle << ", "
  717        << RD.AllowZeroMoveEliminationOnly << "},\n";
  720   OS << "};\n";
  735   OS << "  " << QueueID << ", // Resource Descriptor for the Load Queue\n";
  735   OS << "  " << QueueID << ", // Resource Descriptor for the Load Queue\n";
  746   OS << "  " << QueueID << ", // Resource Descriptor for the Store Queue\n";
  746   OS << "  " << QueueID << ", // Resource Descriptor for the Store Queue\n";
  756   OS << "\nstatic const llvm::MCExtraProcessorInfo " << ProcModel.ModelName
  757      << "ExtraInfo = {\n  ";
  770   OS << "};\n";
  777   OS << "\n// {Name, NumUnits, SuperIdx, BufferSize, SubUnitsIdxBegin}\n";
  778   OS << "static const llvm::MCProcResourceDesc " << ProcModel.ModelName
  779      << "ProcResources"
  780      << "[] = {\n"
  781      << "  {\"InvalidUnit\", 0, 0, 0, 0},\n";
  810     OS << "  {\"" << PRDef->getName() << "\", ";
  810     OS << "  {\"" << PRDef->getName() << "\", ";
  813     OS << NumUnits << ", " << SuperIdx << ", " << BufferSize << ", ";
  813     OS << NumUnits << ", " << SuperIdx << ", " << BufferSize << ", ";
  813     OS << NumUnits << ", " << SuperIdx << ", " << BufferSize << ", ";
  815       OS << ProcModel.ModelName << "ProcResourceSubUnits + "
  818       OS << "nullptr";
  820     OS << "}, // #" << i+1;
  822       OS << ", Super=" << SuperDef->getName();
  823     OS << "\n";
  825   OS << "};\n";
  989   LLVM_DEBUG(dbgs() << "\n+++ SCHED CLASSES (GenSchedClassTables) +++\n");
 1058                           << " does not have resources for class " << SC.Name
 1247   OS << "\n// {ProcResourceIdx, Cycles}\n"
 1248      << "extern const llvm::MCWriteProcResEntry "
 1249      << Target << "WriteProcResTable[] = {\n"
 1250      << "  { 0,  0}, // Invalid\n";
 1254     OS << "  {" << format("%2d", WPREntry.ProcResourceIdx) << ", "
 1254     OS << "  {" << format("%2d", WPREntry.ProcResourceIdx) << ", "
 1255        << format("%2d", WPREntry.Cycles) << "}";
 1258     OS << " // #" << WPRIdx << '\n';
 1260   OS << "}; // " << Target << "WriteProcResTable\n";
 1260   OS << "}; // " << Target << "WriteProcResTable\n";
 1263   OS << "\n// {Cycles, WriteResourceID}\n"
 1264      << "extern const llvm::MCWriteLatencyEntry "
 1265      << Target << "WriteLatencyTable[] = {\n"
 1266      << "  { 0,  0}, // Invalid\n";
 1270     OS << "  {" << format("%2d", WLEntry.Cycles) << ", "
 1270     OS << "  {" << format("%2d", WLEntry.Cycles) << ", "
 1271        << format("%2d", WLEntry.WriteResourceID) << "}";
 1274     OS << " // #" << WLIdx << " " << SchedTables.WriterNames[WLIdx] << '\n';
 1274     OS << " // #" << WLIdx << " " << SchedTables.WriterNames[WLIdx] << '\n';
 1276   OS << "}; // " << Target << "WriteLatencyTable\n";
 1276   OS << "}; // " << Target << "WriteLatencyTable\n";
 1279   OS << "\n// {UseIdx, WriteResourceID, Cycles}\n"
 1280      << "extern const llvm::MCReadAdvanceEntry "
 1281      << Target << "ReadAdvanceTable[] = {\n"
 1282      << "  {0,  0,  0}, // Invalid\n";
 1286     OS << "  {" << RAEntry.UseIdx << ", "
 1286     OS << "  {" << RAEntry.UseIdx << ", "
 1287        << format("%2d", RAEntry.WriteResourceID) << ", "
 1288        << format("%2d", RAEntry.Cycles) << "}";
 1291     OS << " // #" << RAIdx << '\n';
 1293   OS << "}; // " << Target << "ReadAdvanceTable\n";
 1293   OS << "}; // " << Target << "ReadAdvanceTable\n";
 1304     OS << "\n// {Name, NumMicroOps, BeginGroup, EndGroup,"
 1305        << " WriteProcResIdx,#, WriteLatencyIdx,#, ReadAdvanceIdx,#}\n";
 1306     OS << "static const llvm::MCSchedClassDesc "
 1307        << PI->ModelName << "SchedClasses[] = {\n";
 1313     OS << "  {DBGFIELD(\"InvalidSchedClass\")  "
 1315        << ", false, false,  0, 0,  0, 0,  0, 0},\n";
 1320       OS << "  {DBGFIELD(\"" << SchedClass.Name << "\") ";
 1320       OS << "  {DBGFIELD(\"" << SchedClass.Name << "\") ";
 1324          << ", " << ( MCDesc.BeginGroup ? "true" : "false" )
 1324          << ", " << ( MCDesc.BeginGroup ? "true" : "false" )
 1325          << ", " << ( MCDesc.EndGroup ? "true" : "false" )
 1325          << ", " << ( MCDesc.EndGroup ? "true" : "false" )
 1326          << ", " << format("%2d", MCDesc.WriteProcResIdx)
 1327          << ", " << MCDesc.NumWriteProcResEntries
 1328          << ", " << format("%2d", MCDesc.WriteLatencyIdx)
 1329          << ", " << MCDesc.NumWriteLatencyEntries
 1330          << ", " << format("%2d", MCDesc.ReadAdvanceIdx)
 1331          << ", " << MCDesc.NumReadAdvanceEntries
 1332          << "}, // #" << SCIdx << '\n';
 1334     OS << "}; // " << PI->ModelName << "SchedClasses\n";
 1334     OS << "}; // " << PI->ModelName << "SchedClasses\n";
 1352     OS << "\n";
 1353     OS << "static const llvm::MCSchedModel " << PM.ModelName << " = {\n";
 1353     OS << "static const llvm::MCSchedModel " << PM.ModelName << " = {\n";
 1364     OS << "  " << (PostRAScheduler ? "true" : "false")  << ", // "
 1364     OS << "  " << (PostRAScheduler ? "true" : "false")  << ", // "
 1364     OS << "  " << (PostRAScheduler ? "true" : "false")  << ", // "
 1365        << "PostRAScheduler\n";
 1370     OS << "  " << (CompleteModel ? "true" : "false") << ", // "
 1370     OS << "  " << (CompleteModel ? "true" : "false") << ", // "
 1370     OS << "  " << (CompleteModel ? "true" : "false") << ", // "
 1371        << "CompleteModel\n";
 1373     OS << "  " << PM.Index << ", // Processor ID\n";
 1373     OS << "  " << PM.Index << ", // Processor ID\n";
 1375       OS << "  " << PM.ModelName << "ProcResources" << ",\n"
 1375       OS << "  " << PM.ModelName << "ProcResources" << ",\n"
 1375       OS << "  " << PM.ModelName << "ProcResources" << ",\n"
 1376          << "  " << PM.ModelName << "SchedClasses" << ",\n"
 1376          << "  " << PM.ModelName << "SchedClasses" << ",\n"
 1376          << "  " << PM.ModelName << "SchedClasses" << ",\n"
 1377          << "  " << PM.ProcResourceDefs.size()+1 << ",\n"
 1377          << "  " << PM.ProcResourceDefs.size()+1 << ",\n"
 1378          << "  " << (SchedModels.schedClassEnd()
 1379                      - SchedModels.schedClassBegin()) << ",\n";
 1381       OS << "  nullptr, nullptr, 0, 0,"
 1382          << " // No instruction-level machine model.\n";
 1384       OS << "  " << PM.ItinsDef->getName() << ",\n";
 1384       OS << "  " << PM.ItinsDef->getName() << ",\n";
 1386       OS << "  nullptr, // No Itinerary\n";
 1388       OS << "  &" << PM.ModelName << "ExtraInfo,\n";
 1388       OS << "  &" << PM.ModelName << "ExtraInfo,\n";
 1390       OS << "  nullptr // No extra processor descriptor\n";
 1391     OS << "};\n";
 1399   OS << "#ifdef DBGFIELD\n"
 1400      << "#error \"<target>GenSubtargetInfo.inc requires a DBGFIELD macro\"\n"
 1401      << "#endif\n"
 1402      << "#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)\n"
 1403      << "#define DBGFIELD(x) x,\n"
 1404      << "#else\n"
 1405      << "#define DBGFIELD(x)\n"
 1406      << "#endif\n";
 1414   OS << "\n// ===============================================================\n"
 1415      << "// Data tables for the new per-operand machine model.\n";
 1423   OS << "\n#undef DBGFIELD\n";
 1464     SS << "if (";
 1476         SS << "\n";
 1478         SS << "&& ";
 1488       SS << ((NumNonTruePreds > 1) ? "(" : "")
 1490          << ((NumNonTruePreds > 1) ? ")" : "");
 1493     SS << ")\n"; // end of if-stmt
 1499   SS << "return " << T.ToClassIdx << "; // " << SC.Name << '\n';
 1499   SS << "return " << T.ToClassIdx << "; // " << SC.Name << '\n';
 1508     OS << "  // Don't know how to resolve this scheduling class.\n"
 1509        << "  return 0;\n";
 1513   OS << "  report_fatal_error(\"Expected a variant SchedClass\");\n";
 1574   OS << "  switch (SchedClass) {\n";
 1580     OS << "  case " << VC << ": // " << SC.Name << '\n';
 1580     OS << "  case " << VC << ": // " << SC.Name << '\n';
 1586       OS << "    ";
 1590         OS << (OnlyExpandMCInstPredicates
 1593         OS << PI << ") ";
 1594         OS << "{ // " << (SchedModels.procModelBegin() + PI)->ModelName << '\n';
 1616       OS << "    }\n";
 1623       OS << "    return " << SC.Index << ";\n";
 1623       OS << "    return " << SC.Index << ";\n";
 1624     OS << "    break;\n";
 1627   OS << "  };\n";
 1634   OS << "unsigned " << ClassName
 1635      << "\n::resolveSchedClass(unsigned SchedClass, const MachineInstr *MI,"
 1636      << " const TargetSchedModel *SchedModel) const {\n";
 1644   OS << "} // " << ClassName << "::resolveSchedClass\n\n";
 1644   OS << "} // " << ClassName << "::resolveSchedClass\n\n";
 1646   OS << "unsigned " << ClassName
 1647      << "\n::resolveVariantSchedClass(unsigned SchedClass, const MCInst *MI,"
 1648      << " unsigned CPUID) const {\n"
 1649      << "  return " << Target << "_MC"
 1649      << "  return " << Target << "_MC"
 1650      << "::resolveVariantSchedClassImpl(SchedClass, MI, CPUID);\n"
 1651      << "} // " << ClassName << "::resolveVariantSchedClass\n\n";
 1651      << "} // " << ClassName << "::resolveVariantSchedClass\n\n";
 1670   OS << "unsigned " << ClassName << "::getHwMode() const {\n";
 1670   OS << "unsigned " << ClassName << "::getHwMode() const {\n";
 1673     OS << "  if (checkFeatures(\"" << HM.Features
 1674        << "\")) return " << M << ";\n";
 1674        << "\")) return " << M << ";\n";
 1676   OS << "  return 0;\n}\n";
 1690   OS << "// ParseSubtargetFeatures - Parses features string setting specified\n"
 1691      << "// subtarget options.\n"
 1692      << "void llvm::";
 1694   OS << "Subtarget::ParseSubtargetFeatures(StringRef CPU, StringRef FS) {\n"
 1695      << "  LLVM_DEBUG(dbgs() << \"\\nFeatures:\" << FS);\n"
 1696      << "  LLVM_DEBUG(dbgs() << \"\\nCPU:\" << CPU << \"\\n\\n\");\n";
 1699     OS << "}\n";
 1703   OS << "  InitMCProcessorInfo(CPU, FS);\n"
 1704      << "  const FeatureBitset& Bits = getFeatureBits();\n";
 1713       OS << "  if (Bits[" << Target << "::"
 1713       OS << "  if (Bits[" << Target << "::"
 1714          << Instance << "]) "
 1715          << Attribute << " = " << Value << ";\n";
 1715          << Attribute << " = " << Value << ";\n";
 1717       OS << "  if (Bits[" << Target << "::"
 1717       OS << "  if (Bits[" << Target << "::"
 1718          << Instance << "] && "
 1719          << Attribute << " < " << Value << ") "
 1719          << Attribute << " < " << Value << ") "
 1720          << Attribute << " = " << Value << ";\n";
 1720          << Attribute << " = " << Value << ";\n";
 1723   OS << "}\n";
 1727   OS << "namespace " << Target << "_MC {\n"
 1727   OS << "namespace " << Target << "_MC {\n"
 1728      << "unsigned resolveVariantSchedClassImpl(unsigned SchedClass,\n"
 1729      << "    const MCInst *MI, unsigned CPUID) {\n";
 1731   OS << "}\n";
 1732   OS << "} // end namespace " << Target << "_MC\n\n";
 1732   OS << "} // end namespace " << Target << "_MC\n\n";
 1734   OS << "struct " << Target
 1735      << "GenMCSubtargetInfo : public MCSubtargetInfo {\n";
 1736   OS << "  " << Target << "GenMCSubtargetInfo(const Triple &TT, \n"
 1736   OS << "  " << Target << "GenMCSubtargetInfo(const Triple &TT, \n"
 1737      << "    StringRef CPU, StringRef FS, ArrayRef<SubtargetFeatureKV> PF,\n"
 1738      << "    ArrayRef<SubtargetSubTypeKV> PD,\n"
 1739      << "    const MCWriteProcResEntry *WPR,\n"
 1740      << "    const MCWriteLatencyEntry *WL,\n"
 1741      << "    const MCReadAdvanceEntry *RA, const InstrStage *IS,\n"
 1742      << "    const unsigned *OC, const unsigned *FP) :\n"
 1743      << "      MCSubtargetInfo(TT, CPU, FS, PF, PD,\n"
 1744      << "                      WPR, WL, RA, IS, OC, FP) { }\n\n"
 1745      << "  unsigned resolveVariantSchedClass(unsigned SchedClass,\n"
 1746      << "      const MCInst *MI, unsigned CPUID) const override {\n"
 1747      << "    return " << Target << "_MC"
 1747      << "    return " << Target << "_MC"
 1748      << "::resolveVariantSchedClassImpl(SchedClass, MI, CPUID); \n";
 1749   OS << "  }\n";
 1751     OS << "  unsigned getHwMode() const override;\n";
 1752   OS << "};\n";
 1757   OS << "\n#ifdef GET_STIPREDICATE_DECLS_FOR_MC_ANALYSIS\n";
 1758   OS << "#undef GET_STIPREDICATE_DECLS_FOR_MC_ANALYSIS\n\n";
 1766   OS << "#endif // GET_STIPREDICATE_DECLS_FOR_MC_ANALYSIS\n\n";
 1768   OS << "\n#ifdef GET_STIPREDICATE_DEFS_FOR_MC_ANALYSIS\n";
 1769   OS << "#undef GET_STIPREDICATE_DEFS_FOR_MC_ANALYSIS\n\n";
 1778   OS << "#endif // GET_STIPREDICATE_DEFS_FOR_MC_ANALYSIS\n\n";
 1787   OS << "\n#ifdef GET_SUBTARGETINFO_ENUM\n";
 1788   OS << "#undef GET_SUBTARGETINFO_ENUM\n\n";
 1792   OS << "namespace llvm {\n";
 1794   OS << "} // end namespace llvm\n\n";
 1795   OS << "#endif // GET_SUBTARGETINFO_ENUM\n\n";
 1797   OS << "\n#ifdef GET_SUBTARGETINFO_MC_DESC\n";
 1798   OS << "#undef GET_SUBTARGETINFO_MC_DESC\n\n";
 1800   OS << "namespace llvm {\n";
 1805   OS << "\n";
 1807   OS << "\n";
 1809   OS << "\n";
 1817   OS << "\nstatic inline MCSubtargetInfo *create" << Target
 1818      << "MCSubtargetInfoImpl("
 1819      << "const Triple &TT, StringRef CPU, StringRef FS) {\n";
 1820   OS << "  return new " << Target << "GenMCSubtargetInfo(TT, CPU, FS, ";
 1820   OS << "  return new " << Target << "GenMCSubtargetInfo(TT, CPU, FS, ";
 1822     OS << Target << "FeatureKV, ";
 1824     OS << "None, ";
 1826     OS << Target << "SubTypeKV, ";
 1828     OS << "None, ";
 1830   OS << Target << "WriteProcResTable, "
 1831      << Target << "WriteLatencyTable, "
 1832      << Target << "ReadAdvanceTable, ";
 1835     OS << Target << "Stages, "
 1836        << Target << "OperandCycles, "
 1837        << Target << "ForwardingPaths";
 1839     OS << "nullptr, nullptr, nullptr";
 1840   OS << ");\n}\n\n";
 1842   OS << "} // end namespace llvm\n\n";
 1844   OS << "#endif // GET_SUBTARGETINFO_MC_DESC\n\n";
 1846   OS << "\n#ifdef GET_SUBTARGETINFO_TARGET_DESC\n";
 1847   OS << "#undef GET_SUBTARGETINFO_TARGET_DESC\n\n";
 1849   OS << "#include \"llvm/Support/Debug.h\"\n";
 1850   OS << "#include \"llvm/Support/raw_ostream.h\"\n\n";
 1853   OS << "#endif // GET_SUBTARGETINFO_TARGET_DESC\n\n";
 1856   OS << "\n#ifdef GET_SUBTARGETINFO_HEADER\n";
 1857   OS << "#undef GET_SUBTARGETINFO_HEADER\n\n";
 1860   OS << "namespace llvm {\n";
 1861   OS << "class DFAPacketizer;\n";
 1862   OS << "namespace " << Target << "_MC {\n"
 1862   OS << "namespace " << Target << "_MC {\n"
 1863      << "unsigned resolveVariantSchedClassImpl(unsigned SchedClass,"
 1864      << " const MCInst *MI, unsigned CPUID);\n"
 1865      << "} // end namespace " << Target << "_MC\n\n";
 1865      << "} // end namespace " << Target << "_MC\n\n";
 1866   OS << "struct " << ClassName << " : public TargetSubtargetInfo {\n"
 1866   OS << "struct " << ClassName << " : public TargetSubtargetInfo {\n"
 1867      << "  explicit " << ClassName << "(const Triple &TT, StringRef CPU, "
 1867      << "  explicit " << ClassName << "(const Triple &TT, StringRef CPU, "
 1868      << "StringRef FS);\n"
 1869      << "public:\n"
 1870      << "  unsigned resolveSchedClass(unsigned SchedClass, "
 1871      << " const MachineInstr *DefMI,"
 1872      << " const TargetSchedModel *SchedModel) const override;\n"
 1873      << "  unsigned resolveVariantSchedClass(unsigned SchedClass,"
 1874      << " const MCInst *MI, unsigned CPUID) const override;\n"
 1875      << "  DFAPacketizer *createDFAPacketizer(const InstrItineraryData *IID)"
 1876      << " const;\n";
 1878     OS << "  unsigned getHwMode() const override;\n";
 1885   OS << "};\n"
 1886      << "} // end namespace llvm\n\n";
 1888   OS << "#endif // GET_SUBTARGETINFO_HEADER\n\n";
 1890   OS << "\n#ifdef GET_SUBTARGETINFO_CTOR\n";
 1891   OS << "#undef GET_SUBTARGETINFO_CTOR\n\n";
 1893   OS << "#include \"llvm/CodeGen/TargetSchedule.h\"\n\n";
 1894   OS << "namespace llvm {\n";
 1895   OS << "extern const llvm::SubtargetFeatureKV " << Target << "FeatureKV[];\n";
 1895   OS << "extern const llvm::SubtargetFeatureKV " << Target << "FeatureKV[];\n";
 1896   OS << "extern const llvm::SubtargetSubTypeKV " << Target << "SubTypeKV[];\n";
 1896   OS << "extern const llvm::SubtargetSubTypeKV " << Target << "SubTypeKV[];\n";
 1897   OS << "extern const llvm::MCWriteProcResEntry "
 1898      << Target << "WriteProcResTable[];\n";
 1899   OS << "extern const llvm::MCWriteLatencyEntry "
 1900      << Target << "WriteLatencyTable[];\n";
 1901   OS << "extern const llvm::MCReadAdvanceEntry "
 1902      << Target << "ReadAdvanceTable[];\n";
 1905     OS << "extern const llvm::InstrStage " << Target << "Stages[];\n";
 1905     OS << "extern const llvm::InstrStage " << Target << "Stages[];\n";
 1906     OS << "extern const unsigned " << Target << "OperandCycles[];\n";
 1906     OS << "extern const unsigned " << Target << "OperandCycles[];\n";
 1907     OS << "extern const unsigned " << Target << "ForwardingPaths[];\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, "
 1911      << "StringRef FS)\n"
 1912      << "  : TargetSubtargetInfo(TT, CPU, FS, ";
 1914     OS << "makeArrayRef(" << Target << "FeatureKV, " << NumFeatures << "), ";
 1914     OS << "makeArrayRef(" << Target << "FeatureKV, " << NumFeatures << "), ";
 1914     OS << "makeArrayRef(" << Target << "FeatureKV, " << NumFeatures << "), ";
 1916     OS << "None, ";
 1918     OS << "makeArrayRef(" << Target << "SubTypeKV, " << NumProcs << "), ";
 1918     OS << "makeArrayRef(" << Target << "SubTypeKV, " << NumProcs << "), ";
 1918     OS << "makeArrayRef(" << Target << "SubTypeKV, " << NumProcs << "), ";
 1920     OS << "None, ";
 1922   OS << Target << "WriteProcResTable, "
 1923      << Target << "WriteLatencyTable, "
 1924      << Target << "ReadAdvanceTable, ";
 1927     OS << Target << "Stages, "
 1928        << Target << "OperandCycles, "
 1929        << Target << "ForwardingPaths";
 1931     OS << "nullptr, nullptr, nullptr";
 1932   OS << ") {}\n\n";
 1937   OS << "} // end namespace llvm\n\n";
 1939   OS << "#endif // GET_SUBTARGETINFO_CTOR\n\n";
utils/TableGen/SubtargetFeatureInfo.cpp
   21   errs() << getEnumName() << " " << Index << "\n" << *TheDef;
   21   errs() << getEnumName() << " " << Index << "\n" << *TheDef;
   53   OS << "// Bits for subtarget features that participate in "
   54      << "instruction matching.\n";
   55   OS << "enum SubtargetFeatureBits : "
   56      << getMinimalTypeForRange(SubtargetFeatures.size()) << " {\n";
   56      << getMinimalTypeForRange(SubtargetFeatures.size()) << " {\n";
   59     OS << "  " << SFI.getEnumBitName() << " = " << SFI.Index << ",\n";
   59     OS << "  " << SFI.getEnumBitName() << " = " << SFI.Index << ",\n";
   59     OS << "  " << SFI.getEnumBitName() << " = " << SFI.Index << ",\n";
   61   OS << "};\n\n";
   80   OS << "static const char *SubtargetFeatureNames[] = {\n";
   82     OS << "  \"" << Names[I] << "\",\n";
   82     OS << "  \"" << Names[I] << "\",\n";
   86   OS << "  nullptr\n"
   87      << "};\n\n";
   94   OS << "PredicateBitset " << TargetName << ClassName << "::\n"
   94   OS << "PredicateBitset " << TargetName << ClassName << "::\n"
   95      << FuncName << "(const " << TargetName << "Subtarget *Subtarget";
   95      << FuncName << "(const " << TargetName << "Subtarget *Subtarget";
   97     OS << ", " << ExtraParams;
   98   OS << ") const {\n";
   99   OS << "  PredicateBitset Features;\n";
  105     OS << "  if (" << CondStr << ")\n";
  105     OS << "  if (" << CondStr << ")\n";
  106     OS << "    Features.set(" << SFI.getEnumBitName() << ");\n";
  106     OS << "    Features.set(" << SFI.getEnumBitName() << ");\n";
  108   OS << "  return Features;\n";
  109   OS << "}\n\n";
  115   OS << "FeatureBitset " << TargetName << ClassName << "::\n"
  115   OS << "FeatureBitset " << TargetName << ClassName << "::\n"
  116      << FuncName << "(const FeatureBitset& FB) const {\n";
  117   OS << "  FeatureBitset Features;\n";
  121     OS << "  if (";
  129         OS << " && ";
  138       OS << "(";
  140         OS << "!";
  141       OS << "FB[" << TargetName << "::" << Cond << "])";
  141       OS << "FB[" << TargetName << "::" << Cond << "])";
  141       OS << "FB[" << TargetName << "::" << Cond << "])";
  150     OS << ")\n";
  151     OS << "    Features.set(" << SFI.getEnumBitName() << ");\n";
  151     OS << "    Features.set(" << SFI.getEnumBitName() << ");\n";
  153   OS << "  return Features;\n";
  154   OS << "}\n\n";
utils/TableGen/TableGen.cpp
  210       OS << Rec->getName() << ", ";
  211     OS << "\n";
  219       OS << Rec->getName() << " = [";
  224       OS << " ]\n";
utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
   81   OS << "#include \"MCTargetDesc/WebAssemblyMCTargetDesc.h\"\n";
   82   OS << "\n";
   83   OS << "namespace llvm {\n\n";
   84   OS << "static constexpr int WebAssemblyInstructionTableSize = ";
   85   OS << WebAssemblyInstructionTableSize << ";\n\n";
   86   OS << "enum EntryType : uint8_t { ";
   87   OS << "ET_Unused, ET_Prefix, ET_Instruction };\n\n";
   88   OS << "struct WebAssemblyInstruction {\n";
   89   OS << "  uint16_t Opcode;\n";
   90   OS << "  EntryType ET;\n";
   91   OS << "  uint8_t NumOperands;\n";
   92   OS << "  uint16_t OperandStart;\n";
   93   OS << "};\n\n";
   99     OS << "WebAssemblyInstruction InstructionTable" << PrefixPair.first;
  100     OS << "[] = {\n";
  107         OS << "  // 0x";
  109         OS << ": " << CGI.AsmString << "\n";
  109         OS << ": " << CGI.AsmString << "\n";
  110         OS << "  { " << InstIt->second.first << ", ET_Instruction, ";
  110         OS << "  { " << InstIt->second.first << ", ET_Instruction, ";
  111         OS << CGI.Operands.OperandList.size() << ", ";
  144           OS << "  { 0, ET_Prefix, 0, 0";
  146           OS << "  { 0, ET_Unused, 0, 0";
  149       OS << "  },\n";
  151     OS << "};\n\n";
  154   OS << "const uint8_t OperandTable[] = {\n";
  156     OS << "  " << Op << ",\n";
  156     OS << "  " << Op << ",\n";
  158   OS << "};\n\n";
  160   OS << "struct { uint8_t Prefix; const WebAssemblyInstruction *Table; }\n";
  161   OS << "PrefixTable[] = {\n";
  165     OS << "  { " << PrefixPair.first << ", InstructionTable"
  165     OS << "  { " << PrefixPair.first << ", InstructionTable"
  167     OS << " },\n";
  169   OS << "  { 0, nullptr }\n};\n\n";
  170   OS << "} // end namespace llvm\n";
utils/TableGen/X86DisassemblerTables.cpp
  558     errs() << "Unknown instruction class: " <<
  558     errs() << "Unknown instruction class: " <<
  559       stringForContext((InstructionContext)parent) << "\n";
  672     o2.indent(i2) << "{ /* ModRMDecision */" << "\n";
  672     o2.indent(i2) << "{ /* ModRMDecision */" << "\n";
  675     o2.indent(i2) << stringForDecisionType(dt) << "," << "\n";
  675     o2.indent(i2) << stringForDecisionType(dt) << "," << "\n";
  675     o2.indent(i2) << stringForDecisionType(dt) << "," << "\n";
  676     o2.indent(i2) << 0 << " /* EmptyTable */\n";
  679     o2.indent(i2) << "}";
  718     o1 << "/* Table" << EntryNumber << " */\n";
  718     o1 << "/* Table" << EntryNumber << " */\n";
  722       o1.indent(i1 * 2) << format("0x%hx", *I) << ", /* "
  723                         << InstructionSpecifiers[*I].name << " */\n";
  728   o2.indent(i2) << "{ /* struct ModRMDecision */" << "\n";
  728   o2.indent(i2) << "{ /* struct ModRMDecision */" << "\n";
  731   o2.indent(i2) << stringForDecisionType(dt) << "," << "\n";
  731   o2.indent(i2) << stringForDecisionType(dt) << "," << "\n";
  731   o2.indent(i2) << stringForDecisionType(dt) << "," << "\n";
  732   o2.indent(i2) << EntryNumber << " /* Table" << EntryNumber << " */\n";
  732   o2.indent(i2) << EntryNumber << " /* Table" << EntryNumber << " */\n";
  735   o2.indent(i2) << "}";
  768   o2.indent(i2) << "{ /* struct OpcodeDecision */" << "\n";
  768   o2.indent(i2) << "{ /* struct OpcodeDecision */" << "\n";
  770   o2.indent(i2) << "{" << "\n";
  770   o2.indent(i2) << "{" << "\n";
  776     o2 << "/* 0x" << format("%02hhx", index) << " */" << "\n";
  776     o2 << "/* 0x" << format("%02hhx", index) << " */" << "\n";
  776     o2 << "/* 0x" << format("%02hhx", index) << " */" << "\n";
  782       o2 << ",";
  784     o2 << "\n";
  788   o2.indent(i2) << "}" << "\n";
  788   o2.indent(i2) << "}" << "\n";
  790   o2.indent(i2) << "}" << "\n";
  790   o2.indent(i2) << "}" << "\n";
  798   o2.indent(i2) << "static const struct ContextDecision " << name << " = {\n";
  798   o2.indent(i2) << "static const struct ContextDecision " << name << " = {\n";
  798   o2.indent(i2) << "static const struct ContextDecision " << name << " = {\n";
  800   o2.indent(i2) << "{ /* opcodeDecisions */" << "\n";
  800   o2.indent(i2) << "{ /* opcodeDecisions */" << "\n";
  804     o2.indent(i2) << "/* ";
  805     o2 << stringForContext((InstructionContext)index);
  806     o2 << " */";
  807     o2 << "\n";
  813       o2 << ", ";
  817   o2.indent(i2) << "}" << "\n";
  817   o2.indent(i2) << "}" << "\n";
  819   o2.indent(i2) << "};" << "\n";
  819   o2.indent(i2) << "};" << "\n";
  826   o << "static const struct OperandSpecifier x86OperandSets[]["
  827     << X86_MAX_OPERANDS << "] = {\n";
  850     o << "  { /* " << (OperandSetNum - 1) << " */\n";
  850     o << "  { /* " << (OperandSetNum - 1) << " */\n";
  854       o << "    { " << Encoding << ", " << Type << " },\n";
  854       o << "    { " << Encoding << ", " << Type << " },\n";
  854       o << "    { " << Encoding << ", " << Type << " },\n";
  854       o << "    { " << Encoding << ", " << Type << " },\n";
  854       o << "    { " << Encoding << ", " << Type << " },\n";
  856     o << "  },\n";
  858   o << "};" << "\n\n";
  858   o << "};" << "\n\n";
  860   o.indent(i * 2) << "static const struct InstructionSpecifier ";
  861   o << INSTRUCTIONS_STR "[" << InstructionSpecifiers.size() << "] = {\n";
  861   o << INSTRUCTIONS_STR "[" << InstructionSpecifiers.size() << "] = {\n";
  866     o.indent(i * 2) << "{ /* " << index << " */\n";
  866     o.indent(i * 2) << "{ /* " << index << " */\n";
  878     o.indent(i * 2) << (OperandSets[OperandList] - 1) << ",\n";
  880     o.indent(i * 2) << "/* " << InstructionSpecifiers[index].name << " */\n";
  880     o.indent(i * 2) << "/* " << InstructionSpecifiers[index].name << " */\n";
  883     o.indent(i * 2) << "},\n";
  887   o.indent(i * 2) << "};" << "\n";
  887   o.indent(i * 2) << "};" << "\n";
  891   o.indent(i * 2) << "static const uint8_t " CONTEXTS_STR
  892                      "[" << ATTR_max << "] = {\n";
  900         o << "IC_EVEX";
  902         o << "IC_VEX";
  905         o << "_L2";
  907         o << "_L";
  910         o << "_W";
  913         o << "_OPSIZE";
  915         o << "_XD";
  917         o << "_XS";
  921           o << "_KZ";
  923           o << "_K";
  926           o << "_B";
  930       o << "IC_64BIT_REXW_XS";
  932       o << "IC_64BIT_REXW_XD";
  935       o << "IC_64BIT_REXW_OPSIZE";
  938       o << "IC_64BIT_REXW_ADSIZE";
  940       o << "IC_64BIT_XD_OPSIZE";
  942       o << "IC_64BIT_XD_ADSIZE";
  944       o << "IC_64BIT_XS_OPSIZE";
  946       o << "IC_64BIT_XS_ADSIZE";
  948       o << "IC_64BIT_XS";
  950       o << "IC_64BIT_XD";
  953       o << "IC_64BIT_OPSIZE_ADSIZE";
  955       o << "IC_64BIT_OPSIZE";
  957       o << "IC_64BIT_ADSIZE";
  959       o << "IC_64BIT_REXW";
  961       o << "IC_64BIT";
  963       o << "IC_XS_OPSIZE";
  965       o << "IC_XD_OPSIZE";
  967       o << "IC_XS_ADSIZE";
  969       o << "IC_XD_ADSIZE";
  971       o << "IC_XS";
  973       o << "IC_XD";
  975       o << "IC_OPSIZE_ADSIZE";
  977       o << "IC_OPSIZE";
  979       o << "IC_ADSIZE";
  981       o << "IC";
  983     o << ", /* " << index << " */";
  983     o << ", /* " << index << " */";
  985     o << "\n";
  989   o.indent(i * 2) << "};" << "\n";
  989   o.indent(i * 2) << "};" << "\n";
 1016   o << "\n";
 1019   o << "\n";
 1023   o << "static const InstrUID modRMTable[] = {\n";
 1028   o1 << "/* EmptyTable */\n";
 1029   o1.indent(i1 * 2) << "0x0,\n";
 1034   o << "  0x0\n";
 1035   o << "};\n";
 1036   o << "\n";
 1038   o << "\n";
 1039   o << "\n";
 1066           errs() << "Error: Primary decode conflict: ";
 1067           errs() << newInfo.name << " would overwrite " << previousInfo.name;
 1068           errs() << "\n";
 1069           errs() << "ModRM   " << index << "\n";
 1069           errs() << "ModRM   " << index << "\n";
 1070           errs() << "Opcode  " << (uint16_t)opcode << "\n";
 1070           errs() << "Opcode  " << (uint16_t)opcode << "\n";
 1071           errs() << "Context " << stringForContext(newInfo.insnContext) << "\n";
 1071           errs() << "Context " << stringForContext(newInfo.insnContext) << "\n";
 1071           errs() << "Context " << stringForContext(newInfo.insnContext) << "\n";
utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
   54   OS << "// X86 EVEX encoded instructions that have a VEX " << Size
   55      << " encoding\n"
   56      << "// (table format: <EVEX opcode, VEX-" << Size << " opcode>).\n"
   56      << "// (table format: <EVEX opcode, VEX-" << Size << " opcode>).\n"
   57      << "static const X86EvexToVexCompressTableEntry X86EvexToVex" << Size
   58      << "CompressTable[] = {\n"
   59      << "  // EVEX scalar with corresponding VEX.\n";
   63     OS << "  { X86::" << Pair.first->TheDef->getName()
   64        << ", X86::" << Pair.second->TheDef->getName() << " },\n";
   64        << ", X86::" << Pair.second->TheDef->getName() << " },\n";
   67   OS << "};\n\n";
utils/TableGen/X86FoldTablesEmitter.cpp
  114       OS << "{ X86::" << RegInst->TheDef->getName() << ",";
  114       OS << "{ X86::" << RegInst->TheDef->getName() << ",";
  116       OS  << "X86::" << MemInst->TheDef->getName() << ",";
  116       OS  << "X86::" << MemInst->TheDef->getName() << ",";
  120         OS << "TB_FOLDED_LOAD | ";
  122         OS << "TB_FOLDED_STORE | ";
  124         OS << "TB_NO_REVERSE | ";
  126         OS << "TB_ALIGN_" << Alignment << " | ";
  126         OS << "TB_ALIGN_" << Alignment << " | ";
  128       OS << "0 },\n";
  167     OS << "static const X86MemoryFoldTableEntry MemoryFold" << TableName
  168        << "[] = {\n";
  173     OS << "};\n\n";
utils/TableGen/X86RecognizableInstr.cpp
  163       errs() << "Don't support VEX.L if EVEX_L2 is enabled: " << Name << "\n";
  163       errs() << "Don't support VEX.L if EVEX_L2 is enabled: " << Name << "\n";
  177         errs() << "Instruction does not use a prefix: " << Name << "\n";
  177         errs() << "Instruction does not use a prefix: " << Name << "\n";
  191         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";
  205         errs() << "Instruction does not use a prefix: " << Name << "\n";
  219         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";
  234         errs() << "Instruction does not use a prefix: " << Name << "\n";
  248       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";
  263         errs() << "Instruction does not use a prefix: " << Name << "\n";
  291       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";
  955   errs() << "Unhandled type string " << s << "\n";
  994   errs() << "Unhandled immediate encoding " << s << "\n";
  994   errs() << "Unhandled immediate encoding " << s << "\n";
 1032   errs() << "Unhandled R/M register encoding " << s << "\n";
 1032   errs() << "Unhandled R/M register encoding " << s << "\n";
 1078   errs() << "Unhandled reg/opcode register encoding " << s << "\n";
 1078   errs() << "Unhandled reg/opcode register encoding " << s << "\n";
 1109   errs() << "Unhandled VEX.vvvv register encoding " << s << "\n";
 1109   errs() << "Unhandled VEX.vvvv register encoding " << s << "\n";
 1123   errs() << "Unhandled mask register encoding " << s << "\n";
 1123   errs() << "Unhandled mask register encoding " << s << "\n";
 1162   errs() << "Unhandled memory encoding " << s << "\n";
 1162   errs() << "Unhandled memory encoding " << s << "\n";
 1211   errs() << "Unhandled relocation encoding " << s << "\n";
 1211   errs() << "Unhandled relocation encoding " << s << "\n";
 1223   errs() << "Unhandled opcode modifier encoding " << s << "\n";
 1223   errs() << "Unhandled opcode modifier encoding " << s << "\n";
utils/not/not.cpp
   37     WithColor::error() << "unable to find `" << argv[0]
   37     WithColor::error() << "unable to find `" << argv[0]
   38                        << "' in PATH: " << Program.getError().message() << "\n";
   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
   66     os << "  ";
   93     outs() << "&" << Anchor << " ";
   93     outs() << "&" << Anchor << " ";
   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";
  106       outs() << ",\n";
  109     outs() << indent(Indent) << "]";
  111     outs() << prettyTag(n) << " {\n";
  115       outs() << indent(Indent) << "? ";
  117       outs() << "\n";
  118       outs() << indent(Indent) << ": ";
  120       outs() << ",\n";
  123     outs() << indent(Indent) << "}";
  125     outs() << "*" << an->getName();
  127     outs() << prettyTag(n) << " null";
  134     outs() << "%YAML 1.2\n"
  135            << "---\n";
  141     outs() << "\n...\n";
  179   Stream << "[\n";
  182     Stream << " {\n"
  183            << "  \"key1\": \"" << std::string(ValueSize, '*') << "\",\n"
  183            << "  \"key1\": \"" << std::string(ValueSize, '*') << "\",\n"
  184            << "  \"key2\": \"" << std::string(ValueSize, '*') << "\",\n"
  184            << "  \"key2\": \"" << std::string(ValueSize, '*') << "\",\n"
  185            << "  \"key3\": \"" << std::string(ValueSize, '*') << "\"\n"
  185            << "  \"key3\": \"" << std::string(ValueSize, '*') << "\"\n"
  186            << " }";
  188     if (JSONText.size() < MemoryBytes) Stream << ",";
  189     Stream << "\n";
  191   Stream << "]\n";