HomeSort by: relevance | last modified time | path
    Searched refs:Writer (Results 1 - 25 of 151) sorted by relevancy

1 2 3 4 5 6 7

  /src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
COFFImportDumper.cpp 23 void dumpCOFFImportFile(const COFFImportFile *File, ScopedPrinter &Writer) {
24 Writer.startLine() << '\n';
25 Writer.printString("File", File->getFileName());
26 Writer.printString("Format", "COFF-import-file");
30 case COFF::IMPORT_CODE: Writer.printString("Type", "code"); break;
31 case COFF::IMPORT_DATA: Writer.printString("Type", "data"); break;
32 case COFF::IMPORT_CONST: Writer.printString("Type", "const"); break;
37 Writer.printString("Name type", "ordinal");
40 Writer.printString("Name type", "name");
43 Writer.printString("Name type", "noprefix")
    [all...]
ObjDumper.h 37 ObjDumper(ScopedPrinter &Writer, StringRef ObjName);
132 ScopedPrinter &Writer);
135 ScopedPrinter &Writer);
138 ScopedPrinter &Writer);
141 ScopedPrinter &Writer);
144 ScopedPrinter &Writer);
147 ScopedPrinter &Writer);
149 void dumpCodeViewMergedTypes(ScopedPrinter &Writer,
  /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/lib/DebugInfo/CodeView/
SimpleTypeSerializer.cpp 17 static void addPadding(BinaryStreamWriter &Writer) {
18 uint32_t Align = Writer.getOffset() % 4;
25 cantFail(Writer.writeInteger(Pad));
36 BinaryStreamWriter Writer(ScratchBuffer, support::little);
37 TypeRecordMapping Mapping(Writer);
41 cantFail(Writer.writeObject(DummyPrefix));
50 addPadding(Writer);
54 Prefix->RecordLen = Writer.getOffset() - sizeof(uint16_t);
56 return {ScratchBuffer.data(), Writer.getOffset()};
DebugSymbolRVASubsection.cpp 29 Error DebugSymbolRVASubsection::commit(BinaryStreamWriter &Writer) const {
30 return Writer.writeArray(makeArrayRef(RVAs));
SymbolSerializer.cpp 23 : Storage(Allocator), Stream(RecordBuffer, support::little), Writer(Stream),
24 Mapping(Writer, Container) {}
29 Writer.setOffset(0);
47 uint32_t RecordEnd = Writer.getOffset();
49 Writer.setOffset(0);
50 if (auto EC = Writer.writeInteger(Length))
DebugCrossExSubsection.cpp 44 BinaryStreamWriter &Writer) const {
46 if (auto EC = Writer.writeInteger(M.first))
48 if (auto EC = Writer.writeInteger(M.second))
DebugSubsectionRecord.cpp 68 Error DebugSubsectionRecordBuilder::commit(BinaryStreamWriter &Writer,
70 assert(Writer.getOffset() % alignOf(Container) == 0 &&
81 if (auto EC = Writer.writeObject(Header))
84 if (auto EC = Subsection->commit(Writer))
87 if (auto EC = Writer.writeStreamRef(Contents.getRecordData()))
90 if (auto EC = Writer.padToAlignment(4))
DebugSymbolsSubsection.cpp 22 Error DebugSymbolsSubsection::commit(BinaryStreamWriter &Writer) const {
24 if (auto EC = Writer.writeBytes(Record.RecordData))
DebugStringTableSubsection.cpp 64 Error DebugStringTableSubsection::commit(BinaryStreamWriter &Writer) const {
65 uint32_t Begin = Writer.getOffset();
69 if (auto EC = Writer.writeCString(StringRef()))
75 Writer.setOffset(Offset);
76 if (auto EC = Writer.writeCString(S))
78 assert(Writer.getOffset() <= End);
81 Writer.setOffset(End);
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
PDBStringTableBuilder.cpp 153 Error PDBStringTableBuilder::writeHeader(BinaryStreamWriter &Writer) const {
159 if (auto EC = Writer.writeObject(H))
161 assert(Writer.bytesRemaining() == 0);
165 Error PDBStringTableBuilder::writeStrings(BinaryStreamWriter &Writer) const {
166 if (auto EC = Strings.commit(Writer))
169 assert(Writer.bytesRemaining() == 0);
173 Error PDBStringTableBuilder::writeHashTable(BinaryStreamWriter &Writer) const {
176 if (auto EC = Writer.writeInteger(BucketCount))
194 if (auto EC = Writer.writeArray(ArrayRef<ulittle32_t>(Buckets)))
197 assert(Writer.bytesRemaining() == 0)
    [all...]
InfoStreamBuilder.cpp 62 BinaryStreamWriter Writer(*InfoS);
69 if (auto EC = Writer.writeObject(H))
72 if (auto EC = NamedStreams.commit(Writer))
74 if (auto EC = Writer.writeInteger(0))
77 if (auto EC = Writer.writeEnum(E))
80 assert(Writer.bytesRemaining() == 0);
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
ARMMachObjectWriter.cpp 1 //===-- ARMMachObjectWriter.cpp - ARM Mach Object Writer ------------------===//
30 void RecordARMScatteredRelocation(MachObjectWriter *Writer,
39 void RecordARMScatteredHalfRelocation(MachObjectWriter *Writer,
46 bool requiresExternRelocation(MachObjectWriter *Writer,
55 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm,
140 RecordARMScatteredHalfRelocation(MachObjectWriter *Writer,
157 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind());
170 uint32_t Value = Writer->getSymbolAddress(*A, Layout);
172 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent());
187 Value2 = Writer->getSymbolAddress(B->getSymbol(), Layout)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/
fdr_log_writer_test.cc 46 FDRLogWriter Writer(B);
53 ASSERT_THAT(Writer.writeMetadataRecords(Preamble),
55 ASSERT_TRUE(Writer.writeMetadata<MetadataRecord::RecordKinds::NewCPUId>(1));
57 Writer.writeFunction(FDRLogWriter::FunctionRecordKind::Enter, 1, 1));
59 Writer.writeFunction(FDRLogWriter::FunctionRecordKind::Exit, 1, 1));
84 FDRLogWriter Writer(B);
94 ASSERT_THAT(Writer.writeMetadataRecords(Preamble),
96 ASSERT_TRUE(Writer.writeMetadata<MetadataRecord::RecordKinds::NewCPUId>(
100 Writer.writeFunction(FDRLogWriter::FunctionRecordKind::Enter, 1, TSC++));
102 Writer.writeFunction(FDRLogWriter::FunctionRecordKind::Exit, 1, TSC++))
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/
PDBStringTableBuilder.h 53 Error commit(BinaryStreamWriter &Writer) const;
59 Error writeHeader(BinaryStreamWriter &Writer) const;
60 Error writeStrings(BinaryStreamWriter &Writer) const;
61 Error writeHashTable(BinaryStreamWriter &Writer) const;
62 Error writeEpilogue(BinaryStreamWriter &Writer) const;
  /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/lib/Target/X86/MCTargetDesc/
X86MachObjectWriter.cpp 1 //===-- X86MachObjectWriter.cpp - X86 Mach-O Writer -----------------------===//
27 bool recordScatteredRelocation(MachObjectWriter *Writer,
35 void recordTLVPRelocation(MachObjectWriter *Writer,
43 void RecordX86Relocation(MachObjectWriter *Writer,
50 void RecordX86_64Relocation(MachObjectWriter *Writer, MCAssembler &Asm,
59 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm,
63 if (Writer->is64Bit())
64 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target,
67 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target,
103 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout
    [all...]
  /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...]
  /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;
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
GeneratePCH.cpp 31 Writer(Stream, this->Buffer->Data, ModuleCache, Extensions,
68 Writer.WriteAST(*SemaPtr, OutputFile, Module, isysroot,
78 return &Writer;
82 return &Writer;
  /src/external/apache2/llvm/lib/libLLVMBitWriter/
Makefile 7 .PATH: ${LLVM_SRCDIR}/lib/Bitcode/Writer
  /src/external/apache2/llvm/dist/llvm/tools/llvm-xray/
xray-converter.cpp 98 support::endian::Writer Writer(OS, support::endianness::little);
100 Writer.write(FH.Version);
101 Writer.write(FH.Type);
107 Writer.write(Bitfield);
108 Writer.write(FH.CycleFrequency);
112 Writer.write(Padding4B);
113 Writer.write(Padding4B);
114 Writer.write(Padding4B);
115 Writer.write(Padding4B)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
CodeViewYAMLTypeHashing.cpp 72 BinaryStreamWriter Writer(Buffer, llvm::support::little);
74 cantFail(Writer.writeInteger(DebugH.Magic));
75 cantFail(Writer.writeInteger(DebugH.Version));
76 cantFail(Writer.writeInteger(DebugH.HashAlgorithm));
83 cantFail(Writer.writeFixedString(Hash));
85 assert(Writer.bytesRemaining() == 0);
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
SymbolRecordMapping.h 25 explicit SymbolRecordMapping(BinaryStreamWriter &Writer,
27 : IO(Writer), Container(Container) {}
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cat/
llvm-cat.cpp 58 BitcodeWriter Writer(Buffer);
66 Writer.copyStrtab(BitcodeMod.getStrtab());
80 Writer.writeModule(*M);
83 Writer.writeStrtab();

Completed in 46 milliseconds

1 2 3 4 5 6 7