Home
last modified time | relevance | path

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

1234567

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DPrettyCompilandDumper.cpp41 : 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 DPrettyFunctionDumper.cpp35 void dumpClassParentWithScopeOperator(const T &Symbol, LinePrinter &Printer, in dumpClassParentWithScopeOperator() argument
44 WithColor(Printer, PDB_ColorItem::Type).get() << ClassParent->getName(); in dumpClassParentWithScopeOperator()
45 Printer << "::"; in dumpClassParentWithScopeOperator()
50 : PDBSymDumper(true), Printer(P) {} in FunctionDumper()
56 Printer << "<unknown-type>"; in start()
59 Printer << " "; in start()
74 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in start()
76 Printer << "("; in start()
77 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
79 Printer << "::)"; in start()
[all …]
H A DPrettyVariableDumper.cpp35 : PDBSymDumper(true), Printer(P) {} in VariableDumper()
40 if (Printer.IsSymbolExcluded(Var.getName())) in start()
49 Printer.NewLine(); in start()
50 Printer << "data ["; in start()
51 WithColor(Printer, PDB_ColorItem::Address).get() in start()
53 Printer << ", sizeof=" << Length << "] "; in start()
54 WithColor(Printer, PDB_ColorItem::Keyword).get() << "static "; in start()
60 Printer.NewLine(); in start()
61 Printer << "data [sizeof=" << Length << "] "; in start()
63 Printer << " = "; in start()
[all …]
H A DPrettyTypeDumper.cpp89 filterAndSortClassDefs(LinePrinter &Printer, Enumerator &E, in filterAndSortClassDefs() argument
115 if (Printer.IsTypeExcluded(Class->getName(), Class->getLength())) { in filterAndSortClassDefs()
138 TypeDumper::TypeDumper(LinePrinter &P) : PDBSymDumper(true), Printer(P) {} in TypeDumper()
141 static bool isTypeExcluded(LinePrinter &Printer, const T &Symbol) { in isTypeExcluded() argument
145 static bool isTypeExcluded(LinePrinter &Printer, in isTypeExcluded() argument
147 if (Printer.IsTypeExcluded(Enum.getName(), Enum.getLength())) in isTypeExcluded()
155 static bool isTypeExcluded(LinePrinter &Printer, in isTypeExcluded() argument
157 return Printer.IsTypeExcluded(Typedef.getName(), Typedef.getLength()); in isTypeExcluded()
161 static void dumpSymbolCategory(LinePrinter &Printer, const PDBSymbolExe &Exe, in dumpSymbolCategory() argument
164 Printer.NewLine(); in dumpSymbolCategory()
[all …]
H A DPrettyClassDefinitionDumper.cpp27 : PDBSymDumper(true), Printer(P) {} in ClassDefinitionDumper()
40 PrettyClassLayoutGraphicalDumper Dumper(Printer, 1, 0); in start()
48 Printer.NewLine(); in prettyPrintClassIntro()
54 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in prettyPrintClassIntro()
56 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in prettyPrintClassIntro()
58 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in prettyPrintClassIntro()
60 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in prettyPrintClassIntro()
61 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in prettyPrintClassIntro()
62 WithColor(Printer, PDB_ColorItem::Comment).get() << " [sizeof = " << Size in prettyPrintClassIntro()
66 Printer.Indent(); in prettyPrintClassIntro()
[all …]
H A DPrettyEnumDumper.cpp22 EnumDumper::EnumDumper(LinePrinter &P) : PDBSymDumper(true), Printer(P) {} in EnumDumper()
27 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start()
29 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start()
31 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in start()
32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start()
33 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start()
37 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start()
38 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start()
45 Printer << " : "; in start()
46 BuiltinDumper Dumper(Printer); in start()
[all …]
H A DPrettyClassLayoutGraphicalDumper.cpp31 : PDBSymDumper(true), Printer(P), RecursionLevel(RecurseLevel), in PrettyClassLayoutGraphicalDumper()
70 VariableDumper VarDumper(Printer); in start()
87 Printer.NewLine(); in start()
88 WithColor(Printer, PDB_ColorItem::Padding).get() in start()
101 Printer.NewLine(); in printPaddingRow()
102 WithColor(Printer, PDB_ColorItem::Padding).get() << "<padding> (" << Amount in printPaddingRow()
111 Printer.NewLine(); in dump()
120 Printer << Label << " "; in dump()
124 WithColor(Printer, PDB_ColorItem::Offset).get() in dump()
128 WithColor(Printer, PDB_ColorItem::Identifier).get() << Layout.getName(); in dump()
[all …]
H A DPrettyTypedefDumper.cpp27 TypedefDumper::TypedefDumper(LinePrinter &P) : PDBSymDumper(true), Printer(P) {} in TypedefDumper()
30 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; in start()
34 WithColor(Printer, PDB_ColorItem::Identifier).get() << " " in start()
39 TypeDumper Dumper(Printer); in dump()
44 BuiltinDumper Dumper(Printer); in dump()
49 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in dump()
50 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Symbol.getName(); in dump()
55 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in dump()
57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in dump()
63 FunctionDumper NestedDumper(Printer); in dump()
[all …]
H A Dllvm-pdbutil.cpp938 static void dumpInjectedSources(LinePrinter &Printer, IPDBSession &Session) { in dumpInjectedSources() argument
941 Printer.printLine("There are no injected sources."); in dumpInjectedSources()
946 Printer.NewLine(); in dumpInjectedSources()
953 WithColor(Printer, PDB_ColorItem::Path).get() << File; in dumpInjectedSources()
954 Printer << " ("; in dumpInjectedSources()
955 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Size; in dumpInjectedSources()
956 Printer << " bytes): "; in dumpInjectedSources()
957 WithColor(Printer, PDB_ColorItem::Keyword).get() << "obj"; in dumpInjectedSources()
958 Printer << "="; in dumpInjectedSources()
959 WithColor(Printer, PDB_ColorItem::Path).get() << Obj; in dumpInjectedSources()
[all …]
H A DPrettyExternalSymbolDumper.cpp20 : PDBSymDumper(true), Printer(P) {} in ExternalSymbolDumper()
31 if (Printer.IsSymbolExcluded(LinkageName)) in dump()
34 Printer.NewLine(); in dump()
37 Printer << "public ["; in dump()
38 WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(Addr, 10); in dump()
39 Printer << "] "; in dump()
40 WithColor(Printer, PDB_ColorItem::Identifier).get() << LinkageName; in dump()
H A DInputFile.cpp123 static void formatInternal(LinePrinter &Printer, bool Append, Args &&... args) { in formatInternal() argument
125 Printer.format(std::forward<Args>(args)...); in formatInternal()
127 Printer.formatLine(std::forward<Args>(args)...); in formatInternal()
212 void SymbolGroup::formatFromFileName(LinePrinter &Printer, StringRef File, in formatFromFileName() argument
216 formatInternal(Printer, Append, "- (no checksum) {0}", File); in formatFromFileName()
220 formatInternal(Printer, Append, "- ({0}: {1}) {2}", in formatFromFileName()
225 void SymbolGroup::formatFromChecksumsOffset(LinePrinter &Printer, in formatFromChecksumsOffset() argument
229 formatInternal(Printer, Append, "(unknown file name offset {0})", Offset); in formatFromChecksumsOffset()
235 formatInternal(Printer, Append, "(unknown file name offset {0})", Offset); in formatFromChecksumsOffset()
242 formatInternal(Printer, Append, "(unknown file name offset {0})", Offset); in formatFromChecksumsOffset()
[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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DAsmWriter.cpp1864 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeGenericDINode() local
1865 Printer.printTag(N); in writeGenericDINode()
1866 Printer.printString("header", N->getHeader()); in writeGenericDINode()
1868 Out << Printer.FS << "operands: {"; in writeGenericDINode()
1883 MDFieldPrinter Printer(Out, TypePrinter, Machine, Context); in writeDILocation() local
1885 Printer.printInt("line", DL->getLine(), /* ShouldSkipZero */ false); in writeDILocation()
1886 Printer.printInt("column", DL->getColumn()); in writeDILocation()
1887 Printer.printMetadata("scope", DL->getRawScope(), /* ShouldSkipNull */ false); in writeDILocation()
1888 Printer.printMetadata("inlinedAt", DL->getRawInlinedAt()); in writeDILocation()
1889 Printer.printBool("isImplicitCode", DL->isImplicitCode(), in writeDILocation()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-symbolizer/
H A Dllvm-symbolizer.cpp75 DIPrinter &Printer) { in print() argument
78 Printer.print(Request, *ResOrErr); in print()
86 PrintEmpty = Printer.printError( in print()
91 Printer.print(Request, T()); in print()
151 DIPrinter &Printer) { in symbolizeInput() argument
157 Printer.printInvalidCommand({ModuleName, None}, InputString); in symbolizeInput()
165 print({ModuleName, Offset}, ResOrErr, Printer); in symbolizeInput()
169 print({ModuleName, Offset}, ResOrErr, Printer); in symbolizeInput()
173 print({ModuleName, Offset}, ResOrErr, Printer); in symbolizeInput()
188 print({ModuleName, Offset}, Res0OrErr, Printer); in symbolizeInput()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64MCInstLower.cpp34 : Ctx(ctx), Printer(printer) {} in AArch64MCInstLower()
40 const Triple &TheTriple = Printer.TM.getTargetTriple(); in GetGlobalAddressSymbol()
42 return Printer.getSymbolPreferLocal(*GV); in GetGlobalAddressSymbol()
49 return Printer.getSymbol(GV); in GetGlobalAddressSymbol()
56 Printer.TM.getNameWithPrefix(Name, GV, in GetGlobalAddressSymbol()
57 Printer.getObjFileLowering().getMangler()); in GetGlobalAddressSymbol()
63 Printer.MMI->getObjFileInfo<MachineModuleInfoCOFF>(); in GetGlobalAddressSymbol()
68 StubSym = MachineModuleInfoImpl::StubValueTy(Printer.getSymbol(GV), true); in GetGlobalAddressSymbol()
76 return Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in GetExternalSymbolSymbol()
124 Model = Printer.TM.getTLSModel(GV); in lowerSymbolOperandELF()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DGCMetadata.cpp32 class Printer : public FunctionPass { class
38 explicit Printer(raw_ostream &OS) : FunctionPass(ID), OS(OS) {} in Printer() function in __anon122ddb6a0111::Printer
90 char Printer::ID = 0;
93 return new Printer(OS); in createGCInfoPrinter()
96 StringRef Printer::getPassName() const { in getPassName()
100 void Printer::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
106 bool Printer::runOnFunction(Function &F) { in runOnFunction()
135 bool Printer::doFinalization(Module &M) { in doFinalization()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp533 mca::PipelinePrinter Printer(*P, mca::View::OK_READABLE); in main() local
537 Printer.addView(std::make_unique<mca::InstructionInfoView>( in main()
540 Printer.addView( in main()
546 Printer.printReport(TOF->os()); in main()
552 mca::PipelinePrinter Printer(*P, PrintJson ? mca::View::OK_JSON in main() local
558 Printer.addView( in main()
562 Printer.addView( in main()
571 Printer.addView(std::make_unique<mca::BottleneckAnalysis>( in main()
576 Printer.addView(std::make_unique<mca::InstructionInfoView>( in main()
580 Printer.addView(std::make_unique<mca::DispatchStatistics>()); in main()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/
H A DAVRMCInstLower.h27 AVRMCInstLower(MCContext &Ctx, AsmPrinter &Printer) in AVRMCInstLower() argument
28 : Ctx(Ctx), Printer(Printer) {} in AVRMCInstLower()
36 AsmPrinter &Printer; variable
H A DAVRMCInstLower.cpp82 MCOp = lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal())); in lowerInstruction()
86 MO, Printer.GetExternalSymbolSymbol(MO.getSymbolName())); in lowerInstruction()
96 MO, Printer.GetBlockAddressSymbol(MO.getBlockAddress())); in lowerInstruction()
99 MCOp = lowerSymbolOperand(MO, Printer.GetJTISymbol(MO.getIndex())); in lowerInstruction()
102 MCOp = lowerSymbolOperand(MO, Printer.GetCPISymbol(MO.getIndex())); in lowerInstruction()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/
H A Dsanitizer_symbolize.cc40 llvm::symbolize::DIPrinter Printer(OS); in __sanitizer_symbolize_code() local
43 Printer << (ResOrErr ? ResOrErr.get() : llvm::DIInliningInfo()); in __sanitizer_symbolize_code()
54 llvm::symbolize::DIPrinter Printer(OS); in __sanitizer_symbolize_data() local
57 Printer << (ResOrErr ? ResOrErr.get() : llvm::DIGlobal()); in __sanitizer_symbolize_data()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dsplay-tree-utils.h119 template<typename Printer>
120 static void print (pretty_printer *pp, node_type node, Printer printer);
135 template<typename Printer>
136 static void print (pretty_printer *pp, node_type node, Printer printer,
334 template<typename Printer>
335 void print (pretty_printer *pp, Printer printer) const;

1234567