LLVM 20.0.0git
Public Member Functions | List of all members
llvm::APByteStreamer Class Referencefinal

#include "CodeGen/AsmPrinter/ByteStreamer.h"

Inheritance diagram for llvm::APByteStreamer:
Inheritance graph
[legend]

Public Member Functions

 APByteStreamer (AsmPrinter &Asm)
 
void emitInt8 (uint8_t Byte, const Twine &Comment) override
 
void emitSLEB128 (uint64_t DWord, const Twine &Comment) override
 
void emitULEB128 (uint64_t DWord, const Twine &Comment, unsigned PadTo) override
 
unsigned emitDIERef (const DIE &D) override
 
virtual void emitInt8 (uint8_t Byte, const Twine &Comment="")=0
 
virtual void emitSLEB128 (uint64_t DWord, const Twine &Comment="")=0
 
virtual void emitULEB128 (uint64_t DWord, const Twine &Comment="", unsigned PadTo=0)=0
 
virtual unsigned emitDIERef (const DIE &D)=0
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::ByteStreamer
 ~ByteStreamer ()=default
 
 ByteStreamer (const ByteStreamer &)=default
 
 ByteStreamer ()=default
 

Detailed Description

Definition at line 39 of file ByteStreamer.h.

Constructor & Destructor Documentation

◆ APByteStreamer()

llvm::APByteStreamer::APByteStreamer ( AsmPrinter Asm)
inline

Definition at line 44 of file ByteStreamer.h.

Member Function Documentation

◆ emitDIERef()

unsigned llvm::APByteStreamer::emitDIERef ( const DIE D)
inlineoverridevirtual

Implements llvm::ByteStreamer.

Definition at line 58 of file ByteStreamer.h.

References assert(), D, emitULEB128(), llvm::Offset, and ULEB128PadSize.

◆ emitInt8()

void llvm::APByteStreamer::emitInt8 ( uint8_t  Byte,
const Twine Comment 
)
inlineoverridevirtual

Implements llvm::ByteStreamer.

Definition at line 45 of file ByteStreamer.h.

References llvm::AsmPrinter::emitInt8(), and llvm::AsmPrinter::OutStreamer.

◆ emitSLEB128()

void llvm::APByteStreamer::emitSLEB128 ( uint64_t  DWord,
const Twine Comment 
)
inlineoverridevirtual

Implements llvm::ByteStreamer.

Definition at line 49 of file ByteStreamer.h.

References llvm::AsmPrinter::emitSLEB128(), and llvm::AsmPrinter::OutStreamer.

◆ emitULEB128()

void llvm::APByteStreamer::emitULEB128 ( uint64_t  DWord,
const Twine Comment,
unsigned  PadTo 
)
inlineoverridevirtual

Implements llvm::ByteStreamer.

Definition at line 53 of file ByteStreamer.h.

References llvm::AsmPrinter::emitULEB128(), and llvm::AsmPrinter::OutStreamer.

Referenced by emitDIERef().


The documentation for this class was generated from the following file: