Home
last modified time | relevance | path

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

12345678910>>...101

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBExtras.cpp23 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() argument
26 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Bool, OS) in operator <<()
27 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Single, OS) in operator <<()
28 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Double, OS) in operator <<()
29 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int8, OS) in operator <<()
30 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int16, OS) in operator <<()
31 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int32, OS) in operator <<()
32 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int64, OS) in operator <<()
33 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt8, OS) in operator <<()
34 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt16, OS) in operator <<()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DInstrInfoEmitter.cpp61 void run(raw_ostream &OS);
64 void emitEnums(raw_ostream &OS,
76 void emitTIIHelperMethods(raw_ostream &OS, StringRef TargetName,
81 void emitMCIIHelperMethods(raw_ostream &OS, StringRef TargetName);
84 void emitFeatureVerifier(raw_ostream &OS, const CodeGenTarget &Target);
88 const OperandInfoMapTy &OperandInfo, raw_ostream &OS);
90 raw_ostream &OS, const CodeGenTarget &Target,
93 raw_ostream &OS, const CodeGenTarget &Target,
96 raw_ostream &OS, StringRef Namespace,
102 void EmitOperandInfo(raw_ostream &OS, OperandInfoListTy &OperandInfoList);
[all …]
H A DMacroFusionPredicatorEmitter.cpp59 PredicateExpander &PE, raw_ostream &OS);
61 PredicateExpander &PE, raw_ostream &OS);
64 raw_ostream &OS);
66 PredicateExpander &PE, raw_ostream &OS);
68 PredicateExpander &PE, raw_ostream &OS);
70 PredicateExpander &PE, raw_ostream &OS);
75 void run(raw_ostream &OS);
80 ArrayRef<const Record *> Fusions, PredicateExpander &PE, raw_ostream &OS) { in emitMacroFusionDecl() argument
81 OS << "#ifdef GET_" << Target.getName() << "_MACRO_FUSION_PRED_DECL\n"; in emitMacroFusionDecl()
82 OS << "#undef GET_" << Target.getName() << "_MACRO_FUSION_PRED_DECL\n\n"; in emitMacroFusionDecl()
[all …]
H A DRegisterInfoEmitter.cpp71 void runEnums(raw_ostream &OS);
74 void runMCDesc(raw_ostream &OS);
77 void runTargetHeader(raw_ostream &OS);
80 void runTargetDesc(raw_ostream &OS);
83 void run(raw_ostream &OS);
85 void debugDump(raw_ostream &OS);
88 void EmitRegMapping(raw_ostream &OS, const std::deque<CodeGenRegister> &Regs,
90 void EmitRegMappingTables(raw_ostream &OS,
93 void EmitRegUnitPressure(raw_ostream &OS, StringRef ClassName);
94 void emitComposeSubRegIndices(raw_ostream &OS, StringRef ClassName);
[all …]
H A DAsmMatcherEmitter.cpp1974 raw_ostream &OS) { in emitConvertFuncs() argument
2293 OS << "enum {\n"; in emitConvertFuncs()
2295 OS << " " << KV.second << ",\n"; in emitConvertFuncs()
2297 OS << "};\n\n"; in emitConvertFuncs()
2299 OS << "static const uint8_t TiedAsmOperandTable[][3] = {\n"; in emitConvertFuncs()
2301 OS << " /* " << KV.second << " */ { " << utostr(std::get<0>(KV.first)) in emitConvertFuncs()
2305 OS << "};\n\n"; in emitConvertFuncs()
2307 OS << "static const uint8_t TiedAsmOperandTable[][3] = " in emitConvertFuncs()
2311 OS << "namespace {\n"; in emitConvertFuncs()
2314 OS << "enum OperatorConversionKind {\n"; in emitConvertFuncs()
[all …]
H A DDAGISelMatcherEmitter.cpp170 unsigned StartIdx, raw_ostream &OS);
172 unsigned SizeMatcherList(Matcher *N, raw_ostream &OS);
174 void EmitPredicateFunctions(raw_ostream &OS);
176 void EmitHistogram(const Matcher *N, raw_ostream &OS);
178 void EmitPatternMatchTable(raw_ostream &OS);
182 StringRef Decl, raw_ostream &OS);
184 unsigned SizeMatcher(Matcher *N, raw_ostream &OS);
187 unsigned CurrentIdx, raw_ostream &OS);
238 static unsigned EmitVBRValue(uint64_t Val, raw_ostream &OS) { in EmitVBRValue() argument
240 OS << Val << ", "; in EmitVBRValue()
[all …]
H A DOptionParserEmitter.cpp32 static raw_ostream &writeStrTableOffset(raw_ostream &OS, in writeStrTableOffset() argument
35 OS << Table.GetStringOffset(Str) << " /* "; in writeStrTableOffset()
36 OS.write_escaped(Str); in writeStrTableOffset()
37 OS << " */"; in writeStrTableOffset()
38 return OS; in writeStrTableOffset()
41 static raw_ostream &writeCstring(raw_ostream &OS, llvm::StringRef Str) { in writeCstring() argument
42 OS << '"'; in writeCstring()
43 OS.write_escaped(Str); in writeCstring()
44 OS << '"'; in writeCstring()
45 return OS; in writeCstring()
[all …]
H A DDXILEmitter.cpp314 static void emitDXILVersions(const RecordKeeper &Records, raw_ostream &OS) { in emitDXILVersions() argument
315 OS << "#ifdef DXIL_VERSION\n"; in emitDXILVersions()
319 OS << "DXIL_VERSION("; in emitDXILVersions()
320 OS << std::to_string(Major) << ", " << std::to_string(Minor); in emitDXILVersions()
321 OS << ")\n"; in emitDXILVersions()
323 OS << "#undef DXIL_VERSION\n"; in emitDXILVersions()
324 OS << "#endif\n\n"; in emitDXILVersions()
328 static void emitDXILOpCodes(ArrayRef<DXILOperationDesc> Ops, raw_ostream &OS) { in emitDXILOpCodes() argument
329 OS << "#ifdef DXIL_OPCODE\n"; in emitDXILOpCodes()
331 OS << "DXIL_OPCODE(" << Op.OpCode << ", " << Op.OpName << ")\n"; in emitDXILOpCodes()
[all …]
H A DSubtargetEmitter.cpp77 void emitSubtargetInfoMacroCalls(raw_ostream &OS);
78 unsigned featureKeyValues(raw_ostream &OS, const FeatureMapTy &FeatureMap);
79 unsigned cpuKeyValues(raw_ostream &OS, const FeatureMapTy &FeatureMap);
80 unsigned cpuNames(raw_ostream &OS);
92 raw_ostream &OS, std::vector<std::vector<InstrItinerary>> &ProcItinLists);
93 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,
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DPredicateExpander.cpp19 void PredicateExpander::expandTrue(raw_ostream &OS) { OS << "true"; } in expandTrue() argument
20 void PredicateExpander::expandFalse(raw_ostream &OS) { OS << "false"; } in expandFalse() argument
22 void PredicateExpander::expandCheckImmOperand(raw_ostream &OS, int OpIndex, in expandCheckImmOperand() argument
26 OS << FunctionMapper << "("; in expandCheckImmOperand()
27 OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex in expandCheckImmOperand()
30 OS << ")"; in expandCheckImmOperand()
31 OS << (shouldNegate() ? " != " : " == ") << ImmVal; in expandCheckImmOperand()
34 void PredicateExpander::expandCheckImmOperand(raw_ostream &OS, int OpIndex, in expandCheckImmOperand() argument
38 expandCheckImmOperandSimple(OS, OpIndex, FunctionMapper); in expandCheckImmOperand()
41 OS << FunctionMapper << "("; in expandCheckImmOperand()
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangAttrEmitter.cpp256 virtual void writeAccessors(raw_ostream &OS) const = 0;
257 virtual void writeAccessorDefinitions(raw_ostream &OS) const {} in writeAccessorDefinitions()
258 virtual void writeASTVisitorTraversal(raw_ostream &OS) const {} in writeASTVisitorTraversal()
259 virtual void writeCloneArgs(raw_ostream &OS) const = 0;
260 virtual void writeTemplateInstantiationArgs(raw_ostream &OS) const = 0;
261 virtual void writeTemplateInstantiation(raw_ostream &OS) const {} in writeTemplateInstantiation()
262 virtual void writeCtorBody(raw_ostream &OS) const {} in writeCtorBody()
263 virtual void writeCtorInitializers(raw_ostream &OS) const = 0;
264 virtual void writeCtorDefaultInitializers(raw_ostream &OS) const = 0;
265 virtual void writeCtorParameters(raw_ostream &OS) const = 0;
[all …]
H A DClangOpcodesEmitter.cpp30 void run(raw_ostream &OS);
35 void EmitEnum(raw_ostream &OS, StringRef N, const Record *R);
38 void EmitInterp(raw_ostream &OS, StringRef N, const Record *R);
41 void EmitDisasm(raw_ostream &OS, StringRef N, const Record *R);
44 void EmitEmitter(raw_ostream &OS, StringRef N, const Record *R);
47 void EmitProto(raw_ostream &OS, StringRef N, const Record *R);
50 void EmitGroup(raw_ostream &OS, StringRef N, const Record *R);
53 void EmitEval(raw_ostream &OS, StringRef N, const Record *R);
55 void PrintTypes(raw_ostream &OS, ArrayRef<const Record *> Types);
86 void ClangOpcodesEmitter::run(raw_ostream &OS) { in run() argument
[all …]
H A DTableGen.cpp349 bool ClangTableGenMain(raw_ostream &OS, const RecordKeeper &Records) { in ClangTableGenMain() argument
352 OS << Records; // No argument, dump all contents in ClangTableGenMain()
355 EmitJSON(Records, OS); in ClangTableGenMain()
358 EmitClangAttrClass(Records, OS); in ClangTableGenMain()
361 EmitClangAttrParserStringSwitches(Records, OS); in ClangTableGenMain()
364 EmitClangAttrSubjectMatchRulesParserStringSwitches(Records, OS); in ClangTableGenMain()
367 EmitCXX11AttributeInfo(Records, OS); in ClangTableGenMain()
370 EmitAttributeSpellingList(Records, OS); in ClangTableGenMain()
373 EmitClangAttrImpl(Records, OS); in ClangTableGenMain()
376 EmitClangAttrList(Records, OS); in ClangTableGenMain()
[all …]
H A DTableGenBackends.h27 void EmitClangDeclContext(const llvm::RecordKeeper &RK, llvm::raw_ostream &OS);
35 void EmitClangASTNodes(const llvm::RecordKeeper &RK, llvm::raw_ostream &OS,
39 llvm::raw_ostream &OS);
41 llvm::raw_ostream &OS);
43 llvm::raw_ostream &OS);
45 llvm::raw_ostream &OS);
47 llvm::raw_ostream &OS);
49 llvm::raw_ostream &OS);
51 const llvm::RecordKeeper &Records, llvm::raw_ostream &OS);
53 llvm::raw_ostream &OS);
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTypePrinter.cpp122 void print(const Type *ty, Qualifiers qs, raw_ostream &OS,
124 void print(QualType T, raw_ostream &OS, StringRef PlaceHolder);
127 void spaceBeforePlaceHolder(raw_ostream &OS);
128 void printTypeSpec(NamedDecl *D, raw_ostream &OS);
129 void printTemplateId(const TemplateSpecializationType *T, raw_ostream &OS,
132 void printBefore(QualType T, raw_ostream &OS);
133 void printAfter(QualType T, raw_ostream &OS);
134 void AppendScope(DeclContext *DC, raw_ostream &OS,
136 void printTag(TagDecl *T, raw_ostream &OS);
137 void printFunctionAfter(const FunctionType::ExtInfo &Info, raw_ostream &OS);
[all …]
H A DTextNodeDumper.cpp34 static void dumpPreviousDeclImpl(raw_ostream &OS, ...) {} in dumpPreviousDeclImpl() argument
37 static void dumpPreviousDeclImpl(raw_ostream &OS, const Mergeable<T> *D) { in dumpPreviousDeclImpl() argument
40 OS << " first " << First; in dumpPreviousDeclImpl()
44 static void dumpPreviousDeclImpl(raw_ostream &OS, const Redeclarable<T> *D) { in dumpPreviousDeclImpl() argument
47 OS << " prev " << Prev; in dumpPreviousDeclImpl()
52 static void dumpPreviousDecl(raw_ostream &OS, const Decl *D) { in dumpPreviousDecl() argument
56 return dumpPreviousDeclImpl(OS, cast<DERIVED##Decl>(D)); in dumpPreviousDecl()
63 TextNodeDumper::TextNodeDumper(raw_ostream &OS, const ASTContext &Context, in TextNodeDumper() argument
65 : TextTreeStructure(OS, ShowColors), OS(OS), ShowColors(ShowColors), in TextNodeDumper()
70 TextNodeDumper::TextNodeDumper(raw_ostream &OS, bool ShowColors) in TextNodeDumper() argument
[all …]
H A DStmtPrinter.cpp68 raw_ostream &OS; member in __anon7ba585bd0111::StmtPrinter
79 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy), in StmtPrinter()
90 OS << ";" << NL; in PrintStmt()
106 OS << "; "; in PrintInitStmt()
112 OS << " "; in PrintControlledStmt()
114 OS << NL; in PrintControlledStmt()
116 OS << NL; in PrintControlledStmt()
139 OS << "<null expr>"; in PrintExpr()
144 OS << " "; in Indent()
145 return OS; in Indent()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DDirectiveEmitter.cpp36 IfDefScope(StringRef Name, raw_ostream &OS) : Name(Name), OS(OS) { in IfDefScope() argument
37 OS << "#ifdef " << Name << "\n" in IfDefScope()
41 ~IfDefScope() { OS << "\n#endif // " << Name << "\n\n"; } in ~IfDefScope()
45 raw_ostream &OS; member in __anoneee6a4850111::IfDefScope
94 raw_ostream &OS, StringRef Enum, in generateEnumExports() argument
98 OS << "constexpr auto " << N << " = " << Enum << "::" << N << ";\n"; in generateEnumExports()
104 static void generateEnumClass(ArrayRef<const Record *> Records, raw_ostream &OS, in generateEnumClass() argument
107 OS << "\n"; in generateEnumClass()
108 OS << "enum class " << Enum << " {\n"; in generateEnumClass()
110 OS << " " << getIdentifierName(R, Prefix) << ",\n"; in generateEnumClass()
[all …]
H A DAttributes.cpp21 void run(raw_ostream &OS);
24 void emitTargetIndependentNames(raw_ostream &OS);
25 void emitFnAttrCompatCheck(raw_ostream &OS, bool IsStringAttr);
33 void Attributes::emitTargetIndependentNames(raw_ostream &OS) { in emitTargetIndependentNames() argument
34 OS << "#ifdef GET_ATTR_NAMES\n"; in emitTargetIndependentNames()
35 OS << "#undef GET_ATTR_NAMES\n"; in emitTargetIndependentNames()
37 OS << "#ifndef ATTRIBUTE_ALL\n"; in emitTargetIndependentNames()
38 OS << "#define ATTRIBUTE_ALL(FIRST, SECOND)\n"; in emitTargetIndependentNames()
39 OS << "#endif\n\n"; in emitTargetIndependentNames()
42 OS << "#ifndef " << MacroName << "\n"; in emitTargetIndependentNames()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCSectionELF.cpp31 static void printName(raw_ostream &OS, StringRef Name) { in printName() argument
35 OS << Name; in printName()
38 OS << '"'; in printName()
41 OS << "\\\""; in printName()
43 OS << *B; in printName()
45 OS << "\\\\"; in printName()
47 OS << B[0] << B[1]; // Quoted character in printName()
51 OS << '"'; in printName()
55 raw_ostream &OS, in printSwitchToSection() argument
58 OS << '\t' << getName(); in printSwitchToSection()
[all …]
/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/llvm-project/llvm/lib/Frontend/HLSL/
H A DHLSLRootSignature.cpp30 static raw_ostream &printEnum(raw_ostream &OS, const T Value, in printEnum() argument
34 OS << *MaybeName; in printEnum()
35 return OS; in printEnum()
39 static raw_ostream &printFlags(raw_ostream &OS, const T Value, in printFlags() argument
47 OS << " | "; in printFlags()
51 OS << *MaybeFlag; in printFlags()
53 OS << "invalid: " << Bit; in printFlags()
61 OS << "None"; in printFlags()
62 return OS; in printFlags()
72 static raw_ostream &operator<<(raw_ostream &OS, const Register &Reg) { in operator <<() argument
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTableExecutorEmitter.cpp16 raw_ostream &OS, ArrayRef<RuleMatcher> Rules) { in emitSubtargetFeatureBitsetImpl() argument
18 OS, &HwModes); in emitSubtargetFeatureBitsetImpl()
36 ModuleFeatures, OS, "", &HwModes); in emitSubtargetFeatureBitsetImpl()
38 OS << "void " << getClassName() in emitSubtargetFeatureBitsetImpl()
48 FunctionFeatures, OS, "const MachineFunction *MF"); in emitSubtargetFeatureBitsetImpl()
74 OS << "// Feature bitsets.\n" in emitSubtargetFeatureBitsetImpl()
80 OS << " " in emitSubtargetFeatureBitsetImpl()
84 OS << "};\n" in emitSubtargetFeatureBitsetImpl()
90 OS << " {"; in emitSubtargetFeatureBitsetImpl()
94 OS << I->second.getEnumBitName() << ", "; in emitSubtargetFeatureBitsetImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DDetailedRecordsBackend.cpp38 void run(raw_ostream &OS);
39 void printReportHeading(raw_ostream &OS);
40 void printSectionHeading(StringRef Title, int Count, raw_ostream &OS);
41 void printVariables(raw_ostream &OS);
42 void printClasses(raw_ostream &OS);
43 void printRecords(raw_ostream &OS);
44 void printAllocationStats(raw_ostream &OS);
45 void printDefms(const Record &Rec, raw_ostream &OS);
46 void printTemplateArgs(const Record &Rec, raw_ostream &OS);
47 void printSuperclasses(const Record &Rec, raw_ostream &OS);
[all …]
/freebsd/contrib/llvm-project/lldb/utils/TableGen/
H A DLLDBPropertyDefEmitter.cpp24 static void emitPropertyEnum(const Record *Property, raw_ostream &OS) { in emitPropertyEnum() argument
25 OS << "eProperty"; in emitPropertyEnum()
26 OS << Property->getName(); in emitPropertyEnum()
27 OS << ",\n"; in emitPropertyEnum()
30 static void emitProperty(const Record *Property, raw_ostream &OS) { in emitProperty() argument
31 OS << " {"; in emitProperty()
34 OS << "\"" << Property->getValueAsString("Name") << "\""; in emitProperty()
35 OS << ", "; in emitProperty()
39 OS << "OptionValue::eType"; in emitProperty()
40 OS << type; in emitProperty()
[all …]

12345678910>>...101