This is an archive of the discontinued LLVM Phabricator instance.

[Polly][GSoC 2016] Draft of using new pass manager to cache/invalidate scop analysis in a function pass
Needs ReviewPublic

Authored by etherzhhb on Jun 7 2016, 2:23 PM.

Details

Reviewers
cs14mtech11017
Summary

This is a proof of concept draft to use new pass manager inside a function pass to manage the scop analysis.

Ideally, we can call getScopAnalysis of ScopInfoWrapperPass to get any scop analysis.

Diff Detail

Repository
rL LLVM

Event Timeline

etherzhhb updated this revision to Diff 59949.Jun 7 2016, 2:23 PM
etherzhhb retitled this revision from to [Polly][GSoC 2016] Draft of using new pass manager to cache/invalidate scop analysis in a function pass.
etherzhhb updated this object.
etherzhhb added a reviewer: cs14mtech11017.
etherzhhb set the repository for this revision to rL LLVM.
etherzhhb added a subscriber: pollydev.
etherzhhb added inline comments.Jun 7 2016, 2:27 PM
lib/Analysis/ScopInfo.cpp
4987

We also need to have a new-pass-manager-style pass to calculate Dependences from a Scop

cs14mtech11017 edited edge metadata.Jun 7 2016, 3:29 PM

Thanks a lot. I will experiment with it.
Created a new pass to calculate dependences for a function D21105.
We can introduce similar changes over their.