HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleghc-9.10.3GHC2021

GHC.Core.Opt.DmdAnal

  • 1 type
  • 1 value
  • Packageghc-9.10.3
  • Exports2
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceDmdAnal.hs
datadata DmdAnalOpts
#

Options for the demand analysis

Constructors

  • DmdAnalOpts
    • dmd_strict_dicts :: !Bool

      Value of `-fdicts-strict` (on by default). When set, all functons are implicitly strict in dictionary args.

    • dmd_do_boxity :: !Bool

      Governs whether the analysis should update boxity signatures. See Note [Don't change boxity without worker/wrapper].

    • dmd_unbox_width :: !Int

      Value of `-fdmd-unbox-width`. See Note [Unboxed demand on function bodies returning small products]

    • dmd_max_worker_args :: !Int

      Value of `-fmax-worker-args`. Don't unbox anything if we end up with more than this many args.