CmmUtils: remove the last dataflow functions
authorMichal Terepeta <michal.terepeta@gmail.com>
Wed, 26 Oct 2016 15:20:33 +0000 (11:20 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 26 Oct 2016 15:20:33 +0000 (11:20 -0400)
commitb8effa7fad6f29b89215ff17c5aa7c8a83b93b10
treedb1a1c39789d6b50c88ac566ff459d5f70043a1d
parent48876ae04c4963f8d5a60a121ac85d52322faaee
CmmUtils: remove the last dataflow functions

This commit:
- Moves the remaining few methods concerned with dataflow analysis
  from `CmmUtils` to `Hoopl.Dataflow`.
- Refactors the code to not use `FwdPass` and simply pass `FwdTransfer`
  and `DataflowLattice` directly.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: validate

Reviewers: austin, simonmar, bgamari

Reviewed By: simonmar, bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2634
compiler/cmm/CmmBuildInfoTables.hs
compiler/cmm/CmmLive.hs
compiler/cmm/CmmProcPoint.hs
compiler/cmm/CmmUtils.hs
compiler/cmm/Hoopl.hs
compiler/cmm/Hoopl/Dataflow.hs