clash-lib-1.8.2: Clash: a functional hardware description language - As a library
Copyright(C) 2017 Google Inc.
2023 QBayLogic B.V.
LicenseBSD2 (see the file LICENSE)
MaintainerQBayLogic B.V. <[email protected]>
Safe HaskellNone
LanguageHaskell2010

GHC.BasicTypes.Extra

Description

 
Synopsis

Documentation

isNoInline :: InlineSpec -> Bool Source #

Determine whether given InlineSpec is NOINLINE or more strict (OPAQUE)

isOpaque :: InlineSpec -> Bool Source #

Determine whether given InlineSpec is OPAQUE. If this function is used on a GHC that does not support OPAQUE yet (<9.4), it will return True if given InlineSpec is NOINLINE instead.

Orphan instances

Generic FastString Source # 
Instance details

Associated Types

type Rep FastString 
Instance details

Defined in GHC.BasicTypes.Extra

type Rep FastString = D1 ('MetaData "FastString" "GHC.Data.FastString" "ghc-9.8.4-6626" 'False) (C1 ('MetaCons "FastString" 'PrefixI 'True) ((S1 ('MetaSel ('Just "uniq") 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 Int) :*: S1 ('MetaSel ('Just "n_chars") 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "fs_sbs") 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 ShortByteString) :*: S1 ('MetaSel ('Just "fs_zenc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FastZString))))
Generic InlineSpec Source # 
Instance details

Generic SourceText Source # 
Instance details

Associated Types

type Rep SourceText 
Instance details

Defined in GHC.BasicTypes.Extra

type Rep SourceText = D1 ('MetaData "SourceText" "GHC.Types.SourceText" "ghc-9.8.4-6626" 'False) (C1 ('MetaCons "SourceText" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FastString)) :+: C1 ('MetaCons "NoSourceText" 'PrefixI 'False) (U1 :: Type -> Type))
Binary FastString Source # 
Instance details

Binary FastZString Source # 
Instance details

Binary InlineSpec Source # 
Instance details

Binary SourceText Source # 
Instance details

NFData InlineSpec Source # 
Instance details

Methods

rnf :: InlineSpec -> () #