Native code generator configuration
Constructors
NCGConfigncgPlatform :: !PlatformTarget platform
ncgAsmContext :: !SDocContextContext for ASM code generation
ncgThisModule :: !ModuleThe name of the module we are currently compiling
ncgProcAlignment :: !Maybe IntMandatory proc alignment
ncgExternalDynamicRefs :: !BoolGenerate code to link against dynamic libraries
ncgPIC :: !BoolEnable Position-Independent Code
ncgInlineThresholdMemcpy :: !WordIf inlining
memcpyproduces less than this threshold (in pseudo-instruction unit), do itncgInlineThresholdMemset :: !WordDitto for
memsetncgSplitSections :: !BoolSplit sections
ncgRegsIterative :: !BoolncgRegsGraph :: !BoolncgAsmLinting :: !BoolPerform ASM linting pass
ncgDoConstantFolding :: !BoolPerform CMM constant folding
ncgSseVersion :: Maybe SseVersion(x86) SSE instructions
ncgBmiVersion :: Maybe BmiVersion(x86) BMI instructions
ncgDumpRegAllocStages :: !BoolncgDumpAsmStats :: !BoolncgDumpAsmConflicts :: !BoolncgCfgWeights :: !WeightsCFG edge weights
ncgCfgBlockLayout :: !BoolUse CFG based block layout algorithm
ncgCfgWeightlessLayout :: !BoolLayout based on last instruction per block.
ncgDwarfEnabled :: !BoolEnable Dwarf generation
ncgDwarfUnwindings :: !BoolEnable unwindings
ncgDwarfStripBlockInfo :: !BoolStrip out block information from generated Dwarf
ncgExposeInternalSymbols :: !BoolExpose symbol table entries for internal symbols
ncgDwarfSourceNotes :: !BoolEnable GHC-specific source note DIEs
ncgCmmStaticPred :: !BoolEnable static control-flow prediction
ncgEnableShortcutting :: !BoolEnable shortcutting (don't jump to blocks only containing a jump)
ncgEnableInterModuleFarJumps :: !BoolUse far-jumps for cross-module jumps.
ncgComputeUnwinding :: !BoolCompute block unwinding tables
ncgEnableDeadCodeElimination :: !BoolWhether to enable the dead-code elimination