/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/ |
D | PDBExtras.cpp | 24 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 …]
|
/external/llvm/lib/DebugInfo/PDB/ |
D | PDBExtras.cpp | 25 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() argument 28 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Bool, OS) in operator <<() 29 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Single, OS) in operator <<() 30 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Double, OS) in operator <<() 31 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int8, OS) in operator <<() 32 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int16, OS) in operator <<() 33 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int32, OS) in operator <<() 34 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int64, OS) in operator <<() 35 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt8, OS) in operator <<() 36 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt16, OS) in operator <<() [all …]
|
/external/llvm/utils/TableGen/ |
D | Attributes.cpp | 26 void emit(raw_ostream &OS); 29 void emitTargetIndependentEnums(raw_ostream &OS); 30 void emitConversionFn(raw_ostream &OS); 31 void emitFnAttrCompatCheck(raw_ostream &OS, bool IsStringAttr); 33 void printEnumAttrClasses(raw_ostream &OS, 35 void printStrBoolAttrClasses(raw_ostream &OS, 43 void Attributes::emitTargetIndependentEnums(raw_ostream &OS) { in emitTargetIndependentEnums() argument 44 OS << "#ifdef GET_ATTR_ENUM\n"; in emitTargetIndependentEnums() 45 OS << "#undef GET_ATTR_ENUM\n"; in emitTargetIndependentEnums() 51 OS << A->getName() << ",\n"; in emitTargetIndependentEnums() [all …]
|
D | DAGISelMatcherEmitter.cpp | 60 unsigned StartIdx, formatted_raw_ostream &OS); 62 void EmitPredicateFunctions(formatted_raw_ostream &OS); 64 void EmitHistogram(const Matcher *N, formatted_raw_ostream &OS); 67 formatted_raw_ostream &OS); 133 static uint64_t EmitVBRValue(uint64_t Val, raw_ostream &OS) { in EmitVBRValue() argument 135 OS << Val << ", "; in EmitVBRValue() 142 OS << (Val&127) << "|128,"; in EmitVBRValue() 146 OS << Val; in EmitVBRValue() 148 OS << "/*" << InVal << "*/"; in EmitVBRValue() 149 OS << ", "; in EmitVBRValue() [all …]
|
D | InstrInfoEmitter.cpp | 42 void run(raw_ostream &OS); 45 void emitEnums(raw_ostream &OS); 59 raw_ostream &OS); 60 void emitOperandTypesEnum(raw_ostream &OS, const CodeGenTarget &Target); 66 void emitOperandNameMappings(raw_ostream &OS, const CodeGenTarget &Target, 70 void EmitOperandInfo(raw_ostream &OS, OperandInfoMapTy &OperandInfoIDs); 76 unsigned Num, raw_ostream &OS) { in PrintDefList() argument 77 OS << "static const MCPhysReg ImplicitList" << Num << "[] = { "; in PrintDefList() 79 OS << getQualifiedName(U) << ", "; in PrintDefList() 80 OS << "0 };\n"; in PrintDefList() [all …]
|
D | RegisterInfoEmitter.cpp | 77 void EmitRegUnitPressure(raw_ostream &OS, const CodeGenRegBank &RegBank, 79 void emitComposeSubRegIndices(raw_ostream &OS, CodeGenRegBank &RegBank, 81 void emitComposeSubRegIndexLaneMask(raw_ostream &OS, CodeGenRegBank &RegBank, 88 void RegisterInfoEmitter::runEnums(raw_ostream &OS, in runEnums() argument 98 emitSourceFileHeader("Target Register Enum Values", OS); in runEnums() 100 OS << "\n#ifdef GET_REGINFO_ENUM\n"; in runEnums() 101 OS << "#undef GET_REGINFO_ENUM\n\n"; in runEnums() 103 OS << "namespace llvm {\n\n"; in runEnums() 105 OS << "class MCRegisterClass;\n" in runEnums() 110 OS << "namespace " << Namespace << " {\n"; in runEnums() [all …]
|
D | IntrinsicEmitter.cpp | 37 void run(raw_ostream &OS); 39 void EmitPrefix(raw_ostream &OS); 42 raw_ostream &OS); 45 raw_ostream &OS); 47 raw_ostream &OS); 49 raw_ostream &OS); 51 raw_ostream &OS); 53 bool IsGCC, raw_ostream &OS); 54 void EmitSuffix(raw_ostream &OS); 62 void IntrinsicEmitter::run(raw_ostream &OS) { in run() argument [all …]
|
D | DAGISelMatcher.cpp | 24 void Matcher::print(raw_ostream &OS, unsigned indent) const { in print() argument 25 printImpl(OS, indent); in print() 27 return Next->print(OS, indent); in print() 30 void Matcher::printOne(raw_ostream &OS) const { in printOne() 31 printImpl(OS, 0); in printOne() 108 void ScopeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument 109 OS.indent(indent) << "Scope\n"; in printImpl() 112 OS.indent(indent+1) << "NULL POINTER\n"; in printImpl() 114 getChild(i)->print(OS, indent+2); in printImpl() 118 void RecordMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument [all …]
|
D | OptParserEmitter.cpp | 97 static raw_ostream &write_cstring(raw_ostream &OS, llvm::StringRef Str) { in write_cstring() argument 98 OS << '"'; in write_cstring() 99 OS.write_escaped(Str); in write_cstring() 100 OS << '"'; in write_cstring() 101 return OS; in write_cstring() 108 void EmitOptParser(RecordKeeper &Records, raw_ostream &OS) { in EmitOptParser() argument 114 emitSourceFileHeader("Option Parsing Definitions", OS); in EmitOptParser() 135 OS << "/////////\n"; in EmitOptParser() 136 OS << "// Prefixes\n\n"; in EmitOptParser() 137 OS << "#ifdef PREFIX\n"; in EmitOptParser() [all …]
|
D | SubtargetEmitter.cpp | 72 void Enumeration(raw_ostream &OS); 73 unsigned FeatureKeyValues(raw_ostream &OS); 74 unsigned CPUKeyValues(raw_ostream &OS); 83 void EmitStageAndOperandCycleData(raw_ostream &OS, 86 void EmitItineraries(raw_ostream &OS, 89 void EmitProcessorProp(raw_ostream &OS, const Record *R, const char *Name, 92 raw_ostream &OS); 101 void EmitSchedClassTables(SchedClassTables &SchedTables, raw_ostream &OS); 102 void EmitProcessorModels(raw_ostream &OS); 103 void EmitProcessorLookup(raw_ostream &OS); [all …]
|
D | AsmMatcherEmitter.cpp | 1833 raw_ostream &OS) { in emitConvertFuncs() argument 2122 OS << "namespace {\n"; in emitConvertFuncs() 2125 OS << "enum OperatorConversionKind {\n"; in emitConvertFuncs() 2127 OS << " " << Converter << ",\n"; in emitConvertFuncs() 2128 OS << " CVT_NUM_CONVERTERS\n"; in emitConvertFuncs() 2129 OS << "};\n\n"; in emitConvertFuncs() 2132 OS << "enum InstructionConversionKind {\n"; in emitConvertFuncs() 2134 OS << " " << Signature << ",\n"; in emitConvertFuncs() 2135 OS << " CVT_NUM_SIGNATURES\n"; in emitConvertFuncs() 2136 OS << "};\n\n"; in emitConvertFuncs() [all …]
|
/external/clang/lib/AST/ |
D | TypePrinter.cpp | 93 void print(const Type *ty, Qualifiers qs, raw_ostream &OS, 95 void print(QualType T, raw_ostream &OS, StringRef PlaceHolder); 98 void spaceBeforePlaceHolder(raw_ostream &OS); 99 void printTypeSpec(const NamedDecl *D, raw_ostream &OS); 101 void printBefore(const Type *ty, Qualifiers qs, raw_ostream &OS); 102 void printBefore(QualType T, raw_ostream &OS); 103 void printAfter(const Type *ty, Qualifiers qs, raw_ostream &OS); 104 void printAfter(QualType T, raw_ostream &OS); 105 void AppendScope(DeclContext *DC, raw_ostream &OS); 106 void printTag(TagDecl *T, raw_ostream &OS); [all …]
|
D | StmtPrinter.cpp | 37 raw_ostream &OS; member in __anon61614ae40111::StmtPrinter 46 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy) {} in StmtPrinter() 58 OS << ";\n"; in PrintStmt() 81 OS << "<null expr>"; in PrintExpr() 86 OS << " "; in Indent() 87 return OS; in Indent() 91 if (Helper && Helper->handledStmt(S,OS)) in Visit() 100 OS << "<<unknown expr type>>"; in VisitExpr() 118 OS << "{\n"; in PrintRawCompoundStmt() 126 D->print(OS, Policy, IndentLevel); in PrintRawDecl() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/ |
D | MicrosoftDemangleNodes.cpp | 24 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 …]
|
/external/clang/utils/TableGen/ |
D | ClangAttrEmitter.cpp | 216 virtual void writeAccessors(raw_ostream &OS) const = 0; 217 virtual void writeAccessorDefinitions(raw_ostream &OS) const {} in writeAccessorDefinitions() 218 virtual void writeASTVisitorTraversal(raw_ostream &OS) const {} in writeASTVisitorTraversal() 219 virtual void writeCloneArgs(raw_ostream &OS) const = 0; 220 virtual void writeTemplateInstantiationArgs(raw_ostream &OS) const = 0; 221 virtual void writeTemplateInstantiation(raw_ostream &OS) const {} in writeTemplateInstantiation() 222 virtual void writeCtorBody(raw_ostream &OS) const {} in writeCtorBody() 223 virtual void writeCtorInitializers(raw_ostream &OS) const = 0; 224 virtual void writeCtorDefaultInitializers(raw_ostream &OS) const = 0; 225 virtual void writeCtorParameters(raw_ostream &OS) const = 0; [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/ |
D | MCAsmLexer.cpp | 39 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
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' << getSectionName(); in PrintSwitchToSection() [all …]
|
D | MCAsmStreamer.cpp | 46 formatted_raw_ostream &OS; member in __anon5e40f78c0111::MCAsmStreamer 69 : MCStreamer(Context), OSOwner(std::move(os)), OS(*OSOwner), in MCAsmStreamer() 92 OS << '\n'; in EmitEOL() 370 OS << '\n'; in EmitCommentsAndEOL() 380 OS.PadToColumn(MAI->getCommentColumn()); in EmitCommentsAndEOL() 382 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'; in EmitCommentsAndEOL() 397 OS << '\t'; in emitRawComment() 398 OS << MAI->getCommentString() << T; in emitRawComment() 442 OS << Comments; in emitExplicitComments() 450 TS->changeSection(getCurrentSectionOnly(), Section, Subsection, OS); in ChangeSection() [all …]
|
/external/llvm/lib/MC/ |
D | MCSectionELF.cpp | 33 static void printName(raw_ostream &OS, StringRef Name) { in printName() argument 37 OS << Name; in printName() 40 OS << '"'; in printName() 43 OS << "\\\""; in printName() 45 OS << *B; in printName() 47 OS << "\\\\"; in printName() 49 OS << B[0] << B[1]; // Quoted character in printName() 53 OS << '"'; in printName() 57 raw_ostream &OS, in PrintSwitchToSection() argument 61 OS << '\t' << getSectionName(); in PrintSwitchToSection() [all …]
|
D | MCAsmStreamer.cpp | 43 formatted_raw_ostream &OS; member in __anonec2fa12a0111::MCAsmStreamer 66 : MCStreamer(Context), OSOwner(std::move(os)), OS(*OSOwner), in MCAsmStreamer() 81 OS << '\n'; in EmitEOL() 302 OS << '\n'; in EmitCommentsAndEOL() 312 OS.PadToColumn(MAI->getCommentColumn()); in EmitCommentsAndEOL() 314 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'; in EmitCommentsAndEOL() 329 OS << '\t'; in emitRawComment() 330 OS << MAI->getCommentString() << T; in emitRawComment() 373 OS << Comments; in emitExplicitComments() 380 Section->PrintSwitchToSection(*MAI, OS, Subsection); in ChangeSection() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
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 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::GlobalSection &Section); [all …]
|
D | DWARFEmitter.cpp | 38 static void writeInteger(T Integer, raw_ostream &OS, bool IsLittleEndian) { in writeInteger() argument 41 OS.write(reinterpret_cast<char *>(&Integer), sizeof(T)); in writeInteger() 45 raw_ostream &OS, bool IsLittleEndian) { in writeVariableSizedInteger() argument 47 writeInteger((uint64_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger() 49 writeInteger((uint32_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger() 51 writeInteger((uint16_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger() 53 writeInteger((uint8_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger() 58 static void ZeroFillBytes(raw_ostream &OS, size_t Size) { in ZeroFillBytes() argument 61 OS.write(reinterpret_cast<char *>(FillData.data()), Size); in ZeroFillBytes() 65 raw_ostream &OS, bool IsLittleEndian) { in writeInitialLength() argument [all …]
|
/external/llvm/tools/yaml2obj/ |
D | yaml2macho.cpp | 37 Error writeMachO(raw_ostream &OS); 40 Error writeHeader(raw_ostream &OS); 41 Error writeLoadCommands(raw_ostream &OS); 42 Error writeSectionData(raw_ostream &OS); 43 Error writeLinkEditData(raw_ostream &OS); 44 void writeBindOpcodes(raw_ostream &OS, 47 Error writeRebaseOpcodes(raw_ostream &OS); 48 Error writeBasicBindOpcodes(raw_ostream &OS); 49 Error writeWeakBindOpcodes(raw_ostream &OS); 50 Error writeLazyBindOpcodes(raw_ostream &OS); [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineOperand.cpp | 426 static void printCFIRegister(unsigned DwarfReg, raw_ostream &OS, in printCFIRegister() argument 429 OS << "%dwarfreg." << DwarfReg; in printCFIRegister() 434 OS << printReg(*Reg, TRI); in printCFIRegister() 436 OS << "<badreg>"; in printCFIRegister() 439 static void printIRBlockReference(raw_ostream &OS, const BasicBlock &BB, in printIRBlockReference() argument 441 OS << "%ir-block."; in printIRBlockReference() 443 printLLVMNameWithoutPrefix(OS, BB.getName()); in printIRBlockReference() 457 MachineOperand::printIRSlotNumber(OS, *Slot); in printIRBlockReference() 459 OS << "<unknown>"; in printIRBlockReference() 462 static void printSyncScope(raw_ostream &OS, const LLVMContext &Context, in printSyncScope() argument [all …]
|
/external/llvm/lib/Target/Lanai/InstPrinter/ |
D | LanaiInstPrinter.cpp | 32 void LanaiInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const { in printRegName() argument 33 OS << StringRef(getRegisterName(RegNo)).lower(); in printRegName() 36 bool LanaiInstPrinter::printInst(const MCInst *MI, raw_ostream &OS, in printInst() argument 39 OS << "\t" << Alias << " "; in printInst() 40 printOperand(MI, OpNo0, OS); in printInst() 41 OS << ", "; in printInst() 42 printOperand(MI, OpNo1, OS); in printInst() 70 raw_ostream &OS, in printMemoryLoadIncrement() argument 74 OS << "\t" << Opcode << "\t[" << decIncOperator(MI) << "%" in printMemoryLoadIncrement() 80 OS << "\t" << Opcode << "\t[%" in printMemoryLoadIncrement() [all …]
|