Safe Haskell | None |
---|
Basic block transformation for imperative Boogie code
- toBasicBlocks :: Block -> [BasicBlock]
- startLabel :: [Char]
Documentation
toBasicBlocks :: Block -> [BasicBlock]Source
Transform procedure body into a sequence of basic blocks. A basic block starts with a label and contains no jump, if or while statements, except for the last statement, which can be a goto or return.
startLabel :: [Char]Source
Label of the first block in a procedure