llvm::Instruction::getOpcode

Return the opcode of this instruction as a member of the opcode enums.

Synopsis

Declared in <llvm/IR/Instruction.h>

unsigned int
getOpcode() const;

Return Value

A value such as Instruction::Add.