<div dir="ltr">Thanks for the information !!<br><br><div class="gmail_quote"><div dir="ltr">On Fri, May 12, 2017 at 5:59 PM Michael Kruse <<a href="mailto:MichaelKruse@meinersbur.de">MichaelKruse@meinersbur.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2017-05-12 14:20 GMT+02:00 SANJAY SRIVALLABH SINGAPURAM<br>
<<a href="mailto:llvmresch_int01@iith.ac.in" target="_blank">llvmresch_int01@iith.ac.in</a>>:<br>
> How is Polly called from Clang ?<br>
<br>
Polly registers itself to the PassBuilderBuilder using<br>
llvm::RegisterStandardPasses. clang will then call<br>
PassManagerBuilder::populateModulePassManager and get a PassManager<br>
with Polly in it.<br>
<br>
> What are the Passes sequenced after Polly ?<br>
<br>
If you look into the source of<br>
PassManagerBuilder::populateModulePassManager, you can see where Polly<br>
is added. There are multiple positions possible (addExtensionsToPM),<br>
determined by the -polly-position= switch.<br>
<br>
Michael<br>
<br>
--<br>
Tardyzentrismus verboten!<br>
</blockquote></div></div>