summaryrefslogtreecommitdiff
path: root/compiler/utils/State.hs
Commit message (Collapse)AuthorAgeFilesLines
* Fix the buildIan Lynagh2008-01-241-1/+1
| | | | | Work around various problems caused by some of the monadification patches not being applied.
* Remove generic monad function from State, it was moved to MonadUtilsTwan van Laarhoven2008-01-171-15/+0
|
* Added Applicative and Functor instances for State monadTwan van Laarhoven2008-01-171-0/+12
|
* Fix warnings in utils/StateIan Lynagh2008-01-131-37/+25
|
* Fix CodingStyle#Warnings URLsIan Lynagh2007-09-041-1/+1
|
* Use OPTIONS rather than OPTIONS_GHC for pragmasIan Lynagh2007-09-031-2/+2
| | | | | | | Older GHCs can't parse OPTIONS_GHC. This also changes the URL referenced for the -w options from WorkingConventions#Warnings to CodingStyle#Warnings for the compiler modules.
* Add {-# OPTIONS_GHC -w #-} and some blurb to all compiler modulesIan Lynagh2007-09-011-0/+6
|
* Refactor dumping of register allocator statistics.Ben.Lippmeier@anu.edu.au2007-08-171-5/+31
|
* Add graph coloring register allocator.Ben.Lippmeier@anu.edu.au2007-08-141-0/+31
Refactored linear allocator into separate liveness annotation and allocation stages. Added graph coloring allocator, use -fregs-graph to enable. New dump flags are -ddump-asm-native -- output of cmm -> native transform. -ddump-asm-liveness -- code annotated with register liveness info -ddump-asm-coalesce -- output of register move coalescing (this is a separate pass when using the coloring allocator) (this could change in the future) -ddump-asm-regalloc -- code after register allocation -ddump-asm-regalloc-stages -- blocks after each build/spill stage of coloring allocator -ddump-asm-conflicts -- a global register liveness graph in graphviz format The new register allocator will allocate some registers, but it's not quite ready for prime-time yet. The spill code generator needs some work...