Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Flags à la GHC
Synopsis
- data DynFlags = DynFlags {}
- data GeneralFlag
- = Opt_Gibbon1
- | Opt_Gibbon2
- | Opt_RemoveCopies
- | Opt_No_RemoveCopies
- | Opt_InfiniteRegions
- | Opt_BigInfiniteRegions
- | Opt_BenchPrint
- | Opt_Packed
- | Opt_Pointer
- | Opt_BumpAlloc
- | Opt_Warnc
- | Opt_DisableGC
- | Opt_No_PureAnnot
- | Opt_Fusion
- | Opt_Parallel
- | Opt_RegionOnSpawn
- | Opt_GhcTc
- | Opt_RelativeOffsets
- | Opt_CountParRegions
- | Opt_CountAllRegions
- | Opt_RtsDebug
- | Opt_PrintGcStats
- | Opt_GenGc
- | Opt_NoEagerPromote
- | Opt_SimpleWriteBarrier
- data DebugFlag
- defaultDynFlags :: DynFlags
- dynflagsParser :: Parser DynFlags
- gopt :: GeneralFlag -> DynFlags -> Bool
- gopt_set :: GeneralFlag -> DynFlags -> DynFlags
- dopt :: DebugFlag -> DynFlags -> Bool
- dopt_set :: DebugFlag -> DynFlags -> DynFlags
Documentation
Instances
Read DynFlags Source # | |
Show DynFlags Source # | |
Eq DynFlags Source # | |
Ord DynFlags Source # | |
Defined in Gibbon.DynFlags |
data GeneralFlag Source #
Opt_Gibbon1 | Set Opt_No_RemoveCopies & Opt_BigInfiniteRegions |
Opt_Gibbon2 | Set Opt_RemoveCopies & Opt_InfiniteRegions |
Opt_RemoveCopies | Calls to copy functions are converted to indirections |
Opt_No_RemoveCopies | Unset Opt_RemoveCopies |
Opt_InfiniteRegions | Use infinite regions |
Opt_BigInfiniteRegions | Use big infinite regions |
Opt_BenchPrint | Should the benchamrked function have its output printed? |
Opt_Packed | Use packed representation |
Opt_Pointer | Use pointer representation |
Opt_BumpAlloc | Use bump-pointer allocation if using the non-packed backend |
Opt_Warnc | Show warnings from the C compiler |
Opt_DisableGC | Don't run the the garbage collector (used by Codegen). |
Opt_No_PureAnnot | Don't use |
Opt_Fusion | Enable fusion. |
Opt_Parallel | Fork/join parallelism. |
Opt_RegionOnSpawn | Allocate into fresh regions for every spawn, not steal. |
Opt_GhcTc | Typecheck with GHC before compiling with Gibbon. |
Opt_RelativeOffsets | Enable relative offsets. |
Opt_CountParRegions | Count and print the number of regions allocated for parallelism. |
Opt_CountAllRegions | Count and print the number of all the regions allocated. |
Opt_RtsDebug | Compile the RTS in debugging mode. |
Opt_PrintGcStats | Record and print GC statistics. |
Opt_GenGc | Use the new generational GC. |
Opt_NoEagerPromote | Disable eager promotion. |
Opt_SimpleWriteBarrier | Disables eliminate-indirection-chains optimization. |
Instances
Read GeneralFlag Source # | |
Defined in Gibbon.DynFlags | |
Show GeneralFlag Source # | |
Defined in Gibbon.DynFlags | |
Eq GeneralFlag Source # | |
Defined in Gibbon.DynFlags (==) :: GeneralFlag -> GeneralFlag -> Bool Source # (/=) :: GeneralFlag -> GeneralFlag -> Bool Source # | |
Ord GeneralFlag Source # | |
Defined in Gibbon.DynFlags compare :: GeneralFlag -> GeneralFlag -> Ordering Source # (<) :: GeneralFlag -> GeneralFlag -> Bool Source # (<=) :: GeneralFlag -> GeneralFlag -> Bool Source # (>) :: GeneralFlag -> GeneralFlag -> Bool Source # (>=) :: GeneralFlag -> GeneralFlag -> Bool Source # max :: GeneralFlag -> GeneralFlag -> GeneralFlag Source # min :: GeneralFlag -> GeneralFlag -> GeneralFlag Source # |
Exactly like GHC's ddump flags.
Instances
Read DebugFlag Source # | |
Show DebugFlag Source # | |
Eq DebugFlag Source # | |
Ord DebugFlag Source # | |
Defined in Gibbon.DynFlags |
gopt :: GeneralFlag -> DynFlags -> Bool Source #
Test whether a GeneralFlag
is set