llvm-pretty-0.2.0.0: A pretty printing library inspired by the llvm binding.

Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.LLVM.Labels

Documentation

class Functor f => HasLabel f where Source

Methods

relabel :: (Applicative m, Monad m) => (Maybe Symbol -> a -> m b) -> f a -> m (f b) Source

Given a function for resolving labels, where the presence of a symbol denotes a label in a different function, rename all labels in a function.