LLVM  15.0.0git
Public Member Functions | List of all members
llvm::DIEDelta Class Reference

A simple label difference DIE. More...

#include "llvm/CodeGen/DIE.h"

Public Member Functions

 DIEDelta (const MCSymbol *Hi, const MCSymbol *Lo)
 
void emitValue (const AsmPrinter *AP, dwarf::Form Form) const
 EmitValue - Emit delta value. More...
 
unsigned sizeOf (const dwarf::FormParams &FormParams, dwarf::Form Form) const
 SizeOf - Determine size of delta value in bytes. More...
 
void print (raw_ostream &O) const
 

Detailed Description

A simple label difference DIE.

Definition at line 256 of file DIE.h.

Constructor & Destructor Documentation

◆ DIEDelta()

llvm::DIEDelta::DIEDelta ( const MCSymbol Hi,
const MCSymbol Lo 
)
inline

Definition at line 261 of file DIE.h.

Member Function Documentation

◆ emitValue()

void DIEDelta::emitValue ( const AsmPrinter AP,
dwarf::Form  Form 
) const

EmitValue - Emit delta value.

Definition at line 539 of file DIE.cpp.

References llvm::AsmPrinter::emitLabelDifference(), llvm::AsmPrinter::getDwarfFormParams(), and sizeOf().

Referenced by llvm::DIEAddrOffset::emitValue().

◆ print()

LLVM_DUMP_METHOD void DIEDelta::print ( raw_ostream O) const

Definition at line 561 of file DIE.cpp.

References llvm::MCSymbol::getName(), and llvm::RISCVFenceField::O.

Referenced by llvm::DIEAddrOffset::print().

◆ sizeOf()

unsigned DIEDelta::sizeOf ( const dwarf::FormParams FormParams,
dwarf::Form  Form 
) const

SizeOf - Determine size of delta value in bytes.

Definition at line 546 of file DIE.cpp.

References llvm::dwarf::FormParams::getDwarfOffsetByteSize(), and llvm_unreachable.

Referenced by emitValue(), and llvm::DIEAddrOffset::sizeOf().


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