Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Configuration of compiler behaviour that is universal to all backends.
Synopsis
- data FutharkConfig = FutharkConfig {}
- newFutharkConfig :: FutharkConfig
- data Verbosity
- data CompilerMode
Documentation
data FutharkConfig Source #
The compiler configuration. This only contains options related to core compiler functionality, such as reading the initial program and running passes. Options related to code generation are handled elsewhere.
FutharkConfig | |
|
newFutharkConfig :: FutharkConfig Source #
The default compiler configuration.
How much information to print to stderr while the compiler is running.
NotVerbose | Silence is golden. |
Verbose | Print messages about which pass is running. |
VeryVerbose | Also print logs from individual passes. |
data CompilerMode Source #
Are we compiling a library or an executable?
Instances
Show CompilerMode Source # | |
Defined in Futhark.Compiler.Config showsPrec :: Int -> CompilerMode -> ShowS # show :: CompilerMode -> String # showList :: [CompilerMode] -> ShowS # | |
Eq CompilerMode Source # | |
Defined in Futhark.Compiler.Config (==) :: CompilerMode -> CompilerMode -> Bool # (/=) :: CompilerMode -> CompilerMode -> Bool # | |
Ord CompilerMode Source # | |
Defined in Futhark.Compiler.Config compare :: CompilerMode -> CompilerMode -> Ordering # (<) :: CompilerMode -> CompilerMode -> Bool # (<=) :: CompilerMode -> CompilerMode -> Bool # (>) :: CompilerMode -> CompilerMode -> Bool # (>=) :: CompilerMode -> CompilerMode -> Bool # max :: CompilerMode -> CompilerMode -> CompilerMode # min :: CompilerMode -> CompilerMode -> CompilerMode # |