llvm::Instruction::getOpcodeName

Return the mnemonic name for this instruction's opcode.

Synopsis

Declared in <llvm/IR/Instruction.h>

char const*
getOpcodeName() const;

Return Value

The opcode name string (e.g. "add", "ret").