reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
include/llvm/MCA/Instruction.h
  601 /// defining instruction.
  602 class WriteRef {
  603   std::pair<unsigned, WriteState *> Data;
tools/clang/include/clang/Tooling/Transformer/RewriteRule.h
  105 // corresponding replacements.
  106 struct RewriteRule {
  107   struct Case {
include/llvm/Support/BinaryStreamWriter.h
   30 /// although no methods are overridable.
   31 class BinaryStreamWriter {
   32 public:
utils/TableGen/AsmWriterInst.h
   25 
   26   struct AsmWriterOperand {
   27     enum OpType {
tools/clang/include/clang/Rewrite/Core/Rewriter.h
   31 /// are involved.
   32 class Rewriter {
   33   SourceManager *SourceMgr = nullptr;
utils/TableGen/AsmWriterInst.h
   77 
   78   class AsmWriterInst {
   79   public:
tools/lldb/source/Core/EmulateInstruction.cpp
  132 
  133 bool EmulateInstruction::WriteRegisterUnsigned(const Context &context,
  134                                                lldb::RegisterKind reg_kind,
include/llvm/MC/MCObjectWriter.h
   38 /// should be emitted as part of writeObject().
   39 class MCObjectWriter {
   40 protected:
include/llvm/Support/EndianStream.h
   50 /// Adapter to write values to a stream in a particular byte order.
   51 struct Writer {
   52   raw_ostream &OS;
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
   57 
   58 class DirectBufferWriter {
   59 public:
include/llvm/MC/MCObjectWriter.h
  114 /// target and the object format.
  115 class MCObjectTargetWriter {
  116 public:
tools/lld/include/lld/Core/Writer.h
   24 /// has a concrete subclass of Writer.
   25 class Writer {
   26 public:
lib/BinaryFormat/MsgPackDocument.cpp
  170 
  171 struct WriterStackLevel {
  172   DocNode Node;
include/llvm/Support/TarWriter.h
   17 namespace llvm {
   18 class TarWriter {
   19 public:
include/llvm/Bitstream/BitstreamWriter.h
   26 
   27 class BitstreamWriter {
   28   SmallVectorImpl<char> &Out;
tools/clang/include/clang/Serialization/ASTWriter.h
  102 /// instance of the ASTReader class.
  103 class ASTWriter : public ASTDeserializationListener,
  104                   public ASTMutationListener {
tools/llvm-objcopy/ELF/Object.h
  303 
  304 class Writer {
  305 protected:
include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
  261   BinaryStreamReader *Reader = nullptr;
  262   BinaryStreamWriter *Writer = nullptr;
  263   CodeViewRecordStreamer *Streamer = nullptr;
include/llvm/DebugInfo/PDB/Native/HashTable.h
  182 
  183   Error commit(BinaryStreamWriter &Writer) const {
  184     Header H;
include/llvm/MC/MCMachObjectWriter.h
   80 
   81 class MachObjectWriter : public MCObjectWriter {
   82   /// Helper struct for containing some precomputed information on symbols.
include/llvm/DebugInfo/GSYM/FileWriter.h
   28 /// offsets and sizes.
   29 class FileWriter {
   30   llvm::raw_pwrite_stream &OS;
include/llvm/MC/MCELFObjectWriter.h
   53 
   54 class MCELFObjectTargetWriter : public MCObjectTargetWriter {
   55   const uint8_t OSABI;
lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
   19 
   20 enum AsmWriterFlavorTy {
   21   // Note: This numbering has to match the GCC assembler dialects for inline
lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
   20 
   21 enum AsmWriterVariantTy {
   22   Default = -1,
tools/lldb/source/Target/RegisterContext.cpp
  222 
  223 bool RegisterContext::WriteRegisterFromUnsigned(const RegisterInfo *reg_info,
  224                                                 uint64_t uval) {
include/llvm/Analysis/ScalarEvolutionExpressions.h
  656     // case, causing the compiler to hang on certain tests.
  657     DenseMap<const SCEV *, const SCEV *> RewriteResults;
  658 
tools/llvm-profdata/llvm-profdata.cpp
  183 /// Keep track of merged data and reported errors.
  184 struct WriterContext {
  185   std::mutex Lock;
tools/llvm-objcopy/ELF/Object.h
  362 
  363 class IHexWriter : public Writer {
  364   struct SectionCompare {
include/llvm/Support/GraphWriter.h
   65 template<typename GraphType>
   66 class GraphWriter {
   67   raw_ostream &O;
include/llvm/XRay/FDRTraceWriter.h
   28 /// records defined in the FDRRecords.h file.
   29 class FDRTraceWriter : public RecordVisitor {
   30 public:
projects/compiler-rt/lib/xray/xray_utils.h
   28 
   29 class LogWriter {
   30 public:
tools/llvm-rc/ResourceFileWriter.h
   42 
   43 class ResourceFileWriter : public Visitor {
   44 public:
tools/llvm-objcopy/ELF/Object.h
  349 
  350 class BinaryWriter : public Writer {
  351 private:
include/llvm/MC/MCMachObjectWriter.h
   27 
   28 class MCMachObjectTargetWriter : public MCObjectTargetWriter {
   29   const unsigned Is64Bit : 1;
tools/lldb/include/lldb/Target/RegisterContext.h
   44 
   45   virtual bool WriteRegister(const RegisterInfo *reg_info,
   46                              const RegisterValue &reg_value) = 0;
tools/clang/include/clang/Rewrite/Frontend/FixItRewriter.h
   61 
   62 class FixItRewriter : public DiagnosticConsumer {
   63   /// The diagnostics machinery.
include/llvm/ProfileData/SampleProfWriter.h
   31 /// Sample-based profile writer. Base class.
   32 class SampleProfileWriter {
   33 public:
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
  102 void X86MachObjectWriter::RecordX86_64Relocation(
  103     MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout,
  104     const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target,
include/llvm/MC/MCWasmObjectWriter.h
   20 
   21 class MCWasmObjectTargetWriter : public MCObjectTargetWriter {
   22   const unsigned Is64Bit : 1;
tools/clang/lib/Frontend/ASTUnit.cpp
  216 
  217 struct ASTUnit::ASTWriterData {
  218   SmallString<128> Buffer;
include/llvm/MC/MCXCOFFObjectWriter.h
   17 
   18 class MCXCOFFObjectTargetWriter : public MCObjectTargetWriter {
   19 protected:
include/llvm/MC/MCWinCOFFObjectWriter.h
   22 
   23   class MCWinCOFFObjectTargetWriter : public MCObjectTargetWriter {
   24     virtual void anchor();
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_x86_64.cpp
   40 
   41 static void writeRegister(const void *reg_src, uint8_t *context,
   42                           const RegisterInfo &reg) {
tools/llvm-readobj/COFFImportDumper.cpp
   22 
   23 void dumpCOFFImportFile(const COFFImportFile *File, ScopedPrinter &Writer) {
   24   Writer.startLine() << '\n';
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
  374 
  375 void ARMMachObjectWriter::recordRelocation(MachObjectWriter *Writer,
  376                                            MCAssembler &Asm,
lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
  151 void AArch64MachObjectWriter::recordRelocation(
  152     MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout,
  153     const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target,
tools/clang/include/clang/Serialization/PCHContainerOperations.h
   37 /// modules).
   38 class PCHContainerWriter {
   39 public:
include/llvm/Support/RWMutex.h
  106   unsigned readers = 0;
  107   unsigned writers = 0;
  108 
tools/llvm-objcopy/ELF/Object.h
  176 
  177 class BinarySectionWriter : public SectionWriter {
  178 public:
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
  502 
  503 void X86MachObjectWriter::RecordX86Relocation(MachObjectWriter *Writer,
  504                                               const MCAssembler &Asm,
lib/Target/AVR/MCTargetDesc/AVRELFObjectWriter.cpp
   22 /// Writes AVR machine code into an ELF32 object file.
   23 class AVRELFObjectWriter : public MCELFObjectTargetWriter {
   24 public:
projects/compiler-rt/lib/profile/InstrProfilingInternal.h
   57   void *WriterCtx;
   58 } ProfDataWriter;
   59 
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 5128                            const Formula &F, BasicBlock::iterator IP,
 5129                            SCEVExpander &Rewriter,
 5130                            SmallVectorImpl<WeakTrackingVH> &DeadInsts) const {
include/llvm/IR/AssemblyAnnotationWriter.h
   26 
   27 class AssemblyAnnotationWriter {
   28 public:
tools/clang/include/clang/Serialization/ASTWriter.h
  747 /// An object for streaming information to a record.
  748 class ASTRecordWriter {
  749   ASTWriter *Writer;
lib/DebugInfo/PDB/Native/PDBStringTableBuilder.cpp
  207 
  208 Error PDBStringTableBuilder::commit(BinaryStreamWriter &Writer) const {
  209   BinaryStreamWriter SectionWriter;
tools/clang/include/clang/Serialization/PCHContainerOperations.h
   67 /// Implements write operations for a raw pass-through PCH container.
   68 class RawPCHContainerWriter : public PCHContainerWriter {
   69   llvm::StringRef getFormat() const override { return "raw"; }
tools/clang/include/clang/Serialization/ModuleFileExtension.h
  103 /// a module file.
  104 class ModuleFileExtensionWriter {
  105   ModuleFileExtension *Extension;
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_x86_32.cpp
   18 
   19 static void writeRegister(const void *reg_src,
   20                           llvm::MutableArrayRef<uint8_t> reg_dest) {
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
  252 
  253 void ARMMachObjectWriter::RecordARMScatteredRelocation(MachObjectWriter *Writer,
  254                                                     const MCAssembler &Asm,
include/llvm/BinaryFormat/MsgPackWriter.h
   39 /// Writes MessagePack objects to an output stream, one at a time.
   40 class Writer {
   41 public:
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
  362 
  363 bool X86MachObjectWriter::recordScatteredRelocation(MachObjectWriter *Writer,
  364                                                     const MCAssembler &Asm,
lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
  190 bool PPCMachObjectWriter::recordScatteredRelocation(
  191     MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout,
  192     const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target,
lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
  300 void PPCMachObjectWriter::RecordPPCRelocation(
  301     MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout,
  302     const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target,
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
  139 void ARMMachObjectWriter::
  140 RecordARMScatteredHalfRelocation(MachObjectWriter *Writer,
  141                                  const MCAssembler &Asm,
include/llvm/MC/MCAssembler.h
  295 
  296   MCObjectWriter &getWriter() const { return *Writer; }
  297 
include/llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h
   37   AppendingBinaryByteStream Buffer;
   38   BinaryStreamWriter SegmentWriter;
   39   TypeRecordMapping Mapping;
tools/clang/include/clang/CodeGen/ObjectFilePCHContainerOperations.h
   17 /// wraps Clang modules inside a COFF, ELF, or Mach-O container.
   18 class ObjectFilePCHContainerWriter : public PCHContainerWriter {
   19   StringRef getFormat() const override { return "obj"; }
tools/llvm-readobj/COFFDumper.cpp
 1960 
 1961 void llvm::dumpCodeViewMergedTypes(ScopedPrinter &Writer,
 1962                                    ArrayRef<ArrayRef<uint8_t>> IpiRecords,
tools/llvm-readobj/llvm-readobj.cpp
  437 /// Dumps the specified object file.
  438 static void dumpObject(const ObjectFile *Obj, ScopedPrinter &Writer,
  439                        const Archive *A = nullptr) {
tools/llvm-objcopy/MachO/MachOWriter.h
   21 
   22 class MachOWriter {
   23   Object &O;
lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
   63 
   64 Error DebugStringTableSubsection::commit(BinaryStreamWriter &Writer) const {
   65   uint32_t Begin = Writer.getOffset();
tools/dsymutil/MachOUtils.cpp
  241     const object::MachOObjectFile::LoadCommandInfo &LCI, SegmentTy Segment,
  242     const object::MachOObjectFile &Obj, MachObjectWriter &Writer,
  243     uint64_t LinkeditOffset, uint64_t LinkeditSize, uint64_t DwarfSegmentSize,
include/llvm/DebugInfo/CodeView/SymbolSerializer.h
   34   MutableBinaryByteStream Stream;
   35   BinaryStreamWriter Writer;
   36   SymbolRecordMapping Mapping;
projects/compiler-rt/lib/xray/xray_fdr_log_writer.h
   76 
   77 class FDRLogWriter {
   78   BufferQueue::Buffer &Buffer;
lib/Analysis/GlobalsModRef.cpp
  344                                            SmallPtrSetImpl<Function *> *Readers,
  345                                            SmallPtrSetImpl<Function *> *Writers,
  346                                            GlobalValue *OkayStoreDest) {
tools/llvm-readobj/ELFDumper.cpp
  612 static std::error_code createELFDumper(const ELFObjectFile<ELFT> *Obj,
  613                                        ScopedPrinter &Writer,
  614                                        std::unique_ptr<ObjDumper> &Result) {
tools/clang/lib/Serialization/ASTWriter.cpp
 4730 template<typename Vector>
 4731 static void AddLazyVectorDecls(ASTWriter &Writer, Vector &Vec,
 4732                                ASTWriter::RecordData &Record) {
tools/clang/include/clang/Serialization/ASTWriter.h
  978   llvm::BitstreamWriter Stream;
  979   ASTWriter Writer;
  980   bool AllowASTWithErrors;
lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp
   70 
   71 Error DebugSubsectionRecordBuilder::commit(BinaryStreamWriter &Writer) const {
   72   assert(Writer.getOffset() % alignOf(Container) == 0 &&
tools/llvm-readobj/llvm-readobj.cpp
  417 static std::error_code createDumper(const ObjectFile *Obj,
  418                                     ScopedPrinter &Writer,
  419                                     std::unique_ptr<ObjDumper> &Result) {
tools/llvm-readobj/llvm-readobj.cpp
  596 /// Opens \a File and dumps it.
  597 static void dumpInput(StringRef File, ScopedPrinter &Writer) {
  598   // Attempt to open the binary.
tools/lldb/source/Target/RegisterContext.cpp
  216 
  217 bool RegisterContext::WriteRegisterFromUnsigned(uint32_t reg, uint64_t uval) {
  218   if (reg == LLDB_INVALID_REGNUM)
tools/clang/include/clang/Frontend/ASTUnit.h
  124   struct ASTWriterData;
  125   std::unique_ptr<ASTWriterData> WriterData;
  126 
include/llvm/ProfileData/InstrProfWriter.h
   32 
   33 class InstrProfWriter {
   34 public:
include/llvm/Support/FileCollector.h
   70   /// The yaml mapping writer.
   71   vfs::YAMLVFSWriter VFSWriter;
   72 
tools/lldb/source/Core/EmulateInstruction.cpp
  114 
  115 bool EmulateInstruction::WriteRegister(const Context &context,
  116                                        const RegisterInfo *reg_info,
lib/ProfileData/InstrProfWriter.cpp
   90 
   91 class InstrProfRecordWriterTrait {
   92 public:
tools/clang/include/clang/Rewrite/Core/TokenRewriter.h
   29 
   30   class TokenRewriter {
   31     /// TokenList - This is the list of raw tokens that make up this file.  Each
tools/clang/unittests/Tooling/RewriterTestContext.h
   33 /// methods, which help with writing tests that change files.
   34 class RewriterTestContext {
   35  public:
include/llvm/Support/RWMutex.h
  195 #endif
  196 typedef SmartScopedWriter<false> ScopedWriter;
  197 
lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
   93 
   94 Error GSIHashStreamBuilder::commit(BinaryStreamWriter &Writer) {
   95   GSIHashHeader Header;
lib/DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp
   82 
   83 Error DebugInlineeLinesSubsection::commit(BinaryStreamWriter &Writer) const {
   84   InlineeLinesSignature Sig = InlineeLinesSignature::Normal;
tools/lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.cpp
  107 static DWARFExpression MakeLocationExpressionInternal(lldb::ModuleSP module,
  108                                                       StreamWriter &&writer) {
  109   const ArchSpec &architecture = module->GetArchitecture();
tools/llvm-readobj/ELFDumper.cpp
  619 std::error_code createELFDumper(const object::ObjectFile *Obj,
  620                                 ScopedPrinter &Writer,
  621                                 std::unique_ptr<ObjDumper> &Result) {
lib/DebugInfo/CodeView/DebugLinesSubsection.cpp
  102 
  103 Error DebugLinesSubsection::commit(BinaryStreamWriter &Writer) const {
  104   LineFragmentHeader Header;
gen/lib/Target/X86/X86GenInstrInfo.inc
 2304     PTWRITEm	= 2289,
 2305     PTWRITEr	= 2290,
 2306     PUNPCKHBWrm	= 2291,
include/llvm/Bitcode/BitcodeWriter.h
   30 
   31   class BitcodeWriter {
   32     SmallVectorImpl<char> &Buffer;
projects/compiler-rt/lib/profile/InstrProfilingInternal.h
   63 typedef struct ProfBufferIO {
   64   ProfDataWriter *FileWriter;
   65   uint32_t OwnFileWriter;
utils/unittest/googletest/src/gtest-internal-inl.h
 1037   // Abstract base class for writing strings to a socket.
 1038   class AbstractSocketWriter {
 1039    public: