[LLVMdev] More efficient way of going over memory based instructions
Villmow, Micah
Micah.Villmow at amd.com
Tue Aug 25 14:41:01 PDT 2009
I am writing a pass for a custom backend that I am developing and I need
to iterator over all memory based instructions in a program. Currently I
iterate over all instructions in a MachineFunction, but I was wondering
if there is an efficient way that I can use that only goes over the
instructions that have MachineMemOperands that is faster than a linear
scan?
Thanks,
Micah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090825/7a7ec50b/attachment.html>
More information about the llvm-dev
mailing list