[llvm-dev] How to get all opcode of the same type?

Krzysztof Parzyszek via llvm-dev llvm-dev at lists.llvm.org
Wed Jun 15 14:30:30 PDT 2016


On 6/15/2016 4:29 PM, fateme Hoseini via llvm-dev wrote:
>
> Is there an easier way to get all Load/Stores in the machine code?

You could use MI->mayLoad() and MI->mayStore().

-Krzysztof

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation


More information about the llvm-dev mailing list