ghc-9.10.3: The GHC API

Safe Haskell | None
Language | GHC2021

GHC.Driver.Config.Core.Lint

Synopsis

- endPass :: CoreToDo -> CoreProgram -> [CoreRule] -> CoreM ()
- endPassHscEnvIO :: HscEnv -> NamePprCtx -> CoreToDo -> CoreProgram -> [CoreRule] -> IO ()
- lintCoreBindings :: DynFlags -> CoreToDo -> [Var] -> CoreProgram -> WarnsAndErrs
- initEndPassConfig :: DynFlags -> [Var] -> NamePprCtx -> CoreToDo -> EndPassConfig
- initLintPassResultConfig :: DynFlags -> [Var] -> CoreToDo -> LintPassResultConfig
- initLintConfig :: DynFlags -> [Var] -> LintConfig

# Documentation

endPass :: CoreToDo -> CoreProgram -> [CoreRule] -> CoreM () Source #

endPassHscEnvIO :: HscEnv -> NamePprCtx -> CoreToDo -> CoreProgram -> [CoreRule] -> IO () Source #

lintCoreBindings :: DynFlags -> CoreToDo -> [Var] -> CoreProgram -> WarnsAndErrs Source #

Type-check a `CoreProgram`. See Note [Core Lint guarantee].

initEndPassConfig :: DynFlags -> [Var] -> NamePprCtx -> CoreToDo -> EndPassConfig Source #

initLintPassResultConfig :: DynFlags -> [Var] -> CoreToDo -> LintPassResultConfig Source #

initLintConfig :: DynFlags -> [Var] -> LintConfig Source #