CmmType

ghc-7.8.3: The GHC API

Safe Haskell | None
Language | Haskell98

CmmType

# Documentation

data CmmType Source

Instances

Outputable CmmType |

b8 :: CmmType Source

b16 :: CmmType Source

b32 :: CmmType Source

b64 :: CmmType Source

b128 :: CmmType Source

b256 :: CmmType Source

b512 :: CmmType Source

f32 :: CmmType Source

f64 :: CmmType Source

bWord :: DynFlags -> CmmType Source

bHalfWord :: DynFlags -> CmmType Source

gcWord :: DynFlags -> CmmType Source

cInt :: DynFlags -> CmmType Source

cLong :: DynFlags -> CmmType Source

cmmBits :: Width -> CmmType Source

cmmFloat :: Width -> CmmType Source

typeWidth :: CmmType -> Width Source

cmmEqType :: CmmType -> CmmType -> Bool Source

cmmEqType_ignoring_ptrhood :: CmmType -> CmmType -> Bool Source

isFloatType :: CmmType -> Bool Source

isGcPtrType :: CmmType -> Bool Source

isWord32 :: CmmType -> Bool Source

isWord64 :: CmmType -> Bool Source

isFloat64 :: CmmType -> Bool Source

isFloat32 :: CmmType -> Bool Source

data Width Source

Constructors

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

Instances

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

widthInBits :: Width -> Int Source

widthInBytes :: Width -> Int Source

widthInLog :: Width -> Int Source

widthFromBytes :: Int -> Width Source

wordWidth :: DynFlags -> Width Source

halfWordWidth :: DynFlags -> Width Source

cIntWidth :: DynFlags -> Width Source

cLongWidth :: DynFlags -> Width Source

halfWordMask :: DynFlags -> Integer Source

narrowU :: Width -> Integer -> Integer Source

narrowS :: Width -> Integer -> Integer Source

rEP_CostCentreStack_mem_alloc :: DynFlags -> CmmType Source

rEP_CostCentreStack_scc_count :: DynFlags -> CmmType Source

rEP_StgEntCounter_allocs :: DynFlags -> CmmType Source

rEP_StgEntCounter_allocd :: DynFlags -> CmmType Source

data ForeignHint Source

Constructors

NoHint |
AddrHint |
SignedHint |

Instances

Eq ForeignHint |
Outputable ForeignHint |

type Length = Int Source

vec :: Length -> CmmType -> CmmType Source

vec2 :: CmmType -> CmmType Source

vec4 :: CmmType -> CmmType Source

vec8 :: CmmType -> CmmType Source

vec16 :: CmmType -> CmmType Source

vec2f64 :: CmmType Source

vec2b64 :: CmmType Source

vec4f32 :: CmmType Source

vec4b32 :: CmmType Source

vec8b16 :: CmmType Source

vec16b8 :: CmmType Source

cmmVec :: Int -> CmmType -> CmmType Source

vecLength :: CmmType -> Length Source

vecElemType :: CmmType -> CmmType Source

isVecType :: CmmType -> Bool Source