ghc-8.10.0.20191210: The GHC API
Safe HaskellNone
LanguageHaskell2010

AsmCodeGen

Synopsis

Module entry point

Test-only exports: see trac #12744

cmmNativeGen Source #

Arguments

:: (Instruction instr, Outputable statics, Outputable instr, Outputable jumpDest) 
=> DynFlags 
-> Module 
-> ModLocation 
-> NcgImpl statics instr jumpDest 
-> UniqSupply 
-> DwarfFiles 
-> LabelMap DebugBlock 
-> RawCmmDecl

the cmm to generate code for

-> Int

sequence number of this top thing

-> IO (UniqSupply, DwarfFiles, [NatCmmDecl statics instr], [CLabel], Maybe [RegAllocStats statics instr], Maybe [RegAllocStats], LabelMap [UnwindPoint]) 

Complete native code generation phase for a single top-level chunk of Cmm. Dumping the output of each stage along the way. Global conflict graph and NGC stats

data NcgImpl statics instr jumpDest Source #

Constructors

NcgImpl 

Fields