| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| InstructionCost.cpp | 19 void InstructionCost::print(raw_ostream &OS) const { 21 OS << Value; 23 OS << "Invalid";
|
| Optional.cpp | 12 llvm::raw_ostream &llvm::operator<<(raw_ostream &OS, NoneType) { 13 return OS << "None";
|
| /src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| Attributes.cpp | 23 void emit(raw_ostream &OS); 26 void emitTargetIndependentNames(raw_ostream &OS); 27 void emitFnAttrCompatCheck(raw_ostream &OS, bool IsStringAttr); 34 void Attributes::emitTargetIndependentNames(raw_ostream &OS) { 35 OS << "#ifdef GET_ATTR_NAMES\n"; 36 OS << "#undef GET_ATTR_NAMES\n"; 38 OS << "#ifndef ATTRIBUTE_ALL\n"; 39 OS << "#define ATTRIBUTE_ALL(FIRST, SECOND)\n"; 40 OS << "#endif\n\n"; 43 OS << "#ifndef " << MacroName << "\n" [all...] |
| PredicateExpander.cpp | 18 void PredicateExpander::expandTrue(raw_ostream &OS) { OS << "true"; } 19 void PredicateExpander::expandFalse(raw_ostream &OS) { OS << "false"; } 21 void PredicateExpander::expandCheckImmOperand(raw_ostream &OS, int OpIndex, 25 OS << FunctionMapper << "("; 26 OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex 29 OS << ")"; 30 OS << (shouldNegate() ? " != " : " == ") << ImmVal; 33 void PredicateExpander::expandCheckImmOperand(raw_ostream &OS, int OpIndex [all...] |
| DirectiveEmitter.cpp | 28 IfDefScope(StringRef Name, raw_ostream &OS) : Name(Name), OS(OS) { 29 OS << "#ifdef " << Name << "\n" 33 ~IfDefScope() { OS << "\n#endif // " << Name << "\n\n"; } 37 raw_ostream &OS; 44 void GenerateEnumClass(const std::vector<Record *> &Records, raw_ostream &OS, 47 OS << "\n"; 48 OS << "enum class " << Enum << " {\n"; 51 OS << " " << Prefix << Rec.getFormattedName() << ",\n" [all...] |
| InstrInfoEmitter.cpp | 51 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...] |
| OptParserEmitter.cpp | 31 static raw_ostream &write_cstring(raw_ostream &OS, llvm::StringRef Str) { 32 OS << '"'; 33 OS.write_escaped(Str); 34 OS << '"'; 35 return OS; 56 static void emitNameUsingSpelling(raw_ostream &OS, const Record &R) { 58 OS << "&"; 59 write_cstring(OS, StringRef(getOptionSpelling(R, PrefixLength))); 60 OS << "[" << PrefixLength << "]"; 107 void emit(raw_ostream &OS) const [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/MC/ |
| MCAsmMacro.cpp | 15 void MCAsmMacroParameter::dump(raw_ostream &OS) const { 16 OS << "\"" << Name << "\""; 18 OS << ":req"; 20 OS << ":vararg"; 22 OS << " = "; 26 OS << ", "; 28 OS << T.getString(); 31 OS << "\n"; 34 void MCAsmMacro::dump(raw_ostream &OS) const { 35 OS << "Macro " << Name << ":\n" [all...] |
| MCSectionWasm.cpp | 25 static void printName(raw_ostream &OS, StringRef Name) { 29 OS << Name; 32 OS << '"'; 35 OS << "\\\""; 37 OS << *B; 39 OS << "\\\\"; 41 OS << B[0] << B[1]; // Quoted character 45 OS << '"'; 49 raw_ostream &OS, 53 OS << '\t' << getName() [all...] |
| MCSectionELF.cpp | 30 static void printName(raw_ostream &OS, StringRef Name) { 34 OS << Name; 37 OS << '"'; 40 OS << "\\\""; 42 OS << *B; 44 OS << "\\\\"; 46 OS << B[0] << B[1]; // Quoted character 50 OS << '"'; 54 raw_ostream &OS, 57 OS << '\t' << getName() [all...] |
| MCSectionCOFF.cpp | 38 raw_ostream &OS, 42 OS << '\t' << getName() << '\n'; 46 OS << "\t.section\t" << getName() << ",\""; 48 OS << 'd'; 50 OS << 'b'; 52 OS << 'x'; 54 OS << 'w'; 56 OS << 'r'; 58 OS << 'y'; 60 OS << 'n' [all...] |
| MCInst.cpp | 21 void MCOperand::print(raw_ostream &OS, const MCRegisterInfo *RegInfo) const { 22 OS << "<MCOperand "; 24 OS << "INVALID"; 26 OS << "Reg:"; 28 OS << RegInfo->getName(getReg()); 30 OS << getReg(); 32 OS << "Imm:" << getImm(); 34 OS << "SFPImm:" << bit_cast<float>(getSFPImm()); 36 OS << "DFPImm:" << bit_cast<double>(getDFPImm()); 38 OS << "Expr:(" << *getExpr() << ")" [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/ |
| MCAsmLexer.cpp | 39 void AsmToken::dump(raw_ostream &OS) const { 42 OS << "error"; 45 OS << "identifier: " << getString(); 48 OS << "int: " << getString(); 51 OS << "real: " << getString(); 54 OS << "string: " << getString(); 57 case AsmToken::Amp: OS << "Amp"; break; 58 case AsmToken::AmpAmp: OS << "AmpAmp"; break; 59 case AsmToken::At: OS << "At"; break; 60 case AsmToken::BackSlash: OS << "BackSlash"; break [all...] |
| /src/external/apache2/llvm/dist/clang/lib/APINotes/ |
| APINotesTypes.cpp | 14 LLVM_DUMP_METHOD void CommonEntityInfo::dump(llvm::raw_ostream &OS) const { 16 OS << "[Unavailable] (" << UnavailableMsg << ")" << ' '; 18 OS << "[UnavailableInSwift] "; 20 OS << (SwiftPrivate ? "[SwiftPrivate] " : ""); 22 OS << "Swift Name: " << SwiftName << ' '; 23 OS << '\n'; 26 LLVM_DUMP_METHOD void CommonTypeInfo::dump(llvm::raw_ostream &OS) const { 27 static_cast<const CommonEntityInfo &>(*this).dump(OS); 29 OS << "Swift Briged Type: " << *SwiftBridge << ' '; 31 OS << "NSError Domain: " << *NSErrorDomain << ' ' [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| Interval.cpp | 25 void Interval::print(raw_ostream &OS) const { 26 OS << "-------------------------------------------------------------\n" 31 OS << *Node << "\n"; 33 OS << "Interval Predecessors:\n"; 35 OS << *Predecessor << "\n"; 37 OS << "Interval Successors:\n"; 39 OS << *Successor << "\n";
|
| ValueLattice.cpp | 12 raw_ostream &operator<<(raw_ostream &OS, const ValueLatticeElement &Val) { 14 return OS << "unknown"; 16 return OS << "undef"; 18 return OS << "overdefined"; 21 return OS << "notconstant<" << *Val.getNotConstant() << ">"; 24 return OS << "constantrange incl. undef <" 29 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " 31 return OS << "constant<" << *Val.getConstant() << ">";
|
| /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/ |
| PDBExtras.cpp | 24 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, 27 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Bool, OS) 28 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Single, OS) 29 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Double, OS) 30 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int8, OS) 31 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int16, OS) 32 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int32, OS) 33 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int64, OS) 34 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt8, OS) 35 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt16, OS) [all...] |
| IPDBSourceFile.cpp | 22 void IPDBSourceFile::dump(raw_ostream &OS, int Indent) const { 23 OS.indent(Indent); 25 OS << "["; 27 OS << ChecksumType << ": "; 30 OS << format_hex_no_prefix(c, 2, true); 32 OS << "No checksum"; 33 OS << "] " << getFileName() << "\n";
|
| /src/external/apache2/llvm/dist/llvm/lib/TableGen/ |
| DetailedRecordsBackend.cpp | 45 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...] |
| /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/ |
| DWARFAddressRange.cpp | 16 void DWARFAddressRange::dump(raw_ostream &OS, uint32_t AddressSize, 20 OS << (DumpOpts.DisplayRawContents ? " " : "["); 21 DWARFFormValue::dumpAddress(OS, AddressSize, LowPC); 22 OS << ", "; 23 DWARFFormValue::dumpAddress(OS, AddressSize, HighPC); 24 OS << (DumpOpts.DisplayRawContents ? "" : ")"); 27 DWARFFormValue::dumpAddressSection(*Obj, OS, DumpOpts, SectionIndex); 30 raw_ostream &llvm::operator<<(raw_ostream &OS, const DWARFAddressRange &R) { 31 R.dump(OS, /* AddressSize */ 8); 32 return OS; [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-cov/ |
| RenderingSupport.h | 20 ColoredRawOstream(const ColoredRawOstream &OS) = delete; 23 raw_ostream &OS; 26 ColoredRawOstream(raw_ostream &OS, bool IsColorUsed) 27 : OS(OS), IsColorUsed(IsColorUsed) {} 30 : OS(Other.OS), IsColorUsed(Other.IsColorUsed) { 38 OS.resetColor(); 43 inline raw_ostream &operator<<(const ColoredRawOstream &OS, T &&Value) { 44 return OS.OS << std::forward<T>(Value) [all...] |
| /src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/ |
| GIMatchDagPredicateDependencyEdge.cpp | 19 GIMatchDagPredicateDependencyEdge::print(raw_ostream &OS) const { 20 OS << getRequiredMI()->getName(); 22 OS << "[" << getRequiredMO()->getName() << "]"; 23 OS << " ==> " << getPredicate()->getName() << "[" 33 raw_ostream &llvm::operator<<(raw_ostream &OS, 35 E.print(OS); 36 return OS;
|
| GIMatchDagPredicate.cpp | 18 void GIMatchDagPredicate::print(raw_ostream &OS) const { 19 OS << "<<"; 20 printDescription(OS); 21 OS << ">>:$" << Name; 24 void GIMatchDagPredicate::printDescription(raw_ostream &OS) const { OS << ""; } 32 void GIMatchDagOpcodePredicate::printDescription(raw_ostream &OS) const { 33 OS << "$mi.getOpcode() == " << Instr.TheDef->getName(); 41 void GIMatchDagOneOfOpcodesPredicate::printDescription(raw_ostream &OS) const { 42 OS << "$mi.getOpcode() == oneof(" [all...] |
| /src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| ClangDataCollectorsEmitter.cpp | 7 void clang::EmitClangDataCollectors(RecordKeeper &RK, raw_ostream &OS) { 11 OS << "DEF_ADD_DATA(" << R.getName() << ", {\n"; 13 OS << Code->getAsUnquotedString() << "}\n)"; 14 OS << "\n"; 16 OS << "#undef DEF_ADD_DATA\n";
|
| 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) { [all...] |