Refactoring of the way that inlinings and rules are activated
authorsimonpj@microsoft.com <unknown>
Tue, 16 Nov 2010 17:37:19 +0000 (17:37 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 16 Nov 2010 17:37:19 +0000 (17:37 +0000)
commitc177e43f99dcd525b78ee0ac8f16c3d42c618e1f
tree16701e7edbb2c367487d8c6f96332a3f82d69d22
parenta0f0420865b17ed5f701b98e14c5d802dab6418f
Refactoring of the way that inlinings and rules are activated

Principally, the SimplifierMode now carries several (currently
four) flags in *all* phases, not just the "Gentle" phase.
This makes things simpler and more uniform.

As usual I did more refactoring than I had intended.

This stuff should go into 7.0.2 in due course, once
we've checked it solves the DPH performance problems.
compiler/basicTypes/BasicTypes.lhs
compiler/basicTypes/MkId.lhs
compiler/coreSyn/CoreSyn.lhs
compiler/coreSyn/CoreUnfold.lhs
compiler/simplCore/CoreMonad.lhs
compiler/simplCore/SimplEnv.lhs
compiler/simplCore/SimplMonad.lhs
compiler/simplCore/SimplUtils.lhs
compiler/simplCore/Simplify.lhs