ghc-9.12: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Cmm.Pipeline

Synopsis

Documentation

cmmPipeline :: Logger -> CmmConfig -> ModuleSRTInfo -> CmmGroup -> DUniqSupply -> IO ((ModuleSRTInfo, CmmGroupSRTs), DUniqSupply) Source #

Top level driver for C-- pipeline

Converts C-- with an implicit stack and native C-- calls into optimized, CPS converted and native-call-less C--. The latter C-- can be used to generate assembly.