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

Safe HaskellSafe-Inferred

Text.LLVM.Labels

Documentation

class Functor f => HasLabel f whereSource

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.