[cfe-dev] Passes after Polly | How are Passes sequenced without the PassRegistry ?

SANJAY SRIVALLABH SINGAPURAM via cfe-dev cfe-dev at lists.llvm.org
Fri May 12 09:15:42 PDT 2017


Thanks for the information !!

On Fri, May 12, 2017 at 5:59 PM Michael Kruse <MichaelKruse at meinersbur.de>
wrote:

> 2017-05-12 14:20 GMT+02:00 SANJAY SRIVALLABH SINGAPURAM
> <llvmresch_int01 at iith.ac.in>:
> > How is Polly called from Clang ?
>
> Polly registers itself to the PassBuilderBuilder using
> llvm::RegisterStandardPasses. clang will then call
> PassManagerBuilder::populateModulePassManager and get a PassManager
> with Polly in it.
>
> > What are the Passes sequenced after Polly ?
>
> If you look into the source of
> PassManagerBuilder::populateModulePassManager, you can see where Polly
> is added. There are multiple positions possible (addExtensionsToPM),
> determined by the -polly-position= switch.
>
> Michael
>
> --
> Tardyzentrismus verboten!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170512/3a2ede3e/attachment.html>


More information about the cfe-dev mailing list