ghc-lib-parser-9.14.1.20251220: The GHC API, decoupled from GHC versions

Safe Haskell | Ignore
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 () #

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

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

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

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

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

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