[LLVMdev] Pass Scheduling Information without using opt
Ralf Karrenberg
Chareos at gmx.de
Mon Jul 27 14:36:32 PDT 2009
Hey Devang,
thanks for your answer! :)
Devang Patel schrieb:
> I think creating a new Function Pass Manager inside a module pass is
> not ideal, however...
>
Currently, I don't see any other way to do it - I need to generate new
functions and thus need to have access to the whole module. Plus, the
pass involves some overhead that only has to be computed once per module
instead of once per function.
However, the module pass itself is not really used: the class is
instantiated directly using a wrapper...
If you have any general suggestions on how you would try to handle this,
please tell me. :)
> You can set global PassDebugging enum. The pass manager will print
> useful info while it is running. See initial part of
> VMCore/PassManager.cpp for more information on PassDebugging enum.
I tried that, but I don't understand how this is working and how/what I
should set :(.
Regards,
Ralf
More information about the llvm-dev
mailing list