Home
last modified time | relevance | path

Searched refs:OS (Results 1 – 25 of 2482) sorted by relevance

12345678910>>...100

/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/
H A DPDBExtras.cpp24 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() argument
27 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Bool, OS) in operator <<()
28 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Single, OS) in operator <<()
29 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Double, OS) in operator <<()
30 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int8, OS) in operator <<()
31 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int16, OS) in operator <<()
32 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int32, OS) in operator <<()
33 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int64, OS) in operator <<()
34 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt8, OS) in operator <<()
35 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt16, OS) in operator <<()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DDirectiveEmitter.cpp28 IfDefScope(StringRef Name, raw_ostream &OS) : Name(Name), OS(OS) { in IfDefScope() argument
29 OS << "#ifdef " << Name << "\n" in IfDefScope()
33 ~IfDefScope() { OS << "\n#endif // " << Name << "\n\n"; } in ~IfDefScope()
37 raw_ostream &OS; member in __anon989b505f0111::IfDefScope
44 void GenerateEnumClass(const std::vector<Record *> &Records, raw_ostream &OS, in GenerateEnumClass() argument
47 OS << "\n"; in GenerateEnumClass()
48 OS << "enum class " << Enum << " {\n"; in GenerateEnumClass()
51 OS << " " << Prefix << Rec.getFormattedName() << ",\n"; in GenerateEnumClass()
53 OS << "};\n"; in GenerateEnumClass()
54 OS << "\n"; in GenerateEnumClass()
[all …]
H A DInstrInfoEmitter.cpp51 void run(raw_ostream &OS);
54 void emitEnums(raw_ostream &OS);
70 void emitTIIHelperMethods(raw_ostream &OS, StringRef TargetName,
75 void emitMCIIHelperMethods(raw_ostream &OS, StringRef TargetName);
80 raw_ostream &OS);
82 raw_ostream &OS, const CodeGenTarget &Target,
89 void emitOperandNameMappings(raw_ostream &OS, const CodeGenTarget &Target,
93 raw_ostream &OS, StringRef Namespace,
96 raw_ostream &OS, StringRef Namespace,
100 void EmitOperandInfo(raw_ostream &OS, OperandInfoMapTy &OperandInfoIDs);
[all …]
H A DPredicateExpander.cpp18 void PredicateExpander::expandTrue(raw_ostream &OS) { OS << "true"; } in expandTrue() argument
19 void PredicateExpander::expandFalse(raw_ostream &OS) { OS << "false"; } in expandFalse() argument
21 void PredicateExpander::expandCheckImmOperand(raw_ostream &OS, int OpIndex, in expandCheckImmOperand() argument
25 OS << FunctionMapper << "("; in expandCheckImmOperand()
26 OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex in expandCheckImmOperand()
29 OS << ")"; in expandCheckImmOperand()
30 OS << (shouldNegate() ? " != " : " == ") << ImmVal; in expandCheckImmOperand()
33 void PredicateExpander::expandCheckImmOperand(raw_ostream &OS, int OpIndex, in expandCheckImmOperand() argument
37 expandCheckImmOperandSimple(OS, OpIndex, FunctionMapper); in expandCheckImmOperand()
40 OS << FunctionMapper << "("; in expandCheckImmOperand()
[all …]
H A DDAGISelMatcherEmitter.cpp90 unsigned StartIdx, raw_ostream &OS);
92 unsigned SizeMatcherList(Matcher *N, raw_ostream &OS);
94 void EmitPredicateFunctions(raw_ostream &OS);
96 void EmitHistogram(const Matcher *N, raw_ostream &OS);
98 void EmitPatternMatchTable(raw_ostream &OS);
102 StringRef Decl, raw_ostream &OS);
104 unsigned SizeMatcher(Matcher *N, raw_ostream &OS);
107 raw_ostream &OS);
189 static unsigned EmitVBRValue(uint64_t Val, raw_ostream &OS) { in EmitVBRValue() argument
191 OS << Val << ", "; in EmitVBRValue()
[all …]
H A DOptParserEmitter.cpp31 static raw_ostream &write_cstring(raw_ostream &OS, llvm::StringRef Str) { in write_cstring() argument
32 OS << '"'; in write_cstring()
33 OS.write_escaped(Str); in write_cstring()
34 OS << '"'; in write_cstring()
35 return OS; in write_cstring()
56 static void emitNameUsingSpelling(raw_ostream &OS, const Record &R) { in emitNameUsingSpelling() argument
58 OS << "&"; in emitNameUsingSpelling()
59 write_cstring(OS, StringRef(getOptionSpelling(R, PrefixLength))); in emitNameUsingSpelling()
60 OS << "[" << PrefixLength << "]"; in emitNameUsingSpelling()
107 void emit(raw_ostream &OS) const { in emit()
[all …]
H A DRegisterInfoEmitter.cpp83 void debugDump(raw_ostream &OS);
91 void EmitRegUnitPressure(raw_ostream &OS, const CodeGenRegBank &RegBank,
93 void emitComposeSubRegIndices(raw_ostream &OS, CodeGenRegBank &RegBank,
95 void emitComposeSubRegIndexLaneMask(raw_ostream &OS, CodeGenRegBank &RegBank,
102 void RegisterInfoEmitter::runEnums(raw_ostream &OS, in runEnums() argument
111 emitSourceFileHeader("Target Register Enum Values", OS); in runEnums()
113 OS << "\n#ifdef GET_REGINFO_ENUM\n"; in runEnums()
114 OS << "#undef GET_REGINFO_ENUM\n\n"; in runEnums()
116 OS << "namespace llvm {\n\n"; in runEnums()
118 OS << "class MCRegisterClass;\n" in runEnums()
[all …]
H A DAsmMatcherEmitter.cpp1932 raw_ostream &OS) { in emitConvertFuncs() argument
2264 OS << "enum {\n"; in emitConvertFuncs()
2266 OS << " " << KV.second << ",\n"; in emitConvertFuncs()
2268 OS << "};\n\n"; in emitConvertFuncs()
2270 OS << "static const uint8_t TiedAsmOperandTable[][3] = {\n"; in emitConvertFuncs()
2272 OS << " /* " << KV.second << " */ { " in emitConvertFuncs()
2277 OS << "};\n\n"; in emitConvertFuncs()
2279 OS << "static const uint8_t TiedAsmOperandTable[][3] = " in emitConvertFuncs()
2282 OS << "namespace {\n"; in emitConvertFuncs()
2285 OS << "enum OperatorConversionKind {\n"; in emitConvertFuncs()
[all …]
H A DIntrinsicEmitter.cpp40 void run(raw_ostream &OS, bool Enums);
42 void EmitEnumInfo(const CodeGenIntrinsicTable &Ints, raw_ostream &OS);
43 void EmitTargetInfo(const CodeGenIntrinsicTable &Ints, raw_ostream &OS);
45 raw_ostream &OS);
47 raw_ostream &OS);
48 void EmitGenerator(const CodeGenIntrinsicTable &Ints, raw_ostream &OS);
49 void EmitAttributes(const CodeGenIntrinsicTable &Ints, raw_ostream &OS);
51 raw_ostream &OS);
59 void IntrinsicEmitter::run(raw_ostream &OS, bool Enums) { in run() argument
60 emitSourceFileHeader("Intrinsic Function Source Fragment", OS); in run()
[all …]
H A DSubtargetEmitter.cpp76 void Enumeration(raw_ostream &OS, DenseMap<Record *, unsigned> &FeatureMap);
77 unsigned FeatureKeyValues(raw_ostream &OS,
79 unsigned CPUKeyValues(raw_ostream &OS,
89 void EmitStageAndOperandCycleData(raw_ostream &OS,
92 void EmitItineraries(raw_ostream &OS,
96 raw_ostream &OS);
98 raw_ostream &OS);
100 raw_ostream &OS);
101 void EmitProcessorProp(raw_ostream &OS, const Record *R, StringRef Name,
104 raw_ostream &OS);
[all …]
H A DDAGISelMatcher.cpp22 void Matcher::print(raw_ostream &OS, unsigned indent) const { in print() argument
23 printImpl(OS, indent); in print()
25 return Next->print(OS, indent); in print()
28 void Matcher::printOne(raw_ostream &OS) const { in printOne()
29 printImpl(OS, 0); in printOne()
116 void ScopeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
117 OS.indent(indent) << "Scope\n"; in printImpl()
120 OS.indent(indent+1) << "NULL POINTER\n"; in printImpl()
122 C->print(OS, indent+2); in printImpl()
126 void RecordMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DClangAttrEmitter.cpp230 virtual void writeAccessors(raw_ostream &OS) const = 0;
231 virtual void writeAccessorDefinitions(raw_ostream &OS) const {} in writeAccessorDefinitions()
232 virtual void writeASTVisitorTraversal(raw_ostream &OS) const {} in writeASTVisitorTraversal()
233 virtual void writeCloneArgs(raw_ostream &OS) const = 0;
234 virtual void writeTemplateInstantiationArgs(raw_ostream &OS) const = 0;
235 virtual void writeTemplateInstantiation(raw_ostream &OS) const {} in writeTemplateInstantiation()
236 virtual void writeCtorBody(raw_ostream &OS) const {} in writeCtorBody()
237 virtual void writeCtorInitializers(raw_ostream &OS) const = 0;
238 virtual void writeCtorDefaultInitializers(raw_ostream &OS) const = 0;
239 virtual void writeCtorParameters(raw_ostream &OS) const = 0;
[all …]
H A DClangOpcodesEmitter.cpp32 void run(raw_ostream &OS);
37 void EmitEnum(raw_ostream &OS, StringRef N, Record *R);
40 void EmitInterp(raw_ostream &OS, StringRef N, Record *R);
43 void EmitDisasm(raw_ostream &OS, StringRef N, Record *R);
46 void EmitEmitter(raw_ostream &OS, StringRef N, Record *R);
49 void EmitProto(raw_ostream &OS, StringRef N, Record *R);
52 void EmitGroup(raw_ostream &OS, StringRef N, Record *R);
55 void EmitEval(raw_ostream &OS, StringRef N, Record *R);
57 void PrintTypes(raw_ostream &OS, ArrayRef<Record *> Types);
88 void ClangOpcodesEmitter::run(raw_ostream &OS) { in run() argument
[all …]
H A DSveEmitter.cpp231 void emitIntrinsic(raw_ostream &OS) const;
921 void Intrinsic::emitIntrinsic(raw_ostream &OS) const { in emitIntrinsic()
927 OS << (IsOverloaded ? "__aio " : "__ai ") in emitIntrinsic()
931 OS << getTypes()[0].str() << " " << ProtoName << "("; in emitIntrinsic()
934 OS << ", "; in emitIntrinsic()
935 OS << getTypes()[I + 1].str(); in emitIntrinsic()
937 OS << ");\n"; in emitIntrinsic()
1061 void SVEEmitter::createHeader(raw_ostream &OS) { in createHeader() argument
1062 OS << "/*===---- arm_sve.h - ARM SVE intrinsics " in createHeader()
1075 OS << "#ifndef __ARM_SVE_H\n"; in createHeader()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Demangle/
H A DMicrosoftDemangleNodes.cpp24 OS << Desc; \
28 static void outputSpaceIfNecessary(OutputStream &OS) { in outputSpaceIfNecessary() argument
29 if (OS.empty()) in outputSpaceIfNecessary()
32 char C = OS.back(); in outputSpaceIfNecessary()
34 OS << " "; in outputSpaceIfNecessary()
37 static void outputSingleQualifier(OutputStream &OS, Qualifiers Q) { in outputSingleQualifier() argument
40 OS << "const"; in outputSingleQualifier()
43 OS << "volatile"; in outputSingleQualifier()
46 OS << "__restrict"; in outputSingleQualifier()
53 static bool outputQualifierIfPresent(OutputStream &OS, Qualifiers Q, in outputQualifierIfPresent() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DTypePrinter.cpp112 void print(const Type *ty, Qualifiers qs, raw_ostream &OS,
114 void print(QualType T, raw_ostream &OS, StringRef PlaceHolder);
117 void spaceBeforePlaceHolder(raw_ostream &OS);
118 void printTypeSpec(NamedDecl *D, raw_ostream &OS);
119 void printTemplateId(const TemplateSpecializationType *T, raw_ostream &OS,
122 void printBefore(QualType T, raw_ostream &OS);
123 void printAfter(QualType T, raw_ostream &OS);
124 void AppendScope(DeclContext *DC, raw_ostream &OS,
126 void printTag(TagDecl *T, raw_ostream &OS);
127 void printFunctionAfter(const FunctionType::ExtInfo &Info, raw_ostream &OS);
[all …]
H A DTextNodeDumper.cpp30 static void dumpPreviousDeclImpl(raw_ostream &OS, ...) {} in dumpPreviousDeclImpl() argument
33 static void dumpPreviousDeclImpl(raw_ostream &OS, const Mergeable<T> *D) { in dumpPreviousDeclImpl() argument
36 OS << " first " << First; in dumpPreviousDeclImpl()
40 static void dumpPreviousDeclImpl(raw_ostream &OS, const Redeclarable<T> *D) { in dumpPreviousDeclImpl() argument
43 OS << " prev " << Prev; in dumpPreviousDeclImpl()
48 static void dumpPreviousDecl(raw_ostream &OS, const Decl *D) { in dumpPreviousDecl() argument
52 return dumpPreviousDeclImpl(OS, cast<DERIVED##Decl>(D)); in dumpPreviousDecl()
59 TextNodeDumper::TextNodeDumper(raw_ostream &OS, const ASTContext &Context, in TextNodeDumper() argument
61 : TextTreeStructure(OS, ShowColors), OS(OS), ShowColors(ShowColors), in TextNodeDumper()
66 TextNodeDumper::TextNodeDumper(raw_ostream &OS, bool ShowColors) in TextNodeDumper() argument
[all …]
H A DStmtPrinter.cpp67 raw_ostream &OS; member in __anonb8d8be080111::StmtPrinter
78 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy), in StmtPrinter()
89 OS << ";" << NL; in PrintStmt()
105 OS << "; "; in PrintInitStmt()
111 OS << " "; in PrintControlledStmt()
113 OS << NL; in PrintControlledStmt()
115 OS << NL; in PrintControlledStmt()
135 OS << "<null expr>"; in PrintExpr()
140 OS << " "; in Indent()
141 return OS; in Indent()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DMCAsmLexer.cpp39 void AsmToken::dump(raw_ostream &OS) const { in dump()
42 OS << "error"; in dump()
45 OS << "identifier: " << getString(); in dump()
48 OS << "int: " << getString(); in dump()
51 OS << "real: " << getString(); in dump()
54 OS << "string: " << getString(); in dump()
57 case AsmToken::Amp: OS << "Amp"; break; in dump()
58 case AsmToken::AmpAmp: OS << "AmpAmp"; break; in dump()
59 case AsmToken::At: OS << "At"; break; in dump()
60 case AsmToken::BackSlash: OS << "BackSlash"; break; in dump()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-rc/
H A DResourceScriptStmt.cpp19 raw_ostream &operator<<(raw_ostream &OS, const IntOrString &Item) { in operator <<() argument
21 return OS << Item.Data.Int; in operator <<()
23 return OS << Item.Data.String; in operator <<()
26 raw_ostream &OptionalStmtList::log(raw_ostream &OS) const { in log()
28 OS << " Option: "; in log()
29 Stmt->log(OS); in log()
31 return OS; in log()
34 raw_ostream &LanguageResource::log(raw_ostream &OS) const { in log()
35 return OS << "Language: " << Lang << ", Sublanguage: " << SubLang << "\n"; in log()
46 raw_ostream &AcceleratorsResource::log(raw_ostream &OS) const { in log()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCSectionELF.cpp30 static void printName(raw_ostream &OS, StringRef Name) { in printName() argument
34 OS << Name; in printName()
37 OS << '"'; in printName()
40 OS << "\\\""; in printName()
42 OS << *B; in printName()
44 OS << "\\\\"; in printName()
46 OS << B[0] << B[1]; // Quoted character in printName()
50 OS << '"'; in printName()
54 raw_ostream &OS, in PrintSwitchToSection() argument
57 OS << '\t' << getName(); in PrintSwitchToSection()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
H A DAnalysis.cpp28 template <EscapeTag Tag> void writeEscaped(raw_ostream &OS, const StringRef S);
30 template <> void writeEscaped<kEscapeCsv>(raw_ostream &OS, const StringRef S) { in writeEscaped() argument
32 OS << S; in writeEscaped()
35 OS << '"'; in writeEscaped()
38 OS << "\"\""; in writeEscaped()
40 OS << C; in writeEscaped()
42 OS << '"'; in writeEscaped()
46 template <> void writeEscaped<kEscapeHtml>(raw_ostream &OS, const StringRef S) { in writeEscaped() argument
49 OS << "&lt;"; in writeEscaped()
51 OS << "&gt;"; in writeEscaped()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/APINotes/
H A DAPINotesTypes.cpp14 LLVM_DUMP_METHOD void CommonEntityInfo::dump(llvm::raw_ostream &OS) const { in dump()
16 OS << "[Unavailable] (" << UnavailableMsg << ")" << ' '; in dump()
18 OS << "[UnavailableInSwift] "; in dump()
20 OS << (SwiftPrivate ? "[SwiftPrivate] " : ""); in dump()
22 OS << "Swift Name: " << SwiftName << ' '; in dump()
23 OS << '\n'; in dump()
26 LLVM_DUMP_METHOD void CommonTypeInfo::dump(llvm::raw_ostream &OS) const { in dump()
27 static_cast<const CommonEntityInfo &>(*this).dump(OS); in dump()
29 OS << "Swift Briged Type: " << *SwiftBridge << ' '; in dump()
31 OS << "NSError Domain: " << *NSErrorDomain << ' '; in dump()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DDetailedRecordsBackend.cpp45 void run(raw_ostream &OS);
46 void printReportHeading(raw_ostream &OS);
47 void printVariables(raw_ostream &OS);
48 void printClasses(raw_ostream &OS);
49 void printRecords(raw_ostream &OS);
50 void printSectionHeading(std::string Title, int Count, raw_ostream &OS);
51 void printDefms(Record *Rec, raw_ostream &OS);
52 void printTemplateArgs(Record *Rec, raw_ostream &OS);
53 void printSuperclasses(Record *Rec, raw_ostream &OS);
54 void printFields(Record *Rec, raw_ostream &OS);
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp30 bool writeWasm(raw_ostream &OS);
33 void writeRelocSection(raw_ostream &OS, WasmYAML::Section &Sec,
36 void writeInitExpr(raw_ostream &OS, const wasm::WasmInitExpr &InitExpr);
38 void writeSectionContent(raw_ostream &OS, WasmYAML::CustomSection &Section);
39 void writeSectionContent(raw_ostream &OS, WasmYAML::TypeSection &Section);
40 void writeSectionContent(raw_ostream &OS, WasmYAML::ImportSection &Section);
41 void writeSectionContent(raw_ostream &OS, WasmYAML::FunctionSection &Section);
42 void writeSectionContent(raw_ostream &OS, WasmYAML::TableSection &Section);
43 void writeSectionContent(raw_ostream &OS, WasmYAML::MemorySection &Section);
44 void writeSectionContent(raw_ostream &OS, WasmYAML::EventSection &Section);
[all …]

12345678910>>...100