ghc-9.12: 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.

Instances

Instances details
MonadGetUnique Opt Source # 
Instance details

Defined in GHC.Cmm.Opt

MonadGetUnique NatM Source # 
Instance details

Defined in GHC.CmmToAsm.Monad

MonadGetUnique LlvmM Source # 
Instance details

Defined in GHC.CmmToLlvm.Base

MonadGetUnique NullCollapseViz Source # 
Instance details

Defined in GHC.Data.Graph.Collapse

MonadGetUnique CmmParse Source # 
Instance details

Defined in GHC.StgToCmm.ExtCode

MonadGetUnique FCode Source # 
Instance details

Defined in GHC.StgToCmm.Monad

MonadGetUnique UniqDSM Source # 
Instance details

Defined in GHC.Types.Unique.DSM

MonadGetUnique UniqSM Source # 
Instance details

Defined in GHC.Types.Unique.DSM

MonadGetUnique (WasmCodeGenM w) Source # 
Instance details

Defined in GHC.CmmToAsm.Wasm.Types

Monad m => MonadGetUnique (UniqDSMT m) Source # 
Instance details

Defined in GHC.Types.Unique.DSM

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 #