ghc-7.6.3: The GHC API

Safe Haskell | None

LlvmCodeGen.Regs

Description

Deal with Cmm registers

Synopsis

- lmGlobalRegArg :: GlobalReg -> LlvmVar
- lmGlobalRegVar :: GlobalReg -> LlvmVar
- alwaysLive :: [GlobalReg]
- stgTBAA :: [LlvmMeta]
- top :: MetaData
- base :: MetaData
- stack :: MetaData
- heap :: MetaData
- rx :: MetaData
- other :: MetaData
- tbaa :: LMString
- getTBAA :: GlobalReg -> MetaData

# Documentation

lmGlobalRegArg :: GlobalReg -> LlvmVar

Get the LlvmVar function argument storing the real register

lmGlobalRegVar :: 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 :: [LlvmMeta]

STG Type Based Alias Analysis metadata

top :: MetaData

The various TBAA types

base :: MetaData

The various TBAA types

stack :: MetaData

The various TBAA types

heap :: MetaData

The various TBAA types

rx :: MetaData

The various TBAA types

other :: MetaData

The various TBAA types

tbaa :: LMString

The TBAA metadata identifier

getTBAA :: GlobalReg -> MetaData

Get the correct TBAA metadata information for this register type