Wenbin Zhang
2010-Jul-05 17:56 UTC
[LLVMdev] 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? Thanks. Regards, --Wenbin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100705/b3915b4e/attachment.html>
Reasonably Related Threads
- [LLVMdev] a problem when using postDominatorTree
- [LLVMdev] how to check whether from basicblock A we can go to basicblock B within the same function?
- [LLVMdev] Instrumenting virtual function calls
- [LLVMdev] a problem when using postDominatorTree
- [LLVMdev] how to check whether from basicblock A we can go to basicblock B within the same function?