how to have a Operator reference from an Instruction?

Hi All,

I’m new to LLVM and trying to do some analysis on the IR.

For a instruction, e.g., a BinaryOperator, can I have the reference of an Operator from it? Now I can use getOpcode() or getOpcodeName() to have unsigned int or string. But can I have a Operator or specifically AddOperator as the return value?