[llvm-dev] MachineModule pass
fateme Hoseini via llvm-dev
llvm-dev at lists.llvm.org
Fri Jan 29 15:52:44 PST 2016
Hello everyone,
As I mentioned in my previous posts,I am using a machinefunction pass to
find all the loops in the program and do some analysis on them. I have
completed my pass now and it works correctly. but the only issue is that,I
have noticed that if I have two functions in my program, and one of them is
part of the loop for another one ,by using runonmachinefunction(), I will
get one loop per each function. whereas the correct result is to find one
loop at depth 1 and the other one at depth 2 as an inner loop.
In order to get this result, I am trying to use write a MachineModule Pass,
but I can't seem to find any MachineModule.h in codegen. Right now, is this
even possible to write a machinemodule pass? If not what other options do I
have to get the results I need.
Thank you,
Fami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160129/b09e566d/attachment.html>
More information about the llvm-dev
mailing list