ghc-8.10.3: The GHC API
Safe HaskellNone
LanguageHaskell2010

AsmCodeGen

Synopsis

Module entry point

Test-only exports: see trac #12744

cmmNativeGen Source #

Arguments

:: forall statics instr jumpDest. (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