LLVM  14.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 AsmPrinter *AP, 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 543 of file DIE.cpp.

References llvm::AsmPrinter::emitLabelDifference(), and SizeOf().

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

◆ print()

LLVM_DUMP_METHOD void DIEDelta::print ( raw_ostream O) const

Definition at line 563 of file DIE.cpp.

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

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

◆ SizeOf()

unsigned DIEDelta::SizeOf ( const AsmPrinter AP,
dwarf::Form  Form 
) const

SizeOf - Determine size of delta value in bytes.

Definition at line 549 of file DIE.cpp.

References llvm::AsmPrinter::getDwarfOffsetByteSize(), and llvm_unreachable.

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


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