ghc-lib-parser-9.0.2.20211226: The GHC API, decoupled from GHC versions
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Driver.Backend

Description

Code generation backends

Synopsis

Documentation

data Backend Source #

Backend

Constructors

NCG

Native code generator backend

LLVM

LLVM backend

ViaC

Via-C backend

Interpreter

Interpreter

platformDefaultBackend :: Platform -> Backend Source #

Default backend to use for the given platform.

platformNcgSupported :: Platform -> Bool Source #

Is the platform supported by the Native Code Generator?