class MCLOHDirective

Declaration

class MCLOHDirective { /* full declaration omitted */ };

Description

Store Linker Optimization Hint information (LOH).

Declared at: llvm/include/llvm/MC/MCLinkerOptimizationHint.h:102

Method Overview

  • public MCLOHDirective(llvm::MCLOHType Kind, const llvm::MCLOHDirective::LOHArgs & Args)
  • public void emit(llvm::MachObjectWriter & ObjWriter, const llvm::MCAsmLayout & Layout) const
  • public const llvm::MCLOHDirective::LOHArgs & getArgs() const
  • public uint64_t getEmitSize(const llvm::MachObjectWriter & ObjWriter, const llvm::MCAsmLayout & Layout) const
  • public llvm::MCLOHType getKind() const

Methods

MCLOHDirective(
    llvm::MCLOHType Kind,
    const llvm::MCLOHDirective::LOHArgs& Args)

Declared at: llvm/include/llvm/MC/MCLinkerOptimizationHint.h:117

Parameters

llvm::MCLOHType Kind
const llvm::MCLOHDirective::LOHArgs& Args

void emit(llvm::MachObjectWriter& ObjWriter,
          const llvm::MCAsmLayout& Layout) const

Description

Emit this directive as: <kind , numArgs, addr1, ..., addrN>

Declared at: llvm/include/llvm/MC/MCLinkerOptimizationHint.h:128

Parameters

llvm::MachObjectWriter& ObjWriter
const llvm::MCAsmLayout& Layout

const llvm::MCLOHDirective::LOHArgs& getArgs()
    const

Declared at: llvm/include/llvm/MC/MCLinkerOptimizationHint.h:124

uint64_t getEmitSize(
    const llvm::MachObjectWriter& ObjWriter,
    const llvm::MCAsmLayout& Layout) const

Description

Get the size in bytes of this directive if emitted in \p ObjWriter with the given \p Layout.

Declared at: llvm/include/llvm/MC/MCLinkerOptimizationHint.h:132

Parameters

const llvm::MachObjectWriter& ObjWriter
const llvm::MCAsmLayout& Layout

llvm::MCLOHType getKind() const

Declared at: llvm/include/llvm/MC/MCLinkerOptimizationHint.h:122