search for: passn

Displaying 6 results from an estimated 6 matches for "passn".

Did you mean: pass
2010 Oct 27
0
[LLVMdev] dump cfg after each pass
...cfg: opt -disable-output -view-cfg ir.ll You may want to use -view-cfg-only rather than -view-cfg if you are not interested in the instructions, only the cfg. You could probably also do something like the following to output the cfg after each pass: opt -pass1 -view-cfg -pass2 -view-cfg ... -passN -view-cfg file.ll Ciao, Duncan.
2010 Oct 27
4
[LLVMdev] dump cfg after each pass
A dumb question -- is there a way to dump cfg after each pass, something like: --print-cfg-after=sccp, or is there a standard post-processing script that builds the cfg vcg/dot file from the ir dump? Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101027/a7c69de4/attachment.html>
2010 Oct 08
2
[LLVMdev] MAJOR API CHANGE: Pass initialization without static constructors
...you devise something better? For example, could you extend PassManager with a method that calls all of the passes's initialization methods? In other words, could you easily support something like: > > PassManager.add (Pass1); > PassManager.add (Pass2); > ... > PassManager.add (PassN); > PassManager.initializeAllPasses (); > PassManager.run(); > > > ... or could the PassManager::add() method automatically initialize the pass? Other possibilities may exists which are better as well; these are just the first two I've thought of. Neither of those will work....
2010 Oct 11
0
[LLVMdev] MAJOR API CHANGE: Pass initialization without static constructors
...you devise something better? For example, could you extend PassManager with a method that calls all of the passes's initialization methods? In other words, could you easily support something like: > > PassManager.add (Pass1); > PassManager.add (Pass2); > ... > PassManager.add (PassN); > PassManager.initializeAllPasses (); > PassManager.run(); > > > ... or could the PassManager::add() method automatically initialize the pass? Other possibilities may exists which are better as well; these are just the first two I've thought of. Chris and I had a discussio...
2010 Oct 08
0
[LLVMdev] Fwd: Re: MAJOR API CHANGE: Pass initialization without static constructors
...l it from my tool. Could you devise something better? For example, could you extend PassManager with a method that calls all of the passes's initialization methods? In other words, could you easily support something like: PassManager.add (Pass1); PassManager.add (Pass2); ... PassManager.add (PassN); PassManager.initializeAllPasses (); PassManager.run(); ... or could the PassManager::add() method automatically initialize the pass? Other possibilities may exists which are better as well; these are just the first two I've thought of. -- John T. > > > * WHAT THIS MEANS FOR LL...
2010 Oct 08
0
[LLVMdev] MAJOR API CHANGE: Pass initialization without static constructors
...le, could you extend PassManager with a >> method that calls all of the passes's initialization methods? In >> other words, could you easily support something like: >> >> PassManager.add (Pass1); >> PassManager.add (Pass2); >> ... >> PassManager.add (PassN); >> PassManager.initializeAllPasses (); >> PassManager.run(); >> >> >> ... or could the PassManager::add() method automatically initialize >> the pass? Other possibilities may exists which are better as well; >> these are just the first two I've tho...