llvm::MCStreamer::getMnemonic

Returns the mnemonic for MI, if the streamer has access to a instruction printer and returns an empty string otherwise.

Synopsis

Declared in <llvm/MC/MCStreamer.h>

virtual
StringRef
getMnemonic(MCInst const& MI) const;

Return Value

The mnemonic for MI, or an empty string if unavailable.

Parameters

NameDescription
MI- Instruction whose mnemonic is requested.