[llvm-dev] How can I get which are the instructions are using this register(%4:gpr32)

Ramakota Reddy via llvm-dev llvm-dev at lists.llvm.org
Mon Apr 8 05:42:19 PDT 2019


Hi All,

I have instruction like below
%4:gpr32 = MOVi32imm 6553600

Here MI->getOperand(0).isOnRegUseList()  API is returning true.
But I want to know that which are the instructions are using this register(%4:gpr32) in current BB and Dominator Tree Basic Blocks.

How can I get which are the instructions are using this register(%4:gpr32)?

Could any one please give your suggestions.

Thanks & Regards,
Ramakota.


IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190408/24670cad/attachment.html>


More information about the llvm-dev mailing list