- cgLit :: Literal -> FCode CmmLit
- mkSimpleLit :: Literal -> CmmLit
- emitDataLits :: CLabel -> [CmmLit] -> FCode ()
- mkDataLits :: CLabel -> [CmmLit] -> GenCmmTop CmmStatics info stmt
- emitRODataLits :: CLabel -> [CmmLit] -> FCode ()
- mkRODataLits :: CLabel -> [CmmLit] -> GenCmmTop CmmStatics info stmt
- emitRtsCall :: PackageId -> FastString -> [(CmmExpr, ForeignHint)] -> Bool -> FCode ()
- emitRtsCallWithVols :: PackageId -> FastString -> [(CmmExpr, ForeignHint)] -> [GlobalReg] -> Bool -> FCode ()
- emitRtsCallWithResult :: LocalReg -> ForeignHint -> PackageId -> FastString -> [(CmmExpr, ForeignHint)] -> Bool -> FCode ()
- assignTemp :: CmmExpr -> FCode LocalReg
- newTemp :: CmmType -> FCode LocalReg
- withTemp :: CmmType -> (LocalReg -> CmmAGraph) -> CmmAGraph
- newUnboxedTupleRegs :: Type -> FCode ([LocalReg], [ForeignHint])
- mkMultiAssign :: [LocalReg] -> [CmmExpr] -> CmmAGraph
- mkCmmSwitch :: Bool -> CmmExpr -> [(ConTagZ, CmmAGraph)] -> Maybe CmmAGraph -> ConTagZ -> ConTagZ -> CmmAGraph
- mkCmmLitSwitch :: CmmExpr -> [(Literal, CmmAGraph)] -> CmmAGraph -> CmmAGraph
- emitSwitch :: CmmExpr -> [(ConTagZ, CmmAGraph)] -> Maybe CmmAGraph -> ConTagZ -> ConTagZ -> FCode ()
- tagToClosure :: TyCon -> CmmExpr -> CmmExpr
- mkTaggedObjectLoad :: LocalReg -> LocalReg -> WordOff -> DynTag -> CmmAGraph
- callerSaves :: GlobalReg -> Bool
- callerSaveVolatileRegs :: (CmmAGraph, CmmAGraph)
- get_GlobalReg_addr :: GlobalReg -> CmmExpr
- cmmMulWord, cmmAddWord, cmmUShrWord, cmmAndWord, cmmOrWord, cmmEqWord, cmmNeWord, cmmSubWord, cmmUGtWord :: CmmExpr -> CmmExpr -> CmmExpr
- cmmNegate :: CmmExpr -> CmmExpr
- cmmOffsetExprW :: CmmExpr -> CmmExpr -> CmmExpr
- cmmOffsetExprB :: CmmExpr -> CmmExpr -> CmmExpr
- cmmRegOffW :: CmmReg -> WordOff -> CmmExpr
- cmmRegOffB :: CmmReg -> ByteOff -> CmmExpr
- cmmLabelOffW :: CLabel -> WordOff -> CmmLit
- cmmLabelOffB :: CLabel -> ByteOff -> CmmLit
- cmmOffsetW :: CmmExpr -> WordOff -> CmmExpr
- cmmOffsetB :: CmmExpr -> ByteOff -> CmmExpr
- cmmOffsetLitW :: CmmLit -> WordOff -> CmmLit
- cmmOffsetLitB :: CmmLit -> ByteOff -> CmmLit
- cmmLoadIndexW :: CmmExpr -> Int -> CmmType -> CmmExpr
- cmmConstrTag, cmmConstrTag1 :: CmmExpr -> CmmExpr
- cmmUntag, cmmGetTag :: CmmExpr -> CmmExpr
- cmmIsTagged :: CmmExpr -> CmmExpr
- addToMem :: CmmType -> CmmExpr -> Int -> CmmAGraph
- addToMemE :: CmmType -> CmmExpr -> CmmExpr -> CmmAGraph
- addToMemLbl :: CmmType -> CLabel -> Int -> CmmAGraph
- mkWordCLit :: StgWord -> CmmLit
- mkStringCLit :: String -> FCode CmmLit
- mkByteStringCLit :: [Word8] -> FCode CmmLit
- packHalfWordsCLit :: (Integral a, Integral b) => a -> b -> CmmLit
- blankWord :: CmmStatic
- getSRTInfo :: SRT -> FCode C_SRT
- clHasCafRefs :: ClosureInfo -> CafInfo
- srt_escape :: StgHalfWord
Documentation
mkSimpleLit :: Literal -> CmmLitSource
emitDataLits :: CLabel -> [CmmLit] -> FCode ()Source
mkDataLits :: CLabel -> [CmmLit] -> GenCmmTop CmmStatics info stmtSource
emitRODataLits :: CLabel -> [CmmLit] -> FCode ()Source
mkRODataLits :: CLabel -> [CmmLit] -> GenCmmTop CmmStatics info stmtSource
emitRtsCall :: PackageId -> FastString -> [(CmmExpr, ForeignHint)] -> Bool -> FCode ()Source
emitRtsCallWithVols :: PackageId -> FastString -> [(CmmExpr, ForeignHint)] -> [GlobalReg] -> Bool -> FCode ()Source
emitRtsCallWithResult :: LocalReg -> ForeignHint -> PackageId -> FastString -> [(CmmExpr, ForeignHint)] -> Bool -> FCode ()Source
assignTemp :: CmmExpr -> FCode LocalRegSource
newUnboxedTupleRegs :: Type -> FCode ([LocalReg], [ForeignHint])Source
mkMultiAssign :: [LocalReg] -> [CmmExpr] -> CmmAGraphSource
mkCmmSwitch :: Bool -> CmmExpr -> [(ConTagZ, CmmAGraph)] -> Maybe CmmAGraph -> ConTagZ -> ConTagZ -> CmmAGraphSource
emitSwitch :: CmmExpr -> [(ConTagZ, CmmAGraph)] -> Maybe CmmAGraph -> ConTagZ -> ConTagZ -> FCode ()Source
tagToClosure :: TyCon -> CmmExpr -> CmmExprSource
callerSaves :: GlobalReg -> BoolSource
Returns True
if this global register is stored in a caller-saves
machine register.
cmmMulWord, cmmAddWord, cmmUShrWord, cmmAndWord, cmmOrWord, cmmEqWord, cmmNeWord, cmmSubWord, cmmUGtWord :: CmmExpr -> CmmExpr -> CmmExprSource
cmmOffsetExprW :: CmmExpr -> CmmExpr -> CmmExprSource
cmmOffsetExprB :: CmmExpr -> CmmExpr -> CmmExprSource
cmmRegOffW :: CmmReg -> WordOff -> CmmExprSource
cmmRegOffB :: CmmReg -> ByteOff -> CmmExprSource
cmmLabelOffW :: CLabel -> WordOff -> CmmLitSource
cmmLabelOffB :: CLabel -> ByteOff -> CmmLitSource
cmmOffsetW :: CmmExpr -> WordOff -> CmmExprSource
cmmOffsetB :: CmmExpr -> ByteOff -> CmmExprSource
cmmOffsetLitW :: CmmLit -> WordOff -> CmmLitSource
cmmOffsetLitB :: CmmLit -> ByteOff -> CmmLitSource
cmmIsTagged :: CmmExpr -> CmmExprSource
mkWordCLit :: StgWord -> CmmLitSource
mkStringCLit :: String -> FCode CmmLitSource
mkByteStringCLit :: [Word8] -> FCode CmmLitSource
packHalfWordsCLit :: (Integral a, Integral b) => a -> b -> CmmLitSource
getSRTInfo :: SRT -> FCode C_SRTSource