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
- public MCRelaxableFragment(const llvm::MCInst & Inst, const llvm::MCSubtargetInfo & STI, llvm::MCSection * Sec = nullptr)
- public static bool classof(const llvm::MCFragment * F)
- public bool getAllowAutoPadding() const
- public const llvm::MCInst & getInst() const
- public void setAllowAutoPadding(bool V)
- public void setInst(const llvm::MCInst & Value)
Methods
¶MCRelaxableFragment(
const llvm::MCInst& Inst,
const llvm::MCSubtargetInfo& STI,
llvm::MCSection* Sec = nullptr)
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)
static bool classof(const llvm::MCFragment* F)
Declared at: llvm/include/llvm/MC/MCFragment.h:289
Parameters
- const llvm::MCFragment* F
¶bool getAllowAutoPadding() const
bool getAllowAutoPadding() const
Declared at: llvm/include/llvm/MC/MCFragment.h:286
¶const llvm::MCInst& getInst() const
const llvm::MCInst& getInst() const
Declared at: llvm/include/llvm/MC/MCFragment.h:283
¶void setAllowAutoPadding(bool V)
void setAllowAutoPadding(bool V)
Declared at: llvm/include/llvm/MC/MCFragment.h:287
Parameters
- bool V
¶void setInst(const llvm::MCInst& Value)
void setInst(const llvm::MCInst& Value)
Declared at: llvm/include/llvm/MC/MCFragment.h:284
Parameters
- const llvm::MCInst& Value