- primRepCmmType :: PrimRep -> CmmType
- primRepForeignHint :: PrimRep -> ForeignHint
- typeCmmType :: Type -> CmmType
- typeForeignHint :: Type -> ForeignHint
- isTrivialCmmExpr :: CmmExpr -> Bool
- hasNoGlobalRegs :: CmmExpr -> Bool
- cmmRegOff :: CmmReg -> Int -> CmmExpr
- cmmLabelOff :: CLabel -> Int -> CmmLit
- cmmOffset :: CmmExpr -> Int -> CmmExpr
- cmmOffsetLit :: CmmLit -> Int -> CmmLit
- cmmIndex :: Width -> CmmExpr -> Int -> CmmExpr
- cmmOffsetExpr :: CmmExpr -> CmmExpr -> CmmExpr
- cmmIndexExpr :: Width -> CmmExpr -> CmmExpr -> CmmExpr
- cmmLoadIndex :: CmmType -> CmmExpr -> Int -> CmmExpr
- mkIntCLit :: Int -> CmmLit
- zeroCLit :: CmmLit
- mkLblExpr :: CLabel -> CmmExpr
Documentation
typeCmmType :: Type -> CmmTypeSource
hasNoGlobalRegs :: CmmExpr -> BoolSource
cmmLabelOff :: CLabel -> Int -> CmmLitSource
cmmOffsetLit :: CmmLit -> Int -> CmmLitSource
cmmIndex :: Width -> CmmExpr -> Int -> CmmExprSource
Useful for creating an index into an array, with a staticaly known offset. The type is the element type; used for making the multiplier
cmmOffsetExpr :: CmmExpr -> CmmExpr -> CmmExprSource