| /src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/ |
| MsgPackWriter.h | 1 //===- MsgPackWriter.h - Simple MsgPack writer ------------------*- C++ -*-===// 10 /// This file contains a MessagePack writer. 18 /// msgpack::Writer MPWriter(output); 40 class Writer { 42 /// Construct a writer, optionally enabling "Compatibility Mode" as defined 45 /// When in \p Compatible mode, the writer will write \c Str16 formats 50 Writer(raw_ostream &OS, bool Compatible = false); 52 Writer(const Writer &) = delete; 53 Writer &operator=(const Writer &) = delete [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/wasm/ |
| Writer.h | 1 //===- Writer.h -------------------------------------------------*- C++ -*-===// 20 class Writer { 22 Writer(Object &Obj, raw_ostream &Out) : Obj(Obj), Out(Out) {}
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| EndianStream.h | 51 struct Writer { 54 Writer(raw_ostream &OS, endianness Endian) : OS(OS), Endian(Endian) {}
|
| /src/external/apache2/llvm/dist/llvm/lib/BinaryFormat/ |
| MsgPackWriter.cpp | 1 //===- MsgPackWriter.cpp - Simple MsgPack writer ----------------*- C++ -*-===// 10 /// This file implements a MessagePack writer. 20 Writer::Writer(raw_ostream &OS, bool Compatible) 23 void Writer::writeNil() { EW.write(FirstByte::Nil); } 25 void Writer::write(bool b) { EW.write(b ? FirstByte::True : FirstByte::False); } 27 void Writer::write(int64_t i) { 60 void Writer::write(uint64_t u) { 88 void Writer::write(double d) { 101 void Writer::write(StringRef s) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| TestModuleFileExtension.h | 28 class Writer : public ModuleFileExtensionWriter { 30 Writer(ModuleFileExtension *Ext) : ModuleFileExtensionWriter(Ext) { } 31 ~Writer() override; 61 createExtensionWriter(ASTWriter &Writer) override;
|
| TestModuleFileExtension.cpp | 20 TestModuleFileExtension::Writer::~Writer() { } 22 void TestModuleFileExtension::Writer::writeExtensionContents( 110 return std::unique_ptr<ModuleFileExtensionWriter>(new Writer(this));
|
| SerializedDiagnosticPrinter.cpp | 59 SDiagsWriter &Writer; 61 SDiagsRenderer(SDiagsWriter &Writer, const LangOptions &LangOpts, 63 : DiagnosticNoteRenderer(LangOpts, DiagOpts), Writer(Writer) {} 92 SDiagsWriter &Writer; 98 SDiagsMerger(SDiagsWriter &Writer) 99 : SerializedDiagnosticReader(), Writer(Writer) {} 675 Writer.EmitDiagnosticMessage(Loc, PLoc, Level, Message, D); 689 Writer.EnterDiagBlock() [all...] |
| ASTUnit.cpp | 221 ASTWriter Writer; 224 : Stream(Buffer), Writer(Stream, Buffer, ModuleCache, {}) {} 725 return &WriterData->Writer; 731 return &WriterData->Writer; 1027 void AfterPCHEmitted(ASTWriter &Writer) override { 1033 TopLevelDeclIDs.push_back(Writer.getDeclID(D)); 2298 static bool serializeUnit(ASTWriter &Writer, 2303 Writer.WriteAST(S, std::string(), nullptr, "", hasErrors); 2317 return serializeUnit(WriterData->Writer, WriterData->Buffer, 2323 ASTWriter Writer(Stream, Buffer, ModuleCache, {}) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/ |
| SymbolSerializer.h | 34 BinaryStreamWriter Writer; 42 if (auto EC = Writer.writeObject(Prefix))
|
| CodeViewRecordIO.h | 46 return Writer->getOffset(); 58 explicit CodeViewRecordIO(BinaryStreamWriter &Writer) : Writer(&Writer) {} 70 return (Streamer != nullptr) && (Reader == nullptr) && (Writer == nullptr); 73 return (Reader != nullptr) && (Streamer == nullptr) && (Writer == nullptr); 76 return (Writer != nullptr) && (Streamer == nullptr) && (Reader == nullptr); 91 return Writer->writeObject(Value); 109 return Writer->writeInteger(Value); 158 if (auto EC = Writer->writeInteger(Size) [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
| xray_fdr_logging.cc | 63 FDRLogWriter *Writer = nullptr; 472 // Set up a buffer, before setting up the log writer. Bail out on failure. 476 // Set up the Log Writer for this thread. 477 if (UNLIKELY(TLD.Writer == nullptr)) { 480 TLD.Writer = LWStorage; 482 TLD.Writer->resetRecord(); 487 FDRController<>(TLD.BQ, TLD.Buffer, *TLD.Writer, clock_gettime,
|
| /src/external/apache2/llvm/dist/clang/include/clang/Serialization/ |
| ASTRecordWriter.h | 28 ASTWriter *Writer; 59 : DataStreamBasicWriter(W.getASTContext()), Writer(&W), Record(&Record) {} 64 : DataStreamBasicWriter(Parent.getASTContext()), Writer(Parent.Writer), 90 uint64_t Offset = Writer->Stream.GetCurrentBitNo(); 92 Writer->Stream.EmitRecord(Code, *Record, Abbrev); 100 PrepareToEmit(Writer->Stream.GetCurrentBitNo()); 101 Writer->Stream.EmitRecord(Code, *Record, Abbrev); 102 return Writer->Stream.GetCurrentBitNo(); 132 return Writer->AddSourceLocation(Loc, *Record) [all...] |
| ASTWriter.h | 1 //===- ASTWriter.h - AST File Writer ----------------------------*- C++ -*-===// 122 /// The bitstream writer used to emit this precompiled header. 522 ModuleFileExtensionWriter &Writer); 549 /// Create a new precompiled header writer that outputs to 772 ASTWriter Writer; 777 ASTWriter &getWriter() { return Writer; } 778 const ASTWriter &getWriter() const { return Writer; }
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/ |
| ELFObjcopy.cpp | 136 static std::unique_ptr<Writer> createELFWriter(const CommonConfig &Config, 139 // Depending on the initial ELFT and OutputFormat we need a different Writer. 157 static std::unique_ptr<Writer> createWriter(const CommonConfig &Config, 666 std::unique_ptr<Writer> Writer = 668 if (Error E = Writer->finalize()) 670 return Writer->write();
|
| Object.cpp | 400 // as we don't actually write any data. The real writer class has 1911 Writer::~Writer() {} 2105 : Writer(Obj, Buf), WriteSectionHeaders(WSH && Obj.HadShdrs), 2637 IHexSectionWriter Writer(*Buf); 2640 if (Error Err = Sec->accept(Writer)) 2643 uint64_t Offset = Writer.getBufferOffset();
|
| Object.h | 298 // Real IHEX section writer 307 class Writer { 314 virtual ~Writer(); 318 Writer(Object &O, raw_ostream &Out) : Obj(O), Out(Out) {} 321 template <class ELFT> class ELFWriter : public Writer { 358 class BinaryWriter : public Writer { 368 BinaryWriter(Object &Obj, raw_ostream &Out) : Writer(Obj, Out) {} 371 class IHexWriter : public Writer { 387 IHexWriter(Object &Obj, raw_ostream &Out) : Writer(Obj, Out) {}
|
| /src/external/apache2/llvm/dist/llvm/tools/dsymutil/ |
| MachOUtils.cpp | 239 // Transfer \a Segment from \a Obj to the output file. This calls into \a Writer 255 const object::MachOObjectFile &Obj, MachObjectWriter &Writer, 289 Writer.W.OS.write(reinterpret_cast<char *>(&Segment), sizeof(Segment)); 300 Writer.W.OS.write(reinterpret_cast<char *>(&Sect), sizeof(Sect)); 307 MCAsmLayout &Layout, MachObjectWriter &Writer) { 308 Writer.writeSegmentLoadCommand("__DWARF", NumSections, VMAddr, 323 Writer.writeSection(Layout, *Sec, VMAddr, FileOffset, 0, 0, 0); 362 auto &Writer = static_cast<MachObjectWriter &>(MCAsm.getWriter()); 390 bool Is64Bit = Writer.is64Bit(); 509 Writer.writeHeader(MachO::MH_DSYM, NumLoadCommands, LoadCommandSize, false) [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Frontend/ |
| CompilerInstance.h | 530 auto *Writer = ThePCHContainerOperations->getWriterOrNull(Format); 531 if (!Writer) { 536 return *Writer;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/MC/ |
| MCAssembler.h | 108 std::unique_ptr<MCObjectWriter> Writer; 152 /// the Streamer and the .o writer 231 std::unique_ptr<MCObjectWriter> Writer); 298 MCObjectWriter *getWriterPtr() const { return Writer.get(); } 304 MCObjectWriter &getWriter() const { return *Writer; } 310 /// \p Writer is used for custom object writer (as the MCJIT does), 373 // factored so that the streamer has direct access to the .o writer, it can 408 // factored so that the streamer has direct access to the .o writer, it can 429 // factored so that the streamer has direct access to the .o writer, it ca [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| MustExecute.cpp | 467 MustExecuteAnnotatedWriter Writer(F, DT, LI); 468 F.print(dbgs(), &Writer); 844 MustExecuteAnnotatedWriter Writer(F, DT, LI); 845 F.print(OS, &Writer);
|
| InlineCost.cpp | 918 Writer(this) {} 920 /// Annotation Writer for instruction details 921 InlineCostAnnotationWriter Writer; 2400 F.print(dbgs(), &Writer);
|
| /src/external/apache2/llvm/dist/clang/lib/Serialization/ |
| ASTWriterDecl.cpp | 35 ASTWriter &Writer; 43 ASTDeclWriter(ASTWriter &Writer, ASTContext &Context, 45 : Writer(Writer), Context(Context), Record(Writer, Record), 182 Firsts[Writer.Chain->getOwningModuleFile(R)] = R; 213 if (Writer.Chain != Writer.Context->getExternalSource() && 260 if (Writer.getFirstLocalDecl(Specialization) != Specialization) 263 Writer.DeclUpdates[Template].push_back(ASTWriter::DeclUpdate [all...] |
| ASTWriter.cpp | 1 //===- ASTWriter.cpp - AST File Writer ------------------------------------===// 153 ASTWriter &Writer; 158 ASTTypeWriter(ASTWriter &Writer) 159 : Writer(Writer), BasicWriter(Writer, Record) {} 166 return BasicWriter.Emit(TYPE_EXT_QUAL, Writer.getTypeExtQualAbbrev()); 1632 ASTWriter &Writer; 1639 HeaderFileInfoTrait(ASTWriter &Writer) : Writer(Writer) { [all...] |
| ASTWriterStmt.cpp | 33 ASTWriter &Writer; 40 ASTStmtWriter(ASTWriter &Writer, ASTWriter::RecordData &Record) 41 : Writer(Writer), Record(Writer, Record), 93 Record.push_back(Writer.getSwitchCaseID(S)); 186 Record.push_back(Writer.RecordSwitchCaseID(SC)); 332 Writer.AddToken(S->getAsmToks()[I], Record.getRecordData()); 616 AbbrevToUse = Writer.getDeclRefExprAbbrev(); 641 AbbrevToUse = Writer.getIntegerLiteralAbbrev() [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/ |
| COFFDumper.cpp | 81 COFFDumper(const llvm::object::COFFObjectFile *Obj, ScopedPrinter &Writer) 82 : ObjDumper(Writer, Obj->getFileName()), Obj(Obj), Writer(Writer), 137 codeview::printTypeIndex(Writer, FieldName, TI, Types); 194 ScopedPrinter &Writer; 249 ScopedPrinter &Writer) { 250 return std::make_unique<COFFDumper>(&Obj, Writer); 2028 void llvm::dumpCodeViewMergedTypes(ScopedPrinter &Writer, 2033 ListScope S(Writer, "MergedTypeStream") [all...] |