LlvmCodeGen.Regs

ghc-7.10.3: The GHC API

Safe Haskell | None
Language | Haskell2010

LlvmCodeGen.Regs

Description

Deal with Cmm registers

Synopsis

- lmGlobalRegArg :: DynFlags -> GlobalReg -> LlvmVar
- lmGlobalRegVar :: DynFlags -> GlobalReg -> LlvmVar
- alwaysLive :: [GlobalReg]
- stgTBAA :: [(Unique, LMString, Maybe Unique)]
- baseN :: Unique
- stackN :: Unique
- heapN :: Unique
- rxN :: Unique
- otherN :: Unique
- tbaa :: LMString
- getTBAA :: GlobalReg -> Unique

# Documentation

lmGlobalRegArg :: DynFlags -> GlobalReg -> LlvmVar

Get the LlvmVar function argument storing the real register

lmGlobalRegVar :: DynFlags -> GlobalReg -> LlvmVar

Get the LlvmVar function variable storing the real register

alwaysLive :: [GlobalReg]

A list of STG Registers that should always be considered alive

stgTBAA :: [(Unique, LMString, Maybe Unique)]

STG Type Based Alias Analysis hierarchy

baseN :: Unique

Id values

stackN :: Unique

Id values

heapN :: Unique

Id values

rxN :: Unique

Id values

otherN :: Unique

Id values

tbaa :: LMString

The TBAA metadata identifier

getTBAA :: GlobalReg -> Unique

Get the correct TBAA metadata information for this register type