ghc-9.13: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Cmm.UniqueRenamer

Synopsis

Documentation

class Monad m => MonadGetUnique (m :: Type -> Type) where Source #

Get a unique from a monad that can access a unique supply.

Crucially, because MonadGetUnique doesn't allow you to get the UniqSupply (unlike MonadUnique), an instance such as UniqDSM can use a deterministic unique supply to return deterministic uniques without allowing for the UniqSupply to be shared.

data DetUniqFM Source #

A mapping from non-deterministic uniques to deterministic uniques, to rename local symbols with the end goal of producing deterministic object files. See Note [Renaming uniques deterministically]

Instances

Instances details
Outputable DetUniqFM Source # 
Instance details

Defined in GHC.Cmm.UniqueRenamer

Methods

ppr :: DetUniqFM -> SDoc Source #