Refactored BooleanFormula to be in line with TTG (#21592)
There are two parts to this commit. * We moved the definition of BooleanFormula over to L.H.S.BooleanFormula * We parameterized the BooleanFormula over the pass The GHC specific details of BooleanFormula remain in Ghc.Data.BooleanFormula. Because its parameterized over the pass its no longer a functor or traversable, but we defined bfMap and bfTraverse for the cases where we needed fmap and traverse originally. Most other changes are just churn. ------------------------- Metric Decrease: MultiLayerModulesTH_OneShot -------------------------
parent
573cad4b
Branches wip/ttg-booleanformula
No related tags found
Pipeline #102783 canceled
Stage: tool-lint
Stage: quick-build
Stage: full-build
Stage: packaging
Stage: testing
Stage: deploy
Showing
- compiler/GHC/Core/Class.hs 3 additions, 2 deletionscompiler/GHC/Core/Class.hs
- compiler/GHC/CoreToIface.hs 13 additions, 0 deletionscompiler/GHC/CoreToIface.hs
- compiler/GHC/Data/BooleanFormula.hs 82 additions, 86 deletionscompiler/GHC/Data/BooleanFormula.hs
- compiler/GHC/Hs/Binds.hs 3 additions, 4 deletionscompiler/GHC/Hs/Binds.hs
- compiler/GHC/Hs/Decls.hs 2 additions, 1 deletioncompiler/GHC/Hs/Decls.hs
- compiler/GHC/Hs/Instances.hs 5 additions, 0 deletionscompiler/GHC/Hs/Instances.hs
- compiler/GHC/Iface/Decl.hs 1 addition, 13 deletionscompiler/GHC/Iface/Decl.hs
- compiler/GHC/Iface/Ext/Ast.hs 3 additions, 2 deletionscompiler/GHC/Iface/Ext/Ast.hs
- compiler/GHC/Iface/Syntax.hs 18 additions, 12 deletionscompiler/GHC/Iface/Syntax.hs
- compiler/GHC/IfaceToCore.hs 41 additions, 6 deletionscompiler/GHC/IfaceToCore.hs
- compiler/GHC/Parser.y 9 additions, 9 deletionscompiler/GHC/Parser.y
- compiler/GHC/Rename/Bind.hs 2 additions, 1 deletioncompiler/GHC/Rename/Bind.hs
- compiler/GHC/Tc/TyCl/Class.hs 4 additions, 4 deletionscompiler/GHC/Tc/TyCl/Class.hs
- compiler/GHC/Tc/TyCl/Instance.hs 1 addition, 1 deletioncompiler/GHC/Tc/TyCl/Instance.hs
- compiler/Language/Haskell/Syntax/Binds.hs 3 additions, 5 deletionscompiler/Language/Haskell/Syntax/Binds.hs
- compiler/Language/Haskell/Syntax/BooleanFormula.hs 62 additions, 0 deletionscompiler/Language/Haskell/Syntax/BooleanFormula.hs
- compiler/ghc.cabal.in 1 addition, 0 deletionscompiler/ghc.cabal.in
- testsuite/tests/count-deps/CountDepsAst.stdout 1 addition, 0 deletionstestsuite/tests/count-deps/CountDepsAst.stdout
- testsuite/tests/count-deps/CountDepsParser.stdout 1 addition, 0 deletionstestsuite/tests/count-deps/CountDepsParser.stdout
- utils/check-exact/ExactPrint.hs 2 additions, 2 deletionsutils/check-exact/ExactPrint.hs
Loading
Please register or sign in to comment