class MCBoundaryAlignFragment

Declaration

class MCBoundaryAlignFragment : public MCFragment { /* full declaration omitted */ };

Description

Represents required padding such that a particular other set of fragments does not cross a particular power-of-two boundary. The other fragments must follow this one within the same section.

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

Inherits from: MCFragment

Member Variables

private llvm::Align AlignBoundary
The alignment requirement of the branch to be aligned.
private const llvm::MCFragment* LastFragment = nullptr
The last fragment in the set of fragments to be aligned.
private uint64_t Size = 0
The size of the fragment. The size is lazily set during relaxation, and is not meaningful before that.
private const llvm::MCSubtargetInfo& STI
When emitting Nops some subtargets have specific nop encodings.

Inherited from MCFragment:

protected HasInstructions

Method Overview

Inherited from MCFragment:

Methods

MCBoundaryAlignFragment(
    llvm::Align AlignBoundary,
    const llvm::MCSubtargetInfo& STI,
    llvm::MCSection* Sec = nullptr)

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

Parameters

llvm::Align AlignBoundary
const llvm::MCSubtargetInfo& STI
llvm::MCSection* Sec = nullptr

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

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

Parameters

const llvm::MCFragment* F

llvm::Align getAlignment() const

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

const llvm::MCFragment* getLastFragment() const

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

uint64_t getSize() const

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

const llvm::MCSubtargetInfo* getSubtargetInfo()
    const

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

void setAlignment(llvm::Align Value)

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

Parameters

llvm::Align Value

void setLastFragment(const llvm::MCFragment* F)

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

Parameters

const llvm::MCFragment* F

void setSize(uint64_t Value)

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

Parameters

uint64_t Value