HomePhabricator

[NFC][ScopBuilder] Move addRecordedAssumption to ScopBuilder

Authored by domada on Jul 16 2019, 1:51 PM.

Description

[NFC][ScopBuilder] Move addRecordedAssumption to ScopBuilder

Scope of changes:

  1. Moved addRecordedAssumptions to ScopBuilder.
  2. Moved Assumption struct outside Scop class.
  3. Refactored addRecordedAssumptions function. Replaced while loop by

for range loop.

  1. Added function to clear processed Assumptions.

Differential Revision: https://reviews.llvm.org/D63572

llvm-svn: 366260

Details