Safe Haskell | None |
---|---|
Language | Haskell98 |
- lva :: Program Annotation -> Program Annotation
- lvaOnUnit :: ProgUnit Annotation -> ProgUnit Annotation
- lva1 :: Zipper (ProgUnit Annotation) -> Zipper (ProgUnit Annotation)
- kill :: Fortran Annotation -> [Access]
- gen :: Fortran Annotation -> [Access]
Documentation
lva :: Program Annotation -> Program Annotation Source
live-variable analysis on a program
lvaOnUnit :: ProgUnit Annotation -> ProgUnit Annotation Source
live-variable analysis at the level of a unit, not whole-program,iterates lva1
until a fixed-point is reached
lva1 :: Zipper (ProgUnit Annotation) -> Zipper (ProgUnit Annotation) Source
Single iteration of live-variable analysis over the zipper for an AST
kill :: Fortran Annotation -> [Access] Source
Variables killed by the current statement
gen :: Fortran Annotation -> [Access] Source
Variables generated (made live) by the current statement