Scope of changes:
- Moved buildDomains function to ScopBuilder class.
- Moved buildDomainsWithBranchConstraints function to ScopBuilder class.
- Moved propagateDomainConstraints to ScopBuilder class.
- Moved propagateDomainConstraintsToRegionExit to ScopBuilder class.
- Moved propagateInvalidStmtDomains to ScopBuilder class.
- Moved getPredecessorDomainConstraints function to ScopBuilder class.
- Moved addLoopBoundsToHeaderDomain function to ScopBuilder class.
- Moved getPwAff function to ScopBuilder class.
- Moved buildConditionSets functions to ScopBuilder class.
- Added updateMaxLoopDepth, notifyErrorBlock, getOrInitEmptyDomain, isDomainDefined, setDomain functions to Scop class. They are used by ScopBuilder.
- Moved helper functions: getRegionNodeBasicBlock, getRegionNodeSuccessor, containsErrorBlock, createNextIterationMap, collectBoundedParts, partitionSetParts, buildConditionSet to ScopBuilder.cpp file.