/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | PrettyCompilandDumper.cpp | 41 : PDBSymDumper(true), Printer(P) {} in CompilandDumper() 50 if (Printer.IsCompilandExcluded(FullName)) in start() 53 Printer.NewLine(); in start() 54 WithColor(Printer, PDB_ColorItem::Path).get() << FullName; in start() 59 Printer.Indent(); in start() 61 Printer.NewLine(); in start() 62 WithColor(Printer, PDB_ColorItem::Path).get() << File->getFileName(); in start() 66 WithColor(Printer, PDB_ColorItem::Comment).get() in start() 74 Printer.Indent(); in start() 76 Printer.NewLine(); in start() [all …]
|
H A D | PrettyFunctionDumper.cpp | 38 void dumpClassParentWithScopeOperator(const T &Symbol, LinePrinter &Printer, in dumpClassParentWithScopeOperator() argument 47 WithColor(Printer, PDB_ColorItem::Type).get() << ClassParent->getName(); in dumpClassParentWithScopeOperator() 48 Printer << "::"; in dumpClassParentWithScopeOperator() 53 : PDBSymDumper(true), Printer(P) {} in FunctionDumper() 59 Printer << "<unknown-type>"; in start() 62 Printer << " "; in start() 77 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in start() 79 Printer << "("; in start() 80 WithColor(Printer, PDB_ColorItem::Identifier).get() in start() 82 Printer << "::)"; in start() [all …]
|
H A D | PrettyVariableDumper.cpp | 37 : PDBSymDumper(true), Printer(P) {} in VariableDumper() 42 if (Printer.IsSymbolExcluded(Var.getName())) in start() 51 Printer.NewLine(); in start() 52 Printer << "data ["; in start() 53 WithColor(Printer, PDB_ColorItem::Address).get() in start() 55 Printer << ", sizeof=" << Length << "] "; in start() 56 WithColor(Printer, PDB_ColorItem::Keyword).get() << "static "; in start() 62 Printer.NewLine(); in start() 63 Printer << "data [sizeof=" << Length << "] "; in start() 65 Printer << " = "; in start() [all …]
|
H A D | PrettyTypeDumper.cpp | 91 filterAndSortClassDefs(LinePrinter &Printer, Enumerator &E, in filterAndSortClassDefs() argument 117 if (Printer.IsTypeExcluded(Class->getName(), Class->getLength())) { in filterAndSortClassDefs() 140 TypeDumper::TypeDumper(LinePrinter &P) : PDBSymDumper(true), Printer(P) {} in TypeDumper() 143 static bool isTypeExcluded(LinePrinter &Printer, const T &Symbol) { in isTypeExcluded() argument 147 static bool isTypeExcluded(LinePrinter &Printer, in isTypeExcluded() argument 149 if (Printer.IsTypeExcluded(Enum.getName(), Enum.getLength())) in isTypeExcluded() 157 static bool isTypeExcluded(LinePrinter &Printer, in isTypeExcluded() argument 159 return Printer.IsTypeExcluded(Typedef.getName(), Typedef.getLength()); in isTypeExcluded() 163 static void dumpSymbolCategory(LinePrinter &Printer, const PDBSymbolExe &Exe, in dumpSymbolCategory() argument 166 Printer.NewLine(); in dumpSymbolCategory() [all …]
|
H A D | PrettyClassDefinitionDumper.cpp | 28 : PDBSymDumper(true), Printer(P) {} in ClassDefinitionDumper() 41 PrettyClassLayoutGraphicalDumper Dumper(Printer, 1, 0); in start() 49 Printer.NewLine(); in prettyPrintClassIntro() 55 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in prettyPrintClassIntro() 57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in prettyPrintClassIntro() 59 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in prettyPrintClassIntro() 61 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in prettyPrintClassIntro() 62 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in prettyPrintClassIntro() 63 WithColor(Printer, PDB_ColorItem::Comment).get() << " [sizeof = " << Size in prettyPrintClassIntro() 67 Printer.Indent(); in prettyPrintClassIntro() [all …]
|
H A D | PrettyEnumDumper.cpp | 23 EnumDumper::EnumDumper(LinePrinter &P) : PDBSymDumper(true), Printer(P) {} in EnumDumper() 28 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start() 30 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start() 32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in start() 33 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start() 34 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start() 38 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start() 39 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start() 46 Printer << " : "; in start() 47 BuiltinDumper Dumper(Printer); in start() [all …]
|
H A D | PrettyClassLayoutGraphicalDumper.cpp | 32 : PDBSymDumper(true), Printer(P), RecursionLevel(RecurseLevel), in PrettyClassLayoutGraphicalDumper() 71 VariableDumper VarDumper(Printer); in start() 88 Printer.NewLine(); in start() 89 WithColor(Printer, PDB_ColorItem::Padding).get() in start() 102 Printer.NewLine(); in printPaddingRow() 103 WithColor(Printer, PDB_ColorItem::Padding).get() << "<padding> (" << Amount in printPaddingRow() 112 Printer.NewLine(); in dump() 121 Printer << Label << " "; in dump() 125 WithColor(Printer, PDB_ColorItem::Offset).get() in dump() 129 WithColor(Printer, PDB_ColorItem::Identifier).get() << Layout.getName(); in dump() [all …]
|
H A D | PrettyTypedefDumper.cpp | 29 TypedefDumper::TypedefDumper(LinePrinter &P) : PDBSymDumper(true), Printer(P) {} in TypedefDumper() 32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; in start() 36 WithColor(Printer, PDB_ColorItem::Identifier).get() << " " in start() 41 TypeDumper Dumper(Printer); in dump() 46 BuiltinDumper Dumper(Printer); in dump() 51 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in dump() 52 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Symbol.getName(); in dump() 57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in dump() 59 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in dump() 65 FunctionDumper NestedDumper(Printer); in dump() [all …]
|
H A D | llvm-pdbutil.cpp | 962 static void dumpInjectedSources(LinePrinter &Printer, IPDBSession &Session) { in stringOr() 965 Printer.printLine("There are no injected sources."); in dumpInjectedSources() 970 Printer.NewLine(); in dumpInjectedSources() 977 WithColor(Printer, PDB_ColorItem::Path).get() << File; in dumpInjectedSources() 978 Printer << " ("; in dumpInjectedSources() 979 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Size; in dumpInjectedSources() 980 Printer << " bytes): "; in dumpInjectedSources() 981 WithColor(Printer, PDB_ColorItem::Keyword).get() << "obj"; in dumpInjectedSources() 982 Printer << "="; in dumpInjectedSources() 983 WithColor(Printer, PDB_ColorIte in dumpInjectedSources() 964 dumpInjectedSources(LinePrinter & Printer,IPDBSession & Session) dumpInjectedSources() argument 1097 LinePrinter Printer(2, UseColor, Stream, opts::Filters); dumpPretty() local [all...] |
H A D | PrettyExternalSymbolDumper.cpp | 21 : PDBSymDumper(true), Printer(P) {} in ExternalSymbolDumper() 32 if (Printer.IsSymbolExcluded(LinkageName)) in dump() 35 Printer.NewLine(); in dump() 38 Printer << "public ["; in dump() 39 WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(Addr, 10); in dump() 40 Printer << "] "; in dump() 41 WithColor(Printer, PDB_ColorItem::Identifier).get() << LinkageName; in dump()
|
H A D | PrettyBuiltinDumper.cpp | 18 : PDBSymDumper(false), Printer(P) {} in BuiltinDumper() 22 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start() 24 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start() 25 WithColor(Printer, PDB_ColorItem::Type).get() << getTypeName(Symbol); in start()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64MCInstLower.cpp | 38 : Ctx(ctx), Printer(printer) {} in AArch64MCInstLower() 47 const Triple &TheTriple = Printer.TM.getTargetTriple(); in GetGlobalValueSymbol() 49 return Printer.getSymbolPreferLocal(*GV); in GetGlobalValueSymbol() 63 return Printer.getSymbol(GV); in GetGlobalValueSymbol() 65 StringRef Name = Printer.getSymbol(GV)->getName(); in GetGlobalValueSymbol() 71 return Printer.getSymbol(GV); in GetGlobalValueSymbol() 77 Printer.OutStreamer->emitSymbolAttribute(Printer.getSymbol(GV), in GetGlobalValueSymbol() 79 Printer.OutStreamer->emitAssignment( in GetGlobalValueSymbol() 80 Printer.getSymbol(GV), in GetGlobalValueSymbol() 83 Printer.OutStreamer->emitSymbolAttribute(MangledSym, MCSA_WeakAntiDep); in GetGlobalValueSymbol() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | AsmWriter.cpp | 1985 MDFieldPrinter Printer(Out, WriterCtx); in writeGenericDINode() local 1986 Printer.printTag(N); in writeGenericDINode() 1987 Printer.printString("header", N->getHeader()); in writeGenericDINode() 1989 Out << Printer.FS << "operands: {"; in writeGenericDINode() 2003 MDFieldPrinter Printer(Out, WriterCtx); in writeDILocation() local 2005 Printer.printInt("line", DL->getLine(), /* ShouldSkipZero */ false); in writeDILocation() 2006 Printer.printInt("column", DL->getColumn()); in writeDILocation() 2007 Printer.printMetadata("scope", DL->getRawScope(), /* ShouldSkipNull */ false); in writeDILocation() 2008 Printer.printMetadata("inlinedAt", DL->getRawInlinedAt()); in writeDILocation() 2009 Printer.printBool("isImplicitCode", DL->isImplicitCode(), in writeDILocation() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYMCInstLower.cpp | 24 CSKYMCInstLower::CSKYMCInstLower(MCContext &Ctx, AsmPrinter &Printer) in CSKYMCInstLower() argument 25 : Ctx(Ctx), Printer(Printer) {} in CSKYMCInstLower() 40 MCContext &Ctx = Printer.OutContext; in lowerSymbolOperand() 96 MCOp = lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal())); in lowerOperand() 100 MO, Printer.GetBlockAddressSymbol(MO.getBlockAddress())); in lowerOperand() 104 MO, Printer.GetExternalSymbolSymbol(MO.getSymbolName())); in lowerOperand() 107 MCOp = lowerSymbolOperand(MO, Printer.GetCPISymbol(MO.getIndex())); in lowerOperand() 110 MCOp = lowerSymbolOperand(MO, Printer.GetJTISymbol(MO.getIndex())); in lowerOperand()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-symbolizer/ |
H A D | llvm-symbolizer.cpp | 93 DIPrinter &Printer) { in print() argument 96 Printer.print(Request, *ResOrErr); in print() 104 PrintEmpty = Printer.printError(Request, EI); in print() 108 Printer.print(Request, T()); in print() 280 LLVMSymbolizer &Symbolizer, DIPrinter &Printer) { in executeCommand() argument 289 print(SymRequest, ResOrErr, Printer); in executeCommand() 293 print(SymRequest, ResOrErr, Printer); in executeCommand() 297 print(SymRequest, ResOrErr, Printer); in executeCommand() 301 print(SymRequest, ResOrErr, Printer); in executeCommand() 316 print(SymRequest, Res0OrErr, Printer); in executeCommand() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430MCInstLower.cpp | 37 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol() 47 return Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in GetExternalSymbolSymbol() 52 const DataLayout &DL = Printer.getDataLayout(); in GetJumpTableSymbol() 55 << Printer.getFunctionNumber() << '_' in GetJumpTableSymbol() 69 const DataLayout &DL = Printer.getDataLayout(); in GetConstantPoolIndexSymbol() 72 << Printer.getFunctionNumber() << '_' in GetConstantPoolIndexSymbol() 91 return Printer.GetBlockAddressSymbol(MO.getBlockAddress()); in GetBlockAddressSymbol()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiMCInstLower.cpp | 34 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol() 39 return Printer.GetBlockAddressSymbol(MO.getBlockAddress()); in GetBlockAddressSymbol() 44 return Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in GetExternalSymbolSymbol() 49 raw_svector_ostream(Name) << Printer.MAI->getPrivateGlobalPrefix() << "JTI" in GetJumpTableSymbol() 50 << Printer.getFunctionNumber() << '_' in GetJumpTableSymbol() 59 raw_svector_ostream(Name) << Printer.MAI->getPrivateGlobalPrefix() << "CPI" in GetConstantPoolIndexSymbol() 60 << Printer.getFunctionNumber() << '_' in GetConstantPoolIndexSymbol()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreMCInstLower.cpp | 27 : Printer(asmprinter) {} in XCoreMCInstLower() 42 Symbol = Printer.getSymbol(MO.getGlobal()); in LowerSymbolOperand() 46 Symbol = Printer.GetBlockAddressSymbol(MO.getBlockAddress()); in LowerSymbolOperand() 50 Symbol = Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in LowerSymbolOperand() 54 Symbol = Printer.GetJTISymbol(MO.getIndex()); in LowerSymbolOperand() 57 Symbol = Printer.GetCPISymbol(MO.getIndex()); in LowerSymbolOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCMCInstLower.cpp | 27 : Ctx(C), Printer(AsmPrinter) {} in ARCMCInstLower() 40 Symbol = Printer.getSymbol(MO.getGlobal()); in LowerSymbolOperand() 44 Symbol = Printer.GetBlockAddressSymbol(MO.getBlockAddress()); in LowerSymbolOperand() 48 Symbol = Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in LowerSymbolOperand() 52 Symbol = Printer.GetJTISymbol(MO.getIndex()); in LowerSymbolOperand() 55 Symbol = Printer.GetCPISymbol(MO.getIndex()); in LowerSymbolOperand()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/ |
H A D | llvm-mca.cpp | 673 mca::PipelinePrinter Printer(*P, *Region, RegionIdx, *STI, PO); in main() local 675 Printer.addView( in main() 681 Printer.addView(std::make_unique<mca::InstructionInfoView>( in main() 685 Printer.addView( in main() 692 Printer.printReport(JSONOutput); in main() 694 Printer.printReport(TOF->os()); in main() 719 mca::PipelinePrinter Printer(*P, *Region, RegionIdx, *STI, PO); in main() local 733 Printer.addView(std::move(CBView)); in main() 740 Printer.addView(std::move(IV)); in main() 744 Printer.addView( in main() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRMCInstLower.h | 28 AVRMCInstLower(MCContext &Ctx, AsmPrinter &Printer) in AVRMCInstLower() argument 29 : Ctx(Ctx), Printer(Printer) {} in AVRMCInstLower() 38 AsmPrinter &Printer; variable
|
H A D | AVRMCInstLower.cpp | 91 lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal()), Subtarget); in lowerInstruction() 95 MO, Printer.GetExternalSymbolSymbol(MO.getSymbolName()), Subtarget); in lowerInstruction() 105 MO, Printer.GetBlockAddressSymbol(MO.getBlockAddress()), Subtarget); in lowerInstruction() 108 MCOp = lowerSymbolOperand(MO, Printer.GetJTISymbol(MO.getIndex()), in lowerInstruction() 112 MCOp = lowerSymbolOperand(MO, Printer.GetCPISymbol(MO.getIndex()), in lowerInstruction()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/ |
H A D | sanitizer_symbolize.cpp | 71 auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>( in __sanitizer_symbolize_code() 82 Printer->print(Request, ResOrErr.get()); in __sanitizer_symbolize_code() 89 Printer->print(Request, ResOrErr.get()); in __sanitizer_symbolize_code() 103 auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>( in __sanitizer_symbolize_data() 113 Printer->print(Request, ResOrErr.get()); in __sanitizer_symbolize_flush() 126 auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>( in __sanitizer_symbolize_demangle() 136 Printer->print(Request, ResOrErr.get()); in __sanitizer_symbolize_set_inline_frames() 70 auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>( __sanitizer_symbolize_code() local 99 auto Printer = std::make_unique<llvm::symbolize::LLVMPrinter>( __sanitizer_symbolize_data() local
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | InputFile.cpp | 150 static void formatInternal(LinePrinter &Printer, bool Append, Args &&...args) { in formatInternal() argument 152 Printer.format(std::forward<Args>(args)...); in formatInternal() 154 Printer.formatLine(std::forward<Args>(args)...); in formatInternal() 259 void SymbolGroup::formatFromFileName(LinePrinter &Printer, StringRef File, in formatFromFileName() argument 263 formatInternal(Printer, Append, "- (no checksum) {0}", File); in formatFromFileName() 267 formatInternal(Printer, Append, "- ({0}: {1}) {2}", in formatFromFileName() 272 void SymbolGroup::formatFromChecksumsOffset(LinePrinter &Printer, in formatFromChecksumsOffset() argument 276 formatInternal(Printer, Append, "(unknown file name offset {0})", Offset); in formatFromChecksumsOffset() 282 formatInternal(Printer, Append, "(unknown file name offset {0})", Offset); in formatFromChecksumsOffset() 289 formatInternal(Printer, Appen in formatFromChecksumsOffset() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LLVMTargetMachine.cpp | 141 FunctionPass *Printer = in addAsmPrinter() local 143 if (!Printer) in addAsmPrinter() 146 PM.add(Printer); in addAsmPrinter() 273 FunctionPass *Printer = in addPassesToEmitMC() local 275 if (!Printer) in addPassesToEmitMC() 278 PM.add(Printer); in addPassesToEmitMC()
|