ghc-8.2.1.20171108: The GHC API

Safe HaskellNone
LanguageHaskell2010

AsmCodeGen

Contents

Synopsis

Module entry point

Test-only exports: see trac #12744

cmmNativeGen Source #

Arguments

:: (Outputable statics, Outputable instr, Instruction instr) 
=> 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