ghc-6.12.3: The GHC APISource codeContentsIndex
StgCmmMonad
Documentation
data FCode a Source
show/hide Instances
initC :: DynFlags -> Module -> FCode a -> IO aSource
thenC :: FCode () -> FCode a -> FCode aSource
thenFC :: FCode a -> (a -> FCode c) -> FCode cSource
listCs :: [FCode ()] -> FCode ()Source
listFCs :: [FCode a] -> FCode [a]Source
mapCs :: (a -> FCode ()) -> [a] -> FCode ()Source
mapFCs :: (a -> FCode b) -> [a] -> FCode [b]Source
returnFC :: a -> FCode aSource
fixC :: (a -> FCode a) -> FCode aSource
fixC_ :: (a -> FCode a) -> FCode ()Source
nopC :: FCode ()Source
whenC :: Bool -> FCode () -> FCode ()Source
newUnique :: FCode UniqueSource
newUniqSupply :: FCode UniqSupplySource
emit :: CmmAGraph -> FCode ()Source
emitData :: Section -> [CmmStatic] -> FCode ()Source
emitProc :: CmmInfo -> CLabel -> CmmFormals -> CmmAGraph -> FCode ()Source
emitProcWithConvention :: Convention -> CmmInfo -> CLabel -> CmmFormals -> CmmAGraph -> FCode ()Source
emitSimpleProc :: CLabel -> CmmAGraph -> FCode ()Source
getCmm :: FCode () -> FCode CmmZSource
cgStmtsToBlocks :: CmmAGraph -> FCode CmmGraphSource
getCodeR :: FCode a -> FCode (a, CmmAGraph)Source
getCode :: FCode a -> FCode CmmAGraphSource
getHeapUsage :: (VirtualHpOffset -> FCode a) -> FCode aSource
forkClosureBody :: FCode () -> FCode ()Source
forkStatics :: FCode a -> FCode aSource
forkAlts :: [FCode a] -> FCode [a]Source
forkProc :: FCode a -> FCode aSource
codeOnly :: FCode () -> FCode ()Source
type ConTagZ = IntSource
data Sequel Source
Constructors
Return Bool
AssignTo [LocalReg] Bool
show/hide Instances
withSequel :: Sequel -> FCode () -> FCode ()Source
getSequel :: FCode SequelSource
setSRTLabel :: CLabel -> FCode a -> FCode aSource
getSRTLabel :: FCode CLabelSource
setTickyCtrLabel :: CLabel -> FCode () -> FCode ()Source
getTickyCtrLabel :: FCode CLabelSource
withUpdFrameOff :: UpdFrameOffset -> FCode () -> FCode ()Source
getUpdFrameOff :: FCode UpdFrameOffsetSource
initUpdFrameOff :: UpdFrameOffsetSource
data HeapUsage Source
Constructors
HeapUsage
virtHp :: VirtualHpOffset
realHp :: VirtualHpOffset
type VirtualHpOffset = WordOffSource
initHpUsage :: HeapUsageSource
getHpUsage :: FCode HeapUsageSource
setHpUsage :: HeapUsage -> FCode ()Source
heapHWM :: HeapUsage -> VirtualHpOffsetSource
setVirtHp :: VirtualHpOffset -> FCode ()Source
getVirtHp :: FCode VirtualHpOffsetSource
setRealHp :: VirtualHpOffset -> FCode ()Source
getModuleName :: FCode ModuleSource
getState :: FCode CgStateSource
setState :: CgState -> FCode ()Source
getInfoDown :: FCode CgInfoDownwardsSource
getDynFlags :: FCode DynFlagsSource
getThisPackage :: FCode PackageIdSource
data CgIdInfo Source
Constructors
CgIdInfo
cg_id :: Id
cg_lf :: LambdaFormInfo
cg_loc :: CgLoc
cg_rep :: PrimRep
cg_tag :: !DynTag
show/hide Instances
data CgLoc Source
Constructors
CmmLoc CmmExpr
LneLoc BlockId [LocalReg]
show/hide Instances
getBinds :: FCode CgBindingsSource
setBinds :: CgBindings -> FCode ()Source
getStaticBinds :: FCode CgBindingsSource
data CgInfoDownwards Source
Constructors
MkCgInfoDown
cgd_dflags :: DynFlags
cgd_mod :: Module
cgd_statics :: CgBindings
cgd_srt_lbl :: CLabel
cgd_updfr_off :: UpdFrameOffset
cgd_ticky :: CLabel
cgd_sequel :: Sequel
data CgState Source
Constructors
MkCgState
cgs_stmts :: CmmAGraph
cgs_tops :: OrdList CmmTopZ
cgs_binds :: CgBindings
cgs_hp_usg :: HeapUsage
cgs_uniqs :: UniqSupply
Produced by Haddock version 2.6.1