class MCRelaxableFragment

Declaration

class MCRelaxableFragment : public MCEncodedFragmentWithFixups { /* full declaration omitted */ };

Description

A relaxable fragment holds on to its MCInst, since it may need to be relaxed during the assembler layout and relaxation stage.

Declared at: llvm/include/llvm/MC/MCFragment.h:258

Inherits from: MCEncodedFragmentWithFixups

Method Overview

  • public MCRelaxableFragment(const llvm::MCInst & Inst, const llvm::MCSubtargetInfo & STI, llvm::MCSection * Sec = nullptr)
  • public static bool classof(const llvm::MCFragment * F)
  • public const llvm::MCInst & getInst() const
  • public void setInst(const llvm::MCInst & Value)

Methods

MCRelaxableFragment(
    const llvm::MCInst& Inst,
    const llvm::MCSubtargetInfo& STI,
    llvm::MCSection* Sec = nullptr)

Declared at: llvm/include/llvm/MC/MCFragment.h:264

Parameters

const llvm::MCInst& Inst
const llvm::MCSubtargetInfo& STI
llvm::MCSection* Sec = nullptr

static bool classof(const llvm::MCFragment* F)

Declared at: llvm/include/llvm/MC/MCFragment.h:272

Parameters

const llvm::MCFragment* F

const llvm::MCInst& getInst() const

Declared at: llvm/include/llvm/MC/MCFragment.h:269

void setInst(const llvm::MCInst& Value)

Declared at: llvm/include/llvm/MC/MCFragment.h:270

Parameters

const llvm::MCInst& Value