[LLVMdev] how to have a Operator reference from an Instruction?
zhangwen at cse.ohio-state.edu
Mon Jul 5 10:56:46 PDT 2010
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev