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:
Method Overview
- public MCNopsFragment(int64_t NumBytes, int64_t ControlledNopLength, llvm::SMLoc L, const llvm::MCSubtargetInfo & STI, llvm::MCSection * Sec = nullptr)
- public static bool classof(const llvm::MCFragment * F)
- public int64_t getControlledNopLength() const
- public llvm::SMLoc getLoc() const
- public int64_t getNumBytes() const
- public const llvm::MCSubtargetInfo * getSubtargetInfo() const
Inherited from MCFragment:
- public destroy
- public dump
- public getAtom
- public getKind
- public getLayoutOrder
- public getParent
- public getSubsectionNumber
- public hasInstructions
- public setAtom
- public setLayoutOrder
- public setParent
- public setSubsectionNumber
Methods
¶MCNopsFragment(int64_t NumBytes,
int64_t ControlledNopLength,
llvm::SMLoc L,
const llvm::MCSubtargetInfo& STI,
llvm::MCSection* Sec = nullptr)
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)
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
int64_t getControlledNopLength() const
Declared at: llvm/include/llvm/MC/MCFragment.h:389
¶llvm::SMLoc getLoc() const
llvm::SMLoc getLoc() const
Declared at: llvm/include/llvm/MC/MCFragment.h:391
¶int64_t getNumBytes() const
int64_t getNumBytes() const
Declared at: llvm/include/llvm/MC/MCFragment.h:388
¶const llvm::MCSubtargetInfo* getSubtargetInfo()
const
const llvm::MCSubtargetInfo* getSubtargetInfo()
const
Declared at: llvm/include/llvm/MC/MCFragment.h:393