CmmType

ghc-7.10.3: The GHC API

Safe Haskell | None
Language | Haskell2010

CmmType

# Documentation

data CmmType

Instances

Outputable CmmType |

b8 :: CmmType

b16 :: CmmType

b32 :: CmmType

b64 :: CmmType

b128 :: CmmType

b256 :: CmmType

b512 :: CmmType

f32 :: CmmType

f64 :: CmmType

bWord :: DynFlags -> CmmType

bHalfWord :: DynFlags -> CmmType

gcWord :: DynFlags -> CmmType

cInt :: DynFlags -> CmmType

cLong :: DynFlags -> CmmType

cmmBits :: Width -> CmmType

cmmFloat :: Width -> CmmType

typeWidth :: CmmType -> Width

cmmEqType :: CmmType -> CmmType -> Bool

cmmEqType_ignoring_ptrhood :: CmmType -> CmmType -> Bool

isFloatType :: CmmType -> Bool

isGcPtrType :: CmmType -> Bool

isWord32 :: CmmType -> Bool

isWord64 :: CmmType -> Bool

isFloat64 :: CmmType -> Bool

isFloat32 :: CmmType -> Bool

data Width

Constructors

W8 |
W16 |
W32 |
W64 |
W80 |
W128 |
W256 |
W512 |

Instances

Eq Width |
Ord Width |
Show Width |
Outputable Width |

widthInBits :: Width -> Int

widthInBytes :: Width -> Int

widthInLog :: Width -> Int

widthFromBytes :: Int -> Width

wordWidth :: DynFlags -> Width

halfWordWidth :: DynFlags -> Width

cIntWidth :: DynFlags -> Width

cLongWidth :: DynFlags -> Width

halfWordMask :: DynFlags -> Integer

narrowU :: Width -> Integer -> Integer

narrowS :: Width -> Integer -> Integer

rEP_CostCentreStack_mem_alloc :: DynFlags -> CmmType

rEP_CostCentreStack_scc_count :: DynFlags -> CmmType

rEP_StgEntCounter_allocs :: DynFlags -> CmmType

rEP_StgEntCounter_allocd :: DynFlags -> CmmType

data ForeignHint

Constructors

NoHint |
AddrHint |
SignedHint |

Instances

Eq ForeignHint |

type Length = Int

vec :: Length -> CmmType -> CmmType

vec2 :: CmmType -> CmmType

vec4 :: CmmType -> CmmType

vec8 :: CmmType -> CmmType

vec16 :: CmmType -> CmmType

vec2f64 :: CmmType

vec2b64 :: CmmType

vec4f32 :: CmmType

vec4b32 :: CmmType

vec8b16 :: CmmType

vec16b8 :: CmmType

cmmVec :: Int -> CmmType -> CmmType

vecLength :: CmmType -> Length

vecElemType :: CmmType -> CmmType

isVecType :: CmmType -> Bool