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:270

Inherits from: MCEncodedFragmentWithFixups

Member Variables

private llvm::MCInst Inst
The instruction this is a fragment for.
private bool AllowAutoPadding = false
Can we auto pad the instruction?

Method Overview

Methods

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

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

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:289

Parameters

const llvm::MCFragment* F

bool getAllowAutoPadding() const

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

const llvm::MCInst& getInst() const

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

void setAllowAutoPadding(bool V)

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

Parameters

bool V

void setInst(const llvm::MCInst& Value)

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

Parameters

const llvm::MCInst& Value