llvm::Instruction::getOpcodeName

Return the mnemonic name for the given opcode (e.g. "add", "ret").

Synopsis

Declared in <llvm/IR/Instruction.h>

static
char const*
getOpcodeName(unsigned int Opcode);

Return Value

The opcode name string.

Parameters

NameDescription
OpcodeThe opcode to name.