clash-lib-1.8.1: Clash: a functional hardware description language - As a library

Copyright | (C) 2017 Google Inc. 2023 QBayLogic B.V.
License | BSD2 (see the file LICENSE)
Maintainer | QBayLogic B.V. <devops@qbaylogic.com>
Safe Haskell | Safe-Inferred
Language | Haskell2010

GHC.BasicTypes.Extra

Contents

- Orphan instances

Description

Synopsis

- isNoInline :: InlineSpec -> Bool
- isOpaque :: InlineSpec -> Bool

# 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 InlineSpec Source # |
Instance details Associated Types type Rep InlineSpec :: Type -> Type Source # Methods from :: InlineSpec -> Rep InlineSpec x Source # to :: Rep InlineSpec x -> InlineSpec Source #
Generic SourceText Source # |
Instance details Associated Types type Rep SourceText :: Type -> Type Source # Methods from :: SourceText -> Rep SourceText x Source # to :: Rep SourceText x -> SourceText Source #
Binary InlineSpec Source # |
Instance details Methods put :: InlineSpec -> Put Source # get :: Get InlineSpec Source # putList :: [InlineSpec] -> Put Source #
Binary SourceText Source # |
Instance details Methods put :: SourceText -> Put Source # get :: Get SourceText Source # putList :: [SourceText] -> Put Source #
NFData InlineSpec Source # |
Instance details Methods rnf :: InlineSpec -> () Source #
NFData SourceText Source # |
Instance details Methods rnf :: SourceText -> () Source #