LLVM 20.0.0git
Public Member Functions | List of all members
llvm::AArch64TargetStreamer Class Reference

#include "Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h"

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

Public Member Functions

 AArch64TargetStreamer (MCStreamer &S)
 
 ~AArch64TargetStreamer () override
 
void finish () override
 
void emitConstantPools () override
 
const MCExpraddConstantPoolEntry (const MCExpr *, unsigned Size, SMLoc Loc)
 Callback used to implement the ldr= pseudo.
 
void emitCurrentConstantPool ()
 Callback used to implement the .ltorg directive.
 
void emitNoteSection (unsigned Flags, uint64_t PAuthABIPlatform=-1, uint64_t PAuthABIVersion=-1)
 Callback used to implement the .note.gnu.property section.
 
void emitAuthValue (const MCExpr *Expr, uint16_t Discriminator, AArch64PACKey::ID Key, bool HasAddressDiversity)
 Callback used to emit AUTH expressions (e.g.
 
virtual void emitInst (uint32_t Inst)
 Callback used to implement the .inst directive.
 
virtual void emitDirectiveVariantPCS (MCSymbol *Symbol)
 Callback used to implement the .variant_pcs directive.
 
virtual void emitARM64WinCFIAllocStack (unsigned Size)
 
virtual void emitARM64WinCFISaveR19R20X (int Offset)
 
virtual void emitARM64WinCFISaveFPLR (int Offset)
 
virtual void emitARM64WinCFISaveFPLRX (int Offset)
 
virtual void emitARM64WinCFISaveReg (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveRegX (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveRegP (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveRegPX (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveLRPair (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveFReg (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveFRegX (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveFRegP (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveFRegPX (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISetFP ()
 
virtual void emitARM64WinCFIAddFP (unsigned Size)
 
virtual void emitARM64WinCFINop ()
 
virtual void emitARM64WinCFISaveNext ()
 
virtual void emitARM64WinCFIPrologEnd ()
 
virtual void emitARM64WinCFIEpilogStart ()
 
virtual void emitARM64WinCFIEpilogEnd ()
 
virtual void emitARM64WinCFITrapFrame ()
 
virtual void emitARM64WinCFIMachineFrame ()
 
virtual void emitARM64WinCFIContext ()
 
virtual void emitARM64WinCFIECContext ()
 
virtual void emitARM64WinCFIClearUnwoundToCall ()
 
virtual void emitARM64WinCFIPACSignLR ()
 
virtual void emitARM64WinCFISaveAnyRegI (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveAnyRegIP (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveAnyRegD (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveAnyRegDP (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveAnyRegQ (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveAnyRegQP (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveAnyRegIX (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveAnyRegIPX (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveAnyRegDX (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveAnyRegDPX (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveAnyRegQX (unsigned Reg, int Offset)
 
virtual void emitARM64WinCFISaveAnyRegQPX (unsigned Reg, int Offset)
 
- Public Member Functions inherited from llvm::MCTargetStreamer
 MCTargetStreamer (MCStreamer &S)
 
virtual ~MCTargetStreamer ()
 
MCStreamergetStreamer ()
 
virtual void emitLabel (MCSymbol *Symbol)
 
virtual void emitAssignment (MCSymbol *Symbol, const MCExpr *Value)
 
virtual void prettyPrintAsm (MCInstPrinter &InstPrinter, uint64_t Address, const MCInst &Inst, const MCSubtargetInfo &STI, raw_ostream &OS)
 
virtual void emitDwarfFileDirective (StringRef Directive)
 
virtual void changeSection (const MCSection *CurSection, MCSection *Section, uint32_t SubSection, raw_ostream &OS)
 Update streamer for a new active section.
 
virtual void emitValue (const MCExpr *Value)
 
virtual void emitRawBytes (StringRef Data)
 Emit the bytes in Data into the output.
 
virtual void emitConstantPools ()
 
virtual void finish ()
 

Additional Inherited Members

- Protected Attributes inherited from llvm::MCTargetStreamer
MCStreamerStreamer
 

Detailed Description

Definition at line 21 of file AArch64TargetStreamer.h.

Constructor & Destructor Documentation

◆ AArch64TargetStreamer()

AArch64TargetStreamer::AArch64TargetStreamer ( MCStreamer S)

Definition at line 33 of file AArch64TargetStreamer.cpp.

◆ ~AArch64TargetStreamer()

AArch64TargetStreamer::~AArch64TargetStreamer ( )
overridedefault

Member Function Documentation

◆ addConstantPoolEntry()

const MCExpr * AArch64TargetStreamer::addConstantPoolEntry ( const MCExpr Expr,
unsigned  Size,
SMLoc  Loc 
)

Callback used to implement the ldr= pseudo.

Add a new entry to the constant pool for the current section and return an MCExpr that can be used to refer to the constant pool location.

Definition at line 50 of file AArch64TargetStreamer.cpp.

References Size, and llvm::MCTargetStreamer::Streamer.

◆ emitARM64WinCFIAddFP()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFIAddFP ( unsigned  Size)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 67 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFIAllocStack()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFIAllocStack ( unsigned  Size)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 53 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFIClearUnwoundToCall()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFIClearUnwoundToCall ( )
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 77 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFIContext()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFIContext ( )
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 75 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFIECContext()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFIECContext ( )
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 76 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFIEpilogEnd()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFIEpilogEnd ( )
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 72 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFIEpilogStart()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFIEpilogStart ( )
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 71 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFIMachineFrame()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFIMachineFrame ( )
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 74 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFINop()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFINop ( )
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 68 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFIPACSignLR()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFIPACSignLR ( )
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 78 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFIPrologEnd()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFIPrologEnd ( )
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 70 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveAnyRegD()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveAnyRegD ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 81 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveAnyRegDP()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveAnyRegDP ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 82 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveAnyRegDPX()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveAnyRegDPX ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 88 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveAnyRegDX()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveAnyRegDX ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 87 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveAnyRegI()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveAnyRegI ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 79 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveAnyRegIP()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveAnyRegIP ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 80 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveAnyRegIPX()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveAnyRegIPX ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 86 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveAnyRegIX()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveAnyRegIX ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 85 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveAnyRegQ()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveAnyRegQ ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 83 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveAnyRegQP()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveAnyRegQP ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 84 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveAnyRegQPX()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveAnyRegQPX ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 90 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveAnyRegQX()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveAnyRegQX ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 89 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveFPLR()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveFPLR ( int  Offset)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 55 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveFPLRX()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveFPLRX ( int  Offset)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 56 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveFReg()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveFReg ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 62 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveFRegP()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveFRegP ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 64 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveFRegPX()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveFRegPX ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 65 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveFRegX()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveFRegX ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 63 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveLRPair()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveLRPair ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 61 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveNext()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveNext ( )
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 69 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveR19R20X()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveR19R20X ( int  Offset)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 54 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveReg()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveReg ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 57 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveRegP()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveRegP ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 59 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveRegPX()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveRegPX ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 60 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISaveRegX()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISaveRegX ( unsigned  Reg,
int  Offset 
)
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 58 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFISetFP()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFISetFP ( )
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 66 of file AArch64TargetStreamer.h.

◆ emitARM64WinCFITrapFrame()

virtual void llvm::AArch64TargetStreamer::emitARM64WinCFITrapFrame ( )
inlinevirtual

Reimplemented in llvm::AArch64TargetWinCOFFStreamer.

Definition at line 73 of file AArch64TargetStreamer.h.

◆ emitAuthValue()

void AArch64TargetStreamer::emitAuthValue ( const MCExpr Expr,
uint16_t  Discriminator,
AArch64PACKey::ID  Key,
bool  HasAddressDiversity 
)

Callback used to emit AUTH expressions (e.g.

signed personality function pointer).

Definition at line 38 of file AArch64TargetStreamer.cpp.

References llvm::AArch64AuthMCExpr::create(), llvm::MCStreamer::emitValueImpl(), llvm::MCStreamer::getContext(), and llvm::MCTargetStreamer::Streamer.

◆ emitConstantPools()

void AArch64TargetStreamer::emitConstantPools ( )
overridevirtual

Reimplemented from llvm::MCTargetStreamer.

Definition at line 60 of file AArch64TargetStreamer.cpp.

References llvm::MCTargetStreamer::Streamer.

◆ emitCurrentConstantPool()

void AArch64TargetStreamer::emitCurrentConstantPool ( )

Callback used to implement the .ltorg directive.

Emit contents of constant pool for the current section.

Definition at line 56 of file AArch64TargetStreamer.cpp.

References llvm::MCTargetStreamer::Streamer.

◆ emitDirectiveVariantPCS()

virtual void llvm::AArch64TargetStreamer::emitDirectiveVariantPCS ( MCSymbol Symbol)
inlinevirtual

Callback used to implement the .variant_pcs directive.

Definition at line 51 of file AArch64TargetStreamer.h.

◆ emitInst()

void AArch64TargetStreamer::emitInst ( uint32_t  Inst)
virtual

Callback used to implement the .inst directive.

Definition at line 126 of file AArch64TargetStreamer.cpp.

References llvm::CallingConv::C, llvm::MCStreamer::emitBytes(), and llvm::MCTargetStreamer::getStreamer().

◆ emitNoteSection()

void AArch64TargetStreamer::emitNoteSection ( unsigned  Flags,
uint64_t  PAuthABIPlatform = -1,
uint64_t  PAuthABIVersion = -1 
)

◆ finish()

void AArch64TargetStreamer::finish ( )
overridevirtual

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