Home
last modified time | relevance | path

Searched refs:Printer (Results 1 – 25 of 94) sorted by relevance

1234

/openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/
H A DPrettyCompilandDumper.cpp40 : PDBSymDumper(true), Printer(P) {} in CompilandDumper()
49 if (Printer.IsCompilandExcluded(FullName)) in start()
52 Printer.NewLine(); in start()
53 WithColor(Printer, PDB_ColorItem::Path).get() << FullName; in start()
58 Printer.Indent(); in start()
60 Printer.NewLine(); in start()
61 WithColor(Printer, PDB_ColorItem::Path).get() << File->getFileName(); in start()
65 WithColor(Printer, PDB_ColorItem::Comment).get() in start()
73 Printer.Indent(); in start()
75 Printer.NewLine(); in start()
[all …]
H A DPrettyFunctionDumper.cpp38 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 DPrettyVariableDumper.cpp37 : 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 DPrettyTypeDumper.cpp91 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 DPrettyClassDefinitionDumper.cpp28 : 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 DPrettyEnumDumper.cpp23 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 DPrettyClassLayoutGraphicalDumper.cpp32 : 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 DPrettyTypedefDumper.cpp29 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 DPrettyExternalSymbolDumper.cpp21 : 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 Dllvm-pdbutil.cpp964 static void dumpInjectedSources(LinePrinter &Printer, IPDBSession &Session) { in dumpInjectedSources() argument
967 Printer.printLine("There are no injected sources."); in dumpInjectedSources()
972 Printer.NewLine(); in dumpInjectedSources()
979 WithColor(Printer, PDB_ColorItem::Path).get() << File; in dumpInjectedSources()
980 Printer << " ("; in dumpInjectedSources()
981 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Size; in dumpInjectedSources()
982 Printer << " bytes): "; in dumpInjectedSources()
983 WithColor(Printer, PDB_ColorItem::Keyword).get() << "obj"; in dumpInjectedSources()
984 Printer << "="; in dumpInjectedSources()
985 WithColor(Printer, PDB_ColorItem::Path).get() << Obj; in dumpInjectedSources()
[all …]
H A DPrettyBuiltinDumper.cpp18 : 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()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DAsmWriter.cpp1850 MDFieldPrinter Printer(Out, WriterCtx); in writeGenericDINode() local
1851 Printer.printTag(N); in writeGenericDINode()
1852 Printer.printString("header", N->getHeader()); in writeGenericDINode()
1854 Out << Printer.FS << "operands: {"; in writeGenericDINode()
1868 MDFieldPrinter Printer(Out, WriterCtx); in writeDILocation() local
1870 Printer.printInt("line", DL->getLine(), /* ShouldSkipZero */ false); in writeDILocation()
1871 Printer.printInt("column", DL->getColumn()); in writeDILocation()
1872 Printer.printMetadata("scope", DL->getRawScope(), /* ShouldSkipNull */ false); in writeDILocation()
1873 Printer.printMetadata("inlinedAt", DL->getRawInlinedAt()); in writeDILocation()
1874 Printer.printBool("isImplicitCode", DL->isImplicitCode(), in writeDILocation()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/
H A DCSKYMCInstLower.cpp24 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()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64MCInstLower.cpp35 : Ctx(ctx), Printer(printer) {} in AArch64MCInstLower()
41 const Triple &TheTriple = Printer.TM.getTargetTriple(); in GetGlobalAddressSymbol()
43 return Printer.getSymbolPreferLocal(*GV); in GetGlobalAddressSymbol()
52 return Printer.getSymbol(GV); in GetGlobalAddressSymbol()
69 Printer.TM.getNameWithPrefix(Name, GV, in GetGlobalAddressSymbol()
70 Printer.getObjFileLowering().getMangler()); in GetGlobalAddressSymbol()
72 Printer.OutStreamer->emitSymbolAttribute(ExtraSym, MCSA_Global); in GetGlobalAddressSymbol()
80 Printer.TM.getNameWithPrefix(Name, GV, in GetGlobalAddressSymbol()
81 Printer.getObjFileLowering().getMangler()); in GetGlobalAddressSymbol()
87 Printer.MMI->getObjFileInfo<MachineModuleInfoCOFF>(); in GetGlobalAddressSymbol()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-symbolizer/
H A Dllvm-symbolizer.cpp88 DIPrinter &Printer) { in print() argument
91 Printer.print(Request, *ResOrErr); in print()
99 PrintEmpty = Printer.printError( in print()
104 Printer.print(Request, T()); in print()
217 DIPrinter &Printer) { in executeCommand() argument
223 print({ModuleName, Offset}, ResOrErr, Printer); in executeCommand()
227 print({ModuleName, Offset}, ResOrErr, Printer); in executeCommand()
231 print({ModuleName, Offset}, ResOrErr, Printer); in executeCommand()
246 print({ModuleName, Offset}, Res0OrErr, Printer); in executeCommand()
250 print({ModuleName, Offset}, ResOrErr, Printer); in executeCommand()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DGCMetadata.cpp29 class Printer : public FunctionPass { class
35 explicit Printer(raw_ostream &OS) : FunctionPass(ID), OS(OS) {} in Printer() function in __anon2df445360111::Printer
87 char Printer::ID = 0;
90 return new Printer(OS); in createGCInfoPrinter()
93 StringRef Printer::getPassName() const { in getPassName()
97 void Printer::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
103 bool Printer::runOnFunction(Function &F) { in runOnFunction()
132 bool Printer::doFinalization(Module &M) { in doFinalization()
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/
H A DMSP430MCInstLower.cpp37 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()
/openbsd-src/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiMCInstLower.cpp34 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()
/openbsd-src/gnu/llvm/llvm/lib/Target/XCore/
H A DXCoreMCInstLower.cpp27 : 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()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARC/
H A DARCMCInstLower.cpp27 : 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()
/openbsd-src/gnu/llvm/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp614 mca::PipelinePrinter Printer(*P, *Region, RegionIdx, *STI, PO); in main() local
616 Printer.addView( in main()
622 Printer.addView(std::make_unique<mca::InstructionInfoView>( in main()
626 Printer.addView( in main()
633 Printer.printReport(JSONOutput); in main()
635 Printer.printReport(TOF->os()); in main()
660 mca::PipelinePrinter Printer(*P, *Region, RegionIdx, *STI, PO); in main() local
674 Printer.addView(std::move(CBView)); in main()
681 Printer.addView(std::move(IV)); in main()
685 Printer.addView( in main()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRMCInstLower.h28 AVRMCInstLower(MCContext &Ctx, AsmPrinter &Printer) in AVRMCInstLower() argument
29 : Ctx(Ctx), Printer(Printer) {} in AVRMCInstLower()
38 AsmPrinter &Printer; variable
H A DAVRMCInstLower.cpp91 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()
/openbsd-src/gnu/llvm/lldb/tools/lldb-test/
H A Dlldb-test.cpp943 static void dumpSectionList(LinePrinter &Printer, const SectionList &List, bool is_subsection) { in dumpSectionList() argument
946 Printer.formatLine("There are no {0}sections", is_subsection ? "sub" : ""); in dumpSectionList()
949 Printer.formatLine("Showing {0} {1}sections", Count, in dumpSectionList()
954 AutoIndent Indent(Printer, 2); in dumpSectionList()
955 Printer.formatLine("Index: {0}", I); in dumpSectionList()
956 Printer.formatLine("ID: {0:x}", S->GetID()); in dumpSectionList()
957 Printer.formatLine("Name: {0}", S->GetName().GetStringRef()); in dumpSectionList()
958 Printer.formatLine("Type: {0}", S->GetTypeAsCString()); in dumpSectionList()
959 Printer.formatLine("Permissions: {0}", GetPermissionsAsCString(S->GetPermissions())); in dumpSectionList()
960 Printer.formatLine("Thread specific: {0:y}", S->IsThreadSpecific()); in dumpSectionList()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_symbolize.cpp60 auto Printer = in __sanitizer_symbolize_code() local
69 Printer->print(Request, in __sanitizer_symbolize_code()
75 Printer->print(Request, ResOrErr ? ResOrErr.get() : llvm::DILineInfo()); in __sanitizer_symbolize_code()
89 auto Printer = in __sanitizer_symbolize_data() local
97 Printer->print(Request, ResOrErr ? ResOrErr.get() : llvm::DIGlobal()); in __sanitizer_symbolize_data()

1234