This is an archive of the discontinued LLVM Phabricator instance.

[LoopUnroll] Move visitBB and cost computation to UnrolledInstAnalyzer, for reuse (WIP)
Needs ReviewPublic

Authored by fhahn on May 8 2019, 8:30 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This is a rough patch moving some infrastructure to estimate the size of a
BB after unrolling to UnrolledInstAnalyzer. The interface still needs
improvement and maybe better naming as well.