clash-ghc-1.7.0: Clash: a functional hardware description language - GHC frontend
Copyright(C) 2013-2016 University of Twente
2016-2017 Myrtle Software Ltd
2017 Google Inc.
2021 QBayLogic B.V.
LicenseBSD2 (see the file LICENSE)
MaintainerQBayLogic B.V. <devops@qbaylogic.com>
Safe HaskellNone
LanguageHaskell2010

Clash.GHC.LoadModules

Description

 

Documentation

loadModules Source #

Arguments

:: Ghc ()

Allows us to have some initial action, such as sharing a linker state See https://github.com/clash-lang/clash-compiler/issues/1686 and https://mail.haskell.org/pipermail/ghc-devs/2021-March/019605.html

-> OverridingBool

Use color

-> HDL

HDL target

-> String

Module name

-> Maybe DynFlags

Flags to run GHC with

-> [FilePath]

Import dirs to use when no DynFlags are provided

-> IO ([CoreBind], [(CoreBndr, Int)], [CoreBndr], FamInstEnvs, [(CoreBndr, Maybe TopEntity, Bool)], [Either UnresolvedPrimitive FilePath], [DataRepr'], [(Text, PrimitiveGuard ())], HashMap Text VDomainConfiguration)