/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/ |
H A D | PDBExtras.cpp | 23 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 …]
|
/openbsd-src/gnu/llvm/clang/utils/TableGen/ |
H A D | ClangOpcodesEmitter.cpp | 32 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 D | ClangAttrEmitter.cpp | 234 virtual void writeAccessors(raw_ostream &OS) const = 0; 235 virtual void writeAccessorDefinitions(raw_ostream &OS) const {} in writeAccessorDefinitions() 236 virtual void writeASTVisitorTraversal(raw_ostream &OS) const {} in writeASTVisitorTraversal() 237 virtual void writeCloneArgs(raw_ostream &OS) const = 0; 238 virtual void writeTemplateInstantiationArgs(raw_ostream &OS) const = 0; 239 virtual void writeTemplateInstantiation(raw_ostream &OS) const {} in writeTemplateInstantiation() 240 virtual void writeCtorBody(raw_ostream &OS) const {} in writeCtorBody() 241 virtual void writeCtorInitializers(raw_ostream &OS) const = 0; 242 virtual void writeCtorDefaultInitializers(raw_ostream &OS) const = 0; 243 virtual void writeCtorParameters(raw_ostream &OS) const = 0; [all …]
|
H A D | TableGenBackends.h | 27 void EmitClangDeclContext(llvm::RecordKeeper &RK, llvm::raw_ostream &OS); 28 void EmitClangASTNodes(llvm::RecordKeeper &RK, llvm::raw_ostream &OS, 30 void EmitClangBasicReader(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 31 void EmitClangBasicWriter(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 32 void EmitClangTypeNodes(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 33 void EmitClangTypeReader(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 34 void EmitClangTypeWriter(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 36 llvm::raw_ostream &OS); 38 llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 39 void EmitClangAttrClass(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); [all …]
|
/openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
H A D | PredicateExpander.cpp | 18 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 D | DirectiveEmitter.cpp | 28 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 __anone1137fab0111::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 D | InstrInfoEmitter.cpp | 59 void run(raw_ostream &OS); 62 void emitEnums(raw_ostream &OS); 78 void emitTIIHelperMethods(raw_ostream &OS, StringRef TargetName, 83 void emitMCIIHelperMethods(raw_ostream &OS, StringRef TargetName); 86 void emitFeatureVerifier(raw_ostream &OS, const CodeGenTarget &Target); 91 raw_ostream &OS); 93 raw_ostream &OS, const CodeGenTarget &Target, 100 void emitOperandNameMappings(raw_ostream &OS, const CodeGenTarget &Target, 104 raw_ostream &OS, StringRef Namespace, 107 raw_ostream &OS, StringRef Namespace, [all …]
|
H A D | OptParserEmitter.cpp | 30 static raw_ostream &write_cstring(raw_ostream &OS, llvm::StringRef Str) { in write_cstring() argument 31 OS << '"'; in write_cstring() 32 OS.write_escaped(Str); in write_cstring() 33 OS << '"'; in write_cstring() 34 return OS; in write_cstring() 55 static void emitNameUsingSpelling(raw_ostream &OS, const Record &R) { in emitNameUsingSpelling() argument 57 OS << "llvm::StringLiteral("; in emitNameUsingSpelling() 59 OS, StringRef(getOptionSpelling(R, PrefixLength)).substr(PrefixLength)); in emitNameUsingSpelling() 60 OS << ")"; in emitNameUsingSpelling() 107 void emit(raw_ostream &OS) const { in emit() [all …]
|
H A D | DAGISelMatcherEmitter.cpp | 88 unsigned StartIdx, raw_ostream &OS); 90 unsigned SizeMatcherList(Matcher *N, raw_ostream &OS); 92 void EmitPredicateFunctions(raw_ostream &OS); 94 void EmitHistogram(const Matcher *N, raw_ostream &OS); 96 void EmitPatternMatchTable(raw_ostream &OS); 100 StringRef Decl, raw_ostream &OS); 102 unsigned SizeMatcher(Matcher *N, raw_ostream &OS); 105 raw_ostream &OS); 186 static unsigned EmitVBRValue(uint64_t Val, raw_ostream &OS) { in EmitVBRValue() argument 188 OS << Val << ", "; in EmitVBRValue() [all …]
|
/openbsd-src/gnu/llvm/clang/lib/AST/ |
H A D | TypePrinter.cpp | 123 void print(const Type *ty, Qualifiers qs, raw_ostream &OS, 125 void print(QualType T, raw_ostream &OS, StringRef PlaceHolder); 128 void spaceBeforePlaceHolder(raw_ostream &OS); 129 void printTypeSpec(NamedDecl *D, raw_ostream &OS); 130 void printTemplateId(const TemplateSpecializationType *T, raw_ostream &OS, 133 void printBefore(QualType T, raw_ostream &OS); 134 void printAfter(QualType T, raw_ostream &OS); 135 void AppendScope(DeclContext *DC, raw_ostream &OS, 137 void printTag(TagDecl *T, raw_ostream &OS); 138 void printFunctionAfter(const FunctionType::ExtInfo &Info, raw_ostream &OS); [all …]
|
H A D | TextNodeDumper.cpp | 31 static void dumpPreviousDeclImpl(raw_ostream &OS, ...) {} in dumpPreviousDeclImpl() argument 34 static void dumpPreviousDeclImpl(raw_ostream &OS, const Mergeable<T> *D) { in dumpPreviousDeclImpl() argument 37 OS << " first " << First; in dumpPreviousDeclImpl() 41 static void dumpPreviousDeclImpl(raw_ostream &OS, const Redeclarable<T> *D) { in dumpPreviousDeclImpl() argument 44 OS << " prev " << Prev; in dumpPreviousDeclImpl() 49 static void dumpPreviousDecl(raw_ostream &OS, const Decl *D) { in dumpPreviousDecl() argument 53 return dumpPreviousDeclImpl(OS, cast<DERIVED##Decl>(D)); in dumpPreviousDecl() 60 TextNodeDumper::TextNodeDumper(raw_ostream &OS, const ASTContext &Context, in TextNodeDumper() argument 62 : TextTreeStructure(OS, ShowColors), OS(OS), ShowColors(ShowColors), in TextNodeDumper() 67 TextNodeDumper::TextNodeDumper(raw_ostream &OS, bool ShowColors) in TextNodeDumper() argument [all …]
|
H A D | StmtPrinter.cpp | 69 raw_ostream &OS; member in __anondc2244d40111::StmtPrinter 77 StmtPrinter(raw_ostream &os, PrinterHelper *helper, in StmtPrinter() argument 80 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy), in StmtPrinter() 91 OS << ";" << NL; in PrintStmt() 107 OS << "; "; in PrintInitStmt() 113 OS << " "; in PrintControlledStmt() 115 OS << NL; in PrintControlledStmt() 117 OS << NL; in PrintControlledStmt() 138 OS << "<null expr>"; in PrintExpr() 143 OS << " "; in Indent() [all …]
|
/openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/ |
H A D | MCAsmLexer.cpp | 38 void AsmToken::dump(raw_ostream &OS) const { in dump() 41 OS << "error"; in dump() 44 OS << "identifier: " << getString(); in dump() 47 OS << "int: " << getString(); in dump() 50 OS << "real: " << getString(); in dump() 53 OS << "string: " << getString(); in dump() 56 case AsmToken::Amp: OS << "Amp"; break; in dump() 57 case AsmToken::AmpAmp: OS << "AmpAmp"; break; in dump() 58 case AsmToken::At: OS << "At"; break; in dump() 59 case AsmToken::BackSlash: OS << "BackSlash"; break; in dump() [all …]
|
/openbsd-src/gnu/llvm/llvm/tools/llvm-rc/ |
H A D | ResourceScriptStmt.cpp | 19 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 …]
|
/openbsd-src/gnu/llvm/llvm/lib/MC/ |
H A D | MCSectionELF.cpp | 30 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 …]
|
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
H A D | WasmEmitter.cpp | 30 bool writeWasm(raw_ostream &OS); 33 void writeRelocSection(raw_ostream &OS, WasmYAML::Section &Sec, 36 void writeInitExpr(raw_ostream &OS, const WasmYAML::InitExpr &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::TagSection &Section); [all …]
|
/openbsd-src/gnu/usr.bin/binutils-2.17/ |
H A D | config.sub | 118 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 119 # Here we must recognize all the valid KERNEL-OS combinations. 125 os=-$maybe_os 131 then os=`echo $1 | sed 's/.*-/-/'` 132 else os=; fi 140 case $os in 141 -sun*os*) 151 os= 155 os= 161 os=-vxworks [all …]
|
/openbsd-src/gnu/lib/libiberty/ |
H A D | config.sub | 118 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 119 # Here we must recognize all the valid KERNEL-OS combinations. 125 os=-$maybe_os 131 then os=`echo $1 | sed 's/.*-/-/'` 132 else os=; fi 140 case $os in 141 -sun*os*) 151 os= 155 os= 161 os=-vxworks [all …]
|
/openbsd-src/gnu/llvm/lld/wasm/ |
H A D | WriterUtils.cpp | 83 void writeUleb128(raw_ostream &os, uint64_t number, const Twine &msg) { in writeUleb128() argument 84 debugWrite(os.tell(), msg + "[" + utohexstr(number) + "]"); in writeUleb128() 85 encodeULEB128(number, os); in writeUleb128() 88 void writeSleb128(raw_ostream &os, int64_t number, const Twine &msg) { in writeSleb128() argument 89 debugWrite(os.tell(), msg + "[" + utohexstr(number) + "]"); in writeSleb128() 90 encodeSLEB128(number, os); in writeSleb128() 93 void writeBytes(raw_ostream &os, const char *bytes, size_t count, in writeBytes() argument 95 debugWrite(os.tell(), msg + " [data[" + Twine(count) + "]]"); in writeBytes() 96 os.write(bytes, count); in writeBytes() 99 void writeStr(raw_ostream &os, StringRef string, const Twine &msg) { in writeStr() argument [all …]
|
/openbsd-src/gnu/usr.bin/texinfo/ |
H A D | config.sub | 117 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 118 # Here we must recognize all the valid KERNEL-OS combinations. 123 os=-$maybe_os 129 then os=`echo $1 | sed 's/.*-/-/'` 130 else os=; fi 138 case $os in 139 -sun*os*) 149 os= 153 os= 159 os=-vxworks [all …]
|
/openbsd-src/gnu/usr.bin/binutils/ |
H A D | config.sub | 117 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 118 # Here we must recognize all the valid KERNEL-OS combinations. 123 os=-$maybe_os 129 then os=`echo $1 | sed 's/.*-/-/'` 130 else os=; fi 138 case $os in 139 -sun*os*) 149 os= 153 os= 159 os=-vxworks [all …]
|
/openbsd-src/gnu/lib/libreadline/support/ |
H A D | config.sub | 117 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 118 # Here we must recognize all the valid KERNEL-OS combinations. 122 os=-$maybe_os 128 then os=`echo $1 | sed 's/.*-/-/'` 129 else os=; fi 137 case $os in 138 -sun*os*) 148 os= 152 os= 158 os=-vxworks [all …]
|
/openbsd-src/gnu/share/ |
H A D | config.sub | 116 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 117 # Here we must recognize all the valid KERNEL-OS combinations. 121 os=-$maybe_os 127 then os=`echo $1 | sed 's/.*-/-/'` 128 else os=; fi 136 case $os in 137 -sun*os*) 147 os= 151 os= 157 os=-vxworks [all …]
|
/openbsd-src/gnu/llvm/clang/lib/APINotes/ |
H A D | APINotesTypes.cpp | 14 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 …]
|
/openbsd-src/gnu/usr.bin/gcc/ |
H A D | config.sub | 117 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 118 # Here we must recognize all the valid KERNEL-OS combinations. 122 os=-$maybe_os 128 then os=`echo $1 | sed 's/.*-/-/'` 129 else os=; fi 137 case $os in 138 -sun*os*) 148 os= 152 os= 158 os=-vxworks [all …]
|