llvm::MCObjectStreamer::emitNops

Emit NumBytes bytes of NOP instructions.

Synopsis

Declared in <llvm/MC/MCObjectStreamer.h>

virtual
void
emitNops(
    int64_t NumBytes,
    int64_t ControlledNopLength,
    SMLoc Loc,
    MCSubtargetInfo const& STI) override;

Parameters

NameDescription
NumBytes- Number of bytes of NOPs to emit.
ControlledNopLength- Preferred NOP length, or 0 for the default.
Loc- Source location for diagnostics.
STI- Subtarget info used to choose NOP encodings.