class MCNopsFragment

Declaration

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

Description

An ilist node that can access its parent list. Requires \c NodeTy to have \a getParent() to find the parent node, and the\c ParentTy to have \a getSublistAccess() to get a reference to the list.

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

Inherits from: MCFragment

Member Variables

private int64_t Size
The number of bytes to insert.
private int64_t ControlledNopLength
Maximum number of bytes allowed in each NOP instruction.
private llvm::SMLoc Loc
Source location of the directive that this fragment was created for.
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

MCNopsFragment(int64_t NumBytes,
               int64_t ControlledNopLength,
               llvm::SMLoc L,
               const llvm::MCSubtargetInfo& STI,
               llvm::MCSection* Sec = nullptr)

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

Parameters

int64_t NumBytes
int64_t ControlledNopLength
llvm::SMLoc L
const llvm::MCSubtargetInfo& STI
llvm::MCSection* Sec = nullptr

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

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

Parameters

const llvm::MCFragment* F

int64_t getControlledNopLength() const

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

llvm::SMLoc getLoc() const

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

int64_t getNumBytes() const

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

const llvm::MCSubtargetInfo* getSubtargetInfo()
    const

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